Merge updates from master

This commit is contained in:
Repository mirror & CI
2026-09-16 06:15:51 +00:00
5 changed files with 1 additions and 237 deletions

View File

@@ -16,4 +16,4 @@ SRC_URI="${SRC_URI} -> ${P}.tgz"
LICENSE="PHP-3.01"
SLOT="8"
KEYWORDS="amd64 ~x86"
KEYWORDS="amd64 x86"

View File

@@ -1,3 +1 @@
DIST ppp-2.5.2.tar.gz 973132 BLAKE2B 5a79bfaf23c2f1cba7b2c4e8f27e6033aa7ee6e119b4d96dfd2870f91524052fe9ed16149e5f76cf93370159f491af828b4103eb04bd4f5dbbecca4a08af9d0d SHA512 2c49d411818632a750f52b187c0ee421e9fcc1530c717abacce61e76aa8b296ce09fb142bc202696c0e0ac5570dd12ee649267921b756b6572ae514ce961d1e6
DIST ppp-2.5.3.tar.gz 995939 BLAKE2B fe915978f1332c18dc370b5d79d07c55afd006d576168c16034ac368afe138d3e0a41d7a9a05fdc2868b1e30bbd0510aadbf7e9a595c77cacaeb739c9289051c SHA512 4de2af44d56d8629db37a7aa71ea1973020bacd4fe6b8e56b69b4b825445437cf9d5e2caee13e0af09d26b89954a8e08560581f3c5611edb119ea63fc10d2255
DIST ppp-2.5.4.tar.gz 1013028 BLAKE2B 4b70250f73811a343c87087cac7555f6d7b550c5bce6bf71af7fa585f12437c62d2525f669f6e3306e02adc9f180c0508554e4f04abec4227ff7d181e39f0618 SHA512 078075fc4f9fab07d44fab626d87def8f73c76a50d2bd52e7f84ad874a4bf6e9530d5f59fc77a20857f0049f58f84c3f6af0a17ccc60e0ffe6a34ddaf90159f4

View File

@@ -1,2 +0,0 @@
d /run/pppd
L /run/pppd/lock - - - - ../lock

View File

