aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ifplugd
diff options
context:
space:
mode:
Diffstat (limited to 'testing/ifplugd')
-rw-r--r--testing/ifplugd/APKBUILD57
-rw-r--r--testing/ifplugd/ifplugd.initd32
-rw-r--r--testing/ifplugd/musl-type.patch15
3 files changed, 0 insertions, 104 deletions
diff --git a/testing/ifplugd/APKBUILD b/testing/ifplugd/APKBUILD
deleted file mode 100644
index 109da89bd6..0000000000
--- a/testing/ifplugd/APKBUILD
+++ /dev/null
@@ -1,57 +0,0 @@
-# Contributor: Pablo Castorino <pcastorino@mendoza-conicet.gob.ar>
-# Maintainer:
-pkgname=ifplugd
-pkgver=0.28
-pkgrel=4
-pkgdesc="Detect and take action when an ethernet cable is unplugged"
-url="http://0pointer.de/lennart/projects/ifplugd"
-arch="all"
-license="GPL2+"
-depends=""
-depends_dev="libdaemon-dev"
-makedepends="$depends_dev"
-install=""
-subpackages="$pkgname-doc"
-source="http://dev.alpinelinux.org/archive/ifplugd-$pkgver.tar.gz
- $pkgname.initd
- musl-type.patch"
-
-_builddir="$srcdir/$pkgname-$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 \
- --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --disable-lynx \
- --mandir=/usr/share/man \
- || return 1
- make || return 1
-}
-
-package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
- install -m755 -D "$pkgdir"/etc/init.d/$pkgname "$pkgdir"/usr/sbin/$pkgname-helper
- install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
-}
-
-md5sums="df6f4bab52f46ffd6eb1f5912d4ccee3 ifplugd-0.28.tar.gz
-7d7d45d6cf8edcb46ff18bedf7cfb961 ifplugd.initd
-e96027299ece16ac8e48bf9244d75222 musl-type.patch"
-sha256sums="474754ac4ab32d738cbf2a4a3e87ee0a2c71b9048a38bdcd7df1e4f9fd6541f0 ifplugd-0.28.tar.gz
-f9c9e4872cedca9dc9d68fcba67359f802f1a0b89b85ed983d619b6e55e87372 ifplugd.initd
-29df5d6628ebc22e5ba76591d326e031bd040c8e42d116614aa68a7b0c7430d9 musl-type.patch"
-sha512sums="c606e456f81f224eba9f8912e11fb76b759c160313d1db3c9035775b8c1ca57ca10c88dfb33318ba02f5c025218a377ca78ee160fc3d9a31ac6e95b92f340d4f ifplugd-0.28.tar.gz
-ea0393d2dd0c047d9164881b1fdd4ab4e3581e8758e167a8ae22b2c4b5f361a05dbd126d4c0238204e87322127ebfe70a24b0c9773c3372257180e6cc29a7b1d ifplugd.initd
-bd221a2074c3f4310501d51659dddf9a84ca3d93457abdd176ca7c843ee05909f831d5808832945d6d0442b0246a1e1573fdbbc6e6fd40cae5d2460d41587d32 musl-type.patch"
diff --git a/testing/ifplugd/ifplugd.initd b/testing/ifplugd/ifplugd.initd
deleted file mode 100644
index c5b8ec53d2..0000000000
--- a/testing/ifplugd/ifplugd.initd
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/files/ifplugd.init,v 1.2 2007/02/25 09:57:18 mrness Exp $
-
-depend() {
- need net
- after firewall opennhrp
-}
-
-checkconfig() {
- if [ ! -e /etc/ifplugd/ifplugd.conf ] ; then
- eerror "You need to create /etc/ifplugd/ifplugd.conf first."
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting ifplugd"
- sh /usr/sbin/ifplugd-helper start
- result=$?
- eend $result
-}
-
-stop() {
- ebegin "Stopping ifplugd"
- sh /usr/sbin/ifplugd-helper stop
- result=$?
- eend $result
-}
diff --git a/testing/ifplugd/musl-type.patch b/testing/ifplugd/musl-type.patch
deleted file mode 100644
index fa8a232cec..0000000000
--- a/testing/ifplugd/musl-type.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- a/src/ethtool-local.h.orig
-+++ b/src/ethtool-local.h
-@@ -22,9 +22,9 @@
- */
-
- typedef unsigned long long u64;
--typedef __uint32_t u32;
--typedef __uint16_t u16;
--typedef __uint8_t u8;
-+typedef uint32_t u32;
-+typedef uint16_t u16;
-+typedef uint8_t u8;
-
- #include "ethtool-kernel.h"
-