[csw-devel] SF.net SVN: gar:[5144] csw/mgar/pkg/dante/trunk/Makefile
skayser at users.sourceforge.net
skayser at users.sourceforge.net
Wed Jun 3 20:58:20 CEST 2009
Revision: 5144
http://gar.svn.sourceforge.net/gar/?rev=5144&view=rev
Author: skayser
Date: 2009-06-03 18:58:20 +0000 (Wed, 03 Jun 2009)
Log Message:
-----------
dante: preliminary workaround for missing issetugid()
Modified Paths:
--------------
csw/mgar/pkg/dante/trunk/Makefile
Modified: csw/mgar/pkg/dante/trunk/Makefile
===================================================================
--- csw/mgar/pkg/dante/trunk/Makefile 2009-06-03 17:54:57 UTC (rev 5143)
+++ csw/mgar/pkg/dante/trunk/Makefile 2009-06-03 18:58:20 UTC (rev 5144)
@@ -71,6 +71,17 @@
include gar/category.mk
+# Fix missing issetugid on Solaris 8, it is not nice, but the best i can
+# come up with for now, ref.
+# http://bugs.gentoo.org/attachment.cgi?id=180390
+# issetugid(2) on a Solaris 10 box (WRT to concerns)
+# This should be revamped into a patch for libscompat/issetugid.c
+post-extract-modulated:
+ @perl -pi -e '\
+ s/int issetugid __P\(\(void\)\)/#define issetugid() (getuid() != geteuid()) || (getgid() != getegid())/' \
+ $(WORKSRC)/include/common.h
+ @$(MAKECOOKIE)
+
post-install-modulated: DOCDEST = $(DESTDIR)$(docdir)/$(GARNAME)
post-install-modulated: DOCS = CREDITS NEWS SUPPORT
post-install-modulated:
@@ -82,5 +93,5 @@
@cp $(FILEDIR)/CSWdante.cswdante $(DESTDIR)/etc/opt/csw/init.d/cswdante
# /var/opt/csw/run is not in CSWcommon
- @ginstall -d /var/opt/csw/run
+ @ginstall -d $(DESTDIR)/var/opt/csw/run
@$(MAKECOOKIE)
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