aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2012-08-04 07:11:32 +0000
committerMartin Matuska <mm@FreeBSD.org>2012-08-04 07:11:32 +0000
commit65112e039df30fab7421a2566a2e95f7b30f926a (patch)
tree67dd3d841fd8e98436c32c0a8d135c9385028cae /ftp
parent09b600e31e00594cbf5a23d42b0364f00b815dab (diff)
downloadports-65112e039df30fab7421a2566a2e95f7b30f926a.tar.gz
ports-65112e039df30fab7421a2566a2e95f7b30f926a.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/proftpd/Makefile14
-rw-r--r--ftp/proftpd/distinfo10
-rw-r--r--ftp/proftpd/files/patch-sample-configurations_basic.conf4
-rw-r--r--ftp/proftpd/files/patch-src-wtmp.c23
4 files changed, 13 insertions, 38 deletions
diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile
index f25dd020b533..3500a897f183 100644
--- a/ftp/proftpd/Makefile
+++ b/ftp/proftpd/Makefile
@@ -6,15 +6,12 @@
#
PORTNAME?= proftpd
-PORTVERSION?= 1.3.4a
-PORTREVISION?= 3
+PORTVERSION?= 1.3.4b
+#PORTREVISION?= 0
CATEGORIES?= ftp
MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \
- ftp://ftp.fastorama.com/mirrors/ftp.proftpd.org/distrib/source/ \
- ftp://ftp.dataguard.no/ftp/pub/proftpd/distrib/source/ \
- ftp://spirit.bentel.sk/mirrors/Proftpd/distrib/source/ \
+ https://github.com/downloads/proftpd/proftpd.github.com/ \
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://labratsoftware.com/mod_sql_tds/:sql_tds \
LOCAL/beech:sql_tds
@@ -56,7 +53,6 @@ PORTDOCS= *
MAKE_JOBS_UNSAFE= yes
USE_GMAKE= yes
-USE_BZIP2= yes
USE_AUTOTOOLS= autoconf
GNU_CONFIGURE= yes
@@ -182,8 +178,8 @@ CONFIGURE_ARGS+= --disable-pcre
.endif
.if make(makesum) || defined(FETCH_ALL)
-DISTFILES+= mod_sql_tds-4.13.tar.bz2:sql_tds
-EXTRACT_ONLY+= mod_sql_tds-4.13.tar.bz2
+DISTFILES+= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
+ mod_sql_tds-4.13${EXTRACT_SUFX}:sql_tds
.endif
#.if ${PORT_OPTIONS:MCLAMAV} || make(makesum) || defined(FETCH_ALL)
diff --git a/ftp/proftpd/distinfo b/ftp/proftpd/distinfo
index 7eb3ade4f93d..65c9668cb9ca 100644
--- a/ftp/proftpd/distinfo
+++ b/ftp/proftpd/distinfo
@@ -1,6 +1,4 @@
-SHA256 (proftpd-1.3.4a.tar.bz2) = ad92eec86deccc385ac144e3925f9b9cbe085e60f10b33d1de6da91d32f39f3e
-SIZE (proftpd-1.3.4a.tar.bz2) = 6805631
-SHA256 (mod_sql_tds-4.13.tar.bz2) = b32b1d4539b1b2e7e4f44161d12ab81a56ddf292ccd125307a9b2900fdd000a8
-SIZE (mod_sql_tds-4.13.tar.bz2) = 11207
-SHA256 (mod_clamav-0.11rc.tar.gz) = 87630eb1866066d6320ee711897d8998b8f4915c0498b2e78cc0464abd34855a
-SIZE (mod_clamav-0.11rc.tar.gz) = 5115
+SHA256 (proftpd-1.3.4b.tar.gz) = 9f659585cea90fc6af34a0ffae4a90e4ed37abe92dbd9b6c311f95a436c961cb
+SIZE (proftpd-1.3.4b.tar.gz) = 7647825
+SHA256 (mod_sql_tds-4.13.tar.gz) = 9d9fb6c4b9a952739a84e166ed8b0d93f539c7bcf73e32923318e00cbd7eea08
+SIZE (mod_sql_tds-4.13.tar.gz) = 11688
diff --git a/ftp/proftpd/files/patch-sample-configurations_basic.conf b/ftp/proftpd/files/patch-sample-configurations_basic.conf
index af53b7c8cc5f..5fffdea99ab1 100644
--- a/ftp/proftpd/files/patch-sample-configurations_basic.conf
+++ b/ftp/proftpd/files/patch-sample-configurations_basic.conf
@@ -2,8 +2,8 @@
+++ sample-configurations/basic.conf 2009-01-28 11:25:31.000000000 -0900
@@ -1,3 +1,7 @@
+#
-+# For more informations about Proftpd configuration
-+# look at : http://www.proftpd.org/
++# For more information about Proftpd configuration
++# see http://www.proftpd.org/
+#
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
diff --git a/ftp/proftpd/files/patch-src-wtmp.c b/ftp/proftpd/files/patch-src-wtmp.c
index 43c542ea179a..a73ecf1f7fe5 100644
--- a/ftp/proftpd/files/patch-src-wtmp.c
+++ b/ftp/proftpd/files/patch-src-wtmp.c
@@ -1,14 +1,5 @@
---- src/wtmp.c.orig 2011-05-23 23:22:24.000000000 +0200
-+++ src/wtmp.c 2012-07-17 16:19:34.188505949 +0200
-@@ -42,7 +42,7 @@
- !(defined(LINUX) || defined(__hpux) || defined (_AIX))
- /* This "auxilliary" utmp doesn't exist under linux. */
-
--#if defined(__sparcv9) && !defined(__NetBSD__)
-+#if defined(__sparcv9) && !defined(__NetBSD__) && !defined(__FreeBSD__)
- struct futmpx utx;
- time_t t;
-
+--- src/wtmp.c.orig 2012-08-04 08:45:32.292505678 +0200
++++ src/wtmp.c 2012-08-04 08:45:35.508505108 +0200
@@ -97,7 +97,7 @@
#else /* SVR4 */
utx.ut_syslen = strlen(utx.ut_host)+1;
@@ -18,13 +9,3 @@
time(&t);
utx.ut_tv.tv_sec = (time32_t)t;
# else
-@@ -126,7 +126,9 @@
- }
-
- #else /* Non-SVR4 systems */
-+#if !defined(__FreeBSD_version) || __FreeBSD_version < 900007 || !defined(HAVE_UTMPX_H)
- struct utmp ut;
-+#endif
- static int fd = -1;
-
- if (fd < 0 &&