2015-10-14 02:27:25 +02:00
|
|
|
# Template file for 'fwknop'
|
|
|
|
pkgname=fwknop
|
2015-12-24 00:45:31 +01:00
|
|
|
version=2.6.8
|
2015-10-14 02:27:25 +02:00
|
|
|
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"
|
2015-12-24 00:45:31 +01:00
|
|
|
checksum=5999c2cffd231caf3082a5169fbac2f4a3f5db8309355c5615c98998718198ff
|
2015-10-14 02:27:25 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|