summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2022-10-31 10:38:18 +0300
committerSergey Popov <pinkbyte@gentoo.org>2022-10-31 10:38:25 +0300
commitadd27da50d7df61d5ddbcc7318757d1672268431 (patch)
treecb6d13ca441a838275009105b782273e98cafcb5 /net-dialup
parentwww-client/firefox-bin: add 106.0.3, drop 106.0.2 (diff)
downloadgentoo-add27da50d7df61d5ddbcc7318757d1672268431.tar.gz
gentoo-add27da50d7df61d5ddbcc7318757d1672268431.tar.bz2
gentoo-add27da50d7df61d5ddbcc7318757d1672268431.zip
net-dialup/accel-ppp: revision bump
Fix some directory paths, that were incorrectly put into /usr Sync live ebuild, drop old revision Reported-by: Agostino Sarubbo <ago@gentoo.org> Closes: https://bugs.gentoo.org/878835 Signed-off-by: Sergey Popov <pinkbyte@gentoo.org>
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/accel-ppp/accel-ppp-1.12.0_p20220830-r1.ebuild (renamed from net-dialup/accel-ppp/accel-ppp-1.12.0_p20220830.ebuild)3
-rw-r--r--net-dialup/accel-ppp/accel-ppp-9999.ebuild5
2 files changed, 7 insertions, 1 deletions
diff --git a/net-dialup/accel-ppp/accel-ppp-1.12.0_p20220830.ebuild b/net-dialup/accel-ppp/accel-ppp-1.12.0_p20220830-r1.ebuild
index 8ea237aff3e1..201602326ae8 100644
--- a/net-dialup/accel-ppp/accel-ppp-1.12.0_p20220830.ebuild
+++ b/net-dialup/accel-ppp/accel-ppp-1.12.0_p20220830-r1.ebuild
@@ -71,6 +71,8 @@ src_prepare() {
src_configure() {
local libdir="$(get_libdir)"
local mycmakeargs=(
+ -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc"
+ -DCMAKE_INSTALL_LOCALSTATEDIR="${EPREFIX}/var"
-DLIB_SUFFIX="${libdir#lib}"
-DBUILD_IPOE_DRIVER="$(usex ipoe)"
-DBUILD_PPTP_DRIVER=no
@@ -109,5 +111,6 @@ src_install() {
newinitd "${FILESDIR}"/${PN}.initd ${PN}d
newconfd "${FILESDIR}"/${PN}.confd ${PN}d
+ keepdir /var/lib/accel-ppp
keepdir /var/log/accel-ppp
}
diff --git a/net-dialup/accel-ppp/accel-ppp-9999.ebuild b/net-dialup/accel-ppp/accel-ppp-9999.ebuild
index f517be83f27b..95ed326921b8 100644
--- a/net-dialup/accel-ppp/accel-ppp-9999.ebuild
+++ b/net-dialup/accel-ppp/accel-ppp-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -62,6 +62,8 @@ src_prepare() {
src_configure() {
local libdir="$(get_libdir)"
local mycmakeargs=(
+ -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc"
+ -DCMAKE_INSTALL_LOCALSTATEDIR="${EPREFIX}/var"
-DLIB_SUFFIX="${libdir#lib}"
-DBUILD_IPOE_DRIVER="$(usex ipoe)"
-DBUILD_PPTP_DRIVER=no
@@ -100,5 +102,6 @@ src_install() {
newinitd "${FILESDIR}"/${PN}.initd ${PN}d
newconfd "${FILESDIR}"/${PN}.confd ${PN}d
+ keepdir /var/lib/accel-ppp
keepdir /var/log/accel-ppp
}