Gentoo Archives: gentoo-commits

From: "Stephen Klimaszewski (steev)" <steev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-benchmarks/siege: ChangeLog siege-2.66.ebuild
Date: Wed, 12 Sep 2007 02:34:56
Message-Id: E1IVHxC-0005eu-5a@stork.gentoo.org
1 steev 07/09/12 02:27:46
2
3 Modified: ChangeLog
4 Added: siege-2.66.ebuild
5 Log:
6 New upstream release, various bugfixes. Permission from robbat2 to bump since we use it at work.
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.40 app-benchmarks/siege/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-benchmarks/siege/ChangeLog?rev=1.40&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-benchmarks/siege/ChangeLog?rev=1.40&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-benchmarks/siege/ChangeLog?r1=1.39&r2=1.40
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-benchmarks/siege/ChangeLog,v
19 retrieving revision 1.39
20 retrieving revision 1.40
21 diff -u -r1.39 -r1.40
22 --- ChangeLog 19 Mar 2007 02:16:18 -0000 1.39
23 +++ ChangeLog 12 Sep 2007 02:27:45 -0000 1.40
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-benchmarks/siege
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/siege/ChangeLog,v 1.39 2007/03/19 02:16:18 kloeri Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/siege/ChangeLog,v 1.40 2007/09/12 02:27:45 steev Exp $
29 +
30 +*siege-2.66 (12 Sep 2007)
31 +
32 + 12 Sep 2007; Steev Klimaszewski <steev@g.o> +siege-2.66.ebuild:
33 + New upstream release, various bugfixes. Permission from robbat2 to bump
34 + since we use it at work.
35
36 19 Mar 2007; Bryan Østergaard <kloeri@g.o> metadata.xml:
37 Remove ka0ttic from metadata.xml due to retirement.
38
39
40
41 1.1 app-benchmarks/siege/siege-2.66.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-benchmarks/siege/siege-2.66.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-benchmarks/siege/siege-2.66.ebuild?rev=1.1&content-type=text/plain
45
46 Index: siege-2.66.ebuild
47 ===================================================================
48 # Copyright 1999-2007 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-benchmarks/siege/siege-2.66.ebuild,v 1.1 2007/09/12 02:27:45 steev Exp $
51
52 inherit eutils bash-completion
53
54 DESCRIPTION="A HTTP regression testing and benchmarking utility"
55 HOMEPAGE="http://www.joedog.org/JoeDog/Siege"
56 SRC_URI="ftp://sid.joedog.org/pub/${PN}/${P}.tar.gz"
57
58 LICENSE="GPL-2"
59 KEYWORDS="~amd64 ~mips ~ppc ~x86"
60 SLOT="0"
61 IUSE="debug ssl"
62
63 DEPEND="ssl? ( >=dev-libs/openssl-0.9.6d )"
64
65 src_unpack() {
66 unpack ${A}
67 cd ${S}
68
69 epatch ${FILESDIR}/${PN}-2.60-gentoo.diff
70
71 # use of \b causes the T in "Transactions" to be displayed
72 # on the last column of the previous line.
73 sed -i 's/\\b\(Transactions:\)/\1/' src/main.c || \
74 die "sed src/main.c failed"
75
76 automake || die "automake failed"
77 }
78
79 src_compile() {
80 local myconf
81 use ssl && myconf="--with-ssl=/usr" || myconf="--without-ssl"
82
83 econf ${myconf} \
84 $(use_with debug debugging) \
85 || die "econf failed"
86
87 emake || die "emake failed"
88 }
89
90 src_install() {
91 make DESTDIR="${D}" install || die "make install failed"
92
93 # bug 111057 - siege.config utility uses ${} which gets
94 # interpreted by bash sending the contents to stderr
95 # instead of ${HOME}/.siegerc
96 sed -i -e 's|\${}|\\${}|' -e 's|\$(HOME)|\\$(HOME)|' \
97 ${D}/usr/bin/siege.config
98
99 dodoc AUTHORS ChangeLog INSTALL MACHINES README* KNOWNBUGS \
100 siegerc-example urls.txt || die "dodoc failed"
101 dobashcompletion ${FILESDIR}/${PN}.bash-completion
102
103 for x in $(find ${D}/usr/bin -name '*.pl') ; do mv "${x}" "${x%.*}" ; done
104 }
105
106 pkg_postinst() {
107 echo
108 elog "An example ~/.siegerc file has been installed as"
109 elog "/usr/share/doc/${PF}/siegerc-example.gz"
110 bash-completion_pkg_postinst
111 }
112
113
114
115 --
116 gentoo-commits@g.o mailing list