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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Jan 30 11:38:12 CET 2009


Revision: 2936
          http://gar.svn.sourceforge.net/gar/?rev=2936&view=rev
Author:   dmichelsen
Date:     2009-01-30 10:38:12 +0000 (Fri, 30 Jan 2009)

Log Message:
-----------
kshdbx: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/kshdbx/
    csw/mgar/pkg/kshdbx/branches/
    csw/mgar/pkg/kshdbx/tags/
    csw/mgar/pkg/kshdbx/trunk/
    csw/mgar/pkg/kshdbx/trunk/Makefile
    csw/mgar/pkg/kshdbx/trunk/files/
    csw/mgar/pkg/kshdbx/trunk/files/CSWpackage.gspec
    csw/mgar/pkg/kshdbx/trunk/legacy/
    csw/mgar/pkg/kshdbx/trunk/legacy/README
    csw/mgar/pkg/kshdbx/trunk/legacy/copyright
    csw/mgar/pkg/kshdbx/trunk/legacy/depend
    csw/mgar/pkg/kshdbx/trunk/legacy/pkginfo
    csw/mgar/pkg/kshdbx/trunk/legacy/prototype
    csw/mgar/pkg/kshdbx/trunk/legacy/src/
    csw/mgar/pkg/kshdbx/trunk/legacy/src/KSHDB_ORIG.tar.gz
    csw/mgar/pkg/kshdbx/trunk/legacy/src/kshdbx-1.2.tar.gz


