Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=5f4380075b580cedede4098e14d5a25619d76743

commit 5f4380075b580cedede4098e14d5a25619d76743
Author: crazy <cr...@frugalware.org>
Date:   Mon Aug 7 01:43:55 2017 +0200

nmap-7.60-2-x86_64
* split ncat and nping , these replaces ping and old and broken netcat

diff --git a/source/network-extra/nmap/FrugalBuild 
b/source/network-extra/nmap/FrugalBuild
index c058920..07bb674 100644
--- a/source/network-extra/nmap/FrugalBuild
+++ b/source/network-extra/nmap/FrugalBuild
@@ -3,10 +3,11 @@

pkgname=nmap
pkgver=7.60
-pkgrel=1
+pkgrel=2
pkgdesc="A network exploration tool and security scanner"
url="http://www.nmap.org";
-depends=('openssl>=1.0.2-10' 'libpcap>=1.2.0' 'libusb1' 'dbus')
+depends=('openssl>=1.0.2-10' 'libpcap>=1.2.0' 'libssh2')
+rodepends=('ncat') ## only matter for !new_installs , ping will be rodep of 
iputils
groups=('network-extra')
_F_archive_grepv="BETA"
archs=('x86_64')
@@ -19,5 +20,40 @@ Fconfopts+=" --without-nmap-update \
--with-libpcap=/usr \
--without-zenmap --with-liblua=included"

+subpkgs=('ncat')
+subdescs=('Ncat is a feature-packed networking utility which reads and writes 
data across networks')
+subgroups=('base')
+subdepends=('openssl>=1.0.2-10 libpcap>=1.2.0')
+subarchs=('x86_64')
+subreplaces=('netcat')
+subprovides=('netcat')
+subconflicts=('netcat')
+
+subpkgs+=('nping')
+subdescs+=('Nping is an open-source tool for network packet generation')
+subgroups+=('base')
+subdepends+=('openssl>=1.0.2-10 libpcap>=1.2.0')
+subarchs+=('x86_64')
+subreplaces+=('')
+subprovides+=('')
+subconflicts+=('')
+
+build() {
+
+       Fcd
+       Fbuild
+       Fln /usr/bin/ncat /usr/bin/nc
+       Fln /usr/bin/ncat /usr/bin/netcat
+       Fln /usr/share/man/man1/ncat.1.gz /usr/share/man/man1/netcat.1.gz
+
+       Fln /usr/bin/nping /usr/bin/ping
+       Fln /usr/share/man/man1/nping.1.gz /usr/share/man/man1/ping.1.gz
+
+       Fsplit ncat usr/bin/{nc,ncat,netcat}
+       Fsplit ncat usr/share/man/man1/{ncat,netcat}.1*
+
+       Fsplit nping usr/bin/{nping,ping}
+       Fsplit nping usr/share/man/man1/{nping,ping}.1*
+}

# optimization OK
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to