[csw-devel] SF.net SVN: gar:[5546] csw/mgar/pkg/pureftpd/trunk/Makefile

bensons at users.sourceforge.net bensons at users.sourceforge.net
Wed Jul 8 17:10:12 CEST 2009


Revision: 5546
          http://gar.svn.sourceforge.net/gar/?rev=5546&view=rev
Author:   bensons
Date:     2009-07-08 15:10:09 +0000 (Wed, 08 Jul 2009)

Log Message:
-----------
pureftpd: fix pam, crypt and other stuff

Modified Paths:
--------------
    csw/mgar/pkg/pureftpd/trunk/Makefile

Modified: csw/mgar/pkg/pureftpd/trunk/Makefile
===================================================================
--- csw/mgar/pkg/pureftpd/trunk/Makefile	2009-07-08 14:41:17 UTC (rev 5545)
+++ csw/mgar/pkg/pureftpd/trunk/Makefile	2009-07-08 15:10:09 UTC (rev 5546)
@@ -5,10 +5,10 @@
 
 DESCRIPTION = A secure FTP daemon
 define BLURB
-  Pure-FTPd is a free (BSD), secure, production-quality and 
-  standard-conformant FTP server. It doesn't provide useless bells and 
-  whistles, but focuses on efficiency and ease of use. It provides simple 
-  answers to common needs, plus unique useful features for personal users 
+  Pure-FTPd is a free (BSD), secure, production-quality and
+  standard-conformant FTP server. It doesn't provide useless bells and
+  whistles, but focuses on efficiency and ease of use. It provides simple
+  answers to common needs, plus unique useful features for personal users
   as well as hosting providers.
 endef
 
@@ -24,15 +24,35 @@
 
 # configure args
 CONFIGURE_ARGS  = $(DIRPATHS)
+CONFIGURE_ARGS += --with-everything
+CONFIGURE_ARGS += --with-paranoidmsg
+CONFIGURE_ARGS += --with-virtualchroot
 CONFIGURE_ARGS += --with-tls
 CONFIGURE_ARGS += --with-pam
+CONFIGURE_ARGS += --with-altlog
+CONFIGURE_ARGS += --with-brokenrealpath
 CONFIGURE_ARGS += --enable-largefile
+CONFIGURE_ARGS += --sysconfdir=$(prefix)/etc/$(SRCNAME)
 
+# use X/Open CAE specifications
+EXTRA_CFLAGS = -D_XOPEN_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1
+
 # No test suite available
 TEST_SCRIPTS =
 
 include gar/category.mk
 
+# make sure, the linker uses libcrypt before libssl
+post-configure-modulated:
+	@perl -pi -e 's at -lssl -lcrypto -lcrypt at -lcrypt -lssl -lcrypto@' \
+           ${WORKSRC}/Makefile
+	@perl -pi -e 's at -lssl -lcrypto -lcrypt at -lcrypt -lssl -lcrypto@' \
+           ${WORKSRC}/src/Makefile
+
 # strange archive...
 post-build-modulated:
 	@chmod 751 $(WORKSRC)/x
+
+# create config directory
+pre-install-modulated:
+	ginstall -d $(DESTDIR)$(sysconfdir)/$(SRCNAME)


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list