diff options
Diffstat (limited to 'misc/compat5x')
-rw-r--r-- | misc/compat5x/Makefile | 79 | ||||
-rw-r--r-- | misc/compat5x/distinfo | 8 | ||||
-rw-r--r-- | misc/compat5x/pkg-descr | 11 | ||||
-rw-r--r-- | misc/compat5x/pkg-plist | 209 |
4 files changed, 307 insertions, 0 deletions
diff --git a/misc/compat5x/Makefile b/misc/compat5x/Makefile new file mode 100644 index 000000000000..775a659da425 --- /dev/null +++ b/misc/compat5x/Makefile @@ -0,0 +1,79 @@ +# New ports collection makefile for: compat5x libraries +# Date created: 19 Aug 2005 +# Whom: hrs, lesi +# +# $FreeBSD$ +# + +PORTNAME= compat5x +PORTVERSION= 5.4.0.6 +CATEGORIES= misc +MASTER_SITES= ${MASTER_SITE_LOCAL} \ + http://agrajag.ijs.si/tinderbox/stuff/compat5/ +MASTER_SITE_SUBDIR=lesi/compat5x +PKGNAMESUFFIX= -${ARCH} +DISTNAME= ${PORTNAME}-${ARCH}-${PORTVERSION} + +MAINTAINER= ports@FreeBSD.org +COMMENT= A convenience package to install the compat5x libraries + +ONLY_FOR_ARCHS= alpha amd64 i386 sparc64 +USE_BZIP2= yes +NO_MTREE= yes +WRKSRC= ${WRKDIR}/${PORTNAME} +INSTALLS_SHLIB= yes +LDCONFIG_DIRS= %%PREFIX%%/lib/compat +TARGET_DIR= ${PREFIX}/lib/compat +TARGET32_DIR= ${PREFIX}/lib32/compat +RCSCRIPT= ${WRKDIR}/000.compat5x.sh + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 600000 +IGNORE= is for FreeBSD 6.x and newer +.endif + +.if ${OSVERSION} >= 600016 +RUN_DEPENDS= ${LOCALBASE}/share/compat/locale/UTF-8/LC_CTYPE:${PORTSDIR}/misc/localedata +.endif + +.if ${ARCH} == alpha +PLIST_SUB+= ALPHA="" +.else +PLIST_SUB+= ALPHA="@comment " +.endif +.if ${ARCH} == amd64 +PLIST_SUB+= AMD64="" +PLIST_SUB+= LDCONFIG_LIB32="${LDCONFIG} -32" +.else +PLIST_SUB+= AMD64="@comment " +.endif +.if ${ARCH} == i386 +PLIST_SUB+= I386="" +.else +PLIST_SUB+= I386="@comment " +.endif +.if ${ARCH} == sparc64 +PLIST_SUB+= SPARC64="" +.else +PLIST_SUB+= SPARC64="@comment " +.endif + +do-build: + ${ECHO_CMD} '#!/bin/sh' > ${RCSCRIPT} + ${ECHO_CMD} '${LDCONFIG} -m ${LDCONFIG_RUNLIST}' >> ${RCSCRIPT} +.if ${ARCH} == amd64 + ${ECHO_CMD} '${LDCONFIG} -32 -m ${TARGET32_DIR}' >> ${RCSCRIPT} +.endif + +do-install: + ${MKDIR} ${TARGET_DIR} + (cd ${WRKSRC} && ${INSTALL_DATA} *.so.* ${TARGET_DIR}) +.if ${ARCH} == amd64 + ${MKDIR} ${TARGET32_DIR} + (cd ${WRKSRC}/lib32 && ${INSTALL_DATA} *.so.* ${TARGET32_DIR}) + ${LDCONFIG} -32 -m ${TARGET32_DIR} +.endif + ${INSTALL_SCRIPT} ${RCSCRIPT} ${PREFIX}/etc/rc.d/ + +.include <bsd.port.post.mk> diff --git a/misc/compat5x/distinfo b/misc/compat5x/distinfo new file mode 100644 index 000000000000..384be4ce2064 --- /dev/null +++ b/misc/compat5x/distinfo @@ -0,0 +1,8 @@ +MD5 (compat5x-alpha-5.4.0.6.tar.bz2) = 1866fd02d3344a97d5869f627a3f1f35 +SIZE (compat5x-alpha-5.4.0.6.tar.bz2) = 3270233 +MD5 (compat5x-amd64-5.4.0.6.tar.bz2) = 719cb8f74b26651229ba336e99761dbd +SIZE (compat5x-amd64-5.4.0.6.tar.bz2) = 5866121 +MD5 (compat5x-i386-5.4.0.6.tar.bz2) = a0829570f2f1609392e0dc2341d41c5a +SIZE (compat5x-i386-5.4.0.6.tar.bz2) = 2715673 +MD5 (compat5x-sparc64-5.4.0.6.tar.bz2) = 58066163a7fd2665ce2942c9c15792b4 +SIZE (compat5x-sparc64-5.4.0.6.tar.bz2) = 2786448 diff --git a/misc/compat5x/pkg-descr b/misc/compat5x/pkg-descr new file mode 100644 index 000000000000..33f03eeb7e76 --- /dev/null +++ b/misc/compat5x/pkg-descr @@ -0,0 +1,11 @@ +This package allows you to install the compat5x libraries on your +system, so you can use legacy binaries that depend on them. + +Usage example: + + .include <bsd.port.pre.mk> + + .if ${OSVERSION} >= 600000 + LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x + .endif + diff --git a/misc/compat5x/pkg-plist b/misc/compat5x/pkg-plist new file mode 100644 index 000000000000..6f39965b312b --- /dev/null +++ b/misc/compat5x/pkg-plist @@ -0,0 +1,209 @@ +etc/rc.d/000.compat5x.sh +lib/compat/libalias.so.4 +lib/compat/libarchive.so.1 +lib/compat/libasn1.so.7 +lib/compat/libatm.so.2 +lib/compat/libbegemot.so.1 +lib/compat/libbluetooth.so.1 +lib/compat/libbsdxml.so.1 +lib/compat/libbsnmp.so.2 +lib/compat/libbz2.so.1 +lib/compat/libc.so.5 +lib/compat/libc_r.so.5 +lib/compat/libcalendar.so.2 +lib/compat/libcam.so.2 +lib/compat/libcom_err.so.2 +lib/compat/libcrypt.so.2 +lib/compat/libcrypto.so.3 +lib/compat/libdevinfo.so.2 +lib/compat/libdevstat.so.4 +lib/compat/libdialog.so.4 +lib/compat/libedit.so.4 +lib/compat/libfetch.so.3 +lib/compat/libform.so.2 +lib/compat/libftpio.so.5 +lib/compat/libg2c.so.1 +lib/compat/libgeom.so.2 +lib/compat/libgnuregex.so.2 +lib/compat/libgpib.so.0 +lib/compat/libgssapi.so.7 +lib/compat/libhdb.so.7 +lib/compat/libhistory.so.5 +%%ALPHA%%lib/compat/libio.so.1 +lib/compat/libipsec.so.1 +lib/compat/libipx.so.2 +lib/compat/libkadm5clnt.so.7 +lib/compat/libkadm5srv.so.7 +lib/compat/libkafs5.so.7 +lib/compat/libkiconv.so.1 +lib/compat/libkrb5.so.7 +%%ALPHA%%lib/compat/libkse.so.1 +%%SPARC64%%lib/compat/libkse.so.1 +lib/compat/libkvm.so.2 +lib/compat/liblwres.so.3 +lib/compat/libm.so.3 +lib/compat/libmagic.so.1 +lib/compat/libmd.so.2 +lib/compat/libmenu.so.2 +lib/compat/libmilter.so.2 +lib/compat/libmp.so.4 +%%AMD64%%lib/compat/libncp.so.1 +%%I386%%lib/compat/libncp.so.1 +lib/compat/libncurses.so.5 +lib/compat/libnetgraph.so.1 +lib/compat/libngatm.so.1 +%%AMD64%%lib/compat/libobjc.so.1 +lib/compat/libopie.so.3 +lib/compat/libpam.so.2 +lib/compat/libpanel.so.2 +lib/compat/libpcap.so.3 +%%AMD64%%lib/compat/libpthread.so.1 +%%I386%%lib/compat/libpthread.so.1 +lib/compat/libradius.so.1 +lib/compat/libreadline.so.5 +lib/compat/libroken.so.7 +lib/compat/librpcsvc.so.2 +lib/compat/libsbuf.so.2 +lib/compat/libsdp.so.1 +%%AMD64%%lib/compat/libsmb.so.1 +%%I386%%lib/compat/libsmb.so.1 +lib/compat/libssh.so.2 +lib/compat/libssl.so.3 +lib/compat/libstdc++.so.4 +lib/compat/libtacplus.so.1 +lib/compat/libthr.so.1 +lib/compat/libthread_db.so.1 +lib/compat/libufs.so.2 +lib/compat/libugidfw.so.1 +lib/compat/libusbhid.so.1 +lib/compat/libutil.so.4 +%%I386%%lib/compat/libvgl.so.3 +lib/compat/libwrap.so.3 +lib/compat/libxpg4.so.3 +lib/compat/libypclnt.so.1 +lib/compat/libz.so.2 +lib/compat/pam_chroot.so.2 +lib/compat/pam_deny.so.2 +lib/compat/pam_echo.so.2 +lib/compat/pam_exec.so.2 +lib/compat/pam_ftpusers.so.2 +lib/compat/pam_group.so.2 +lib/compat/pam_guest.so.2 +lib/compat/pam_krb5.so.2 +lib/compat/pam_ksu.so.2 +lib/compat/pam_lastlog.so.2 +lib/compat/pam_login_access.so.2 +lib/compat/pam_nologin.so.2 +lib/compat/pam_opie.so.2 +lib/compat/pam_opieaccess.so.2 +lib/compat/pam_passwdqc.so.2 +lib/compat/pam_permit.so.2 +lib/compat/pam_radius.so.2 +lib/compat/pam_rhosts.so.2 +lib/compat/pam_rootok.so.2 +lib/compat/pam_securetty.so.2 +lib/compat/pam_self.so.2 +lib/compat/pam_ssh.so.2 +lib/compat/pam_tacplus.so.2 +lib/compat/pam_unix.so.2 +lib/compat/snmp_atm.so.2 +lib/compat/snmp_mibII.so.2 +lib/compat/snmp_netgraph.so.2 +%%AMD64%%lib32/compat/libalias.so.4 +%%AMD64%%lib32/compat/libarchive.so.1 +%%AMD64%%lib32/compat/libatm.so.2 +%%AMD64%%lib32/compat/libbegemot.so.1 +%%AMD64%%lib32/compat/libbluetooth.so.1 +%%AMD64%%lib32/compat/libbsdxml.so.1 +%%AMD64%%lib32/compat/libbsnmp.so.2 +%%AMD64%%lib32/compat/libbz2.so.1 +%%AMD64%%lib32/compat/libc.so.5 +%%AMD64%%lib32/compat/libc_r.so.5 +%%AMD64%%lib32/compat/libcalendar.so.2 +%%AMD64%%lib32/compat/libcam.so.2 +%%AMD64%%lib32/compat/libcom_err.so.2 +%%AMD64%%lib32/compat/libcrypt.so.2 +%%AMD64%%lib32/compat/libcrypto.so.3 +%%AMD64%%lib32/compat/libdevinfo.so.2 +%%AMD64%%lib32/compat/libdevstat.so.4 +%%AMD64%%lib32/compat/libdialog.so.4 +%%AMD64%%lib32/compat/libedit.so.4 +%%AMD64%%lib32/compat/libfetch.so.3 +%%AMD64%%lib32/compat/libform.so.2 +%%AMD64%%lib32/compat/libftpio.so.5 +%%AMD64%%lib32/compat/libg2c.so.1 +%%AMD64%%lib32/compat/libgeom.so.2 +%%AMD64%%lib32/compat/libgnuregex.so.2 +%%AMD64%%lib32/compat/libgpib.so.0 +%%AMD64%%lib32/compat/libhistory.so.5 +%%AMD64%%lib32/compat/libipsec.so.1 +%%AMD64%%lib32/compat/libipx.so.2 +%%AMD64%%lib32/compat/libkiconv.so.1 +%%AMD64%%lib32/compat/libkvm.so.2 +%%AMD64%%lib32/compat/libm.so.3 +%%AMD64%%lib32/compat/libmagic.so.1 +%%AMD64%%lib32/compat/libmd.so.2 +%%AMD64%%lib32/compat/libmenu.so.2 +%%AMD64%%lib32/compat/libmilter.so.2 +%%AMD64%%lib32/compat/libmp.so.4 +%%AMD64%%lib32/compat/libncp.so.1 +%%AMD64%%lib32/compat/libncurses.so.5 +%%AMD64%%lib32/compat/libnetgraph.so.1 +%%AMD64%%lib32/compat/libngatm.so.1 +%%AMD64%%lib32/compat/libopie.so.3 +%%AMD64%%lib32/compat/libpam.so.2 +%%AMD64%%lib32/compat/libpanel.so.2 +%%AMD64%%lib32/compat/libpcap.so.3 +%%AMD64%%lib32/compat/libpthread.so.1 +%%AMD64%%lib32/compat/libradius.so.1 +%%AMD64%%lib32/compat/libreadline.so.5 +%%AMD64%%lib32/compat/librpcsvc.so.2 +%%AMD64%%lib32/compat/libsbuf.so.2 +%%AMD64%%lib32/compat/libsdp.so.1 +%%AMD64%%lib32/compat/libsmb.so.1 +%%AMD64%%lib32/compat/libssh.so.2 +%%AMD64%%lib32/compat/libssl.so.3 +%%AMD64%%lib32/compat/libstdc++.so.4 +%%AMD64%%lib32/compat/libtacplus.so.1 +%%AMD64%%lib32/compat/libthr.so.1 +%%AMD64%%lib32/compat/libthread_db.so.1 +%%AMD64%%lib32/compat/libufs.so.2 +%%AMD64%%lib32/compat/libugidfw.so.1 +%%AMD64%%lib32/compat/libusbhid.so.1 +%%AMD64%%lib32/compat/libutil.so.4 +%%AMD64%%lib32/compat/libvgl.so.3 +%%AMD64%%lib32/compat/libwrap.so.3 +%%AMD64%%lib32/compat/libxpg4.so.3 +%%AMD64%%lib32/compat/libypclnt.so.1 +%%AMD64%%lib32/compat/libz.so.2 +%%AMD64%%lib32/compat/pam_chroot.so.2 +%%AMD64%%lib32/compat/pam_deny.so.2 +%%AMD64%%lib32/compat/pam_echo.so.2 +%%AMD64%%lib32/compat/pam_exec.so.2 +%%AMD64%%lib32/compat/pam_ftpusers.so.2 +%%AMD64%%lib32/compat/pam_group.so.2 +%%AMD64%%lib32/compat/pam_guest.so.2 +%%AMD64%%lib32/compat/pam_krb5.so.2 +%%AMD64%%lib32/compat/pam_ksu.so.2 +%%AMD64%%lib32/compat/pam_lastlog.so.2 +%%AMD64%%lib32/compat/pam_login_access.so.2 +%%AMD64%%lib32/compat/pam_nologin.so.2 +%%AMD64%%lib32/compat/pam_opie.so.2 +%%AMD64%%lib32/compat/pam_opieaccess.so.2 +%%AMD64%%lib32/compat/pam_passwdqc.so.2 +%%AMD64%%lib32/compat/pam_permit.so.2 +%%AMD64%%lib32/compat/pam_radius.so.2 +%%AMD64%%lib32/compat/pam_rhosts.so.2 +%%AMD64%%lib32/compat/pam_rootok.so.2 +%%AMD64%%lib32/compat/pam_securetty.so.2 +%%AMD64%%lib32/compat/pam_self.so.2 +%%AMD64%%lib32/compat/pam_ssh.so.2 +%%AMD64%%lib32/compat/pam_tacplus.so.2 +%%AMD64%%lib32/compat/pam_unix.so.2 +%%AMD64%%lib32/compat/snmp_atm.so.2 +%%AMD64%%lib32/compat/snmp_mibII.so.2 +%%AMD64%%lib32/compat/snmp_netgraph.so.2 +%%AMD64%%@exec %%LDCONFIG_LIB32%% -m %D/lib32/compat +%%AMD64%%@unexec rmdir %D/lib32/compat 2>/dev/null || true +%%AMD64%%@unexec rmdir %D/lib32 2>/dev/null || true +@unexec rmdir %D/lib/compat 2>/dev/null || true |