commit - f0532c98cd2fcd1443f8f80ed45772d56bf4cd9e
commit + 8e09180295350692ec2ab82b06c6f70b7cd5c6fa
blob - 111d4aceb38c1fd95091a3e0e0568ae9cf3c3f82
blob + 73c000d9a607cee52b40250e493b29a2a93a5857
--- contrib/Debian/.gitignore
+++ contrib/Debian/.gitignore
files
ngircd/
ngircd-full/
+ngircd.service
ngircd-full.default
ngircd-full.init
ngircd-full.postinst
+ngircd-full.service
ngircd-full-dbg/
ngircd-full-dbg.default
ngircd-full-dbg.init
ngircd-full-dbg.postinst
+ngircd-full-dbg.service
blob - 158d9533420df60055c9dbb8eb0398a3fafd4057
blob + 83347d92ab9c13777ed3f9151b19ec740866598e
--- contrib/Debian/control
+++ contrib/Debian/control
Maintainer: Alexander Barton <alex@barton.de>
Build-Depends: debhelper (>> 9.0.0),
autotools-dev,
+ dh-systemd (>= 1.5),
expect,
libz-dev,
libwrap0-dev,
blob - 609a8dd6d0763c4fe675299d4e2e7dadae537b5a
blob + ac6f59313e30b9c8de5672da6768f47601f8e465
--- contrib/Debian/rules
+++ contrib/Debian/rules
dh_testdir
dh_testroot
rm -f build-stamp*
+ rm -f $(CURDIR)/debian/ngircd.service
rm -f $(CURDIR)/debian/ngircd-full.default
rm -f $(CURDIR)/debian/ngircd-full.init
rm -f $(CURDIR)/debian/ngircd-full.postinst
+ rm -f $(CURDIR)/debian/ngircd-full.service
rm -f $(CURDIR)/debian/ngircd-full-dbg.default
rm -f $(CURDIR)/debian/ngircd-full-dbg.postinst
rm -f $(CURDIR)/debian/ngircd-full-dbg.init
+ rm -f $(CURDIR)/debian/ngircd-full-dbg.service
# Add here commands to clean up after the build process:
[ ! -f Makefile ] || $(MAKE) distclean
# Build architecture-dependent files here.
binary-arch: build install
+ ln -s $(CURDIR)/contrib/ngircd.service \
+ $(CURDIR)/debian/ngircd.service
+
ln -s $(CURDIR)/debian/ngircd.default \
$(CURDIR)/debian/ngircd-full.default
ln -s $(CURDIR)/debian/ngircd.init \
$(CURDIR)/debian/ngircd-full.init
ln -s $(CURDIR)/debian/ngircd.postinst \
$(CURDIR)/debian/ngircd-full.postinst
+ cp $(CURDIR)/contrib/ngircd.service \
+ $(CURDIR)/debian/ngircd-full.service
+ echo "Alias=ngircd.service" >>$(CURDIR)/debian/ngircd-full.service
ln -s $(CURDIR)/debian/ngircd.default \
$(CURDIR)/debian/ngircd-full-dbg.default
$(CURDIR)/debian/ngircd-full-dbg.init
ln -s $(CURDIR)/debian/ngircd.postinst \
$(CURDIR)/debian/ngircd-full-dbg.postinst
+ cp $(CURDIR)/contrib/ngircd.service \
+ $(CURDIR)/debian/ngircd-full-dbg.service
+ echo "Alias=ngircd.service" >>$(CURDIR)/debian/ngircd-full-dbg.service
dh_testdir
dh_testroot
dh_installchangelogs -a -A ChangeLog
dh_installdocs -a
+ dh_systemd_enable -a
dh_installinit -a
+ dh_systemd_start -a
dh_strip -a --no-package=ngircd-full-dbg
dh_compress -a -XCommands.txt
dh_fixperms -a