Merge pull request #2748 from stpx/fwknop

New package: fwknop-2.6.7
This commit is contained in:
Steve Prybylski 2015-10-14 09:48:20 -04:00
commit 4964eb8259
6 changed files with 49 additions and 0 deletions

View file

@ -2224,3 +2224,4 @@ libdovecot-sieve.so.0 dovecot-plugin-pigeonhole-0.4.9_2
libi3ipc-glib-1.0.so.0 i3ipc-glib-0.6.0_1
libcsound64.so.6.0 csound-6.05.0_1
libcsnd6.so.6.0 csound-6.05.0_1
libfko.so.2 libfko-2.6.7_1

View file

@ -0,0 +1,2 @@
#!/bin/sh
exec fwknopd -f

43
srcpkgs/fwknop/template Normal file
View file

@ -0,0 +1,43 @@
# Template file for 'fwknop'
pkgname=fwknop
version=2.6.7
revision=1
build_style=gnu-configure
configure_args="--with-gpg=${XBPS_CROSS_BASE}/usr/bin/gpg"
hostmakedepends="iptables"
makedepends="libpcap-devel gpgme-devel"
short_desc="Single Packet Authorization (SPA) implementation"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="GPL-2"
homepage="https://www.cipherdyne.org/fwknop/"
distfiles="${homepage}/download/${pkgname}-${version}.tar.gz"
checksum=ed6f8cfbda6dc76a56a994465188b49419267492ebc6d5328e0947479bd2714b
fwknopd_package() {
depends="iptables libfko>=${version}_${revision}"
conf_files="/etc/fwknop/fwknopd.conf /etc/fwknop/access.conf"
short_desc+=" - server"
pkg_install() {
vmove etc/fwknop
vmove usr/bin/fwknopd
vmove usr/share/man/man8/fwknopd.8
vsv fwknopd
}
}
libfko_package() {
short_desc+=" - shared libraries"
pkg_install() {
vmove usr/lib/*.so.*
}
}
libfko-devel_package() {
depends="libfko>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}

1
srcpkgs/fwknopd Symbolic link
View file

@ -0,0 +1 @@
fwknop

1
srcpkgs/libfko Symbolic link
View file

@ -0,0 +1 @@
fwknop

1
srcpkgs/libfko-devel Symbolic link
View file

@ -0,0 +1 @@
fwknop