Commit 5a1fb50a authored by Timo Aaltonen's avatar Timo Aaltonen
Browse files

control: Nodejs is not available on all archs, build server packages only where it is.

parent 9d7e80c3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3,6 +3,8 @@ freeipa (4.7.1-3) UNRELEASED; urgency=medium
  * control: Replace libsvrcore-dev build-dep with 389-ds-base-dev.
  * tests: Install only the packages which are used for testing.
  * rules: Don't run git on clean. (Closes: #912202)
  * control: Nodejs is not available on all archs, build server packages
    only where it is.

 -- Timo Aaltonen <tjaalton@debian.org>  Thu, 06 Dec 2018 01:29:22 +0200

+2 −2
Original line number Diff line number Diff line
Package: freeipa-server
Architecture: any
Architecture: amd64 arm64 armhf i386 mips mips64el mipsel ppc64 ppc64el s390x
Breaks: freeipa-server-trust-ad (<< 4.3.0-1)
Replaces: freeipa-server-trust-ad (<< 4.3.0-1)
Depends:
@@ -76,7 +76,7 @@ Description: FreeIPA centralized identity framework -- IPA DNS integration
 This package adds DNS integration with BIND 9.

Package: freeipa-server-trust-ad
Architecture: any
Architecture: amd64 arm64 armhf i386 mips mips64el mipsel ppc64 ppc64el s390x
Depends:
 freeipa-common (= ${source:Version}),
 freeipa-server (= ${binary:Version}),
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ Build-Depends:
 libunistring-dev,
 libverto-dev,
 libxmlrpc-core-c3-dev (>= 1.33.06),
 nodejs,
 nodejs [amd64 arm64 armhf i386 mips mips64el mipsel ppc64 ppc64el s390x],
 node-uglify,
 pki-base (>= 10.6.0~),
 python-all-dev,
+7 −1
Original line number Diff line number Diff line
@@ -5,7 +5,13 @@

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

# build server only where nodejs is available
ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 armhf i386 mips mips64el mipsel ppc64 ppc64el s390x))
  ONLY_CLIENT=0
else
  ONLY_CLIENT=1
endif

DESTDIR=$(CURDIR)/debian/tmp

export PYTHON=python