This package provides the compat4x libraries for your
system, so you can use legacy binaries that depend on them.
Ports usage example:
--
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500000
LIB_DEPENDS+= c.4:misc/compat4x
.endif
--
Do not forget to add COMPAT_FREEBSD4 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
misc/compat4x: add dependency on compat5x
compat4x requires a bunch of libraries which have been removed in
FreeBSD 6 so present in compat5x:
- libncurses.so.5
- libmd.so.2
- libcryt.so.2
- libradius.so.1
- libssh.so.2
- libcrypto.so.3
- libtacplus.so.1
Fix file modes after extracting.
Some port's archives contains files modes that are a bit too restrictive
for some usage. For example:
BUILD_DEPENDS= ${NONEXISTENT}:foo/bar:configure
When building as a regular user, dependencies are installed/built as
root, so if the archive contains files that have a mode of, say, 600,
they will not be readable by the port requesting the dependency.
This will also fix broken distribution files where directories don't
have the executable bit on.
OSVERSION 1100077 is after base r283997:
Change directory permissions in pre-order.
In this order, it won't try to recurse into a directory for which it
doesn't have permission, before changing that permission.
This follows an existing behavior in other BSDs, linux, OS X.
PR: 213574
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight
MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
Cleanup unmaintained ports in the misc category:
- Single space for WWW in pkg-descr
- Ordering if of items in Makefile
- Trim headers
- Comment should not begin with leading article
- Pet portlint
- Fix a minor typo in misc/compat4x port's Makefile:
it says "in unsupported" instead of "is unsupported".
PR: 129087
Submitted by: Pankov Pavel <pankov_p@mail.ru>
- Correctly fix schg flag and make clean problem. It is ${WRKDIR}/var/empty
that has the flag set and that directory is not under ${WRKSRC}
PR: ports/114878
Submitted by: Scot Hetzel <swhetzel at gmail.com
- Remove schg flags before 'make clean', otherwise we can not remove
WRKSRC/var/empty. This only happens on 7.x.
PR: ports/112899
Submitted by: Lars Engels <lars.engels at 0x20.net>
- Use misc/ldconfig_compat on 4.x and rc.d/ldconfig in {5,6}x, this change fix
rc.d script starting too late. With this, ldconfig run automaticaly on
startup and doesn't need add compat{4,5}x_enable in rc.conf.
No objection: freebsd-rc, portmgr
Avoid clobbering ${ARCH} variable for amd64 which resulted in this port
being unfechable as a dependency of another port. Introduce instead
COMPAT4X_ARCH which is the same as ARCH except on amd64 where it is "i386"
and replace relevant occurances of ARCH with it.
This also unbreaks ".if ${ARCH} == amd64" comparison that comes after ARCH
was modified to "i386" before.
While here, avoid installing ldconfig/compat4x for amd64 which only needs
ldconfig32/compat4x.
Unfetchability hinted at by: pointyhat via kris
Make use of the ldconfig_local_dirs mechanism just committed to
7-CURRENT.
flz has plans to develop the USE_LDCONFIG code in bsd.port.mk,
but this will serve as a POC for now.
- Rename the startup script ${PORTNAME}.sh to 000.${PORTNAME}.sh to
prevent non-rcNG scripts from being invoked before it.
- Bump PORTREVISION.
PR: conf/91444
Make the boot scripts REQUIRE: ldconfig so that just in case
the script gets ordered prior to ldconfig, that script won't
blow away the work done by this one.
Regenerate with the -BETA7 version of the alpha compat4x distribution,
not the random earlier version I previously used (which doesn't have
the newly-bumped libraries). Only affects alpha.
Submitted by: kensmith
Update this port for FreeBSD 5.3. The new libraries are taken from
the compat4x distribution of 5.3-BETA7 (based in turn upon libraries
from 4.10), hosted in MASTER_SITE_LOCAL since that beta will soon
disappear from the ftp site.
Approved by: portmgr
- Update to latest available versions from FreeBSD 4.9-RELEASE/5.2.1-RELEASE.
- Collapse PLISTs to one PLIST per FreeBSD version.
Submitted by: Marius Strobl <marius@alchemy.franken.de>
Update to the latest library set and unmark FORBIDDEN excpet:
- On 5-CURRENT/alpha: still FORBIDDEN because no updated libc/libc_r
is available yet.
- By default, OpenSSL libraries are not installed because they are
known to be vulnerable. (cf. FreeBSD-SA-02:33.openssl) They are
installed only when FORCE_VULNERABLE_OPENSSL is defined, although
in that case the port is marked FORBIDDEN. So, one must specify
-DFORCE_VULNERABLE_OPENSSL -DNO_IGNORE to install this port with
vulnerable OpenSSL libraries.
Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command; the ECHO
macro is set to "echo" by default, but it is set to "true" if make(1) is
invoked with the -s option while ECHO_CMD is always set to the echo command.
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.