[csw-devel] SF.net SVN: gar:[2941] csw/mgar/pkg

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Jan 30 14:56:06 CET 2009


Revision: 2941
          http://gar.svn.sourceforge.net/gar/?rev=2941&view=rev
Author:   dmichelsen
Date:     2009-01-30 13:56:06 +0000 (Fri, 30 Jan 2009)

Log Message:
-----------
par: Initial commit of legacy build description

Added Paths:
-----------
    csw/mgar/pkg/par/
    csw/mgar/pkg/par/branches/
    csw/mgar/pkg/par/tags/
    csw/mgar/pkg/par/trunk/
    csw/mgar/pkg/par/trunk/Makefile
    csw/mgar/pkg/par/trunk/files/
    csw/mgar/pkg/par/trunk/files/CSWpackage.gspec
    csw/mgar/pkg/par/trunk/legacy/
    csw/mgar/pkg/par/trunk/legacy/BUILD.NOTES
    csw/mgar/pkg/par/trunk/legacy/README
    csw/mgar/pkg/par/trunk/legacy/copyright
    csw/mgar/pkg/par/trunk/legacy/depend
    csw/mgar/pkg/par/trunk/legacy/pkginfo
    csw/mgar/pkg/par/trunk/legacy/prototype
    csw/mgar/pkg/par/trunk/legacy/src/
    csw/mgar/pkg/par/trunk/legacy/src/Makefile
    csw/mgar/pkg/par/trunk/legacy/src/par-1.52.tar.gz


Property changes on: csw/mgar/pkg/par/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sf.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/par/trunk/Makefile
===================================================================
--- csw/mgar/pkg/par/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/par/trunk/Makefile	2009-01-30 13:56:06 UTC (rev 2941)
@@ -0,0 +1,23 @@
+GARNAME = package
+GARVERSION = 1.0
+CATEGORIES = category
+
+DESCRIPTION = Brief description
+define BLURB
+  Long description
+endef
+
+MASTER_SITES = 
+DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+DISTFILES += $(call admfiles,CSWpackage,)
+
+# We define upstream file regex so we can be notifed of new upstream software release
+UFILES_REGEX = -(\d+(?:\.\d+)*).tar.gz
+
+# If the url used to check for software update is different of MASTER_SITES, then 
+# uncomment the next line. Otherwise it is set by default to the value of MASTER_SITES
+# UPSTREAM_MASTER_SITES = 
+
+CONFIGURE_ARGS = $(DIRPATHS)
+
+include gar/category.mk

Added: csw/mgar/pkg/par/trunk/files/CSWpackage.gspec
===================================================================
--- csw/mgar/pkg/par/trunk/files/CSWpackage.gspec	                        (rev 0)
+++ csw/mgar/pkg/par/trunk/files/CSWpackage.gspec	2009-01-30 13:56:06 UTC (rev 2941)
@@ -0,0 +1,4 @@
+%var            bitname package
+%var            pkgname CSWpackage
+%include        url file://%{PKGLIB}/csw_dyndepend.gspec
+%copyright      url file://%{WORKSRC}/LICENSE

Added: csw/mgar/pkg/par/trunk/legacy/BUILD.NOTES
===================================================================
--- csw/mgar/pkg/par/trunk/legacy/BUILD.NOTES	                        (rev 0)
+++ csw/mgar/pkg/par/trunk/legacy/BUILD.NOTES	2009-01-30 13:56:06 UTC (rev 2941)
@@ -0,0 +1,31 @@
+###############################################################################
+# FILE:		BUILD.NOTES
+#
+# DESCRIPTION:	Build notes for the PAR package.  These are notes concerning
+#		the compiling and testing of this package.
+#
+#		Use the detailed instructions in the README file for package
+#		creation.
+#
+# PACKAGE:      CSWpar
+#
+# CUR VER:	Par Version 1.52
+#
+# REVISION:     10-25-04
+###############################################################################
+
+-------------------------------------------------------------------------------
+HISTORY:
+-------------------------------------------------------------------------------
+Date:		Version:		Notes:
+-------------------------------------------------------------------------------
+10-25-04	1.52			Initial package build
+-------------------------------------------------------------------------------
+
+-------------------------------------------------------------------------------
+SPARC & INTEL:
+-------------------------------------------------------------------------------
+
+make:
+
+    * Numerous non-fatal warning messages are issues  [too many to list]

