ports/116684: New port: secuity/ike Shrew Soft IKE daemon and Client GUI Tools
Matthew Grooms
mgrooms at shrew.net
Thu Sep 27 06:00:08 UTC 2007
>Number: 116684
>Category: ports
>Synopsis: New port: secuity/ike Shrew Soft IKE daemon and Client GUI Tools
>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: Thu Sep 27 06:00:05 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Matthew Grooms
>Release: FreeBSD 6.2-RELEASE i386
>Organization:
Shrew Soft Inc
>Environment:
System: FreeBSD hole.shrew.net 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Tue May 15 17:47:14 UTC 2007 root at hole.shrew.net:/usr/obj/usr/src/sys/CUSTOM i386
>Description:
>How-To-Repeat:
>Fix:
--- ike-2.0.1.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# /usr/ports/security/ike
# /usr/ports/security/ike/pkg-plist
# /usr/ports/security/ike/pkg-descr
# /usr/ports/security/ike/distinfo
# /usr/ports/security/ike/Makefile
#
echo c - /usr/ports/security/ike
mkdir -p /usr/ports/security/ike > /dev/null 2>&1
echo x - /usr/ports/security/ike/pkg-plist
sed 's/^X//' >/usr/ports/security/ike/pkg-plist << 'END-of-/usr/ports/security/ike/pkg-plist'
Xsbin/iked
Xbin/ikea
Xbin/ikec
Xlib/libike.so
Xlib/libpfk.so
X
END-of-/usr/ports/security/ike/pkg-plist
echo x - /usr/ports/security/ike/pkg-descr
sed 's/^X//' >/usr/ports/security/ike/pkg-descr << 'END-of-/usr/ports/security/ike/pkg-descr'
XThis port contains the Shrew Soft ike daemon and client tools. The
Xsoftware supports ike v1 communications between two gateways or a
Xa client and a gateway.
X
XFor more information please visit ...
X
XWWW: http://www.shrew.net
END-of-/usr/ports/security/ike/pkg-descr
echo x - /usr/ports/security/ike/distinfo
sed 's/^X//' >/usr/ports/security/ike/distinfo << 'END-of-/usr/ports/security/ike/distinfo'
XMD5 (ike-2.0.1-release.tbz2) = d986b6c56f413bd380d7d710d7aee8f1
XSHA256 (ike-2.0.1-release.tbz2) = 2f079773c4964d27ce37add9b4a2d69aad6698c21705c7da7eca6bd60883b41d
XSIZE (ike-2.0.1-release.tbz2) = 483146
END-of-/usr/ports/security/ike/distinfo
echo x - /usr/ports/security/ike/Makefile
sed 's/^X//' >/usr/ports/security/ike/Makefile << 'END-of-/usr/ports/security/ike/Makefile'
X# New ports collection makefile for: ike
X# Date created: 24 march 2007
X# Whom: mgrooms at shrew.net
X#
X# $FreeBSD$
X#
X
XPORTNAME= ike
XPORTVERSION= 2.0.1
XCATEGORIES= security net
XMASTER_SITES= http://www.shrew.net/vpn/
XDISTNAME= ${PORTNAME}-${PORTVERSION}-release
XEXTRACT_SUFX= .tbz2
XONLY_FOR_ARCHS= i386 amd64
X
XMAINTAINER= mgrooms at shrew.net
XCOMMENT= Shrew Soft IKE daemon and client tools
X
XBUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake \
X bison2:${PORTSDIR}/devel/bison2
X
XUSE_OPENSSL= yes
XUSE_BZIP2= yes
X
XINSTALLS_SHLIB= yes
X
XOPTIONS= QTGUI "enable QT client front end applications" on \
X NATT "enable NAT-Traversal (kernel-patch required)" off \
X LDAP "enable LDAP XAuth daemon support" off \
X DEBUG "enable Debug support" off
X
XMAN5= iked.conf.5
XMAN8= iked.8
X
XWRKSRC= ${WRKDIR}/ike
XCMAKE_ARGS= -DCMAKE_INSTALL_PREFIX=${PREFIX}
X
X.include <bsd.port.pre.mk>
X
X.ifdef(WITH_DEBUG)
XCMAKE_ARGS+= -DDEBUG=YES
X.endif
X
X.ifdef(WITH_LDAP)
XUSE_OPENLDAP= YES
XCMAKE_ARGS+= -DLDAP=YES
X.endif
X
X.ifdef(WITH_NATT)
XCMAKE_ARGS+= -DNATT=YES
X.endif
X
X.ifdef(WITH_QTGUI)
XCMAKE_ARGS+= -DQTGUI=YES
XLIB_DEPENDS+= qt-mt:${PORTSDIR}/x11-toolkits/qt33
X.endif
X
Xpost-patch:
X.ifdef(WITH_NATT)
X. if ${OSVERSION} < 700000
X @${ECHO_MSG} "===> -------------------------------------------------------------------------"
X @${ECHO_MSG} "===> ATTENTION: You need a kernel patch to enable NAT-Traversal functionality!"
X @${ECHO_MSG} "===> You can download the patch here:"
X @${ECHO_MSG} "===> http://ipsec-tools.sf.net/freebsd6-natt.diff"
X @${ECHO_MSG} "===> You might possibly have to do some steps manually if it fails to apply."
X @${ECHO_MSG} "===> -------------------------------------------------------------------------"
X. else
X @${ECHO_MSG} "===> -------------------------------------------------------------------------"
X @${ECHO_MSG} "===> ATTENTION: You need a kernel patch to enable NAT-Traversal functionality!"
X @${ECHO_MSG} "===> There is no known NAT-T patch for FreeBSD 7!!!"
X @${ECHO_MSG} "===> You might possibly have to do some steps manually if it fails to apply."
X @${ECHO_MSG} "===> -------------------------------------------------------------------------"
X. endif
X @sleep 3
X.endif
X
Xdo-configure:
X @cd ${BUILD_WRKSRC}; \
X cmake ${CMAKE_ARGS} .;
X
Xdo-build:
X @cd ${BUILD_WRKSRC}; \
X ${MAKE};
X
Xdo-install:
X @cd ${BUILD_WRKSRC}; \
X ${MAKE} install;
X
Xpost-install:
X at if [ -z `/sbin/sysctl -a | ${GREP} -q ipsec && ${ECHO_CMD} ipsec` ]; then \
X ${ECHO_MSG} "WARNING: IPsec feature is disabled on this host"; \
X ${ECHO_MSG} " You must configure a kernel with this option to use this software"; \
Xfi ;
X
X.include <bsd.port.post.mk>
END-of-/usr/ports/security/ike/Makefile
exit
--- ike-2.0.1.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list