43 lines
1.1 KiB
Bash
43 lines
1.1 KiB
Bash
# 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
|
|
}
|
|
}
|