Added: csw/mgar/pkg/par/trunk/legacy/README
===================================================================
--- csw/mgar/pkg/par/trunk/legacy/README	                        (rev 0)
+++ csw/mgar/pkg/par/trunk/legacy/README	2009-01-30 13:56:06 UTC (rev 2941)
@@ -0,0 +1,177 @@
+###############################################################################
+# FILE:		README
+#
+# DESCRIPTION:	Instructions for creating the PAR package.  Refer to the
+#		BUILD.NOTES file for specific information about the actual
+#		build and testing of the current version.
+#
+# PACKAGE:      CSWpar
+#
+# REVISION:     09-09-05
+#
+# NOTES:	* 
+###############################################################################
+
+-------------------------------------------------------------------------------
+01:  Make sure you are on the blastwave machine
+-------------------------------------------------------------------------------
+
+	hostname
+
+-------------------------------------------------------------------------------
+02: Download and extract the par source
+-------------------------------------------------------------------------------
+
+	cd ${HOME}/pkgs/par/src
+	vi Makefile			[set PVER[S] to current par version]
+	make get
+	make extract
+
+-------------------------------------------------------------------------------
+03: Switch to the correct build machine
+-------------------------------------------------------------------------------
+
+	SPARC:
+	  or
+	INTEL:
+
+-------------------------------------------------------------------------------
+04: Update the pkginfo file		     VERSION=<version>[,REV=YYYY.MM.DD]
+-------------------------------------------------------------------------------
+
+	cd ${HOME}/pkgs/par
+	vi pkginfo
+	    [edit the version info: must include REV= portion if applicable]
+	    [edit the ARCH line for either a 'sparc' or 'i386' build]
+
+-------------------------------------------------------------------------------
+05: Unpack the source code   [**** ONLY NEEDS TO BE DONE ONCE PER SESSION ****]
+-------------------------------------------------------------------------------
+
+	cd src
+	make unpack			  [unpack unless it was just extracted]
+
+-------------------------------------------------------------------------------
+06: Modify the install target in Makefile, using the contents in the
+    .parMake.mods file:      [**** ONLY NEEDS TO BE DONE ONCE PER RELEASE ****]
+-------------------------------------------------------------------------------
+	
+	cd par*[0-9]
+	cp protoMakefile Makefile
+	vi ../.parMake.mods  Makefile
+
+-------------------------------------------------------------------------------
+07: Update copyright file    [**** ONLY NEEDS TO BE DONE ONCE PER RELEASE ****]
+-------------------------------------------------------------------------------
+
+	vi par.doc ${HOME}/pkgs/par/copyright
+	  [Extract the File List and Rights and Responsibilities sections]
+
+-------------------------------------------------------------------------------
+08: Set the proper build environment
+-------------------------------------------------------------------------------
+
+	SPARC:	    export CC='cc -xarch=v8 -xstrconst -xildoff'
+	  or
+	INTEL:	    export CC='cc -xtarget=pentium -xstrconst -xildoff' 
+
+-------------------------------------------------------------------------------
+09: Compile the software
+-------------------------------------------------------------------------------
+
+	make clean
+	make
+
+-------------------------------------------------------------------------------
+10: Install executable in a staging directory
+-------------------------------------------------------------------------------
+
+	rm -rf cswstage
+	stagepkg INSTALL_ROOT=$PWD/cswstage install-csw
+
+-------------------------------------------------------------------------------
+11: Update the prototype file    (2nd build can use existing prototype file)
+-------------------------------------------------------------------------------
+
+	cd cswstage
+	grep '^[df]' prototype | grep -v 'root bin'
+	    [check 'f'iles & 'd'irs have owner/group 'root bin']
+	vi prototype
+	    [if necessary ...]
+	    	[change all owners/groups to 'root bin']
+		[change file permissions from 0444 to 0644]
+		[change file permissions from 0555 to 0755]
+	    [add following 'i' line as third line in file]
+	    	i depend
+
+-------------------------------------------------------------------------------
+12: Check changes in prototype from previous release and update file
+-------------------------------------------------------------------------------
+
+	diff ${HOME}/pkgs/par/prototype prototype | less -+e
+	    [if any odd differences, investigate and fix]
+
+	cp prototype ${HOME}/pkgs/par
+
+-------------------------------------------------------------------------------
+13: Create the package par-*-SunOS5.8-{sparc,386i}-CSW.pkg.gz
+-------------------------------------------------------------------------------
+
+	cd ${HOME}/pkgs/par
+	createpkg -b ${HOME}/pkgs/par/src/par*[0-9]/cswstage/opt/csw
+
+	  [The package name should follow this format:]
+
+	  <name>-<version>[,REV=YYYY.MM.DD]-<OSname><OSrel>-<arch>-CSW.pkg.gz
+
+-------------------------------------------------------------------------------
+14: Examine list of libraries used to see if any new CSW dependencies exist
+-------------------------------------------------------------------------------
+
+    If a new library is found, check package dependency:
+
+	pkgchk -l -p /opt/csw/lib/lib<...>
+   
+    Add entry to the depend file:
+
+        P	CSW<pkg>
+
+    Now repeat from step 13 and recreate the package
+
+-------------------------------------------------------------------------------
+15: Rebuild again on other build platform
+-------------------------------------------------------------------------------
+
+     Go to step 03 and repeat for other architecture
+
+-------------------------------------------------------------------------------
+16: Clean up
+-------------------------------------------------------------------------------
+
+    cd ${HOME}/pkgs/par/src/par*[0-9]
+    make clean ; rm -rf cswstage
+    cd ${HOME}/pkgs/par/src
+    make pack				# if req'd, tar up and gzip source
+    make clean 
+
+-------------------------------------------------------------------------------
+17: Copy the new package to the installation area
+-------------------------------------------------------------------------------
+
+    cd pkgs/par
+    cp par-*.pkg.gz  /export/medusa/newpkgs
+
+-------------------------------------------------------------------------------
+18: Copy the source code tarball to the holding area
+-------------------------------------------------------------------------------
+
+    cd src
+    cp  par-*.gz  /export/medusa/src
+
+-------------------------------------------------------------------------------
+19: Notify package administrator
+-------------------------------------------------------------------------------
+
+    * Email phil at bolthole.com (Philip Brown) describing the update
+
+-----------------------------------------------------------------------------

