[Pkg-sssd-devel] [Git][sssd-team/sssd][master] Remove remnants of support for multiple init systems

Timo Aaltonen (@tjaalton) gitlab at salsa.debian.org
Fri Sep 23 08:23:05 BST 2022



Timo Aaltonen pushed to branch master at Debian SSSD packaging / sssd


Commits:
461131fa by Sam Morris at 2022-09-23T05:38:52+00:00
Remove remnants of support for multiple init systems

This was an artifact of the time when we supported upstart and sysvinit.

- - - - -


2 changed files:

- debian/rules
- debian/sssd-common.sssd.init.in → debian/sssd-common.sssd.init


Changes:

=====================================
debian/rules
=====================================
@@ -19,7 +19,6 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 APIDOCDIR = /usr/share/sssd
 DISTRIBUTION = $(shell lsb_release -i | sed 's/.*:\t//')
-INIT = init
 PKGDATE = $(shell dpkg-parsechangelog | \
 	awk -F" " '/^Date/ { print $$4 "/" $$3 "/" $$5 }' | \
 	sed 's/Jan/01/;s/Feb/02/;s/Mar/03/;s/Apr/04/;s/May/05/;s/Jun/06/;s/Jul/07/;s/Aug/08/;s/Sep/09/;s/Oct/10/;s/Nov/11/;s/Dec/12/;s/\//\\\//g')
@@ -72,8 +71,6 @@ override_dh_install:
 	install -m644 -D $(CURDIR)/debian/apparmor-profile \
 		$(CURDIR)/debian/sssd-common/etc/apparmor.d/usr.sbin.sssd
 
-	cat $(CURDIR)/debian/sssd-common.sssd.$(INIT).in > $(CURDIR)/debian/sssd-common.sssd.$(INIT)
-
 	# remove files we don't want to install
 	find $(CURDIR)/debian/tmp/ -name '*.la' -exec rm '{}' ';'
 	find $(CURDIR)/debian/tmp/ -name '*.pyc' -exec rm '{}' ';'
@@ -117,7 +114,6 @@ override_dh_installdeb:
 
 override_dh_auto_clean:
 	dh_auto_clean
-	rm -f $(CURDIR)/debian/sssd-common.$(INIT)
 	rm -f $(CURDIR)/po/*.gmo
 	rm -f $(CURDIR)/src/config/*.pyc
 	rm -f $(CURDIR)/po/stamp-po


=====================================
debian/sssd-common.sssd.init.in → debian/sssd-common.sssd.init
=====================================



View it on GitLab: https://salsa.debian.org/sssd-team/sssd/-/commit/461131fa3301375d063da48fd15aa53c741adfd3

-- 
View it on GitLab: https://salsa.debian.org/sssd-team/sssd/-/commit/461131fa3301375d063da48fd15aa53c741adfd3
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-sssd-devel/attachments/20220923/f7264798/attachment-0001.htm>


More information about the Pkg-sssd-devel mailing list