diff options
author | garga <garga@FreeBSD.org> | 2012-09-11 04:56:53 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2012-09-11 04:56:53 +0800 |
commit | 6d4b6c7a35f72990813b2237238697a1ee27a29e (patch) | |
tree | 851cbeecaa4d69c828e3f2af8de68f21d465bfe2 /misc | |
parent | affb8d7a3e78f3b05d01d94016c2f1c83d64b304 (diff) | |
download | freebsd-ports-gnome-6d4b6c7a35f72990813b2237238697a1ee27a29e.tar.gz freebsd-ports-gnome-6d4b6c7a35f72990813b2237238697a1ee27a29e.tar.zst freebsd-ports-gnome-6d4b6c7a35f72990813b2237238697a1ee27a29e.zip |
Add compat9x after some people ask to it
Requested by: des@, obrien@
Diffstat (limited to 'misc')
-rw-r--r-- | misc/Makefile | 1 | ||||
-rw-r--r-- | misc/compat9x/Makefile | 49 | ||||
-rw-r--r-- | misc/compat9x/distinfo | 4 | ||||
-rw-r--r-- | misc/compat9x/pkg-descr | 12 | ||||
-rw-r--r-- | misc/compat9x/pkg-message | 9 | ||||
-rw-r--r-- | misc/compat9x/pkg-plist.amd64 | 35 | ||||
-rw-r--r-- | misc/compat9x/pkg-plist.i386 | 17 |
7 files changed, 127 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index d3b4061f99b1..03497373aee8 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -53,6 +53,7 @@ SUBDIR += compat6x SUBDIR += compat7x SUBDIR += compat8x + SUBDIR += compat9x SUBDIR += countrycodes SUBDIR += cpuid SUBDIR += crosspad diff --git a/misc/compat9x/Makefile b/misc/compat9x/Makefile new file mode 100644 index 000000000000..07b1897c1df9 --- /dev/null +++ b/misc/compat9x/Makefile @@ -0,0 +1,49 @@ +# New ports collection makefile for: compat9x +# Date created: 10 Sep 2012 +# Whom: garga +# +# $FreeBSD$ +# + +PORTNAME= compat9x +PORTVERSION= 9.0.900000.201209 +CATEGORIES= misc +MASTER_SITES= ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= garga/compat +PKGNAMESUFFIX= -${ARCH} +DISTNAME= ${PORTNAME}-${ARCH}-${PORTVERSION} + +MAINTAINER= garga@FreeBSD.org +COMMENT= A convenience package to install the compat8x libraries + +USE_BZIP2= yes +NO_BUILD= yes +ONLY_FOR_ARCHS= i386 amd64 +PLIST= ${PKGDIR}/pkg-plist.${ARCH} +TARGET_DIR= ${PREFIX}/lib/compat +TARGET32_DIR= ${PREFIX}/lib32/compat +USE_LDCONFIG= ${TARGET_DIR} + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 1000009 +IGNORE= is for FreeBSD 10.x and newer +.endif + +.if ${ARCH} == amd64 +PLIST_SUB+= LDCONFIG_LIB32="${LDCONFIG} -32" +USE_LDCONFIG32= ${TARGET32_DIR} +.endif + +do-install: + @${MKDIR} -m 0755 ${TARGET_DIR} + (cd ${WRKSRC}/lib && ${INSTALL_DATA} *.so.* ${TARGET_DIR}) +.if ${ARCH} == amd64 + @${MKDIR} ${TARGET32_DIR} + (cd ${WRKSRC}/lib32 && ${INSTALL_DATA} *.so.* ${TARGET32_DIR}) +.endif + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.post.mk> diff --git a/misc/compat9x/distinfo b/misc/compat9x/distinfo new file mode 100644 index 000000000000..65d5601ea4a7 --- /dev/null +++ b/misc/compat9x/distinfo @@ -0,0 +1,4 @@ +SHA256 (compat9x-amd64-9.0.900000.201209.tar.bz2) = 8ca958da1c8a23df03907a3062a4fe284bc6f7ee91a8bf49420a1e33585c3a68 +SIZE (compat9x-amd64-9.0.900000.201209.tar.bz2) = 2856059 +SHA256 (compat9x-i386-9.0.900000.201209.tar.bz2) = d0693438280c498709d77b4b6caed37956a98db5e37b54e3920f56fce163fce5 +SIZE (compat9x-i386-9.0.900000.201209.tar.bz2) = 1385185 diff --git a/misc/compat9x/pkg-descr b/misc/compat9x/pkg-descr new file mode 100644 index 000000000000..f8eabd6ee9c3 --- /dev/null +++ b/misc/compat9x/pkg-descr @@ -0,0 +1,12 @@ +This package allows you to install the compat9x libraries on your +system, so you can use legacy binaries that depend on them. + +Ports usage example: + +-- +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 1000009 +LIB_DEPENDS+= archive.5:${PORTSDIR}/misc/compat9x +.endif +-- diff --git a/misc/compat9x/pkg-message b/misc/compat9x/pkg-message new file mode 100644 index 000000000000..0f700d94f65e --- /dev/null +++ b/misc/compat9x/pkg-message @@ -0,0 +1,9 @@ +******************************************************************************* +* * +* Do not forget to add COMPAT_FREEBSD8 into * +* your kernel configuration (enabled by default). * +* * +* To configure and recompile your kernel see: * +* http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html * +* * +******************************************************************************* diff --git a/misc/compat9x/pkg-plist.amd64 b/misc/compat9x/pkg-plist.amd64 new file mode 100644 index 000000000000..4e195175793e --- /dev/null +++ b/misc/compat9x/pkg-plist.amd64 @@ -0,0 +1,35 @@ +lib/compat/libarchive.so.5 +lib/compat/libasn1.so.10 +lib/compat/libcrypto.so.6 +lib/compat/libftpio.so.8 +lib/compat/libhdb.so.10 +lib/compat/libheimntlm.so.10 +lib/compat/libhx509.so.10 +lib/compat/libkadm5clnt.so.10 +lib/compat/libkadm5srv.so.10 +lib/compat/libkafs5.so.10 +lib/compat/libkrb5.so.10 +lib/compat/libmd.so.5 +lib/compat/libodialog.so.7 +lib/compat/libroken.so.10 +lib/compat/libssl.so.6 +lib/compat/libusb.so.2 +lib32/compat/libarchive.so.5 +lib32/compat/libasn1.so.10 +lib32/compat/libcrypto.so.6 +lib32/compat/libftpio.so.8 +lib32/compat/libhdb.so.10 +lib32/compat/libheimntlm.so.10 +lib32/compat/libhx509.so.10 +lib32/compat/libkadm5clnt.so.10 +lib32/compat/libkadm5srv.so.10 +lib32/compat/libkafs5.so.10 +lib32/compat/libkrb5.so.10 +lib32/compat/libodialog.so.7 +lib32/compat/libroken.so.10 +lib32/compat/libssl.so.6 +lib32/compat/libusb.so.2 +@dirrmtry lib/compat +@dirrmtry lib32/compat +@dirrmtry lib32 +@exec %%LDCONFIG_LIB32%% -m %D/lib32/compat diff --git a/misc/compat9x/pkg-plist.i386 b/misc/compat9x/pkg-plist.i386 new file mode 100644 index 000000000000..aa3dba74a9a3 --- /dev/null +++ b/misc/compat9x/pkg-plist.i386 @@ -0,0 +1,17 @@ +lib/compat/libarchive.so.5 +lib/compat/libasn1.so.10 +lib/compat/libcrypto.so.6 +lib/compat/libftpio.so.8 +lib/compat/libhdb.so.10 +lib/compat/libheimntlm.so.10 +lib/compat/libhx509.so.10 +lib/compat/libkadm5clnt.so.10 +lib/compat/libkadm5srv.so.10 +lib/compat/libkafs5.so.10 +lib/compat/libkrb5.so.10 +lib/compat/libmd.so.5 +lib/compat/libodialog.so.7 +lib/compat/libroken.so.10 +lib/compat/libssl.so.6 +lib/compat/libusb.so.2 +@dirrmtry lib/compat |