mirror of
				https://github.com/osmarks/ngircd.git
				synced 2025-10-30 21:42:59 +00:00 
			
		
		
		
	Debian: Fix default "HelpFile" file name in ngircd.conf
The "full" package variants must use "/usr/share/doc/ngircd-full/Commands.txt" and "/usr/share/doc/ngircd-full-dbg/Commands.txt" respectively.
This commit is contained in:
		| @@ -1,3 +1,9 @@ | ||||
| ngircd (21~rc2-0ab2) unstable; urgency=low | ||||
|  | ||||
|   * Fix default "HelpFile" file name in ngircd.conf for "full" packages. | ||||
|  | ||||
|  -- Alexander Barton <alex@barton.de>  Sun, 20 Oct 2013 17:18:28 +0200 | ||||
|  | ||||
| ngircd (21~rc2-0ab1) unstable; urgency=low | ||||
|  | ||||
|   * New "upstream" release candidate 2 for ngIRCd Release 21. | ||||
|   | ||||
| @@ -139,10 +139,10 @@ install-ngircd: build-ngircd | ||||
| 	rm $(CURDIR)/debian/ngircd/usr/share/doc/ngircd/COPYING* | ||||
| 	mkdir -p $(CURDIR)/debian/ngircd/var/run/ircd | ||||
| 	cat $(CURDIR)/debian/ngircd/usr/share/doc/ngircd/sample-ngircd.conf | \ | ||||
| 	 sed -e "s/;ServerUID = 65534/ServerUID = irc/g" | \ | ||||
| 	 sed -e "s/;ServerGID = 65534/ServerGID = irc/g" | \ | ||||
| 	 sed -e "s/;MotdFile = \/usr\/local\/etc\/ngircd.motd/MotdFile = \/etc\/ngircd\/ngircd.motd/g" | \ | ||||
| 	 sed -e "s/;PidFile = \/var\/run\/ngircd\/ngircd.pid/PidFile = \/var\/run\/ircd\/ngircd.pid/g" \ | ||||
| 	 sed -e "s|;ServerUID = 65534|ServerUID = irc|g" | \ | ||||
| 	 sed -e "s|;ServerGID = 65534|ServerGID = irc|g" | \ | ||||
| 	 sed -e "s|;MotdFile = /usr/local/etc/ngircd.motd|MotdFile = |/etc/ngircd/ngircd.motd|g" | \ | ||||
| 	 sed -e "s|;PidFile = /var/run/ngircd/ngircd.pid|PidFile = /var/run/ircd/ngircd.pid|g" \ | ||||
| 	 >$(CURDIR)/debian/ngircd/etc/ngircd/ngircd.conf | ||||
| 	touch $(CURDIR)/debian/ngircd/etc/ngircd/ngircd.motd | ||||
|  | ||||
| @@ -159,10 +159,11 @@ install-ngircd-full: build-ngircd-full | ||||
| 	 $(CURDIR)/debian/ngircd-full/usr/share/doc/ngircd-full | ||||
| 	mkdir -p $(CURDIR)/debian/ngircd-full/var/run/ircd | ||||
| 	cat $(CURDIR)/debian/ngircd-full/usr/share/doc/ngircd-full/sample-ngircd.conf | \ | ||||
| 	 sed -e "s/;ServerUID = 65534/ServerUID = irc/g" | \ | ||||
| 	 sed -e "s/;ServerGID = 65534/ServerGID = irc/g" | \ | ||||
| 	 sed -e "s/;MotdFile = \/usr\/local\/etc\/ngircd.motd/MotdFile = \/etc\/ngircd\/ngircd.motd/g" | \ | ||||
| 	 sed -e "s/;PidFile = \/var\/run\/ngircd\/ngircd.pid/PidFile = \/var\/run\/ircd\/ngircd.pid/g" \ | ||||
| 	 sed -e "s|;ServerUID = 65534/ServerUID = irc/g" | \ | ||||
| 	 sed -e "s|;ServerGID = 65534/ServerGID = irc/g" | \ | ||||
| 	 sed -e "s|;MotdFile = /usr/local/etc/ngircd.motd|MotdFile = /etc/ngircd/ngircd.motd|g" | \ | ||||
| 	 sed -e "s|;HelpFile = /usr/share/doc/ngircd/Commands.txt|HelpFile = /usr/share/doc/ngircd-full/Commands.txt|g" | \ | ||||
| 	 sed -e "s|;PidFile = /var/run/ngircd/ngircd.pid|PidFile = /var/run/ircd/ngircd.pid|g" \ | ||||
| 	 >$(CURDIR)/debian/ngircd-full/etc/ngircd/ngircd.conf | ||||
| 	touch $(CURDIR)/debian/ngircd-full/etc/ngircd/ngircd.motd | ||||
| 	mkdir -p $(CURDIR)/debian/ngircd-full/etc/pam.d | ||||
| @@ -181,10 +182,11 @@ install-ngircd-full-dbg: build-ngircd-full-dbg | ||||
| 	 $(CURDIR)/debian/ngircd-full-dbg/usr/share/doc/ngircd-full-dbg | ||||
| 	mkdir -p $(CURDIR)/debian/ngircd-full-dbg/var/run/ircd | ||||
| 	cat $(CURDIR)/debian/ngircd-full-dbg/usr/share/doc/ngircd-full-dbg/sample-ngircd.conf | \ | ||||
| 	 sed -e "s/;ServerUID = 65534/ServerUID = irc/g" | \ | ||||
| 	 sed -e "s/;ServerGID = 65534/ServerGID = irc/g" | \ | ||||
| 	 sed -e "s/;MotdFile = \/usr\/local\/etc\/ngircd.motd/MotdFile = \/etc\/ngircd\/ngircd.motd/g" | \ | ||||
| 	 sed -e "s/;PidFile = \/var\/run\/ngircd\/ngircd.pid/PidFile = \/var\/run\/ircd\/ngircd.pid/g" \ | ||||
| 	 sed -e "s|;ServerUID = 65534|ServerUID = irc|g" | \ | ||||
| 	 sed -e "s|;ServerGID = 65534|ServerGID = irc|g" | \ | ||||
| 	 sed -e "s|;MotdFile = /usr/local/etc/ngircd.motd|MotdFile = /etc/ngircd/ngircd.motd|g" | \ | ||||
| 	 sed -e "s|;HelpFile = /usr/share/doc/ngircd/Commands.txt|HelpFile = /usr/share/doc/ngircd-full-dbg/Commands.txt|g" | \ | ||||
| 	 sed -e "s|;PidFile = /var/run/ngircd/ngircd.pid|PidFile = /var/run/ircd/ngircd.pid|g" \ | ||||
| 	 >$(CURDIR)/debian/ngircd-full-dbg/etc/ngircd/ngircd.conf | ||||
| 	touch $(CURDIR)/debian/ngircd-full-dbg/etc/ngircd/ngircd.motd | ||||
| 	mkdir -p $(CURDIR)/debian/ngircd-full-dbg/etc/pam.d | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alexander Barton
					Alexander Barton