[Pkg-freeipa-devel] [Git][freeipa-team/389-ds-base][master] 2 commits: Restore perl build partly, setup-ds is still needed for upgrades until Ubuntu...

Timo Aaltonen gitlab at salsa.debian.org
Thu Sep 12 12:56:10 BST 2019



Timo Aaltonen pushed to branch master at FreeIPA packaging / 389-ds-base


Commits:
4082f760 by Timo Aaltonen at 2019-09-12T11:50:20Z
Restore perl build partly, setup-ds is still needed for upgrades until Ubuntu 20.04 is released (for versions << 1.4.0.9).

- - - - -
523166b3 by Timo Aaltonen at 2019-09-12T11:50:47Z
releasing package 389-ds-base version 1.4.1.6-2

- - - - -


5 changed files:

- debian/389-ds-base.install
- debian/389-ds-base.postinst
- debian/changelog
- debian/control
- debian/rules


Changes:

=====================================
debian/389-ds-base.install
=====================================
@@ -12,6 +12,7 @@ usr/bin/ldclt
 usr/bin/logconv
 usr/bin/pwdhash
 usr/bin/readnsstate
+usr/lib/*/dirsrv/perl/
 usr/lib/*/dirsrv/plugins/*.so
 usr/lib/*/dirsrv/python/
 usr/libexec/ds_selinux_enabled
@@ -24,7 +25,10 @@ usr/sbin/ns-slapd
 usr/share/dirsrv/data
 usr/share/dirsrv/inf
 usr/share/dirsrv/mibs
+usr/share/dirsrv/properties
+usr/share/dirsrv/setup-ds.pl
 usr/share/dirsrv/schema
+usr/share/dirsrv/updates
 usr/share/gdb/auto-load/usr/sbin/ns-slapd-gdb.py
 usr/share/man/man1/dbscan.1
 usr/share/man/man1/ds-logpipe.1


=====================================
debian/389-ds-base.postinst
=====================================
@@ -27,7 +27,7 @@ if [ "$1" = configure ]; then
             service dirsrv@$inst stop > $OUT 2>&1
         done
 
-        setup-ds -l $OUT -u -s General.UpdateMode=offline > $OUT 2>&1
+        /usr/share/dirsrv/setup-ds.pl -l $OUT -u -s General.UpdateMode=offline > $OUT 2>&1
 
         if [ $? = 0 ]; then
             for inst in $INSTANCES; do


=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+389-ds-base (1.4.1.6-2) unstable; urgency=medium
+
+  * Restore perl build partly, setup-ds is still needed for upgrades
+    until Ubuntu 20.04 is released (for versions << 1.4.0.9).
+
+ -- Timo Aaltonen <tjaalton at debian.org>  Thu, 12 Sep 2019 14:50:36 +0300
+
 389-ds-base (1.4.1.6-1) unstable; urgency=medium
 
   * New upstream release.


=====================================
debian/control
=====================================
@@ -109,6 +109,9 @@ Depends:
  adduser,
  acl,
  ldap-utils,
+ libmozilla-ldap-perl,
+ libnetaddr-ip-perl,
+ libsocket-getaddrinfo-perl,
  libsasl2-modules-gssapi-mit,
  perl,
  python3-lib389,
@@ -119,6 +122,7 @@ Depends:
  ${misc:Depends},
  ${shlibs:Depends},
  ${python3:Depends},
+Replaces: 389-ds-base-legacy-tools
 Description: 389 Directory Server suite - server
  Based on the Lightweight Directory Access Protocol (LDAP), the 389
  Directory Server is designed to manage large directories of users and


=====================================
debian/rules
=====================================
@@ -15,8 +15,28 @@ NOT_INSTALLED := \
 	usr/bin/mmldif \
 	usr/bin/migratecred \
 	usr/bin/rsearch \
-	usr/bin/ldif
-
+	usr/bin/ldif \
+	usr/bin/cl-dump \
+	usr/sbin/bak2db \
+	usr/sbin/db2bak \
+	usr/sbin/db2index \
+	usr/sbin/db2ldif \
+	usr/sbin/dbmon.sh \
+	usr/sbin/dbverify \
+	usr/sbin/dn2rdn \
+	usr/sbin/ldif2db \
+	usr/sbin/ldif2ldap \
+	usr/sbin/monitor \
+	usr/sbin/restart-dirsrv \
+	usr/sbin/restoreconfig \
+	usr/sbin/saveconfig \
+	usr/sbin/start-dirsrv \
+	usr/sbin/status-dirsrv \
+	usr/sbin/stop-dirsrv \
+	usr/sbin/suffix2instance \
+	usr/sbin/upgradedb \
+	usr/sbin/upgradednformat \
+	usr/sbin/vlvindex
 
 REALFILE = \
 	bin/ds-logpipe.py \
@@ -43,7 +63,8 @@ override_dh_auto_configure:
 		--with-tmpfiles-d=/etc/tmpfiles.d \
 		--enable-autobind \
 		--enable-cmocka \
-		--enable-icu
+		--enable-icu \
+		--enable-perl
 
 override_dh_auto_build:
 	(cd src/lib389 && python3 setup.py build)
@@ -75,6 +96,11 @@ override_dh_install:
 	sed -i  "1s/\"1\"/\"8\"/" debian/tmp/usr/share/man/man8/dsctl.8
 	sed -i  "1s/\"1\"/\"8\"/" debian/tmp/usr/share/man/man8/dsidm.8
 
+	# clean up perl cruft
+	mv debian/tmp/usr/sbin/setup-ds.pl debian/tmp/usr/share/dirsrv
+	rm -f debian/tmp/usr/bin/*.pl debian/tmp/usr/sbin/*.pl
+	rm -rf debian/tmp/usr/share/dirsrv/script-templates/
+
 	dh_install
 
 override_dh_missing:



View it on GitLab: https://salsa.debian.org/freeipa-team/389-ds-base/compare/4d8863f90902faba09b7ce5291143c2be22f913c...523166b3f863d50ed0d7a28308cb312fb2284b68

-- 
View it on GitLab: https://salsa.debian.org/freeipa-team/389-ds-base/compare/4d8863f90902faba09b7ce5291143c2be22f913c...523166b3f863d50ed0d7a28308cb312fb2284b68
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/20190912/1669c738/attachment-0001.html>


More information about the Pkg-freeipa-devel mailing list