ruby16/ruby18 package to meta pacakge.
- Define RUBY_BASE to refer ruby16-base or ruby18-base name.
- Define RUBY_SRCDIR to refer ruby16-base/ruby18-base src directory.
- Move some definition from Makefile.comon to rubyversion.mk.
- Add X11BASE to CONFIGURE_ENV.
- Add RUBY_VERSION to MESSAGE_SUBST and PLIST_SUBST.
1.8.2 to be consistent with other platforms. Update RUBY_ARCH to
match the change. This makes lang/ruby18 build again on Linux.
Approved by MAINTAINER.
This is basically bug fix release, but official changes aren't provided
yet. Please refer ChangeLog.
Here is pkgsrc changes:
o Set RUBY_HAS_ARCHLIB=yes for Ruby packages including archtecture depending
extention library in order to depend more specific Ruby.
o Now install database for ri(1). Fix PR pkg/28566.
o Net::IMAP
* lib/net/imap.rb (u8tou16): fixed typo. fixed: [ruby-list:40546]
o NKF:
* ext/nkf/nkf-utf8/nkf.c (reinit): should initialize all static
variables. fixed: [ruby-list:40445]
* ext/nkf/lib/kconv.rb (Kconv::RegexpEucjp): second byte is up to
0xfe.
* ext/nkf/lib/kconv.rb (Kconv#kconv): should handle UTF8 and UTF16
properly.
o WEBrick
* lib/webrick/httpauth/htpasswd.rb (WEBrick::Htpasswd#reload):
raise NotImplementedError if password is encrypted by digest
algorithms. This patch is contributed by sheepman. [ruby-list:40467]
* lib/webrick/httpauth/digestauth.rb
(WEBrick::HTTPAuth::DigestAuth#_authenticate): fix digest calculation.
This patch is contributed by sheepman. [ruby-list:40482]
* lib/webrick/{httpauth.rb,httpauth/basicauth.rb,httpproxy.rb}: use
pack/unpack-template char "m" instead of lib/base64.rb to do base64
encoding/decoding. fixed: [ruby-dev:25336]
RUBY_HAS_ARCHLIB This package contains machine dependent binaries.
This macro takes boolean value (yes/no) and if it is yes, the requierd
version of Ruby will change to current pkgsrc's version not minimum
version like 1.6.8 or 1.8.1. (It would make sence when Ruby package
step to 1.8.2 or lator.)
Now, this package isn't meta-package.
Ruby itself is provided as language/ruby18 (Ruby 1.8.1) or
language/ruby16 (Ruby 1.6.8) and Ruby's commands are
$PREFIX/bin/ruby18 or $PREFIX/bin/ruby16.
This pacakge provide commands without its version in name
as $PREFIX/bin/ruby.
Some extention libraries bundled in Ruby's distribution are
move to separate packages. For ruby18:
converters/ruby-iconv: Iconv module
databases/ruby-dbm: DBM module
databases/ruby-gdbm: GDBM module
devel/ruby-curses: Curses module
security/ruby-digest: message digest module
security/ruby-openssl: OpenSSL module
devel/ruby-readline: readline module
x11/ruby-tcltklib: Tcl/Tk libraries
x11/ruby-tk: Tk modules
And for ruby16:
databases/ruby-dbm: DBM module
databases/ruby-gdbm: GDBM module
devel/ruby16-curses: Curses module
security/ruby-digest: message digest module
devel/ruby-readline: readline module
x11/ruby16-tcltklib: Tcl/Tk libraries
x11/ruby16-tk: Tk modules
You can specify default Ruby's version by setting
RUBY_VERSION_DEFAULT to 1.6 or 1.8 in /etc/mk.conf.
${MACHINE_GNU_PLATFORM} moved ${RUBY_SITEARCHLIBDIR} on some ports,
and also bump the dependency and PKGREVISION in ruby-gtk, which is
the only package that seems to use that.
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.
While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).
Patch by Alistair Crooks <agc@netbsd.org>
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.
+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt
With many thanks to Thomas Klausner for keeping me honest with this.