diff options
author | knu <knu@FreeBSD.org> | 2001-08-13 12:32:06 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-08-13 12:32:06 +0800 |
commit | 47db13251b4fcc80b43c1029cd82e5976c1446fb (patch) | |
tree | 22e10367f68cf4077c45ec48e2eaa92de433706d /misc | |
parent | 716a0b77318ea05ae9670c170d11f9b12220c931 (diff) | |
download | freebsd-ports-gnome-47db13251b4fcc80b43c1029cd82e5976c1446fb.tar.gz freebsd-ports-gnome-47db13251b4fcc80b43c1029cd82e5976c1446fb.tar.zst freebsd-ports-gnome-47db13251b4fcc80b43c1029cd82e5976c1446fb.zip |
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
Diffstat (limited to 'misc')
-rw-r--r-- | misc/Makefile | 3 | ||||
-rw-r--r-- | misc/compat22/Makefile | 46 | ||||
-rw-r--r-- | misc/compat22/distinfo | 5 | ||||
-rw-r--r-- | misc/compat22/pkg-comment | 1 | ||||
-rw-r--r-- | misc/compat22/pkg-descr | 2 | ||||
-rw-r--r-- | misc/compat22/pkg-plist | 37 | ||||
-rw-r--r-- | misc/compat3x/Makefile | 48 | ||||
-rw-r--r-- | misc/compat3x/distinfo | 6 | ||||
-rw-r--r-- | misc/compat3x/pkg-comment | 1 | ||||
-rw-r--r-- | misc/compat3x/pkg-descr | 2 | ||||
-rw-r--r-- | misc/compat3x/pkg-plist | 24 | ||||
-rw-r--r-- | misc/compat4x/Makefile | 71 | ||||
-rw-r--r-- | misc/compat4x/distinfo | 13 | ||||
-rw-r--r-- | misc/compat4x/pkg-comment | 1 | ||||
-rw-r--r-- | misc/compat4x/pkg-descr | 2 | ||||
-rw-r--r-- | misc/compat4x/pkg-plist | 6 |
16 files changed, 268 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index 2fa7cee92cc4..58583f2c5eb1 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -32,6 +32,9 @@ SUBDIR += cmatrix SUBDIR += colorls SUBDIR += colortail + SUBDIR += compat22 + SUBDIR += compat3x + SUBDIR += compat4x SUBDIR += cpuid SUBDIR += crosspad SUBDIR += cstream diff --git a/misc/compat22/Makefile b/misc/compat22/Makefile new file mode 100644 index 000000000000..5c0a18d6dcf1 --- /dev/null +++ b/misc/compat22/Makefile @@ -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> diff --git a/misc/compat22/distinfo b/misc/compat22/distinfo new file mode 100644 index 000000000000..34582d2bcbaf --- /dev/null +++ b/misc/compat22/distinfo @@ -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 diff --git a/misc/compat22/pkg-comment b/misc/compat22/pkg-comment new file mode 100644 index 000000000000..ca29ba0badf0 --- /dev/null +++ b/misc/compat22/pkg-comment @@ -0,0 +1 @@ +A convenience package to install the compat22 libraries diff --git a/misc/compat22/pkg-descr b/misc/compat22/pkg-descr new file mode 100644 index 000000000000..41e3fd3fc7ec --- /dev/null +++ b/misc/compat22/pkg-descr @@ -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. diff --git a/misc/compat22/pkg-plist b/misc/compat22/pkg-plist new file mode 100644 index 000000000000..476cef90c76c --- /dev/null +++ b/misc/compat22/pkg-plist @@ -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 diff --git a/misc/compat3x/Makefile b/misc/compat3x/Makefile new file mode 100644 index 000000000000..3aae1f19c0fb --- /dev/null +++ b/misc/compat3x/Makefile @@ -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> diff --git a/misc/compat3x/distinfo b/misc/compat3x/distinfo new file mode 100644 index 000000000000..0d522a851f4e --- /dev/null +++ b/misc/compat3x/distinfo @@ -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 diff --git a/misc/compat3x/pkg-comment b/misc/compat3x/pkg-comment new file mode 100644 index 000000000000..6a65bd0be384 --- /dev/null +++ b/misc/compat3x/pkg-comment @@ -0,0 +1 @@ +A convenience package to install the compat3x libraries diff --git a/misc/compat3x/pkg-descr b/misc/compat3x/pkg-descr new file mode 100644 index 000000000000..e9fecf5361ab --- /dev/null +++ b/misc/compat3x/pkg-descr @@ -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. diff --git a/misc/compat3x/pkg-plist b/misc/compat3x/pkg-plist new file mode 100644 index 000000000000..b82a1d8bfd44 --- /dev/null +++ b/misc/compat3x/pkg-plist @@ -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 diff --git a/misc/compat4x/Makefile b/misc/compat4x/Makefile new file mode 100644 index 000000000000..a3cbe289b938 --- /dev/null +++ b/misc/compat4x/Makefile @@ -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> diff --git a/misc/compat4x/distinfo b/misc/compat4x/distinfo new file mode 100644 index 000000000000..b85c770f033d --- /dev/null +++ b/misc/compat4x/distinfo @@ -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 diff --git a/misc/compat4x/pkg-comment b/misc/compat4x/pkg-comment new file mode 100644 index 000000000000..829f29a62e1c --- /dev/null +++ b/misc/compat4x/pkg-comment @@ -0,0 +1 @@ +A convenience package to install the compat4x libraries diff --git a/misc/compat4x/pkg-descr b/misc/compat4x/pkg-descr new file mode 100644 index 000000000000..5f6826914af9 --- /dev/null +++ b/misc/compat4x/pkg-descr @@ -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. diff --git a/misc/compat4x/pkg-plist b/misc/compat4x/pkg-plist new file mode 100644 index 000000000000..e5f6e048bfef --- /dev/null +++ b/misc/compat4x/pkg-plist @@ -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 |