Added: csw/mgar/pkg/par/trunk/legacy/copyright
===================================================================
--- csw/mgar/pkg/par/trunk/legacy/copyright	                        (rev 0)
+++ csw/mgar/pkg/par/trunk/legacy/copyright	2009-01-30 13:56:06 UTC (rev 2941)
@@ -0,0 +1,50 @@
+File List
+
+    The Par 1.52 package is always distributed with at least the
+    following files:
+
+        buffer.c
+        buffer.h
+        charset.c
+        charset.h
+        errmsg.c
+        errmsg.h
+        par.1
+        par.c
+        par.doc
+        protoMakefile
+        reformat.c
+        reformat.h
+        releasenotes
+
+    Each file is a text file which identifies itself on the second line,
+    and identifies the version of Par to which it belongs on the third
+    line, so you can always tell which file is which, even if the files
+    have been renamed.
+
+    The file "par.1" is a man page for the filter par (not to be
+    confused with the package Par, which contains the source code for
+    par).  "par.1" is based on this doc file, and conveys much (not
+    all) of the same information, but "par.doc" is the definitive
+    documentation for both par and Par.
+
+
+Rights and Responsibilities
+
+    The files listed in the Files List section above are each Copyright
+    2001 by Adam M. Costello (henceforth "I", "me").
+
+    I grant everyone ("you") permission to do whatever you like with
+    these files, provided that if you modify them you take reasonable
+    steps to avoid confusing or misleading people about who wrote the
+    modified files (both you and I) or what version they are.  All
+    official versions of Par will have version numbers consisting of
+    only digits and periods.
+
+    I encourage you to send me copies of your modifications in case I
+    wish to incorporate them into future versions of Par.  See the Bugs
+    section for my address.
+
+    Though I have tried to make sure that Par is free of bugs, I make no
+    guarantees about its soundness.  Therefore, I am not responsible for
+    any damage resulting from the use of these files.

Added: csw/mgar/pkg/par/trunk/legacy/depend
===================================================================
--- csw/mgar/pkg/par/trunk/legacy/depend	                        (rev 0)
+++ csw/mgar/pkg/par/trunk/legacy/depend	2009-01-30 13:56:06 UTC (rev 2941)
@@ -0,0 +1 @@
+P	CSWcommon

