and PLIST for Linux ports. LINUX_RPM_ARCH is the CPU targetted by a
package and LINUX_REPO_ARCH is like our ARCH which is more suitable. This
only affects Centos 6 ports because they are the only ones where
LINUX_REPO_ARCH != LINUX_RPM_ARCH.
Add linux_base-c6 port. This is a linux_base port based upon CentOS 6.
CentOS 6 is supported upstream (so far) until November 30, 2020.
Compared to the port as submitted in the PR, I added most SRC_DISTFILES
and set the maintainer to emulation@ (discussed with the submitter).
Not connected to the ports collection (emulation/Makefile) yet, first I want
to find the missing src RPMs (compat-*, stdc++, ...). The port is committed
anyway, so that people can help with the TODO list (in the Makefile).
WARNING: it is highly experimental to use this port instead of the default
linux_base port. You need to set compat.linux.osrelease to 2.6.18, so watch
out for unimplemented syscalls (most recent 8-stable / 9-stable or -current
is recommended for this).
Submitted by: Svyatoslav Lempert <svyatoslav.lempert@gmail.com>
PR: 165900
Those ports are intended to be used with 8-CURRENT at least
with SVN r192206.
If you want to switch to linux-f10 ports, please define at /etc/make.conf:
OVERRIDE_LINUX_BASE_PORT=f10
OVERRIDE_LINUX_NONBASE_PORTS=f10
An upgrading procedure is shown at /usr/ports/UPDATING, entries 20090401
and 20070327.
For the first time all tested linux ports work as expected(!):
. acroread8;
. google-earth;
. skype;
. seamonkey.
Many thanks for kernel folks who really did the main work
(and I wrote only some lines of ports).
There is a good chance that those ports may become a default
for 8.0-RELEASE. Please, test and report back to emulation@ ML.
. chase some new package versions;
. add a package with a missing library presented at previous linux_base [1]
ports (libcom_err);
. bump PORTREVISION.
Reported at: emulation@ [1]
- Use SRPMS on MASTER_SITES just when PACKAGE_BUILDING is set [1]
- Bump PORTREVISION [1]
- Update src distfile as well
- Change pkg-plist file
PR: 110977 [1]
Submitted by: garga [1]
port may be used only with 7-CURRENT and compat.linux.osrelease=2.6.16.
To use/test the port (along with linux FC4 infrastructure ports) you
should do:
0. Backup all your vital information!
1. Remove the current linux base port.
2. Add to your /etc/make.conf "OVERRIDE_LINUX_BASE_PORT=fc6".
3. Make sure no linux application is running.
4. Set apropriate sysctl (compat.linux.osrelease=2.6.16).
5. Install emulation/linux_base-fc6.
5a. Those who use linux ports with automatic plist building should
apply the following patch:
ftp://mail.ipt.ru/pub/FreeBSD/patches/bsd.linux-rpm.mk-autoplist.diff
That should be enough at most circumstances. If you have difficulties,
please be sure to expand item 1 to:
1a. Remove all ports which depends on linux base port.
1b. Remove linux base port.
1c. Clean /compat/linux/ directory.
In case you want to get rid of the port, deinstall it, then return
back compat.linux.osrelease to 2.4.2 (as usual make sure that no
linux application is running) and remove from /etc/make.conf the line
containing the OVERRIDE_LINUX_BASE_PORT variable.
All questions, reports, suggestions etc. please route to
freebsd-emulation@.
Fedora Core 6 ports (FC6 infrastructure ports) are coming soon... ;-)
This port would not appear without netchild's help.
Thank you, Alexander!
available for FC4, changes:
libdb_cxx-4.1.so and libdb_cxx-4.2.so are added;
o bump PORTREVISION;
o some polishing: sort DISTFILES by name and same changes to distinfo.
Approved by: netchild (mentor, implicit)
LINUX_BASE/usr/doc dealing from devel/linux-sdl12
to emulators/linux_base-fc4 -- this directory belongs to the
linux mtree;
o bump PORTREVISION for both ports;
o update emulators/linux_base-fc4 distribution to info-4.8-8.fc4.2
(previous one is not fetchable now).
Reported by: linimon [1]
Approved by: netchild (mentor, implicit)
the build
- don't provide a var/log directory -> use the native one [1]
Submitted by: Boris Samorodov <bsam@ipt.ru>
Suggested by: netchild [1]
Repocopy by: marcus
- update bash, glibc, libgcc, libselinux, pcre, slang, termcap and zlib
- add SRPM of libgcc (gcc SRPM itself)
- parametize the glibc version number in the plist
- reword some parts in pkg-*install
the current linux_base-8 port).
You should only switch to this port if you know what you are doing.
You may or may not have problems with installing other linux related
ports after switching to it. Success or failure reports welcome.
To switch:
- echo "OVERRIDE_LINUX_BASE_PORT=fc3" >> /etc/make.conf
- portupgrade -fo emulators/linux_base-fc3 linux_base-8
News and changes (from submitter with some small changes by me):
- based on linux_base-8 port;
- don't use linux rpm binary to install. The whole source tree is
created at ${WRKDIR} and then installed (using cpio);
- removes some files and directories (etc/passwd, etc/group,
usr/local, ...) to ensure using FreeBSD original files;
- introduces etc/nsswitch.conf.dist and etc/yp.conf.sample files,
uses correct install/deinstall behaviour with etc/nsswitch.conf
and etc/yp.conf files;
- doesn't do [u]mounting while install/deinstall process.
Thus it is possible to use jails while building packages.
But since linprocfs is not automounted, special measures should be
taken at package building for those ports which need a mounted
linprocfs (i.e. for linux JDK building);
- uses linux ldconfig in the pkg-install file (as opposed to using in
the Makefile). It is needed when upgrading (i.e. when other linux
libraries are present in the system) and when installing by packages.
Submitted by: Boris Samorodov <bsam@ipt.ru> (some small changes by me)