Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Sep 1998 13:06:11 +0200 (CEST)
From:      Stefan Eggers <seggers@semyam.dinoco.de>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Cc:        seggers@semyam.dinoco.de
Subject:   ports/7916: ELF for tcp_wrappers 7.6
Message-ID:  <199809131106.NAA21927@semyam.dinoco.de>

next in thread | raw e-mail | index | archive | help

>Number:         7916
>Category:       ports
>Synopsis:       ELF for tcp_wrappers 7.6
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 13 04:20:00 PDT 1998
>Last-Modified:
>Originator:     Stefan Eggers
>Organization:
none
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

>Description:

	I made changes to tcp_wrappers 7.6 (security in the ports
collection) according to the description sent in freebsd-current by
Satoshi Asami to make it conform to the new ELF rules.  The major
version number has to be 8 now as the old version used a non-zero
minor version number.

	Lacking a separate a.out system I didn't test that separately.

>How-To-Repeat:

>Fix:
	
Index: Makefile
===================================================================
RCS file: /usr2/FreeBSD/CVSROOT/ports/security/tcp_wrapper/Makefile,v
retrieving revision 1.18
diff -u -r1.18 Makefile
--- Makefile	1998/01/10 18:31:17	1.18
+++ Makefile	1998/09/13 10:44:32
@@ -19,7 +19,7 @@
 MAN8=		tcpd.8 tcpdchk.8 tcpdmatch.8
 
 post-install:
-	${LDCONFIG} -m ${PREFIX}/lib
+	${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
 	@${INSTALL_DATA} ${FILESDIR}/inetd.conf.wrapped.sample ${PREFIX}/etc
 
 update:
Index: patches/patch-aa
===================================================================
RCS file: /usr2/FreeBSD/CVSROOT/ports/security/tcp_wrapper/patches/patch-aa,v
retrieving revision 1.15
diff -u -r1.15 patch-aa
--- patch-aa	1997/07/21 14:21:25	1.15
+++ patch-aa	1998/09/13 09:58:51
@@ -196,7 +196,7 @@
   	scaffold.h tcpdmatch.8 README.NIS
   
 ! LIB     = libwrap.a
-! SLIB    = libwrap.so.7.6
+! SLIB    = libwrap.so.8
 ! 
 ! all other: config-check $(LIB) $(SLIB) tcpd tcpdmatch try-from safe_finger tcpdchk
 ! 
Index: pkg/PLIST
===================================================================
RCS file: /usr2/FreeBSD/CVSROOT/ports/security/tcp_wrapper/pkg/PLIST,v
retrieving revision 1.12
diff -u -r1.12 PLIST
--- PLIST	1998/08/19 19:54:36	1.12
+++ PLIST	1998/09/13 10:01:18
@@ -6,7 +6,7 @@
 bin/try-from
 lib/libwrap.a
 @exec ranlib %D/%F
-lib/libwrap.so.7.6
-@exec /sbin/ldconfig -m %B
-@unexec /sbin/ldconfig -R
+lib/libwrap.so.8
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
 etc/inetd.conf.wrapped.sample
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809131106.NAA21927>