1 |
voxus 09/03/22 13:46:18 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nginx-0.7.43.ebuild |
5 |
Removed: nginx-0.7.42.ebuild |
6 |
Log: |
7 |
* bump |
8 |
(Portage version: 2.2_rc26/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.210 www-servers/nginx/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/nginx/ChangeLog?rev=1.210&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/nginx/ChangeLog?rev=1.210&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/nginx/ChangeLog?r1=1.209&r2=1.210 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v |
20 |
retrieving revision 1.209 |
21 |
retrieving revision 1.210 |
22 |
diff -u -r1.209 -r1.210 |
23 |
--- ChangeLog 17 Mar 2009 15:50:24 -0000 1.209 |
24 |
+++ ChangeLog 22 Mar 2009 13:46:18 -0000 1.210 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for www-servers/nginx |
27 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v 1.209 2009/03/17 15:50:24 voxus Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v 1.210 2009/03/22 13:46:18 voxus Exp $ |
30 |
+ |
31 |
+*nginx-0.7.43 (22 Mar 2009) |
32 |
+ |
33 |
+ 22 Mar 2009; Konstantin V. Arkhipov <voxus@g.o> |
34 |
+ -nginx-0.7.42.ebuild, +nginx-0.7.43.ebuild: |
35 |
+ Version bump. |
36 |
|
37 |
*nginx-0.7.42 (17 Mar 2009) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 www-servers/nginx/nginx-0.7.43.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/nginx/nginx-0.7.43.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/nginx/nginx-0.7.43.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: nginx-0.7.43.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2009 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.7.43.ebuild,v 1.1 2009/03/22 13:46:18 voxus Exp $ |
52 |
|
53 |
inherit eutils ssl-cert toolchain-funcs |
54 |
|
55 |
DESCRIPTION="Robust, small and high performance http and reverse proxy server" |
56 |
|
57 |
HOMEPAGE="http://nginx.net/" |
58 |
SRC_URI="http://sysoev.ru/nginx/${P}.tar.gz" |
59 |
LICENSE="BSD" |
60 |
SLOT="0" |
61 |
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" |
62 |
IUSE="addition debug fastcgi flv imap pcre perl random-index ssl status sub webdav zlib" |
63 |
|
64 |
DEPEND="dev-lang/perl |
65 |
pcre? ( >=dev-libs/libpcre-4.2 ) |
66 |
ssl? ( dev-libs/openssl ) |
67 |
zlib? ( sys-libs/zlib ) |
68 |
perl? ( >=dev-lang/perl-5.8 )" |
69 |
|
70 |
pkg_setup() { |
71 |
ebegin "Creating nginx user and group" |
72 |
enewgroup ${PN} |
73 |
enewuser ${PN} -1 -1 -1 ${PN} |
74 |
eend ${?} |
75 |
} |
76 |
|
77 |
src_unpack() { |
78 |
unpack ${A} |
79 |
sed -i 's/ make/ \\$(MAKE)/' "${S}"/auto/lib/perl/make || die |
80 |
} |
81 |
|
82 |
src_compile() { |
83 |
local myconf |
84 |
|
85 |
# threads support is broken atm. |
86 |
# |
87 |
# if use threads; then |
88 |
# einfo |
89 |
# ewarn "threads support is experimental at the moment" |
90 |
# ewarn "do not use it on production systems - you've been warned" |
91 |
# einfo |
92 |
# myconf="${myconf} --with-threads" |
93 |
# fi |
94 |
|
95 |
use addition && myconf="${myconf} --with-http_addition_module" |
96 |
use fastcgi || myconf="${myconf} --without-http_fastcgi_module" |
97 |
use fastcgi && myconf="${myconf} --with-http_realip_module" |
98 |
use flv && myconf="${myconf} --with-http_flv_module" |
99 |
use zlib || myconf="${myconf} --without-http_gzip_module" |
100 |
use pcre || { |
101 |
myconf="${myconf} --without-pcre --without-http_rewrite_module" |
102 |
} |
103 |
use debug && myconf="${myconf} --with-debug" |
104 |
use ssl && myconf="${myconf} --with-http_ssl_module" |
105 |
use imap && myconf="${myconf} --with-imap" # pop3/imap4 proxy support |
106 |
use perl && myconf="${myconf} --with-http_perl_module" |
107 |
use status && myconf="${myconf} --with-http_stub_status_module" |
108 |
use webdav && myconf="${myconf} --with-http_dav_module" |
109 |
use sub && myconf="${myconf} --with-http_sub_module" |
110 |
use random-index && myconf="${myconf} --with-http_random_index_module" |
111 |
|
112 |
tc-export CC |
113 |
./configure \ |
114 |
--prefix=/usr \ |
115 |
--conf-path=/etc/${PN}/${PN}.conf \ |
116 |
--http-log-path=/var/log/${PN}/access_log \ |
117 |
--error-log-path=/var/log/${PN}/error_log \ |
118 |
--pid-path=/var/run/${PN}.pid \ |
119 |
--http-client-body-temp-path=/var/tmp/${PN}/client \ |
120 |
--http-proxy-temp-path=/var/tmp/${PN}/proxy \ |
121 |
--http-fastcgi-temp-path=/var/tmp/${PN}/fastcgi \ |
122 |
--with-md5-asm --with-md5=/usr/include \ |
123 |
--with-sha1-asm --with-sha1=/usr/include \ |
124 |
${myconf} || die "configure failed" |
125 |
|
126 |
emake LINK="${CC} ${LDFLAGS}" OTHERLDFLAGS="${LDFLAGS}" || die "failed to compile" |
127 |
} |
128 |
|
129 |
src_install() { |
130 |
keepdir /var/log/${PN} /var/tmp/${PN}/{client,proxy,fastcgi} |
131 |
|
132 |
dosbin objs/nginx |
133 |
cp "${FILESDIR}"/nginx-r1 "${T}"/nginx |
134 |
doinitd "${T}"/nginx |
135 |
|
136 |
cp "${FILESDIR}"/nginx.conf-r4 conf/nginx.conf |
137 |
|
138 |
dodir /etc/${PN} |
139 |
insinto /etc/${PN} |
140 |
doins conf/* |
141 |
|
142 |
dodoc CHANGES{,.ru} README |
143 |
|
144 |
use perl && { |
145 |
cd "${S}"/objs/src/http/modules/perl/ |
146 |
einstall DESTDIR="${D}"|| die "failed to install perl stuff" |
147 |
} |
148 |
} |
149 |
|
150 |
pkg_postinst() { |
151 |
use ssl && { |
152 |
if [ ! -f "${ROOT}"/etc/ssl/${PN}/${PN}.key ]; then |
153 |
install_cert /etc/ssl/${PN}/${PN} |
154 |
chown ${PN}:${PN} "${ROOT}"/etc/ssl/${PN}/${PN}.{crt,csr,key,pem} |
155 |
fi |
156 |
} |
157 |
} |