Added: csw/mgar/pkg/par/trunk/legacy/pkginfo
===================================================================
--- csw/mgar/pkg/par/trunk/legacy/pkginfo	                        (rev 0)
+++ csw/mgar/pkg/par/trunk/legacy/pkginfo	2009-01-30 13:56:06 UTC (rev 2941)
@@ -0,0 +1,9 @@
+PKG=CSWpar
+NAME=par - Paragraph Reformatter
+VERSION=1.52
+ARCH=sparc
+CATEGORY=application
+CSW_CATEGORY="text, user"
+VENDOR=http://www.nicemice.net/par/ - packaged for CSW by C. Jeffery Small
+HOTLINE=http://www.blastwave.org/bugtrack/
+EMAIL=jeff at blastwave.org

Added: csw/mgar/pkg/par/trunk/legacy/prototype
===================================================================
--- csw/mgar/pkg/par/trunk/legacy/prototype	                        (rev 0)
+++ csw/mgar/pkg/par/trunk/legacy/prototype	2009-01-30 13:56:06 UTC (rev 2941)
@@ -0,0 +1,11 @@
+i pkginfo
+i copyright
+i depend
+d none share 0755 root bin
+d none share/man 0755 root bin
+d none share/man/man1 0755 root bin
+f none share/man/man1/par.1 0644 root bin
+d none share/par 0755 root bin
+f none share/par/par.txt 0644 root bin
+d none bin 0755 root bin
+f none bin/par 0755 root bin

Added: csw/mgar/pkg/par/trunk/legacy/src/Makefile
===================================================================
--- csw/mgar/pkg/par/trunk/legacy/src/Makefile	                        (rev 0)
+++ csw/mgar/pkg/par/trunk/legacy/src/Makefile	2009-01-30 13:56:06 UTC (rev 2941)
@@ -0,0 +1,78 @@
+###############################################################################
+#
+# FILE:		Makefile
+#
+# DESCRIPTION:	Control file for the PAR src directory.
+#
+# PACKAGE:      CSWpar
+#
+# REVISION:     10-28-04
+#
+# NOTES:	* Set the PVER variable to the current par version number.
+#
+#		* INSTALL_ROOT controls the location of the installation.
+#
+#		* Source is located at:    http://www.nicemice.net/par/
+#
+# REQMTS:	* The CJSA custom install(1M) utility in ${HOME}/bin
+#		* The CJSA custom   unpak(1M) utility in ${HOME}/bin
+#
+###############################################################################
+
+PVER	= 152
+PVERS	= 1.52
+
+PSOURCE	= Par$(PVER).tar.gz
+
+PDIR	= par.$(PVERS)
+
+PTAR	= par-$(PVERS).tar
+
+PARCH	= $(PTAR).gz
+
+help:
+	@echo "---------------------------------------------------------------"
+	@echo "Par Ver:      $(PVERS)"
+	@echo "---------------------------------------------------------------"
+	@echo "make get        download par source code"
+	@echo ""
+	@echo "make extract    extract source code from downloaded archive"
+	@echo ""
+	@echo ""
+	@echo "make pack       tar up and gzip the source code directory"
+	@echo ""
+	@echo "make unpack     extract source code from gzipped tarball"
+	@echo ""
+	@echo ""
+	@echo "make clean      remove the source code directory"
+	@echo "---------------------------------------------------------------"
+
+
+get:
+	wget http://www.nicemice.net/par/$(PSOURCE)
+
+
+extract: $(PSOURCE)
+	unpak $(PSOURCE)
+	mv Par*[0-9] $(PDIR)
+
+
+pack pak tar: $(PDIR)
+	@if [ -f $(PTAR) ] ; then \
+	    echo "Cannot pack: $(PTAR) exists." ; \
+	elif [ -f $(PARCH) ] ; then \
+	    echo "Cannot pack: $(PARCH) exists." ; \
+	else \
+	    tar cvf $(PTAR) $(PDIR) ; \
+	    gzip $(PTAR) ; \
+	fi
+
+unpack unpak:	$(PARCH)
+	unpak $(PARCH)
+
+clean:
+	@if [ ! -f $(PARCH) ] ; then \
+	    echo "You must first archive the source with:  make pack" ; \
+	else \
+	    rm -rf $(PSOURCE) $(PDIR) ; \
+	fi

Added: csw/mgar/pkg/par/trunk/legacy/src/par-1.52.tar.gz
===================================================================
(Binary files differ)


Property changes on: csw/mgar/pkg/par/trunk/legacy/src/par-1.52.tar.gz
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream


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