2006-02-23 15:26:10 +00:00
|
|
|
# Description: Full-featured SSL VPN solution
|
|
|
|
# URL: http://openvpn.sourceforge.net/
|
2006-04-13 04:29:47 +00:00
|
|
|
# Maintainer: Jukka Heino, jukka dot heino at gmail dot com
|
|
|
|
# Packager: Jukka Heino, jukka dot heino at gmail dot com
|
2006-05-12 00:54:24 +00:00
|
|
|
# Depends on: lzo, openssl
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=openvpn
|
2006-04-12 14:44:21 +00:00
|
|
|
version=2.0.7
|
2006-02-23 15:26:10 +00:00
|
|
|
release=1
|
|
|
|
source=(http://$name.net/release/$name-$version.tar.gz \
|
|
|
|
$name.conf \
|
|
|
|
$name.rc)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2006-05-12 00:54:24 +00:00
|
|
|
./configure --prefix=/usr
|
2006-02-23 15:26:10 +00:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
install -d $PKG/var/{empty,log,run}
|
|
|
|
install -D -m 0755 $SRC/$name.rc $PKG/etc/rc.d/$name
|
|
|
|
install -D -m 0644 $SRC/$name.conf $PKG/etc/$name/$name.conf
|
|
|
|
touch $PKG/var/{log/openvpn.log,run/openvpn.pid}
|
|
|
|
}
|