mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Switch to GNU configure
PR: 34660 Submitted by: "James E. Housley" <jeh@thehousleys.net>
This commit is contained in:
parent
b5d01e2916
commit
571379f50f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=54906
@ -9,7 +9,7 @@
|
||||
|
||||
PORTNAME= wu-ftpd
|
||||
PORTVERSION= 2.6.1
|
||||
PORTREVISION= 8
|
||||
PORTREVISION= 9
|
||||
CATEGORIES= ftp
|
||||
DIST_SUBDIR= wu-ftpd
|
||||
MASTER_SITES= ftp://ftp.wu-ftpd.org/pub/wu-ftpd/
|
||||
@ -22,15 +22,16 @@ PATCHFILES= ftpglob.patch \
|
||||
|
||||
MAINTAINER= ache@FreeBSD.org
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --enable-rfc931 --disable-pasvip --enable-opie \
|
||||
--enable-noop --disable-numericuid --enable-nlst-dirs \
|
||||
--prefix=${PREFIX} --with-etc-dir=${PREFIX}/etc
|
||||
|
||||
MAN1= ftpcount.1 ftpwho.1
|
||||
MAN5= ftpaccess.5 ftphosts.5 ftpconversions.5 xferlog.5
|
||||
MAN5= ftpaccess.5 ftphosts.5 ftpconversions.5 xferlog.5 \
|
||||
ftpservers.5
|
||||
MAN8= ftpd.8 ftpshut.8 ftprestart.8 privatepw.8
|
||||
|
||||
post-patch:
|
||||
@${CP} ${WRKSRC}/config.h.noac ${WRKSRC}/config.h
|
||||
@${CP} ${WRKSRC}/src/pathnames.h.noac ${WRKSRC}/src/pathnames.h
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ./build fbs
|
||||
USE_AUTOCONF= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,42 +0,0 @@
|
||||
*** src/pathnames.h.orig Wed Oct 20 20:27:34 1999
|
||||
--- src/pathnames.h.noac Wed Oct 20 20:30:19 1999
|
||||
***************
|
||||
*** 104,113 ****
|
||||
#define _PATH_FTPSERVERS "/opt/ftpd/lib/ftpservers"
|
||||
#endif
|
||||
#else
|
||||
! #define _PATH_FTPUSERS "/usr/local/lib/ftpd/ftpusers"
|
||||
! #define _PATH_FTPACCESS "/usr/local/lib/ftpd/ftpaccess"
|
||||
! #define _PATH_CVT "/usr/local/lib/ftpd/ftpconversions"
|
||||
! #define _PATH_PRIVATE "/usr/local/lib/ftpd/ftpgroups"
|
||||
#ifdef VIRTUAL
|
||||
#define _PATH_FTPSERVERS "/usr/local/lib/ftpd/ftpservers"
|
||||
#endif
|
||||
--- 104,113 ----
|
||||
#define _PATH_FTPSERVERS "/opt/ftpd/lib/ftpservers"
|
||||
#endif
|
||||
#else
|
||||
! #define _PATH_FTPUSERS "!!PREFIX!!/lib/ftpd/ftpusers"
|
||||
! #define _PATH_FTPACCESS "!!PREFIX!!/lib/ftpd/ftpaccess"
|
||||
! #define _PATH_CVT "!!PREFIX!!/lib/ftpd/ftpconversions"
|
||||
! #define _PATH_PRIVATE "!!PREFIX!!/lib/ftpd/ftpgroups"
|
||||
#ifdef VIRTUAL
|
||||
#define _PATH_FTPSERVERS "/usr/local/lib/ftpd/ftpservers"
|
||||
#endif
|
||||
***************
|
||||
*** 203,209 ****
|
||||
#ifdef USE_OPT_FTPD
|
||||
#define _PATH_FTPHOSTS "/opt/ftpd/lib/ftphosts"
|
||||
#else
|
||||
! #define _PATH_FTPHOSTS "/usr/local/lib/ftpd/ftphosts"
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
--- 203,209 ----
|
||||
#ifdef USE_OPT_FTPD
|
||||
#define _PATH_FTPHOSTS "/opt/ftpd/lib/ftphosts"
|
||||
#else
|
||||
! #define _PATH_FTPHOSTS "!!PREFIX!!/etc/ftphosts"
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
@ -1,46 +0,0 @@
|
||||
--- config.h.noac.orig Tue Oct 2 23:07:36 2001
|
||||
+++ config.h.noac Tue Oct 2 23:08:15 2001
|
||||
@@ -109,9 +109,7 @@
|
||||
* Add OPIE support -- REQUIRES OPIE libraries
|
||||
*/
|
||||
|
||||
-#if !defined (LINUX) /* Linux autodetects OPIE */
|
||||
-#undef OPIE
|
||||
-#endif
|
||||
+#define OPIE
|
||||
|
||||
/*
|
||||
* ALTERNATE_CD
|
||||
@@ -132,7 +130,7 @@
|
||||
* Define this if you want to use RFC 931 'authentication' - this improves
|
||||
* the logging at the cost of a possible slight delay in connection.
|
||||
*/
|
||||
-#undef USE_RFC931
|
||||
+#define USE_RFC931
|
||||
|
||||
/*
|
||||
* BUFFER_SIZE
|
||||
@@ -232,7 +230,7 @@
|
||||
* Undefine this to let NOOP reset the idle timeout.
|
||||
*/
|
||||
|
||||
-#define IGNORE_NOOP
|
||||
+#undef IGNORE_NOOP
|
||||
|
||||
/*
|
||||
* XFERLOG_REALPATH
|
||||
@@ -286,7 +284,7 @@
|
||||
* the risk of PASV port race stealing the connection. It also is non-RFC
|
||||
* compliant, so it may cause problems for some client sites.
|
||||
*/
|
||||
-#define FIGHT_PASV_PORT_RACE
|
||||
+#undef FIGHT_PASV_PORT_RACE
|
||||
|
||||
/*
|
||||
* Define this to completely disable anonymous FTP access.
|
||||
@@ -387,4 +385,4 @@
|
||||
* the NLST command enough to quell complains from Solaris command-
|
||||
* line FTP client users.
|
||||
*/
|
||||
-#undef NLST_SHOWS_DIRS
|
||||
+#define NLST_SHOWS_DIRS
|
@ -1,17 +0,0 @@
|
||||
--- build.dist Sun Oct 17 09:31:38 1999
|
||||
+++ build Wed Oct 20 20:40:00 1999
|
||||
@@ -114,10 +114,10 @@
|
||||
|
||||
done
|
||||
|
||||
-rm -f config.h
|
||||
-ln -s config.h.noac config.h
|
||||
-rm -f src/pathnames.h
|
||||
-ln -s pathnames.h.noac src/pathnames.h
|
||||
+#rm -f config.h
|
||||
+#ln -s config.h.noac config.h
|
||||
+#rm -f src/pathnames.h
|
||||
+#ln -s pathnames.h.noac src/pathnames.h
|
||||
|
||||
echo 'make args are : '$makeargs''
|
||||
echo 'make opts are : '$makeopts''
|
22
ftp/wu-ftpd+ipv6/files/patch-aq
Normal file
22
ftp/wu-ftpd+ipv6/files/patch-aq
Normal file
@ -0,0 +1,22 @@
|
||||
--- Makefile.in.orig Tue Feb 5 23:02:47 2002
|
||||
+++ Makefile.in Tue Feb 5 22:57:32 2002
|
||||
@@ -67,7 +67,7 @@
|
||||
-@mkdir -p $(DESTDIR)/$(mandir)/man1
|
||||
-@mkdir -p $(DESTDIR)/$(mandir)/man5
|
||||
-@mkdir -p $(DESTDIR)/@ETCDIR@
|
||||
- @INSTALL_PROGRAM@ -o bin -g bin -m 755 bin/ftpd $(DESTDIR)/@sbindir@/in.ftpd
|
||||
+ @INSTALL_PROGRAM@ -o bin -g bin -m 755 bin/ftpd $(DESTDIR)/@libexecdir@/ftpd
|
||||
@INSTALL_PROGRAM@ -o bin -g bin -m 755 bin/ftpshut $(DESTDIR)/@sbindir@/ftpshut
|
||||
@INSTALL_PROGRAM@ -o bin -g bin -m 755 bin/ftpcount $(DESTDIR)/@bindir@/ftpcount
|
||||
@INSTALL_PROGRAM@ -o bin -g bin -m 755 bin/ftpwho $(DESTDIR)/@bindir@/ftpwho
|
||||
@@ -87,5 +87,8 @@
|
||||
@INSTALL_DATA@ -o bin -g bin -m 644 doc/xferlog.5 $(DESTDIR)/$(mandir)/man5/xferlog.5
|
||||
@INSTALL_DATA@ -o bin -g bin -m 644 doc/ftprestart.8 $(DESTDIR)/$(mandir)/man8/ftprestart.8
|
||||
@INSTALL_DATA@ -o bin -g bin -m 644 util/privatepw/privatepw.8 $(DESTDIR)/$(mandir)/man8/privatepw.8
|
||||
- @if test ! -f $(DESTDIR)/@ETCDIR@/ftpaccess; then echo "Since you didn't have a ftpaccess file, the sample has been"; echo "installed to $(DESTDIR)/@ETCDIR@/ftpaccess."; echo "You will probably want to edit it."; @INSTALL@ -c -o bin -g bin -m 644 doc/examples/ftpaccess $(DESTDIR)/@ETCDIR@/ftpaccess; fi
|
||||
- @if test ! -f $(DESTDIR)/@ETCDIR@/ftpconversions; then echo "Since you didn't have a ftpconversions file, the sample has been"; echo "installed to $(DESTDIR)/@ETCDIR@/ftpconversions."; echo "You will probably want to edit it."; @INSTALL@ -c -o bin -g bin -m 644 doc/examples/ftpconversions $(DESTDIR)/@ETCDIR@/ftpconversions; fi
|
||||
+ @INSTALL@ -c -o bin -g bin -m 644 doc/examples/ftpaccess $(DESTDIR)/@ETCDIR@/ftpaccess.example
|
||||
+ @INSTALL@ -c -o bin -g bin -m 644 doc/examples/ftpconversions $(DESTDIR)/@ETCDIR@/ftpconversions.example
|
||||
+ @INSTALL@ -c -o bin -g bin -m 644 doc/examples/ftpgroups $(DESTDIR)/@ETCDIR@/ftpgroups.example
|
||||
+ @INSTALL@ -c -o bin -g bin -m 644 doc/examples/ftphosts $(DESTDIR)/@ETCDIR@/ftphosts.example
|
||||
+ @INSTALL@ -c -o bin -g bin -m 644 doc/examples/ftpusers $(DESTDIR)/@ETCDIR@/ftpusers.example
|
@ -1,8 +1,9 @@
|
||||
bin/ftpcount
|
||||
bin/ftprestart
|
||||
bin/ftpshut
|
||||
bin/ftpwho
|
||||
bin/privatepw
|
||||
sbin/ckconfig
|
||||
sbin/ftprestart
|
||||
sbin/ftpshut
|
||||
sbin/privatepw
|
||||
etc/ftpaccess.example
|
||||
etc/ftpconversions.example
|
||||
etc/ftpgroups.example
|
||||
|
7
ftp/wu-ftpd+ipv6/scripts/configure
vendored
7
ftp/wu-ftpd+ipv6/scripts/configure
vendored
@ -1,7 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# configure,v 1.1.1.1 1994/10/23 01:36:59 torstenb Exp
|
||||
#
|
||||
|
||||
mv ${WRKSRC}/src/pathnames.h ${WRKSRC}/src/pathnames.h.bak
|
||||
sed <${WRKSRC}/src/pathnames.h.bak >${WRKSRC}/src/pathnames.h s+!!PREFIX!!+$PREFIX+g
|
@ -9,7 +9,7 @@
|
||||
|
||||
PORTNAME= wu-ftpd
|
||||
PORTVERSION= 2.6.1
|
||||
PORTREVISION= 8
|
||||
PORTREVISION= 9
|
||||
CATEGORIES= ftp
|
||||
DIST_SUBDIR= wu-ftpd
|
||||
MASTER_SITES= ftp://ftp.wu-ftpd.org/pub/wu-ftpd/
|
||||
@ -22,15 +22,16 @@ PATCHFILES= ftpglob.patch \
|
||||
|
||||
MAINTAINER= ache@FreeBSD.org
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --enable-rfc931 --disable-pasvip --enable-opie \
|
||||
--enable-noop --disable-numericuid --enable-nlst-dirs \
|
||||
--prefix=${PREFIX} --with-etc-dir=${PREFIX}/etc
|
||||
|
||||
MAN1= ftpcount.1 ftpwho.1
|
||||
MAN5= ftpaccess.5 ftphosts.5 ftpconversions.5 xferlog.5
|
||||
MAN5= ftpaccess.5 ftphosts.5 ftpconversions.5 xferlog.5 \
|
||||
ftpservers.5
|
||||
MAN8= ftpd.8 ftpshut.8 ftprestart.8 privatepw.8
|
||||
|
||||
post-patch:
|
||||
@${CP} ${WRKSRC}/config.h.noac ${WRKSRC}/config.h
|
||||
@${CP} ${WRKSRC}/src/pathnames.h.noac ${WRKSRC}/src/pathnames.h
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ./build fbs
|
||||
USE_AUTOCONF= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,42 +0,0 @@
|
||||
*** src/pathnames.h.orig Wed Oct 20 20:27:34 1999
|
||||
--- src/pathnames.h.noac Wed Oct 20 20:30:19 1999
|
||||
***************
|
||||
*** 104,113 ****
|
||||
#define _PATH_FTPSERVERS "/opt/ftpd/lib/ftpservers"
|
||||
#endif
|
||||
#else
|
||||
! #define _PATH_FTPUSERS "/usr/local/lib/ftpd/ftpusers"
|
||||
! #define _PATH_FTPACCESS "/usr/local/lib/ftpd/ftpaccess"
|
||||
! #define _PATH_CVT "/usr/local/lib/ftpd/ftpconversions"
|
||||
! #define _PATH_PRIVATE "/usr/local/lib/ftpd/ftpgroups"
|
||||
#ifdef VIRTUAL
|
||||
#define _PATH_FTPSERVERS "/usr/local/lib/ftpd/ftpservers"
|
||||
#endif
|
||||
--- 104,113 ----
|
||||
#define _PATH_FTPSERVERS "/opt/ftpd/lib/ftpservers"
|
||||
#endif
|
||||
#else
|
||||
! #define _PATH_FTPUSERS "!!PREFIX!!/lib/ftpd/ftpusers"
|
||||
! #define _PATH_FTPACCESS "!!PREFIX!!/lib/ftpd/ftpaccess"
|
||||
! #define _PATH_CVT "!!PREFIX!!/lib/ftpd/ftpconversions"
|
||||
! #define _PATH_PRIVATE "!!PREFIX!!/lib/ftpd/ftpgroups"
|
||||
#ifdef VIRTUAL
|
||||
#define _PATH_FTPSERVERS "/usr/local/lib/ftpd/ftpservers"
|
||||
#endif
|
||||
***************
|
||||
*** 203,209 ****
|
||||
#ifdef USE_OPT_FTPD
|
||||
#define _PATH_FTPHOSTS "/opt/ftpd/lib/ftphosts"
|
||||
#else
|
||||
! #define _PATH_FTPHOSTS "/usr/local/lib/ftpd/ftphosts"
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
--- 203,209 ----
|
||||
#ifdef USE_OPT_FTPD
|
||||
#define _PATH_FTPHOSTS "/opt/ftpd/lib/ftphosts"
|
||||
#else
|
||||
! #define _PATH_FTPHOSTS "!!PREFIX!!/etc/ftphosts"
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
@ -1,46 +0,0 @@
|
||||
--- config.h.noac.orig Tue Oct 2 23:07:36 2001
|
||||
+++ config.h.noac Tue Oct 2 23:08:15 2001
|
||||
@@ -109,9 +109,7 @@
|
||||
* Add OPIE support -- REQUIRES OPIE libraries
|
||||
*/
|
||||
|
||||
-#if !defined (LINUX) /* Linux autodetects OPIE */
|
||||
-#undef OPIE
|
||||
-#endif
|
||||
+#define OPIE
|
||||
|
||||
/*
|
||||
* ALTERNATE_CD
|
||||
@@ -132,7 +130,7 @@
|
||||
* Define this if you want to use RFC 931 'authentication' - this improves
|
||||
* the logging at the cost of a possible slight delay in connection.
|
||||
*/
|
||||
-#undef USE_RFC931
|
||||
+#define USE_RFC931
|
||||
|
||||
/*
|
||||
* BUFFER_SIZE
|
||||
@@ -232,7 +230,7 @@
|
||||
* Undefine this to let NOOP reset the idle timeout.
|
||||
*/
|
||||
|
||||
-#define IGNORE_NOOP
|
||||
+#undef IGNORE_NOOP
|
||||
|
||||
/*
|
||||
* XFERLOG_REALPATH
|
||||
@@ -286,7 +284,7 @@
|
||||
* the risk of PASV port race stealing the connection. It also is non-RFC
|
||||
* compliant, so it may cause problems for some client sites.
|
||||
*/
|
||||
-#define FIGHT_PASV_PORT_RACE
|
||||
+#undef FIGHT_PASV_PORT_RACE
|
||||
|
||||
/*
|
||||
* Define this to completely disable anonymous FTP access.
|
||||
@@ -387,4 +385,4 @@
|
||||
* the NLST command enough to quell complains from Solaris command-
|
||||
* line FTP client users.
|
||||
*/
|
||||
-#undef NLST_SHOWS_DIRS
|
||||
+#define NLST_SHOWS_DIRS
|
@ -1,17 +0,0 @@
|
||||
--- build.dist Sun Oct 17 09:31:38 1999
|
||||
+++ build Wed Oct 20 20:40:00 1999
|
||||
@@ -114,10 +114,10 @@
|
||||
|
||||
done
|
||||
|
||||
-rm -f config.h
|
||||
-ln -s config.h.noac config.h
|
||||
-rm -f src/pathnames.h
|
||||
-ln -s pathnames.h.noac src/pathnames.h
|
||||
+#rm -f config.h
|
||||
+#ln -s config.h.noac config.h
|
||||
+#rm -f src/pathnames.h
|
||||
+#ln -s pathnames.h.noac src/pathnames.h
|
||||
|
||||
echo 'make args are : '$makeargs''
|
||||
echo 'make opts are : '$makeopts''
|
22
ftp/wu-ftpd/files/patch-aq
Normal file
22
ftp/wu-ftpd/files/patch-aq
Normal file
@ -0,0 +1,22 @@
|
||||
--- Makefile.in.orig Tue Feb 5 23:02:47 2002
|
||||
+++ Makefile.in Tue Feb 5 22:57:32 2002
|
||||
@@ -67,7 +67,7 @@
|
||||
-@mkdir -p $(DESTDIR)/$(mandir)/man1
|
||||
-@mkdir -p $(DESTDIR)/$(mandir)/man5
|
||||
-@mkdir -p $(DESTDIR)/@ETCDIR@
|
||||
- @INSTALL_PROGRAM@ -o bin -g bin -m 755 bin/ftpd $(DESTDIR)/@sbindir@/in.ftpd
|
||||
+ @INSTALL_PROGRAM@ -o bin -g bin -m 755 bin/ftpd $(DESTDIR)/@libexecdir@/ftpd
|
||||
@INSTALL_PROGRAM@ -o bin -g bin -m 755 bin/ftpshut $(DESTDIR)/@sbindir@/ftpshut
|
||||
@INSTALL_PROGRAM@ -o bin -g bin -m 755 bin/ftpcount $(DESTDIR)/@bindir@/ftpcount
|
||||
@INSTALL_PROGRAM@ -o bin -g bin -m 755 bin/ftpwho $(DESTDIR)/@bindir@/ftpwho
|
||||
@@ -87,5 +87,8 @@
|
||||
@INSTALL_DATA@ -o bin -g bin -m 644 doc/xferlog.5 $(DESTDIR)/$(mandir)/man5/xferlog.5
|
||||
@INSTALL_DATA@ -o bin -g bin -m 644 doc/ftprestart.8 $(DESTDIR)/$(mandir)/man8/ftprestart.8
|
||||
@INSTALL_DATA@ -o bin -g bin -m 644 util/privatepw/privatepw.8 $(DESTDIR)/$(mandir)/man8/privatepw.8
|
||||
- @if test ! -f $(DESTDIR)/@ETCDIR@/ftpaccess; then echo "Since you didn't have a ftpaccess file, the sample has been"; echo "installed to $(DESTDIR)/@ETCDIR@/ftpaccess."; echo "You will probably want to edit it."; @INSTALL@ -c -o bin -g bin -m 644 doc/examples/ftpaccess $(DESTDIR)/@ETCDIR@/ftpaccess; fi
|
||||
- @if test ! -f $(DESTDIR)/@ETCDIR@/ftpconversions; then echo "Since you didn't have a ftpconversions file, the sample has been"; echo "installed to $(DESTDIR)/@ETCDIR@/ftpconversions."; echo "You will probably want to edit it."; @INSTALL@ -c -o bin -g bin -m 644 doc/examples/ftpconversions $(DESTDIR)/@ETCDIR@/ftpconversions; fi
|
||||
+ @INSTALL@ -c -o bin -g bin -m 644 doc/examples/ftpaccess $(DESTDIR)/@ETCDIR@/ftpaccess.example
|
||||
+ @INSTALL@ -c -o bin -g bin -m 644 doc/examples/ftpconversions $(DESTDIR)/@ETCDIR@/ftpconversions.example
|
||||
+ @INSTALL@ -c -o bin -g bin -m 644 doc/examples/ftpgroups $(DESTDIR)/@ETCDIR@/ftpgroups.example
|
||||
+ @INSTALL@ -c -o bin -g bin -m 644 doc/examples/ftphosts $(DESTDIR)/@ETCDIR@/ftphosts.example
|
||||
+ @INSTALL@ -c -o bin -g bin -m 644 doc/examples/ftpusers $(DESTDIR)/@ETCDIR@/ftpusers.example
|
@ -1,8 +1,9 @@
|
||||
bin/ftpcount
|
||||
bin/ftprestart
|
||||
bin/ftpshut
|
||||
bin/ftpwho
|
||||
bin/privatepw
|
||||
sbin/ckconfig
|
||||
sbin/ftprestart
|
||||
sbin/ftpshut
|
||||
sbin/privatepw
|
||||
etc/ftpaccess.example
|
||||
etc/ftpconversions.example
|
||||
etc/ftpgroups.example
|
||||
|
7
ftp/wu-ftpd/scripts/configure
vendored
7
ftp/wu-ftpd/scripts/configure
vendored
@ -1,7 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# configure,v 1.1.1.1 1994/10/23 01:36:59 torstenb Exp
|
||||
#
|
||||
|
||||
mv ${WRKSRC}/src/pathnames.h ${WRKSRC}/src/pathnames.h.bak
|
||||
sed <${WRKSRC}/src/pathnames.h.bak >${WRKSRC}/src/pathnames.h s+!!PREFIX!!+$PREFIX+g
|
Loading…
Reference in New Issue
Block a user