@@ -1,116 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit flag-o-matic linux-info pam tmpfiles
DESCRIPTION="Point-to-Point Protocol (PPP)"
HOMEPAGE="https://ppp.samba.org/"
SRC_URI="https://download.samba.org/pub/ppp/${P}.tar.gz"
LICENSE="BSD GPL-2"
SLOT="0/${PV}"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
IUSE="activefilter atm pam selinux systemd"
DEPEND="
dev-libs/openssl:0=
virtual/libcrypt:=
activefilter? ( net-libs/libpcap )
atm? ( net-dialup/linux-atm )
pam? ( sys-libs/pam )
systemd? ( sys-apps/systemd )
"
RDEPEND="
${DEPEND}
selinux? ( sec-policy/selinux-ppp )
"
BDEPEND="virtual/pkgconfig"
PDEPEND="net-dialup/ppp-scripts"
pkg_setup() {
local CONFIG_CHECK="~PPP ~PPP_ASYNC ~PPP_SYNC_TTY"
local ERROR_PPP="CONFIG_PPP:\t missing PPP support (REQUIRED)"
local ERROR_PPP_ASYNC="CONFIG_PPP_ASYNC:\t missing asynchronous serial line discipline"
ERROR_PPP_ASYNC+=" (optional, but highly recommended)"
local WARNING_PPP_SYNC_TTY="CONFIG_PPP_SYNC_TTY:\t missing synchronous serial line discipline"
WARNING_PPP_SYNC_TTY+=" (optional; used by 'sync' pppd option)"
if use activefilter ; then
CONFIG_CHECK+=" ~PPP_FILTER"
local ERROR_PPP_FILTER="CONFIG_PPP_FILTER:\t missing PPP filtering support (REQUIRED)"
fi
CONFIG_CHECK+=" ~PPP_DEFLATE ~PPP_BSDCOMP ~PPP_MPPE"
local ERROR_PPP_DEFLATE="CONFIG_PPP_DEFLATE:\t missing Deflate compression (optional, but highly recommended)"
local ERROR_PPP_BSDCOMP="CONFIG_PPP_BSDCOMP:\t missing BSD-Compress compression (optional, but highly recommended)"
local WARNING_PPP_MPPE="CONFIG_PPP_MPPE:\t missing MPPE encryption (optional, mostly used by PPTP links)"
CONFIG_CHECK+=" ~PPPOE ~PACKET"
local WARNING_PPPOE="CONFIG_PPPOE:\t missing PPPoE support (optional, needed by pppoe plugin)"
local WARNING_PACKET="CONFIG_PACKET:\t missing AF_PACKET support (optional, used by pppoe plugin)"
if use atm ; then
CONFIG_CHECK+=" ~PPPOATM"
local WARNING_PPPOATM="CONFIG_PPPOATM:\t missing PPPoA support (optional, needed by pppoatm plugin)"
fi
linux-info_pkg_setup
}
src_prepare() {
default
# Set the right paths in radiusclient.conf
sed -e "s:/usr/local/etc:/etc:" \
-e "s:/usr/local/sbin:/usr/sbin:" \
-i pppd/plugins/radius/etc/radiusclient.conf || die
# Set config dir to /etc/ppp/radius
sed -i -e "s:/etc/radiusclient:/etc/ppp/radius:g" \
pppd/plugins/radius/{*.8,*.c,*.h} \
pppd/plugins/radius/etc/* || die
}
src_configure() {
# https://bugs.gentoo.org/943931
append-cflags -std=gnu17
local args=(
--localstatedir="${EPREFIX}"/var
--runstatedir="${EPREFIX}"/run
$(use_enable systemd)
$(use_with atm)
$(use_with pam)
$(use_with activefilter pcap)
--enable-cbcp
--enable-multilink
)
econf "${args[@]}"
}
src_install() {
default
find "${ED}" -name '*.la' -type f -delete || die
if use pam; then
pamd_mimic_system ppp auth account session
fi
insinto /etc/modprobe.d
newins "${FILESDIR}/modules.ppp" ppp.conf
dosbin scripts/p{on,off,log}
doman scripts/pon.1
dosym pon.1 /usr/share/man/man1/poff.1
dosym pon.1 /usr/share/man/man1/plog.1
# Adding misc. specialized scripts to doc dir
dodoc -r scripts
newtmpfiles "${FILESDIR}/pppd.tmpfiles-r1" pppd.conf
insinto /etc/ppp/radius
doins pppd/plugins/radius/etc/{dictionary*,issue,port-id-map,radiusclient.conf,realms,servers}
}
pkg_postinst() {
tmpfiles_process pppd.conf
}

View File

@@ -1,116 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit flag-o-matic linux-info pam tmpfiles
DESCRIPTION="Point-to-Point Protocol (PPP)"
HOMEPAGE="https://ppp.samba.org/"
SRC_URI="https://download.samba.org/pub/ppp/${P}.tar.gz"
LICENSE="BSD GPL-2"
SLOT="0/${PV}"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
IUSE="activefilter atm pam selinux systemd"
DEPEND="
dev-libs/openssl:0=
virtual/libcrypt:=
activefilter? ( net-libs/libpcap )
atm? ( net-dialup/linux-atm )
pam? ( sys-libs/pam )
systemd? ( sys-apps/systemd )
"
RDEPEND="
${DEPEND}
selinux? ( sec-policy/selinux-ppp )
"
BDEPEND="virtual/pkgconfig"
PDEPEND="net-dialup/ppp-scripts"
pkg_setup() {
local CONFIG_CHECK="~PPP ~PPP_ASYNC ~PPP_SYNC_TTY"
local ERROR_PPP="CONFIG_PPP:\t missing PPP support (REQUIRED)"
local ERROR_PPP_ASYNC="CONFIG_PPP_ASYNC:\t missing asynchronous serial line discipline"
ERROR_PPP_ASYNC+=" (optional, but highly recommended)"
local WARNING_PPP_SYNC_TTY="CONFIG_PPP_SYNC_TTY:\t missing synchronous serial line discipline"
WARNING_PPP_SYNC_TTY+=" (optional; used by 'sync' pppd option)"
if use activefilter ; then
CONFIG_CHECK+=" ~PPP_FILTER"
local ERROR_PPP_FILTER="CONFIG_PPP_FILTER:\t missing PPP filtering support (REQUIRED)"
fi
CONFIG_CHECK+=" ~PPP_DEFLATE ~PPP_BSDCOMP ~PPP_MPPE"
local ERROR_PPP_DEFLATE="CONFIG_PPP_DEFLATE:\t missing Deflate compression (optional, but highly recommended)"
local ERROR_PPP_BSDCOMP="CONFIG_PPP_BSDCOMP:\t missing BSD-Compress compression (optional, but highly recommended)"
local WARNING_PPP_MPPE="CONFIG_PPP_MPPE:\t missing MPPE encryption (optional, mostly used by PPTP links)"
CONFIG_CHECK+=" ~PPPOE ~PACKET"
local WARNING_PPPOE="CONFIG_PPPOE:\t missing PPPoE support (optional, needed by pppoe plugin)"
local WARNING_PACKET="CONFIG_PACKET:\t missing AF_PACKET support (optional, used by pppoe plugin)"
if use atm ; then
CONFIG_CHECK+=" ~PPPOATM"
local WARNING_PPPOATM="CONFIG_PPPOATM:\t missing PPPoA support (optional, needed by pppoatm plugin)"
fi
linux-info_pkg_setup
}
src_prepare() {
default
# Set the right paths in radiusclient.conf
sed -e "s:/usr/local/etc:/etc:" \
-e "s:/usr/local/sbin:/usr/sbin:" \
-i pppd/plugins/radius/etc/radiusclient.conf || die
# Set config dir to /etc/ppp/radius
sed -i -e "s:/etc/radiusclient:/etc/ppp/radius:g" \
pppd/plugins/radius/{*.8,*.c,*.h} \
pppd/plugins/radius/etc/* || die
}
src_configure() {
# https://bugs.gentoo.org/943931
append-cflags -std=gnu17
local args=(
--localstatedir="${EPREFIX}"/var
--runstatedir="${EPREFIX}"/run
$(use_enable systemd)
$(use_with atm)
$(use_with pam)
$(use_with activefilter pcap)
--enable-cbcp
--enable-multilink
)
econf "${args[@]}"
}
src_install() {
default
find "${ED}" -name '*.la' -type f -delete || die
if use pam; then
pamd_mimic_system ppp auth account session
fi
insinto /etc/modprobe.d
newins "${FILESDIR}/modules.ppp" ppp.conf
dosbin scripts/p{on,off,log}
doman scripts/pon.1
dosym pon.1 /usr/share/man/man1/poff.1
dosym pon.1 /usr/share/man/man1/plog.1
# Adding misc. specialized scripts to doc dir
dodoc -r scripts
newtmpfiles "${FILESDIR}/pppd.tmpfiles-r1" pppd.conf
insinto /etc/ppp/radius
doins pppd/plugins/radius/etc/{dictionary*,issue,port-id-map,radiusclient.conf,realms,servers}
}
pkg_postinst() {
tmpfiles_process pppd.conf
}