diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2012-09-21 13:11:35 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2012-09-21 13:11:35 +0000 |
commit | 4dc8e9a4731604efdc0f0b7de6a0a11af32aad72 (patch) | |
tree | 9173ad11e58b40d9b15ab90ea456356c7ac3efb6 /testing | |
parent | c54061eba5ff03c2503cc2951ae38095230f649e (diff) | |
download | aports-4dc8e9a4731604efdc0f0b7de6a0a11af32aad72.tar.bz2 aports-4dc8e9a4731604efdc0f0b7de6a0a11af32aad72.tar.xz |
testing/open-lldp: promote to main
Diffstat (limited to 'testing')
-rw-r--r-- | testing/open-lldp/APKBUILD | 52 | ||||
-rw-r--r-- | testing/open-lldp/open-lldp.confd | 2 | ||||
-rwxr-xr-x | testing/open-lldp/open-lldp.initd | 24 |
3 files changed, 0 insertions, 78 deletions
diff --git a/testing/open-lldp/APKBUILD b/testing/open-lldp/APKBUILD deleted file mode 100644 index 75d6230bbc..0000000000 --- a/testing/open-lldp/APKBUILD +++ /dev/null @@ -1,52 +0,0 @@ -# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> -pkgname=open-lldp -_realname=lldpad -pkgver=0.9.45 -pkgrel=0 -pkgdesc="Open Source implementation of the IEEE standard 802.1AB Link Layer Discovery Protocol (LLDP)" -url="http://www.open-lldp.org" -arch="all" -license="GPL" -depends= -makedepends="autoconf automake bash flex libtool libconfig-dev libnl-dev - readline-dev" -install= -subpackages="$pkgname-dev $pkgname-doc" -source="http://www.open-lldp.org/open-lldp/downloads/$_realname-$pkgver.tar.gz - $pkgname.initd - $pkgname.confd" - -_builddir="$srcdir/$pkgname" - -prepare() { - cd "$_builddir" - sed -i 's/ln -T -s/ln -s/' Makefile.am || exit 1 - #sed -i 's/ln -T -s/ln -s/' Makefile.in || exit 1 - sed -i 's/-Werror //' configure.ac || exit 1 -} - -build() { - cd "$_builddir" - ./bootstrap.sh || return 1 - # aclocal -W all && automake -W all && autoconf -W all - ./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 - mkdir -p "$pkgdir"/usr/include/dcbd - # ln -s /usr/include/lldpad "$pkgdir"/usr/include/dcbd - ln -s /usr/include/lldpad/lldp_dcbx_cmds.h "$pkgdir"/usr/include/dcbd/clif_cmds.h - install -m755 -D ../../$pkgname.initd "$pkgdir"/etc/init.d/$_realname - install -m644 -D ../../$pkgname.confd "$pkgdir"/etc/conf.d/$_realname - find "$pkgdir" -name *.la -delete -} - -md5sums="804b9385ac06689358be34b8adbb9c44 lldpad-0.9.45.tar.gz -4d226f4520fec36afee8e6b6eebf46f1 open-lldp.initd -a1d2e351028d39193fc0a3466ba4db33 open-lldp.confd" diff --git a/testing/open-lldp/open-lldp.confd b/testing/open-lldp/open-lldp.confd deleted file mode 100644 index a4d4b1de80..0000000000 --- a/testing/open-lldp/open-lldp.confd +++ /dev/null @@ -1,2 +0,0 @@ -# Remove existing pid file at startup -OPTS="-d -f /etc/lldpad.conf" diff --git a/testing/open-lldp/open-lldp.initd b/testing/open-lldp/open-lldp.initd deleted file mode 100755 index ed9807d514..0000000000 --- a/testing/open-lldp/open-lldp.initd +++ /dev/null @@ -1,24 +0,0 @@ -#!/sbin/runscript - -NAME="lldpad" -DAEMON="/usr/sbin/$NAME" -pidfile=/var/run/$NAME.pid - -depend() { - need net - after firewall -} - -start() { - ebegin "Starting ${NAME}" - start-stop-daemon --start --quiet --pidfile ${pidfile} \ - --exec ${DAEMON} -- ${OPTS} - eend $? -} - -stop() { - ebegin "Stopping ${NAME}" - start-stop-daemon --stop --exec ${DAEMON} - eend $? -} - |