1 |
pinkbyte 13/02/25 18:35:59 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: iroffer-dinoex-3.28-r1.ebuild |
5 |
Log: |
6 |
Revision bump: improved config patch by Mikle Kolyada, various locale-specific improvements by Sébastien P. wrt bug #456316 |
7 |
|
8 |
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42) |
9 |
|
10 |
Revision Changes Path |
11 |
1.3 net-irc/iroffer-dinoex/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/iroffer-dinoex/ChangeLog?rev=1.3&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/iroffer-dinoex/ChangeLog?rev=1.3&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/iroffer-dinoex/ChangeLog?r1=1.2&r2=1.3 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-irc/iroffer-dinoex/ChangeLog,v |
20 |
retrieving revision 1.2 |
21 |
retrieving revision 1.3 |
22 |
diff -u -r1.2 -r1.3 |
23 |
--- ChangeLog 8 Feb 2013 12:00:11 -0000 1.2 |
24 |
+++ ChangeLog 25 Feb 2013 18:35:58 -0000 1.3 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for net-irc/iroffer-dinoex |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-irc/iroffer-dinoex/ChangeLog,v 1.2 2013/02/08 12:00:11 pinkbyte Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-irc/iroffer-dinoex/ChangeLog,v 1.3 2013/02/25 18:35:58 pinkbyte Exp $ |
30 |
+ |
31 |
+*iroffer-dinoex-3.28-r1 (25 Feb 2013) |
32 |
+ |
33 |
+ 25 Feb 2013; Sergey Popov <pinkbyte@g.o> |
34 |
+ +iroffer-dinoex-3.28-r1.ebuild, files/iroffer-dinoex-config.patch: |
35 |
+ Revision bump: improved config patch by Mikle Kolyada, various |
36 |
+ locale-specific improvements by Sébastien P. wrt bug #456316 |
37 |
|
38 |
08 Feb 2013; Sergey Popov <pinkbyte@g.o> files/iroffer-dinoex.init: |
39 |
Port reload and reconnect initscript options from sunrise ebuild |
40 |
|
41 |
|
42 |
|
43 |
1.1 net-irc/iroffer-dinoex/iroffer-dinoex-3.28-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/iroffer-dinoex/iroffer-dinoex-3.28-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/iroffer-dinoex/iroffer-dinoex-3.28-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: iroffer-dinoex-3.28-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2013 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-irc/iroffer-dinoex/iroffer-dinoex-3.28-r1.ebuild,v 1.1 2013/02/25 18:35:58 pinkbyte Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
|
56 |
PLOCALES="de en fr it" |
57 |
PLOCALE_BACKUP="en" |
58 |
|
59 |
inherit eutils l10n toolchain-funcs user |
60 |
|
61 |
DESCRIPTION="IRC fileserver using DCC" |
62 |
HOMEPAGE="http://iroffer.dinoex.net/" |
63 |
SRC_URI="http://iroffer.dinoex.net/${P}.tar.gz |
64 |
http://iroffer.dinoex.net/HISTORY/${P}.tar.gz" |
65 |
|
66 |
LICENSE="GPL-2" |
67 |
SLOT="0" |
68 |
KEYWORDS="~amd64 ~x86" |
69 |
IUSE="+admin +blowfish curl debug geoip gnutls +http kqueue +memsave ruby ssl +telnet upnp" |
70 |
|
71 |
REQUIRED_USE=" |
72 |
admin? ( http ) |
73 |
gnutls? ( ssl ) |
74 |
" |
75 |
|
76 |
# Dependency on NSS should be optional, but it causes automagic, so it is hard for now. |
77 |
# chroot? ( dev-libs/nss ) |
78 |
# $(usex chroot '' '-no-chroot' '' '')\ |
79 |
RDEPEND="dev-libs/nss |
80 |
curl? ( |
81 |
net-misc/curl[ssl?] |
82 |
gnutls? ( net-misc/curl[curl_ssl_gnutls] ) |
83 |
!gnutls? ( ssl? ( net-misc/curl[curl_ssl_openssl] ) ) |
84 |
) |
85 |
geoip? ( dev-libs/geoip ) |
86 |
gnutls? ( net-libs/gnutls ) |
87 |
ruby? ( dev-lang/ruby ) |
88 |
ssl? ( !gnutls? ( dev-libs/openssl ) )" |
89 |
|
90 |
DEPEND="${RDEPEND}" |
91 |
|
92 |
pkg_setup() { |
93 |
enewgroup iroffer |
94 |
enewuser iroffer -1 -1 -1 iroffer |
95 |
} |
96 |
|
97 |
src_prepare() { |
98 |
epatch "${FILESDIR}/${PN}-config.patch"\ |
99 |
"${FILESDIR}/${PN}-Werror.patch" |
100 |
l10n_find_plocales_changes "" 'help-admin-' '.txt' |
101 |
} |
102 |
|
103 |
do_configure() { |
104 |
echo ./Configure $* |
105 |
./Configure $* || die "configure phase failed" |
106 |
} |
107 |
|
108 |
src_configure() { |
109 |
do_configure \ |
110 |
PREFIX="${EPREFIX}/usr"\ |
111 |
$(usex debug '-profiling' '' '' '')\ |
112 |
$(usex debug '-debug' '' '' '')\ |
113 |
$(usex geoip '-geoip' '' '' '')\ |
114 |
$(usex curl '-curl' '' '' '' )\ |
115 |
$(usex gnutls '-tls' '' '' '' '')\ |
116 |
$(usex upnp '-upnp' '' '' '')\ |
117 |
$(usex ruby '-ruby' '' '' '')\ |
118 |
$(usex kqueue '-kqueue' '' '' '')\ |
119 |
$(usex blowfish '' '-no-blowfish' '' '')\ |
120 |
$(usex ssl '' '-no-openssl' '' '')\ |
121 |
$(usex http '' '-no-http' '' '')\ |
122 |
$(usex admin '' '-no-admin' '' '')\ |
123 |
$(usex telnet '' '-no-telnet' '' '')\ |
124 |
$(usex memsave '' '-no-memsave' '' '') |
125 |
} |
126 |
|
127 |
src_compile() { |
128 |
# TODO: default compile targets always include chrooted target, which is not good |
129 |
emake CC="$(tc-getCC)" $(l10n_get_locales) |
130 |
} |
131 |
|
132 |
myloc() { |
133 |
emake DESTDIR="${D}" install-${1} |
134 |
|
135 |
dodoc help-admin-${1}.txt |
136 |
use http && dohtml doc/INSTALL-linux-${1}.html |
137 |
|
138 |
insinto /etc/${PN} |
139 |
case ${1} in |
140 |
"de") |
141 |
doins beispiel.config;; |
142 |
"fr") |
143 |
doins exemple.config;; |
144 |
*) |
145 |
doins sample.config;; |
146 |
esac |
147 |
} |
148 |
|
149 |
src_install() { |
150 |
l10n_for_each_locale_do myloc |
151 |
|
152 |
dodoc README* THANKS TODO |
153 |
doman iroffer.1 xdcc.7 |
154 |
|
155 |
newinitd "${FILESDIR}/${PN}.init" ${PN} |
156 |
newconfd "${FILESDIR}/${PN}.conf" ${PN} |
157 |
|
158 |
insinto /etc/logrotate.d |
159 |
newins "${FILESDIR}/${PN}.logrotate" ${PN} |
160 |
|
161 |
if use ruby; then |
162 |
insinto /usr/share/${PN} |
163 |
doins ruby-sample.rb |
164 |
fi |
165 |
|
166 |
if use http; then |
167 |
insinto /usr/share/${PN}/htdocs |
168 |
doins htdocs/* |
169 |
fi |
170 |
} |