aboutsummaryrefslogtreecommitdiffstats
path: root/testing/netsed
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-06-13 13:21:03 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-06-13 13:43:22 +0000
commitc32d1800d75331040d163e4b8fb6952e6da46d84 (patch)
tree93dcb4cafd7d32c0f50cef1fc277d7f889f18b46 /testing/netsed
parent01e2813e4c87dd1bd2dbe00a96aaca566533a1ad (diff)
downloadaports-c32d1800d75331040d163e4b8fb6952e6da46d84.tar.bz2
aports-c32d1800d75331040d163e4b8fb6952e6da46d84.tar.xz
testing/netsed: new aport
Diffstat (limited to 'testing/netsed')
-rw-r--r--testing/netsed/APKBUILD29
-rw-r--r--testing/netsed/default-path.patch11
2 files changed, 40 insertions, 0 deletions
diff --git a/testing/netsed/APKBUILD b/testing/netsed/APKBUILD
new file mode 100644
index 0000000000..2873b4afab
--- /dev/null
+++ b/testing/netsed/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=netsed
+pkgver=1.2
+pkgrel=0
+pkgdesc="The network packet stream editor"
+url="http://silicone.homelinux.org/projects/netsed/"
+arch="all"
+license="GPL"
+makedepends="$depends_dev linux-headers"
+source="http://silicone.homelinux.org/release/$pkgname/$pkgname-$pkgver.tar.gz
+default-path.patch"
+builddir="$srcdir"/$pkgname-$pkgver
+build() {
+ cd "$builddir"
+ make || return 1
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="4422b3cded2278438b5ab4f3ae4b992f netsed-1.2.tar.gz
+a785f53af5a689689d4dee56567c7ad7 default-path.patch"
+sha256sums="0a7f12bac83d02c6fc837055bf4ff02c1bdfc8ea478227afcc762e92d1661c80 netsed-1.2.tar.gz
+c8b6f3a7046a4482911a3c09ccad6104b8a7735b8081e4b7439713d72e8129f3 default-path.patch"
+sha512sums="e907ba1ce3c0a7f3cd02a85ace89097c86e239ef7fb0647dc3a8b2b5ef42a89f7f8889113ca37ab44910b66130f6d4921be3d52363b73a8d37211eac500c01a6 netsed-1.2.tar.gz
+a4c4cdcdaf8b5b6286d7b4870e06bf5b783e58f8ee19efee245aa3d2612b7257340799ac0fc188c928a11612591499759c477dfce7914cefd8e9403854dfd032 default-path.patch"
diff --git a/testing/netsed/default-path.patch b/testing/netsed/default-path.patch
new file mode 100644
index 0000000000..0fb8f1963f
--- /dev/null
+++ b/testing/netsed/default-path.patch
@@ -0,0 +1,11 @@
+diff --git a/Makefile b/Makefile
+index 07d844f..12a8ee6 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,5 +1,5 @@
+ CFLAGS += -Wall -fomit-frame-pointer
+-PREFIX ?= /usr/local
++PREFIX ?= /usr
+
+ ifeq "$(shell uname -s)" "SunOS"
+ LDFLAGS += -lsocket