popa3d: enable standalone mode

This commit is contained in:
Peter Simons 2012-09-19 01:38:07 +02:00
parent d23aef5432
commit 4f099c9880
2 changed files with 18 additions and 1 deletions

View File

@ -11,7 +11,12 @@ stdenv.mkDerivation rec {
buildInputs = [ openssl ];
patches = [ ./fix-mail-spool-path.patch ./use-openssl.patch ./use-glibc-crypt.patch ];
patches = [
./fix-mail-spool-path.patch
./use-openssl.patch
./use-glibc-crypt.patch
./enable-standalone-mode.patch
];
configurePhase = ''makeFlags="PREFIX=$out MANDIR=$out/share/man"'';

View File

@ -0,0 +1,12 @@
diff -ubr popa3d-1.0.2-orig/params.h popa3d-1.0.2/params.h
--- popa3d-1.0.2-orig/params.h 2012-09-19 01:19:56.698098130 +0200
+++ popa3d-1.0.2/params.h 2012-09-19 01:37:06.749130665 +0200
@@ -13,7 +13,7 @@
/*
* Are we going to be a standalone server or start via an inetd clone?
*/
-#define POP_STANDALONE 0
+#define POP_STANDALONE 1
#if POP_STANDALONE