1 |
voxus 08/05/02 11:46:13 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nginx-0.6.30.ebuild |
5 |
Log: |
6 |
* bump |
7 |
(Portage version: 2.1.5_rc6) |
8 |
|
9 |
Revision Changes Path |
10 |
1.177 www-servers/nginx/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/nginx/ChangeLog?rev=1.177&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/nginx/ChangeLog?rev=1.177&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/nginx/ChangeLog?r1=1.176&r2=1.177 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v |
19 |
retrieving revision 1.176 |
20 |
retrieving revision 1.177 |
21 |
diff -u -r1.176 -r1.177 |
22 |
--- ChangeLog 11 Apr 2008 14:06:07 -0000 1.176 |
23 |
+++ ChangeLog 2 May 2008 11:46:12 -0000 1.177 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for www-servers/nginx |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v 1.176 2008/04/11 14:06:07 voxus Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v 1.177 2008/05/02 11:46:12 voxus Exp $ |
29 |
+ |
30 |
+*nginx-0.6.30 (02 May 2008) |
31 |
+ |
32 |
+ 02 May 2008; Konstantin V. Arkhipov <voxus@g.o> |
33 |
+ +nginx-0.6.30.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
11 Apr 2008; Konstantin V. Arkhipov <voxus@g.o> |
37 |
-nginx-0.5.34.ebuild, nginx-0.5.35.ebuild, -nginx-0.6.24.ebuild, |
38 |
|
39 |
|
40 |
|
41 |
1.1 www-servers/nginx/nginx-0.6.30.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/nginx/nginx-0.6.30.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/nginx/nginx-0.6.30.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: nginx-0.6.30.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.6.30.ebuild,v 1.1 2008/05/02 11:46:12 voxus Exp $ |
51 |
|
52 |
inherit eutils ssl-cert |
53 |
|
54 |
DESCRIPTION="Robust, small and high performance http and reverse proxy server" |
55 |
|
56 |
HOMEPAGE="http://nginx.net/" |
57 |
SRC_URI="http://sysoev.ru/nginx/${P}.tar.gz" |
58 |
LICENSE="BSD" |
59 |
SLOT="0" |
60 |
KEYWORDS="~amd64 ~ppc ~x86" |
61 |
IUSE="addition debug fastcgi flv imap pcre perl ssl status sub webdav zlib" |
62 |
|
63 |
DEPEND="dev-lang/perl |
64 |
pcre? ( >=dev-libs/libpcre-4.2 ) |
65 |
ssl? ( dev-libs/openssl ) |
66 |
zlib? ( sys-libs/zlib ) |
67 |
perl? ( >=dev-lang/perl-5.8 )" |
68 |
|
69 |
pkg_setup() { |
70 |
ebegin "Creating nginx user and group" |
71 |
enewgroup nginx |
72 |
enewuser nginx -1 -1 /dev/null nginx |
73 |
eend ${?} |
74 |
} |
75 |
|
76 |
src_compile() { |
77 |
local myconf |
78 |
|
79 |
# threads support is broken atm. |
80 |
# |
81 |
# if use threads; then |
82 |
# einfo |
83 |
# ewarn "threads support is experimental at the moment" |
84 |
# ewarn "do not use it on production systems - you've been warned" |
85 |
# einfo |
86 |
# myconf="${myconf} --with-threads" |
87 |
# fi |
88 |
|
89 |
use addition && myconf="${myconf} --with-http_addition_module" |
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 |
--with-sha1-asm --with-sha1=/usr/include \ |
116 |
${myconf} || die "configure failed" |
117 |
|
118 |
emake || die "failed to compile" |
119 |
} |
120 |
|
121 |
src_install() { |
122 |
keepdir /var/log/${PN} /var/tmp/${PN}/{client,proxy,fastcgi} |
123 |
|
124 |
dosbin objs/nginx |
125 |
cp "${FILESDIR}"/nginx-r1 "${T}"/nginx |
126 |
doinitd "${T}"/nginx |
127 |
|
128 |
cp "${FILESDIR}"/nginx.conf-r4 conf/nginx.conf |
129 |
|
130 |
dodir "${ROOT}"/etc/${PN} |
131 |
insinto "${ROOT}"/etc/${PN} |
132 |
doins conf/* |
133 |
|
134 |
dodoc CHANGES{,.ru} LICENSE README |
135 |
|
136 |
use perl && { |
137 |
cd "${S}"/objs/src/http/modules/perl/ |
138 |
einstall DESTDIR="${D}"|| die "failed to install perl stuff" |
139 |
} |
140 |
} |
141 |
|
142 |
pkg_postinst() { |
143 |
use ssl && { |
144 |
if [ ! -f "${ROOT}"/etc/ssl/${PN}/${PN}.key ]; then |
145 |
dodir "${ROOT}"/etc/ssl/${PN} |
146 |
insinto "${ROOT}"etc/ssl/${PN}/ |
147 |
insopts -m0644 -o nginx -g nginx |
148 |
install_cert /etc/ssl/nginx/nginx |
149 |
fi |
150 |
} |
151 |
} |
152 |
|
153 |
|
154 |
|
155 |
-- |
156 |
gentoo-commits@l.g.o mailing list |