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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Mon Jan 19 15:06:56 CET 2009


Revision: 2859
          http://gar.svn.sourceforge.net/gar/?rev=2859&view=rev
Author:   dmichelsen
Date:     2009-01-19 14:06:56 +0000 (Mon, 19 Jan 2009)

Log Message:
-----------
cvsps: Initial commit, needs more work (autoconf / gnulib)

Added Paths:
-----------
    csw/mgar/pkg/cvsps/
    csw/mgar/pkg/cvsps/branches/
    csw/mgar/pkg/cvsps/tags/
    csw/mgar/pkg/cvsps/trunk/
    csw/mgar/pkg/cvsps/trunk/Makefile
    csw/mgar/pkg/cvsps/trunk/checksums
    csw/mgar/pkg/cvsps/trunk/files/
    csw/mgar/pkg/cvsps/trunk/files/CSWcvsps.gspec
    csw/mgar/pkg/cvsps/trunk/files/patch-extralibs.diff


Property changes on: csw/mgar/pkg/cvsps/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/cvsps/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cvsps/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/cvsps/trunk/Makefile	2009-01-19 14:06:56 UTC (rev 2859)
@@ -0,0 +1,25 @@
+GARNAME = cvsps
+GARVERSION = 2.1
+CATEGORIES = apps
+
+DESCRIPTION = Brief description
+define BLURB
+  Long description
+endef
+
+MASTER_SITES = http://www.cobite.com/cvsps/
+DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+DISTFILES += $(call admfiles,CSWcvsps,)
+
+PATCHFILES = patch-extralibs.diff
+
+# We define upstream file regex so we can be notifed of new upstream software release
+UFILES_REGEX = -(\d+(?:\.\d+)*).tar.gz
+
+# We don't have configure
+CONFIGURE_SCRIPTS =
+
+BUILD_ARGS = CC="$(CC)" CFLAGS="-I. -DVERSION=\"$(GARVERSION)\" $(CFLAGS)" prefix="$(prefix)"
+BUILD_ARGS += _EXTRA_LIBS="-lnsl -lsocket"
+
+include gar/category.mk

Added: csw/mgar/pkg/cvsps/trunk/checksums
===================================================================
--- csw/mgar/pkg/cvsps/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/cvsps/trunk/checksums	2009-01-19 14:06:56 UTC (rev 2859)
@@ -0,0 +1,3 @@
+bde2110ed9f5d14de8f8cb04e9d596fe  download/cvsps-2.1.tar.gz
+cb54db01900320e1bf80da166c60c2f8  download/CSWcvsps.gspec
+d337546e3cf1195cc7b98ed2b5dd06d1  download/patch-extralibs.diff

Added: csw/mgar/pkg/cvsps/trunk/files/CSWcvsps.gspec
===================================================================
--- csw/mgar/pkg/cvsps/trunk/files/CSWcvsps.gspec	                        (rev 0)
+++ csw/mgar/pkg/cvsps/trunk/files/CSWcvsps.gspec	2009-01-19 14:06:56 UTC (rev 2859)
@@ -0,0 +1,4 @@
+%var            bitname cvsps
+%var            pkgname CSWcvsps
+%include        url file://%{PKGLIB}/csw_dyndepend.gspec
+%copyright      url file://%{WORKSRC_FIRSTMOD}/COPYING

Added: csw/mgar/pkg/cvsps/trunk/files/patch-extralibs.diff
===================================================================
--- csw/mgar/pkg/cvsps/trunk/files/patch-extralibs.diff	                        (rev 0)
+++ csw/mgar/pkg/cvsps/trunk/files/patch-extralibs.diff	2009-01-19 14:06:56 UTC (rev 2859)
@@ -0,0 +1,35 @@
+diff -Naur cvsps-2.1.orig/Makefile cvsps-2.1.patched/Makefile
+--- cvsps-2.1.orig/Makefile	2005-05-26 05:39:40.000000000 +0200
++++ cvsps-2.1.patched/Makefile	2009-01-19 14:40:16.228045093 +0100
+@@ -21,7 +21,7 @@
+ all: cvsps
+ 
+ cvsps: $(OBJS)
+-	$(CC) -o cvsps $(OBJS) -lz
++	$(CC) -o cvsps $(OBJS) -lz $(_EXTRA_LIBS)
+ 
+ install:
+ 	[ -d $(prefix)/bin ] || mkdir -p $(prefix)/bin
+diff -Naur cvsps-2.1.orig/util.c cvsps-2.1.patched/util.c
+--- cvsps-2.1.orig/util.c	2005-05-26 05:39:40.000000000 +0200
++++ cvsps-2.1.patched/util.c	2009-01-19 14:46:43.782069081 +0100
+@@ -154,16 +154,18 @@
+     char * old_tz = getenv("TZ");
+     time_t ret;
+ 
+-    setenv("TZ", "UTC", 1);
++    /* setenv("TZ", "UTC", 1); */
+ 
+     tzset();
+ 	    
+     ret = mktime(tm);
+ 
++    /*
+     if (old_tz)
+ 	setenv("TZ", old_tz, 1);
+     else 
+ 	unsetenv("TZ");
++    */
+ 
+     tzset();
+ 


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