aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-01-22 06:03:04 +0000
committerPatrick Li <pat@FreeBSD.org>2002-01-22 06:03:04 +0000
commit0ab24849191a7eaa9ef217f3da9f613b831c5881 (patch)
tree7e15e607544d87f02f89989c579e0fec87a48c5b
parent85f8175f62d906c486f50f8376d8b9174f87a27e (diff)
downloadports-0ab24849191a7eaa9ef217f3da9f613b831c5881.tar.gz
ports-0ab24849191a7eaa9ef217f3da9f613b831c5881.zip
Update to 1.8
PR: 34136 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=53528
-rw-r--r--net/proxy-suite/Makefile16
-rw-r--r--net/proxy-suite/distinfo2
-rw-r--r--net/proxy-suite/files/patch-cf11
-rw-r--r--net/proxy-suite/files/patch-etcdir26
-rw-r--r--net/proxy-suite/files/patch-includes13
-rw-r--r--net/proxy-suite/pkg-message11
-rw-r--r--net/proxy-suite/pkg-plist2
7 files changed, 21 insertions, 60 deletions
diff --git a/net/proxy-suite/Makefile b/net/proxy-suite/Makefile
index 32e27054b614..fa25f867b913 100644
--- a/net/proxy-suite/Makefile
+++ b/net/proxy-suite/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= proxy-suite
-PORTVERSION= 1.7
-PORTREVISION= 1
+PORTVERSION= 1.8
CATEGORIES= net
MASTER_SITES= ftp://ftp.suse.com/pub/projects/proxy-suite/src/ \
ftp://ftp.crc.ca/pub/systems/linux/suse/projects/proxy-suite/src/ \
@@ -23,12 +22,18 @@ USE_GMAKE= yes
# basic configure args
#
CONFIGURE_ARGS= --prefix=${PREFIX} --with-libwrap=/usr/lib --with-regex \
- --sysconfdir=${PREFIX}/etc/proxy-suite \
--localstatedir=/var/run \
- --enable-warnings --enable-so-linger --enable-rfc1579 \
+ --enable-warnings --enable-so-linger \
--disable-proc-mods
#
+# OPTIONAL: RFC1579 support -- not complete yet.
+#
+.if defined(WITH_RFC1579)
+CONFIGURE_ARGS+= --enable-rfc1579
+.endif
+
+#
# OPTIONAL: include ldap-support - currently ldap.2 needs minor fixes...
#
.if defined(WITH_LDAP)
@@ -53,4 +58,7 @@ MAN5= ftp-proxy.conf.5
pre-install:
@strip ${WRKSRC}/ftp-proxy/ftp-proxy
+post-install:
+ @${SED} 's|PREFIX|${PREFIX}|' ${PKGMESSAGE}
+
.include <bsd.port.mk>
diff --git a/net/proxy-suite/distinfo b/net/proxy-suite/distinfo
index de54e28babb1..0a727ab1748d 100644
--- a/net/proxy-suite/distinfo
+++ b/net/proxy-suite/distinfo
@@ -1 +1 @@
-MD5 (proxy-suite-1.7.tar.gz) = de879e5d0c6398fde9970db3c5877fad
+MD5 (proxy-suite-1.8.tar.gz) = 6411481720439022a3a2a0f30ec6a86b
diff --git a/net/proxy-suite/files/patch-cf b/net/proxy-suite/files/patch-cf
deleted file mode 100644
index 1f17e63ca90d..000000000000
--- a/net/proxy-suite/files/patch-cf
+++ /dev/null
@@ -1,11 +0,0 @@
---- ftp-proxy/Makefile.in
-+++ ftp-proxy/Makefile.in Tue Jun 26 01:12:06 2001
-@@ -55,7 +55,7 @@
- PROC_FTP= @PROC_FTP@
-
- CONF_SRC= ftp-proxy.conf.sample
--CONF_DST= $(ETC_DIR)/ftp-proxy.conf
-+CONF_DST= $(ETC_DIR)/ftp-proxy.conf.sample
-
- FTP_MAN5= ftp-proxy.conf.5
- FTP_MAN8= ftp-proxy.8
diff --git a/net/proxy-suite/files/patch-etcdir b/net/proxy-suite/files/patch-etcdir
deleted file mode 100644
index 39f75b6a3b54..000000000000
--- a/net/proxy-suite/files/patch-etcdir
+++ /dev/null
@@ -1,26 +0,0 @@
-diff -ur work/proxy-suite-1.7/ftp-proxy/Makefile.in new/proxy-suite-1.7/ftp-proxy/Makefile.in
---- work/proxy-suite-1.7/ftp-proxy/Makefile.in Fri Oct 22 11:29:01 1999
-+++ ftp-proxy/Makefile.in Wed May 2 01:07:28 2001
-@@ -44,7 +44,7 @@
- INSTALL= @INSTALL@
-
- CC= @CC@
--CFLAGS= @CFLAGS@
-+CFLAGS= @CFLAGS@ -DETC_PATH=\"$(ETC_DIR)/\"
- LDFLAGS= @LDFLAGS@
-
- LIBS= @LIB_WRAP@ @LIB_LDAP@ @LIB_REGEX@ @LIBS@
-diff -ur work/proxy-suite-1.7/ftp-proxy/ftp-main.c new/proxy-suite-1.7/ftp-proxy/ftp-main.c
---- work/proxy-suite-1.7/ftp-proxy/ftp-main.c Fri Oct 22 11:29:01 1999
-+++ ftp-proxy/ftp-main.c Wed May 2 01:03:58 2001
-@@ -75,7 +75,9 @@
-
- #define SELECT_TIMEOUT 60 /* Wake up regularly */
-
--#define ETC_PATH "/etc/proxy-suite/"
-+#if !defined (ETC_PATH)
-+# define ETC_PATH "/etc/proxy-suite/"
-+#endif
- #define DEFAULT_CONFIG ETC_PATH "ftp-proxy.conf"
-
- #if defined(COMPILE_DEBUG)
diff --git a/net/proxy-suite/files/patch-includes b/net/proxy-suite/files/patch-includes
deleted file mode 100644
index 4b8668ec5d6d..000000000000
--- a/net/proxy-suite/files/patch-includes
+++ /dev/null
@@ -1,13 +0,0 @@
---- common/com-socket.c.orig Fri Feb 11 15:20:33 2000
-+++ common/com-socket.c Fri Feb 11 15:20:52 2000
-@@ -71,8 +71,9 @@
- #include <sys/ioctl.h>
-
- #include <netdb.h>
--#include <netinet/ip.h>
- #include <netinet/in.h>
-+#include <netinet/in_systm.h>
-+#include <netinet/ip.h>
- #include <sys/socket.h>
- #include <arpa/inet.h>
-
diff --git a/net/proxy-suite/pkg-message b/net/proxy-suite/pkg-message
index 043e828b4a18..cfefac664c6e 100644
--- a/net/proxy-suite/pkg-message
+++ b/net/proxy-suite/pkg-message
@@ -1,4 +1,7 @@
- This port provides a sample configuration file as
- PREFIX/etc/proxy-suite/ftp-proxy.conf.sample
- Please copy this file to ftp-proxy.conf and edit
- to fit your needs. Default PREFIX is /usr/local.
+
+This port provides a configuration file at
+
+PREFIX/etc/proxy-suite/ftp-proxy.conf
+
+Edit to fit your needs.
+
diff --git a/net/proxy-suite/pkg-plist b/net/proxy-suite/pkg-plist
index 0f3300c8df5f..0a909e149775 100644
--- a/net/proxy-suite/pkg-plist
+++ b/net/proxy-suite/pkg-plist
@@ -1,3 +1,3 @@
sbin/ftp-proxy
-etc/proxy-suite/ftp-proxy.conf.sample
+etc/proxy-suite/ftp-proxy.conf
@dirrm etc/proxy-suite