diff options
| author | Leo <thinkabit.ukim@gmail.com> | 2020-04-14 00:33:23 -0300 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2020-04-14 00:33:23 -0300 |
| commit | cde75e5c50283f56c9fbe1397d35a3691195dba8 (patch) | |
| tree | 8801bccdeb8f839d4d43be5f37d5e5725e3ef678 /testing/rrdbot | |
| parent | 6ea4b1d647237f0d0e82b1f8f9f39916f840ba33 (diff) | |
| download | aports-cde75e5c50283f56c9fbe1397d35a3691195dba8.tar.bz2 aports-cde75e5c50283f56c9fbe1397d35a3691195dba8.tar.xz | |
unmaintained/rrdbot: move from testing
Upstream is completely dead, the distfiles don't fetch anymore
Diffstat (limited to 'testing/rrdbot')
| -rw-r--r-- | testing/rrdbot/APKBUILD | 47 | ||||
| -rw-r--r-- | testing/rrdbot/rrdbot.post-install | 4 | ||||
| -rw-r--r-- | testing/rrdbot/rrdbot.pre-install | 6 | ||||
| -rw-r--r-- | testing/rrdbot/rrdbotd.confd | 7 | ||||
| -rw-r--r-- | testing/rrdbot/rrdbotd.initd | 28 |
5 files changed, 0 insertions, 92 deletions
diff --git a/testing/rrdbot/APKBUILD b/testing/rrdbot/APKBUILD deleted file mode 100644 index 61f95ecf9e..0000000000 --- a/testing/rrdbot/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=rrdbot -pkgver=0.9.7 -pkgrel=2 -pkgdesc="An SNMP polling daemon which writes the polled values to an RRD database" -url="http://thewalter.net/stef/software/rrdbot/" -arch="" -license="BSD" -depends="" -makedepends="rrdtool-dev" -install="$pkgname.pre-install $pkgname.post-install" -subpackages="$pkgname-doc" -source="http://thewalter.net/stef/software/rrdbot/rrdbot-$pkgver.tar.gz - rrdbotd.initd - rrdbotd.confd - " - -# append extra dependencies to -dev subpackage -# remove if not used. -# depends_dev="somepackage-dev" - -builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - default_prepare || return 1 - update_config_guess || return 1 -} - -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 -m755 -D "$srcdir"/rrdbotd.initd \ - "$pkgdir"/etc/init.d/rrdbotd || return 1 - install -m644 -D "$srcdir"/rrdbotd.confd \ - "$pkgdir"/etc/conf.d/rrdbotd || return 1 -} - diff --git a/testing/rrdbot/rrdbot.post-install b/testing/rrdbot/rrdbot.post-install deleted file mode 100644 index 0586fcd5c5..0000000000 --- a/testing/rrdbot/rrdbot.post-install +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -# add something which happends after install - diff --git a/testing/rrdbot/rrdbot.pre-install b/testing/rrdbot/rrdbot.pre-install deleted file mode 100644 index 4394576a24..0000000000 --- a/testing/rrdbot/rrdbot.pre-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -addgroup -S rrdbotd 2>/dev/null -adduser -S -D -H -s /bin/false -G rrdbotd -g rrdbotd rrdbotd 2>/dev/null - -exit 0 diff --git a/testing/rrdbot/rrdbotd.confd b/testing/rrdbot/rrdbotd.confd deleted file mode 100644 index 486252b03c..0000000000 --- a/testing/rrdbot/rrdbotd.confd +++ /dev/null @@ -1,7 +0,0 @@ -# Sample conf.d file for alpine linux - -# -# Specify daemon options here. -# - -sample_opts="" diff --git a/testing/rrdbot/rrdbotd.initd b/testing/rrdbot/rrdbotd.initd deleted file mode 100644 index 5fae6e8dda..0000000000 --- a/testing/rrdbot/rrdbotd.initd +++ /dev/null @@ -1,28 +0,0 @@ -#!/sbin/runscript - -name=rrdbotd -daemon=/usr/sbin/$name -pidfile=${rrdbotd_pidfile:-/var/run/rrdbotd/rrdbotd.pid} - -depend() { - need net - after firewall -} - -start() { - ebegin "Starting ${name}" - start-stop-daemon --start --quiet \ - --pidfile "$pidfile" \ - --user ${rrdbotd_user:-rrdbotd}:${rrdbotd_group:-rrdbotd} \ - --exec ${daemon} -- ${rrdbotd_opts} -p "$pidfile" - eend $? -} - -stop() { - ebegin "Stopping ${name}" - start-stop-daemon --stop --quiet \ - --pidfile "$pidfile" \ - --exec ${daemon} - eend $? -} - |
