Gentoo Archives: gentoo-commits

From: "Andrej Kacian (ticho)" <ticho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-im/silc-plugin: ChangeLog silc-plugin-1.0.1-r4.ebuild silc-plugin-1.1.2.ebuild silc-plugin-1.1.2-r1.ebuild silc-plugin-1.0.3.ebuild silc-plugin-1.0.4.1.ebuild silc-plugin-1.0.1-r5.ebuild
Date: Sun, 09 Dec 2007 13:36:21
Message-Id: E1J1Lt9-0001sd-IS@stork.gentoo.org
1 ticho 07/12/09 13:08:07
2
3 Modified: ChangeLog silc-plugin-1.0.1-r4.ebuild
4 silc-plugin-1.1.2.ebuild
5 Added: silc-plugin-1.1.2-r1.ebuild
6 Removed: silc-plugin-1.0.3.ebuild silc-plugin-1.0.4.1.ebuild
7 silc-plugin-1.0.1-r5.ebuild
8 Log:
9 Remove legacy libfe_silc.so symlink to prevent signed messages from appearing twice. Old versions cleanup. Variable quoting fixed.
10 (Portage version: 2.1.3.18)
11
12 Revision Changes Path
13 1.28 net-im/silc-plugin/ChangeLog
14
15 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/silc-plugin/ChangeLog?rev=1.28&view=markup
16 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/silc-plugin/ChangeLog?rev=1.28&content-type=text/plain
17 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/silc-plugin/ChangeLog?r1=1.27&r2=1.28
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/net-im/silc-plugin/ChangeLog,v
22 retrieving revision 1.27
23 retrieving revision 1.28
24 diff -u -r1.27 -r1.28
25 --- ChangeLog 1 Oct 2007 20:19:27 -0000 1.27
26 +++ ChangeLog 9 Dec 2007 13:08:07 -0000 1.28
27 @@ -1,6 +1,15 @@
28 # ChangeLog for net-im/silc-plugin
29 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/net-im/silc-plugin/ChangeLog,v 1.27 2007/10/01 20:19:27 swegener Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/net-im/silc-plugin/ChangeLog,v 1.28 2007/12/09 13:08:07 ticho Exp $
32 +
33 +*silc-plugin-1.1.2-r1 (09 Dec 2007)
34 +
35 + 09 Dec 2007; Andrej Kacian <ticho@g.o> silc-plugin-1.0.1-r4.ebuild,
36 + -silc-plugin-1.0.1-r5.ebuild, -silc-plugin-1.0.3.ebuild,
37 + -silc-plugin-1.0.4.1.ebuild, silc-plugin-1.1.2.ebuild,
38 + +silc-plugin-1.1.2-r1.ebuild:
39 + Remove legacy libfe_silc.so symlink to prevent signed messages from
40 + appearing twice. Old versions cleanup. Variable quoting fixed.
41
42 01 Oct 2007; Sven Wegener <swegener@g.o> silc-plugin-1.1.2.ebuild:
43 Use full atoms for built_with_use.
44
45
46
47 1.6 net-im/silc-plugin/silc-plugin-1.0.1-r4.ebuild
48
49 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/silc-plugin/silc-plugin-1.0.1-r4.ebuild?rev=1.6&view=markup
50 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/silc-plugin/silc-plugin-1.0.1-r4.ebuild?rev=1.6&content-type=text/plain
51 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/silc-plugin/silc-plugin-1.0.1-r4.ebuild?r1=1.5&r2=1.6
52
53 Index: silc-plugin-1.0.1-r4.ebuild
54 ===================================================================
55 RCS file: /var/cvsroot/gentoo-x86/net-im/silc-plugin/silc-plugin-1.0.1-r4.ebuild,v
56 retrieving revision 1.5
57 retrieving revision 1.6
58 diff -u -r1.5 -r1.6
59 --- silc-plugin-1.0.1-r4.ebuild 26 Oct 2006 19:47:24 -0000 1.5
60 +++ silc-plugin-1.0.1-r4.ebuild 9 Dec 2007 13:08:07 -0000 1.6
61 @@ -1,6 +1,6 @@
62 -# Copyright 1999-2006 Gentoo Foundation
63 +# Copyright 1999-2007 Gentoo Foundation
64 # Distributed under the terms of the GNU General Public License v2
65 -# $Header: /var/cvsroot/gentoo-x86/net-im/silc-plugin/silc-plugin-1.0.1-r4.ebuild,v 1.5 2006/10/26 19:47:24 ticho Exp $
66 +# $Header: /var/cvsroot/gentoo-x86/net-im/silc-plugin/silc-plugin-1.0.1-r4.ebuild,v 1.6 2007/12/09 13:08:07 ticho Exp $
67
68 inherit eutils perl-module
69
70 @@ -33,14 +33,14 @@
71
72 echo
73 einfo "Preparing silc-client\n"
74 - cd ${S_SILC}
75 + cd "${S_SILC}"
76 if has_version ">=net-irc/irssi-0.8.10_rc1" ; then
77 sed -i -e "s:\"term_type\":\"term_charset\":" \
78 irssi/src/silc/core/silc-servers.c
79 sed -i -e "s:\"term_type\":\"term_charset\":" \
80 irssi/src/fe-text/term.c
81 fi
82 - econf --with-helpdir=${D}/usr/share/irssi/help/silc/ \
83 + econf --with-helpdir="${D}"/usr/share/irssi/help/silc/ \
84 --without-libtoolfix \
85 --enable-static \
86 `use_enable debug` || die "silc-client configure failed"
87 @@ -48,14 +48,14 @@
88
89 echo
90 einfo "Patching irssi source for silc-plugin\n"
91 - cd ${S}
92 - epatch ${FILESDIR}/${PV}-branch-update.patch || die "${PV}-branch-update.patch failed"
93 - emake patch IRSSI=${S_IRSSI} SILC=${S_SILC} || die "patching irssi sources failed"
94 + cd "${S}"
95 + epatch "${FILESDIR}"/${PV}-branch-update.patch || die "${PV}-branch-update.patch failed"
96 + emake patch IRSSI="${S_IRSSI}" SILC="${S_SILC}" || die "patching irssi sources failed"
97
98 - cd ${S_IRSSI}
99 + cd "${S_IRSSI}"
100
101 # this tiny patch fixes a compile-time error (bug #67255) - ticho
102 - epatch ${FILESDIR}/${PV}-gcc34.patch || die "${PV}-gcc34.patch failed"
103 + epatch "${FILESDIR}"/${PV}-gcc34.patch || die "${PV}-gcc34.patch failed"
104
105 echo
106 einfo "Configuring irssi\n"
107 @@ -68,22 +68,22 @@
108 }
109
110 src_install() {
111 - cd ${S_IRSSI}
112 - make -C src/perl/silc DESTDIR=${D} install || die "irssi's src/perl/silc installation failed"
113 - make -C src/fe-common/silc DESTDIR=${D} install || die "irssi's src/fe-common/silc installation failed"
114 - make -C src/silc/core install DESTDIR=${D} install || die "irssi's src/silc/core installation failed"
115 + cd "${S_IRSSI}"
116 + make -C src/perl/silc DESTDIR="${D}" install || die "irssi's src/perl/silc installation failed"
117 + make -C src/fe-common/silc DESTDIR="${D}" install || die "irssi's src/fe-common/silc installation failed"
118 + make -C src/silc/core install DESTDIR="${D}" install || die "irssi's src/silc/core installation failed"
119
120 - cd ${S_SILC}
121 + cd "${S_SILC}"
122 make -C irssi/docs/help install || die "silc-client's helpfiles installation failed"
123
124 - cd ${S}
125 + cd "${S}"
126 insinto /usr/share/irssi/scripts
127 doins scripts/*
128
129 insinto /usr/share/irssi
130 doins default.theme
131
132 - dodoc AUTHORS COPYING README USAGE
133 + dodoc AUTHORS README USAGE
134
135 fixlocalpod
136 }
137
138
139
140 1.5 net-im/silc-plugin/silc-plugin-1.1.2.ebuild
141
142 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/silc-plugin/silc-plugin-1.1.2.ebuild?rev=1.5&view=markup
143 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/silc-plugin/silc-plugin-1.1.2.ebuild?rev=1.5&content-type=text/plain
144 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/silc-plugin/silc-plugin-1.1.2.ebuild?r1=1.4&r2=1.5
145
146 Index: silc-plugin-1.1.2.ebuild
147 ===================================================================
148 RCS file: /var/cvsroot/gentoo-x86/net-im/silc-plugin/silc-plugin-1.1.2.ebuild,v
149 retrieving revision 1.4
150 retrieving revision 1.5
151 diff -u -r1.4 -r1.5
152 --- silc-plugin-1.1.2.ebuild 1 Oct 2007 20:19:27 -0000 1.4
153 +++ silc-plugin-1.1.2.ebuild 9 Dec 2007 13:08:07 -0000 1.5
154 @@ -1,6 +1,6 @@
155 # Copyright 1999-2007 Gentoo Foundation
156 # Distributed under the terms of the GNU General Public License v2
157 -# $Header: /var/cvsroot/gentoo-x86/net-im/silc-plugin/silc-plugin-1.1.2.ebuild,v 1.4 2007/10/01 20:19:27 swegener Exp $
158 +# $Header: /var/cvsroot/gentoo-x86/net-im/silc-plugin/silc-plugin-1.1.2.ebuild,v 1.5 2007/12/09 13:08:07 ticho Exp $
159
160 inherit eutils perl-module
161
162 @@ -33,7 +33,7 @@
163
164 src_unpack() {
165 unpack ${A}
166 - cd ${S}
167 + cd "${S}"
168
169 sed -i -e "s:-g -O2:${CFLAGS}:g" configure
170 use amd64 && sed -i -e 's:felf\([^6]\):felf64\1:g' configure
171 @@ -64,8 +64,8 @@
172
173 make DESTDIR="${D}" ${myflags} install || die
174
175 - dodoc ${D}/usr/share/doc/silc-client/*
176 - rm -rf ${D}/usr/share/doc/silc-client
177 + dodoc "${D}"/usr/share/doc/silc-client/*
178 + rm -rf "${D}"/usr/share/doc/silc-client
179
180 fixlocalpod
181 }
182
183
184
185 1.1 net-im/silc-plugin/silc-plugin-1.1.2-r1.ebuild
186
187 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/silc-plugin/silc-plugin-1.1.2-r1.ebuild?rev=1.1&view=markup
188 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/silc-plugin/silc-plugin-1.1.2-r1.ebuild?rev=1.1&content-type=text/plain
189
190 Index: silc-plugin-1.1.2-r1.ebuild
191 ===================================================================
192 # Copyright 1999-2007 Gentoo Foundation
193 # Distributed under the terms of the GNU General Public License v2
194 # $Header: /var/cvsroot/gentoo-x86/net-im/silc-plugin/silc-plugin-1.1.2-r1.ebuild,v 1.1 2007/12/09 13:08:07 ticho Exp $
195
196 inherit eutils perl-module
197
198 IRSSI_PV="0.8.10a"
199
200 DESCRIPTION="A SILC plugin for Irssi"
201 HOMEPAGE="http://penguin-breeder.org/silc/"
202 SRC_URI="http://www.silcnet.org/download/client/sources/silc-client-${PV}.tar.bz2"
203 LICENSE="GPL-2"
204
205 SLOT="0"
206 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
207 IUSE=""
208
209 # All necessary dependencies are pulled in by irssi.
210 DEPEND="=dev-libs/glib-1.2*
211 www-client/lynx" # this is for .html -> .txt docs convert
212 RDEPEND=">=net-irc/irssi-${IRSSI_PV%a}
213 >=dev-perl/MIME-tools-5.413
214 dev-perl/File-MMagic
215 dev-perl/MailTools"
216
217 S="${WORKDIR}/silc-client-${PV}"
218
219 pkg_setup() {
220 if ! built_with_use net-irc/irssi perl ; then
221 die "Irssi was built without perl support, building a perl plugin makes no sense."
222 fi
223 }
224
225 src_unpack() {
226 unpack ${A}
227 cd "${S}"
228
229 sed -i -e "s:-g -O2:${CFLAGS}:g" configure
230 use amd64 && sed -i -e 's:felf\([^6]\):felf64\1:g' configure
231 }
232
233 src_compile() {
234
235 econf \
236 ${myflags} \
237 --with-silc-plugin \
238 --without-silc-includes \
239 --with-pic \
240 || die
241
242 emake || die
243 }
244
245 src_install() {
246 local myflags
247
248 R1="s/installsitearch='//"
249 R2="s/';//"
250 perl_sitearch="`perl -V:installsitearch | sed -e ${R1} -e ${R2}`"
251 myflags="${myflags} INSTALLPRIVLIB=/usr/$(get_libdir)"
252 myflags="${myflags} INSTALLARCHLIB=${perl_sitearch}"
253 myflags="${myflags} INSTALLSITELIB=${perl_sitearch}"
254 myflags="${myflags} INSTALLSITEARCH=${perl_sitearch}"
255
256 make DESTDIR="${D}" ${myflags} install || die
257
258 dodoc "${D}"/usr/share/doc/silc-client/*
259 rm -rf "${D}"/usr/share/doc/silc-client
260
261 rm "${D}"/usr/lib/irssi/modules/libfe_silc.so
262
263 fixlocalpod
264 }
265
266 pkg_postinst() {
267 elog "You can load the plugin with following command in Irssi:"
268 elog
269 elog "\t/LOAD silc"
270 elog
271 elog "It will automatically generate a new key pair for you. You will be asked to"
272 elog "enter a passphrase for this keypair twice. If you leave the passphrase"
273 elog "empty, your key will not be stored encrypted."
274 elog
275 elog "To make full use of silc-plugin, you should load the following perl script"
276 elog "into Irssi:"
277 elog
278 elog "\t/SCRIPT LOAD silc"
279 elog
280 elog "To connect to the SILCNet, you can use following command:"
281 elog
282 elog "\t/CONNECT -silcnet SILCNet silc.silcnet.org"
283 elog
284 elog "Have fun."
285 }
286
287
288
289 --
290 gentoo-commits@g.o mailing list