aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-01-13 15:43:54 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2017-01-13 15:43:54 +0100
commitbf1a5e076df6ac74bb741c10babfdbc4e5cb2b06 (patch)
tree36fcfa5aeee3222e909de184e3d79f4513c1300b /testing
parentb8b9587650875423230c5f9e60286c96858de4d5 (diff)
downloadaports-bf1a5e076df6ac74bb741c10babfdbc4e5cb2b06.tar.bz2
aports-bf1a5e076df6ac74bb741c10babfdbc4e5cb2b06.tar.xz
community/vnstat: upgrade to 1.16
Diffstat (limited to 'testing')
-rw-r--r--testing/incron/APKBUILD56
-rw-r--r--testing/incron/fix-headers.patch10
-rw-r--r--testing/incron/incron-aarch64.patch13
-rw-r--r--testing/incron/incrond.initd13
-rw-r--r--testing/vnstat/APKBUILD51
-rw-r--r--testing/vnstat/vnstat.pre-install6
-rw-r--r--testing/vnstat/vnstatd.confd7
-rw-r--r--testing/vnstat/vnstatd.initd37
8 files changed, 0 insertions, 193 deletions
diff --git a/testing/incron/APKBUILD b/testing/incron/APKBUILD
deleted file mode 100644
index 87abad27f8..0000000000
--- a/testing/incron/APKBUILD
+++ /dev/null
@@ -1,56 +0,0 @@
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=incron
-pkgver=0.5.10
-pkgrel=0
-pkgdesc="Inotify cron system"
-url="http://inotify.aiken.cz"
-arch="all"
-license="GPLv2"
-depends=""
-depends_dev=""
-makedepends="$depends_dev argp-standalone"
-install=""
-subpackages="$pkgname-doc"
-options="suid"
-source="http://inotify.aiken.cz/download/incron/incron-$pkgver.tar.bz2
- fix-headers.patch
- incrond.initd
- incron-aarch64.patch
- "
-
-_builddir="$srcdir"/incron-$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"
- make PREFIX=/usr || return 1
-}
-
-package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" PREFIX=/usr install || return 1
- install -Dm755 "$srcdir"/incrond.initd "$pkgdir"/etc/init.d/incrond \
- || return 1
- install -Dm644 incron.conf.example "$pkgdir"/etc/incron.conf || return 1
-}
-
-md5sums="038190dc64568883a206f3d58269b850 incron-0.5.10.tar.bz2
-2f732aef8ae8b49a0427e1d0d3c5281d fix-headers.patch
-07089c4a524ba7d89f75881693ba7647 incrond.initd
-02955914e0c8aed4ca3950b109c57a61 incron-aarch64.patch"
-sha256sums="852695df1d0c8a1ad182d41c8f8ce1417ac34e7fb6cd01e9c9c6d493c42e759f incron-0.5.10.tar.bz2
-aa69fa1ebfd48e6fba9921f136ac77b68f9b34e6f60b2296c35bdd5b60e5d7ec fix-headers.patch
-c7a3c53543db190d2ce63667878c9968f9af7b9eabecbfc1cad7d9b8d937c8e4 incrond.initd
-690911bf841f43b5cb05e11d14ee7c2ccf310b9cc4079c02afa32e784b1c3dea incron-aarch64.patch"
-sha512sums="5d9ae4d4e3929ba16ad06652f21ef319041e13f9b15000d08053a973bef706b5d0137b9235c29049aed1673a2f41379b2b677eeedefacaf68308ad54405e4bfd incron-0.5.10.tar.bz2
-ab25665b6b736b81bfa84b1092608e0f2c15484a2e920b1859827bd870d04a894760020be6ab27226ff8cb75bab1ef8dc34d006a4531fc658e32137374412c9c fix-headers.patch
-458d5a4e9ab062b3e9a7dddf46c25bae431ec6c93862304f444e94cfb41b28e9ae21d5e621e94ce9cf55b26878d8fe978c19eeaa473779772a24adf709fd4cd8 incrond.initd
-46af5174748bec8ddad84f43b00a4b10f3bed3af2884fa4106797e96e2ea1be399642c049760035635275354a4a66d1ce33c58e6856bda3e98054c8627277287 incron-aarch64.patch"
diff --git a/testing/incron/fix-headers.patch b/testing/incron/fix-headers.patch
deleted file mode 100644
index 64771ffd12..0000000000
--- a/testing/incron/fix-headers.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- ./icd-main.cpp.orig
-+++ ./icd-main.cpp
-@@ -24,6 +24,7 @@
- #include <dirent.h>
- #include <syslog.h>
- #include <errno.h>
-+#include <unistd.h>
- #include <sys/poll.h>
- #include <sys/stat.h>
- #include <cstdio>
diff --git a/testing/incron/incron-aarch64.patch b/testing/incron/incron-aarch64.patch
deleted file mode 100644
index fe872ae35c..0000000000
--- a/testing/incron/incron-aarch64.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: incron-0.5.10/inotify-cxx.h
-===================================================================
---- incron-0.5.10.orig/inotify-cxx.h
-+++ incron-0.5.10/inotify-cxx.h
-@@ -37,7 +37,7 @@
- #include <sys/inotify.h>
-
- // Use this if syscalls not defined
--#ifndef __NR_inotify_init
-+#if not defined(__NR_inotify_init) && not defined(__aarch64__)
- #include <sys/inotify-syscalls.h>
- #endif // __NR_inotify_init
-
diff --git a/testing/incron/incrond.initd b/testing/incron/incrond.initd
deleted file mode 100644
index 6aa4c0688d..0000000000
--- a/testing/incron/incrond.initd
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/incron/files/incrond.init,v 1.1 2011/01/31 15:14:12 idl0r Exp $
-
-command=/usr/sbin/incrond
-pidfile=/var/run/incrond.pid
-command_args="-f /etc/incron.conf"
-
-depend() {
- use clock logger
- need localmount
-}
diff --git a/testing/vnstat/APKBUILD b/testing/vnstat/APKBUILD
deleted file mode 100644
index 71dab258d0..0000000000
--- a/testing/vnstat/APKBUILD
+++ /dev/null
@@ -1,51 +0,0 @@
-# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
-# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
-pkgname=vnstat
-pkgver=1.15
-pkgrel=0
-pkgdesc="A console-based network traffic monitor"
-url="http://humdi.net/vnstat/"
-arch="all"
-license="GPL"
-install="$pkgname.pre-install"
-makedepends="gd-dev"
-subpackages="$pkgname-doc"
-source="http://humdi.net/vnstat/$pkgname-$pkgver.tar.gz
- vnstatd.initd
- vnstatd.confd"
-builddir="$srcdir/vnstat-$pkgver"
-
-build() {
- cd "$builddir"
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- || return 1
- make || return 1
-}
-
-package() {
- cd "$builddir"
-
- make DESTDIR="$pkgdir" install || return 1
-
- install -D -m0755 "$srcdir"/vnstatd.initd \
- "$pkgdir"/etc/init.d/vnstatd || return 1
- install -D -m0644 "$srcdir"/vnstatd.confd \
- "$pkgdir"/etc/conf.d/vnstatd || return 1
-
- install -D -m0755 examples/vnstat.cgi \
- "$pkgdir"/usr/share/doc/vnstat/examples/vnstat.cgi || return 1
-}
-
-md5sums="351051ef3005e3ca99123eec07ac0a7d vnstat-1.15.tar.gz
-cf0a4a161295e1d1988836cdc8d1064d vnstatd.initd
-810205e9cd5328b4279bd9ab1b804c36 vnstatd.confd"
-sha256sums="c3814b5baa8b627198a8debfe1dce4b4346a342523818cc8668a5497971dbc39 vnstat-1.15.tar.gz
-98d57c982722372257d4b901836170ae0e81d9e575caa5a6463bdc6a78f9dd2a vnstatd.initd
-2cd5b91f86bc26aca85166a50de89faaccbf1ea8f219efb48b50b7ed0f3fe377 vnstatd.confd"
-sha512sums="e6cf714c2c95ae7f82ec7852d23067da28f4fab83cf33726e4268a31f982ddf13c3bc30f17251a80f7c65d25f394cd05379a30e677687ce70f8c7b229ac0cb4e vnstat-1.15.tar.gz
-cc3183b8d42eff1e0a876420612dd8892ba5ac10810e7de7ca1076eb5e5867145a0d7e605773f39157e91da29aa68ae5c350d120f60292578fcaba44603b2b92 vnstatd.initd
-d645817913d5b52e928561b3d6a0e869d8ae5db81b97af91c1ebfc6a8cd2df666c1653e6dc5f91c0a890033a89692f77eaf081c1cae5590446c69a70ea263946 vnstatd.confd"
diff --git a/testing/vnstat/vnstat.pre-install b/testing/vnstat/vnstat.pre-install
deleted file mode 100644
index 2a94edea9d..0000000000
--- a/testing/vnstat/vnstat.pre-install
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-addgroup -S vnstat 2>/dev/null
-adduser -S -D -H -h /var/lib/ -s /bin/false -G vnstat -g vnstat vnstat 2>/dev/null
-
-exit 0
diff --git a/testing/vnstat/vnstatd.confd b/testing/vnstat/vnstatd.confd
deleted file mode 100644
index 17901419aa..0000000000
--- a/testing/vnstat/vnstatd.confd
+++ /dev/null
@@ -1,7 +0,0 @@
-# /etc/conf.d/vnstatd: config file for /etc/init.d/vnstatd
-
-# Adjust scheduling priority on vnstatd (default: 0)
-#VNSTATD_NICELEVEL="0"
-
-# Pass extra options to vnstatd
-#VNSTATD_EXTRAOPTS="--config /etc/vnstat.conf"
diff --git a/testing/vnstat/vnstatd.initd b/testing/vnstat/vnstatd.initd
deleted file mode 100644
index e206fb263d..0000000000
--- a/testing/vnstat/vnstatd.initd
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-extra_started_commands="reload"
-
-depend() {
- use net
-}
-
-VNSTATD_PIDFILE="${VNSTATD_PIDFILE:-/var/run/vnstatd/vnstatd.pid}"
-
-start() {
- ebegin "Starting vnstatd"
- checkpath -q -d -m 755 -o vnstat:vnstat /var/run/vnstatd
- checkpath -q -d -m 755 -o vnstat:vnstat /var/lib/vnstat
- start-stop-daemon --start --quiet \
- --pidfile "${VNSTATD_PIDFILE}" \
- --user vnstat --group vnstat \
- --nicelevel ${VNSTATD_NICELEVEL:-0} \
- --exec /usr/sbin/vnstatd -- \
- -d ${VNSTATD_EXTRAOPTS} -p ${VNSTATD_PIDFILE}
- eend $?
-}
-
-stop() {
- ebegin "Stopping vnstatd"
- start-stop-daemon --stop --quiet \
- --pidfile "${VNSTATD_PIDFILE}"
- eend $?
-}
-
-reload() {
- ebegin "Reloading vnstatd configuration"
- kill -HUP $(< "${VNSTATD_PIDFILE}") &>/dev/null
- eend $?
-}