mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-06 17:22:07 +01:00
39 lines
928 B
Plaintext
39 lines
928 B
Plaintext
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
pkgname=nmap
|
|
pkgver=5.51.6
|
|
pkgrel=0
|
|
pkgdesc="A network exploration tool and security/port scanner"
|
|
url="http:/nmap.org"
|
|
arch="all"
|
|
license="custom:GPL"
|
|
depends=
|
|
makedepends="libpcap-dev openssl-dev lua-dev"
|
|
install=
|
|
subpackages="$pkgname-doc"
|
|
replaces="nmap-nse"
|
|
source="http://nmap.org/dist/$pkgname-$pkgver.tgz"
|
|
|
|
_builddir="$srcdir"/$pkgname-$pkgver
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--without-zenmap \
|
|
--with-liblua=/usr/include \
|
|
--with-openssl=/usr/lib
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
# install custom GPL2 license
|
|
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
|
}
|
|
|
|
md5sums="75492e55330bded27f6132f052adae7e nmap-5.51.6.tgz"
|