Commit graph

33 commits

Author SHA1 Message Date
jlam
f9c510a18e Only invoke MAKEDEV to create devices if that script exists (which
doesn't on FreeBSD-6.x).

This fixes PR pkg/34817 and PR pkg/36081.
2007-08-23 21:50:23 +00:00
jlam
6823cfc2d6 Replace for @LINUX_BASE@ in linux{,32}-mkpwd. This only affected the
documentation at the head of the script, so I'm not going to bother
bumping the PKGREVISION for this.
2007-07-30 22:01:11 +00:00
jlam
0ddffec677 Add definition for DIRNAME to the INSTALL scripts, which is needed when
creating the /emul/linux symlink on a system where /emul doesn't exist.
Problem noted by <wiz> in private email.

Bump the PKGREVISIONs of suse100_base and suse91_base (and also the
corresponding suse32 packages by implication).
2007-07-30 14:42:43 +00:00
jlam
692a80baeb Assume that the +ROOT_ACTIONS script is always executed from the
current working directory.  This should fix problems installing the
suse*_base and suse*_vmware packages as a privileged user.

When this package is installed as a privileged user, the +ROOT_ACTIONS
script is executed from ${WRKDIR}/.pkginstall before the package
metadata directory exists.
2007-07-30 00:01:05 +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
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
rillig
00f10af666 Added practically all files to CHECK_INTERPRETER_SKIP. No one seems to
use them, and they are programmed with only Linux in mind anyway, so
fixing the interpreter might not even make them fully workable.
2006-10-11 19:12:52 +00:00
joerg
fbb7b745c9 Ensure that Linux ldd has the full path to bash without assuming
that /emul == /usr/pkg/emul. On DragonFly and FreeBSD, it is called
/compat and that broke the shared library check. Bump revisions of
suse100_base and suse91_base.
2006-09-19 19:58:46 +00:00
jlam
0d5ac9d041 Fix a typo in the INSTALL script that caused the emul/foo symlink to not
be created.  Bump the PKGREVISION.
2006-06-23 15:48:50 +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
jlam
daad0f3d6c Modify the pkginstall framework so that it manages all aspects of
INSTALL/DEINSTALL script creation within pkgsrc.

If an INSTALL or DEINSTALL script is found in the package directory,
it is automatically used as a template for the pkginstall-generated
scripts.  If instead, they should be used simply as the full scripts,
then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC
explicitly, e.g.:

	INSTALL_SRC=	${PKGDIR}/INSTALL
	DEINSTALL_SRC=	# emtpy

As part of the restructuring of the pkginstall framework internals,
we now *always* generate temporary INSTALL or DEINSTALL scripts.  By
comparing these temporary scripts with minimal INSTALL/DEINSTALL
scripts formed from only the base templates, we determine whether or
not the INSTALL/DEINSTALL scripts are actually needed by the package
(see the generate-install-scripts target in bsd.pkginstall.mk).

In addition, more variables in the framework have been made private.
The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are
more sensible names given the very few exported variables in this
framework.  The only public variables relating to the templates are:

	INSTALL_SRC		INSTALL_TEMPLATE
	DEINSTALL_SRC		DEINSTALL_TEMPLATE
				HEADER_TEMPLATE

The packages in pkgsrc have been modified to reflect the changes in
the pkginstall framework.
2006-03-14 01:14:26 +00:00
wiz
411dc8c32b Work around CHECK_FILES problems with this package.
tron@ ok.
2006-03-01 22:59:45 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +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
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
salo
fc4ed81601 Sync SuSE 9.1 packages with latest updates. 2005-11-06 14:52:43 +00:00
dmcmahill
22d865d388 Instead of creating links from ${EMULDIR}/dev to /dev for things like
/dev/null, create them with MAKEDEV.  This avoids ugly problem with
realpath and readlink in linux binaries that try to fully resolve where
/dev/null lives.  Bump PKGREVISION to 7.
2005-08-16 00:30:41 +00:00
wiz
bb660ffa0b Update zlib rpm for two security fixes. Bump PKGREVISION. 2005-08-05 22:40:24 +00:00
wiz
f1a8ff4f46 Fix typo in ONLY_FOR_PLATFORM. 2005-08-05 22:28:12 +00:00
kristerw
4be14378c4 The Linux support for NetBSD/amd64 has not been pulled up in the
netbsd-3 branch, so limit this package to 3.99 or newer.
2005-07-20 15:32:50 +00:00
kristerw
843dd18511 Do not include files that don't exist. 2005-07-09 00:06:11 +00:00
tron
239fdd0d70 Add support for NetBSD-amd64. Based on patches supplied by Nicolas Joly
in PR pkg/30582.
2005-06-25 10:47:56 +00:00
jlam
81edaaa606 Create directories before installing files into them. 2005-06-16 06:57:37 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
tron
75b1c2c976 Add more files and directories in "etc" to the blacklist to avoid strange
behavior of e.g. Netscape 7. Based on a suggestion by Mark Davies in
private e-mail. Bump package revision because of this change.
2005-03-23 10:41:44 +00:00
tron
051902159d Remove outdated entries from "RPMIGNOREPATH" and add some new ones to
prevent the installation of certain configuration files like e.g.
"nsswitch.conf" which might conflict with files in the host system. This
should fix the problems with running OpenOffice on NetBSD systems using
NIS as reported by Jan Schaumann in PR pkg/29025. Bump package revision
because of the above change.
2005-03-17 16:08:59 +00:00
agc
459a5bb28d Add RMD160 digests to the SHA1 ones 2005-02-23 18:49:17 +00:00
wiz
dd640ca459 Fix PLIST for binary packages. 2004-11-05 14:23:53 +00:00
wiz
3d7215c60f Make ${EMULDIR}/etc/mtab point to ${EMULDIR}/proc/mounts, to make
df work at least if procfs -o linux is mount in ${EMULDIR}/proc.
Add and remove proc dir.
Bump PKGREVISION to 3.
2004-10-02 01:26:19 +00:00
wiz
a18b78d2a1 Add libacl, libattr, and libselinux, so that ls and mkdir have all
their library dependencies. Bump PKGREVISION to 2.
2004-08-30 00:00:25 +00:00
wiz
e3cd47101f Bump PKGREVISION for additional distfile. 2004-07-23 15:17:06 +00:00
erh
146410cb42 Add the package that contains libgcc_s.so. 2004-07-23 15:00:35 +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