diff options
author | beech <beech@FreeBSD.org> | 2008-02-21 05:04:16 +0800 |
---|---|---|
committer | beech <beech@FreeBSD.org> | 2008-02-21 05:04:16 +0800 |
commit | a18fc2a198b58ffd0c26076d69ed33de20288961 (patch) | |
tree | cfa7bb8e16a851f688d7c0187f8b0277e7b9cf10 /ftp/proftpd | |
parent | 887f5d63acfbc801a50b4d4fc7926dcd8d87ad06 (diff) | |
download | freebsd-ports-gnome-a18fc2a198b58ffd0c26076d69ed33de20288961.tar.gz freebsd-ports-gnome-a18fc2a198b58ffd0c26076d69ed33de20288961.tar.zst freebsd-ports-gnome-a18fc2a198b58ffd0c26076d69ed33de20288961.zip |
- Add mod_sql_tds, which allows proftpd to auth using sql against Sybase and MS
SQL servers.
- Bump portrevision.
Submitted by: Patrick Muldoon <doon@inoc.net> (author)
Diffstat (limited to 'ftp/proftpd')
-rw-r--r-- | ftp/proftpd/Makefile | 26 | ||||
-rw-r--r-- | ftp/proftpd/distinfo | 3 |
2 files changed, 25 insertions, 4 deletions
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 |