[csw-devel] SF.net SVN: gar:[19958] csw/mgar/pkg/opencsw-manual/trunk

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Mon Dec 24 11:09:23 CET 2012


Revision: 19958
          http://gar.svn.sourceforge.net/gar/?rev=19958&view=rev
Author:   wahwah
Date:     2012-12-24 10:09:22 +0000 (Mon, 24 Dec 2012)
Log Message:
-----------
opencsw-manual/trunk: a stub for buildfarm setup instructions

Modified Paths:
--------------
    csw/mgar/pkg/opencsw-manual/trunk/Makefile
    csw/mgar/pkg/opencsw-manual/trunk/files/for-maintainers/index.rst

Added Paths:
-----------
    csw/mgar/pkg/opencsw-manual/trunk/files/for-maintainers/buildfarm-setup.rst

Modified: csw/mgar/pkg/opencsw-manual/trunk/Makefile
===================================================================
--- csw/mgar/pkg/opencsw-manual/trunk/Makefile	2012-12-24 05:45:47 UTC (rev 19957)
+++ csw/mgar/pkg/opencsw-manual/trunk/Makefile	2012-12-24 10:09:22 UTC (rev 19958)
@@ -32,6 +32,9 @@
 BUILD_DEP_PKGS += CSWrsync
 BUILD_DEP_PKGS += CSWpysetuptools
 
+# This is a documentation package, so references to /usr are fine.
+CHECKPKG_OVERRIDES_CSWopencsw-manual += file-with-bad-content
+
 include gar/category.mk
 
 post-extract-modulated:
@@ -43,17 +46,19 @@
 	@$(MAKECOOKIE)
 
 install-manual:
-	ginstall -m 755 -d $(PKGROOT)$(docdir)/$(CATALOGNAME_CSWopencsw-manual)
-	rsync -rv $(WORKSRC)/_build/html/ $(PKGROOT)$(docdir)/$(CATALOGNAME_CSWopencsw-manual)
+	ginstall -m 755 -d $(DESTDIR)$(docdir)/$(CATALOGNAME_CSWopencsw-manual)
+	rsync -rv $(WORKSRC)/_build/html/ $(DESTDIR)$(docdir)/$(CATALOGNAME_CSWopencsw-manual)
 	@$(MAKECOOKIE)
 
 post-install-modulated: copy-to-web
 	@$(MAKECOOKIE)
 
 copy-to-web:
-	if [ -d $(HOME)/public_html/opencsw-manual ]; then \
-		rsync -r $(PKGROOT)$(docdir)/$(CATALOGNAME_CSWopencsw-manual)/ \
-		$(HOME)/public_html/opencsw-manual; \
+	if echo $(DESTDIR) | grep global; then :; else \
+	  if [ -d $(HOME)/public_html/opencsw-manual ]; then \
+  		rsync -r $(DESTDIR)$(docdir)/$(CATALOGNAME_CSWopencsw-manual)/ \
+  		$(HOME)/public_html/opencsw-manual; \
+	  fi \
 	fi
 
 .PHONY: copy-to-web

Added: csw/mgar/pkg/opencsw-manual/trunk/files/for-maintainers/buildfarm-setup.rst
===================================================================
--- csw/mgar/pkg/opencsw-manual/trunk/files/for-maintainers/buildfarm-setup.rst	                        (rev 0)
+++ csw/mgar/pkg/opencsw-manual/trunk/files/for-maintainers/buildfarm-setup.rst	2012-12-24 10:09:22 UTC (rev 19958)
@@ -0,0 +1,35 @@
+---------------
+Buildfarm setup
+---------------
+
+.. highlight:: text
+
+Introduction
+------------
+
+Packages released by OpenCSW must be built on the OpenCSW buildfarm, but if
+you want to experiment, or build in-house packages, you might want to set up
+your own build farm, or at least a build host.
+
+Buildfarm setup consists of:
+
+* OpenCSW installation
+* `GAR setup`_ and subversion checkout
+* `Local catalog mirror`_
+* `checkpkg database`_
+* pkgdb-web (with Apache)
+* system garrc
+* `wiki instructions`_ (Java setup, Solaris Studio setup, ssh agent setup)
+* signing daemon
+
+.. _GAR setup:
+  http://sourceforge.net/apps/trac/gar/wiki/GarSetup
+
+.. _checkpkg database:
+  http://wiki.opencsw.org/checkpkg#toc2
+
+.. _wiki instructions:
+  http://wiki.opencsw.org/buildfarm
+
+.. _Local catalog mirror:
+  ../for-administrators/mirror-setup.html

Modified: csw/mgar/pkg/opencsw-manual/trunk/files/for-maintainers/index.rst
===================================================================
--- csw/mgar/pkg/opencsw-manual/trunk/files/for-maintainers/index.rst	2012-12-24 05:45:47 UTC (rev 19957)
+++ csw/mgar/pkg/opencsw-manual/trunk/files/for-maintainers/index.rst	2012-12-24 10:09:22 UTC (rev 19958)
@@ -12,3 +12,4 @@
   building-a-catalog
   shared-libraries
   package-naming
+  buildfarm-setup

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