Commit graph

64 commits

Author SHA1 Message Date
wiz
6d2a91bdfe Complete conversion to buildlink2 (hi johnny!). 2002-10-12 10:17:04 +00:00
wiz
c9aa91b262 Unused. 2002-10-09 18:32:34 +00:00
wiz
f99cd0ca20 Convert to use automake.mk. 2002-10-02 18:41:44 +00:00
markd
9da9d2f41f -Wl,-rpath -> -Wl,-R to also work on Solaris. 2002-09-23 13:52:15 +00:00
jlam
e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00
fredb
9a70ecd804 Add an explicit runpath for the libwwwssl.so.1.0 shared library, and
partially revert Makefile, v1.32, so platforms without openssl-0.9.6e
in base will be able to find libssl.so.300 and libcrypto.so.300 for
binaries linked against libwwwwwl.so. Bump pkgrevision to reflect the
change in dependencies on platforms without openssl-0.9.6e in base.
2002-08-07 15:56:22 +00:00
jschauma
e10e2a05bb Change MAINTAINER from tv at netbsd dot org to packages at netbsd dot org
after consulting with Todd.  Any volunteers for any of these packages?
2002-08-01 02:37:41 +00:00
jlam
e1be891dbc Change explicit build dependencies on perl into "USE_PERL5=build". This
makes these packages build correctly on Darwin where perl>=5.8.0 is
required.
2002-07-24 19:45:22 +00:00
fredb
9700cf931e Remove the capability to link with static "socks":
1) Linking a shared library against a static "socks{4,5}" library
does not have the desired effect of eliminating the dependency on
"socks" (not as it does for binaries).

2) No package linked against "libwww" seems to actually utilize
"socks".

Also bump the PKGREVISION and buildlink DEPENDS to the current level,
and liberalize the (formal) dependency on "openssl", for the benefit
of pre-NetBSD-1.5 systems. From now on, we can have no more issues
with "openssl" or "socks{4,5}" versions, as only the libwwwssl.*
shared libraries carry a run-time dependency on "openssl", but no
package links against them, and no "libwww" shared libraries can carry
a run-time dependency on any "socks" libraries. [Previous versions, of
course, may have had issues -- see PR 17010, which this is a partial
fix for.]
2002-07-15 14:39:21 +00:00
wiz
1b90b8d13b Remove commented out USE_SSL (openssl buildlinks were already used). 2002-06-17 10:33:52 +00:00
cjep
98c7eccbc9 Add NetBSD tags. 2002-05-20 19:07:42 +00:00
fredb
bfd0b25c9e Don't include security/openssl/buildlink.mk, as no package that
depends on libwww currently requires openssl. If one ever does, it
can just include the openssl buildlink file in it's "Makefile".
2002-01-02 21:01:23 +00:00
jlam
4c38713d7b A dependency on automake implies a dependency on autoconf; there's no need
to list them both when we listing just automake will do.
2001-11-29 19:46:10 +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
431e7a7dda Move pkg/ files into package's toplevel directory 2001-11-01 02:15:23 +00:00
jlam
f0a4fcd3e4 Substitute the real config script for the config wrapper script in
installed files.  We don't want buildlink references to escape into the
install directory.
2001-10-03 20:56:40 +00:00
skrll
e44d672728 Make this build with autoconf 2.52 2001-08-28 16:35:03 +00:00
tron
a68a277b43 Use wildcard dependence on "autoconf" package. 2001-08-27 14:35:04 +00:00
skrll
ec3aee670c Update automake to 1.4-p5 (1.5 is available)
Include a bugfix for lisp_LISP independently discovered by me that has
been pulled up to the automake-1-4 branch of automake cvs.

Changes are:
New in 1.4-p5:
* Allow AM_PROG_LIBTOOL again.
* Diagnose AC_CONFIG_HEADERS the same as AC_CONFIG_HEADER.
* Display distributed file list correctly in usage message.
* Allow numbers in macro names.
* Bugfixes.

New in 1.4-p4:
* Deal with configure.ac as well as configure.in -- this time for real!
* The version numbering system now allows three point version numbers,
  such as 1.4.4, without thinking they are alpha release numbers.

New in 1.4-p3:
* Deal with configure.ac as well as configure.in.
* Don't complain if `version.texi' is included in multiple places.

New in 1.4-p2:
* Deal with AC_CONFIG_FILES from autoconf-2.50.
* Improvements to f77 support.
* DESTDIR now works for script targets.
* distcheck-hook works correctly.

New in 1.4-p1:
* The version numbering system now allows fork identifiers (such as
  the p1 in this version of automake).
