aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2014-05-31 18:56:28 +0000
committerEivind Uggedal <eivind@uggedal.com>2014-05-31 18:56:28 +0000
commit450d9af75bcc3d10f119ebcfea2a19df5bcb4ce6 (patch)
tree913a8371246b7f632aeeae12d8d0f2b44df1ba43 /testing
parent55cc9042477b5a7372ddea42fc61f2bc735a4271 (diff)
downloadaports-450d9af75bcc3d10f119ebcfea2a19df5bcb4ce6.tar.bz2
aports-450d9af75bcc3d10f119ebcfea2a19df5bcb4ce6.tar.xz
testing/openvcp: removed
vserver was removed
Diffstat (limited to 'testing')
-rw-r--r--testing/openvcp/APKBUILD49
-rw-r--r--testing/openvcp/openvcp.initd20
-rw-r--r--testing/openvcp/system-libiptc.patch27
3 files changed, 0 insertions, 96 deletions
diff --git a/testing/openvcp/APKBUILD b/testing/openvcp/APKBUILD
deleted file mode 100644
index 919ef68502..0000000000
--- a/testing/openvcp/APKBUILD
+++ /dev/null
@@ -1,49 +0,0 @@
-# Contributor: Francesco Colista <francesco.colista@gmail.com>
-# Maintainer: Francesco Colista <francesco.colista@gmail.com>
-pkgname=openvcp
-_pkgname=openvcpd
-pkgver=0.5
-_pkgver=0.5rc3
-pkgrel=5
-pkgdesc="Control Panel for VServer instances"
-url="http://www.openvcp.org"
-arch="all"
-license="GPL"
-depends=
-depends_dev="gnutls-dev util-vserver-dev libxml2-dev libpcap-dev libtool sqlite-dev rsync iptables-dev"
-makedepends="$depends_dev"
-install=
-subpackages=
-source="http://files.openvcp.org/$_pkgname-$_pkgver.tar.gz
- system-libiptc.patch
- $pkgname.initd"
-
-_builddir="$srcdir"/$_pkgname-$_pkgver
-prepare() {
- 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 --prefix=/usr \
- --sysconfdir=/etc \
- --with-gnutls
- make || return 1
-}
-package() {
- cd "$_builddir"
- mkdir -p "$pkgdir"/vservers/backups
- mkdir -p "$pkgdir"/vservers/userbackups
- mkdir -p "$pkgdir"/vservers/images
- make DESTDIR="$pkgdir" install || return 1
- install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
-}
-
-md5sums="9c65d706133ea48553c90236997f1b8b openvcpd-0.5rc3.tar.gz
-107345e8fc8ddaa2cf06dbb94fe13a47 system-libiptc.patch
-1c3e0df6937b2a73b49850a81de15365 openvcp.initd"
diff --git a/testing/openvcp/openvcp.initd b/testing/openvcp/openvcp.initd
deleted file mode 100644
index 609dac6128..0000000000
--- a/testing/openvcp/openvcp.initd
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/sbin/runscript
-
-depend () {
- use net
- after firewall
-}
-
-start() {
- ebegin "OpenVCP Starting"
- start-stop-daemon --start --quiet --background --exec /bin/openvcpd || return 1
- eend $?
-}
-
-stop() {
- ebegin "OpenVCP Stopping"
- kpid=`cat /var/run/openvcpd.pid`
- kill -kill `expr $kpid - 1`
- start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile /var/run/openvcpd.pid
- eend $?
-}
diff --git a/testing/openvcp/system-libiptc.patch b/testing/openvcp/system-libiptc.patch
deleted file mode 100644
index 961805fb55..0000000000
--- a/testing/openvcp/system-libiptc.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- ./Makefile.in.orig
-+++ ./Makefile.in
-@@ -7,9 +7,9 @@
- CC=@CC@
- CFLAGS=@CFLAGS@ @DEFS@ -DOPENVCP_CONFIG=\"$(sysconfdir)/openvcpd.conf\" -DOPENVCP_DATA=\"$(datadir)/openvcpd\" -Ilib/ -Isrc/ -rdynamic -DREVISION=\"$(REV)\" `python-config --cflags`
- LDFLAGS=@LDFLAGS@
--LIBS=@LIBS@ `python-config --ldflags`
-+LIBS=@LIBS@ `python-config --ldflags` -liptc -lip4tc
-
--OBJECTS = lib/libiptc/libip6tc.o lib/libiptc/libip4tc.o src/modules.o src/misc.o src/node.o src/traffic.o src/logtraffic.o src/setup.o src/set.o src/parseconfig.o src/get.o src/request.o lib/fs.o lib/strings.o lib/ovcpxml.o src/filter.o src/bandwidth.o src/trafficlimit.o src/userbackup.o src/task.o
-+OBJECTS = src/modules.o src/misc.o src/node.o src/traffic.o src/logtraffic.o src/setup.o src/set.o src/parseconfig.o src/get.o src/request.o lib/fs.o lib/strings.o lib/ovcpxml.o src/filter.o src/bandwidth.o src/trafficlimit.o src/userbackup.o src/task.o
-
- all: openvcpd lib/pyovcp/ovcp.so
- openvcpd: src/main.c $(OBJECTS) lib/pyovcp/pyovcp.a
-@@ -35,12 +35,6 @@
-
- lib/ovcpxml.o: lib/ovcpxml.c
- $(CC) $(CFLAGS) -fPIC -c lib/ovcpxml.c -o lib/ovcpxml.o
--
--lib/libiptc/libip4tc.o:
-- cd lib/libiptc/; make libip4tc.o;
--
--lib/libiptc/libip6tc.o:
-- cd lib/libiptc/; make libip6tc.o;
-
- lib/pyovcp/ovcp.so:
- cd lib/pyovcp/; make ovcp.so;