Commit graph

92 commits

Author SHA1 Message Date
wiz
5c11268df7 Remove some more *LEGACY* settings that are over a month old and
thus were before 2005Q3.
2005-10-05 13:29:49 +00:00
jlam
5b62763c63 Teach the +SHELLS helper script to not create an /etc/shells file if
one doesn't exist.  From now on, we only add the listed PKG_SHELL to
the /etc/shells file if it already exists.  This fixes PR pkg/27162.
2005-09-20 04:23:48 +00:00
jlam
9813468816 * Separate out the shell registration into a separately unpacked script
+SHELL.

* Turn PKG_REGISTER_SHELLS into a variable that can be set in the shell
  environment so that admins can make a choice when installing from
  binary packages.

* PKG_SHELL is now a list of paths, and if the path is relative, then it
  is taken to be relative to ${PREFIX}.  Convert packages that set
  PKG_SHELL to take advantage of this new feature by changing the full
  paths to the shells into relative paths.
2005-07-29 18:32:17 +00:00
minskim
8f8ee8e871 Use devel/readline instead of the included readline library. Bump
PKGREVISION due to the added dependency.

While here, set BUILDLINK_DEPMETHOD of dependent libraries to "build"
when the "static" option is enabled.

Approved by the maintainer (wiz@).
2005-07-01 16:11:05 +00:00
dillo
f81ae835ad Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a
user settable variable.  Set PKG_SUGGESTED_OPTIONS instead.  Also,
make use of PKG_OPTIONS_LEGACY_VARS.

