Commit graph

61 commits

Author SHA1 Message Date
joerg
f0bbd1517d Remove @dirrm entries from PLISTs 2009-06-14 18:13:25 +00:00
tnn
65fbe76c69 grub actually builds and runs fine on a NetBSD 5.x amd64 host, and knows
that it has to pass -m32 to gcc, so enable build for this platform.
2009-06-07 18:20:03 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
tnn
5c13124820 Fix more cases of non-chainable PKGSRC_COMPILER tests. 2008-02-08 10:34:19 +00:00
xtraeme
a001e88f30 Remove binutils dependency. Bump PKGREVISION.
ok joerg.
2007-10-07 18:00:55 +00:00
tron
e9fe55194e Fix build problems with GCC 4.x if netboot support is enabled.
Patches provided by Dieter Roelants in PR pkg/36549.
2007-06-25 13:05:56 +00:00
jmmv
6e6cc9680e Make it clear how to boot a Multiboot-enabled kernel. Per suggestion in
PR pkg/34936.  Bump PKGREVISION to 7.
2006-12-17 19:21:42 +00:00
bad
9fd8390500 stage2/pc_slice.h: add the missing disklabel FS_TYPE #defines and RF_PROTECTED_SECTORS.
stage2/disk_io.c: adjust the partition start and size by RF_PROTECTED sectors for partitions of type FS_RAID.
stage2/fsys_ffs.c: accept partitions of type FS_RAID as candidates for FFS, too.
stage2/fsys_ufs2.c: accept partitions of type FS_RAID as candidates for FFSv2, too.

This allows grub to directly boot from NetBSD RAID1 partitions the same way
as with the native bootloader.

Bump PKGREVISION.
2006-10-17 21:55:33 +00:00
jmmv
e5d646bb75 Appease two pkglint warnings. 2006-05-13 14:41:51 +00:00
joerg
e2b713b44c Disable ProPolice on DragonFly, it breaks the linkage of the standalone
modules.
2006-05-09 18:52:35 +00:00
rillig
9fc2d7d281 Removed the superfluous "quotes" and 'quotes' from variables that don't
need them, for example RESTRICTED and SUBST_MESSAGE.*.
2006-04-22 09:22:05 +00:00
jlam
90bc26e8c2 List info files directly in the PLIST and honor PKG{INFO,MAN}DIR. 2006-04-07 19:54:16 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
jmmv
4d1ccdc020 Workaround a bug that prevents GRUB to load ELF kernels that explicitly
specify load addresses in their Multiboot header.  (E.g., NetBSD.)

This has already been sent to GRUB's bug tracking system:

	http://savannah.gnu.org/bugs/?func=detailitem&item_id=15590

Bump PKGREVISION to 4.
2006-02-03 09:59:32 +00:00
jmmv
d971a332da Drop maintainership. I can't seriously be the maintainer of so many
packages - specially of packages that I haven't touched for a long
while or those that other people can handle better than me.
2006-01-20 16:15:52 +00:00
jlam
e1e278fb23 On NetBSD, recognize ld(4) disk devices attached to HW raid controllers,
e.g. aac(4), amr(4), twe(4), etc., so that we can install grub onto
them.  Bump PKGREVISION of sysutils/grub to 0.97nb3.
2005-11-12 06:35:24 +00:00
rillig
45b7809cd1 Restored the original RCS Id from reboot.h into patch-ad and enclosed it
by % instead of $. Fixes a pkglint warning about possible RCS tag.
2005-10-23 19:53:24 +00:00
jlam
db4bc3c3c2 There is some problem with compiling grub when using pkgsrc ncurses.
Grub will actually build using plain, old BSD curses, so no need to
actually pull in ncurses (unless curses is missing on your system).
This makes sysutils/grub build on NetBSD-3.0_BETA with PREFER_PKGSRC=yes.

Bump the PKGREVISION to 2.
2005-09-24 00:20:44 +00:00
jlam
3d319dfca8 Instead of trying to workaround the possible conflict between grub's
internal term.h and ncurses' term.h, just rename grub's to grubterm.h
and avoid the potential problems altogether.
2005-09-24 00:15:03 +00:00
jmmv
b490624d95 Apply patches to recognize boot options passed to NetBSD kernels.
Bump PKGREVISION to 1.  From Piotr Meyer in PR pkg/30834.

