Gentoo Archives: gentoo-commits

From: "Konstantin Arkhipov (voxus)" <voxus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-servers/nginx: ChangeLog nginx-0.5.33.ebuild nginx-0.6.21.ebuild nginx-0.6.20.ebuild
Date: Sun, 09 Dec 2007 14:27:41
Message-Id: E1J1N83-000373-Iv@stork.gentoo.org
1 voxus 07/12/09 14:27:35
2
3 Modified: ChangeLog nginx-0.5.33.ebuild
4 Added: nginx-0.6.21.ebuild
5 Removed: nginx-0.6.20.ebuild
6 Log:
7 * bump and bugs #199375, #200240 and #201691
8 (Portage version: 2.1.4_rc9)
9
10 Revision Changes Path
11 1.167 www-servers/nginx/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/nginx/ChangeLog?rev=1.167&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/nginx/ChangeLog?rev=1.167&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/nginx/ChangeLog?r1=1.166&r2=1.167
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v
20 retrieving revision 1.166
21 retrieving revision 1.167
22 diff -u -r1.166 -r1.167
23 --- ChangeLog 29 Nov 2007 12:14:29 -0000 1.166
24 +++ ChangeLog 9 Dec 2007 14:27:35 -0000 1.167
25 @@ -1,6 +1,12 @@
26 # ChangeLog for www-servers/nginx
27 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v 1.166 2007/11/29 12:14:29 voxus Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v 1.167 2007/12/09 14:27:35 voxus Exp $
30 +
31 +*nginx-0.6.21 (09 Dec 2007)
32 +
33 + 09 Dec 2007; Konstantin V. Arkhipov <voxus@g.o>
34 + nginx-0.5.33.ebuild, -nginx-0.6.20.ebuild, +nginx-0.6.21.ebuild:
35 + Version bump, also closes bugs #199375, #200240 and #201691.
36
37 *nginx-0.6.20 (29 Nov 2007)
38
39
40
41
42 1.2 www-servers/nginx/nginx-0.5.33.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/nginx/nginx-0.5.33.ebuild?rev=1.2&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/nginx/nginx-0.5.33.ebuild?rev=1.2&content-type=text/plain
46 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/nginx/nginx-0.5.33.ebuild?r1=1.1&r2=1.2
47
48 Index: nginx-0.5.33.ebuild
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.5.33.ebuild,v
51 retrieving revision 1.1
52 retrieving revision 1.2
53 diff -u -r1.1 -r1.2
54 --- nginx-0.5.33.ebuild 8 Nov 2007 13:28:59 -0000 1.1
55 +++ nginx-0.5.33.ebuild 9 Dec 2007 14:27:35 -0000 1.2
56 @@ -1,6 +1,6 @@
57 # Copyright 1999-2007 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 -# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.5.33.ebuild,v 1.1 2007/11/08 13:28:59 voxus Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.5.33.ebuild,v 1.2 2007/12/09 14:27:35 voxus Exp $
61
62 inherit eutils ssl-cert
63
64 @@ -92,10 +92,11 @@
65
66 pkg_postinst() {
67 use ssl && {
68 - if [ ! -f "${ROOT}"etc/ssl/${PN}/${PN}.key ]; then
69 - insinto "${ROOT}"etc/ssl/${PN}
70 + if [ ! -f "${ROOT}"/etc/ssl/${PN}/${PN}.key ]; then
71 + dodir "${ROOT}"/etc/ssl/${PN}
72 + insinto "${ROOT}"etc/ssl/${PN}/
73 insopts -m0644 -o nginx -g nginx
74 - docert nginx
75 + install_cert /etc/ssl/nginx/nginx
76 fi
77 }
78 }
79
80
81
82 1.1 www-servers/nginx/nginx-0.6.21.ebuild
83
84 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/nginx/nginx-0.6.21.ebuild?rev=1.1&view=markup
85 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/nginx/nginx-0.6.21.ebuild?rev=1.1&content-type=text/plain
86
87 Index: nginx-0.6.21.ebuild
88 ===================================================================
89 # Copyright 1999-2007 Gentoo Foundation
90 # Distributed under the terms of the GNU General Public License v2
91 # $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.6.21.ebuild,v 1.1 2007/12/09 14:27:35 voxus Exp $
92
93 inherit eutils ssl-cert
94
95 DESCRIPTION="Robust, small and high performance http and reverse proxy server"
96
97 HOMEPAGE="http://nginx.net/"
98 SRC_URI="http://sysoev.ru/nginx/${P}.tar.gz"
99 LICENSE="BSD"
100 SLOT="0"
101 KEYWORDS="~amd64 ~ppc ~x86"
102 IUSE="addition debug fastcgi flv imap pcre perl ssl status sub webdav zlib"
103
104 DEPEND="dev-lang/perl
105 pcre? ( >=dev-libs/libpcre-4.2 )
106 ssl? ( dev-libs/openssl )
107 zlib? ( sys-libs/zlib )
108 perl? ( >=dev-lang/perl-5.8 )"
109
110 pkg_setup() {
111 ebegin "Creating nginx user and group"
112 enewgroup nginx
113 enewuser nginx -1 -1 /dev/null nginx
114 eend ${?}
115 }
116
117 src_compile() {
118 local myconf
119
120 # threads support is broken atm.
121 #
122 # if use threads; then
123 # einfo
124 # ewarn "threads support is experimental at the moment"
125 # ewarn "do not use it on production systems - you've been warned"
126 # einfo
127 # myconf="${myconf} --with-threads"
128 # fi
129
130 use addition && myconf="${myconf} --with-http_addition_module"
131 use fastcgi || myconf="${myconf} --without-http_fastcgi_module"
132 use fastcgi && myconf="${myconf} --with-http_realip_module"
133 use flv && myconf="${myconf} --with-http_flv_module"
134 use zlib || myconf="${myconf} --without-http_gzip_module"
135 use pcre || {
136 myconf="${myconf} --without-pcre --without-http_rewrite_module"
137 }
138 use debug && myconf="${myconf} --with-debug"
139 use ssl && myconf="${myconf} --with-http_ssl_module"
140 use imap && myconf="${myconf} --with-imap" # pop3/imap4 proxy support
141 use perl && myconf="${myconf} --with-http_perl_module"
142 use status && myconf="${myconf} --with-http_stub_status_module"
143 use webdav && myconf="${myconf} --with-http_dav_module"
144 use sub && myconf="${myconf} --with-http_sub_module"
145
146 ./configure \
147 --prefix=/usr \
148 --conf-path=/etc/${PN}/${PN}.conf \
149 --http-log-path=/var/log/${PN}/access_log \
150 --error-log-path=/var/log/${PN}/error_log \
151 --pid-path=/var/run/${PN}.pid \
152 --http-client-body-temp-path=/var/tmp/${PN}/client \
153 --http-proxy-temp-path=/var/tmp/${PN}/proxy \
154 --http-fastcgi-temp-path=/var/tmp/${PN}/fastcgi \
155 --with-md5-asm --with-md5=/usr/include \
156 --with-sha1-asm --with-sha1=/usr/include \
157 ${myconf} || die "configure failed"
158
159 emake || die "failed to compile"
160 }
161
162 src_install() {
163 keepdir /var/log/${PN} /var/tmp/${PN}/{client,proxy,fastcgi}
164
165 dosbin objs/nginx
166 cp "${FILESDIR}"/nginx-r1 "${T}"/nginx
167 doinitd "${T}"/nginx
168
169 cp "${FILESDIR}"/nginx.conf-r4 conf/nginx.conf
170
171 dodir "${ROOT}"/etc/${PN}
172 insinto "${ROOT}"/etc/${PN}
173 doins conf/*
174
175 dodoc CHANGES{,.ru} LICENSE README
176
177 use perl && {
178 cd "${S}"/objs/src/http/modules/perl/
179 einstall DESTDIR="${D}"|| die "failed to install perl stuff"
180 }
181 }
182
183 pkg_postinst() {
184 use ssl && {
185 if [ ! -f "${ROOT}"/etc/ssl/${PN}/${PN}.key ]; then
186 dodir "${ROOT}"/etc/ssl/${PN}
187 insinto "${ROOT}"etc/ssl/${PN}/
188 insopts -m0644 -o nginx -g nginx
189 install_cert /etc/ssl/nginx/nginx
190 fi
191 }
192 }
193
194
195
196 --
197 gentoo-commits@g.o mailing list