aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-10-28 22:25:52 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-30 08:23:19 +0000
commitea102fbc46dad12abb08f8bdae0dec6ee4a921dc (patch)
tree4d7e14d3e00c0f01c27064027dbb56a5906bedce
parentbbf61861998e855714844e471c9b24e31f1aae7c (diff)
downloadaports-ea102fbc46dad12abb08f8bdae0dec6ee4a921dc.tar.bz2
aports-ea102fbc46dad12abb08f8bdae0dec6ee4a921dc.tar.xz
main/cutter: update layout and details
-rw-r--r--main/cutter/APKBUILD34
1 files changed, 20 insertions, 14 deletions
diff --git a/main/cutter/APKBUILD b/main/cutter/APKBUILD
index 2234438ddc..572acc5b2e 100644
--- a/main/cutter/APKBUILD
+++ b/main/cutter/APKBUILD
@@ -2,28 +2,34 @@
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=cutter
pkgver=1.03
-pkgrel=3
-pkgdesc="A program that allows firewall administrators to abort TCP/IP connections."
-url="http://www.lowth.com/cutter"
+pkgrel=4
+pkgdesc="A program that allows firewall administrators to abort TCP/IP connections"
+url="http://www.digitage.co.uk/digitage/software/linux-security/cutter"
arch="all"
-license="GPL"
+license="GPL2"
depends=""
makedepends=""
-install=
+install=""
subpackages=""
-#source="http://www.lowth.com/cutter/software/$pkgname-$pkgver.tgz"
-source="http://dev.alpinelinux.org/archive/cutter/cutter-$pkgver.tgz"
+source="http://www.digitage.co.uk/digitage/files/cutter/$pkgname-$pkgver.tgz"
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- #no make install and no configure script
+_builddir="$srcdir"/$pkgname-$pkgver
- make || return 1
-
- mkdir -p "$pkgdir"/usr/sbin/
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
- install -m755 -D cutter "$pkgdir"/usr/sbin/cutter
+build() {
+ cd "$_builddir"
+ make || return 1
+}
+package() {
+ cd "$_builddir"
+ install -m755 -D $pkgname "$pkgdir"/usr/sbin/$pkgname || return 1
}
md5sums="50093db9b64277643969ee75b83ebbd1 cutter-1.03.tgz"
+sha256sums="4df4fac7c2208afafb279abb443005bf77d3dcf01af05fe1f2898213b9109615 cutter-1.03.tgz"
+sha512sums="821e8abf496e22b86bdd855fb1c9c51648a276ebb572edd2ccb172ae7025a38794df37dfe153c1807785ecec279c34b9df5e2bcc2de582b3a88ee3776cf46eea cutter-1.03.tgz"