Browse Source

Packaging cleanup

Christoph Biedl 7 years ago
parent
commit
624c827b6a
2 changed files with 13 additions and 11 deletions
  1. 9 8
      debian/control
  2. 4 3
      debian/rules

+ 9 - 8
debian/control

@@ -1,11 +1,13 @@
 Source: ngircd
-Section: net
-Priority: optional
 Maintainer: Debian IRC Team <pkg-irc-maintainers@lists.alioth.debian.org>
 Uploaders:
     Matt Arnold <mattarnold5@gmail.com>,
     Mario Iseli <mario@debian.org>,
     Christoph Biedl <debian.axhn@manchmal.in-ulm.de>,
+Homepage: http://ngircd.barton.de
+Standards-Version: 3.9.8
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-irc
+Vcs-Svn: svn://svn.debian.org/pkg-irc/
 Build-Depends: debhelper (>= 9~),
     autotools-dev,
     dh-systemd,
@@ -16,21 +18,20 @@ Build-Depends: debhelper (>= 9~),
     libpam0g-dev,
     procps,
     telnet,
-Homepage: http://ngircd.barton.de
-Vcs-Svn: svn://svn.debian.org/pkg-irc/
-Vcs-Browser: http://svn.debian.org/wsvn/pkg-irc
-Standards-Version: 3.9.8
+Priority: optional
+Section: net
 
 Package: ngircd
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends},
-Replaces: ircd
+Depends: ${misc:Depends}, ${shlibs:Depends},
 Conflicts:
     dancer-ircd,
     ircd-hybrid,
     ircd-irc2,
     ircd-ircu,
     rageircd,
+Replaces:
+    ircd,
 Description: lightweight Internet Relay Chat server
  This package provides ngIRCd, a lightweight Internet Relay Chat
  server for small or private networks. It is simple to configure, can

+ 4 - 3
debian/rules

@@ -11,6 +11,9 @@ else
     export CFLAGS += -DBIRTHDATE=$(SOURCE_DATE_EPOCH)
 endif
 
+%:
+	dh $@ --with systemd
+
 override_dh_auto_configure:
 	dh_auto_configure -- \
 	    --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
@@ -35,8 +38,6 @@ override_dh_auto_install:
 	mv $(CURDIR)/debian/ngircd/usr/share/doc/ngircd/ChangeLog \
 	    $(CURDIR)/debian/ngircd/usr/share/doc/ngircd/changelog
 
+# Commands.txt is read by the daemon
 override_dh_compress:
 	dh_compress -XCommands.txt
-
-%:
-	dh $@ --with systemd