X-Original-To: alpine-aports@lists.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 0777FDC022F for ; Mon, 19 Jan 2015 05:00:50 +0000 (UTC) Received: by mail-pa0-f48.google.com with SMTP id rd3so36369520pab.7 for ; Sun, 18 Jan 2015 21:00:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=9rjWCUOECIP8x1DdDlVTbWHXZ4Yyr166QzSRBHVdsWs=; b=cYA0wAOuDnu0iMR+7iwnwEGLbZlMnkybfDPVyS6JwZ+bPcOvaoFAzn4f+lnYzEUnh5 4fPOEGxmAW9pS2FWetsU2Sj6iKk8+o7OZnqhb+hzYdyPLUbMRFFwnkMsPc5pZX/Nws1D 5c2mPyd9LMsaGFJe1ue9oXoiFJf4rlGObO+pStVBOVhNJn54Sz6xF+NNcJqwboyaIqQI OLXM1ons0rWgurHoVRSAEokO1wWanAoJ5HJtARu7j3/vYQAh4LN47wb/gyDj5wsdygex J/TPqTyf/syuuef2Y/3P/jgE0eC+cXUL81n/+xRyo/5gy8+7yrerUz4Mey1IdurqmyqV 2EaQ== X-Received: by 10.68.241.35 with SMTP id wf3mr42015262pbc.22.1421643649990; Sun, 18 Jan 2015 21:00:49 -0800 (PST) Received: from localhost ([74.82.134.59]) by mx.google.com with ESMTPSA id ut7sm10348004pbc.8.2015.01.18.21.00.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Jan 2015 21:00:49 -0800 (PST) From: systmkor To: alpine-aports@lists.alpinelinux.org Cc: systmkor@gmail.com Subject: [alpine-aports] [PATCH] testing/amap Date: Sun, 18 Jan 2015 21:00:47 -0800 Message-Id: <1421643647-777-1-git-send-email-systmkor@gmail.com> X-Mailer: git-send-email 2.2.1 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Next-generation tool for assisting network penetration testing. https://www.thc.org/thc-amap/ --- testing/amap/APKBUILD | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 testing/amap/APKBUILD diff --git a/testing/amap/APKBUILD b/testing/amap/APKBUILD new file mode 100644 index 0000000..b6834b0 --- /dev/null +++ b/testing/amap/APKBUILD @@ -0,0 +1,70 @@ +# Contributor: Orion +# Maintainer: Orion +# Reference +# https://aur.archlinux.org/packages/amap/ +pkgname=amap +pkgver=5.4 +pkgrel=0 +pkgdesc="Next-generation tool for assisting network penetration testing." +url="https://www.thc.org/thc-amap/" +arch="all" +license="GPL2 custom" +depends="pcre openssl" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="http://freeworld.thc.org/releases/$pkgname-$pkgver.tar.gz" + +_builddir="$srcdir/$pkgname-$pkgver" +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man/man1/ \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +doc() { + cd "$_builddir" + mkdir -p $pkgdir-doc/usr/share/man/man1 + install -Dm644 amap.1 $pkgdir-doc/usr/share/man/man1/amap.1 +} + +package() { + cd "$_builddir" + + # Binaries + install -Dm755 amap $pkgdir/usr/bin/amap + ln $pkgdir/usr/bin/amap $pkgdir/usr/bin/amap6 + install -Dm755 amapcrap $pkgdir/usr/bin/amapcrap + + # Configurations + mkdir -p $pkgdir/etc + install -Dm644 appdefs.* $pkgdir/etc + + # License + install -Dm644 LICENCE.AMAP $pkgdir/usr/share/licenses/$pkgname/LICENCE + + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="2617c13b0738455c0e61c6e980b8decc amap-5.4.tar.gz" +sha256sums="a75ea58de75034de6b10b0de0065ec88e32f9e9af11c7d69edbffc4da9a5b059 amap-5.4.tar.gz" +sha512sums="e1a9f03940eded3eedad0028786f4ea6c18077072d52eb2f843ef0b4ff736bf1766c4bdb4eff52d3a8f6038d8f795e39be1c15bcae8283ddae8f40a7fff8647d amap-5.4.tar.gz" -- 2.2.1 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---