Property changes on: csw/mgar/pkg/kshdbx/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/kshdbx/trunk/Makefile
===================================================================
--- csw/mgar/pkg/kshdbx/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/kshdbx/trunk/Makefile	2009-01-30 10:38:12 UTC (rev 2936)
@@ -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/kshdbx/trunk/files/CSWpackage.gspec
===================================================================
--- csw/mgar/pkg/kshdbx/trunk/files/CSWpackage.gspec	                        (rev 0)
+++ csw/mgar/pkg/kshdbx/trunk/files/CSWpackage.gspec	2009-01-30 10:38:12 UTC (rev 2936)
@@ -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/kshdbx/trunk/legacy/README
===================================================================
--- csw/mgar/pkg/kshdbx/trunk/legacy/README	                        (rev 0)
+++ csw/mgar/pkg/kshdbx/trunk/legacy/README	2009-01-30 10:38:12 UTC (rev 2936)
@@ -0,0 +1,100 @@
+###############################################################################
+#
+# FILE:		README
+#
+# DESCRIPTION:	Instructions for creating the KSHDBX package.
+#
+# PACKAGE:      CSWkshdbx
+#
+# REVISION:     09-09-05
+#
+# NOTES:	* This package is a set of architecture independent ksh(1)
+#		  scripts and will work on both the sparc and intel platforms.
+#
+###############################################################################
+
+-------------------------------------------------------------------------------
+01: Update the pkginfo file
+-------------------------------------------------------------------------------
+
+	cd pkgs/kshdbx
+	vi pkginfo
+	    [edit the version info to match the current revision/release]
+
+-------------------------------------------------------------------------------
+02: Update the copyright file   (only needs to be done once per release)
+-------------------------------------------------------------------------------
+
+	cd src
+	cp copyright ../copyright
+
+-------------------------------------------------------------------------------
+03: Install executable in a staging directory
+-------------------------------------------------------------------------------
+
+	rm -rf cswstage
+	stagepkg INSTALL_ROOT=$PWD/cswstage install 
+
+-------------------------------------------------------------------------------
+04: Update the prototype file
+-------------------------------------------------------------------------------
+
+	cd cswstage
+	grep '^[df]' prototype | grep -v 'root bin'
+	    [check 'f'iles & 'd'irs have owner/group 'root bin']
+	vi prototype
+	    [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
+
+-------------------------------------------------------------------------------
+05: Check changes in prototype from previous release and update file
+-------------------------------------------------------------------------------
+
+	diff ${HOME}/pkgs/kshdbx/prototype prototype
+	    [if any odd differences, investigate and fix]
+
+	cp prototype ${HOME}/pkgs/kshdbx
+
+-------------------------------------------------------------------------------
+06: Create the package kshdbx-*-SunOS5.8-all-CSW.pkg.gz
+-------------------------------------------------------------------------------
+
+	cd ${HOME}/pkgs/kshdbx
+	createpkg -r ${HOME}/pkgs/kshdbx/src/cswstage
+
+	  [The package name should follow this format:]
+
+	  <name>-<version>[,REV=YYYY.MM.DD]-<OSname><OSrel>-<arch>-CSW.pkg.gz
+
+-------------------------------------------------------------------------------
+07: Clean up
+-------------------------------------------------------------------------------
+	
+	cd src
+	make clean
+	make pack
+
+-------------------------------------------------------------------------------
+08: Copy the new package to the installation area
+-------------------------------------------------------------------------------
+
+    cd pkgs/kshdbx
+    cp kshdbx-*.pkg.gz	/export/medusa/newpkgs
+
+-------------------------------------------------------------------------------
+09: Copy the source code tarball to the holding area
+-------------------------------------------------------------------------------
+
+    cd src
+    cp  kshdbx-*.gz  /export/medusa/src
+
+-------------------------------------------------------------------------------
+10: Notify package administrator
+-------------------------------------------------------------------------------
+
+    * Email phil at bolthole.com (Philip Brown) describing the update
+
+-----------------------------------------------------------------------------

Added: csw/mgar/pkg/kshdbx/trunk/legacy/copyright
===================================================================
--- csw/mgar/pkg/kshdbx/trunk/legacy/copyright	                        (rev 0)
+++ csw/mgar/pkg/kshdbx/trunk/legacy/copyright	2009-01-30 10:38:12 UTC (rev 2936)
@@ -0,0 +1,51 @@
+###############################################################################
+#
+# FILE:		copyright
+#
+# DESCRIPTION:	Copyright information for the kshdbx(1) package.
+#
+# AUTHOR:	C. Jeffery Small (jeff at cjsa.com)
+#
+# REVISIONS:	Latest revision:  12-23-04
+#
+###############################################################################
+
+The original kshdb scripts were written by Bill Rosenblatt and published in
+January 1993 by O'Reilly & Associates in the book "Learning the Korn Shell"
+(ISBN: 1-56592-054-6).  These scripts were subsequently republished in the
+May 1993 issue of UnixWorld Magazine.
+
+The source code for these original scripts may be located at:
+
+	http://examples.oreilly.com/korn/ksh.tar.Z
+
+
+The author, Bill Rosenblatt, has indicated his willingness to allow the
+kshdb code to be modified and redistributed, but the actual copyright is
+owned by the publisher O'Reilly & Associates.  The complete text of the
+"O'Reilly Policy on Re-Use of Code Examples from Books" can be seen at:
+
+	http://www.oreilly.com/pub/a/oreilly/ask_tim/2001/codepolicy.html
+
+In part, this policy states:
+
+    "You can use and redistribute example code from our books for any
+    non-commercial purpose (and most commercial purposes) as long as you
+    acknowledge their source and authorship.  The source of the code should
+    be noted in any documentation as well as in the program code itself
+    (as a comment). The attribution should include author, title, publisher,
+    and ISBN."
+
+    "As per the copyright notice in our books, O'Reilly reserves all
+    rights to the material in the book, including the code examples.  This
+    literally means that you can use the example code all you like, but you
+    can't publish or redistribute it without our permission.  In reality, we
+    are comfortable with any reasonable "fair use" of the code, and you can
+    assume permission is granted without contacting us."
+
+
+The accompanying kshdbx scripts are modified versions of the original
+kshdb scripts.  All modifications were written by C. Jeffery Small
+(jeff at cjsa.com) and the right to use and redistribute these modifications
+for any purpose is hereby granted, so long as a copy of this copyright file
+always accompanies the code.

Added: csw/mgar/pkg/kshdbx/trunk/legacy/depend
===================================================================
--- csw/mgar/pkg/kshdbx/trunk/legacy/depend	                        (rev 0)
+++ csw/mgar/pkg/kshdbx/trunk/legacy/depend	2009-01-30 10:38:12 UTC (rev 2936)
@@ -0,0 +1 @@
+P	CSWcommon

Added: csw/mgar/pkg/kshdbx/trunk/legacy/pkginfo
===================================================================
--- csw/mgar/pkg/kshdbx/trunk/legacy/pkginfo	                        (rev 0)
+++ csw/mgar/pkg/kshdbx/trunk/legacy/pkginfo	2009-01-30 10:38:12 UTC (rev 2936)
@@ -0,0 +1,9 @@
+PKG=CSWkshdbx
+NAME=kshdbx - an interactive ksh(1) Korn shell debugger
+VERSION=1.2
+ARCH=all
+CATEGORY=application
+CSW_CATEGORY="prog, shell, user"
+VENDOR=http://examples.oreilly.com/korn/  packaged for CSW by C. Jeffery Small
+HOTLINE=http://www.blastwave.org/bugtrack/
+EMAIL=jeff at blastwave.org

Added: csw/mgar/pkg/kshdbx/trunk/legacy/prototype
===================================================================
--- csw/mgar/pkg/kshdbx/trunk/legacy/prototype	                        (rev 0)
+++ csw/mgar/pkg/kshdbx/trunk/legacy/prototype	2009-01-30 10:38:12 UTC (rev 2936)
@@ -0,0 +1,13 @@
+i pkginfo
+i copyright
+i depend
+d none /opt/csw/share 0755 root bin
+d none /opt/csw/share/man 0755 root bin
+d none /opt/csw/share/man/man1 0755 root bin
+f none /opt/csw/share/man/man1/kshdbx.1 0644 root bin
+d none /opt/csw/share/kshdbx 0755 root bin
+f none /opt/csw/share/kshdbx/copyright 0644 root bin
+f none /opt/csw/share/kshdbx/kshdbx.func 0644 root bin
+f none /opt/csw/share/kshdbx/kshdbx.pre 0644 root bin
+d none /opt/csw/bin 0755 root bin
+f none /opt/csw/bin/kshdbx 0755 root bin

Added: csw/mgar/pkg/kshdbx/trunk/legacy/src/KSHDB_ORIG.tar.gz
===================================================================
(Binary files differ)


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

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


Property changes on: csw/mgar/pkg/kshdbx/trunk/legacy/src/kshdbx-1.2.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