1 |
commit: 57dff2c099318bd33ed1b18f325400a317a90874 |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 2 21:17:19 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 2 22:21:47 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57dff2c0 |
7 |
|
8 |
net-im/simpserver-bin: use #!/sbin/openrc-run instead of #!/sbin/runscript |
9 |
|
10 |
Gentoo-Bug: https://bugs.gentoo.org/573846 |
11 |
|
12 |
Package-Manager: portage-2.2.26 |
13 |
|
14 |
net-im/simpserver-bin/files/simpserver.rc | 4 +-- |
15 |
.../simpserver-bin/simpserver-bin-2.1.0-r2.ebuild | 40 ++++++++++++++++++++++ |
16 |
2 files changed, 42 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/net-im/simpserver-bin/files/simpserver.rc b/net-im/simpserver-bin/files/simpserver.rc |
19 |
index 4a48f58..16528fe 100644 |
20 |
--- a/net-im/simpserver-bin/files/simpserver.rc |
21 |
+++ b/net-im/simpserver-bin/files/simpserver.rc |
22 |
@@ -1,5 +1,5 @@ |
23 |
-#!/sbin/runscript |
24 |
-# Copyright 1999-2004 Gentoo Foundation |
25 |
+#!/sbin/openrc-run |
26 |
+# Copyright 1999-2016 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
# $Id$ |
29 |
|
30 |
|
31 |
diff --git a/net-im/simpserver-bin/simpserver-bin-2.1.0-r2.ebuild b/net-im/simpserver-bin/simpserver-bin-2.1.0-r2.ebuild |
32 |
new file mode 100644 |
33 |
index 0000000..7ee8c63 |
34 |
--- /dev/null |
35 |
+++ b/net-im/simpserver-bin/simpserver-bin-2.1.0-r2.ebuild |
36 |
@@ -0,0 +1,40 @@ |
37 |
+# Copyright 1999-2016 Gentoo Foundation |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+# $Id$ |
40 |
+ |
41 |
+EAPI=6 |
42 |
+ |
43 |
+MY_PN=${PN/-bin/} |
44 |
+MY_P="${MY_PN}-${PV}" |
45 |
+ |
46 |
+DESCRIPTION="SimpServer for Unix: IM instant security transparent proxy" |
47 |
+SRC_URI="http://download.secway.com/public/products/simpserver/${MY_P}-linux-x86.tgz" |
48 |
+HOMEPAGE="http://www.secway.com/" |
49 |
+LICENSE="simpserver-test" |
50 |
+ |
51 |
+KEYWORDS="-* ~amd64 ~x86" |
52 |
+IUSE="" |
53 |
+SLOT="0" |
54 |
+S=${WORKDIR}/simp |
55 |
+ |
56 |
+RESTRICT="strip" |
57 |
+ |
58 |
+src_compile() { |
59 |
+ einfo "Binary distribution. No compilation required." |
60 |
+} |
61 |
+ |
62 |
+src_install () { |
63 |
+ dodoc README VERSION doc/CONFIG doc/TODO |
64 |
+ |
65 |
+ exeinto /opt/bin |
66 |
+ doexe bin/${MY_PN} |
67 |
+ |
68 |
+ insinto /etc |
69 |
+ doins etc/simp.conf |
70 |
+ |
71 |
+ newinitd "${FILESDIR}/${MY_PN}".rc ${MY_PN} |
72 |
+} |
73 |
+ |
74 |
+pkg_postinst() { |
75 |
+ elog "Please edit the configuration file: /etc/simp.conf." |
76 |
+} |