[Pkg-freeipa-devel] [Git][freeipa-team/freeipa][master-next] 6 commits: copyright, watch: Filter prebuilt html documentation from the tarball.

Timo Aaltonen (@tjaalton) gitlab at salsa.debian.org
Wed Mar 1 07:31:39 GMT 2023



Timo Aaltonen pushed to branch master-next at FreeIPA packaging / freeipa


Commits:
a94f7bbf by Timo Aaltonen at 2023-02-27T12:09:25+02:00
copyright, watch: Filter prebuilt html documentation from the tarball.

- - - - -
b0af80ed by Timo Aaltonen at 2023-02-27T12:09:42+02:00
tests: Dump journalctl on fail

- - - - -
7dbd5758 by Timo Aaltonen at 2023-02-27T12:10:28+02:00
fix-ldap-so-path.diff: Specify the path to ldap.so again, and use multiarch path.

- - - - -
8ab6fd30 by Timo Aaltonen at 2023-02-27T12:10:40+02:00
tests: Dump journalctl for select services

- - - - -
a4156caa by Timo Aaltonen at 2023-02-28T22:05:21+02:00
Upload to experimental, build the server and enable tests.

- - - - -
e54a0f54 by Timo Aaltonen at 2023-02-28T22:07:20+02:00
releasing package freeipa version 4.10.1+dfsg1-1+exp1

- - - - -


9 changed files:

- debian/changelog
- debian/control
- debian/copyright
- + debian/patches/fix-ldap-so-path.diff
- debian/patches/series
- debian/rules
- debian/tests/control
- debian/tests/server-install
- debian/watch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,8 +1,18 @@
-freeipa (4.10.1-1) UNRELEASED; urgency=medium
+freeipa (4.10.1+dfsg1-1+exp1) experimental; urgency=medium
+
+  * Upload to experimental, build the server and enable tests.
+
+ -- Timo Aaltonen <tjaalton at debian.org>  Tue, 28 Feb 2023 22:07:14 +0200
+
+freeipa (4.10.1+dfsg1-1) UNRELEASED; urgency=medium
 
   * New upstream release.
   * control: Bump sssd, bind9 depends.
   * patches: Specify krb5_keytab in the named.conf template.
+  * copyright, watch: Filter prebuilt html documentation from the
+    tarball.
+  * fix-ldap-so-path.diff: Specify the path to ldap.so again, and use
+    multiarch path.
 
  -- Timo Aaltonen <tjaalton at debian.org>  Tue, 21 Feb 2023 10:13:42 +0200
 


=====================================
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
@@ -201,3 +215,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.5-2),
+ 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.
+


=====================================
debian/copyright
=====================================
@@ -1,6 +1,7 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-name: freeipa
 Source: http://releases.pagure.org/freeipa
+Files-Excluded: doc/_build
 
 Files: *
 Copyright: 1999-2011 Red Hat, Inc.


=====================================
debian/patches/fix-ldap-so-path.diff
=====================================
@@ -0,0 +1,11 @@
+--- a/ipaplatform/debian/paths.py
++++ b/ipaplatform/debian/paths.py
+@@ -79,7 +79,7 @@ class DebianPathNamespace(BasePathNamesp
+     UPDATE_CA_TRUST = "/usr/sbin/update-ca-certificates"
+     BIND_LDAP_DNS_IPA_WORKDIR = "/var/cache/bind/dyndb-ldap/ipa/"
+     BIND_LDAP_DNS_ZONE_WORKDIR = "/var/cache/bind/dyndb-ldap/ipa/master/"
+-    BIND_LDAP_SO = "ldap.so"
++    BIND_LDAP_SO = "/usr/lib/{0}/bind/ldap.so".format(MULTIARCH)
+     LIBARCH = "/{0}".format(MULTIARCH)
+     LIBSOFTHSM2_SO = "/usr/lib/{0}/softhsm/libsofthsm2.so".format(MULTIARCH)
+     PAM_KRB5_SO = "/usr/lib/{0}/security/pam_krb5.so".format(MULTIARCH)


=====================================
debian/patches/series
=====================================
@@ -6,3 +6,4 @@ dnssec-race-wa.diff
 fix-sssd-socket-activation.diff
 
 # send upstream
+fix-ldap-so-path.diff


=====================================
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
 


=====================================
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,


=====================================
debian/tests/server-install
=====================================
@@ -41,6 +41,14 @@ ipa-server-install \
 	--hostname=$HOSTNAME.debci.ipatest
 
 if [ $? != 0 ]; then
+    echo ">>>>> journalctl named >>>>>>>"
+    journalctl -xeu named.service
+    echo ">>>>> journalctl certmonger >>>>>>>"
+    journalctl -xeu certmonger.service
+    echo ">>>>> journalctl apache2 >>>>>>>"
+    journalctl -xeu apache2.service
+    echo ">>>>> journalctl pki-tomcatd >>>>>>>"
+    journalctl -xeu pki-tomcatd at pki-tomcat.service
     echo ">>>>> IPASERVER log >>>>>>>"
     tail -n 2000 /var/log/ipaserver-install.log
     echo ">>>>> IPACLIENT log >>>>>>>"


=====================================
debian/watch
=====================================
@@ -1,3 +1,3 @@
 version=3
-options=uversionmangle=s/rc/~rc/ \
+options=dversionmangle=s/\+dfsg\d*$//,oversionmangle=s/$/+dfsg1/,uversionmangle=s/rc/~rc/ \
 https://releases.pagure.org/freeipa/freeipa-(.+).tar.gz



View it on GitLab: https://salsa.debian.org/freeipa-team/freeipa/-/compare/94bd05fa0fc9bd2bac5e214cfc28e1ce1633b5de...e54a0f5416213b3b9e58bd6d3d29f7bf0d9288d2

-- 
View it on GitLab: https://salsa.debian.org/freeipa-team/freeipa/-/compare/94bd05fa0fc9bd2bac5e214cfc28e1ce1633b5de...e54a0f5416213b3b9e58bd6d3d29f7bf0d9288d2
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-freeipa-devel/attachments/20230301/72a888db/attachment-0001.htm>


More information about the Pkg-freeipa-devel mailing list