[Git][openldap-team/openldap][mjt] 15 commits: d/control: remove very old (before buster) versioned depends/conflicts/replaces
Michael Tokarev (@mjt)
gitlab at salsa.debian.org
Tue Jan 7 10:45:00 GMT 2025
Michael Tokarev pushed to branch mjt at Debian OpenLDAP Maintainers / openldap
Commits:
daf33807 by Michael Tokarev at 2025-01-07T13:39:04+03:00
d/control: remove very old (before buster) versioned depends/conflicts/replaces
dpkg-dev (>= 1.17.14) -- buster has 1.19; dpkg-dev is build-essential
heimdal-multidev (>= 7.4.0.dfsg.1-1~) -- buster has 7.5
libperl-dev (>= 5.8.0) -- buster has 5.28 (!)
perl:any (>> 5.8.0) | libmime-base64-perl - ditto
debconf (>= 0.5) | debconf-2.0 -- buster has debconf 1.5
coreutils (>= 4.5.1-1) - buster has 8.30; coreutils is essential
umich-ldap* - last seen in 2009
libltdl3 (= 1.5.4-1) (libtool) - was before etch (in 2005)
openldap, openldap-utils - has been renamed to ldap, ldap-utils in 2005
libldap-2.4-2 (<< 2.4.44+dfsg-1) - buster has 2.4.47
bind-dev - last seen in 2009
- - - - -
0818b1d9 by Michael Tokarev at 2025-01-07T13:39:04+03:00
d/libldap2.README.Debian: remove: umounting /usr is not very interesting in 2025 (#182536)
This README talks about possible issues to umount /usr while
libldap2 (nss-ldap) is in use. With merged-usr, it makes no sense.
See also #182536.
- - - - -
79d501c8 by Michael Tokarev at 2025-01-07T13:39:04+03:00
remove ldiftopasswd script
it is a strange idea to create /etc/passwd /etc/shadow et al
from ldap, overridding current contents. The script was in
/usr/share/slapd/ldiftopasswd, in slapd package, - the package
choice is rather strange too (since if you installed slapd,
you can run secondary directory server already).
Remove this one. Also drop dependency on perl.
- - - - -
4f814a8c by Michael Tokarev at 2025-01-07T13:39:04+03:00
d/slapd.scripts-common,d/debian/slapd.postinst: do not create /var/run/slapd (created in the startup script)
- - - - -
1d2b7edd by Michael Tokarev at 2025-01-07T13:39:04+03:00
d/slapd.init: stop providing /var/run/slapd/ldapi symlink for compatibility with openldap 2.1
- - - - -
cdbe2526 by Michael Tokarev at 2025-01-07T13:39:04+03:00
d/slapd.init: simplify
- simplify numerous shell constructs
- simplify sed expressions to get the pid file
- allow to have no pid file specified in the config file
- use exit code of start-stop-daemon instead of lack of output
as an indicator of success/failure, remove trapping of set -e
- simplify messages and command lines
- - - - -
a16ce4b2 by Michael Tokarev at 2025-01-07T13:39:04+03:00
d/configure-options: enable systemd support (#1039299 #877512)
slapd uses a tiny built-in systemd notify mechanism,
so no libsystemd-dev dependency is needed.
Provide debian/slapd.service, do not ship upstream one.
d/slapd-remain-after-exit.conf: remove, not needed anymore
when installing things, omit installing systemd units
- - - - -
2d8d3216 by Michael Tokarev at 2025-01-07T13:39:04+03:00
d/slapd.default, d/slapd.init: do not use "export" keyword in the default file (so it is processed by systemd), but export KRB5_KTNAME in init if set
- - - - -
1513eed1 by Michael Tokarev at 2025-01-07T13:39:04+03:00
d/rules: fix $? usage in clean target
- - - - -
7507b383 by Michael Tokarev at 2025-01-07T13:39:04+03:00
d/rules: stop overriding dh_missing --fail-missing: it is the default in dh-compat 13+
- - - - -
b61cc6ab by Michael Tokarev at 2025-01-07T13:40:53+03:00
d/rules: only do actual work in arch-dependent build
for arch-all libldap-common package, we only need ldap.conf.5
manpage, - there's no need to build everything for it. Split
dh_auto_build &Co overrides into -arch and -indep parts.
It is possible to reduce arch-indep work further (and drop arch-indep
build deps), but the manpages uses substitutions which would be done
manually in this case:
RELEASEDATE (ol_release_date from build/version.var)
LDVERSION (DEB_VERSION, see debian/patches/debian-version)
ETCDIR (/etc)
This change already makes use of internal way upstream is using to
generate the manpages (using .tmp suffix), but adding even more internal
stuff (even for these 3 vars) seems too much.
- - - - -
4806c34d by Michael Tokarev at 2025-01-07T13:44:07+03:00
d/control: add myself to Uploaders
- - - - -
169d27ad by Michael Tokarev at 2025-01-07T13:44:07+03:00
d/rules: add -Wno-unused-const-variable to CFLAGS
many openldap sources has static const char copyright[] = ".."
and the like, all of which are being reported by the compiler.
- - - - -
6ff0e7d6 by Michael Tokarev at 2025-01-07T13:44:07+03:00
d/rules: add LC_ALL=C for the build rule
makes build reproducible (fixes order of shell *.o etc)
- - - - -
fda72720 by Michael Tokarev at 2025-01-07T13:44:42+03:00
d/rules: add slapdS.c to blhc ignore-line
- - - - -
15 changed files:
- debian/configure.options
- debian/control
- − debian/ldiftopasswd
- debian/libldap-common.install
- − debian/libldap2.README.Debian
- debian/not-installed
- debian/rules
- − debian/slapd-remain-after-exit.conf
- debian/slapd.README.Debian
- debian/slapd.default
- debian/slapd.init
- debian/slapd.install
- debian/slapd.postinst
- debian/slapd.scripts-common
- + debian/slapd.service
View it on GitLab: https://salsa.debian.org/openldap-team/openldap/-/compare/be1b14b6d7e13a35ea90aeae0710767d89954794...fda727208aa53dd4842507472a64352dce235500
--
View it on GitLab: https://salsa.debian.org/openldap-team/openldap/-/compare/be1b14b6d7e13a35ea90aeae0710767d89954794...fda727208aa53dd4842507472a64352dce235500
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-openldap-devel/attachments/20250107/2f8650cc/attachment-0001.htm>
More information about the Pkg-openldap-devel
mailing list