libressl: add libressl-netcat subpackage

This commit is contained in:
Michael Gehring 2016-04-04 08:24:49 +02:00 committed by Juan RP
parent a5cb6bb2bf
commit 5095d2d3d0
2 changed files with 12 additions and 1 deletions

1
srcpkgs/libressl-netcat Symbolic link
View file

@ -0,0 +1 @@
libressl

View file

@ -1,7 +1,7 @@
# Template file for 'libressl'
pkgname=libressl
version=2.3.3
revision=1
revision=2
bootstrap=yes
build_style=gnu-configure
short_desc="Version of the TLS/crypto stack forked from OpenSSL"
@ -67,3 +67,13 @@ libressl-devel_package() {
vmove usr/share/man/man3
}
}
libressl-netcat_package() {
short_desc="TCP/IP swiss army knife (LibreSSL variant)"
alternatives="
nc:nc:/usr/bin/libressl-nc
nc:nc.1:/usr/share/man/man1/libressl-nc.1"
pkg_install() {
vbin apps/nc/.libs/nc libressl-nc
vman apps/nc/nc.1 libressl-nc.1
}
}