]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Add new pam.{c|h} module to Xcode project
authorAlexander Barton <alex@barton.de>
Mon, 12 Jul 2010 10:54:01 +0000 (12:54 +0200)
committerAlexander Barton <alex@barton.de>
Mon, 12 Jul 2010 10:54:01 +0000 (12:54 +0200)
Adjust Xcode project and Mac OS X static config.h header to use PAM.

contrib/MacOSX/config.h
contrib/MacOSX/ngIRCd.xcodeproj/project.pbxproj

index 66465e26a8f6eee0777ed2687cb12a04271c6a0d..72c8875b684fba5b370ee2cd7b0cf1f8f282d4ef 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * ngIRCd -- The Next Generation IRC Daemon
- * Copyright (c)2001-2009 Alexander Barton (alex@barton.de).
+ * Copyright (c)2001-2010 Alexander Barton (alex@barton.de).
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -51,6 +51,9 @@
 /* Define if IPV6 protocol should be enabled */
 #define WANT_IPV6 1
 
+/* Define if PAM should be used */
+#define PAM 1
+
 /* -- Supported features -- */
 
 /* Define if SSP C support is enabled. */
 #define HAVE_DNSSERVICEREGISTRATIONCREATE 1
 #endif
 
+#ifdef PAM
+/* Define to 1 if you have the `pam_authenticate' function. */
+#define HAVE_PAM_AUTHENTICATE 1
+/* Define to 1 if you have the <pam/pam_appl.h> header file. */
+#define HAVE_PAM_PAM_APPL_H 1
+#endif
+
 /* -eof- */
index d36d25b7719cfcb5d661f96f30afd8f261662a6b..d3a7617b75058dfc64431dd8b25e6ee75ea7a0b2 100644 (file)
@@ -7,6 +7,8 @@
        objects = {
 
 /* Begin PBXBuildFile section */
+               FA2D564A11EA158B00D37A35 /* pam.c in Sources */ = {isa = PBXBuildFile; fileRef = FA2D564911EA158B00D37A35 /* pam.c */; };
+               FA2D567B11EA1AB300D37A35 /* libpam.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = FA2D567A11EA1AB300D37A35 /* libpam.dylib */; };
                FA322D350CEF74B1001761B3 /* array.c in Sources */ = {isa = PBXBuildFile; fileRef = FA322CD90CEF74B1001761B3 /* array.c */; };
                FA322D360CEF74B1001761B3 /* channel.c in Sources */ = {isa = PBXBuildFile; fileRef = FA322CDB0CEF74B1001761B3 /* channel.c */; };
                FA322D370CEF74B1001761B3 /* client.c in Sources */ = {isa = PBXBuildFile; fileRef = FA322CDD0CEF74B1001761B3 /* client.c */; };
@@ -56,6 +58,9 @@
 /* Begin PBXFileReference section */
                FA1A6BBC0D6857BB00AA8F71 /* misc-test.e */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = text; path = "misc-test.e"; sourceTree = "<group>"; };
                FA1A6BBD0D6857D900AA8F71 /* who-test.e */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = text; path = "who-test.e"; sourceTree = "<group>"; };
+               FA2D564811EA158B00D37A35 /* pam.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = pam.h; sourceTree = "<group>"; };
+               FA2D564911EA158B00D37A35 /* pam.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = pam.c; sourceTree = "<group>"; };
+               FA2D567A11EA1AB300D37A35 /* libpam.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libpam.dylib; path = usr/lib/libpam.dylib; sourceTree = SDKROOT; };
                FA322BBA0CEF72E4001761B3 /* ngIRCd */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = ngIRCd; sourceTree = BUILT_PRODUCTS_DIR; };
                FA322CD60CEF74B1001761B3 /* Makefile.am */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = text; path = Makefile.am; sourceTree = "<group>"; };
                FA322CD90CEF74B1001761B3 /* array.c */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.c; path = array.c; sourceTree = "<group>"; };
                        buildActionMask = 2147483647;
                        files = (
                                FA322DC10CEF77CB001761B3 /* libz.dylib in Frameworks */,
+                               FA2D567B11EA1AB300D37A35 /* libpam.dylib in Frameworks */,
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                };
                                FA322D630CEF750F001761B3 /* Makefile.am */,
                                1AB674ADFE9D54B511CA2CBB /* Products */,
                                FA322DC00CEF77CB001761B3 /* libz.dylib */,
+                               FA2D567A11EA1AB300D37A35 /* libpam.dylib */,
                        );
                        name = ngIRCd;
                        sourceTree = "<group>";
                                FA322D0B0CEF74B1001761B3 /* rendezvous.h */,
                                FA322D0C0CEF74B1001761B3 /* resolve.c */,
                                FA322D0D0CEF74B1001761B3 /* resolve.h */,
+                               FA2D564811EA158B00D37A35 /* pam.h */,
+                               FA2D564911EA158B00D37A35 /* pam.c */,
                        );
                        path = ngircd;
                        sourceTree = "<group>";
                                FAA3D27B0F139CDC00B2447E /* conn-ssl.c in Sources */,
                                FA85178C0FA061EC006A1F5A /* op.c in Sources */,
                                FA99428C10E82A27007F27ED /* proc.c in Sources */,
+                               FA2D564A11EA158B00D37A35 /* pam.c in Sources */,
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                };