From 30e390c0a719f816f8b4bb90e6625b7dee36d4b5 Mon Sep 17 00:00:00 2001 From: Timo Aaltonen Date: Wed, 15 Dec 2021 16:44:12 +0200 Subject: [PATCH] Upload to experimental, build the server and enable tests. --- debian/changelog | 6 ++ debian/control | 195 +++++++++++++++++++++++++++++++++++++++++++ debian/rules | 8 +- debian/tests/control | 16 ++-- 4 files changed, 213 insertions(+), 12 deletions(-) diff --git a/debian/changelog b/debian/changelog index 9a828ac0e..58c9a31c6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +freeipa (4.11.0-1+exp1) UNRELEASED; urgency=medium + + * Upload to experimental, build the server and enable tests. + + -- Timo Aaltonen Tue, 28 Feb 2023 22:07:14 +0200 + freeipa (4.11.0-1) UNRELEASED; urgency=medium * New upstream release. diff --git a/debian/control b/debian/control index 6e888cf4b..fe61c66f1 100644 --- a/debian/control +++ b/debian/control @@ -50,6 +50,20 @@ Build-Depends: python3-yubico, systemd, uuid-dev, + 389-ds-base-dev (>= 1.4.4.16), + libpwquality-dev, + libsss-idmap-dev, + libsss-certmap-dev, + libsss-nss-idmap-dev (>= 1.14.0), + libtevent-dev, + libunistring-dev, + libverto-dev, + nodejs [amd64 arm64 armhf i386 mips mips64el mipsel ppc64 ppc64el s390x], + pki-base (>= 10.10.6~), + python3-lesscpy, + python3-pkg-resources, + python3-rjsmin, + samba-dev, Package: freeipa-common Architecture: all @@ -90,6 +104,7 @@ Depends: ${shlibs:Depends} Recommends: chrony, + sssd-passkey, Suggests: libpam-krb5, Conflicts: @@ -201,3 +216,183 @@ Description: FreeIPA centralized identity framework -- shared Python3 modules . This Python3 module is used by other FreeIPA packages. + +Package: freeipa-server +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: + 389-ds-base (>= 1.4.4.16), + acl, + adduser, + apache2 (>= 2.4.41-4ubuntu2), + certmonger (>= 0.79.14), + chrony, + fonts-font-awesome, + fonts-open-sans, + freeipa-client (= ${binary:Version}), + freeipa-common (= ${source:Version}), + gssproxy (>= 0.8.2-2), + krb5-admin-server, + krb5-kdc (>= 1.18), + krb5-kdc-ldap, + krb5-otp, + krb5-pkinit, + ldap-utils, + libapache2-mod-auth-gssapi (>= 1.5.0), + libapache2-mod-lookup-identity (>= 1.0.0), + libapache2-mod-wsgi-py3, + libjs-dojo-core, + libjs-jquery, + libjs-scriptaculous, + libnss3-tools, + libsasl2-modules-gssapi-mit, + oddjob (>= 0.34.3-2), + p11-kit, + pki-ca (>= 10.10.6~), + pki-kra (>= 10.10.6~), + python3-dateutil, + python3-ipaserver (= ${source:Version}), + python3-gssapi, + python3-ldap (>= 2.4.22), + python3-systemd, + slapi-nis (>= 0.56.1), + ssl-cert, + sssd-dbus, + systemd-sysv, + ${misc:Depends}, + ${python3:Depends}, + ${shlibs:Depends} +Recommends: + freeipa-server-dns, +Description: FreeIPA centralized identity framework -- server + FreeIPA is an integrated solution to provide centrally managed Identity + (machine, user, virtual machines, groups, authentication credentials), Policy + (configuration settings, access control information) and Audit (events, + logs, analysis thereof). + . + This is the server package. + +Package: freeipa-server-dns +Architecture: all +Breaks: freeipa-server (<< 4.3.0-1) +Replaces: freeipa-server (<< 4.3.0-1) +Depends: + freeipa-server (>= ${source:Version}), + bind9 (>= 1:9.18.7), + bind9-dyndb-ldap (>= 11.4), + libengine-pkcs11-openssl, + opendnssec (>= 1:2.1.5), + softhsm2, + ${misc:Depends}, + ${python3:Depends}, + ${shlibs:Depends} +Description: FreeIPA centralized identity framework -- IPA DNS integration + FreeIPA is an integrated solution to provide centrally managed Identity + (machine, user, virtual machines, groups, authentication credentials), Policy + (configuration settings, access control information) and Audit (events, + logs, analysis thereof). + . + This package adds DNS integration with BIND 9. + +Package: freeipa-server-trust-ad +Architecture: amd64 arm64 armhf i386 mips mips64el mipsel ppc64 ppc64el s390x +Depends: + freeipa-common (= ${source:Version}), + freeipa-server (= ${binary:Version}), + python3-ipaserver (= ${source:Version}), + python3-samba, + samba, + winbind, + ${misc:Depends}, + ${python3:Depends}, + ${shlibs:Depends} +Multi-Arch: same +Description: FreeIPA centralized identity framework -- AD trust installer + FreeIPA is an integrated solution to provide centrally managed Identity + (machine, user, virtual machines, groups, authentication credentials), Policy + (configuration settings, access control information) and Audit (events, + logs, analysis thereof). + . + Cross-realm trusts with Active Directory in IPA require working Samba 4 + installation. This package is provided for convenience to install all required + dependencies at once. + +Package: freeipa-tests +Architecture: all +Depends: + python3-ipalib (>= ${source:Version}), + python3-ipatests (>= ${source:Version}), + python3-pytest, + ${misc:Depends}, + ${python3:Depends} +Recommends: python3-yaml +Description: FreeIPA centralized identity framework -- tests + FreeIPA is an integrated solution to provide centrally managed Identity + (machine, user, virtual machines, groups, authentication credentials), Policy + (configuration settings, access control information) and Audit (events, + logs, analysis thereof). + . + This package contains tests that verify IPA functionality. + +Package: python3-ipaserver +Architecture: all +Section: python +Breaks: freeipa-server (<< 4.3.0-1), + freeipa-server-trust-ad (<< 4.4.4-1), +Replaces: freeipa-server (<< 4.3.0-1), + freeipa-server-trust-ad (<< 4.4.4-1), +Depends: + freeipa-common (= ${binary:Version}), + pki-tools (>= 10.2.6-3), + python3-dbus, + python3-dnspython, + python3-gssapi, + python3-ipaclient (= ${binary:Version}), + python3-ipalib (>= ${source:Version}), + python3-jwcrypto, + python3-kdcproxy, + python3-ldap (>= 2.4.22), + python3-libsss-nss-idmap, + python3-pki-base, + python3-pyasn1, + python3-sss, + samba-common, + zip, + ${misc:Depends}, + ${python3:Depends}, +Description: FreeIPA centralized identity framework -- Python3 modules for server + FreeIPA is an integrated solution to provide centrally managed Identity + (machine, user, virtual machines, groups, authentication credentials), Policy + (configuration settings, access control information) and Audit (events, + logs, analysis thereof). + . + This Python3 module is used by FreeIPA server. + +Package: python3-ipatests +Architecture: all +Section: python +Breaks: freeipa-tests (<< 4.3.0-1) +Replaces: freeipa-tests (<< 4.3.0-1) +Depends: + libnss3-tools, + python3-ipalib (>= ${source:Version}), + python3-mock, + python3-paramiko, + python3-paste, + python3-polib, + python3-pytest-multihost, + python3-pytest-sourceorder, + python3-sss, + xz-utils, + ${misc:Depends}, + ${python3:Depends} +Recommends: python3-yaml +Description: FreeIPA centralized identity framework -- Python3 modules for tests + FreeIPA is an integrated solution to provide centrally managed Identity + (machine, user, virtual machines, groups, authentication credentials), Policy + (configuration settings, access control information) and Audit (events, + logs, analysis thereof). + . + This Python3 module is used by FreeIPA tests. + diff --git a/debian/rules b/debian/rules index b14be934c..e543702a6 100755 --- a/debian/rules +++ b/debian/rules @@ -9,11 +9,11 @@ include /usr/share/dpkg/pkg-info.mk CFLAGS += -D_FORTIFY_SOURCE=2 # 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 +ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 armhf i386 mips mips64el mipsel ppc64 ppc64el s390x)) + ONLY_CLIENT=0 +else ONLY_CLIENT=1 -#endif +endif DESTDIR=$(CURDIR)/debian/tmp diff --git a/debian/tests/control b/debian/tests/control index 66270d9c6..51e639602 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -1,8 +1,8 @@ -#Tests: server-install -#Depends: -# freeipa-server, freeipa-client, freeipa-server-dns, -# sudo, -#Restrictions: -# allow-stderr, -# isolation-container, -# needs-root, +Tests: server-install +Depends: + freeipa-server, freeipa-client, freeipa-server-dns, + sudo, +Restrictions: + allow-stderr, + isolation-container, + needs-root,