1 |
commit: 36384efc3810c7938998970a760d9481c6a3e518 |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 2 21:15:38 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=36384efc |
7 |
|
8 |
net-im/silc-server: remove old ebuild |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
net-im/silc-server/silc-server-1.1.18.ebuild | 82 ---------------------------- |
13 |
1 file changed, 82 deletions(-) |
14 |
|
15 |
diff --git a/net-im/silc-server/silc-server-1.1.18.ebuild b/net-im/silc-server/silc-server-1.1.18.ebuild |
16 |
deleted file mode 100644 |
17 |
index 23fad3c..0000000 |
18 |
--- a/net-im/silc-server/silc-server-1.1.18.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,82 +0,0 @@ |
21 |
-# Copyright 1999-2014 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-EAPI=5 |
26 |
- |
27 |
-inherit eutils flag-o-matic user |
28 |
- |
29 |
-DESCRIPTION="Server for Secure Internet Live Conferencing" |
30 |
-SRC_URI="http://www.silcnet.org/download/server/sources/${P}.tar.bz2" |
31 |
-HOMEPAGE="http://silcnet.org/" |
32 |
- |
33 |
-SLOT="0" |
34 |
-LICENSE="GPL-2" |
35 |
-KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
36 |
-IUSE="gmp ipv6 debug" |
37 |
- |
38 |
-RDEPEND="!<=net-im/silc-toolkit-0.9.12-r1 |
39 |
- !<=net-im/silc-client-1.0.1 |
40 |
- gmp? ( dev-libs/gmp )" |
41 |
- |
42 |
-pkg_setup() { |
43 |
- enewuser silcd |
44 |
-} |
45 |
- |
46 |
-src_configure() { |
47 |
- econf \ |
48 |
- --datadir=/usr/share/${PN} \ |
49 |
- --datarootdir=/usr/share/${PN} \ |
50 |
- --mandir=/usr/share/man \ |
51 |
- --sysconfdir=/etc/silc \ |
52 |
- --libdir=/usr/$(get_libdir)/${PN} \ |
53 |
- --docdir=/usr/share/doc/${PF} \ |
54 |
- --disable-optimizations \ |
55 |
- --with-logsdir=/var/log/${PN} \ |
56 |
- --with-silcd-pid-file=/var/run/silcd.pid \ |
57 |
- $(use_with gmp) \ |
58 |
- $(use_enable ipv6) \ |
59 |
- $(use_enable debug) |
60 |
-} |
61 |
- |
62 |
-#src_compile() { |
63 |
-# emake -j1 |
64 |
-#} |
65 |
- |
66 |
-src_install() { |
67 |
- emake DESTDIR="${D}" install |
68 |
- |
69 |
- insinto /etc/silc |
70 |
- doins doc/silcalgs.conf |
71 |
- |
72 |
- insinto /usr/share/doc/${PF}/examples |
73 |
- doins doc/examples/*.conf |
74 |
- |
75 |
- fperms 600 /etc/silc |
76 |
- keepdir /var/log/${PN} |
77 |
- |
78 |
- rm -rf \ |
79 |
- "${D}"/usr/libsilc* \ |
80 |
- "${D}"/usr/include \ |
81 |
- "${D}"/etc/silc/silcd.{pub,prv} |
82 |
- |
83 |
- newinitd "${FILESDIR}/silcd.initd-r1" silcd |
84 |
- doman doc/silcd.8 doc/silcd.conf.5 |
85 |
- |
86 |
- sed -i \ |
87 |
- -e 's:10.2.1.6:0.0.0.0:' \ |
88 |
- -e 's:User = "nobody";:User = "silcd";:' \ |
89 |
- -e 's:/var/run:/run:' \ |
90 |
- -e 's:lassi.kuo.fi.ssh.com:localhost:' \ |
91 |
- doc/example_silcd.conf \ |
92 |
- || die |
93 |
- dodoc doc/example_silcd.conf |
94 |
-} |
95 |
- |
96 |
-pkg_postinst() { |
97 |
- if [ ! -f "${ROOT}"/etc/silc/silcd.prv ] ; then |
98 |
- einfo "Creating key pair in /etc/silc" |
99 |
- silcd -C "${ROOT}"/etc/silc |
100 |
- chmod 600 "${ROOT}"/etc/silc/silcd.{prv,pub} |
101 |
- fi |
102 |
-} |