aboutsummaryrefslogtreecommitdiffstats
path: root/main/rp-pppoe/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2011-08-29 11:38:31 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2011-08-29 11:38:31 +0000
commit8ba06a905e2a5d3c03d0dfde392dcfe052cd0371 (patch)
treec823de72b1e0b09bafe1f04ab7c654d0e53a39eb /main/rp-pppoe/APKBUILD
parent72c16426eac01b5ad07af6d59f8e8d50c557e1f5 (diff)
downloadaports-8ba06a905e2a5d3c03d0dfde392dcfe052cd0371.tar.bz2
aports-8ba06a905e2a5d3c03d0dfde392dcfe052cd0371.tar.xz
main/rp-pppoe: fixed init script without set/unset ip_forward, added it to post-install script
Diffstat (limited to 'main/rp-pppoe/APKBUILD')
-rw-r--r--main/rp-pppoe/APKBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/main/rp-pppoe/APKBUILD b/main/rp-pppoe/APKBUILD
index 0694c21682..54d951364b 100644
--- a/main/rp-pppoe/APKBUILD
+++ b/main/rp-pppoe/APKBUILD
@@ -2,17 +2,19 @@
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=rp-pppoe
pkgver=3.10
-pkgrel=4
+pkgrel=5
pkgdesc="Roaring Penguin\'s Point-to-Point Protocol over Ethernet client"
url="http://www.roaringpenguin.com/pppoe/"
arch="all"
license="LGPL"
depends=
makedepends="ppp-dev"
-install=
+install="rp-pppoe.post-install"
subpackages="$pkgname-doc"
source="http://www.roaringpenguin.com/files/download/rp-pppoe-$pkgver.tar.gz
- rp-pppoe.initd"
+ rp-pppoe.initd
+ rp-pppoe.post-install
+ "
_builddir="$srcdir"/$pkgname-$pkgver
@@ -28,11 +30,10 @@ build() {
package() {
cd "$_builddir"/src
-
make DESTDIR="$pkgdir" install
-
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
}
md5sums="d58a13cc4185bca6121a606ff456dec0 rp-pppoe-3.10.tar.gz
-851f3a5a2fab28aa3b8999656b565e1c rp-pppoe.initd"
+6e98984f57c7b21735a503259b8e700e rp-pppoe.initd
+3422d42accacbe33f7ac8ffb6a1e19c8 rp-pppoe.post-install"