summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-05-02 09:03:36 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-05-02 09:05:16 +0000
commit9e4527c340db04a335460d71b9c9fb7b758b7e75 (patch)
tree724e1af0d53042547b102259e6070f15799fcf62 /testing
parent98fab2ebcb2e11db33670f72b74a9d009ba41d0a (diff)
parent20313a4d0e4cbe767df8408e32046c642ea59465 (diff)
downloadaports-9e4527c340db04a335460d71b9c9fb7b758b7e75.tar.bz2
aports-9e4527c340db04a335460d71b9c9fb7b758b7e75.tar.xz
Merge git://git.alpinelinux.org/kunkku/aports
move awall with deps to main
Diffstat (limited to 'testing')
-rw-r--r--testing/awall/APKBUILD51
-rw-r--r--testing/ipset/APKBUILD43
-rw-r--r--testing/ipset/ipset.initd24
-rw-r--r--testing/lua-signal/APKBUILD36
-rw-r--r--testing/lua-sleep/APKBUILD35
5 files changed, 0 insertions, 189 deletions
diff --git a/testing/awall/APKBUILD b/testing/awall/APKBUILD
deleted file mode 100644
index a4d70fc6f..000000000
--- a/testing/awall/APKBUILD
+++ /dev/null
@@ -1,51 +0,0 @@
-# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
-# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
-pkgname=awall
-pkgver=0.1.1
-pkgrel=0
-pkgdesc="Alpine Wall"
-url=http://git.alpinelinux.org/cgit/kunkku/awall/
-arch=noarch
-license=GPL-2
-depends="bind-tools ip6tables ipset iptables lua lua-alt-getopt lua-filesystem lua-json4 lua-pc lua-signal lua-sleep lua-stringy"
-subpackages=$pkgname-nat
-source="${url}snapshot/awall-${pkgver}.tar.bz2"
-
-_builddir=$srcdir/awall-${pkgver}
-_luadir=usr/share/lua/5.1
-
-prepare() {
- :
-}
-
-build() {
- :
-}
-
-package() {
- cd "$_builddir"
- local dir=$pkgdir/$_luadir/awall
- local bindir=$pkgdir/usr/sbin
- local poldir=$pkgdir/usr/share/awall/mandatory
- install -d "$bindir"
- install -d "$poldir"
- install -d "$dir/modules"
- install -d "$pkgdir/etc/awall"
- install -d "$pkgdir/var/run/awall"
- install awall-cli "$bindir/awall"
- install -m 644 json/services.json "$poldir"
- install -m 644 awall/*.lua "$dir"
- install -m 644 awall/modules/filter.lua "$dir/modules"
-}
-
-nat() {
- depends=awall
- cd "$_builddir"
- local moddir=$subpkgdir/$_luadir/awall/modules
- local poldir=$subpkgdir/usr/share/awall/mandatory
- install -d "$moddir" "$poldir"
- install -m 644 json/masquerade.json "$poldir"
- install -m 644 awall/modules/nat.lua "$moddir"
-}
-
-md5sums="de2ae6f4b2825b523873ca82bd1f7c48 awall-0.1.1.tar.bz2"
diff --git a/testing/ipset/APKBUILD b/testing/ipset/APKBUILD
deleted file mode 100644
index 296839381..000000000
--- a/testing/ipset/APKBUILD
+++ /dev/null
@@ -1,43 +0,0 @@
-# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
-# Maintainer:
-pkgname=ipset
-pkgver=6.11
-pkgrel=1
-pkgdesc="Manage Linux IP sets"
-url=http://ipset.netfilter.org/
-arch=all
-license=GPL-2
-depends_dev=libmnl-dev
-makedepends="$depends_dev automake autoconf pkgconfig libtool linux-headers"
-subpackages="$pkgname-dev $pkgname-doc"
-source="${url}ipset-$pkgver.tar.bz2 ipset.initd"
-
-_builddir=$srcdir/ipset-$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 --with-kmod=no --prefix=/usr && make
-}
-
-package() {
- cd "$_builddir"
- make install DESTDIR=$pkgdir || return
- rm $pkgdir/usr/lib/*.la
-
- mkdir -p "$pkgdir/etc/init.d" \
- "$pkgdir/etc/ipset.d"
- install -m 755 "$startdir/ipset.initd" "$pkgdir/etc/init.d/ipset"
-}
-
-md5sums="bfcc92e30a0fcf10ae6e7c4affa03c84 ipset-6.11.tar.bz2
-9f2e07dc13cafe456aa9d70fb631f175 ipset.initd"
diff --git a/testing/ipset/ipset.initd b/testing/ipset/ipset.initd
deleted file mode 100644
index 6e3294c8e..000000000
--- a/testing/ipset/ipset.initd
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/sbin/runscript
-# Init script for ipset
-# Copyright (C) 2012 Kaarle Ritvanen
-# Licensed under the terms of the GPL2
-
-depend() {
- before iptables ip6tables
-}
-
-start() {
- if ls /etc/ipset.d/* &> /dev/null; then
- ebegin "Loading firewall IP sets"
- for f in /etc/ipset.d/*; do
- /usr/sbin/ipset restore < $f
- done
- eend $?
- fi
-}
-
-stop() {
- ebegin "Flushing firewall IP sets"
- /usr/sbin/ipset destroy
- eend $?
-}
diff --git a/testing/lua-signal/APKBUILD b/testing/lua-signal/APKBUILD
deleted file mode 100644
index 37de2ccc2..000000000
--- a/testing/lua-signal/APKBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
-# Maintainer:
-pkgname=lua-signal
-pkgver=1.200
-pkgrel=0
-pkgdesc="Signal library for Lua"
-url=http://www.batbytes.com/files/
-arch=all
-license=MIT
-depends=lua
-makedepends=lua-dev
-install=""
-source=${url}lua-signal-${pkgver}.tar.gz
-
-_builddir=$srcdir/lua-signal
-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() {
- make -C "$_builddir"
-}
-
-package() {
- local moddir="$pkgdir/usr/lib/lua/5.1"
- mkdir -p "$moddir"
- make -C "$_builddir" install SIGNAL_DESTINATION="$moddir"
-}
-
-md5sums="9bfcaa5f9c13488da5087a277b4eaa25 lua-signal-1.200.tar.gz"
diff --git a/testing/lua-sleep/APKBUILD b/testing/lua-sleep/APKBUILD
deleted file mode 100644
index 716d63e74..000000000
--- a/testing/lua-sleep/APKBUILD
+++ /dev/null
@@ -1,35 +0,0 @@
-# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
-# Maintainer:
-pkgname=lua-sleep
-pkgver=0.1
-pkgrel=0
-pkgdesc="Sleep functions for Lua"
-url=http://projects.plentyfact.org/projects/lua-sleep
-arch=all
-license=public-domain
-depends=lua
-makedepends=lua-dev
-source=http://projects.plentyfact.org/attachments/download/21/lua-sleep_${pkgver}.tar.gz
-
-_builddir=$srcdir/lua-sleep_$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() {
- make -C "$_builddir"
-}
-
-package() {
- local dir=$pkgdir/usr/lib/lua/5.1
- install -d "$dir"
- install "$_builddir/lsleep.so" "$dir"
-}
-
-md5sums="aeb91a0abeb483868e27c4f5add59805 lua-sleep_0.1.tar.gz"