* Cope gracefully with various versions of libtool which may or may not
  require ltconfig, ltcf-c.sh, ltcf-cxx.sh or ltcf-gcj.sh.
* Bugfixes.
2001-08-26 10:32:18 +00:00
jlam
7bba3453dc If USE_CONFIG_WRAPPER is defined (implied by USE_BUILDLINK_ONLY), then
set FOO_CONFIG=${BUILDLINK_CONFIG_WRAPPER.foo} in both CONFIGURE_ENV and
MAKE_ENV.  We remove the check for GNU_CONFIGURE because if a package
Makefile includes the buildlink.mk file, then it most likely wants to use
the config script wrappers as well.  Change suggested by Hubert Feyrer
(hubertf) and Tomasz Luchowski (zuntum).
2001-08-17 21:14:00 +00:00
jlam
d2eb68d2a6 Add dir_DEFAULT setting used by EVAL_PREFIX logic to set the default
installation directory in case the package isn't installed.
2001-07-27 13:33:18 +00:00
jlam
dd30dabc8c Mechanical changes to buildlink.mk files to use EVAL_PREFIX to set
BUILDLINK_PREFIX.<pkgname>.  This allows buildlink to find X11BASE packages
regardless of whether they were installed before or after xpkgwedge was
installed.  Idea by Alistair Crooks <agc@pkgsrc.org>.
2001-07-20 01:54:51 +00:00
fredb
d3a563ebb6 Outsmarted myself -- ${PKGNAME} no longer matches ${DISTNAME}. 2001-07-12 02:14:43 +00:00
fredb
e2802d6e53 Belatedly bump the "nb" version, following the dropping of openssl
baggage for packages that have ${DEPENDS} on the libwww package, but
don't need to link in "libwwwssl" (currently all of them). These
packages _do_ _not_ need to have their DEPENDS changed now, as the
package system currently makes them require "libssl", whether they
truly require it to run, or not.

This will prove useful, however, when the version number of the
"libssl.so" shared library is bumped[1]. Then, we'll have to bump
again, but the depending packages will only need to depend on _this_
version, "libwww>=5.3.2nb1", the first version in which the "libwww*"
libraries (except libwwwssl) carry no dependency on "libssl".

[1] It's already been bumped in the HEAD of the base tree, but not
yet in the openssl package or in any release branch.
2001-07-12 02:09:35 +00:00
jlam
9943bc93db Allow overriding of *_CONFIG variables in a package Makefile when using
USE_BUILDLINK_ONLY.
2001-07-02 05:33:56 +00:00
jlam
cb76bd5efc Move inclusion of bsd.buildlink.mk to start of file. 2001-07-01 22:59:08 +00:00
jlam
5424c95f80 Add buildlink.mk file for use by other package Makefiles. 2001-06-28 20:58:12 +00:00
jlam
ef606fa7a6 Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. 2001-06-28 20:55:53 +00:00
jlam
1edfee944f Change build dependency from perl-5.* to perl>=${PERL5_REQD}. 2001-04-30 03:46:32 +00:00
fredb
7f9be18823 Regen. 2001-04-20 12:43:38 +00:00
fredb
fc188fc5fc Rely on the fact that shared libraries can encode run-time dependencies
on other libraries, on both ELF and (NetBSD/)a.out, to make
libwwwssl.so.?.? depend on the correct openssl shared libraries, as
determined by the setting of ${SSLBASE} in bsd.pkg.mk. This closes PR
pkg/12570, and has the additional advantage that programs that _do_ _not_
need to link in "-lwwwssl" won't get "-lssl" or "-lcrypto" at all.

Also, make"w3c" and "www" build again with USE_SOCKS=4.
2001-04-20 12:33:52 +00:00
skrll
aa3c03b75a Move to sha1 digests, and add distfile sizes. 2001-04-20 12:02:30 +00:00
agc
8f972b049a + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 12:12:16 +00:00
hubertf
e32afb6fea Change BUILD_DEPENDS semantics:
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>
2001-03-27 03:19:43 +00:00
wiz
a0745845b3 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:21:28 +00:00
agc
9c2d582fc9 The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
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.
2001-01-04 15:10:17 +00:00
jlam
de1987a10a Build depends on perl should build from ../../lang/perl5-base if the
executable doesn't exist, as that's the minimum package requirement for
the executable.
2000-12-27 17:05:36 +00:00
hubertf
210ff82f99 Put perl back, as BUILD_DEPENDS 2000-12-27 11:52:50 +00:00
fredb
8964c8c1f6 Drop "libwww" from the list of packages which need to be
grautiutiously reinstalled whenever "perl" is reinstalled. For the
NetBSD package, the dependence on autoconf and automake has already
been removed, so it remained only to patch the configure script.
2000-12-27 02:34:12 +00:00
hubertf
28e559ba39 checking for perl... no
configure: error: Perl needs to be installed in order to compile libwww
*** Error code 1

