Date: Wed, 1 Aug 2001 17:11:56 -0500 (CDT) From: "Scot W. Hetzel" <hetzels@westbend.net> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/29371: New Ports: compat3x & compat4x Message-ID: <200108012211.f71MBuh14118@wbiW09.westbend.net>
next in thread | raw e-mail | index | archive | help
>Number: 29371 >Category: ports >Synopsis: New Ports: compat3x & compat4x >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 01 15:20:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Scot W. Hetzel >Release: FreeBSD 4.3-STABLE i386 >Organization: West Bend Internet >Environment: System: FreeBSD wbiW09.westbend.net 4.3-STABLE FreeBSD 4.3-STABLE #6: Sun Jul 22 17:21:04 CDT 2001 root@wbiW09.westbend.net:/usr/obj/usr/src/sys/WBIW09-SMP i386 >Description: Several ports only have there programs available in binary format. This causes problems either when installing or when the user runs the program caused by a missing library dependancy. Currently, we coundn't specify LIB_DEPENDS for these ports, because no port/package is available for the compat libraries. Currently, we require the user to do one of the following: - Use sysinstall to install the compat libraies - cd RELEASE/compat* and use install.sh (missing for compat4x). - Edit make.conf and uncoment the COMPAT* variables before buildworld. - Install the FreeBSD sources, and cd /usr/src/usr/lib/compat and perform a make install in the appropriat compat?? directories. when they encounter this problem. With the compat* libraries available as a port, we can use LIB_DEPENDS to install these libraries, if they are missing. >How-To-Repeat: >Fix: Attached is a shar archive for the compat3x and compat4x ports. # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # compat3x # compat4x # compat3x/Makefile # compat3x/distinfo # compat3x/pkg-comment # compat3x/pkg-descr # compat3x/pkg-install # compat3x/pkg-plist # compat4x/Makefile # compat4x/distinfo.alpha # compat4x/distinfo.i386 # compat4x/pkg-comment # compat4x/pkg-descr # compat4x/pkg-install # compat4x/pkg-plist # echo c - compat3x mkdir -p compat3x > /dev/null 2>&1 echo c - compat4x mkdir -p compat4x > /dev/null 2>&1 echo x - compat3x/Makefile sed 's/^X//' >compat3x/Makefile << 'END-of-compat3x/Makefile' X# New ports collection makefile for: compat3x libraries X# Date created: 01 Aug 2001 X# Whom: Scot W. Hetzel X# X# $FreeBSD$ X# X XPORTNAME= compat3x-${ARCH} XPORTVERSION= 4.3 XCATEGORIES= misc XDISTFILES= compat3x.tar X XMAINTAINER= hetzels@westbend.net X X XMASTER_SITES= ftp://ftp.freebsd.org/pub/FreeBSD/releases/${ARCH}/${PORTVERSION}-RELEASE/ X XONLY_FOR_ARCHS= i386 XDIST_SUBDIR= i386 XWRKSRC= ${WRKDIR}/compat3x XNO_MTREE= yes XPREFIX?= / XNO_BUILD= yes X Xdo-install: X @cd ${WRKSRC}; \ X if [ "`id -u`" != "0" ]; then \ X echo "Sorry, this must be done as root."; \ X exit 1; \ X fi; \ X cat compat3x.?? | tar --unlink -xpzf - -C ${DESTDIR}${PREFIX} X X.include <bsd.port.mk> END-of-compat3x/Makefile echo x - compat3x/distinfo sed 's/^X//' >compat3x/distinfo << 'END-of-compat3x/distinfo' XMD5 (i386/compat3x.tar) = ac3efad9b83d809f8b4570179d75b107 END-of-compat3x/distinfo echo x - compat3x/pkg-comment sed 's/^X//' >compat3x/pkg-comment << 'END-of-compat3x/pkg-comment' XA convenience package to install the compat3x libraries END-of-compat3x/pkg-comment echo x - compat3x/pkg-descr sed 's/^X//' >compat3x/pkg-descr << 'END-of-compat3x/pkg-descr' XThis package will allow you to install the compat3x libraries on your Xsystem, so you can use ports that depend on these libraries in ports-current. END-of-compat3x/pkg-descr echo x - compat3x/pkg-install sed 's/^X//' >compat3x/pkg-install << 'END-of-compat3x/pkg-install' X#!/bin/sh X# X# $FreeBSD$ X Xcase $2 in X PRE-INSTALL) X if [ "`id -u`" != "0" ]; then X echo "Sorry, this must be done as root." X exit 1 X fi X Xesac END-of-compat3x/pkg-install echo x - compat3x/pkg-plist sed 's/^X//' >compat3x/pkg-plist << 'END-of-compat3x/pkg-plist' Xusr/lib/compat/libalias.so.3 Xusr/lib/compat/libc.so.3 Xusr/lib/compat/libc_r.so.3 Xusr/lib/compat/libc_r.so.4 Xusr/lib/compat/libcurses.so.2 Xusr/lib/compat/libdialog.so.3 Xusr/lib/compat/libedit.so.2 Xusr/lib/compat/libf2c.so.2 Xusr/lib/compat/libfetch.so.1 Xusr/lib/compat/libftpio.so.4 Xusr/lib/compat/libg++.so.4 Xusr/lib/compat/libhistory.so.3 Xusr/lib/compat/libmytinfo.so.2 Xusr/lib/compat/libncurses.so.3 Xusr/lib/compat/libreadline.so.3 Xusr/lib/compat/libss.so.2 Xusr/lib/compat/libstdc++.so.2 Xusr/lib/compat/libtermcap.so.2 Xusr/lib/compat/libutil.so.2 Xusr/lib/compat/libvgl.so.1 Xusr/lib/compat/libwrap.so.2 Xusr/lib/compat/libxpg4.so.2 END-of-compat3x/pkg-plist echo x - compat4x/Makefile sed 's/^X//' >compat4x/Makefile << 'END-of-compat4x/Makefile' X# New ports collection makefile for: compat4x libraries X# Date created: 01 Aug 2001 X# Whom: Scot W. Hetzel X# X# $FreeBSD$ X# X XPORTNAME= compat4x-${ARCH} XPORTVERSION= 4.3 XCATEGORIES= misc XDISTFILES= compat4x.tar X XMAINTAINER= hetzels@westbend.net X X XMASTER_SITES= ftp://ftp.freebsd.org/pub/FreeBSD/releases/${ARCH}/${PORTVERSION}-RELEASE/ X XMD5_FILE= ${MASTERDIR}/distinfo.${ARCH} XWRKSRC= ${WRKDIR}/compat4x XDIST_SUBDIR= ${ARCH} XNO_MTREE= yes XPREFIX?= / XNO_BUILD= yes X Xdo-install: X @cd ${WRKSRC} ; \ X if [ "`id -u`" != "0" ]; then \ X echo "Sorry, this must be done as root."; \ X exit 1; \ X fi; \ X cat compat4x.?? | tar --unlink -xpzf - -C ${DESTDIR}${PREFIX} X X X.include <bsd.port.mk> END-of-compat4x/Makefile echo x - compat4x/distinfo.alpha sed 's/^X//' >compat4x/distinfo.alpha << 'END-of-compat4x/distinfo.alpha' XMD5 (alpha/compat4x.tar) = a352610f8fe57f1108d60bc9f283dd6d END-of-compat4x/distinfo.alpha echo x - compat4x/distinfo.i386 sed 's/^X//' >compat4x/distinfo.i386 << 'END-of-compat4x/distinfo.i386' XMD5 (i386/compat4x.tar) = 41007bdfbbf3430d38ec8dca9d3b9af9 END-of-compat4x/distinfo.i386 echo x - compat4x/pkg-comment sed 's/^X//' >compat4x/pkg-comment << 'END-of-compat4x/pkg-comment' XA convenience package to install the compat4x libraries END-of-compat4x/pkg-comment echo x - compat4x/pkg-descr sed 's/^X//' >compat4x/pkg-descr << 'END-of-compat4x/pkg-descr' XThis package will allow you to install the compat4x libraries on your Xsystem, so you can use ports that depend on these libraries in ports-current. END-of-compat4x/pkg-descr echo x - compat4x/pkg-install sed 's/^X//' >compat4x/pkg-install << 'END-of-compat4x/pkg-install' X#!/bin/sh X# X# $FreeBSD$ X Xcase $2 in X PRE-INSTALL) X if [ "`id -u`" != "0" ]; then X echo "Sorry, this must be done as root." X exit 1 X fi X Xesac END-of-compat4x/pkg-install echo x - compat4x/pkg-plist sed 's/^X//' >compat4x/pkg-plist << 'END-of-compat4x/pkg-plist' Xusr/lib/compat/libcrypto.so.1 Xusr/lib/compat/libssl.so.1 END-of-compat4x/pkg-plist exit >Release-Note: >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?200108012211.f71MBuh14118>