from the distfile version number. G/C the version number stuff from
perl5/Makefile.common, preserving only PERL5_DIST_VERS as it's still used
by libperl.
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.
buildlink.mk file can replace the use of USE_PERL5: it defines all of the
same perl variables as bsd.pkg.mk, adds a dependency on perl>=${PERL5_REQD}
and conditionally includes bsd.perl.mk. It also creates a buildlinkified
Config.pm that makes the local include/library search path include
${BUILDLINK_DIR} instead of hard-coding ${LOCALBASE}. There's more to be
done to make this more useful in strongly buildlinkifying a package, but
it's useful now as-is in weakly buildlinkifying a package.
Pr 13866 by Brian Gregor.
New Features Include:
- A Foreign Function Interface closely modeled after the one
provided by GHC.
- Built-in, Hood-like debugging support.
- A new syntax for recursive monad bindings.
- A new GUI under Windows that doesn't consume all CPU time.
Changes from 5.32.1 (the last pkgsrc version):
10/1/01 5.33.0 <mark@doradosoftware.com> found that expect's diagnostics
didn't include the "no" after testing for a full buffer.
Hemang Lavana <hlavana@cisco.com> noted that "debug" (Dbg_On)
calls didn't always force the debugger into step mode.
Martin Kammerhofer <dada@sbox.tugraz.at> noted that the man
page neglected to document interpreter -eof.
Chris Clare <clarec@nortelnetworks.com> provided fix for
multiple decl in C lib.
Sheng Wang <wangs@sh.bel.alcatel.be> found interact's
can-match code had broken. It was missing the special hook
that Henry had added just for this purpose. How strange.
Dieter Fiebelkorn <dieter@fiebelkorn.net> requested addition
to config.guess for Power*Macintosh:Darwin for MacOSX.
Aside - to download latest config.guess:
cvs -d :pserver:anoncvs@subversions.gnu.org:/cvs checkout \
config
Added pipeline example to unbuffer man page.
8/4/00 5.32.2 Allen J. Newton <anewton@alturia.fleet.org> provided code for
generating passwords with special characters in mkpasswd.
Brent Welch <welch@ajubasolutions.com> changed the fix1line
install script so that "autoexpect" and other scripts that
get installed into the platform-independent bin directory
generically invoke "expect" from the users PATH instead
of hardwiring the platform-specific expect pathname.
Changes:
* New module `rep.util.md5', has two functions for generating MD5
message digests (of files or strings)
* Changes to the `rep.io.sockets' function:
In the `socket-server' function the HOST and/or PORT arguments may
be false, meaning to listen on all addresses and to choose a
random unused port.
New functions `socket-peer-address' and `socket-peer-port', these
always returns the details of the far end of the connetion.
`socket-address' and `socket-port' have been changed to always
return the details of the local connection point.
* New function in `rep.system' module, `crypt'. A wrapper for the
system's `crypt' function (if it has one)
* New function in `rep.threads' mdoule, `make-suspended-thread'
* New module `rep.net.rpc', provides a text-stream based RPC
mechanism for Lisp programs. Similar in some ways to untyped CORBA.
(This is still in the experimental stage - its interface may
change in forthcoming releases)
* New functions in `rep.data' module, `list->vector' and
`vector->list'
* New macro `define-special-form'. A combination of `defvar' and
`setq' - it always makes the variable special and it always sets
it to the given value
* New module `rep.test.framework' implementing `assert', `check' and
`test' macros. This provides a framework for implementing unit
tests in Lisp modules (such that running the interpreter with the
`--check' option will run all tests that have been set up to be
autoloaded
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
directly against -lperl when built. Combined with the previous update of
perl to add ${LOCALBASE}/lib to the rpath when creating shared
libraries/modules, these two changes make using mod_perl.so (ap-perl) more
painless. All perl shared modules now contain interlibrary dependencies to
the shared libraries they need. Instead of needing (at least on ELF):
LoadFile !/usr/lib/libm.so
LoadFile lib/perl5/5.6.1/i386-netbsd/CORE/libperl.so
...
# Any other libraries needed by perl shared modules need to listed
# with LoadFile here.
...
LoadModule perl_module lib/httpd/mod_perl.so
AddModule mod_perl.c
you'd need only the last two lines as the mod_perl authors intended.
I've tested this patch for many weeks now, successfully loading and using
the p5-Apache-ASP module as my test bed, and I haven't noticed any problems
with normal perl usage.
Also comment the Makefile slightly better.
modules) about -Wl,-R. We cause -Wl,-R/path/to/libdir in LIBS settings
to now get propagated correctly to the link command for shared modules.
The rpath flag is also silently coerced to start with -Wl,-R or -R
depending on the contents of ${LDDLFLAGS} to deal with either cc or ld
being invoked.
* Ensure that shared objects/libraries created by perl Makefiles include
the correct run-time library search path by also including the local
libraries directories. For example, shared objects are linked on ELF
platforms with "cc -Wl,-R/usr/pkg/lib -L/usr/pkg/lib", and not just
"cc -L/usr/pkg/lib" as before.
foo-* to foo-[0-9]*. This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net. Also
change dependency examples in Packages.txt to reflect this.
/usr/local/scripts and forces the scripts to be installed there if it
exists. We override this by explicitly setting "scriptdir" to
"${PREFIX}/bin". This should fix the problem noted in pkg/14050 by
Brian Stark <bpstark@pacbell.net>.