1 |
voxus 08/07/29 11:50:11 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nginx-0.5.37.ebuild |
5 |
Log: |
6 |
* forgotten bump |
7 |
(Portage version: 2.2_rc3/cvs/Linux 2.6.25-rc5-mm1 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.184 www-servers/nginx/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/nginx/ChangeLog?rev=1.184&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/nginx/ChangeLog?rev=1.184&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/nginx/ChangeLog?r1=1.183&r2=1.184 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v |
19 |
retrieving revision 1.183 |
20 |
retrieving revision 1.184 |
21 |
diff -u -r1.183 -r1.184 |
22 |
--- ChangeLog 14 Jul 2008 17:49:03 -0000 1.183 |
23 |
+++ ChangeLog 29 Jul 2008 11:50:10 -0000 1.184 |
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.183 2008/07/14 17:49:03 voxus Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v 1.184 2008/07/29 11:50:10 voxus Exp $ |
29 |
+ |
30 |
+*nginx-0.5.37 (29 Jul 2008) |
31 |
+ |
32 |
+ 29 Jul 2008; Konstantin V. Arkhipov <voxus@g.o> |
33 |
+ +nginx-0.5.37.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
*nginx-0.6.32 (14 Jul 2008) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 www-servers/nginx/nginx-0.5.37.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/nginx/nginx-0.5.37.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/nginx/nginx-0.5.37.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: nginx-0.5.37.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.5.37.ebuild,v 1.1 2008/07/29 11:50:10 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://sysoev.ru/nginx/" |
57 |
SRC_URI="http://sysoev.ru/nginx/${P}.tar.gz" |
58 |
LICENSE="BSD" |
59 |
SLOT="0" |
60 |
KEYWORDS="~amd64 ~ppc ~x86" |
61 |
IUSE="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 fastcgi || myconf="${myconf} --without-http_fastcgi_module" |
90 |
use fastcgi && myconf="${myconf} --with-http_realip_module" |
91 |
use flv && myconf="${myconf} --with-http_flv_module" |
92 |
use zlib || myconf="${myconf} --without-http_gzip_module" |
93 |
use pcre || { |
94 |
myconf="${myconf} --without-pcre --without-http_rewrite_module" |
95 |
} |
96 |
use debug && myconf="${myconf} --with-debug" |
97 |
use ssl && myconf="${myconf} --with-http_ssl_module" |
98 |
use imap && myconf="${myconf} --with-imap" # pop3/imap4 proxy support |
99 |
use perl && myconf="${myconf} --with-http_perl_module" |
100 |
use status && myconf="${myconf} --with-http_stub_status_module" |
101 |
use webdav && myconf="${myconf} --with-http_dav_module" |
102 |
use sub && myconf="${myconf} --with-http_sub_module" |
103 |
|
104 |
./configure \ |
105 |
--prefix=/usr \ |
106 |
--conf-path=/etc/${PN}/${PN}.conf \ |
107 |
--http-log-path=/var/log/${PN}/access_log \ |
108 |
--error-log-path=/var/log/${PN}/error_log \ |
109 |
--pid-path=/var/run/${PN}.pid \ |
110 |
--http-client-body-temp-path=/var/tmp/${PN}/client \ |
111 |
--http-proxy-temp-path=/var/tmp/${PN}/proxy \ |
112 |
--http-fastcgi-temp-path=/var/tmp/${PN}/fastcgi \ |
113 |
--with-md5-asm --with-md5=/usr/include \ |
114 |
${myconf} || die "configure failed" |
115 |
|
116 |
emake || die "failed to compile" |
117 |
} |
118 |
|
119 |
src_install() { |
120 |
keepdir /var/log/${PN} /var/tmp/${PN}/{client,proxy,fastcgi} |
121 |
|
122 |
dosbin objs/nginx |
123 |
cp "${FILESDIR}"/nginx-r1 "${T}"/nginx |
124 |
doinitd "${T}"/nginx |
125 |
|
126 |
cp "${FILESDIR}"/nginx.conf-r4 conf/nginx.conf |
127 |
|
128 |
dodir "${ROOT}"/etc/${PN} |
129 |
insinto "${ROOT}"/etc/${PN} |
130 |
doins conf/* |
131 |
|
132 |
dodoc CHANGES{,.ru} LICENSE README |
133 |
|
134 |
use perl && { |
135 |
cd "${S}"/objs/src/http/modules/perl/ |
136 |
einstall DESTDIR="${D}"|| die "failed to install perl stuff" |
137 |
} |
138 |
} |
139 |
|
140 |
pkg_postinst() { |
141 |
use ssl && { |
142 |
if [ ! -f "${ROOT}"/etc/ssl/${PN}/${PN}.key ]; then |
143 |
dodir "${ROOT}"/etc/ssl/${PN} |
144 |
insinto "${ROOT}"etc/ssl/${PN}/ |
145 |
insopts -m0644 -o nginx -g nginx |
146 |
install_cert /etc/ssl/nginx/nginx |
147 |
fi |
148 |
} |
149 |
} |