Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Sep 2012 13:53:22 GMT
From:      Sean Greven <sean.greven@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/171951: update port: security/fwknop FireWall KNock OPerator
Message-ID:  <201209251353.q8PDrMEo026338@red.freebsd.org>
Resent-Message-ID: <201209251400.q8PE0VxS090638@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         171951
>Category:       ports
>Synopsis:       update port: security/fwknop FireWall KNock OPerator
>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:   Tue Sep 25 14:00:31 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Sean Greven
>Release:        9.0
>Organization:
Private
>Environment:
>Description:
Updated the port from 1.8.3 to 2.0.3, changes include a migration from perl to C, support for ipfw and pf.
>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@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@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
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
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=/usr/local/sbin/fwknopd
Xrequired_files=/usr/local/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
Xinfo/dir
Xinfo/libfko.info
Xlib/libfko.a
Xlib/libfko.la
Xlib/libfko.so
Xlib/libfko.so.0
Xsbin/fwknopd
X@dirrm %%ETCDIR%%
b899a2992e3cfe7ddf20f6368e8ddfc6
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209251353.q8PDrMEo026338>