Date: Wed, 21 Dec 2005 01:34:51 +0100 (CET) From: Daniel Roethlisberger <daniel@roe.ch> To: FreeBSD-gnats-submit@FreeBSD.org Cc: daniel@roe.ch Subject: ports/90722: [maintainer] Update security/fiked to 0.0.4, really fix build on 4.x Message-ID: <200512210034.jBL0YpOF002708@marvin.roe> Resent-Message-ID: <200512210040.jBL0e394044791@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 90722 >Category: ports >Synopsis: [maintainer] Update security/fiked to 0.0.4, really fix build on 4.x >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Dec 21 00:40:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Daniel Roethlisberger >Release: FreeBSD 5.4-RELEASE-p6 i386 >Organization: >Environment: System: FreeBSD marvin.roe 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #5: Mon Nov 7 13:20:09 CET 2005 root@marvin.roe:/usr/obj/usr/src/sys/IBMTPX40 i386 >Description: Note: This PR supercedes previous broken ports/90575. Port changes: * Set USE_GCC to allow build on FreeBSD 4.x * Add WITHOUT_LIBNET knob * Remove CC fixes, upstream makefile honours CC now * Upgrade to 0.0.4 Upstream changes: * Support for dropping privileges to unprivileged user * Portability fixes * Bug fixes >How-To-Repeat: >Fix: --- fiked-0.0.2-0.0.4.diff begins here --- diff -ruN fiked.old/Makefile fiked/Makefile --- fiked.old/Makefile Fri Dec 16 21:15:06 2005 +++ fiked/Makefile Wed Dec 21 01:08:29 2005 @@ -6,7 +6,7 @@ # PORTNAME= fiked -PORTVERSION= 0.0.2 +PORTVERSION= 0.0.4 CATEGORIES= security MASTER_SITES= http://dragon.roe.ch/bitsnpieces/fiked/ \ http://home.tiscalinet.ch/roe/fiked/ @@ -15,35 +15,30 @@ COMMENT= A fake IKE PSK+XAUTH daemon based on VPNC LIB_DEPENDS= gcrypt.13:${PORTSDIR}/security/libgcrypt +.if !defined(WITHOUT_LIBNET) BUILD_DEPENDS= libnet*>=1.1.2,1:${PORTSDIR}/net/libnet +.endif USE_BZIP2= yes USE_GMAKE= yes +USE_GCC= 3.2+ USE_REINPLACE= yes MAKEFILE= GNUmakefile -MAKE_ENV+= CC="${CC}" - PLIST_FILES= bin/fiked MAN1= fiked.1 -PORTDOCS= README - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 500000 -BROKEN= "Does not compile on FreeBSD 4.x" -.endif +PORTDOCS= README NEWS post-patch: - @${REINPLACE_CMD} -e 's|^\(CC\)=|\1?=|; s|=-g|=|' ${WRKSRC}/${MAKEFILE} + @${REINPLACE_CMD} -e 's|=-g|=|' ${WRKSRC}/${MAKEFILE} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/fiked ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/fiked.1 ${PREFIX}/man/man1/ .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff -ruN fiked.old/distinfo fiked/distinfo --- fiked.old/distinfo Fri Dec 16 21:15:06 2005 +++ fiked/distinfo Wed Dec 21 01:08:43 2005 @@ -1,3 +1,3 @@ -MD5 (fiked-0.0.2.tar.bz2) = d686f04ddd6da2826e8d2b1a3a7e4177 -SHA256 (fiked-0.0.2.tar.bz2) = ba76c76b0f790434873a7d70f27b796335eaea139d4eac08c1fac01c6c5efe92 -SIZE (fiked-0.0.2.tar.bz2) = 107751 +MD5 (fiked-0.0.4.tar.bz2) = e8d1957b28195712c90e80989301581f +SHA256 (fiked-0.0.4.tar.bz2) = a3c0f94df312321737665ba55342cacbf979b1e14b3fe978db667ccda9b0a1c4 +SIZE (fiked-0.0.4.tar.bz2) = 109062 --- fiked-0.0.2-0.0.4.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512210034.jBL0YpOF002708>