Commit graph

36 commits

Author SHA1 Message Date
Boris Samorodov
8bdc187997 Remove /compat/linux/media from linux_base ports since the native
FreeBSD /media can not be accessed by a linux application.

PR:		ports/138169
Submitted by:	Martin Laabs <info at martinlaabs.de>
2009-09-08 09:16:28 +00:00
Boris Samorodov
b9b4aec7e0 In preparation for adding new linux (Fedora 8) infrastructure ports all linux
base ports were unified. Now it's linux_base-fc4 turn: devel/linux-glib2
is incorporated.

Changes:

* emulation/linux_base-fc4:
  . devel/linux-glib2 is incorporated;
  . CONFLICTS is fixed;
  . PORTREVISION is bumped;

* removed *_DEPENDS upon devel/linux-glib2 and PORTREVISION bumped:
  . accessibility/linux-atk;
  . astro/google-earth;
  . audio/linux-openal;
  . graphics/linux-XnViewMP;
  . www/linux-mplayer-plugin;
  . x11-toolkits/linux-gtk2;
  . x11-toolkits/linux-pango;

* devel/linux-glib2:
  . CONFLICTS is fixed;
  . DEPRECATED;
  . EXPIRATION_DATE is set;

Note: this should fix a bug for non-default linux base ports when glib2
      files were installed both by a linux base and by linux-glib2 ports.
2009-01-21 16:17:47 +00:00
Hiroki Sato
cf46a4a7a3 Fix dependency broken due to acroread7 removal. 2008-10-05 02:49:27 +00:00
Andrew Pantyukhin
bf204c8540 - Force ln 2008-04-27 22:08:25 +00:00
Boris Samorodov
ddfd9a7a56 1. Create a hard link since a soft link happened to be insufficient [1]
(got deleted at the next ldconfig call).
2. Now it may be placed at the Makefile.
3. Bump PORTREVISION.

Reported by:	netchild  [1]
Suggested by:	netchild  [1]
2008-04-20 17:27:10 +00:00
Boris Samorodov
e53decf138 1. Add a symlink from /compat/linux/lib/librt.so.1 to
/compat/linux/usr/lib/librt.so.1. This bug exists only
   at linux_base-fc4 _and_ osrelease=2.4.2.
2. Bump PORTREVISION.

Note: The symlink is created at pkg-install script since the first
run of '/compat/linux/sbin/ldconfig -r /compat/linux' seems to remove
the link.

Tijl Coosemans <tijl at ulyssis.org>:
-----
This is not really a bug of linux compat, but is because of the
following:

1. opening /path/to/somefile under linux compat first tries
   /compat/linux/path/to/somefile then /path/to/somefile.
2. linux binaries have two search paths for librt.so.1:
   /lib and /usr/lib.
3. fc4 has a librt.so.1 in /lib but it is rejected under 2.4.2
   emulation.
4. fc4 does not have a librt.so.1 under /usr/lib so when the runtime
   linker tries this search path it ends up opening FreeBSD
   /usr/lib/librt.so.1 (because of point 1) and fails.

By adding a softlink in /compat/linux/usr/lib to the librt.so.1 in
/compat/linux/lib, the linker doesn't open the FreeBSD librt.so.1
anymore. Instead, under 2.4.2, it rejects this lib and then tries an
internal search path /lib/obsolete/linuxthreads where it finds the
correct version. Under 2.6.16 the softlink doesn't change anything,
so imho this is something the fc4 port/package should deal with.
-----

PR:		121494
Submitted by:	Jason Bacon <jwbacon at tds.net>
Convinced by:	Tijl Coosemans <tijl at ulyssis.org>
Patched by:	bsam (me)
2008-04-19 20:51:13 +00:00
Boris Samorodov
fbe6ec3647 . add CONFLICTS;
. add a script LINUXBASE/usr/bin/lp to allow some programs (e.g. Acrobat
  Reader) to print with default settings, MF-f8;
