[csw-devel] SF.net SVN: gar:[15426] csw/mgar/pkg/tcpwrappers/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Wed Aug 24 16:20:24 CEST 2011


Revision: 15426
          http://gar.svn.sourceforge.net/gar/?rev=15426&view=rev
Author:   dmichelsen
Date:     2011-08-24 14:20:24 +0000 (Wed, 24 Aug 2011)
Log Message:
-----------
tcpwrappers: Change SONAME from libwrap.so.1 to libwrap.so.0

Modified Paths:
--------------
    csw/mgar/pkg/tcpwrappers/trunk/Makefile
    csw/mgar/pkg/tcpwrappers/trunk/files/sharedlib.patch

Modified: csw/mgar/pkg/tcpwrappers/trunk/Makefile
===================================================================
--- csw/mgar/pkg/tcpwrappers/trunk/Makefile	2011-08-24 11:52:00 UTC (rev 15425)
+++ csw/mgar/pkg/tcpwrappers/trunk/Makefile	2011-08-24 14:20:24 UTC (rev 15426)
@@ -24,22 +24,21 @@
 PATCHFILES += sharedlib.patch
 
 PACKAGES += CSWtcpwrapper
-SPKG_DESC_CSWtcpwrapper = Wrapper around common tools using libwrap.so.1
+SPKG_DESC_CSWtcpwrapper = Wrapper around common tools using libwrap.so.0
 # PKGFILES is catchall
-RUNTIME_DEP_PKGS_CSWtcpwrapper += CSWlibwrap1
+RUNTIME_DEP_PKGS_CSWtcpwrapper += CSWlibwrap0
 OBSOLETED_BY_CSWtcpwrapper += CSWtcpwrap
 CATALOGNAME_CSWtcpwrap = tcpwrappers_stub
 
-PACKAGES += CSWlibwrap1
-SPKG_DESC_CSWlibwrap1 = Socket wrappers for pre-screening tcp connections (ipv6.4 patched), libwrap.so.1
-PKGFILES_CSWlibwrap1 += $(call pkgfiles_lib,libwrap.so.1)
-PKGFILES_CSWlibwrap1 += $(mandir)/man5/.*
-SPKG_DESC_CSWtcpwrap = $(DESCRIPTION)
+PACKAGES += CSWlibwrap0
+SPKG_DESC_CSWlibwrap0 = Socket wrappers for pre-screening tcp connections (ipv6.4 patched), libwrap.so.0
+PKGFILES_CSWlibwrap0 += $(call pkgfiles_lib,libwrap.so.0)
+PKGFILES_CSWlibwrap0 += $(mandir)/man5/.*
 
 PACKAGES += CSWlibwrap-dev
-SPKG_DESC_CSWlibwrap-dev = Development files for libwrap.so.1
+SPKG_DESC_CSWlibwrap-dev = Development files for libwrap.so.0
 PKGFILES_CSWlibwrap-dev += $(PKGFILES_DEVEL)
-RUNTIME_DEP_PKGS_CSWlibwrap-dev += CSWlibwrap1
+RUNTIME_DEP_PKGS_CSWlibwrap-dev += CSWlibwrap0
 
 BUILD_ARGS = REAL_DAEMON_DIR=/usr/sbin
 BUILD_ARGS += STYLE=-DPROCESS_OPTIONS
@@ -64,7 +63,7 @@
 
 INSTALL_SCRIPTS = custom
 
-MIGRATE_FILES_CSWlibwrap1 = hosts.allow hosts.deny
+MIGRATE_FILES_CSWlibwrap0 = hosts.allow hosts.deny
 
 # This is an example to /usr/local/lib/ntalkd
 CHECKPKG_OVERRIDES_CSWtcpwrapper += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/tcpd.8
@@ -95,8 +94,8 @@
 	ginstall -d $(DESTDIR)$(includedir)
 	cd $(WORKSRC) && ginstall -v -m 644 tcpd.h $(DESTDIR)$(includedir)
 	ginstall -d $(DESTDIR)$(libdir)
-	cd $(WORKSRC) && ginstall -v -m 644 libwrap.so.1 $(DESTDIR)$(libdir)/libwrap.so.1
-	gln -s libwrap.so.1 $(DESTDIR)$(libdir)/libwrap.so
+	cd $(WORKSRC) && ginstall -v -m 644 libwrap.so.0 $(DESTDIR)$(libdir)/libwrap.so.0
+	gln -s libwrap.so.0 $(DESTDIR)$(libdir)/libwrap.so
 	ginstall -d $(DESTDIR)$(mandir)/man3
 	cd $(WORKSRC) && ginstall -v -m 644 *.3 $(DESTDIR)$(mandir)/man3
 	ginstall -d $(DESTDIR)$(mandir)/man5

Modified: csw/mgar/pkg/tcpwrappers/trunk/files/sharedlib.patch
===================================================================
--- csw/mgar/pkg/tcpwrappers/trunk/files/sharedlib.patch	2011-08-24 11:52:00 UTC (rev 15425)
+++ csw/mgar/pkg/tcpwrappers/trunk/files/sharedlib.patch	2011-08-24 14:20:24 UTC (rev 15426)
@@ -8,8 +8,8 @@
 +sunos5-shared:
 +	@$(MAKE) REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
 +	LIBS="-lsocket -lnsl" RANLIB=/bin/true \
-+	AR=ld ARFLAGS="-G -h libwrap.so.1 -lsocket -lnsl -o " \
-+	LIB=libwrap.so.1 VSYSLOG= \
++	AR=ld ARFLAGS="-G -h libwrap.so.0 -lsocket -lnsl -o " \
++	LIB=libwrap.so.0 VSYSLOG= \
 +	NETGROUP=-DNETGROUP AUX_OBJ="setenv.o sharedhack.o" TLI=-DTLI \
 +	BUGS="$(BUGS) -DSOLARIS_24_GETHOSTBYNAME_BUG" IPV6="$(IPV6)" \
 +	EXTRA_CFLAGS="-DUSE_STRERROR -Kpic" all
@@ -17,8 +17,8 @@
 +sunos5-sharedext:
 +	@$(MAKE) REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
 +	LIBS="-lsocket -lnsl" RANLIB=/bin/true \
-+	AR=ld ARFLAGS="-G -h libwrap.so.1 -lsocket -lnsl -o " \
-+	LIB=libwrap.so.1 VSYSLOG= STYLE=-DPROCESS_OPTIONS \
++	AR=ld ARFLAGS="-G -h libwrap.so.0 -lsocket -lnsl -o " \
++	LIB=libwrap.so.0 VSYSLOG= STYLE=-DPROCESS_OPTIONS \
 +	NETGROUP=-DNETGROUP AUX_OBJ="setenv.o sharedhack.o" TLI=-DTLI \
 +	BUGS="$(BUGS) -DSOLARIS_24_GETHOSTBYNAME_BUG" IPV6="$(IPV6)" \
 +	EXTRA_CFLAGS="-DUSE_STRERROR -Kpic" all

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