summaryrefslogtreecommitdiff
path: root/social
diff options
context:
space:
mode:
authoraurelien <aurelien@cwb.io>2013-09-23 10:33:22 +0200
committeraurelien <aurelien@cwb.io>2013-09-23 10:33:22 +0200
commit2735c9d273c54b555681f30f5c685998fed7b484 (patch)
treef8172dbea44d1c4751a99a62fb236a14c9d2dc20 /social
parentd78a32a6ccb8663a62a093b54e947e2efc840fe0 (diff)
parent97f65e06566f3bb15bc7395624017b8e6ca0d043 (diff)
downloadabslibre-2735c9d273c54b555681f30f5c685998fed7b484.tar.gz
abslibre-2735c9d273c54b555681f30f5c685998fed7b484.tar.bz2
abslibre-2735c9d273c54b555681f30f5c685998fed7b484.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'social')
-rw-r--r--social/asterisk/PKGBUILD41
-rw-r--r--social/asterisk/asterisk38
-rw-r--r--social/asterisk/asterisk.install38
-rw-r--r--social/asterisk/asterisk.logrotated10
-rw-r--r--social/miniupnpc/PKGBUILD22
-rw-r--r--social/openswan/PKGBUILD46
-rw-r--r--social/openswan/compile.patch11
-rw-r--r--social/openswan/openswan.rc.d43
-rw-r--r--social/sipwitch/PKGBUILD2
-rw-r--r--social/tomb/PKGBUILD30
-rw-r--r--social/tomb/tomb.install13
11 files changed, 1 insertions, 293 deletions
diff --git a/social/asterisk/PKGBUILD b/social/asterisk/PKGBUILD
deleted file mode 100644
index 896d5bacf..000000000
--- a/social/asterisk/PKGBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# Contributor: Alessio Biancalana <dottorblaster@gmail.com>
-
-pkgname=asterisk
-pkgver=10.9.0
-pkgrel=1
-pkgdesc="A complete PBX solution"
-arch=('i686' 'x86_64')
-url="http://www.asterisk.org"
-license=('GPL')
-depends=('alsa-lib' 'speex' 'popt' 'libvorbis' 'curl')
-makedepends=('postgresql' 'unixodbc' 'sqlite3')
-optdepends=('libpri' 'libss7' 'openr2' 'iksemel')
-backup=(etc/asterisk/asterisk.conf)
-source=(http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-$pkgver.tar.gz \
- asterisk \
- asterisk.logrotated)
-install=$pkgname.install
-md5sums=('2fb85dc753584ac13692c27f9749c6cb'
- '59146273738605f1e011d8e7bed3561a'
- '486e07a0a1405ea25ec5b1736034653e')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
- make
-}
-
-package(){
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
- make DESTDIR=${pkgdir} samples
-
- (cd ${pkgdir}/etc/asterisk
-# for i in `ls`; do [ $i = "asterisk.conf" ] || mv $i $i.default; done
-ls -I asterisk.conf | xargs -I '{}' mv '{}' '{}.default')
-# cp ${srcdir}/modules.conf modules.conf
- sed -i -e "s/\/var\/run/\/var\/run\/asterisk/" $startdir/pkg/etc/asterisk/asterisk.conf
-
- install -D -m 755 ${srcdir}/asterisk ${pkgdir}/etc/rc.d/asterisk
- install -D -m 644 ${srcdir}/asterisk.logrotated ${pkgdir}/etc/logrotate.d/asterisk
- }
diff --git a/social/asterisk/asterisk b/social/asterisk/asterisk
deleted file mode 100644
index f823caefc..000000000
--- a/social/asterisk/asterisk
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/bash
-
-# general config
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/sbin/asterisk`
-case "$1" in
- start)
- stat_busy "Starting Asterisk"
- [ -z "$PID" ] && cd /var/lib/asterisk && /usr/sbin/asterisk -G asterisk -U asterisk
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon asterisk
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Asterisk"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm -f /var/run/asterisk/asterisk.pid &>/dev/null
- rm_daemon asterisk
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 2
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/social/asterisk/asterisk.install b/social/asterisk/asterisk.install
deleted file mode 100644
index 1a3b998b7..000000000
--- a/social/asterisk/asterisk.install
+++ /dev/null
@@ -1,38 +0,0 @@
-post_install() {
- echo -n "adding asterisk system group... "
- groupadd -g 5060 asterisk && echo "done."
- echo -n "adding asterisk system user... "
- useradd -c "Asterisk daemon" -u 5060 -d /var/lib/asterisk -g asterisk -s /bin/false asterisk \
- && echo "done."
- passwd -l asterisk &>/dev/null
- chown -R asterisk:asterisk /var/run/asterisk
- chown -R asterisk:asterisk /var/log/asterisk
- chown -R asterisk:asterisk /var/spool/asterisk
- chown -R asterisk:asterisk /var/lib/asterisk
-
-cat << EOF
->>>
->>> To get Music on Hold working do pacman -S mpg123
->>> To get the postgresql, unixodbc or sqlite2 modules working
->>> download the respective package and modify modules.conf to reflect
->>> your changes.
->>>
-EOF
-
-}
-
-post_upgrade() {
- if grep asterisk /etc/passwd &>/dev/null; then
- /bin/true
- else
- post_install $1
- fi
-}
-
-post_remove() {
- echo -n -e "\nremoving asterisk system user... "
- userdel asterisk && echo "done."
-}
-op=$1
-shift
-$op $*
diff --git a/social/asterisk/asterisk.logrotated b/social/asterisk/asterisk.logrotated
deleted file mode 100644
index f03d0acd3..000000000
--- a/social/asterisk/asterisk.logrotated
+++ /dev/null
@@ -1,10 +0,0 @@
-/var/log/asterisk/*_log /var/log/asterisk/messages {
- create 640 asterisk asterisk
- compress
- missingok
- notifempty
- postrotate
- /usr/sbin/asterisk -rx "logger reload" 1>/dev/null || true
- endscript
-}
-
diff --git a/social/miniupnpc/PKGBUILD b/social/miniupnpc/PKGBUILD
deleted file mode 100644
index a28b9842f..000000000
--- a/social/miniupnpc/PKGBUILD
+++ /dev/null
@@ -1,22 +0,0 @@
-# Contributor: Florian Loitsch <archlinux@florian.loitsch.com>
-pkgname=miniupnpc
-pkgver=1.7.20120830
-pkgrel=1
-pkgdesc='A small UPnP client library/tool to access Internet Gateway Devices'
-arch=('i686' 'x86_64' 'mips64el')
-url="http://miniupnp.free.fr"
-license=('BSD')
-depends=('sh')
-source=("http://miniupnp.free.fr/files/$pkgname-$pkgver.tar.gz")
-md5sums=('c74b24b906e11860005fc425b4979fe6')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- make
-}
-
-package(){
- cd $srcdir/$pkgname-$pkgver
- make INSTALLPREFIX=$pkgdir/usr install
- install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-}
diff --git a/social/openswan/PKGBUILD b/social/openswan/PKGBUILD
deleted file mode 100644
index b60ca8401..000000000
--- a/social/openswan/PKGBUILD
+++ /dev/null
@@ -1,46 +0,0 @@
-# Contributor: Jan Fader <jan.fader@web.de>
-pkgname=openswan
-pkgver=2.6.36
-pkgrel=1
-pkgdesc="Open Source implementation of IPsec for the Linux operating system"
-url="http://www.openswan.org"
-license=('GPL' 'custom')
-arch=('i686' 'x86_64')
-depends=('iproute' 'gmp' 'perl')
-backup=(etc/ipsec.conf \
- etc/ipsec.d/policies/{block,clear,clear-or-private,private,private-or-clear})
-source=(http://www.openswan.org/download/openswan-$pkgver.tar.gz
- openswan.rc.d
- compile.patch)
-
-build() {
- # Create /etc/rc.d for init script, and license directory
- mkdir -p $pkgdir/{etc/rc.d,usr/share/licenses/openswan}
-
- cd $srcdir/openswan-$pkgver
- patch -p1 -i $srcdir/compile.patch
-
- # Change install paths to Arch defaults
- sed -i 's|/usr/local|/usr|;s|libexec/ipsec|lib/openswan|' Makefile.inc
-
- make USE_XAUTH=true USE_OBJDIR=true programs
-}
-
-package(){
- cd $srcdir/openswan-$pkgver
- make DESTDIR=$pkgdir install
-
- # Change permissions in /var
- chmod 755 $pkgdir/var/run/pluto
-
- # Copy License
- cp LICENSE $pkgdir/usr/share/licenses/openswan
-
- # Install init script
- install -Dm755 ../openswan.rc.d $pkgdir/etc/rc.d/openswan
- # fix manpages
- mv $pkgdir/usr/man $pkgdir/usr/share/
-}
-md5sums=('b3a1733493520bb18729633b62ef8247'
- '543d84162761b9cc9ec319e938c4dd2a'
- '5540437bb334873da646e21ac9caa963')
diff --git a/social/openswan/compile.patch b/social/openswan/compile.patch
deleted file mode 100644
index 8ddff67f2..000000000
--- a/social/openswan/compile.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- openswan-2.6.23/Makefile 2009-09-09 02:42:54.000000000 +0200
-+++ Makefile 2009-12-30 10:13:53.000000000 +0100
-@@ -12,6 +12,8 @@
- # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- # for more details.
- #
-+CFLAGS=-fno-strict-aliasing
-+CXXFLAGS=-fno-strict-aliasing
-
-
- OPENSWANSRCDIR?=$(shell pwd)
diff --git a/social/openswan/openswan.rc.d b/social/openswan/openswan.rc.d
deleted file mode 100644
index 30bd0d56e..000000000
--- a/social/openswan/openswan.rc.d
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
- stat_busy "Starting Openswan IPsec"
- /etc/rc.d/ipsec --start
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- add_daemon openswan
- fi
- ;;
- stop)
- stat_busy "Stopping Openswan IPsec"
- /etc/rc.d/ipsec --stop
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- rm_daemon openswan
- fi
- ;;
- restart)
- stat_busy "Restarting Openswan IPsec"
- /etc/rc.d/ipsec --restart
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- add_daemon openswan
- fi
- ;;
- status)
- /etc/rc.d/ipsec --status
- ;;
- *)
- echo "usage: $0 {start|stop|restart|status}"
-esac
-
diff --git a/social/sipwitch/PKGBUILD b/social/sipwitch/PKGBUILD
index 8cb84fad5..6ab789ccc 100644
--- a/social/sipwitch/PKGBUILD
+++ b/social/sipwitch/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Dan Serban
# Contributors: David Zaragoza, Andrea Scarpino
-# Maintainer (Parabola): André Silva <andre.paulista@adinet.com.uy>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
pkgname=sipwitch
pkgver=1.2.4
diff --git a/social/tomb/PKGBUILD b/social/tomb/PKGBUILD
deleted file mode 100644
index a0ac0334f..000000000
--- a/social/tomb/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-## PKGBUILD [bash]
-# Maintainer: nignux <nignux@freaknet.org>
-
-pkgname=tomb
-pkgver=1.2
-pkgrel=1
-pkgdesc="Crypto Undertaker, simple tool to manage encrypted storage, from the hashes of the dyne:bolic nesting mechanism."
-arch=('i686' 'x86_64' 'mips64el')
-url="http://tomb.dyne.org"
-license=('GPL3')
-depends=('bc' 'cryptsetup' 'gnupg' 'gtk2' 'libnotify' 'sudo' 'zsh' 'steghide'
- 'dcfldd' 'wipe')
-makedepends=('autoconf')
-provides=('tomb')
-install=${pkgname}.install
-source=(https://github.com/dyne/Tomb/tarball/v1.2)
-md5sums=('30fb11ef26355a1828933b13ee265924')
-
-build() {
- cd ${srcdir}/dyne-Tomb-ddd9331
- autoreconf -i
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd ${srcdir}/dyne-Tomb-ddd9331
- make DESTDIR=${pkgdir} install
-}
-
diff --git a/social/tomb/tomb.install b/social/tomb/tomb.install
deleted file mode 100644
index c1ee8b339..000000000
--- a/social/tomb/tomb.install
+++ /dev/null
@@ -1,13 +0,0 @@
-post_install() {
- update-desktop-database -q
- update-mime-database usr/share/mime
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}
-