Browse Source

Build ngircd with support for ident (enabled by default) and PAM (disabled)

Christoph Biedl 10 years ago
parent
commit
69ba3f0e70
3 changed files with 5 additions and 3 deletions
  1. 2 0
      debian/control
  2. 1 3
      debian/ngircd.conf
  3. 2 0
      debian/rules

+ 2 - 0
debian/control

@@ -9,6 +9,8 @@ Build-Depends: debhelper (>= 7.0.50~),
     expect,
     hardening-wrapper,
     libgnutls-dev,
+    libident-dev,
+    libpam0g-dev,
     procps,
     telnet,
 Vcs-Svn: svn://svn.debian.org/pkg-irc/

+ 1 - 3
debian/ngircd.conf

@@ -177,7 +177,6 @@
 	# Do IDENT lookups if ngIRCd has been compiled with support for it.
 	# Users identified using IDENT are registered without the "~" character
 	# prepended to their user name.
-	# Note: The Debian package was compiled without ident support.
 	;Ident = yes
 
 	# Directory containing configuration snippets (*.conf), that should
@@ -207,8 +206,7 @@
 	# Use PAM if ngIRCd has been compiled with support for it.
 	# Users identified using PAM are registered without the "~" character
 	# prepended to their user name.
-	# Note: The Debian package was compiled without PAM support.
-	;PAM = yes
+	PAM = no
 
 	# When PAM is enabled, all clients are required to be authenticated
 	# using PAM; connecting to the server without successful PAM

+ 2 - 0
debian/rules

@@ -10,6 +10,8 @@ override_dh_auto_configure:
 	    --infodir=\$${prefix}/share/info \
 	    --sysconfdir=/etc/ngircd \
 	    --with-gnutls \
+	    --with-ident \
+	    --with-pam \
 	    --enable-ipv6
 
 override_dh_auto_install: