aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2008-09-26 04:23:38 +0800
committerbeech <beech@FreeBSD.org>2008-09-26 04:23:38 +0800
commitcc358045afcaa9e4d47edebbf1c0cc4d2ac79f12 (patch)
treed66a537e83fc22471fbb48ba6e9274b09943b3da /ftp
parent4f61587ae9745cf614b8d9456dabf36979b685ac (diff)
downloadfreebsd-ports-gnome-cc358045afcaa9e4d47edebbf1c0cc4d2ac79f12.tar.gz
freebsd-ports-gnome-cc358045afcaa9e4d47edebbf1c0cc4d2ac79f12.tar.zst
freebsd-ports-gnome-cc358045afcaa9e4d47edebbf1c0cc4d2ac79f12.zip
- Re-add mod_sql_tds option and update to 4.6
- Bump portrevision
Diffstat (limited to 'ftp')
-rw-r--r--ftp/proftpd/Makefile20
-rw-r--r--ftp/proftpd/distinfo9
2 files changed, 22 insertions, 7 deletions
diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile
index 0a177300b25e..43ae07bead2a 100644
--- a/ftp/proftpd/Makefile
+++ b/ftp/proftpd/Makefile
@@ -7,6 +7,7 @@
PORTNAME= proftpd
DISTVERSION= 1.3.2rc2
+PORTREVISION= 1
CATEGORIES= ftp
MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \
ftp://ftp.fastorama.com/mirrors/ftp.proftpd.org/distrib/source/ \
@@ -15,10 +16,12 @@ MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \
ftp://proftpd.networkedsystems.co.uk/distrib/source/ \
http://mirrors.ibiblio.org/pub/mirrors/proftpd/distrib/source/ \
http://www.mirrorservice.org/sites/ftp.proftpd.org/distrib/source/ \
+ http://www.alaskaparadise.com/freebsd/:sql_tds \
http://www.alaskaparadise.com/freebsd/:clam \
http://www.smartftp.com/oss/proftpd/:digest \
LOCAL/beech:clam \
- LOCAL/beech:digest
+ LOCAL/beech:digest \
+ LOCAL/beech:sql_tds
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
@@ -79,6 +82,7 @@ OPTIONS= BAN "Include mod_ban (Requires CTRLS)" off \
RATIO "Include mod_ratio" on \
README "Include mod_readme" on \
REWRITE "Include mod_rewrite" on \
+ TDS "FreeTDS - Sybase & MS-SQL auth (Exclusive)" off \
WRAP "Include mod_wrap2" on \
WRAP_FILE "Include mod_wrap2_file" off \
WRAP_SQL "Include mod_wrap2_sql" off
@@ -233,6 +237,17 @@ DISTFILES+= mod_digest.c:digest
MODULES:=${MODULES}:mod_digest
.endif
+.if defined(WITH_TDS)
+DISTFILES+= mod_sql_tds-4.6.tar.bz2:sql_tds
+EXTRACT_ONLY+= mod_sql_tds-4.6.tar.bz2
+MODULES:=${MODULES}:mod_sql_tds
+MODULES:=mod_sql${MODULES}
+PLIST_FILES+= include/proftpd/mod_sql.h
+INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include
+LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib
+LIB_DEPENDS+= sybdb.5:${PORTSDIR}/databases/freetds
+.endif
+
# mod_ifsession should be the last item in the modules list
.if !defined(WITHOUT_IFSESSION)
MODULES:=${MODULES}:mod_ifsession
@@ -262,6 +277,9 @@ post-extract:
.if defined(WITH_DIGEST)
@${CP} ${DISTDIR}/${DIST_SUBDIR}/mod_digest.c ${WRKSRC}/modules/
.endif
+.if defined(WITH_TDS)
+ @${MV} ${WRKDIR}/mod_sql_tds-4.6/mod_sql_tds.c ${WRKSRC}/contrib/
+.endif
post-patch:
.if defined(WITH_NLS)
diff --git a/ftp/proftpd/distinfo b/ftp/proftpd/distinfo
index 14959e5f855d..533561cf9b00 100644
--- a/ftp/proftpd/distinfo
+++ b/ftp/proftpd/distinfo
@@ -7,9 +7,6 @@ SIZE (mod_clamav-0.10.tar.bz2) = 5435
MD5 (mod_digest.c) = e706e66fa4d82cf7875a1a5d6767fe00
SHA256 (mod_digest.c) = 18174e3d3c1d61367d78c228e6510b0a21c11458f389630df281bb84d467d399
SIZE (mod_digest.c) = 39073
-MD5 (mod_comb-0.1.tar.bz2) = 99ee47c8b5147196c9a2faa4596eaae7
-SHA256 (mod_comb-0.1.tar.bz2) = 05786083c05cb3e53e3ff723b1ca2036af68d5cd9ebb26d2ae1e8009e05b77f1
-SIZE (mod_comb-0.1.tar.bz2) = 11617
-MD5 (mod_sql_tds-4.5.tar.bz2) = 6fe1feac62f483c2e536d0e3a0abe619
-SHA256 (mod_sql_tds-4.5.tar.bz2) = 4b225c2e945a2587cbb46161a263a8e40922da7bd6beb3fdb76c01aaaac705f5
-SIZE (mod_sql_tds-4.5.tar.bz2) = 10923
+MD5 (mod_sql_tds-4.6.tar.bz2) = c18db4ddb0a902596b7c9f13a05f70b0
+SHA256 (mod_sql_tds-4.6.tar.bz2) = 5deda74354801af352c14de6b48cbfa68ccef230d481ecbbd8b15582b47e5abe
+SIZE (mod_sql_tds-4.6.tar.bz2) = 10957