1 |
commit: deecd87cdfb44e52a4ec502179d70265030dcaa5 |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 8 08:38:55 2017 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 8 08:38:55 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=deecd87c |
7 |
|
8 |
dev-libs/libspt: add suid USE flag |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
dev-libs/libspt/libspt-1.1-r3.ebuild | 25 +++++++++++++++++++++++++ |
13 |
1 file changed, 25 insertions(+) |
14 |
|
15 |
diff --git a/dev-libs/libspt/libspt-1.1-r3.ebuild b/dev-libs/libspt/libspt-1.1-r3.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..00623ecb65c |
18 |
--- /dev/null |
19 |
+++ b/dev-libs/libspt/libspt-1.1-r3.ebuild |
20 |
@@ -0,0 +1,25 @@ |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI="6" |
25 |
+ |
26 |
+DESCRIPTION="Library for handling root privilege" |
27 |
+#HOMEPAGE="http://www.j10n.org/libspt/index.html" |
28 |
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" |
29 |
+SRC_URI="mirror://gentoo/${P}.tar.bz2" |
30 |
+ |
31 |
+LICENSE="BSD-2" |
32 |
+SLOT="0" |
33 |
+KEYWORDS="~alpha ~amd64 ~ppc ~x86" |
34 |
+IUSE="suid" |
35 |
+RESTRICT="test" |
36 |
+ |
37 |
+PATCHES=( "${FILESDIR}/${PN}-gentoo.patch" ) |
38 |
+ |
39 |
+src_install() { |
40 |
+ default |
41 |
+ |
42 |
+ if use suid; then |
43 |
+ fperms 4755 /usr/libexec/sptagent |
44 |
+ fi |
45 |
+} |