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

pfelecan at users.sourceforge.net pfelecan at users.sourceforge.net
Thu Jun 28 09:19:43 CEST 2012


Revision: 18573
          http://gar.svn.sourceforge.net/gar/?rev=18573&view=rev
Author:   pfelecan
Date:     2012-06-28 07:19:42 +0000 (Thu, 28 Jun 2012)
Log Message:
-----------
svn2cl/trunk: migrated from a private recipe to a GAR based recipe

Added Paths:
-----------
    csw/mgar/pkg/svn2cl/
    csw/mgar/pkg/svn2cl/Makefile
    csw/mgar/pkg/svn2cl/branches/
    csw/mgar/pkg/svn2cl/tags/
    csw/mgar/pkg/svn2cl/trunk/
    csw/mgar/pkg/svn2cl/trunk/Makefile
    csw/mgar/pkg/svn2cl/trunk/checksums
    csw/mgar/pkg/svn2cl/trunk/files/
    csw/mgar/pkg/svn2cl/trunk/files/0001-Author-self.patch
    csw/mgar/pkg/svn2cl/trunk/files/0002-Static-search-library.patch
    csw/mgar/pkg/svn2cl/trunk/files/COPYING

Added: csw/mgar/pkg/svn2cl/Makefile
===================================================================
--- csw/mgar/pkg/svn2cl/Makefile	                        (rev 0)
+++ csw/mgar/pkg/svn2cl/Makefile	2012-06-28 07:19:42 UTC (rev 18573)
@@ -0,0 +1,2 @@
+%:
+	$(MAKE) -C trunk $*


Property changes on: csw/mgar/pkg/svn2cl/trunk
___________________________________________________________________
Added: svn:ignore
   + work


Added: csw/mgar/pkg/svn2cl/trunk/Makefile
===================================================================
--- csw/mgar/pkg/svn2cl/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/svn2cl/trunk/Makefile	2012-06-28 07:19:42 UTC (rev 18573)
@@ -0,0 +1,40 @@
+# $Id$
+
+NAME = svn2cl
+VERSION = 0.13
+GARTYPE = v2
+CATEGORIES = devel
+
+DESCRIPTION = An xsl stylesheet for generating a classic GNU-style ChangeLog from a subversion repository log
+define BLURB
+  This is an xsl stylesheet for generating a classic GNU-style ChangeLog from
+  a subversion repository log. It is made from several changelog-like scripts
+  using common xslt constructs found in different places.
+endef
+
+MASTER_SITES		=	http://arthurdejong.org/svn2cl/
+DISTFILES			=	$(DISTNAME).tar.gz
+DISTFILES			+=	COPYING
+PATCHFILES			=	0001-Author-self.patch
+PATCHFILES			+=	0002-Static-search-library.patch
+
+RUNTIME_DEP_PKGS	=	CSWlibxslt
+
+CHECKPKG_OVERRIDES_CSWsvn2cl	+=	surplus-dependency|CSWlibxslt
+
+CONFIGURE_SCRIPTS	=
+BUILD_SCRIPTS		=
+TEST_SCRIPTS		=
+INSTALL_SCRIPTS		=	custom
+
+include gar/category.mk
+
+install-custom: pkgmandir = $(mandir)/man1
+install-custom: pkglibdir = $(sharedstatedir)/$(NAME)
+install-custom:
+	ginstall --directory --mode=u=rwx,go=rx $(DESTDIR)/$(bindir)
+	ginstall --preserve-timestamps --mode=u=rwx,go=rx $(WORKSRC)/svn2cl.sh $(DESTDIR)/$(bindir)/svn2cl
+	ginstall --directory --mode=u=rwx,go=rx $(DESTDIR)/$(pkgmandir)
+	ginstall --preserve-timestamps --mode=u=rw,go=r $(WORKSRC)/svn2cl.1 $(DESTDIR)/$(pkgmandir)
+	ginstall --directory --mode=u=rwx,go=rx $(DESTDIR)/$(pkglibdir)
+	ginstall --preserve-timestamps --mode=u=rw,go=r $(WORKSRC)/authors.xml $(WORKSRC)/svn2cl.xsl $(WORKSRC)/svn2html.css $(WORKSRC)/svn2html.xsl  $(DESTDIR)/$(pkglibdir)


Property changes on: csw/mgar/pkg/svn2cl/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
   + Id

