1 |
voxus 07/10/30 09:17:03 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nginx-0.6.16.ebuild |
5 |
Removed: nginx-0.6.15.ebuild |
6 |
Log: |
7 |
* bump |
8 |
(Portage version: 2.1.3.16) |
9 |
|
10 |
Revision Changes Path |
11 |
1.164 www-servers/nginx/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/nginx/ChangeLog?rev=1.164&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/nginx/ChangeLog?rev=1.164&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/nginx/ChangeLog?r1=1.163&r2=1.164 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v |
20 |
retrieving revision 1.163 |
21 |
retrieving revision 1.164 |
22 |
diff -u -r1.163 -r1.164 |
23 |
--- ChangeLog 27 Oct 2007 19:48:40 -0000 1.163 |
24 |
+++ ChangeLog 30 Oct 2007 09:17:03 -0000 1.164 |
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.163 2007/10/27 19:48:40 voxus Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v 1.164 2007/10/30 09:17:03 voxus Exp $ |
30 |
+ |
31 |
+*nginx-0.6.16 (30 Oct 2007) |
32 |
+ |
33 |
+ 30 Oct 2007; Konstantin V. Arkhipov <voxus@g.o> |
34 |
+ -nginx-0.6.15.ebuild, +nginx-0.6.16.ebuild: |
35 |
+ Version bump. |
36 |
|
37 |
*nginx-0.6.15 (27 Oct 2007) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 www-servers/nginx/nginx-0.6.16.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/nginx/nginx-0.6.16.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/nginx/nginx-0.6.16.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: nginx-0.6.16.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2007 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.6.16.ebuild,v 1.1 2007/10/30 09:17:03 voxus Exp $ |
52 |
|
53 |
inherit eutils ssl-cert |
54 |
|
55 |
DESCRIPTION="Robust, small and high performance http and reverse proxy server" |
56 |
|
57 |
HOMEPAGE="http://sysoev.ru/nginx/" |
58 |
SRC_URI="http://sysoev.ru/nginx/${P}.tar.gz" |
59 |
LICENSE="BSD" |
60 |
SLOT="0" |
61 |
KEYWORDS="~amd64 ~ppc ~x86" |
62 |
IUSE="debug fastcgi flv imap pcre perl 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 nginx |
73 |
enewuser nginx -1 -1 /dev/null nginx |
74 |
eend ${?} |
75 |
} |
76 |
|
77 |
src_compile() { |
78 |
local myconf |
79 |
|
80 |
# threads support is broken atm. |
81 |
# |
82 |
# if use threads; then |
83 |
# einfo |
84 |
# ewarn "threads support is experimental at the moment" |
85 |
# ewarn "do not use it on production systems - you've been warned" |
86 |
# einfo |
87 |
# myconf="${myconf} --with-threads" |
88 |
# fi |
89 |
|
90 |
use fastcgi || myconf="${myconf} --without-http_fastcgi_module" |
91 |
use fastcgi && myconf="${myconf} --with-http_realip_module" |
92 |
use flv && myconf="${myconf} --with-http_flv_module" |
93 |
use zlib || myconf="${myconf} --without-http_gzip_module" |
94 |
use pcre || { |
95 |
myconf="${myconf} --without-pcre --without-http_rewrite_module" |
96 |
} |
97 |
use debug && myconf="${myconf} --with-debug" |
98 |
use ssl && myconf="${myconf} --with-http_ssl_module" |
99 |
use imap && myconf="${myconf} --with-imap" # pop3/imap4 proxy support |
100 |
use perl && myconf="${myconf} --with-http_perl_module" |
101 |
use status && myconf="${myconf} --with-http_stub_status_module" |
102 |
use webdav && myconf="${myconf} --with-http_dav_module" |
103 |
use sub && myconf="${myconf} --with-http_sub_module" |
104 |
|
105 |
./configure \ |
106 |
--prefix=/usr \ |
107 |
--conf-path=/etc/${PN}/${PN}.conf \ |
108 |
--http-log-path=/var/log/${PN}/access_log \ |
109 |
--error-log-path=/var/log/${PN}/error_log \ |
110 |
--pid-path=/var/run/${PN}.pid \ |
111 |
--http-client-body-temp-path=/var/tmp/${PN}/client \ |
112 |
--http-proxy-temp-path=/var/tmp/${PN}/proxy \ |
113 |
--http-fastcgi-temp-path=/var/tmp/${PN}/fastcgi \ |
114 |
--with-md5-asm --with-md5=/usr/include \ |
115 |
${myconf} || die "configure failed" |
116 |
|
117 |
emake || die "failed to compile" |
118 |
} |
119 |
|
120 |
src_install() { |
121 |
keepdir /var/log/${PN} /var/tmp/${PN}/{client,proxy,fastcgi} |
122 |
|
123 |
dosbin objs/nginx |
124 |
cp "${FILESDIR}"/nginx-r1 "${T}"/nginx |
125 |
doinitd "${T}"/nginx |
126 |
|
127 |
cp "${FILESDIR}"/nginx.conf-r4 conf/nginx.conf |
128 |
|
129 |
dodir "${ROOT}"/etc/${PN} |
130 |
insinto "${ROOT}"/etc/${PN} |
131 |
doins conf/* |
132 |
|
133 |
dodoc CHANGES{,.ru} LICENSE README |
134 |
|
135 |
use perl && { |
136 |
cd "${S}"/objs/src/http/modules/perl/ |
137 |
einstall DESTDIR="${D}"|| die "failed to install perl stuff" |
138 |
} |
139 |
} |
140 |
|
141 |
pkg_postinst() { |
142 |
use ssl && { |
143 |
if [ ! -f "${ROOT}"etc/ssl/${PN}/${PN}.key ]; then |
144 |
insinto "${ROOT}"etc/ssl/${PN} |
145 |
insopts -m0644 -o nginx -g nginx |
146 |
docert nginx |
147 |
fi |
148 |
} |
149 |
} |
150 |
|
151 |
|
152 |
|
153 |
-- |
154 |
gentoo-commits@g.o mailing list |