Browse Source

Various fixes suggested by lintian

Christoph Biedl 1 month ago
parent
commit
c19738fc1a

+ 0 - 1
debian/control

@@ -21,7 +21,6 @@ Package: ngircd
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends},
 Depends: ${misc:Depends}, ${shlibs:Depends},
-    lsb-base,
 Conflicts:
     ircd-hybrid,
     ircd-irc2,

+ 1 - 1
debian/ngircd.lintian-overrides

@@ -1,3 +1,3 @@
 
 # INSTALL also contains upgrading information, so ship it
-ngircd: package-contains-upstream-installation-documentation usr/share/doc/ngircd/INSTALL.md.gz
+ngircd: package-contains-upstream-installation-documentation [usr/share/doc/ngircd/INSTALL.md.gz]

+ 2 - 2
debian/ngircd.tmpfiles

@@ -1,3 +1,3 @@
 
-d /var/run/ircd   0755 irc irc
-d /var/run/ngircd 0755 irc irc
+d /run/ircd   0755 irc irc
+d /run/ngircd 0755 irc irc

+ 18 - 0
debian/patches/1672411055.rel-26.1-63-gd702ebab.spelling-fixes-mostly-in-file-comments.patch

@@ -0,0 +1,18 @@
+Subject: Spelling fixes, mostly in file comments
+Origin: upstream, commit rel-26.1-63-gd702ebab <https://github.com/ngircd/ngircd/commit/d702ebab>
+Author: Alexander Barton <alex@barton.de>
+Date: Fri Dec 30 15:37:35 2022 +0100
+
+    This is only the change that is user-visiable.
+
+--- a/src/ngircd/ngircd.c
++++ b/src/ngircd/ngircd.c
+@@ -825,7 +825,7 @@
+ 			    "Can't change working directory to \"%s\": %s!",
+ 			    pwd->pw_dir, strerror(errno));
+ 	} else
+-		Log(LOG_ERR, "Can't get user informaton for UID %d!?", Conf_UID);
++		Log(LOG_ERR, "Can't get user information for UID %d!?", Conf_UID);
+ 
+ 	return true;
+  out:

+ 1 - 0
debian/patches/series

@@ -1,5 +1,6 @@
 
 # patches cherry-picked upstream
+1672411055.rel-26.1-63-gd702ebab.spelling-fixes-mostly-in-file-comments.patch
 1704751893.rel-26.1-55-g28777066.test-suite-update-for-openssl-3-x.patch
 
 # patches that should go upstream