[csw-devel] SF.net SVN: gar:[19465] csw/mgar/pkg/sudo/trunk

janholzh at users.sourceforge.net janholzh at users.sourceforge.net
Thu Oct 18 17:18:22 CEST 2012


Revision: 19465
          http://gar.svn.sourceforge.net/gar/?rev=19465&view=rev
Author:   janholzh
Date:     2012-10-18 15:18:22 +0000 (Thu, 18 Oct 2012)
Log Message:
-----------
sudo/trunk: add custom map file

Modified Paths:
--------------
    csw/mgar/pkg/sudo/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/sudo/trunk/files/map.sudo

Modified: csw/mgar/pkg/sudo/trunk/Makefile
===================================================================
--- csw/mgar/pkg/sudo/trunk/Makefile	2012-10-18 15:11:37 UTC (rev 19464)
+++ csw/mgar/pkg/sudo/trunk/Makefile	2012-10-18 15:18:22 UTC (rev 19465)
@@ -20,6 +20,7 @@
 MASTER_SITES = ftp://ftp.sudo.ws/pub/sudo/
 DISTFILES += $(DISTNAME).tar.gz 
 DISTFILES += sudo.conf.CSW
+DISTFILES += map.sudo
 
 LICENSE = doc/LICENSE
 
@@ -28,6 +29,13 @@
 # To have least Priv Support for Solaris 10 build on all Platforms
 PACKAGING_PLATFORMS = solaris9-sparc solaris9-i386  solaris10-sparc solaris10-i386
 
+#Use custom map for solaris 10
+
+ifneq ($(shell /usr/bin/uname -r),5.9)
+        LINKER_MAPS ?= -M "$(abspath $(WORKDIR)/map.sudo)"
+endif
+
+
 PACKAGES += CSWsudo
 SPKG_DESC_CSWsudo = Provides limited super user privileges
 # PKGFILES is catchall

Added: csw/mgar/pkg/sudo/trunk/files/map.sudo
===================================================================
--- csw/mgar/pkg/sudo/trunk/files/map.sudo	                        (rev 0)
+++ csw/mgar/pkg/sudo/trunk/files/map.sudo	2012-10-18 15:18:22 UTC (rev 19465)
@@ -0,0 +1,7 @@
+# Solaris 10 mapfile with libc Version 1.22.2 which is Update?? Kernel Version
+#   http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libc/port/mapfile-vers#301
+libc.so - SUNW_1.22.2 SUNWprivate_1.1 $ADDVERS=SUNW_1.22.2;
+#  http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libresolv2/common/mapfile-vers
+libresolv.so - SUNW_2.2 SUNWprivate_2.1 $ADDVERS=SUNW_2.2;
+# http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libnsl/common/mapfile-vers
+libnsl.so - SUNW_1.9 SUNWprivate_1.5 $ADDVERS=SUNW_1.9;

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