Add compat22, compat3x and compat4x. These packages allow you to
install the compat libraries on your system, so you can use legacy binaries that depend on them. PR: ports/29371 Submitted by: Scot W. Hetzel <hetzels@westbend.net> Altered by: knu
This commit is contained in:
parent
19c9cd5c8e
commit
1ebdec8e3d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46163
16 changed files with 268 additions and 0 deletions
|
@ -32,6 +32,9 @@
|
|||
SUBDIR += cmatrix
|
||||
SUBDIR += colorls
|
||||
SUBDIR += colortail
|
||||
SUBDIR += compat22
|
||||
SUBDIR += compat3x
|
||||
SUBDIR += compat4x
|
||||
SUBDIR += cpuid
|
||||
SUBDIR += crosspad
|
||||
SUBDIR += cstream
|
||||
|
|
46
misc/compat22/Makefile
Normal file
46
misc/compat22/Makefile
Normal file
|
@ -0,0 +1,46 @@
|
|||
# New ports collection makefile for: compat22 libraries
|
||||
# Date created: 01 Aug 2001
|
||||
# Whom: Scot W. Hetzel
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= compat22
|
||||
PORTVERSION= 4.3
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= ${MASTER_SITE_FREEBSD_ORG}
|
||||
MASTER_SITE_SUBDIR= releases/${ARCH}/${PORTVERSION}-RELEASE/${PORTNAME}
|
||||
PKGNAMESUFFIX= -${ARCH}
|
||||
DISTFILES= ${PORTNAME}.aa \
|
||||
${PORTNAME}.ab \
|
||||
${PORTNAME}.ac \
|
||||
${PORTNAME}.ad \
|
||||
${PORTNAME}.ae
|
||||
DIST_SUBDIR= ${ARCH}/${PORTVERSION}
|
||||
|
||||
MAINTAINER= hetzels@westbend.net
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
PORTOBJFORMAT= aout
|
||||
|
||||
PREFIX?= /usr
|
||||
|
||||
WRKSRC= ${WRKDIR}/usr/lib/compat/aout
|
||||
NO_MTREE= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
TARGET_DIR= ${PREFIX}/lib/compat/aout
|
||||
|
||||
INSTALLS_SHLIB= yes
|
||||
LDCONFIG= /sbin/ldconfig -aout
|
||||
LDCONFIG_DIRS= %%PREFIX%%/lib/compat/aout
|
||||
|
||||
do-extract:
|
||||
${MKDIR} ${WRKDIR}
|
||||
cd ${_DISTDIR} && ${CAT} ${DISTFILES} | ${TAR} -xzf - -C ${WRKDIR}
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/* ${TARGET_DIR}/
|
||||
${INSTALL_DATA} ${WRKDIR}/usr/libexec/ld.so ${PREFIX}/libexec/
|
||||
|
||||
.include <bsd.port.mk>
|
5
misc/compat22/distinfo
Normal file
5
misc/compat22/distinfo
Normal file
|
@ -0,0 +1,5 @@
|
|||
MD5 (i386/4.3/compat22.aa) = c7742bbbabc49325a11a7f74b3a26f29
|
||||
MD5 (i386/4.3/compat22.ab) = 44641da7ce4b14099b49ef8f4c33e5b4
|
||||
MD5 (i386/4.3/compat22.ac) = c3034f17581903e7061b615732d64ad6
|
||||
MD5 (i386/4.3/compat22.ad) = 76ad528a6e07f3fdbdc594ba09902e2d
|
||||
MD5 (i386/4.3/compat22.ae) = 2856cfa5d26ec01d4d86c5a3b847f4d6
|
1
misc/compat22/pkg-comment
Normal file
1
misc/compat22/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
A convenience package to install the compat22 libraries
|
2
misc/compat22/pkg-descr
Normal file
2
misc/compat22/pkg-descr
Normal file
|
@ -0,0 +1,2 @@
|
|||
This package allows you to install the compat22 libraries on your
|
||||
system, so you can use legacy binaries that depend on them.
|
37
misc/compat22/pkg-plist
Normal file
37
misc/compat22/pkg-plist
Normal file
|
@ -0,0 +1,37 @@
|
|||
lib/compat/aout/libalias.so.2.4
|
||||
lib/compat/aout/libc.so.3.1
|
||||
lib/compat/aout/libc_r.so.3.0
|
||||
lib/compat/aout/libcalendar.so.2.0
|
||||
lib/compat/aout/libcom_err.so.2.0
|
||||
lib/compat/aout/libcrypt.so.2.0
|
||||
lib/compat/aout/libcurses.so.2.0
|
||||
lib/compat/aout/libdialog.so.3.1
|
||||
lib/compat/aout/libedit.so.2.0
|
||||
lib/compat/aout/libf2c.so.2.0
|
||||
lib/compat/aout/libftpio.so.4.0
|
||||
lib/compat/aout/libg++.so.4.0
|
||||
lib/compat/aout/libgmp.so.3.0
|
||||
lib/compat/aout/libgnuregex.so.2.0
|
||||
lib/compat/aout/libipx.so.2.0
|
||||
lib/compat/aout/libkvm.so.2.0
|
||||
lib/compat/aout/libm.so.2.0
|
||||
lib/compat/aout/libmp.so.3.0
|
||||
lib/compat/aout/libmytinfo.so.2.0
|
||||
lib/compat/aout/libncurses.so.3.1
|
||||
lib/compat/aout/libopie.so.2.0
|
||||
lib/compat/aout/libpcap.so.2.2
|
||||
lib/compat/aout/libreadline.so.3.0
|
||||
lib/compat/aout/librpcsvc.so.2.0
|
||||
lib/compat/aout/libscrypt.so.2.0
|
||||
lib/compat/aout/libscsi.so.2.0
|
||||
lib/compat/aout/libskey.so.2.0
|
||||
lib/compat/aout/libss.so.2.0
|
||||
lib/compat/aout/libstdc++.so.2.0
|
||||
lib/compat/aout/libtelnet.so.2.0
|
||||
lib/compat/aout/libtermcap.so.2.1
|
||||
lib/compat/aout/libtermlib.so.2.1
|
||||
lib/compat/aout/libutil.so.2.2
|
||||
lib/compat/aout/libvgl.so.1.0
|
||||
lib/compat/aout/libxpg4.so.2.0
|
||||
lib/compat/aout/libz.so.2.0
|
||||
libexec/ld.so
|
48
misc/compat3x/Makefile
Normal file
48
misc/compat3x/Makefile
Normal file
|
@ -0,0 +1,48 @@
|
|||
# New ports collection makefile for: compat3x libraries
|
||||
# Date created: 01 Aug 2001
|
||||
# Whom: Scot W. Hetzel
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= compat3x
|
||||
PORTVERSION= 4.3
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= ${MASTER_SITE_FREEBSD_ORG}
|
||||
MASTER_SITE_SUBDIR= releases/${ARCH}/${PORTVERSION}-RELEASE/${PORTNAME}
|
||||
PKGNAMESUFFIX= -${ARCH}
|
||||
DISTFILES= ${PORTNAME}.aa \
|
||||
${PORTNAME}.ab \
|
||||
${PORTNAME}.ac \
|
||||
${PORTNAME}.ad \
|
||||
${PORTNAME}.ae \
|
||||
${PORTNAME}.af
|
||||
DIST_SUBDIR= ${ARCH}/${PORTVERSION}
|
||||
|
||||
MAINTAINER= hetzels@westbend.net
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
|
||||
PREFIX?= /usr
|
||||
|
||||
WRKSRC= ${WRKDIR}/usr/lib/compat
|
||||
NO_MTREE= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
TARGET_DIR= ${PREFIX}/lib/compat
|
||||
|
||||
INSTALLS_SHLIB= yes
|
||||
LDCONFIG_DIRS= %%PREFIX%%/lib/compat
|
||||
|
||||
do-extract:
|
||||
${MKDIR} ${WRKDIR}
|
||||
cd ${_DISTDIR} && ${CAT} ${DISTFILES} | ${TAR} -xzf - -C ${WRKDIR}
|
||||
${MV} ${WRKSRC}/libc_r.so.4 ${WRKSRC}/libc_r.so.4.compat3x
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/* ${TARGET_DIR}/
|
||||
if [ ! -e ${TARGET_DIR}/libc_r.so.4.compat4x ]; then \
|
||||
${LN} -sf ${TARGET_DIR}/libc_r.so.4.compat3x ${TARGET_DIR}/libc_r.so.4; \
|
||||
fi
|
||||
|
||||
.include <bsd.port.mk>
|
6
misc/compat3x/distinfo
Normal file
6
misc/compat3x/distinfo
Normal file
|
@ -0,0 +1,6 @@
|
|||
MD5 (i386/4.3/compat3x.aa) = 3b910273f01d53c34f049fdcb24e81fe
|
||||
MD5 (i386/4.3/compat3x.ab) = 89b966359f5c42b54ecd946d12783616
|
||||
MD5 (i386/4.3/compat3x.ac) = 42627a60446f2695f49438d0a989ac81
|
||||
MD5 (i386/4.3/compat3x.ad) = 0e2c7ecededae1464c8eff7765d2fa45
|
||||
MD5 (i386/4.3/compat3x.ae) = a2aba322ce46ee6f56a74f420e09cac1
|
||||
MD5 (i386/4.3/compat3x.af) = 5c468e681b6efb9a0ea7faf7187535bc
|
1
misc/compat3x/pkg-comment
Normal file
1
misc/compat3x/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
A convenience package to install the compat3x libraries
|
2
misc/compat3x/pkg-descr
Normal file
2
misc/compat3x/pkg-descr
Normal file
|
@ -0,0 +1,2 @@
|
|||
This package allows you to install the compat3x libraries on your
|
||||
system, so you can use legacy binaries that depend on them.
|
24
misc/compat3x/pkg-plist
Normal file
24
misc/compat3x/pkg-plist
Normal file
|
@ -0,0 +1,24 @@
|
|||
lib/compat/libalias.so.3
|
||||
lib/compat/libc.so.3
|
||||
lib/compat/libc_r.so.3
|
||||
@unexec if [ -e %B/libc_r.so.4.compat4x ]; then ln -sf %B/libc_r.so.4.compat4x %B/libc_r.so.4; else rm %B/libc_r.so.4; fi
|
||||
lib/compat/libc_r.so.4.compat3x
|
||||
@exec if [ ! -e %B/libc_r.so.4.compat4x ]; then ln -sf %B/%f %B/libc_r.so.4; fi
|
||||
lib/compat/libcurses.so.2
|
||||
lib/compat/libdialog.so.3
|
||||
lib/compat/libedit.so.2
|
||||
lib/compat/libf2c.so.2
|
||||
lib/compat/libfetch.so.1
|
||||
lib/compat/libftpio.so.4
|
||||
lib/compat/libg++.so.4
|
||||
lib/compat/libhistory.so.3
|
||||
lib/compat/libmytinfo.so.2
|
||||
lib/compat/libncurses.so.3
|
||||
lib/compat/libreadline.so.3
|
||||
lib/compat/libss.so.2
|
||||
lib/compat/libstdc++.so.2
|
||||
lib/compat/libtermcap.so.2
|
||||
lib/compat/libutil.so.2
|
||||
lib/compat/libvgl.so.1
|
||||
lib/compat/libwrap.so.2
|
||||
lib/compat/libxpg4.so.2
|
71
misc/compat4x/Makefile
Normal file
71
misc/compat4x/Makefile
Normal file
|
@ -0,0 +1,71 @@
|
|||
# New ports collection makefile for: compat4x libraries
|
||||
# Date created: 01 Aug 2001
|
||||
# Whom: Scot W. Hetzel
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= compat4x
|
||||
PORTVERSION= ${COMPAT4X_PORTVERSION}
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= ${COMPAT4X_MASTER_SITES}
|
||||
PKGNAMESUFFIX= -${ARCH}
|
||||
DISTFILES= ${COMPAT4X_DISTFILES}
|
||||
DIST_SUBDIR= ${ARCH}/${PORTVERSION}
|
||||
|
||||
MAINTAINER= hetzels@westbend.net
|
||||
|
||||
PREFIX?= /usr
|
||||
|
||||
WRKSRC= ${WRKDIR}/usr/lib/compat
|
||||
NO_MTREE= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
TARGET_DIR= ${PREFIX}/lib/compat
|
||||
|
||||
INSTALLS_SHLIB= yes
|
||||
LDCONFIG_DIRS= %%PREFIX%%/lib/compat
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 500000
|
||||
COMPAT4X_PORTVERSION= 5.0
|
||||
COMPAT4X_MASTER_SITES= ftp://current.FreeBSD.org/pub/FreeBSD/%SUBDIR%/
|
||||
.if ${ARCH} == i386
|
||||
MASTER_SITE_SUBDIR= snapshots/${ARCH}/${PORTVERSION}-20010618-CURRENT/${PORTNAME}
|
||||
COMPAT4X_DISTFILES= ${PORTNAME}.aa \
|
||||
${PORTNAME}.ab \
|
||||
${PORTNAME}.ac \
|
||||
${PORTNAME}.ad
|
||||
.elif ${ARCH} == alpha
|
||||
MASTER_SITE_SUBDIR= snapshots/${ARCH}/${PORTVERSION}-20010721-CURRENT/${PORTNAME}
|
||||
COMPAT4X_DISTFILES= ${PORTNAME}.aa \
|
||||
${PORTNAME}.ab \
|
||||
${PORTNAME}.ac \
|
||||
${PORTNAME}.ad \
|
||||
${PORTNAME}.ae
|
||||
.endif
|
||||
PLIST_SUB= CURRENT_ONLY:=""
|
||||
.else
|
||||
COMPAT4X_PORTVERSION= 4.3
|
||||
COMPAT4X_MASTER_SITES= ${MASTER_SITE_FREEBSD_ORG}
|
||||
MASTER_SITE_SUBDIR= releases/${ARCH}/${PORTVERSION}-RELEASE/${PORTNAME}
|
||||
COMPAT4X_DISTFILES= ${PORTNAME}.aa \
|
||||
${PORTNAME}.ab
|
||||
PLIST_SUB= CURRENT_ONLY:="@comment "
|
||||
.endif
|
||||
|
||||
do-extract:
|
||||
${MKDIR} ${WRKDIR}
|
||||
cd ${_DISTDIR} && ${CAT} ${DISTFILES} | ${TAR} -xzf - -C ${WRKDIR}
|
||||
.if ${OSVERSION} >= 500000
|
||||
${MV} ${WRKSRC}/libc_r.so.4 ${WRKSRC}/libc_r.so.4.compat4x
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/* ${TARGET_DIR}/
|
||||
.if ${OSVERSION} >= 500000
|
||||
${LN} -sf ${TARGET_DIR}/libc_r.so.4.compat4x ${TARGET_DIR}/libc_r.so.4
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
13
misc/compat4x/distinfo
Normal file
13
misc/compat4x/distinfo
Normal file
|
@ -0,0 +1,13 @@
|
|||
MD5 (alpha/4.3/compat4x.aa) = 0b08beae12dc0c5208c29b6ee68d914d
|
||||
MD5 (alpha/4.3/compat4x.ab) = 3e99d2e35c9705dbedef096ed12fe7b3
|
||||
MD5 (alpha/5.0/compat4x.aa) = 5c052f279d18b7a2d68ef9eb5b1f1505
|
||||
MD5 (alpha/5.0/compat4x.ab) = a86f387a12a0dba266b1eecdd2fd91eb
|
||||
MD5 (alpha/5.0/compat4x.ac) = 9cc91bf7f1a9d255f575ab538c3a15b4
|
||||
MD5 (alpha/5.0/compat4x.ad) = eb2681b993cc8829e1e947f00f5a5394
|
||||
MD5 (alpha/5.0/compat4x.ae) = 0df08287196d13eef071ec6ff12a3768
|
||||
MD5 (i386/4.3/compat4x.aa) = 8087f85456553dbc90b35b5b7a9895ed
|
||||
MD5 (i386/4.3/compat4x.ab) = a25bf5d6a9ddf9ae42e9a68385860661
|
||||
MD5 (i386/5.0/compat4x.aa) = 5ee249c0b58886e35738f3a3ea0c4efd
|
||||
MD5 (i386/5.0/compat4x.ab) = ddf578a4b8ca91fb5adf44ad09c37032
|
||||
MD5 (i386/5.0/compat4x.ac) = 524b995bc36f70fef378d29db0294118
|
||||
MD5 (i386/5.0/compat4x.ad) = b32e9498ceec34c2100332e35d5bd61f
|
1
misc/compat4x/pkg-comment
Normal file
1
misc/compat4x/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
A convenience package to install the compat4x libraries
|
2
misc/compat4x/pkg-descr
Normal file
2
misc/compat4x/pkg-descr
Normal file
|
@ -0,0 +1,2 @@
|
|||
This package allows you to install the compat4x libraries on your
|
||||
system, so you can use legacy binaries that depend on them.
|
6
misc/compat4x/pkg-plist
Normal file
6
misc/compat4x/pkg-plist
Normal file
|
@ -0,0 +1,6 @@
|
|||
%%CURRENT_ONLY:%%lib/compat/libc.so.4
|
||||
%%CURRENT_ONLY:%%@unexec if [ -e %B/libc_r.so.4.compat3x ]; then ln -sf %B/libc_r.so.4.compat3x %B/libc_r.so.4; else rm %B/libc_r.so.4; fi
|
||||
%%CURRENT_ONLY:%%lib/compat/libc_r.so.4.compat4x
|
||||
%%CURRENT_ONLY:%%@exec ln -sf %B/%f %B/libc_r.so.4
|
||||
lib/compat/libcrypto.so.1
|
||||
lib/compat/libssl.so.1
|
Loading…
Reference in a new issue