1 |
commit: 827f0e57fa14073bb469700f639a4526d3da8d6a |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 28 06:35:54 2019 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 28 06:35:54 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=827f0e57 |
7 |
|
8 |
net-irc/iroffer-dinoex: Version bump (v3.32) |
9 |
|
10 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
12 |
|
13 |
net-irc/iroffer-dinoex/Manifest | 1 + |
14 |
net-irc/iroffer-dinoex/iroffer-dinoex-3.32.ebuild | 121 ++++++++++++++++++++++ |
15 |
2 files changed, 122 insertions(+) |
16 |
|
17 |
diff --git a/net-irc/iroffer-dinoex/Manifest b/net-irc/iroffer-dinoex/Manifest |
18 |
index c2972b6816e..a414aafd6c0 100644 |
19 |
--- a/net-irc/iroffer-dinoex/Manifest |
20 |
+++ b/net-irc/iroffer-dinoex/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST iroffer-dinoex-3.30.tar.gz 541131 BLAKE2B ea61113dffcd14b162153aa03c55a203d8ccd99e8f81de53a9ab8543bd91e948509281f753a8f332445eec102b6bd2b51972ff8bedb8b574b55b9325f6969269 SHA512 e45dc3dd901cbb73a9d59cd5a672834c7b6527864eb3385121856af562680a0f91e8846e8690fc60a6349dc4c4fc1cf190d3ac01813c6c045ef18147d61b7d4d |
23 |
DIST iroffer-dinoex-3.31.tar.gz 527712 BLAKE2B 8e57058af9aad9537d29a15140ab59c921d2549eb9e7a2ce9145fc1c27a4307bea882927012b04fc9f0737a8853d927c79cc0f3156dfa311072c59589fe0221f SHA512 677aa03a33b99d8062db077bba47fb18b2e9279243691981bbd09cb2859fcb4792e1383225b9698edb23370ce0f60667a09480644d31171e9a8234d80052dd80 |
24 |
+DIST iroffer-dinoex-3.32.tar.gz 1321125 BLAKE2B 3a124d16911d97d0ec937b86c9e0ad513ebdcea5e09e4cb1a53753c03d5e13347d0bf1116bf9abe0137fb7a05bbc7a8e31c2c0da5c15cc4e0b55e067d62b1461 SHA512 03d662cf7eb3093b1f050eda8777011d6e7a833dc2fcf65d29ef0294a0d6ce4e2cea273e2d4e6ee6ba2364c088890ac6338a3aa8e6477d5e2a1a990a6e4e9603 |
25 |
|
26 |
diff --git a/net-irc/iroffer-dinoex/iroffer-dinoex-3.32.ebuild b/net-irc/iroffer-dinoex/iroffer-dinoex-3.32.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..2f525ffe3ff |
29 |
--- /dev/null |
30 |
+++ b/net-irc/iroffer-dinoex/iroffer-dinoex-3.32.ebuild |
31 |
@@ -0,0 +1,121 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+PLOCALES="de en fr it" |
38 |
+PLOCALE_BACKUP="en" |
39 |
+ |
40 |
+inherit l10n toolchain-funcs user |
41 |
+ |
42 |
+DESCRIPTION="IRC fileserver using DCC" |
43 |
+HOMEPAGE="http://iroffer.dinoex.net/" |
44 |
+SRC_URI="http://iroffer.dinoex.net/${P}.tar.gz |
45 |
+ http://iroffer.dinoex.net/HISTORY/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="GPL-2" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+IUSE="+admin +blowfish +chroot curl debug geoip gnutls +http kqueue +memsave ruby ssl +telnet upnp" |
51 |
+ |
52 |
+REQUIRED_USE=" |
53 |
+ admin? ( http ) |
54 |
+ gnutls? ( ssl ) |
55 |
+" |
56 |
+ |
57 |
+RDEPEND="chroot? ( dev-libs/nss ) |
58 |
+ curl? ( |
59 |
+ net-misc/curl[ssl?] |
60 |
+ gnutls? ( net-misc/curl[curl_ssl_gnutls] ) |
61 |
+ !gnutls? ( ssl? ( net-misc/curl[curl_ssl_openssl] ) ) |
62 |
+ ) |
63 |
+ geoip? ( dev-libs/geoip ) |
64 |
+ gnutls? ( net-libs/gnutls ) |
65 |
+ ruby? ( dev-lang/ruby:* ) |
66 |
+ ssl? ( !gnutls? ( dev-libs/openssl:0= ) )" |
67 |
+ |
68 |
+DEPEND="${RDEPEND}" |
69 |
+ |
70 |
+pkg_setup() { |
71 |
+ enewgroup iroffer |
72 |
+ enewuser iroffer -1 -1 -1 iroffer |
73 |
+} |
74 |
+ |
75 |
+src_prepare() { |
76 |
+ eapply "${FILESDIR}/${PN}-3.31-config.patch" |
77 |
+ eapply "${FILESDIR}/${PN}-Werror.patch" |
78 |
+ |
79 |
+ eapply_user |
80 |
+ |
81 |
+ l10n_find_plocales_changes "" 'help-admin-' '.txt' |
82 |
+} |
83 |
+ |
84 |
+do_configure() { |
85 |
+ echo ./Configure $* |
86 |
+ ./Configure $* || die "configure phase failed" |
87 |
+} |
88 |
+ |
89 |
+src_configure() { |
90 |
+ do_configure \ |
91 |
+ PREFIX="${EPREFIX}/usr"\ |
92 |
+ $(usex debug '-profiling' '' '' '')\ |
93 |
+ $(usex debug '-debug' '' '' '')\ |
94 |
+ $(usex geoip '-geoip' '' '' '')\ |
95 |
+ $(usex chroot '' '-no-chroot' '' '')\ |
96 |
+ $(usex curl '-curl' '' '' '' )\ |
97 |
+ $(usex gnutls '-tls' '' '' '' '')\ |
98 |
+ $(usex upnp '-upnp' '' '' '')\ |
99 |
+ $(usex ruby '-ruby' '' '' '')\ |
100 |
+ $(usex kqueue '-kqueue' '' '' '')\ |
101 |
+ $(usex blowfish '' '-no-blowfish' '' '')\ |
102 |
+ $(usex ssl '' '-no-openssl' '' '')\ |
103 |
+ $(usex http '' '-no-http' '' '')\ |
104 |
+ $(usex admin '' '-no-admin' '' '')\ |
105 |
+ $(usex telnet '' '-no-telnet' '' '')\ |
106 |
+ $(usex memsave '' '-no-memsave' '' '') |
107 |
+} |
108 |
+ |
109 |
+src_compile() { |
110 |
+ # TODO: default compile targets always include chrooted target, which is not good |
111 |
+ emake CC="$(tc-getCC)" $(l10n_get_locales) |
112 |
+} |
113 |
+ |
114 |
+myloc() { |
115 |
+ emake DESTDIR="${D}" install-${1} |
116 |
+ |
117 |
+ dodoc help-admin-${1}.txt |
118 |
+ use http && dodoc doc/INSTALL-linux-${1}.html |
119 |
+ |
120 |
+ insinto /etc/${PN} |
121 |
+ case ${1} in |
122 |
+ "de") |
123 |
+ doins beispiel.config;; |
124 |
+ "fr") |
125 |
+ doins exemple.config;; |
126 |
+ *) |
127 |
+ doins sample.config;; |
128 |
+ esac |
129 |
+} |
130 |
+ |
131 |
+src_install() { |
132 |
+ l10n_for_each_locale_do myloc |
133 |
+ |
134 |
+ dodoc README* THANKS TODO |
135 |
+ doman iroffer.1 xdcc.7 |
136 |
+ |
137 |
+ newinitd "${FILESDIR}/${PN}.init" ${PN} |
138 |
+ newconfd "${FILESDIR}/${PN}.conf" ${PN} |
139 |
+ |
140 |
+ insinto /etc/logrotate.d |
141 |
+ newins "${FILESDIR}/${PN}.logrotate" ${PN} |
142 |
+ |
143 |
+ if use ruby; then |
144 |
+ insinto /usr/share/${PN} |
145 |
+ doins ruby-sample.rb |
146 |
+ fi |
147 |
+ |
148 |
+ if use http; then |
149 |
+ insinto /usr/share/${PN}/htdocs |
150 |
+ doins htdocs/* |
151 |
+ fi |
152 |
+} |