As GRUB 0.x is in maintenance-only status now, I assume there is no
chance to get them incorporated mainstream.  We'll keep them here
though, as they seem useful (could have really helped me in some
situations when needing to boot single user).
2005-08-21 15:08:46 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
xtraeme
e4b3d2c12e Update to 0.97.
Changes:

* Fix the prototypes and the definitions of nested functions. This was
  required for gcc-4.
* Implement a more robust workaround for buggy BIOSes which don't pass
  boot drive correctly (notably for HP Vectra).
2005-05-09 17:35:16 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
wiz
aff2367316 Update to 0.96:
New in 0.96 - 2005-01-30:
* The command "fallback" supports mutiple fallback entries.
* The command "savedefault" supports an optional argument which
  is the number of next boot entry or the special keyword `fallback'.
* New utility "grub-set-default".
* New section "Making your system robust" in the manual.
2005-02-19 10:23:13 +00:00
hubertf
d660ae7b3f Document things a bit better 2004-12-29 14:38:18 +00:00
hubertf
1f0c82217a Add example for menu.lst 2004-12-29 10:08:04 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
8d572feba3 Use the new BUILDLINK_TRANSFORM commands to more precisely state the
intended transformation: use "rm" to remove an option, "rmdir" to remove
all options containing a path starting with a given directory name, and
"rename" to rename options to something else.
2004-08-28 06:05:31 +00:00
recht
24e92e69b5 Fix PLIST for Linux by adding LOWER_VENDOR (which is empty for NetBSD).
Patch provided by pancake in PR pkg/26517
2004-08-02 16:47:40 +00:00
xtraeme
360c467eeb Update sysutils/grub to 0.95, and remove obsoleted options
GRUB_USE_UFS2/GRUB_USE_ISO9660, they are not longer needed.

New in 0.95 - 2004-06-13:

* Add support for ReiserFS 3.
* Fix support for FreeBSD 5.
* Support ATARAID for Linux in the grub shell and grub-install.
* Add CDROM support for El Torito with no emulation mode. You can use
  (cd) as a CDROM drive in the config file.
* Option --no-mem-option is implied for Linux 2.4.18 and newer.
* Add support for UFS2.
2004-06-20 20:57:17 +00:00
xtraeme
e1e5944f20 Rename GRUB_ISO9660 and GRUB_UFS2 to GRUB_USE_ISO9660 and GRUB_USE_UFS2
respectively, and document them in bsd.pkg.defaults.mk.
2004-05-02 20:04:36 +00:00
xtraeme
3028886e34 Add support for UFS2 from FreeBSD. Patch provided by FUKAUMI Naoki
in PR pkg/25434.
2004-05-02 17:00:14 +00:00
xtraeme
083802d3f5 Apply an optional patch for eltorito support, so you can boot grub
via a cdrom. It can be enabled with the option "GRUB_ISO9660" and
is disabled by default.
2004-04-26 15:42:44 +00:00
seb
293b8702b8 Remove info files entries from PLIST.
Add missing info file in INFO_FILES.
2004-03-10 01:25:23 +00:00
jmmv
43e0273d27 Update grub to 0.94:
* Support building on x86-64 with gcc -m32.
* Use a BIOS call to turn on/off Gate A20. This should solve various
  problems related to Gate A20 in modern BIOSes.
* Add a workaround for buggy BIOSes (notably HP Vectra series) which
  don't pass the boot drive correctly.
* Display "GNU GRUB" instead of "GRUB" in the menu.
* Add support for QNX RTP into the grub shell.
* Add support for the initrd max address of a kernel header in Linux.
* Support 32 bit and 64 bit dev_t.
* Add support for an install device in GRUB's notation with no
  parenthesis (e.g. grub-install hd0).
* Improve the manual a lot.

While here, add a new build definition, GRUB_PRESET_COMMAND, which can be
set to a single command that will be embedded in grub's stage2 and executed
during bootup (useful for automated diskless setups).  Also make use of
BUILD_DEFS properly.  And pick up maintainership, as requested by tron@.
2004-01-29 18:36:38 +00:00
mrauch
c33d2e9bbe Solve the problem with the missing memcpy differently
(Forward patch from the fix that finally went into grub's CVS)
The old way had problems finding disks and formatting curses output properly.
Fixes PR pkg/24214.
2004-01-24 16:36:03 +00:00
grant
60ad86155b replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 15:06:57 +00:00
mrauch
8d19c163a6 Fix compilation on -current (gcc3):
1) remove superfluous long in stage2/fsys_reiserfs.c (forward port from
   current version in grub CVS)
2) provide an explicit memcpy stub so the memcpy inserted by gcc3 as
   consequence of a pass-by-value can be linked against (patch from
   Joachim Kainz in grub bug report 3343)
2003-10-26 12:28:50 +00:00
jlam
a9f08159c4 Back out last change related to moving ncurses/buildlink2.mk to
curses.buildlink2.mk.  This was wrong because we _really_ do want to
express that we want _n_curses when we include the buildlink2.mk file.

We should have a better way to say that the NetBSD curses doesn't
quite work well enough.  In fact, it's far better to depend on ncurses
by default, and exceptionally note when it's okay to use NetBSD curses
for specific packages.  We will look into this again in the future.
2003-09-28 09:13:55 +00:00
grant
7a71199b50 move ncurses/buildlink2.mk to mk/curses.buildlink2.mk, as it provides
support for base system curses/ncurses as well as ncurses itself.

suggested by wiz.
2003-09-27 17:07:34 +00:00
seb
56b682547a USE_NEW_TEXINFO is unnecessary now. 2003-08-09 10:59:08 +00:00
seb
5b69ceb8f5 Info files need to be listed in INFO_FILES. 2003-07-20 16:48:53 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
wiz
bbdd3dd622 Fix grub-install problem reported in PR 22049 by Soren Jacobsen.
While here, convert to USE_NEW_TEXINFO, and make it compile.
[freestanding, but using nested functions; gcc emits __enable_exec_stack,
which lives in libgcc, but is not linked because the program is supposed
to be freestanding. Provide dummy __enable_exec_stack function.]
Bump PKGREVISION.
2003-07-13 17:35:04 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00
thorpej
d6c3cd26ba Replace uses of -fno-builtin with -ffreestanding. -ffreestanding also
implies -fno-builtin, but also conveys additional information ("not in
a hosted environment").

This is 1/2 of the fix for PR toolchain/19265.
2003-03-14 23:35:24 +00:00
jmmv
2fa17d5ffc Update grub to 0.93. Changes in this version:
* Define the behavior of the boot loader when the load end address is
  zero and the bss end address is zero in the Multiboot Specification.
  Also, add the support into GRUB.
* Finally, we have a Bug Tracking System! Now the preferable way to
  report bugs is to use the BTS rather than sending e-mail to bug-grub.
  See <http://bugcomm.enbug.org/?project=grub&mode=project>, for more
  details.
* The appendix "FAQ" in the manual is removed. See the GNU GRUB FAQ on
  the web <http://www.gnu.org/software/grub/grub-faq.html> instead.
* The terminal handling code is rewritten radically, and many bugfixes
  are made at the same time.
* The command "color" is effective even in the command-line.
* The command "terminal" takes two new options, ``--no-echo'' and
  ``--no-edit''. If you specify ``--no-echo'', GRUB won't echo back
  input characters. If you specify ``--no-edit'', GRUB will disable the
  BASH-like editing feature. These options are useful when using an
  intelligent terminal (such as the comint mode in GNU Emacs).
* The utility ``grub-md5-crypt'' prompts to retype a password and checks
  if the passwords match.
* Support for booting Linux is rewritten, so GRUB now supports
  large-EBDA systems.
* The menu interfaces supports Page Up, Page Down, and Right Key.
* New command "terminfo", for vt100-incompatible terminals.
* New options, ``-D'', ``-g'' and ``-m'' are supported for FreeBSD.
2003-01-24 23:49:54 +00:00
jlam
a020ed9056 Merge packages from the buildlink2 branch back into the main trunk that
have been converted to USE_BUILDLINK2.
2002-08-25 21:50:52 +00:00