1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Update to 1.3.20080922

- Remove third party mod_sql_tds and mod_comb (don't build)
- Fix plist

Reported By:	 QAT
This commit is contained in:
Beech Rintoul 2008-09-23 07:01:53 +00:00
parent ecc7c4fc50
commit 50fa1f3d56
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=220502
4 changed files with 33 additions and 39 deletions

View File

@ -6,14 +6,12 @@
#
PORTNAME= proftpd
DISTVERSION= 1.3.20080920
DISTVERSION= 1.3.20080922
CATEGORIES= ftp
MASTER_SITES= http://www.alaskaparadise.com/freebsd/ \
LOCAL/beech \
LOCAL/beech:clam \
LOCAL/beech:digest \
LOCAL/beech:comb \
LOCAL/beech:sql_tds
LOCAL/beech:digest
PKGNAMESUFFIX= -devel
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
@ -66,7 +64,6 @@ OPTIONS= IPV6 "Use IPv6" off \
PGSQL "Postgres auth (Can be combined)" off \
SQLITE "SQLite auth (Can be combined)" off \
ODBC "ODBC (Can be combined)" off \
TDS "FreeTDS - Sybase & MS-SQL auth (Exclusive)" off \
OPENSSL "Include mod_tls" on \
QUOTA "Include mod_quota" off \
IFSESSION "Include mod_ifsession" on \
@ -83,8 +80,7 @@ OPTIONS= IPV6 "Use IPv6" off \
NLS "Use nls (builds mod_lang)" off \
UNIQUE "Include mod_unique_id" off \
CLAMAV "Include mod_clamav" off \
DIGEST "Include mod_digest" off \
COMB "Include mod_comb (multistream upload)" off
DIGEST "Include mod_digest" off
MODULES?=
LIBDIRS?=
@ -256,26 +252,6 @@ DISTFILES+= mod_digest.c:digest
MODULES:=${MODULES}:mod_digest
.endif
.if defined(WITH_COMB)
COMB_VERSION= 0.1
DISTFILES+= mod_comb-${COMB_VERSION}.tar.bz2:comb
EXTRACT_ONLY+= mod_comb-${COMB_VERSION}.tar.bz2
MODULES:=${MODULES}:mod_comb
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
@ -305,15 +281,6 @@ post-extract:
.if defined(WITH_DIGEST)
@${CP} ${DISTDIR}/${DIST_SUBDIR}/mod_digest.c ${WRKSRC}/modules/
.endif
.if defined(WITH_COMB)
@${MV} ${WRKDIR}/mod_comb-${COMB_VERSION}/mod_comb.c ${WRKSRC}/contrib/
@${MV} ${WRKDIR}/mod_comb-${COMB_VERSION}/README ${WRKSRC}/README.mod_comb
@${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)

View File

@ -1,6 +1,9 @@
MD5 (proftpd-1.3.20080920.tar.bz2) = 71fcf129c941ee12219a7c1f3aa8257b
SHA256 (proftpd-1.3.20080920.tar.bz2) = d67189b56d959854e678321eeb851453027d293b0d3d3de8781a883a2bf34837
SIZE (proftpd-1.3.20080920.tar.bz2) = 2345333
MD5 (proftpd-1.3.20080922.tar.bz2) = 5ee6eda1ef2beaacc01449b290e74461
SHA256 (proftpd-1.3.20080922.tar.bz2) = 0da28a00ac939929150e99c65a2303389889fa80ace6c169b0ff5196ed2a3e3a
SIZE (proftpd-1.3.20080922.tar.bz2) = 2330925
MD5 (mod_clamav-0.10.tar.bz2) = 7150cde88f6c692711c007f6312bd495
SHA256 (mod_clamav-0.10.tar.bz2) = 4f6d09979514a8b3f120890753dcf7c6247dfce0aa09d340edf8a359b031a1f4
SIZE (mod_clamav-0.10.tar.bz2) = 5435
MD5 (mod_digest.c) = e706e66fa4d82cf7875a1a5d6767fe00
SHA256 (mod_digest.c) = 18174e3d3c1d61367d78c228e6510b0a21c11458f389630df281bb84d467d399
SIZE (mod_digest.c) = 39073

View File

@ -0,0 +1,23 @@
--- modules/mod_xfer.c.org Tue Jan 1 12:31:32 2008
+++ modules/mod_xfer.c Tue Jan 1 16:45:20 2008
@@ -42,6 +42,8 @@
#include <regex.h>
#endif
+#include "mod_clamav.h"
+
extern module auth_module;
extern pid_t mpid;
@@ -1582,6 +1584,11 @@
return PR_ERROR(cmd);
}
+ if (clamav_scan(cmd)) {
+ pr_data_close(FALSE);
+ return PR_ERROR(cmd);
+ }
+
if (session.xfer.path &&
session.xfer.path_hidden) {
if (pr_fsio_rename(session.xfer.path_hidden, session.xfer.path) != 0) {

View File

@ -64,3 +64,4 @@ sbin/ftpshut
sbin/in.proftpd
sbin/proftpd
@dirrm include/proftpd
@dirrm lib/proftpd