Added: csw/mgar/pkg/svn2cl/trunk/checksums
===================================================================
--- csw/mgar/pkg/svn2cl/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/svn2cl/trunk/checksums	2012-06-28 07:19:42 UTC (rev 18573)
@@ -0,0 +1 @@
+39764d18ef342145863d5d4e21610e2d  svn2cl-0.13.tar.gz

Added: csw/mgar/pkg/svn2cl/trunk/files/0001-Author-self.patch
===================================================================
--- csw/mgar/pkg/svn2cl/trunk/files/0001-Author-self.patch	                        (rev 0)
+++ csw/mgar/pkg/svn2cl/trunk/files/0001-Author-self.patch	2012-06-28 07:19:42 UTC (rev 18573)
@@ -0,0 +1,29 @@
+From 1a587a87432feefaba9aa3a8c5a614097e8da9a5 Mon Sep 17 00:00:00 2001
+From: Peter Felecan <pfelecan at opencsw.org>
+Date: Thu, 28 Jun 2012 09:00:57 +0200
+Subject: [PATCH] Author self
+
+---
+ authors.xml |    6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/authors.xml b/authors.xml
+index 65f1225..bcffff2 100644
+--- a/authors.xml
++++ b/authors.xml
+@@ -3,6 +3,12 @@
+  <author uid="arthur">
+   Arthur de Jong <<html:a href="mailto:arthur at arthurdejong.org">arthur at arthurdejong.org</html:a>>
+  </author>
++ <author uid="peter">
++  Peter Felecan <<html:a href="mailto:peter at felecan.org">peter at felecan.org</html:a>>
++ </author>
++ <author uid="pfelecan">
++  Peter Felecan <<html:a href="mailto:peter at felecan.org">peter at felecan.org</html:a>>
++ </author>
+  <author uid="nobody">
+   Who's this <nobody at example.com>
+  </author>
+-- 
+1.7.10.3
+

Added: csw/mgar/pkg/svn2cl/trunk/files/0002-Static-search-library.patch
===================================================================
--- csw/mgar/pkg/svn2cl/trunk/files/0002-Static-search-library.patch	                        (rev 0)
+++ csw/mgar/pkg/svn2cl/trunk/files/0002-Static-search-library.patch	2012-06-28 07:19:42 UTC (rev 18573)
@@ -0,0 +1,39 @@
+From 7ebafbaf1e54ea00115aa48447a5ea78323bcbf3 Mon Sep 17 00:00:00 2001
+From: Peter Felecan <pfelecan at opencsw.org>
+Date: Thu, 28 Jun 2012 09:06:34 +0200
+Subject: [PATCH] Static search library
+
+---
+ svn2cl.sh |   12 ++----------
+ 1 file changed, 2 insertions(+), 10 deletions(-)
+
+diff --git a/svn2cl.sh b/svn2cl.sh
+index 1c549f7..f497271 100755
+--- a/svn2cl.sh
++++ b/svn2cl.sh
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#! /usr/bin/env bash
+ 
+ # svn2cl.sh - front end shell script for svn2cl.xsl, calls xsltproc
+ #             with the correct parameters
+@@ -260,15 +260,7 @@ do
+   esac
+ done
+ 
+-# find the directory that this script resides in
+-prog="$0"
+-while [ -h "$prog" ]
+-do
+-  dir=`dirname "$prog"`
+-  prog=`ls -ld "$prog" | sed "s/^.*-> \(.*\)/\1/;/^[^/]/s,^,$dir/,"`
+-done
+-dir=`dirname "$prog"`
+-dir=`cd "$dir" && pwd`
++dir=/opt/csw/share/svn2cl
+ XSL="$dir/svn2${OUTSTYLE}.xsl"
+ 
+ # check if the authors file is formatted as a legacy
+-- 
+1.7.10.3
+

Added: csw/mgar/pkg/svn2cl/trunk/files/COPYING
===================================================================
--- csw/mgar/pkg/svn2cl/trunk/files/COPYING	                        (rev 0)
+++ csw/mgar/pkg/svn2cl/trunk/files/COPYING	2012-06-28 07:19:42 UTC (rev 18573)
@@ -0,0 +1,26 @@
+# Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Arthur de Jong.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+#    notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+#    notice, this list of conditions and the following disclaimer in
+#    the documentation and/or other materials provided with the
+#    distribution.
+# 3. The name of the author may not be used to endorse or promote
+#    products derived from this software without specific prior
+#    written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
+# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

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