[csw-devel] SF.net SVN: gar:[6278] csw/mgar/pkg
skayser at users.sourceforge.net
skayser at users.sourceforge.net
Sat Sep 12 00:37:25 CEST 2009
Revision: 6278
http://gar.svn.sourceforge.net/gar/?rev=6278&view=rev
Author: skayser
Date: 2009-09-11 22:37:24 +0000 (Fri, 11 Sep 2009)
Log Message:
-----------
sudosh2: initial commit
Added Paths:
-----------
csw/mgar/pkg/sudosh2/
csw/mgar/pkg/sudosh2/branches/
csw/mgar/pkg/sudosh2/tags/
csw/mgar/pkg/sudosh2/trunk/
csw/mgar/pkg/sudosh2/trunk/Makefile
csw/mgar/pkg/sudosh2/trunk/checksums
csw/mgar/pkg/sudosh2/trunk/files/
csw/mgar/pkg/sudosh2/trunk/files/001-installsudosh.conf-destdir.patch
Property changes on: csw/mgar/pkg/sudosh2/trunk
___________________________________________________________________
Added: svn:ignore
+ cookies
download
work
Added: svn:externals
+ gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2
Added: csw/mgar/pkg/sudosh2/trunk/Makefile
===================================================================
--- csw/mgar/pkg/sudosh2/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/sudosh2/trunk/Makefile 2009-09-11 22:37:24 UTC (rev 6278)
@@ -0,0 +1,32 @@
+# TODO/Issues
+# - Man pages don't display right now
+# - Set sudosh.conf ownership to root:root?
+# - Compiled in default for logdir /var/adm/..., if not existant sudosh2
+# totally hangs (^C doesn't work). Change default and include the dir in the
+# package?
+# - Submit DESTDIR patch upstream
+GARNAME = sudosh2
+GARVERSION = 1.0.2
+CATEGORIES = apps
+
+DESCRIPTION = Brief description
+define BLURB
+ Long description
+endef
+
+MASTER_SITES = $(SF_MIRRORS)
+DISTFILES = $(GARNAME)-$(GARVERSION).tgz
+
+CONFIGURE_ARGS = $(DIRPATHS)
+
+# No tests available
+TEST_SCRIPTS =
+
+# Installation for sudosh.conf doesn't honor DESTDIR
+PATCHFILES = 001-installsudosh.conf-destdir.patch
+
+include gar/category.mk
+
+pre-configure-modulated:
+ perl -pi -e 's|-Werror|-errwarn|g' $(WORKSRC)/Makefile.in $(WORKSRC)/src/Makefile.in
+ @$(MAKECOOKIE)
Added: csw/mgar/pkg/sudosh2/trunk/checksums
===================================================================
--- csw/mgar/pkg/sudosh2/trunk/checksums (rev 0)
+++ csw/mgar/pkg/sudosh2/trunk/checksums 2009-09-11 22:37:24 UTC (rev 6278)
@@ -0,0 +1 @@
+4c837f7739d9db780ad324ed8482e8a7 download/sudosh2-1.0.2.tgz
Added: csw/mgar/pkg/sudosh2/trunk/files/001-installsudosh.conf-destdir.patch
===================================================================
--- csw/mgar/pkg/sudosh2/trunk/files/001-installsudosh.conf-destdir.patch (rev 0)
+++ csw/mgar/pkg/sudosh2/trunk/files/001-installsudosh.conf-destdir.patch 2009-09-11 22:37:24 UTC (rev 6278)
@@ -0,0 +1,14 @@
+diff --speed-large-files --minimal -Nru sudosh2-1.0.2.orig/src/Makefile.in sudosh2-1.0.2/src/Makefile.in
+--- sudosh2-1.0.2.orig/src/Makefile.in 2008-02-22 22:11:01.000000000 +0100
++++ sudosh2-1.0.2/src/Makefile.in 2009-09-12 00:15:07.491559672 +0200
+@@ -441,8 +441,8 @@
+
+
+ install-sudosh.conf:
+- test -z "$(sysconfdir)" || $(mkdir_p) "$(DESTDIR)$(sysconfdir)"
+- test -f $(sysconfdir)/sudosh.conf || $(INSTALL) -o 0 -g 0 -m 0444 '$(srcdir)/sudosh.conf' '$(sysconfdir)/sudosh.conf'
++ test -z "$(DESTDIR)$(sysconfdir)" || $(mkdir_p) "$(DESTDIR)$(sysconfdir)"
++ test -f "$(DESTDIR)$(sysconfdir)/sudosh.conf" || $(INSTALL) -m 0444 '$(srcdir)/sudosh.conf' '$(DESTDIR)$(sysconfdir)/sudosh.conf'
+
+ install: install-am install-sudosh.conf
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
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