aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2003-10-14 20:23:36 +0800
committersumikawa <sumikawa@FreeBSD.org>2003-10-14 20:23:36 +0800
commit34da9519c1702fbbb6984ed922034300151ebd12 (patch)
tree7d82dcf826087130cb9dd91769aaad9d3d83e756 /ftp
parenta13bbda56d45a454ec975b30ca50df29a58eaab3 (diff)
downloadfreebsd-ports-gnome-34da9519c1702fbbb6984ed922034300151ebd12.tar.gz
freebsd-ports-gnome-34da9519c1702fbbb6984ed922034300151ebd12.tar.zst
freebsd-ports-gnome-34da9519c1702fbbb6984ed922034300151ebd12.zip
Upgrade to 2.7.3.
PR: ports/57989 Submitted by: Dan Larsson <ports@tyfon.net>
Diffstat (limited to 'ftp')
-rw-r--r--ftp/ncftpd/Makefile20
-rw-r--r--ftp/ncftpd/distinfo4
2 files changed, 18 insertions, 6 deletions
diff --git a/ftp/ncftpd/Makefile b/ftp/ncftpd/Makefile
index 496d41d51687..f5692ba8d938 100644
--- a/ftp/ncftpd/Makefile
+++ b/ftp/ncftpd/Makefile
@@ -6,23 +6,33 @@
#
PORTNAME= ncftpd
-PORTVERSION= 2.7.1
+PORTVERSION= 2.7.3
CATEGORIES= ftp
MASTER_SITES= ftp://ftp.ncftp.com/ncftpd/${PORTVERSION}/
-DISTNAME= ${PORTNAME}-${PORTVERSION}-freebsd4.4-${ARCH}-export
+DISTNAME= ${PORTNAME}-${PORTVERSION}-freebsd${BINVER}-${ARCH}-export
MAINTAINER= jus@security.za.net
COMMENT= A well known commercial FTP daemon with a 30-day evaluation license
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-BROKEN= "Does not fetch"
-
ONLY_FOR_ARCHS= i386
NO_BUILD= YES
LICENSE= shareware
RESTRICTED= "30 day evaluation license"
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500000
+BINVER= 5.0
+.elif ${OSVERSION} >= 480000
+BINVER= 4.8
+.elif ${OSVERSION} >= 350000
+BINVER= 3.5.1
+.else
+BROKEN= "FreeBSD version too old"
+.endif
+
do-install:
${MKDIR} ${PREFIX}/etc/ncftpd
${INSTALL_PROGRAM} ${WRKSRC}/ncftpd ${PREFIX}/sbin
@@ -44,4 +54,4 @@ post-install:
.endif
${SED} -e 's,%%PREFIX%%,${PREFIX},' ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/ftp/ncftpd/distinfo b/ftp/ncftpd/distinfo
index ef0ef017853b..91a5e55cd268 100644
--- a/ftp/ncftpd/distinfo
+++ b/ftp/ncftpd/distinfo
@@ -1 +1,3 @@
-MD5 (ncftpd-2.7.1-freebsd4.4-i386-export.tar.gz) = ba0da5637163b54f37168bd8d637569a
+MD5 (ncftpd-2.7.3-freebsd3.5.1-i386-export.tar.gz) = a7cde2d5e40966cccc4539a6ee9572c3
+MD5 (ncftpd-2.7.3-freebsd4.8-i386-export.tar.gz) = b71d0f803072a4d42e2f0b413a3dca2f
+MD5 (ncftpd-2.7.3-freebsd5.0-i386-export.tar.gz) = db025b0afb4f3072b6f542b1f41ea055