From 0ff008e3c9dcc5ef088f481dfff3dcd121575598 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Wed, 27 Aug 2014 05:07:26 -0300 Subject: move some packages from [social] to [pcr] and remove unused [social] --- social/olsrd/PKGBUILD | 30 ------------------------------ social/olsrd/olsrd.install | 21 --------------------- social/olsrd/rc.d.olsrd | 36 ------------------------------------ 3 files changed, 87 deletions(-) delete mode 100644 social/olsrd/PKGBUILD delete mode 100644 social/olsrd/olsrd.install delete mode 100644 social/olsrd/rc.d.olsrd (limited to 'social/olsrd') diff --git a/social/olsrd/PKGBUILD b/social/olsrd/PKGBUILD deleted file mode 100644 index bb15319e6..000000000 --- a/social/olsrd/PKGBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Contributor (Arch): William Rea -# Maintainer (Arch): Claudio Pisa -pkgname=olsrd -pkgver="0.6.1" -pkgrel=1 -pkgdesc="OLSR routing daemon (RFC 3626)" -arch=(i686 x86_64 ppc) -url="http://www.olsr.org" -license=('BSD') -depends=('glibc') -makedepends=('bison') -backup=(etc/olsrd.conf) -install=(olsrd.install) -source=(http://www.olsr.org/releases/0.6/${pkgname}-${pkgver}.tar.bz2 rc.d.olsrd) -md5sums=('a75fc9b6252df5b5f49f13418fafeff1' 'bc3e393e0179ffff0a6d6c9d6a5c4b60') - -build() { - cd $srcdir/$pkgname-$pkgver - - make OS=linux build_all -} - -package() { - cd $srcdir/$pkgname-$pkgver - make DESTDIR=$pkgdir install_all - - install -D -m755 $srcdir/rc.d.olsrd $pkgdir/etc/rc.d/olsrd - install -D -m644 license.txt $pkgdir/usr/share/licenses/olsrd/LICENSE -} - diff --git a/social/olsrd/olsrd.install b/social/olsrd/olsrd.install deleted file mode 100644 index f49372538..000000000 --- a/social/olsrd/olsrd.install +++ /dev/null @@ -1,21 +0,0 @@ -post_install() { -echo "--------------------------------------------------------------------" -echo " Remember to edit /etc/olsrd.conf to match your network settings." -echo "--------------------------------------------------------------------" -/bin/true -} - -post_upgrade() { -/bin/true -} - -pre_remove() { -/etc/rc.d/olsrd stop -/bin/true -} - -op=$1 -shift - -$op "$@" - diff --git a/social/olsrd/rc.d.olsrd b/social/olsrd/rc.d.olsrd deleted file mode 100644 index d257e22ef..000000000 --- a/social/olsrd/rc.d.olsrd +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -PID=`pidof -o %PPID /usr/sbin/olsrd` -case "$1" in - start) - stat_busy "Starting OLSR Daemon" - [ -z "$PID" ] && /usr/sbin/olsrd -d 0 &> /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon olsrd - stat_done - fi - ;; - stop) - stat_busy "Stopping OLSR Daemon" - [ ! -z "$PID" ] && kill $PID &> /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon olsrd - stat_done - fi - ;; - restart) - $0 stop - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 - -- cgit v1.2.3