aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2008-02-20 21:04:16 +0000
committerBeech Rintoul <beech@FreeBSD.org>2008-02-20 21:04:16 +0000
commit51d0f15ed297ebcb164f782b41a5a54f946d2fa7 (patch)
tree84f69f3c189260538f1c6c373f81bf34f875a86c /ftp
parent067006d192933e15fe401f263988f97c2f6ea059 (diff)
downloadports-51d0f15ed297ebcb164f782b41a5a54f946d2fa7.tar.gz
ports-51d0f15ed297ebcb164f782b41a5a54f946d2fa7.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/proftpd-devel/Makefile26
-rw-r--r--ftp/proftpd-devel/distinfo3
-rw-r--r--ftp/proftpd/Makefile26
-rw-r--r--ftp/proftpd/distinfo3
4 files changed, 50 insertions, 8 deletions
diff --git a/ftp/proftpd-devel/Makefile b/ftp/proftpd-devel/Makefile
index 92c9f26b2346..185aecc6d91d 100644
--- a/ftp/proftpd-devel/Makefile
+++ b/ftp/proftpd-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= proftpd
DISTVERSION= 1.3.1
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= ftp
MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \
ftp://ftp.fastorama.com/mirrors/ftp.proftpd.org/distrib/source/ \
@@ -19,8 +19,10 @@ MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \
CENKES:clam \
http://www.smartftp.com/oss/proftpd/:digest \
http://lev.serebryakov.spb.ru/mod_comb/:comb\
+ http://labratsoftware.com/mod_sql_tds/:sql_tds \
LOCAL/beech:digest \
- LOCAL/beech:comb
+ LOCAL/beech:comb \
+ LOCAL/beech:sql_tds
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
@@ -63,8 +65,9 @@ CONFIGURE_ARGS= --localstatedir=/var/run \
OPTIONS= IPV6 "Use IPv6" off \
LDAP "Use LDAP" off \
LDAP_TLS "Use LDAP TLS (Requires LDAP, OPENSSL)" off\
- MYSQL "Use MySQL" off \
- PGSQL "Use Postgres" off \
+ MYSQL "MySQL auth (Can be combined with PGSQL)" off \
+ PGSQL "Postgres auth (Can be combined with MYSQL)" off \
+ TDS "FreeTDS - Sybase & MS-SQL auth (Exclusive)" off \
OPENSSL "Include mod_tls" on \
QUOTA "Include mod_quota" off \
IFSESSION "Include mod_ifsession" on \
@@ -244,6 +247,17 @@ PORTDOCScontrib+=mod_comb.html
PORTDOCSreadme+=README.mod_comb
.endif
+.if defined(WITH_TDS)
+DISTFILES+= mod_sql_tds-4.5.tar.bz2:sql_tds
+EXTRACT_ONLY+= mod_sql_tds-4.5.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
@@ -279,6 +293,10 @@ post-extract:
@${MV} ${WRKDIR}/mod_comb-${COMB_VERSION}/mod_comb.html ${WRKSRC}/doc/contrib/
.endif
+.if defined(WITH_TDS)
+ @${MV} ${WRKDIR}/mod_sql_tds.c ${WRKSRC}/contrib/
+.endif
+
post-patch:
.if defined(WITH_NLS)
@${REINPLACE_CMD} -e 's|-lsupp|-lsupp -lintl|g' ${WRKSRC}/Makefile.in
diff --git a/ftp/proftpd-devel/distinfo b/ftp/proftpd-devel/distinfo
index 6539554a8c76..e6a347faac83 100644
--- a/ftp/proftpd-devel/distinfo
+++ b/ftp/proftpd-devel/distinfo
@@ -10,3 +10,6 @@ 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
diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile
index 92c9f26b2346..185aecc6d91d 100644
--- a/ftp/proftpd/Makefile
+++ b/ftp/proftpd/Makefile
@@ -7,7 +7,7 @@
PORTNAME= proftpd
DISTVERSION= 1.3.1
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= ftp
MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \
ftp://ftp.fastorama.com/mirrors/ftp.proftpd.org/distrib/source/ \
@@ -19,8 +19,10 @@ MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \
CENKES:clam \
http://www.smartftp.com/oss/proftpd/:digest \
http://lev.serebryakov.spb.ru/mod_comb/:comb\
+ http://labratsoftware.com/mod_sql_tds/:sql_tds \
LOCAL/beech:digest \
- LOCAL/beech:comb
+ LOCAL/beech:comb \
+ LOCAL/beech:sql_tds
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
@@ -63,8 +65,9 @@ CONFIGURE_ARGS= --localstatedir=/var/run \
OPTIONS= IPV6 "Use IPv6" off \
LDAP "Use LDAP" off \
LDAP_TLS "Use LDAP TLS (Requires LDAP, OPENSSL)" off\
- MYSQL "Use MySQL" off \
- PGSQL "Use Postgres" off \
+ MYSQL "MySQL auth (Can be combined with PGSQL)" off \
+ PGSQL "Postgres auth (Can be combined with MYSQL)" off \
+ TDS "FreeTDS - Sybase & MS-SQL auth (Exclusive)" off \
OPENSSL "Include mod_tls" on \
QUOTA "Include mod_quota" off \
IFSESSION "Include mod_ifsession" on \
@@ -244,6 +247,17 @@ PORTDOCScontrib+=mod_comb.html
PORTDOCSreadme+=README.mod_comb
.endif
+.if defined(WITH_TDS)
+DISTFILES+= mod_sql_tds-4.5.tar.bz2:sql_tds
+EXTRACT_ONLY+= mod_sql_tds-4.5.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
@@ -279,6 +293,10 @@ post-extract:
@${MV} ${WRKDIR}/mod_comb-${COMB_VERSION}/mod_comb.html ${WRKSRC}/doc/contrib/
.endif
+.if defined(WITH_TDS)
+ @${MV} ${WRKDIR}/mod_sql_tds.c ${WRKSRC}/contrib/
+.endif
+
post-patch:
.if defined(WITH_NLS)
@${REINPLACE_CMD} -e 's|-lsupp|-lsupp -lintl|g' ${WRKSRC}/Makefile.in
diff --git a/ftp/proftpd/distinfo b/ftp/proftpd/distinfo
index 6539554a8c76..e6a347faac83 100644
--- a/ftp/proftpd/distinfo
+++ b/ftp/proftpd/distinfo
@@ -10,3 +10,6 @@ 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