ports/171951: update port: security/fwknop FireWall KNock OPerator

Sean Greven sean.greven at gmail.com
Wed Oct 24 06:40:02 UTC 2012


The following reply was made to PR ports/171951; it has been noted by GNATS.

From: Sean Greven <sean.greven at gmail.com>
To: freebsd-gnats-submit at FreeBSD.org
Cc:  
Subject: ports/171951: update port: security/fwknop FireWall KNock OPerator
Date: Wed, 24 Oct 2012 06:35:03 GMT

 >Submitter-Id:	current-users
 >Originator:	Sean Greven
 >Organization:	Private
 >Confidential:	no
 >Synopsis:	ports/171951: update port: security/fwknop FireWall KNock OPerator
 >Severity:	non-critical
 >Priority:	low
 >Category:	ports
 >Class:		maintainer-update
 >Release:	9.0-RELEASE
 >Environment:	FreeBSD FreeBSD 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012     root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
 >Description:
 Update to port fwknop port
 Repair RC_SUBR file to use SUB_LIST expansions instead of hard-coding paths
 Modify the plist file, to remove reference to info/dir
 Added INFO= line to the Makefile, and removed explicit installation of libfko
 >How-To-Repeat:
 
 >Fix:
 
 
 Patch attached with submission follows:
 
 # 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:
 #
 #	fwknop
 #	fwknop/Makefile
 #	fwknop/pkg-descr
 #	fwknop/files
 #	fwknop/files/fwknopd.in
 #	fwknop/distinfo
 #	fwknop/pkg-plist
 #
 echo c - fwknop
 mkdir -p fwknop > /dev/null 2>&1
 echo x - fwknop/Makefile
 sed 's/^X//' >fwknop/Makefile << '32b12b67eb0e26ad796b15a92793de9a'
 X# New ports collection makefile for:	fwknop
 X#
 X# Date created:				23 Nov 2007
 X# Whom:					Sean Greven<sean.greven at gmail.com>
 X#
 X# $FreeBSD: ports/security/fwknop/Makefile,v 1.6 2012/07/25 11:24:09 cs Exp $
 X#
 X
 XPORTNAME=	fwknop
 XPORTVERSION=	2.0.3
 XPORTREVISION=	2
 XCATEGORIES=	security
 XMASTER_SITES=	http://www.cipherdyne.org/fwknop/download/
 X
 XMAINTAINER=	sean.greven at gmail.com
 XCOMMENT=	SPA implementation for Linux and FreeBSD
 X
 XOPTIONS_DEFINE=  GPGME
 XOPTIONS_DEFAULT= GPGME
 XGPGME_DESC=	Build support for gpgme
 XMAN8=		fwknop.8 fwknopd.8
 XINFO=		libfko
 XMANCOMPRESSED=	no
 XGNU_CONFIGURE=  yes
 XUSE_RC_SUBR=	fwknopd
 X
 X.include <bsd.port.options.mk>
 X
 X.if ${PORT_OPTIONS:MGPGME}
 XBUILD_DEPENDS+=	gpgme:${PORTSDIR}/security/gpgme
 X.endif
 X
 X.include <bsd.port.mk>
 32b12b67eb0e26ad796b15a92793de9a
 echo x - fwknop/pkg-descr
 sed 's/^X//' >fwknop/pkg-descr << '13964009feac0ad08251c1452d402a44'
 Xfwknop,"FireWall KNock OPerator", implements Single Packet Authorization (SPA). 
 XWWW: http://www.cipherdyne.org/fwknop/
 13964009feac0ad08251c1452d402a44
 echo c - fwknop/files
 mkdir -p fwknop/files > /dev/null 2>&1
 echo x - fwknop/files/fwknopd.in
 sed 's/^X//' >fwknop/files/fwknopd.in << 'bd83b5a2110c5ae1f9e7fa38c0d855fe'
 X#!/bin/sh
 X#
 X# $FreeBSD: ports/security/fwknop
 X#
 X# PROVIDE: fwknopd
 X# REQUIRE: LOGIN
 X
 X#
 X# Add the following lines to /etc/rc.conf to enable fwknopd:
 X#
 X#fwknopd_enable="YES"
 X#
 X# See fwknopd(8) for flags
 X#
 X
 X. /etc/rc.subr
 X
 Xname=fwknopd
 Xrcvar=fwknopd_enable
 X
 Xcommand=%%PREFIX%%/sbin/fwknopd
 Xrequired_files=%%PREFIX%%/etc/fwknop/access.conf
 X
 Xstart_precmd=start_precmd
 Xstop_postcmd=stop_postcmd
 X
 Xextra_commands="reload"
 X
 Xstart_precmd()
 X{
 X}
 X
 Xstop_postcmd()
 X{
 X}
 X
 X# read settings, set default values
 Xload_rc_config $name
 X: ${fwknopd_enable="NO"}
 X
 Xrun_rc_command "$1"
 bd83b5a2110c5ae1f9e7fa38c0d855fe
 echo x - fwknop/distinfo
 sed 's/^X//' >fwknop/distinfo << 'bf6907faa0a1dae87540bb613cfc0d66'
 XSHA256 (fwknop-2.0.3.tar.gz) = f7f306a66c641020e7c7a820eaa3743e2700ddee6e26cca37440db95df56b986
 XSIZE (fwknop-2.0.3.tar.gz) = 904769
 bf6907faa0a1dae87540bb613cfc0d66
 echo x - fwknop/pkg-plist
 sed 's/^X//' >fwknop/pkg-plist << 'b899a2992e3cfe7ddf20f6368e8ddfc6'
 Xbin/fwknop
 X%%ETCDIR%%/access.conf
 X%%ETCDIR%%/fwknopd.conf
 Xinclude/fko.h
 Xlib/libfko.a
 Xlib/libfko.la
 Xlib/libfko.so
 Xlib/libfko.so.0
 Xsbin/fwknopd
 X at dirrm %%ETCDIR%%
 b899a2992e3cfe7ddf20f6368e8ddfc6
 exit
 
 
 


More information about the freebsd-ports-bugs mailing list