. deal (add and remove when necessary) with some share empty directories;
. bump PORTREVISION.
2008-04-10 07:34:34 +00:00
Alexander Leidinger
012ce80112 Don't set PLIST, the default is ok.
This fixes a problem with a forced install.

Reported by:	Anatoly Borodin <anatoly.borodin@gmail.com>
2008-03-31 03:54:46 +00:00
David E. O'Brien
06f40c36b7 Catch up the conflicts with addition of Fedora Core 6.
Also set LATEST_LINK so 'pkg_add -r linux_base' works.
2007-12-19 20:19:54 +00:00
Alexander Leidinger
e412cf2f91 Remove rpm, as we don't provide a compelete linux system (use linux_dist
if you need one). rpm2cpio(.pl)+port (it's easy, there are several examples
in the ports tree) is the FreeBSD way.

Note, rpm didn't work anyway because of missing libs, so no feature is lost
with this patch.

Non working rpm noticed by:	Anders Lindquist <andersl@KTH.SE>
XXX:				fc6 needs a similar fix
2007-06-23 20:03:07 +00:00
Boris Samorodov
1ef62492cc Polish pkg-descr and pkg-message:
. add comments and warnings about problems with chroot into the linux base;  [1]
. delete a note about linux port for alpha;  [1]
. add an advice to use linux_dist ports for cross-development;  [1]
. fix the link linux-XFree86-libs -> linux-xorg-libs.

Submitted by:	netchild (at freebsd-emulation@)  [1]
2007-03-17 19:42:09 +00:00
Kris Kennaway
a01439c2ca Retire NO_FILTER_SHLIBS now that it no longer serves a purpose 2007-01-30 04:25:35 +00:00
Boris Samorodov
9aa07987fc Revert back previous commit of removing deleted ports from
CONFLICTS variable. Give happy users just another chance to
update their systems.

Pointed out by:		infofarmer, kris
2006-10-05 18:53:43 +00:00
Boris Samorodov
5a361c630f Remove deleted linux_base-* and linux_locale* ports from CONFLICTS variable
of the remaining linux ports.

Reviewed by:	netchild (agreed in principle)
2006-10-05 15:32:10 +00:00
Boris Samorodov
9d5df5aa49 - brandelf -t Linux /compat/linux/lib/ld-2.3.6.so (ld-linux.so.2),
we don't brand linux libraries, but it's more an executable then a library;
- bump PORTREVISION.

Suggested by:	netchild
Discussed at:	freebsd-emulation
2006-09-16 21:17:06 +00:00
Boris Samorodov
0e1bc14541 o update compat-db package to the latest (4.2.52-3.fc4)
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)
2006-08-18 17:02:38 +00:00
Alexander Leidinger
4ea05a2cba Upstream name change from compat-db-4.2.52-2.FC4.i386.rpm to
compat-db-4.2.52-2.i386.rpm.

