summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin V. Arkhipov <voxus@gentoo.org>2005-03-02 17:34:40 +0000
committerKonstantin V. Arkhipov <voxus@gentoo.org>2005-03-02 17:34:40 +0000
commitbd54ffe2074f1df5213f1b07892dd0de1fdb012f (patch)
tree79b79cbd2a1e65c51af9c6a67a0b4d61decd2ce2 /www-servers
parentsmall fix (diff)
downloadgentoo-2-bd54ffe2074f1df5213f1b07892dd0de1fdb012f.tar.gz
gentoo-2-bd54ffe2074f1df5213f1b07892dd0de1fdb012f.tar.bz2
gentoo-2-bd54ffe2074f1df5213f1b07892dd0de1fdb012f.zip
+ minor fixes
(Portage version: 2.0.51.18)
Diffstat (limited to 'www-servers')
-rw-r--r--www-servers/nginx/ChangeLog8
-rw-r--r--www-servers/nginx/Manifest8
-rw-r--r--www-servers/nginx/files/digest-nginx-0.1.23-r1 (renamed from www-servers/nginx/files/digest-nginx-0.1.23)0
-rw-r--r--www-servers/nginx/files/nginx10
-rw-r--r--www-servers/nginx/nginx-0.1.23-r1.ebuild (renamed from www-servers/nginx/nginx-0.1.23.ebuild)11
5 files changed, 31 insertions, 6 deletions
diff --git a/www-servers/nginx/ChangeLog b/www-servers/nginx/ChangeLog
index 8e32667a964c..4d23a73d8b2c 100644
--- a/www-servers/nginx/ChangeLog
+++ b/www-servers/nginx/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-servers/nginx
# Copyright 2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v 1.1 2005/03/02 17:05:53 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v 1.2 2005/03/02 17:34:40 voxus Exp $
+
+*nginx-0.1.23-r1 (02 Mar 2005)
+
+ 02 Mar 2005; Konstantin Arkhipov <voxus@gentoo.org> -nginx-0.1.23.ebuild,
+ +nginx-0.1.23-r1.ebuild:
+ Now with docs, dir keeping and configuration checking thru init script.
*nginx-0.1.23 (02 Mar 2005)
diff --git a/www-servers/nginx/Manifest b/www-servers/nginx/Manifest
index 4f888382bf32..8e65dd26f40a 100644
--- a/www-servers/nginx/Manifest
+++ b/www-servers/nginx/Manifest
@@ -1,4 +1,6 @@
-MD5 5dea521e7fa1046dfe053eec2235bb3c nginx-0.1.23.ebuild 651
-MD5 c8746318e6c834ffe1b900dadf5f2c5b ChangeLog 236
+MD5 1720edeaf3e1c096e09b64a50d53a83e nginx-0.1.23-r1.ebuild 2241
+MD5 ef3dc04396b5ee8486c47731b0aea820 ChangeLog 495
MD5 822f3c821527e6a34f23a6a92a884766 metadata.xml 220
-MD5 373afb3b6eb255483f9dab56d9ab83ee files/digest-nginx-0.1.23 64
+MD5 2ff01a0c6410589a59f44bd808f8ce38 files/nginx 738
+MD5 373afb3b6eb255483f9dab56d9ab83ee files/digest-nginx-0.1.23-r1 64
+MD5 b3342c18a1880b574cbe4458560019c6 files/nginx.conf 1445
diff --git a/www-servers/nginx/files/digest-nginx-0.1.23 b/www-servers/nginx/files/digest-nginx-0.1.23-r1
index f6d0dedbcf20..f6d0dedbcf20 100644
--- a/www-servers/nginx/files/digest-nginx-0.1.23
+++ b/www-servers/nginx/files/digest-nginx-0.1.23-r1
diff --git a/www-servers/nginx/files/nginx b/www-servers/nginx/files/nginx
index b15d9c39dbf5..26fca0e76f82 100644
--- a/www-servers/nginx/files/nginx
+++ b/www-servers/nginx/files/nginx
@@ -1,7 +1,9 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/files/nginx,v 1.1 2005/03/02 17:05:53 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/files/nginx,v 1.2 2005/03/02 17:34:40 voxus Exp $
+
+opts="${opts} reload configtest"
depend() {
need net
@@ -27,3 +29,9 @@ reload() {
kill -HUP `cat /var/run/nginx.pid` &>/dev/null
eend $? "Failed to reload nginx"
}
+
+configtest() {
+ ebegin "Checking nginx' configuration"
+ /usr/sbin/nginx -c /etc/nginx/nginx.conf -t
+ eend $? "failed, please correct errors above"
+}
diff --git a/www-servers/nginx/nginx-0.1.23.ebuild b/www-servers/nginx/nginx-0.1.23-r1.ebuild
index 7dc377af25f1..962124d9c3b2 100644
--- a/www-servers/nginx/nginx-0.1.23.ebuild
+++ b/www-servers/nginx/nginx-0.1.23-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.1.23.ebuild,v 1.1 2005/03/02 17:05:53 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.1.23-r1.ebuild,v 1.1 2005/03/02 17:34:40 voxus Exp $
inherit eutils
@@ -54,9 +54,16 @@ src_install() {
dodir /var/log/${PN}
dodir /var/tmp/${PN}
+
dodir /var/tmp/${PN}/client
+ keepdir /var/tmp/${PN}/client
+
dodir /var/tmp/${PN}/proxy
+ keepdir /var/tmp/${PN}/proxy
+
dodir /var/tmp/${PN}/fastcgi
+ keepdir /var/tmp/${PN}/fastcgi
+
dodir /etc/${PN}
dosbin objs/nginx
@@ -66,4 +73,6 @@ src_install() {
rm conf/nginx.conf
doins -r conf
doins ${FILESDIR}/nginx.conf
+
+ dodoc CHANGES{,.ru} LICENSE README
}