1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
Commit Graph

31 Commits

Author SHA1 Message Date
Boris Samorodov
0052aa04b9 ${ECHO} -> ${ECHO_CMD}
Suggested by:	rafan
2007-04-11 12:10:19 +00:00
Boris Samorodov
34cba55d3c *** ATTENTION *** DANGER *** EXPERIMENTAL PORT *** YOU HAVE BEEN WARNED ***
1. Add a check if linuxulator is (kld)loaded. IGNORE otherwise.

Before this commit the port compared compat.linux.osrelease with 2.4.2
and was IGNOREd if those values are equal. In case linuxulator
is *not* loaded, the port proceeded to install, to load linuxulator and
to use... compat.linux.osrelease=2.4.2!

The port as is doesn't proceed (without linuxulator loaded or
if compat.linux.osrelease is equal to 2.4.2) even for "make fetch".
Imho that's OK, because it won't let automated tasks to load
unneccessary distros, while a human administrator should know
what to do by hand. ;-)

BTW, I'm not sure but may be it'a be a good idea to use IGNORE
if (FreeBSD) OSVERSION < (say) 700037...

2. Apply the same tests for packages.

3. Bump PORTREVISION.

Enjoy. ;-)
2007-04-11 11:42:34 +00:00
Boris Samorodov
20b11fde63 Get rid of annoying message when do a "make index" at the system without
linuxolator started:
-----
sysctl: unknown oid 'compat.linux.osrelease'
-----

Reported by:	netchild, rafan, chinsan
Suggested by:	rafan
2007-04-10 18:29:39 +00:00
Boris Samorodov
5c009dd5ad - Update elfutils-libelf to 0.126 [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]
2007-03-28 21:12:31 +00:00
Boris Samorodov
ff30f4ff7a ATTENTION! The port is experimental for now. Use it at your own risk. This
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!
2007-03-27 20:04:44 +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