From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dialup/rp-pppoe/
Date: Thu, 20 May 2021 14:58:51 +0000 (UTC) [thread overview]
Message-ID: <1621522723.9274823a6536e74b6f63e51bbe78a0bb45cbe58d.polynomial-c@gentoo> (raw)
commit: 9274823a6536e74b6f63e51bbe78a0bb45cbe58d
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu May 20 14:48:40 2021 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu May 20 14:58:43 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9274823a
net-dialup/rp-pppoe: Bump to version 3.15
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
net-dialup/rp-pppoe/Manifest | 2 +
net-dialup/rp-pppoe/rp-pppoe-3.15.ebuild | 98 ++++++++++++++++++++++++++++++++
2 files changed, 100 insertions(+)
diff --git a/net-dialup/rp-pppoe/Manifest b/net-dialup/rp-pppoe/Manifest
index dbedaee9e47..e30cbe2a4fa 100644
--- a/net-dialup/rp-pppoe/Manifest
+++ b/net-dialup/rp-pppoe/Manifest
@@ -1,3 +1,5 @@
DIST ppp-2.4.8.tar.gz 697530 BLAKE2B 235114288699db45501bc7d9ce8f36c0b5684ab0dab09da93d7f2b4f7c3eca030ae26e34dfff25efa971374fbd7fde62f121ea6aa69872658f44c5ac8c7850a2 SHA512 a99b3b6c7bd80cd133bda4e29d33c793a76f3b67e1f8db774547e88932ce29564fad390a4f51d3fe30a75e006499b95000b042ae0f64cd360548426f8091a478
+DIST ppp-2.4.9.tar.gz 719904 BLAKE2B 7ba3eb8c98fec5599635dbd302399617e1075f3a1df090f1a94ce2bb8a5c7631e6eea82246adc33711aba5fe95e7ba7c982e2cbf1fb0d71e45f877d9b092ffb7 SHA512 c309f8f69f534c05547cd2f66dade0e0f198ea4c2928a7e899e660280786b3e965437a67b8c5bb81c59d0fa1818b4eb7b701d2dce015a420d380422d2bca4e1a
DIST rp-pppoe-3.14-patches-01.tar.xz 4708 BLAKE2B d0c294490f5c4c8f3f81fccb8234d5eec2257350a41206bf05882aa7e2aa0e2cb0944a962d77e23451f604376168298d5ef99c70b134989c35261bae6046b882 SHA512 0ae0f91e8b9cfcd7d1a1af6cb55f7972e9bc029cd4b10469d5be696ae750d6aabb5f59426e9bf6f700d5a56decd3ddf85a097bb98ae1d06f0b167967b5b8b8ea
DIST rp-pppoe-3.14.tar.gz 224688 BLAKE2B bfac215d206ce53ead2a10d5440f8243cce4763f7ef15d52f7bd609e8eebdebf5bc52204350988cb1d1b69d1df9092aca77173333e753e8bb9752ead8618569c SHA512 0fa26e9478d387d4752ab85837dab9d1464f27c1ca832bad265deb01b5c3565aa341e3c75278b43a56aed466f02861af11b3bc64bae932a13cb103c4f0b91a29
+DIST rp-pppoe-3.15.tar.gz 224966 BLAKE2B 85eda606677b71e35ed3b9389db0d01ac1f16c7b40cc31b3adf31946b18454b77867a5e8822386e9fb08455399733242c4c074c2fee6f1c4d62fe23b44e82707 SHA512 a156c084e57361ab6a464c3205ffb85cf86d02f71f17f92c9567f1ab0ed300f10030832fd232084699dc842ac4891efc8c54c8165587bfc7b4c92724318a60d9
diff --git a/net-dialup/rp-pppoe/rp-pppoe-3.15.ebuild b/net-dialup/rp-pppoe/rp-pppoe-3.15.ebuild
new file mode 100644
index 00000000000..8b2e2817c58
--- /dev/null
+++ b/net-dialup/rp-pppoe/rp-pppoe-3.15.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools flag-o-matic readme.gentoo-r1 toolchain-funcs
+
+PPP_P="ppp-2.4.9"
+PATCHES="${PN}-3.14-patches-01"
+
+DESCRIPTION="A user-mode PPPoE client and server suite for Linux"
+HOMEPAGE="https://dianne.skoll.ca/projects/rp-pppoe/"
+SRC_URI="https://dianne.skoll.ca/projects/rp-pppoe/download/${P}.tar.gz
+ https://github.com/paulusmack/ppp/archive/${PPP_P}.tar.gz
+ https://dev.gentoo.org/~polynomial-c/dist/${PATCHES}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="tk"
+
+RDEPEND="
+ net-dialup/ppp:=
+ tk? ( dev-lang/tk:= )
+"
+DEPEND=">=sys-kernel/linux-headers-2.6.25
+ ${RDEPEND}"
+
+DOC_CONTENTS="Use pppoe-setup to configure your dialup connection"
+
+pkg_setup() {
+ # This is needed in multiple phases
+ PPPD_VER="$(best_version net-dialup/ppp)"
+ PPPD_VER="${PPPD_VER#*/*-}" #reduce it to ${PV}-${PR}
+ PPPD_VER="${PPPD_VER%%-*}" #reduce it to ${PV}
+}
+
+src_prepare() {
+ if ! use elibc_musl ; then
+ rm "${WORKDIR}/patches/${PN}-3.14-musl.patch" || die
+ fi
+
+ rm "${WORKDIR}/patches/${PN}-3.14-ifconfig-path.patch" || die
+
+ eapply "${WORKDIR}/patches"
+ eapply_user
+
+ cd "${S}"/src || die
+ eautoreconf
+}
+
+src_configure() {
+ addpredict /dev/ppp
+
+ cd src || die
+ # Not a mistake! This comes from the GitHub tarball doing funky naming
+ econf --enable-plugin=../../ppp-ppp-${PPPD_VER}
+}
+
+src_compile() {
+ cd src || die
+ emake AR="$(tc-getAR)"
+
+ if use tk ; then
+ emake -C "${S}/gui"
+ fi
+}
+
+src_install() {
+ cd src || die
+ emake DESTDIR="${D}" install
+
+ #Don't use compiled rp-pppoe plugin - see pkg_preinst below
+ local pppoe_plugin="${ED}/etc/ppp/plugins/rp-pppoe.so"
+ if [[ -f "${pppoe_plugin}" ]] ; then
+ rm "${pppoe_plugin}" || die
+ fi
+
+ if use tk ; then
+ emake -C "${S}/gui" \
+ DESTDIR="${D}" \
+ datadir=/usr/share/doc/${PF}/ \
+ install
+ dosym doc/${PF}/tkpppoe /usr/share/tkpppoe
+ fi
+
+ newinitd "${FILESDIR}"/pppoe-server.initd pppoe-server
+ newconfd "${FILESDIR}"/pppoe-server.confd pppoe-server
+
+ readme.gentoo_create_doc
+}
+
+pkg_preinst() {
+ # Use the rp-pppoe plugin that comes with net-dialup/pppd
+ if [[ -n "${PPPD_VER}" ]] && [[ -f "${EROOT}/usr/$(get_libdir)/pppd/${PPPD_VER}/rp-pppoe.so" ]] ; then
+ dosym ../../../usr/$(get_libdir)/pppd/${PPPD_VER}/rp-pppoe.so /etc/ppp/plugins/rp-pppoe.so
+ fi
+}
next reply other threads:[~2021-05-20 14:58 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-20 14:58 Lars Wendler [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-09-10 5:54 [gentoo-commits] repo/gentoo:master commit in: net-dialup/rp-pppoe/ Sam James
2023-05-30 16:51 Arthur Zamarin
2023-05-28 11:55 Sam James
2023-05-28 11:36 Sam James
2023-05-28 11:36 Sam James
2023-05-28 7:11 Joonas Niilola
2023-05-28 7:11 Joonas Niilola
2023-05-13 6:02 Sam James
2023-05-13 3:31 Sam James
2023-05-10 19:39 Sam James
2023-05-10 19:39 Sam James
2023-05-10 19:39 Sam James
2023-04-23 4:56 Sam James
2022-12-24 7:42 Sam James
2022-12-24 7:42 Sam James
2022-10-28 20:09 Sam James
2022-09-16 18:36 Arthur Zamarin
2022-09-15 16:57 Arthur Zamarin
2022-09-07 19:32 Mike Gilbert
2022-09-07 1:50 Sam James
2022-09-06 21:52 Sam James
2022-09-06 21:37 Sam James
2022-09-06 21:35 Sam James
2022-09-06 21:15 Sam James
2022-05-26 5:06 WANG Xuerui
2022-04-21 19:35 Jakov Smolić
2022-01-19 11:35 Lars Wendler
2021-12-06 15:20 Sam James
2021-12-06 1:17 Sam James
2021-12-06 0:10 Sam James
2021-12-05 18:31 Sam James
2021-12-05 3:45 Sam James
2021-12-01 21:29 Sam James
2021-05-20 14:59 Lars Wendler
2021-05-06 9:57 Sam James
2021-05-05 16:09 Sergei Trofimovich
2021-05-04 22:25 Sam James
2021-05-04 7:01 Agostino Sarubbo
2021-04-16 10:25 David Seifert
2020-07-03 7:38 Lars Wendler
2018-08-26 17:08 Michał Górny
2017-11-09 22:05 Mike Gilbert
2017-04-18 6:47 Jeroen Roovers
2017-02-05 16:49 Markus Meier
2016-12-19 14:25 Aaron Bauman
2016-12-14 9:14 Tobias Klausmann
2016-07-19 12:07 Lars Wendler
2016-01-22 8:28 Michael Palimaka
2016-01-17 21:07 Lars Wendler
2015-12-27 9:43 Mikle Kolyada
2015-12-07 11:40 Agostino Sarubbo
2015-11-26 19:28 Markus Meier
2015-11-23 9:25 Agostino Sarubbo
2015-11-18 10:11 Jeroen Roovers
2015-11-18 8:57 Agostino Sarubbo
2015-11-18 6:47 Jeroen Roovers
2015-11-16 16:53 Agostino Sarubbo
2015-11-13 21:38 Lars Wendler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1621522723.9274823a6536e74b6f63e51bbe78a0bb45cbe58d.polynomial-c@gentoo \
--to=polynomial-c@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox