diff options
author | Dan Theisen <djt@hxx.in> | 2019-07-07 05:23:16 +0000 |
---|---|---|
committer | Dan Theisen <djt@hxx.in> | 2019-07-07 05:23:16 +0000 |
commit | 6285accb1b685288f641f0529fc9ee6012055093 (patch) | |
tree | 4d99f96a5701dec2e0bc16d93e0d3cfe3ad6a946 /user | |
parent | d8e776de2ec9c2a280063eed7fb4573df355188a (diff) | |
download | packages-6285accb1b685288f641f0529fc9ee6012055093.tar.gz packages-6285accb1b685288f641f0529fc9ee6012055093.tar.bz2 packages-6285accb1b685288f641f0529fc9ee6012055093.tar.xz packages-6285accb1b685288f641f0529fc9ee6012055093.zip |
user/nmap: split ncat docs
Diffstat (limited to 'user')
-rw-r--r-- | user/nmap/APKBUILD | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/user/nmap/APKBUILD b/user/nmap/APKBUILD index 163e42745..d8bdea9a9 100644 --- a/user/nmap/APKBUILD +++ b/user/nmap/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Dan Theisen <djt@hxx.in> pkgname=nmap pkgver=7.70 -pkgrel=0 +pkgrel=1 pkgdesc="A network exploration tool and security/port scanner" url="https://nmap.org/" arch="all" @@ -15,6 +15,7 @@ subpackages=" $pkgname-nselibs::noarch $pkgname-nping $pkgname-ncat + $pkgname-ncat-doc:ncat_doc netcat::noarch" source="https://nmap.org/dist/$pkgname-$pkgver.tar.bz2" @@ -76,6 +77,14 @@ ncat() { mv "$pkgdir"/usr/bin/ncat "$subpkgdir"/usr/bin } +ncat_doc() { + pkgdesc="ncat utility (docs)" + install_if="nmap-ncat=$pkgver-r$pkgrel docs" + mkdir -p "$subpkgdir"/usr/share/man/man1 + mv "${pkgdir}-doc"/usr/share/man/man1/ncat.1.gz \ + "$subpkgdir"/usr/share/man/man1 +} + nping() { pkgdesc="$pkgdesc (nping tool)" mkdir -p "$subpkgdir"/usr/bin |