set USE_PERL5 to prevent this.
2000-12-26 17:23:58 +00:00
fredb
3fde713fbe Update to libwww-5.3.2. From the web page...
This  is a minor release that mainly provides bug fixes and small
enhancements that have been commited to  CVS  since the last release.
Vladimir Koslov provided indispensable help for testing and preparing the
Win32  release. Special thanks to Wayne Davison, Art Barstow, Peter
Stamfest, Zhu Qun-Ying, Jens Meggers, Ken Olum for their contributions.
 * Summary of principal changes (the ChangeLog provides a detailed account)
      + The  following  sample  applications  could  core  dump
        under Windows: head.c, getheaders.c, chunk.c, chunkbody.c,
        multichunk.c
      + When retrieving an object from the cache, the HTTP headers
        associated with the object weren't stored in the HTResponse object.
      + The cache garbage collector could go into an endless loop.
      + The HTResponse object now returns the HTTP reason.
      + Update of expat to version 19990728.
      + Optimization, enhancements, and bugs fixes to the HTRDF module
      + Some memory leaks and compiler warning fixes.
      + The robot could hang when accessing local files.
      + Optimization of the HTChunk and HTHash modules.
 * Outstanding bugs
      + The webbot crashes from time to time under Windows. It
        seems to be a problem while reading the robots.txt file,
        there the application frees a request that's still registred
        in the Windows async. loop.,
      + The tiny.c sample application doesn't prompt the user with
        a text input.
      + Interpretation of FD_CLOSE under Windows.
      + The  FTP  implementation  has  memory  leaks  and doesn't
        remember the path or authentication information correctly.
      + Compiling with -O2 and -Wall reveals some unitialized
        variables in HTDIR and HTFTP.
 * To do
      + Compile the answers to the libwww survey (volunteers are welcome).
2000-12-22 10:50:05 +00:00
fredb
5a609d814d Remove hidden dependency on "automake", and remove dependency on
"autoconf", too, while we're at it.
2000-10-15 12:56:25 +00:00
fredb
0c6b58570c Reorganize crypto handling, as discussed on tech-pkg. Remove all
RESTRICTED= variables that were predicated on former U.S. export
regulations. Add CRYPTO=, as necessary, so it's still possible to
exclude all crypto packages from a build by setting MKCRYPTO=no
(but "lintpkgsrc -R" will no longer catch them).

Specifically,

- - All packages which set USE_SSL just lose their RESTRICTED
    variable, since MKCRYPTO responds to USE_SSL directly.
- - realplayer7 and ns-flash keep their RESTRICTED, which is based
    on license terms, but also gain the CRYPTO variable.
- - srp-client is now marked broken, since the distfile is evidently
    no longer available. On this, we're no worse off than before.
    [We haven't been mirroring the distfile, or testing the build!]
- - isakmpd gets CRYPTO for RESTRICTED, but remains broken.
- - crack loses all restrictions, as it does not evidently empower
    a user to utilize strong encryption (working definition: ability
    to encode a message that requires a secret key plus big number
    arithmetic to decode).
2000-09-09 19:40:14 +00:00
fredb
25f065d0af Define USE_SSL for 1.4.x systems. 2000-09-02 16:29:22 +00:00
wiz
140cfe94cc regen (no patch-a[cd] in repository) 2000-08-10 11:33:21 +00:00
tron
4cdebc582d Add german mirror site. 2000-08-06 16:51:15 +00:00
fredb
4983a63551 Update to libwww-5.3.1. This is the first release since 5.2.8. Includes
many bug fixes -- too many to list, full release history online at
<http://www.w3.org/Library/User/ReleaseNotes.html> -- and a few new features.
The most significant is integrated libwww-SSL. Also SOCKS "punching through
firewalls" support is present now (but untested by me). Not sure when that
appeared, exactly.
2000-08-06 01:11:38 +00:00
jlam
d1024f14aa USE_LIBTOOL instead of PKGLIBTOOL. 2000-06-21 02:58:23 +00:00
rh
74add3b300 s/USE_LIBTOOL/USE_PKGLIBTOOL/
Add a new USE_LIBTOOL definition that uses the libtool package instead of
pkglibtool which is now considered outdated.
USE_PKGLIBTOOL is available for backwards compatibility with old packages
but is deprecated for new packages.
2000-06-01 11:23:11 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00