[csw-devel] SF.net SVN: gar:[7605] csw/mgar/pkg/nginx/trunk
aigoshin at users.sourceforge.net
aigoshin at users.sourceforge.net
Sat Dec 12 15:24:46 CET 2009
Revision: 7605
http://gar.svn.sourceforge.net/gar/?rev=7605&view=rev
Author: aigoshin
Date: 2009-12-12 14:24:46 +0000 (Sat, 12 Dec 2009)
Log Message:
-----------
nginx: milestone 4.4
Modified Paths:
--------------
csw/mgar/pkg/nginx/trunk/Makefile
csw/mgar/pkg/nginx/trunk/checksums
Modified: csw/mgar/pkg/nginx/trunk/Makefile
===================================================================
--- csw/mgar/pkg/nginx/trunk/Makefile 2009-12-12 13:18:53 UTC (rev 7604)
+++ csw/mgar/pkg/nginx/trunk/Makefile 2009-12-12 14:24:46 UTC (rev 7605)
@@ -10,8 +10,7 @@
MASTER_SITES = http://sysoev.ru/nginx/
DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
-DISTFILES += $(call admfiles,CSWnginx,checkinstall postinstall preremove)
-DISTFILES += cswnginx.xml svc-cswnginx
+DISTFILES += cswnginx
# We define upstream file regex so we can be notifed of new upstream software release
UFILES_REGEX = -(\d+(?:\.\d+)*).tar.gz
@@ -60,16 +59,20 @@
#PROTOTYPE_FILTER = awk '$$$$3 ~ /\/var\/((log|run)|(svc|(svc\/(manifest|manifest\/site))))$$$$/ { $$$$6 = "sys" } $$$$3 ~ /\/var\/nginx\/(client|fastcgi|proxy)$$$$/ { $$$$4 = "700" } { print }'
+INITSMF = $(sysconfdir)/init.d/cswnginx
+SAMPLECONF = $(sysconfdir)/nginx/fastcgi_params $(sysconfdir)/nginx/mime.types $(sysconfdir)/nginx/nginx.conf
+
+NGINXDOCS = CHANGES CHANGES.ru LICENSE README
+
+
include gar/category.mk
-NGINXDOCS = CHANGES CHANGES.ru LICENSE README
-
post-configure-modulated:
gsed -i s#/...ISALIST#/'$$ISALIST'# $(WORKSRC)/objs/ngx_auto_config.h
$(MAKECOOKIE)
post-install-modulated:
- cp $(WORKDIR)/svc-cswnginx $(WORKDIR)/cswnginx
+ ginstall -d $(DESTDIR)$(sysconfdir)/init.d
ginstall -d $(DESTDIR)$(sysconfdir)/nginx/conf.d
ginstall -d $(DESTDIR)$(sharedstatedir)/nginx/contrib
ginstall -d $(DESTDIR)$(docdir)/nginx
@@ -78,9 +81,7 @@
ginstall -d $(DESTDIR)$(localstatedir)/nginx/logs
ginstall -d $(DESTDIR)$(localstatedir)/nginx/proxy
ginstall -d $(DESTDIR)$(localstatedir)/nginx/sites
- mv $(DESTDIR)$(sysconfdir)/nginx/fastcgi_params $(DESTDIR)$(sysconfdir)/nginx/fastcgi_params.CSW
- mv $(DESTDIR)$(sysconfdir)/nginx/mime.types $(DESTDIR)$(sysconfdir)/nginx/mime.types.CSW
- mv $(DESTDIR)$(sysconfdir)/nginx/nginx.conf $(DESTDIR)$(sysconfdir)/nginx/nginx.conf.CSW
+ cp $(WORKDIR)/cswnginx $(DESTDIR)$(sysconfdir)/init.d/
cd $(WORKSRC); \
cp -r contrib/* $(DESTDIR)$(sharedstatedir)/nginx/contrib; \
cp $(NGINXDOCS) $(DESTDIR)$(docdir)/nginx
Modified: csw/mgar/pkg/nginx/trunk/checksums
===================================================================
--- csw/mgar/pkg/nginx/trunk/checksums 2009-12-12 13:18:53 UTC (rev 7604)
+++ csw/mgar/pkg/nginx/trunk/checksums 2009-12-12 14:24:46 UTC (rev 7605)
@@ -1,7 +1,2 @@
-bb85ec05a172562e6de38a1e8a64198c CSWnginx.checkinstall
-12b5333e18e985b17f8a5465646e9a8a CSWnginx.gspec
-bb404771e330fe98f93cb2d12a808121 CSWnginx.postinstall
-e9178dc33f2d38aab8f118a8f0550ac7 CSWnginx.preremove
-5c832758a62ee319ea9dfd1829d736eb cswnginx.xml
+518551b950c0243f9cdc5d978d40d3e1 cswnginx
cfa97c0f784532820110b5eee57fef6d nginx-0.7.64.tar.gz
-c5b3babbd1261bcb3f3e17494822bb9f svc-cswnginx
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list