[arch-commits] Commit in rp-pppoe/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Mon Jan 25 23:18:22 UTC 2021
Date: Monday, January 25, 2021 @ 23:18:21
Author: felixonmars
Revision: 406756
archrelease: copy trunk to testing-x86_64
Added:
rp-pppoe/repos/testing-x86_64/
rp-pppoe/repos/testing-x86_64/PKGBUILD
(from rev 406755, rp-pppoe/trunk/PKGBUILD)
rp-pppoe/repos/testing-x86_64/adsl.service
(from rev 406755, rp-pppoe/trunk/adsl.service)
rp-pppoe/repos/testing-x86_64/rp-pppoe.install
(from rev 406755, rp-pppoe/trunk/rp-pppoe.install)
------------------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
adsl.service | 10 ++++++++++
rp-pppoe.install | 12 ++++++++++++
3 files changed, 59 insertions(+)
Copied: rp-pppoe/repos/testing-x86_64/PKGBUILD (from rev 406755, rp-pppoe/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2021-01-25 23:18:21 UTC (rev 406756)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Isenmann <daniel at archlinux.org>
+# Contributor: orelien <aurelien.foret at wanadoo.fr>
+
+pkgname=rp-pppoe
+pkgver=3.14
+pkgrel=2
+pkgdesc="Roaring Penguin's Point-to-Point Protocol over Ethernet client"
+arch=('x86_64')
+url="https://dianne.skoll.ca/projects/rp-pppoe"
+license=('GPL')
+depends=('ppp=2.4.8' 'sh' 'net-tools')
+backup=(etc/ppp/pppoe.conf etc/ppp/firewall-standalone etc/ppp/firewall-masq
+ etc/ppp/pppoe-server-options)
+options=('!makeflags')
+install=rp-pppoe.install
+source=(https://dianne.skoll.ca/projects/rp-pppoe/download/rp-pppoe-$pkgver.tar.gz{,.sig}
+ adsl.service)
+validpgpkeys=('FC2E9B645468698FD7B21655C1842E2A126F42E0' # Dianne Skoll <dfs at roaringpenguin.com>
+ '738E4D954052902C147D07B2685A5A5E511D30E2') # Dianne Skoll <dianne at skoll.ca>
+sha512sums=('0fa26e9478d387d4752ab85837dab9d1464f27c1ca832bad265deb01b5c3565aa341e3c75278b43a56aed466f02861af11b3bc64bae932a13cb103c4f0b91a29'
+ 'SKIP'
+ '75fdb55b872e6388053aa0c1ba0b98ab9eda6b6f59a7452843cff8de5a68276be3f48dbd9a6324917254d4fe0d1b2d7442f7a9bbfa1355b6f500db13c9409089')
+
+build() {
+ cd $pkgname-$pkgver/src
+ ./configure --prefix=/usr --sbindir=/usr/bin --enable-plugin
+ make PLUGIN_DIR="/usr/lib/rp-pppoe" all rp-pppoe.so
+}
+
+package() {
+ cd $pkgname-$pkgver/src
+ make PLUGIN_DIR="/usr/lib/rp-pppoe" DESTDIR="$pkgdir" install
+
+ #install -Dm755 "$srcdir/adsl" "$pkgdir/etc/rc.d/adsl"
+ install -Dm644 "$srcdir/adsl.service" "$pkgdir/usr/lib/systemd/system/adsl.service"
+}
Copied: rp-pppoe/repos/testing-x86_64/adsl.service (from rev 406755, rp-pppoe/trunk/adsl.service)
===================================================================
--- testing-x86_64/adsl.service (rev 0)
+++ testing-x86_64/adsl.service 2021-01-25 23:18:21 UTC (rev 406756)
@@ -0,0 +1,10 @@
+[Unit]
+Description=ADSL Daemon
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/pppoe-start
+ExecStop=/usr/bin/pppoe-stop
+
+[Install]
+WantedBy=multi-user.target
Copied: rp-pppoe/repos/testing-x86_64/rp-pppoe.install (from rev 406755, rp-pppoe/trunk/rp-pppoe.install)
===================================================================
--- testing-x86_64/rp-pppoe.install (rev 0)
+++ testing-x86_64/rp-pppoe.install 2021-01-25 23:18:21 UTC (rev 406756)
@@ -0,0 +1,12 @@
+#arg 1: the new package version
+post_install() {
+echo ">>> The kernel-mode plugin has a new place."
+echo ">>> It's now located under /usr/lib/rp-pppoe/rp-pppoe.so"
+echo ">>> Change LINUX_PLUGIN to the new path in your /etc/ppp/pppoe.conf"
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ post_install $1
+}
More information about the arch-commits
mailing list