Noticed by:	"Alex Pivovarov" <apivovarov@gmail.com>
2006-08-14 16:55:36 +00:00
Jose Alonso Cardenas Marquez
181e760a0e - Integrate linux-krb5-libs and linux-e2fsprogs to linux_base-fc4
Reviewed by:	bsam
Approved by:	netchild, garga (mentor)
2006-08-12 07:00:35 +00:00
Boris Samorodov
110fdaf7b5 Fix using "portupgrade -s" with this port:
o  chmod u+w ${WRKSRC}/usr/bin/*db4* (before brandelf)
o  reverse permittions after branding.

PR:		ports/100039
Submitted by:	Stefan Sperling <freebsd-gnats@stsp.in-berlin.de>
Approved by:	netchild (mentor, implicit)
2006-07-10 22:48:01 +00:00
Boris Samorodov
7ecfed784d Prepare for linux infrostructure ports transition from FC3 to FC4:
o  move dealing with linux locale files (creating empty ones) for
   other linux ports to linux_base-fc4;
o  remove all empty directories creation from pkg-plist to pkg-install
   (which is executed when installing from ports tree and thus not only
   installing from a package will create empty directories);
o  substitute all @dirrmtry by @dirrm -- from package building point
   of view this package (linux_base) should be removed after all other
   linux ports. (approved in principle by mentor)

Approved by:	netchild (mentor, implicit)
2006-07-09 20:50:07 +00:00
Boris Samorodov
b2bb1603ea The upgrading of linux infrostructure ports from FC3 to FC4 is coming
soon:

o  some empty linux mtree directories (which will be used by some other
   ports) are added;
o  PORTREVISION is bumpted.

Approved by:	netchild (mentor, implicit)
2006-07-07 08:44:33 +00:00
Boris Samorodov
123c461867 o unbreak i386-6-exp build of graphics/linux-sdl_image: remove [1]
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)
2006-07-02 13:10:05 +00:00
Jean-Yves Lefort
67e732852b linux-libgcc is gone. 2006-06-29 00:14:45 +00:00
Boris Samorodov
43278d3264 o fix pkg-plist at linux_base-fc4 to unbrake pointyhat building
of x11-toolkits/linux-gtk ;-)
o  update x11-toolkits/linux-gtk to a newer version (FC3 -> FC4)
o  bump PORTREVISION for both ports

Pointed out by:	pointyhat
Approved by:	netchild (mentor, implicit)
2006-06-27 12:35:33 +00:00
Boris Samorodov
28a999f1bc First do "brandelf -t Linux" at WRKSRC and then do install. This
makes impossible to shoot oneself to the foot if PREFIX is set to
/usr/local.

Reported by:	consumidor <consumidor@mundinho.com.br> at emulation@ ML
Approved by:	netchild (mentor)
2006-06-23 17:07:39 +00:00
Boris Samorodov
660e9fecfa Use USE_LINUX_PREFIX instead of PREFIX?= ${LINUXBASE} and NO_MTREE.
PR:		99320
Submitted by:	gabor
Approved by:	netchild (mentor)
2006-06-23 12:23:47 +00:00
Ion-Mihai Tetcu
0800f8702d - Fix DEPENDS.
- Bump PORTREVISION

Submitted by:	Adi Pircalabu <apircalabu@bitdefender.com>,
		Boris Samorodov <bsam@ipt.ru>
2006-06-20 13:45:27 +00:00
Alexander Leidinger
0b156f660d Register conflicts with korean/linux_local. 2006-06-10 13:35:52 +00:00
Alexander Leidinger
5f0b0e48c9 - finish repo copy from fc3 to fc4 by updating to fc4 and connecting to
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
2006-06-02 20:50:32 +00:00
Alexander Leidinger
a3aadc8699 Only extract the binary RPM's, not the source ones.
Submitted by:	Boris Samorodov <bsam@ipt.ru>
2006-05-14 15:44:11 +00:00
Alexander Leidinger
c978e82008 Fix the distinfo (missing SRPMS).
Noticed by:	pointyhat (krismail)
2006-05-13 15:49:40 +00:00
Alexander Leidinger
9657b6671f - add conflict with linux-libgcc
- 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
2006-05-07 12:11:48 +00:00
Alexander Leidinger
063b460795 Change the path in the distinfo too.
Noticed by:	mezz
Pointyhat to:	netchild
2006-05-01 09:16:14 +00:00
Alexander Leidinger
94c1947267 Use the same DIST_SUBDIR like the bsd.linux-rpm.mk does.
People which already tested this port should do a
	cd /usr/ports/distfiles/rpm/i386
	mv Fedora/3/* fedora/3/
	rm -rf Fedora
before upgrading the port (which isn't necessary).

Noticed by:	Boris Samorodov <bsam@ipt.ru>
2006-04-30 22:26:05 +00:00
Alexander Leidinger
65d4f0910c - Add selinux and pcre, this makes ls and grep work. [1]
- Convert the post-extract to a do-build, it makes more sense this way.

PR:		95158 [1]
Submitted by:	intron@intron.ac [1]
2006-04-02 15:15:30 +00:00
Alexander Leidinger
affb190b16 The port is intended to become the new default linux_base port (replaces
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)
2006-03-18 19:07:04 +00:00