Reviewed by wiz.
2005-05-31 10:01:36 +00:00
rillig
f795c2e475 Removed trailing white-space. 2005-05-23 08:26:03 +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
tv
16b2341486 PKGREVISION bump for previous (since a binpkg already exists for the
afflicted platform).
2004-11-29 12:42:41 +00:00
tv
417ea3fbe2 Add glob workaround from <hiramatu@boreas.dti.ne.jp> in PR pkg/25908. 2004-11-29 12:41:54 +00:00
minskim
7580e8706e Append options to PKG_DEFAULT_OPTIONS instead of ${PKG_OPTIONS_VER},
following the semantic change of PKG_DEFAULT_OPTIONS.
2004-10-23 08:10:40 +00:00
minskim
222d88df55 Convert to use bsd.options.mk and add a new option, multibyte, to
enable/disable multibyte support.  Ok'ed by wiz@.
2004-10-22 23:54:22 +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
9d5426ff76 Change the way that legacy USE_* and FOO_USE_* options are converted
into the bsd.options.mk framework.  Instead of appending to
${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS.  This causes
the default options to be the union of PKG_DEFAULT_OPTIONS and any
old USE_* and FOO_USE_* settings.

This fixes PR pkg/26590.
2004-08-22 19:32:51 +00:00
minskim
2840e4feab Convert bash2 to use bsd.options.mk. 2004-08-07 21:03:59 +00:00
salo
0ac98a26de Add {BA,Z}SH_STATIC to BUILD_DEFS.
Addresses request on tech-pkg@ by Georg Schwarz.
2004-07-11 01:23:29 +00:00
minskim
51a394a206 Disable multibyte support only when wctype_t is not available. The
previous patches disabled it on NetBSD unconditionally.  Bump PKGREVISION.

Pointed out by Kibum Han.  Thanks to junyoung@ for testing.

OK'ed by schmonz@ and wiz@.
2004-06-22 14:05:39 +00:00
jschauma
24482317ee The Makefile for builtins is not using CFLAGS, but we do need CFLAGS
(for example under IRIX64 using gcc, where it otherwise will produce
32bit object files).  Patch that.
2004-05-17 22:29:30 +00:00
jschauma
7cb38bc887 On some systems (for example IRIX 5.3 with the IDO compilers), none of the
#ifdefs after this label leads to any code, so insert a no-op, just in case.

Based on emails from Georg Schwarz to wiz, also noted in
http://mail.gnu.org/archive/html/bug-bash/2003-04/msg00002.html.
2004-05-12 20:56:14 +00:00
jlam
49b57e1360 bl3ify 2004-01-05 12:36:41 +00:00
cjep
ba97a289fb whitespace nit 2003-07-26 15:21:58 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00
wiz
fbfbf9d3ea Take maintainership. 2003-06-30 08:59:03 +00:00
uebayasi
943f8baec1 Update to 2.05b.2.7. Pull in 3 official patches.
[bash205b-005]
When in a locale with multibyte characters, the readline display updater
will occasionally cause a segmentation fault when attempting to compute
the length of the first multibyte character on the line.

[bash205b-006]
When running in a locale with multibyte characters, the readline display
updater will use carriage returns when drawing the line, overwriting any
partial output already on the screen and not terminated by a newline.

[bash205b-007]
Using the vi editing mode's case-changing commands in a locale with
multibyte characters will cause garbage characters to be inserted into
the editing buffer.

Besides, export Bash's "test" target to Pkgsrc.  Type "make test" to try
this.

XXX The MAINTAINER should be taken by someone really using this.
2003-06-30 08:35:57 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
wiz
4a6d1b2168 Bump PKGREVISION for addition of official patches. 2003-03-14 15:21:09 +00:00
toshii
622ab741cd Add four official patches found in the master site. Fixes pkg/20673. 2003-03-14 14:40:36 +00:00
wiz
3fc687738b Note conflict with static version. Closes PR 20010 by Ryo HAYASAKA. 2003-02-14 18:59:19 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
jlam
c3eb9a3255 These packages are no longer needed to bootstrap buildlink2. Simplify the
building of these packages by using buildlink2.
2002-12-22 19:04:07 +00:00
drochner
45b8efe0b5 fix a fix: "#define HANDLE_MULTIBYTE 0" doesn't work as expected if
it is tested for by "#if defined"...
2002-12-17 14:45:12 +00:00
jlam
a2586d1f9a Whitespace. 2002-11-26 10:00:35 +00:00
jlam
2bab70be16 Only add "-lintl" to LIBS if libintl.* is found in the library path. This
addresses PR 18885 by Jeremy Reed <reed@reedmedia.net>.
2002-11-26 09:39:10 +00:00
schmonz
01fd684ef5 Disable multibyte support on NetBSD to fix compile error. 2002-11-25 05:39:33 +00:00
schmonz
41ed48c435 Update to 2.05b, and fix MASTER_SITES. Lots of changes since 2.05.
Here are some of them, excerpted from NEWS:

- New code to handle multibyte characters.
- `select' was changed to be more ksh-compatible
- There is now a bindable edit-and-execute-command readline command,
    like the vi-mode `v' command, bound to C-xC-e in emacs mode.
- The shell now performs arithmetic in the largest integer size the
    machine supports (intmax_t), instead of long.
- There is a new configuration option `--enable-mem-scramble', controls
    bash malloc behavior of writing garbage characters into memory at
    allocation and free time.
- The `complete' and `compgen' builtins now have a new `-s/-A service'
    option to complete on names from /etc/services.
- `read' has a new `-u fd' option to read from a specified file descriptor.
- The expansion of $LINENO inside a shell function is only relative to the
    function start if the shell is interactive -- if the shell is running a
    script, $LINENO expands to the line number in the script.  This is as
    POSIX-2001 requires.
- The bash debugger in examples/bashdb has been modified to work with the
    new DEBUG trap semantics, the command set has been made more gdb-like,
    and the changes to $LINENO make debugging functions work better.  Code
    from Gary Vaughan.
- New [n]<&word- and [n]>&word- redirections from ksh93 -- move fds (dup
    and close).
- The `echo' builtin now accepts \0xxx (zero to three octal digits following
    the `0') in addition to \xxx (one to three octal digits) for SUSv3/XPG6/
    POSIX.1-2001 compliance.
- Added support for DESTDIR installation root prefix, so you can do a
    `make install DESTDIR=bash-root' and do easier binary packaging.
- New `-A group/-g' option to complete and compgen; does group name
    completion.
- The ksh-like `ERR' trap has been added.  The `ERR' trap will be run
    whenever the shell would have exited if the -e option were enabled.
    It is not inherited by shell functions.
- configure has a new `--enable-largefile' option, like other GNU utilities.
- `for' loops now allow empty word lists after `in', like the latest POSIX
    drafts require.
- The builtin `ulimit' now takes two new non-numeric arguments:  `hard',
    meaning the current hard limit, and `soft', meaning the current soft
    limit, in addition to `unlimited'

Also, there is a "New unwind-protect implementation from Paul
Eggert", which I believe obviates the need for two sparc64-related
patches.
2002-11-25 04:18:47 +00:00
jlam
81a8137163 Check that the gettext headers and libraries exist before symlinking them. 2002-11-20 08:38:16 +00:00
salo
80f17bf2ba Convert packages to PKG_REGISTER_SHELLS framework. 2002-11-17 09:01:59 +00:00
jlam
e60226c7e0 Install the bash documentation in a separate package. This removes any
dependency on texinfo should the base system not have it.  Bump the
PKGREVISION.
2002-09-26 22:06:29 +00:00
jlam
7df12326b2 Merge packages from the buildlink2 branch back into the main trunk that
have been converted to USE_BUILDLINK2.
2002-08-25 21:50:49 +00:00
jlam
e59a51294e Merge shells/bash2 from the buildlink2 branch back into the main trunk.
This package is needed to use buildlink2 on Darwin.
2002-08-23 01:28:27 +00:00
seb
66111c6d15 Introduce new framework for handling info files generation and installation.
Summary of changes:
- removal of USE_GTEXINFO
- addition of mk/texinfo.mk
- inclusion of this file in package Makefiles requiring it
- `install-info' substituted by `${INSTALL_INFO}' in PLISTs
- tuning of mk/bsd.pkg.mk:
    removal of USE_GTEXINFO
    INSTALL_INFO added to PLIST_SUBST
    `${INSTALL_INFO}' replace `install-info' in target rules
    print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info'
- a couple of new patch files added for a handful of packages
- setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it
- devel/cssc marked requiring texinfo 4.0
- a couple of packages Makefiles were tuned with respect of INFO_FILES and
  makeinfo command usage

See -newly added by this commit- section 10.24 of Packages.txt for
further information.
2002-02-18 15:14:00 +00:00
hubertf
5542206cba Get rid of manually adding "nbX" to PKGNAME when a pkg was changed in
pkgsrc. Instead, a new variable PKGREVISION is invented that can get
bumped independent of DISTNAME and PKGNAME.

Example #1:
        DISTNAME=       foo-X.Y
        PKGREVISION=    Z
     => PKGNAME=        foo-X.YnbZ

Example #2:
        DISTNAME=       barthing-X.Y
        PKGNAME=        bar-X.Y
        PKGREVISION=    Z
     => PKGNAME=        bar=X.YnbZ (!)

On subsequent changes, only PKGREVISION needs to be bumped, no more risk
of getting DISTNAME changed accidentally.
2001-11-29 01:12:24 +00:00
zuntum
9ce7d9169a Move pkg/ files into package's toplevel directory 2001-10-31 22:18:56 +00:00
tron
aeb8065bba Fix oversights in last commit. 2001-09-23 21:08:56 +00:00
tron
45df76b111 Make modifications of "/etc/shells" robust so that they don't fail if the
last entry is removed.
2001-09-23 21:06:07 +00:00
tron
0aa1f59f15 Make modifications of "/etc/shells" robust so that they don't fail if
"/etc/shells" doesn't exist or is empty after removing entries for
cerntain shell. These problems show up e.g. under SunOS.
2001-09-23 21:01:29 +00:00
mrg
2e813f4a6f fix bash on sparc64; the patches are from Shin'ichiro TAYA <taya@ba2.so-net.ne.jp>,
tested by Martti Kuparinen <martti.kuparinen@iki.fi> and myself...
2001-08-30 13:56:27 +00:00
jlam
16652dd1a9 Fix pkg/12675 by converting the package to use buildlink.mk files and
marking as USE_BUILDLINK_ONLY.  The only dependencies picked up are now
only the ones linked into work/.buildlink.
2001-08-04 06:58:23 +00:00