1 |
commit: add27da50d7df61d5ddbcc7318757d1672268431 |
2 |
Author: Sergey Popov <pinkbyte <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 31 07:38:18 2022 +0000 |
4 |
Commit: Sergey Popov <pinkbyte <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 31 07:38:25 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=add27da5 |
7 |
|
8 |
net-dialup/accel-ppp: revision bump |
9 |
|
10 |
Fix some directory paths, that were incorrectly put into /usr |
11 |
Sync live ebuild, drop old revision |
12 |
|
13 |
Reported-by: Agostino Sarubbo <ago <AT> gentoo.org> |
14 |
Closes: https://bugs.gentoo.org/878835 |
15 |
Signed-off-by: Sergey Popov <pinkbyte <AT> gentoo.org> |
16 |
|
17 |
...-1.12.0_p20220830.ebuild => accel-ppp-1.12.0_p20220830-r1.ebuild} | 3 +++ |
18 |
net-dialup/accel-ppp/accel-ppp-9999.ebuild | 5 ++++- |
19 |
2 files changed, 7 insertions(+), 1 deletion(-) |
20 |
|
21 |
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 |
22 |
similarity index 95% |
23 |
rename from net-dialup/accel-ppp/accel-ppp-1.12.0_p20220830.ebuild |
24 |
rename to net-dialup/accel-ppp/accel-ppp-1.12.0_p20220830-r1.ebuild |
25 |
index 8ea237aff3e1..201602326ae8 100644 |
26 |
--- a/net-dialup/accel-ppp/accel-ppp-1.12.0_p20220830.ebuild |
27 |
+++ b/net-dialup/accel-ppp/accel-ppp-1.12.0_p20220830-r1.ebuild |
28 |
@@ -71,6 +71,8 @@ src_prepare() { |
29 |
src_configure() { |
30 |
local libdir="$(get_libdir)" |
31 |
local mycmakeargs=( |
32 |
+ -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc" |
33 |
+ -DCMAKE_INSTALL_LOCALSTATEDIR="${EPREFIX}/var" |
34 |
-DLIB_SUFFIX="${libdir#lib}" |
35 |
-DBUILD_IPOE_DRIVER="$(usex ipoe)" |
36 |
-DBUILD_PPTP_DRIVER=no |
37 |
@@ -109,5 +111,6 @@ src_install() { |
38 |
newinitd "${FILESDIR}"/${PN}.initd ${PN}d |
39 |
newconfd "${FILESDIR}"/${PN}.confd ${PN}d |
40 |
|
41 |
+ keepdir /var/lib/accel-ppp |
42 |
keepdir /var/log/accel-ppp |
43 |
} |
44 |
|
45 |
diff --git a/net-dialup/accel-ppp/accel-ppp-9999.ebuild b/net-dialup/accel-ppp/accel-ppp-9999.ebuild |
46 |
index f517be83f27b..95ed326921b8 100644 |
47 |
--- a/net-dialup/accel-ppp/accel-ppp-9999.ebuild |
48 |
+++ b/net-dialup/accel-ppp/accel-ppp-9999.ebuild |
49 |
@@ -1,4 +1,4 @@ |
50 |
-# Copyright 1999-2021 Gentoo Authors |
51 |
+# Copyright 1999-2022 Gentoo Authors |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
|
54 |
EAPI=7 |
55 |
@@ -62,6 +62,8 @@ src_prepare() { |
56 |
src_configure() { |
57 |
local libdir="$(get_libdir)" |
58 |
local mycmakeargs=( |
59 |
+ -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc" |
60 |
+ -DCMAKE_INSTALL_LOCALSTATEDIR="${EPREFIX}/var" |
61 |
-DLIB_SUFFIX="${libdir#lib}" |
62 |
-DBUILD_IPOE_DRIVER="$(usex ipoe)" |
63 |
-DBUILD_PPTP_DRIVER=no |
64 |
@@ -100,5 +102,6 @@ src_install() { |
65 |
newinitd "${FILESDIR}"/${PN}.initd ${PN}d |
66 |
newconfd "${FILESDIR}"/${PN}.confd ${PN}d |
67 |
|
68 |
+ keepdir /var/lib/accel-ppp |
69 |
keepdir /var/log/accel-ppp |
70 |
} |