summaryrefslogtreecommitdiff
path: root/testing/openvpn
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-01-09 10:55:19 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-01-09 10:55:19 -0300
commit149750d28420a7b59fab5501ab9aaca095f6fa46 (patch)
treeb263a29e10663635bb00dff7dde4c7c7ac8f30d7 /testing/openvpn
parent1c0a9e2b2298f550629181080e63053fcb440743 (diff)
parent7a3611f5caa5e34c1f2b582640f97b733110ae63 (diff)
Lots of removed PKGBUILDs, kept mplayer2
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el Conflicts: community-testing/vdrift/PKGBUILD community/acpitool/PKGBUILD community/amaya/PKGBUILD community/apparix/PKGBUILD community/avant-window-navigator/PKGBUILD community/awn-extras-applets/PKGBUILD community/bmpanel/PKGBUILD community/clipgrab/PKGBUILD community/compizconfig-backend-kconfig4/PKGBUILD community/conkeror-git/PKGBUILD community/cross-arm-elf-binutils/PKGBUILD community/cross-arm-elf-gcc-base/PKGBUILD community/cross-arm-wince-cegcc-binutils/PKGBUILD community/cross-arm-wince-cegcc-cegccdll-dummy/PKGBUILD community/cross-arm-wince-cegcc-cegccdll/PKGBUILD community/cross-arm-wince-cegcc-cegccthrddll/PKGBUILD community/cross-arm-wince-cegcc-gcc-base/PKGBUILD community/cross-arm-wince-cegcc-gcc/PKGBUILD community/cross-arm-wince-cegcc-libstdcppdll/PKGBUILD community/cross-arm-wince-cegcc-newlib/PKGBUILD community/cross-arm-wince-cegcc-profile/PKGBUILD community/cross-arm-wince-cegcc-w32api/PKGBUILD community/dar/PKGBUILD community/driftnet/PKGBUILD community/duff/PKGBUILD community/dvdstyler/PKGBUILD community/eiciel/PKGBUILD community/emesene/PKGBUILD community/eterm/PKGBUILD community/extrema/PKGBUILD community/fail2ban/PKGBUILD community/fgetty/PKGBUILD community/fio/PKGBUILD community/flvstreamer/PKGBUILD community/fotoxx/PKGBUILD community/ghdl/PKGBUILD community/gnofract4d/PKGBUILD community/gnome-do/PKGBUILD community/grass/PKGBUILD community/gri/PKGBUILD community/gromacs/PKGBUILD community/gtk-gnutella/PKGBUILD community/gtk-rezlooks-engine/PKGBUILD community/handbrake/PKGBUILD community/jogl/PKGBUILD community/kydpdict/PKGBUILD community/libast/PKGBUILD community/libcgi/PKGBUILD community/libxnvctrl/PKGBUILD community/mhwaveedit/PKGBUILD community/microblog-purple/PKGBUILD community/mms_client/PKGBUILD community/mplayer2/PKGBUILD community/multiget/PKGBUILD community/multimux/PKGBUILD community/musescore/PKGBUILD community/mysql-ruby/PKGBUILD community/mysql-workbench/PKGBUILD community/nas/PKGBUILD community/ocaml-extlib/PKGBUILD community/ocaml-ounit/PKGBUILD community/paraview/fix-boost-graph-api-changes.diff community/pcb/PKGBUILD community/pdftrans/PKGBUILD community/python-daap/PKGBUILD community/python2-cheetah/PKGBUILD community/qdevelop/PKGBUILD community/qtoctave/PKGBUILD community/rep-gtk/PKGBUILD community/sauerbraten/PKGBUILD community/sawfish/PKGBUILD community/scilab/PKGBUILD community/superswitcher/PKGBUILD community/tagtool/PKGBUILD community/tora/PKGBUILD community/wml/PKGBUILD community/wxsvg/PKGBUILD community/xskat/PKGBUILD core/eglibc/glibc.install core/eglibc/locale-gen core/eglibc/locale.gen.txt core/eglibc/nscd core/syslog-ng/PKGBUILD extra/blender/PKGBUILD extra/cups/PKGBUILD extra/hplip/PKGBUILD extra/kile/PKGBUILD extra/monodevelop-debugger-mdb/PKGBUILD extra/perl-ev/PKGBUILD multilib/lib32-qt/PKGBUILD testing/kaffeine/kaffeine.install testing/kdebase-runtime/PKGBUILD testing/kdebase-runtime/kdebase-runtime.install testing/kdebase-runtime/libqzeitgeist08.patch testing/libdrm/PKGBUILD testing/libdrm/no-pthread-stubs.patch
Diffstat (limited to 'testing/openvpn')
-rw-r--r--testing/openvpn/PKGBUILD72
-rw-r--r--testing/openvpn/openvpn-tapdev.conf12
-rwxr-xr-xtesting/openvpn/openvpn-tapdev.rc40
-rwxr-xr-xtesting/openvpn/openvpn.rc43
4 files changed, 0 insertions, 167 deletions
diff --git a/testing/openvpn/PKGBUILD b/testing/openvpn/PKGBUILD
deleted file mode 100644
index 7e7705243..000000000
--- a/testing/openvpn/PKGBUILD
+++ /dev/null
@@ -1,72 +0,0 @@
-# $Id: PKGBUILD 145902 2012-01-03 21:27:30Z thomas $
-# Maintainer: Thomas Bächler <thomas@archlinux.org>
-
-pkgname=openvpn
-pkgver=2.2.2
-pkgrel=1
-pkgdesc="An easy-to-use, robust, and highly configurable VPN (Virtual Private Network)"
-arch=(i686 x86_64)
-url="http://openvpn.net/index.php/open-source.html"
-depends=('openssl' 'lzo2' 'iproute2')
-license=('custom')
-backup=(usr/share/openvpn/easy-rsa/vars
- usr/share/openvpn/easy-rsa/openssl-1.0.0.cnf
- etc/conf.d/openvpn-tapdev)
-source=(http://swupdate.openvpn.net/community/releases/openvpn-${pkgver}.tar.gz
- http://swupdate.openvpn.net/community/releases/openvpn-${pkgver}.tar.gz.asc
- openvpn.rc
- openvpn-tapdev.rc
- openvpn-tapdev.conf)
-md5sums=('c5181e27b7945fa6276d21873329c5c7'
- '81ff11ec8cd9fc3c8bc646aae24c4298'
- 'a3809b9727f0c2af2d0770f5c7442db2'
- 'd2c48e970088d679dd3c2afd914ff731'
- '722f483c9e3ce2ec66d3301aaf7cf3d5')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- # Build openvpn
- CFLAGS="$CFLAGS -DPLUGIN_LIBDIR=\\\"/usr/lib/openvpn\\\"" ./configure \
- --prefix=/usr \
- --enable-password-save \
- --mandir=/usr/share/man \
- --enable-iproute2
- make
-
- # Build plugins
- for plug in auth-pam down-root; do
- cd $srcdir/$pkgname-$pkgver/plugin/$plug
- make
- done
-}
-
-package() {
- cd $srcdir/$pkgname-$pkgver
- # Install openvpn
- make DESTDIR=$pkgdir install
- install -d -m755 $pkgdir/etc/openvpn
- # Install examples
- install -d -m755 $pkgdir/usr/share/openvpn
- cp -r sample-config-files $pkgdir/usr/share/openvpn/examples
- find $pkgdir/usr/share/openvpn -type f -exec chmod 644 {} \;
- find $pkgdir/usr/share/openvpn -type d -exec chmod 755 {} \;
- # Install license
- install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
- # Install plugins
- for plug in auth-pam down-root; do
- cd $srcdir/$pkgname-$pkgver/plugin/$plug
- install -D -m755 openvpn-$plug.so $pkgdir/usr/lib/openvpn/openvpn-$plug.so
- cd -
- done
- # Install contrib
- install -d -m755 $pkgdir/usr/share/openvpn/contrib
- cp -r contrib $pkgdir/usr/share/openvpn
- # Install easy-rsa
- cd $srcdir/$pkgname-$pkgver
- make -C easy-rsa/2.0 install DESTDIR=$pkgdir PREFIX=usr/share/openvpn/easy-rsa
- rm -f ${pkgdir}/usr/share/openvpn/easy-rsa/openssl-0.9.?.cnf
- # Install rc scripts
- install -D -m755 $srcdir/openvpn.rc $pkgdir/etc/rc.d/openvpn
- install -D -m755 $srcdir/openvpn-tapdev.rc $pkgdir/etc/rc.d/openvpn-tapdev
- install -D -m644 $srcdir/openvpn-tapdev.conf $pkgdir/etc/conf.d/openvpn-tapdev
-}
diff --git a/testing/openvpn/openvpn-tapdev.conf b/testing/openvpn/openvpn-tapdev.conf
deleted file mode 100644
index afa5586dd..000000000
--- a/testing/openvpn/openvpn-tapdev.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-#
-# /etc/conf.d/openvpn-tapdev
-#
-# Place openvpn-tapdev before network into your DAEMONS array
-# This will create permanent tap devices which you can use for bridging
-#
-# Example:
-# TAPDEVS="work home"
-# Will create two tap devices "work" and "home"
-#
-
-TAPDEVS=""
diff --git a/testing/openvpn/openvpn-tapdev.rc b/testing/openvpn/openvpn-tapdev.rc
deleted file mode 100755
index 2c51f8248..000000000
--- a/testing/openvpn/openvpn-tapdev.rc
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-. /etc/conf.d/openvpn-tapdev
-
-case "$1" in
- start)
- stat_busy "Creating tap devices for OpenVPN ... "
- success=0
- for tapdev in ${TAPDEVS}; do
- stat_append "${tapdev} "
- /usr/sbin/openvpn --mktun --dev-type tap --dev ${tapdev} >/dev/null 2>&1 || success=$?
- done
- if [ $success -eq 0 ]; then
- add_daemon openvpn-tapdev
- stat_done
- else
- stat_fail
- fi
- ;;
- stop)
- stat_busy "Destroying tap devices for OpenVPN ..."
- for tapdev in ${TAPDEVS}; do
- stat_append "${tapdev} "
- /usr/sbin/openvpn --rmtun --dev-type tap --dev ${tapdev} >/dev/null 2>&1 || success=$?
- done
- rm_daemon openvpn-tapdev
- stat_done
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/testing/openvpn/openvpn.rc b/testing/openvpn/openvpn.rc
deleted file mode 100755
index 96c28b641..000000000
--- a/testing/openvpn/openvpn.rc
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-CFGDIR="/etc/openvpn"
-STATEDIR="/var/run/openvpn"
-
-case "$1" in
- start)
- stat_busy "Starting OpenVPN ... "
- success=0
- mkdir -p "${STATEDIR}"
- for cfg in "${CFGDIR}"/*.conf; do
- stat_append "$(basename "${cfg}" .conf) "
- /usr/sbin/openvpn --daemon --writepid "${STATEDIR}"/"$(basename "${cfg}" .conf)".pid --cd "${CFGDIR}" --config "${cfg}" || success=$?
- done
- if [ $success -eq 0 ]; then
- add_daemon openvpn
- stat_done
- else
- stat_fail
- fi
- ;;
- stop)
- stat_busy "Stopping OpenVPN ..."
- for pidfile in "${STATEDIR}"/*.pid; do
- stat_append "$(basename "${pidfile}" .pid) "
- kill $(cat "${pidfile}" 2>/dev/null) 2>/dev/null
- rm -f "${pidfile}"
- done
- rm_daemon openvpn
- stat_done
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0