SF.net SVN: gar:[26972] csw/mgar/pkg/rsync/trunk
idogan23 at users.sourceforge.net
idogan23 at users.sourceforge.net
Sat Sep 24 13:35:24 CEST 2022
Revision: 26972
http://sourceforge.net/p/gar/code/26972
Author: idogan23
Date: 2022-09-24 11:35:21 +0000 (Sat, 24 Sep 2022)
Log Message:
-----------
rsync: Patch for mkgitver
Modified Paths:
--------------
csw/mgar/pkg/rsync/trunk/Makefile
Added Paths:
-----------
csw/mgar/pkg/rsync/trunk/files/0001-Solaris-test-does-not-support-e.patch
Modified: csw/mgar/pkg/rsync/trunk/Makefile
===================================================================
--- csw/mgar/pkg/rsync/trunk/Makefile 2022-09-23 18:59:39 UTC (rev 26971)
+++ csw/mgar/pkg/rsync/trunk/Makefile 2022-09-24 11:35:21 UTC (rev 26972)
@@ -19,6 +19,8 @@
DISTFILES += cswrsyncd.xml
DISTFILES += rsyncd.conf.CSW
+PATCHFILES += 0001-Solaris-test-does-not-support-e.patch
+
VENDOR_URL = http://rsync.samba.org/
PACKAGES += CSWrsync
Added: csw/mgar/pkg/rsync/trunk/files/0001-Solaris-test-does-not-support-e.patch
===================================================================
--- csw/mgar/pkg/rsync/trunk/files/0001-Solaris-test-does-not-support-e.patch (rev 0)
+++ csw/mgar/pkg/rsync/trunk/files/0001-Solaris-test-does-not-support-e.patch 2022-09-24 11:35:21 UTC (rev 26972)
@@ -0,0 +1,25 @@
+From 74c468a382870df44fc4ac1b6d4b14e8cc6f17df Mon Sep 17 00:00:00 2001
+From: Ihsan Dogan <ihsan at opencsw.org>
+Date: Sat, 24 Sep 2022 13:31:33 +0200
+Subject: [PATCH] Solaris test does not support -e
+
+---
+ mkgitver | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/mkgitver b/mkgitver
+index fe8a3d1..3d5423d 100755
+--- a/mkgitver
++++ b/mkgitver
+@@ -6,7 +6,7 @@ if [ ! -f git-version.h ]; then
+ touch git-version.h
+ fi
+
+-if [ -e "$srcdir/.git" ]; then
++if [ -d "$srcdir/.git" ]; then
+ gitver=`git describe --abbrev=8 2>/dev/null | sed -n '/^v3\.[0-9][0-9]*\.[0-9][0-9]*\(-\|$\)/p'`
+ if [ -n "$gitver" ]; then
+ echo "#define RSYNC_GITVER \"$gitver\"" >git-version.h.new
+--
+2.4.0
+
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