Commit graph

19 commits

Author SHA1 Message Date
jlam
081c0f8957 Allow a nicer syntax for expressing needing at least a certain version
of an emulated operating system.  Instead of proliferating things like
SUSE_VERSION_REQD, NETBSD_VERSION_REQD, SOLARIS_VERSION_REQD, etc., a
package can say:

	EMUL_REQD=	suse>=9.1 netbsd>=2.0 solaris>=10

all in one, succinct line.
2007-08-23 18:20:30 +00:00
jlam
bbb12274db Add 32-bit versions of SuSE Linux 9.1 and 10.0 for use by NetBSD/x86_64
with COMPAT_LINUX32.
2007-07-29 08:55:22 +00:00
jlam
33f30156fb * Add new emulator framework in pkgsrc/mk/emulator that handles all
binary-only packages that require binary "emulation" on the native
  operating system.  Please see pkgsrc/mk/emulator/README for more
  details.

* Teach the plist framework to automatically use any existing
  PLIST.${EMUL_PLATFORM} as part of the default PLIST_SRC definition.

* Convert all of the binary-only packages in pkgsrc to use the
  emulator framework.  Most of them have been tested to install and
  deinstall correctly.  This involves the following cleanup actions:

    * Remove use of custom PLIST code and use PLIST.${EMUL_PLATFORM}
      more consistently.

    * Simplify packages by using default INSTALL and DEINSTALL scripts
      instead of custom INSTALL/DEINSTALL code.

    * Remove "SUSE_COMPAT32" and "PKG_OPTIONS.suse" from pkgsrc.
      Packages only need to state exactly which emulations they support,
      and the framework handles any i386-on-x86_64 or sparc-on-sparc64
      uses.

    * Remove "USE_NATIVE_LINUX" from pkgsrc.  The framework will
      automatically detect when the package is installing on Linux.

  Specific changes to packages include:

    * Bump the PKGREVISIONs for all of the suse100* and suse91* packages
      due to changes in the +INSTALL/+DEINSTALL scripts used in all
      of the packages.

    * Remove pkgsrc/emulators/suse_linux, which is unused by any
      packages.

    * cad/lc -- remove custom code to create the distinfo file for
	all supported platforms; just use "emul-fetch" and "emul-distinfo"
	instead.

    * lang/Cg-compiler -- install the shared libraries under ${EMULDIR}
	instead of ${PREFIX}/lib so that compiled programs will find
	the shared libraries.

    * mail/thunderbird-bin-nightly -- update to latest binary
	distributions for supported platforms.

    * multimedia/ns-flash -- update Linux version to 9.0.48 as the
	older version is no longer available for interactive fetch.

    * security/uvscan -- set LD_LIBRARY_PATH explicitly so that
	it's not necessary to install library symlinks into
	${EMULDIR}/usr/local/lib.

    * www/firefox-bin-flash -- update Linux version to 9.0.48 as the
	older version is no longer available for interactive fetch.
2007-07-29 05:18:36 +00:00
joerg
16d11e2f4b SuSE 9.1 is discontinued, directory layout changed to reflect that. 2007-01-23 16:54:59 +00:00
jlam
5e59ad964f Cleanup fallout from {DE,}INSTALL_SRC removal: rewrite the INSTALL
script to be of the format expected by the pkginstall framework.
Also, split out the important text from the INSTALL script and put it
into a MESSAGE file.

Also, remove the unused show-shlib-type target.
2006-06-19 23:24:21 +00:00
joerg
e0042a950b Add a mechanism to extend the rpm file list of suse9.1 packages.
Use it to include the shared library symlinks in suse91_x11,
they have been created and removed by ldconfig before. Bump revision.
2006-04-28 09:08:32 +00:00
joerg
1f6a39a84e First step at reworking Linux binary packages.
Change most pkgs to depend on either
emulators/suse_linux/Makefile.application (normal pkgs) or
Makefile.common (suse91 and suse themselves) to filter out Operating
Systems without Linux ABI support. Use CPU masks to limit the pkg to
supported platforms.
2005-12-12 14:43:23 +00:00
jdolecek
0493cadead put definition of SUSE_VERSION and SUSE_DIR_PREFIX into separate file
vars.mk
2005-04-03 21:23:15 +00:00
jdolecek
2c7d1ff176 Add .cz mirror 2005-04-02 20:15:41 +00:00
jdolecek
7f22189e2b put identical URI parts in MASTER_SITE_SUSE91 into variables, so it's
easier to add mirrors
2005-04-02 20:09:29 +00:00
tv
531481b0b7 Add one site west of the Atlantic Ocean.
Interleave sites so that something in the secondary RPM subdir won't go
scan all of the primary subdirs before falling through to the correct place.
2005-02-09 20:25:13 +00:00
jdolecek
88801ca62c Remove the warning message - SuSE 9.1 packages work fine on NetBSD 2.0+ 2005-01-29 09:11:36 +00:00
rh
2df8a08dc5 Let packages override RPM2PKGARGS. 2004-11-20 12:44:22 +00:00
markd
5e10ca2f5e Allow stripping 0 leading directories from path names in rpm's. rpm2pkg
complains about "-s 0" so don't pass the argument at all in that case.
2004-11-10 09:04:08 +00:00
wiz
0c6aa6adc8 Ignore return value from grep; somehow this broke suse91_compat installation
on 2.0_BETA/i386 for me.
2004-11-08 12:41:08 +00:00
jlam
17c3aafac1 * Make PKGSRC_TOPDIR a private variable by renaming it to _PKGSRC_TOPDIR,
as it's only used internally by bsd.prefs.mk.

* Make _PKGSRCDIR a public variable by renaming it to PKGSRCDIR.
  Also, generate its value from ${_PKGSRC_TOPDIR} so it's less fragile
  than the old method of stripping off the last two components of
  ${.CURDIR}.  PKGSRCDIR may now be used after bsd.prefs.mk is defined.

* Change all references to _PKGSRCDIR to PKGSRCDIR.
2004-10-07 02:01:37 +00:00
jdolecek
4c981c268d append the RPM update URLs to MASTER_SITE_SUSE91, for updated versions
of SuSE RPMs
2004-08-07 13:05:03 +00:00
tron
332eda1e0a Print out a warning about the state of these packages under NetBSD. 2004-07-13 10:40:59 +00:00
tron
c4c7c20050 Initial import of SuSE Linux 9.1 based packages for Linux emulation.
Warning:
NetBSD's Linux emulation does *not* work stable with these packages.
2004-07-13 10:31:13 +00:00