aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pulledpork
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2012-07-20 14:04:27 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2012-07-20 14:05:02 +0000
commitd46c94827ff776b5d9bb8fa8dd9a459e1f5dcf39 (patch)
tree8b55f63b804926bd72b005a46e852ffff2d9bc15 /testing/pulledpork
parente68c036c7af8f7d33097f3071bc4ee4aaf4742ae (diff)
downloadaports-d46c94827ff776b5d9bb8fa8dd9a459e1f5dcf39.tar.bz2
aports-d46c94827ff776b5d9bb8fa8dd9a459e1f5dcf39.tar.xz
testing/pulledpork: new aport
Automatic download of snort rules
Diffstat (limited to 'testing/pulledpork')
-rw-r--r--testing/pulledpork/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/pulledpork/APKBUILD b/testing/pulledpork/APKBUILD
new file mode 100644
index 0000000000..c5690b89bf
--- /dev/null
+++ b/testing/pulledpork/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer:
+pkgname=pulledpork
+pkgver=0.6.1
+pkgrel=0
+pkgdesc="Automatic download of snort rules"
+url="http://code.google.com/p/pulledpork"
+arch="noarch"
+license="GPL"
+depends="perl perl-io-socket-ssl perl-crypt-ssleay perl-libwww"
+depends_dev=
+makedepends="$depends_dev"
+install=
+subpackages="$pkgname-doc"
+source="http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz"
+
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ return 0
+}
+
+build() {
+ cd "$_builddir"
+ return 0
+}
+
+package() {
+ cd "$_builddir"
+ install -D -m755 pulledpork.pl "$pkgdir"/usr/bin/pulledpork.pl
+ mkdir -p "$pkgdir"/usr/share/doc
+ mkdir -p "$pkgdir"/etc
+ mv doc "$pkgdir"/usr/share/doc/pulledpork
+ mv etc "$pkgdir"/etc/pulledpork
+}
+
+md5sums="a35c5c89d1f631ade1a2cd4e5c3a8778 pulledpork-0.6.1.tar.gz"