summaryrefslogtreecommitdiff
path: root/social/olsrd
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-08-27 05:07:26 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-08-27 05:07:26 -0300
commit0ff008e3c9dcc5ef088f481dfff3dcd121575598 (patch)
treed6f6cf5d6939e1f030a48d3711d3606570afd08f /social/olsrd
parented9d1c12bbfcf9cb8b3d53e886edb679df372640 (diff)
downloadabslibre-0ff008e3c9dcc5ef088f481dfff3dcd121575598.tar.gz
abslibre-0ff008e3c9dcc5ef088f481dfff3dcd121575598.tar.bz2
abslibre-0ff008e3c9dcc5ef088f481dfff3dcd121575598.zip
move some packages from [social] to [pcr] and remove unused [social]
Diffstat (limited to 'social/olsrd')
-rw-r--r--social/olsrd/PKGBUILD30
-rw-r--r--social/olsrd/olsrd.install21
-rw-r--r--social/olsrd/rc.d.olsrd36
3 files changed, 0 insertions, 87 deletions
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 <sillywilly@gmail.com>
-# Maintainer (Arch): Claudio Pisa <clauz@ninux.org>
-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
-