ports/177924: ftp/twoftpd: Update to version 1.42

KATO Tsuguru tkato432 at yahoo.com
Wed Apr 17 18:10:06 UTC 2013


>Number:         177924
>Category:       ports
>Synopsis:       ftp/twoftpd: Update to version 1.42
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 17 18:10:06 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p11 i386
>Organization:
>Environment:
>Description:
- Update to version 1.42

Remove file:
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/ftp/twoftpd/Makefile ftp/twoftpd/Makefile
--- /usr/ports/ftp/twoftpd/Makefile	2012-11-08 07:13:24.000000000 +0900
+++ ftp/twoftpd/Makefile	2013-03-29 16:07:48.000000000 +0900
@@ -1,13 +1,8 @@
-# New ports collection makefile for:	twoftpd
-# Date created:				14 September 2001
-# Whom:					Gea-Suan Lin (gslin at ccca.nctu.edu.tw)
-#
+# Created by: Gea-Suan Lin (gslin at ccca.nctu.edu.tw)
 # $FreeBSD: head/ftp/twoftpd/Makefile 300896 2012-07-14 13:54:48Z beat $
-#
 
 PORTNAME=	twoftpd
-PORTVERSION=	1.41
-PORTREVISION=	1
+PORTVERSION=	1.42
 CATEGORIES=	ftp
 MASTER_SITES=	http://untroubled.org/${PORTNAME}/
 
@@ -15,32 +10,46 @@
 COMMENT=	A simple, secure, efficient FTP server
 
 BUILD_DEPENDS=	${LOCALBASE}/bin/bg-installer:${PORTSDIR}/devel/bglibs
-LIB_DEPENDS=	cvm-v2client.2:${PORTSDIR}/security/cvm
+LIB_DEPENDS=	cvm-v2client:${PORTSDIR}/security/cvm
 
-CFLAGS+=	-I${LOCALBASE}/include
-#-I${LOCALBASE}/include/bglibs
+#LICENSE=	GPLv2
+
+OPTIONS_DEFINE=	DOCS
+
+MAKE_JOBS_SAFE=	yes
+
+CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
+
 BGLIBS_LIB=	${LOCALBASE}/lib/bglibs
 BGLIBS_INCLUDE=	${LOCALBASE}/include/bglibs
 
-DOCS=		NEWS README TODO
 MAN1=		twoftpd-auth.1 twoftpd-switch.1 twoftpd-xfer.1
+PORTDOCS=	NEWS README TODO
+PLIST_FILES=	bin/twoftpd-anon bin/twoftpd-anon-conf \
+		bin/twoftpd-auth bin/twoftpd-bind-port \
+		bin/twoftpd-conf bin/twoftpd-drop \
+		bin/twoftpd-switch bin/twoftpd-xfer
+
+.include <bsd.port.options.mk>
 
-do-patch:
-	${REINPLACE_CMD} -e 's,timezone,tm.tm_gmtoff,' ${WRKSRC}/statmod.c
+post-patch:
+	@${REINPLACE_CMD} -e 's,timezone,tm.tm_gmtoff,' ${WRKSRC}/statmod.c
 
 do-configure:
-	${ECHO_CMD} "${PREFIX}/bin"	> ${WRKSRC}/conf-bin
-	${ECHO_CMD} "${MANPREFIX}/man"	> ${WRKSRC}/conf-man
-	${ECHO_CMD} "${CC} ${CFLAGS}"	> ${WRKSRC}/conf-cc
-	${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}"       > ${WRKSRC}/conf-ld
-	${ECHO_CMD} "${BGLIBS_INCLUDE}"	> ${WRKSRC}/conf-bgincs
-	${ECHO_CMD} "${BGLIBS_LIB}"	> ${WRKSRC}/conf-bglibs
+	@${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
+	@${ECHO_CMD} "${MANPREFIX}/man" > ${WRKSRC}/conf-man
+	@${ECHO_CMD} "${CC} ${CFLAGS} ${CPPFLAGS}" > ${WRKSRC}/conf-cc
+	@${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/conf-ld
+	@${ECHO_CMD} "${BGLIBS_INCLUDE}" > ${WRKSRC}/conf-bgincs
+	@${ECHO_CMD} "${BGLIBS_LIB}" > ${WRKSRC}/conf-bglibs
 
-.if !defined(NOPORTDOCS)
 post-install:
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+.for i in NEWS README TODO
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR})
+.endfor
 .endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/ftp/twoftpd/distinfo ftp/twoftpd/distinfo
--- /usr/ports/ftp/twoftpd/distinfo	2012-11-08 07:13:24.000000000 +0900
+++ ftp/twoftpd/distinfo	2013-03-29 15:50:22.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (twoftpd-1.41.tar.gz) = 1b269fdcef6a351ca339aa3516cda593c29c9bb2522eee1233f3815f0f59d683
-SIZE (twoftpd-1.41.tar.gz) = 84923
+SHA256 (twoftpd-1.42.tar.gz) = 5eafc789668e40122b8bb0c1f1bea407bba2e835227035f8475891e60169da66
+SIZE (twoftpd-1.42.tar.gz) = 87596
diff -urN /usr/ports/ftp/twoftpd/pkg-plist ftp/twoftpd/pkg-plist
--- /usr/ports/ftp/twoftpd/pkg-plist	2012-11-08 07:13:24.000000000 +0900
+++ ftp/twoftpd/pkg-plist	1970-01-01 09:00:00.000000000 +0900
@@ -1,13 +0,0 @@
- at comment $FreeBSD: head/ftp/twoftpd/pkg-plist 300896 2012-07-14 13:54:48Z beat $
-bin/twoftpd-anon
-bin/twoftpd-anon-conf
-bin/twoftpd-auth
-bin/twoftpd-bind-port
-bin/twoftpd-conf
-bin/twoftpd-drop
-bin/twoftpd-switch
-bin/twoftpd-xfer
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/TODO
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list