--mandir=\$${prefix}/share/man \
--docdir=\$${prefix}/share/doc/ngircd-full \
--with-syslog --with-zlib \
- --with-gnutls --with-iconv --with-ident --with-tcp-wrappers \
+ --with-openssl --with-iconv --with-ident --with-tcp-wrappers \
--with-pam \
--enable-ipv6
--docdir=\$${prefix}/share/doc/ngircd-full-dbg \
--enable-debug --enable-sniffer \
--with-syslog --with-zlib \
- --with-gnutls --with-iconv --with-ident --with-tcp-wrappers \
+ --with-openssl --with-iconv --with-ident --with-tcp-wrappers \
--with-pam \
--enable-ipv6
build:
- dh_clean -k
+ dh_prep
build-ngircd: build-stamp-ngircd
build-stamp-ngircd: configure-ngircd
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