Commit graph

909 commits

Author SHA1 Message Date
skrll
e88e90d76d Look for the latest libtool. 2001-01-26 16:48:17 +00:00
agc
71d2649a63 Don't use a Dewey decimal relational operator when matching package names
in the "show-downlevel" target, since a number of package names do not
correspond to Dewey decimal version numbers (e.g. 2.4.1p1)

Instead, use pkg_info(1) to retrieve the installed package name, and
compare that against ${PKGNAME}.

Fixes PR 12041, from Bernd Ernesti
2001-01-25 21:20:05 +00:00
wiz
eb0f106fcf Remove OVERRIDE_LIBTOOL code per discussion on packages.
(There's no package that's not happy enough with OVERRIDE_LTCONFIG.)
2001-01-25 10:43:21 +00:00
dmcmahill
39e5bd2d7c make the show-depends-dirs target be robust for depends which have
their directories specified as :../foo instead of :../../bar/foo
2001-01-22 22:43:10 +00:00
dmcmahill
daf18d1a07 make sure the libtool dependency caused by USE_LIBTOOL is in place for
the show-depends-dirs target.
2001-01-22 04:06:45 +00:00
dmcmahill
700bd47064 add 'show-depends-dir' target. This shows the directories of the "top level"
depends for the package.  Both build and run depends are shown.  This is
a non-recursive target.  Ie, only explicitly depends are shown.

Example:
bondage 109 # cd /usr/pkgsrc/cad/geda && make show-depends-dirs
 cad/gschem cad/gnetlist cad/gsymcheck cad/geda-utils cad/geda-docs

This target is useful for collecting dependency tree information for bulk
builds.
2001-01-22 04:00:54 +00:00
veego
aaa83f3415 Add support for SVR4_PKGNAME:
SVR4 has a lenght limitation of the package name: Only 9 characters are allowed.
 Thats not a real problem since gensolpkg, which is used to create a SVR4
 packages, truncates the PKGNAME to 9 characters, but there is a second problem.

 Normaly you have a vendor identifier in that package name. gensolpkg uses
 at the moment TNF, so we only have 6 characters left, and that is insufficient
 for a few packages like the amanda ones. Where the real lenght should be
 limited to 5 characters so one can choose to use a vendor string up to 4
 characters.

 SVR4_PKGNAME should be only added to a few packages where the truncation of
 the PKGNAME does not produce an unique package name, e.g the amanda packages.

You will need pkgsrc/pkgtools/gensolpkg 1.9 which will be commited in the
next few days to use SVR4_PKGNAME.

TODO: add SVR4_PKGNAME support to pkglint.
2001-01-21 22:41:03 +00:00
tron
53c8b8c46f Solaris 8 includes the GNU patch command as "/usr/bin/gpatch". 2001-01-17 20:46:57 +00:00
agc
e9f4c3ed7d Remove NO_WRKDIR, which is incompatible with read-only pkgsrc, and not used 2001-01-15 19:46:29 +00:00
jlam
a2ca4cdaa9 Add SSLCERTS make variable, set to either /etc/openssl/certs or
${SSLBASE}/certs depending on whether we use in-tree OpenSSL or
pkgsrc/security/openssl.
2001-01-13 18:35:09 +00:00
tv
03c1600fe7 Add "show-var" to the list of recursable targets. 2001-01-13 15:35:53 +00:00
tron
3a68b03e5e Don't cause a build failure if "${CC} -version" doesn't work. 2001-01-13 00:18:51 +00:00
tron
f875da8c21 Use input redirection when invoking "bzcat" because at least the version
distributed with Solaris 8 doesn't like symbolic links.
2001-01-11 10:53:10 +00:00
tron
8e16d67590 Invoke second "xargs" command with "-n 256" in "print-pkg-size-depends"
because Solaris's "xargs" will otherwise invoke "pkg_info" with no
package names when a package has no dependences.
2001-01-10 13:10:46 +00:00
tron
96ab8e4f4b Solaris 2.8 and newer includes "gzip". 2001-01-10 11:54:59 +00:00
tron
ae42043514 Define "LOCALEBASE" (not "LOCALBASE") at single place depending on the
operating system.
2001-01-10 10:53:42 +00:00
skrll
bcadfa6b34 Remove the "pub" part of the URL for sunsite.org.uk. Its not needed and
if left will display a large warning message for every download.
2001-01-07 19:39:26 +00:00
jlam
ee3de91357 Correct comment on SHLIB_HANDLING 2001-01-05 18:03:14 +00:00
agc
d530450306 Add a "show-license" target, and a "show-licence" alias, to display
the package's licence, if it's non-standard.
2001-01-05 17:37:12 +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
wiz
2625fd3bcb Don't ignore previously set ${LIBS} in USE_LIBINTL case. 2001-01-04 14:17:54 +00:00
dmcmahill
c93e1e611d move the code which determines the BROKENFILE and BUILDLOG file names out
of the top level build script and into the {pre,post}-build scripts.  This
ensures that either of those scripts may be run directly and not rely on
a variable being set by the top level script.

Thanks to Hubert Feyrer for pointing out the problem in a private email.

These changes do not require any user changes to the build.conf file and
should be transparent to the user.
2000-12-31 17:38:32 +00:00
skrll
bbb3a7cfa2 Fix handling of SHLIB_HANDLING=NO. That is neither stage of do-shlib-
handling should be performed.

This fixes the build problems for emulators/compat1[23].
2000-12-31 12:21:07 +00:00
dmcmahill
da395b7a6b further cleanup of handling the .broken.files and .make.files
- set BROKENF and BLDLOG in the 'build' script and pass those variables
  down to {pre,post}-build in the environment to make sure we only set them
  in one place.  The values are determined by a
      make show-var VARNAME=BROKENFILE
  This causes the default (set in bsd.bulk-pkg.mk) or the user overridden
  value from /etc/mk.conf or the environment to be correctly determined.  This
  is more robust that relying on a build.conf setting which may or may not be
  correctly set.

- have pre-build only clean up BROKENF and BLDLOG files instead of
  .broken* and .make*
  This avoids conflicts when pkgsrc is shared among different machines.
2000-12-30 14:53:28 +00:00
hubertf
388a2dda40 Don't die without a proper error message 2000-12-30 13:05:37 +00:00
hubertf
ce9479d9bf * Remove old PLIST-mi/md.shared/md.static that was only used for
perl in a previous (pkgsrc) life.
 * add "lint" target to run pkglint
 * Add commented out direction on how to use bzip2 compressed
   binary packages
 * Some cleanup (clean target, ...)

Reviewed by Thomas Klauser <wiz@netbsd.org>.
2000-12-30 11:19:04 +00:00
dmcmahill
6b1411fce4 add hostname and pid to the temp makefile name to avoid conflicts when
pkgsrc is shared via nfs where multiple machines may want to run the script
at the same time.  Also avoid conflicts if multiple copies are run on the
same machine at once.
2000-12-29 15:56:26 +00:00
dmcmahill
4b0b0321b1 don't break the hyperlinks to the broken files.... 2000-12-26 19:01:35 +00:00
dmcmahill
9b36db2791 - get the BROKENFILE setting from make show-var VARNAME=BROKENFILE rather than
hard coding it.

- explicitly only add $BROKENFILE's to the output rather than .broken.*  This makes
  things work correctly when /usr/pkgsrc is shared among several machines which might
  use .broken.`hostname` for its broken file logs.
2000-12-26 16:45:57 +00:00
dmcmahill
1c4434b644 make the pruning of distfiles be controlled by a build.conf setting.
this way if you have 2 different pkgsrc trees sharing a distfiles directory
you don't nuke distfiles which may still be needed.
2000-12-22 01:35:33 +00:00
hubertf
8472ad0a54 Add libtool in 'make fetch-list' output. Suggested by Klaus Heinz. 2000-12-19 02:32:22 +00:00
kei
017e62d91b add ${X11PREFIX}/lib/X11/fonts/local. plex86 now installed properly. 2000-12-18 02:32:12 +00:00
hubertf
c163ced9d9 An old version of a (broken) useradd created /nonexistang, and pop3d
didn't like this. Make sure it's nuked.
2000-12-15 23:08:42 +00:00
david
678a50db46 Add authoritative CPAN ftp site as a last resort in case packages have
not yet propagated to mirror sites. Closes PR pkg/11591 from Damon Brodie
2000-12-12 01:04:16 +00:00
skrll
293740a951 Add date to email subject. 2000-12-11 21:40:54 +00:00
jlam
b8de91e261 Introduce APACHE_USER: the user allowed to execute the suexec wrapper
if apache was build with APACHE_SUEXEC == YES.
2000-12-11 00:03:07 +00:00
wiz
8184259f54 REQ is no more, its place is taken by INSTALL & friends. 2000-12-08 10:17:36 +00:00
jlam
8b42846a53 Add new CUPS_USER and CUPS_GROUP example config variables, and
correct a small grammatical mistake I noted.
2000-12-07 20:31:41 +00:00
abs
90f1a1dea4 Enable 'PATCH_FUZZ_FACTOR?= -F0' by default, rather than just iff PKG_DEVELOPER 2000-12-06 16:29:16 +00:00
hubertf
5f90fbdce2 If cvs and ssh are in base, don't pkg_add them 2000-12-05 16:33:27 +00:00
wiz
6bac337765 Add USE_INET6?=NO in the !(USE_INET6?=YES) case. 2000-12-03 14:10:03 +00:00
hubertf
a6d56be771 hush 2000-11-29 14:52:57 +00:00
hubertf
e601de8245 Quick close this can of worms again.
The ${PLIST} target must run after all the pre/do/post-install targets
were run (they may generate ${PLIST_SRC}!).

This whole code-path should use the make dependency system, not fork
make(1) over and over again.
2000-11-29 14:44:12 +00:00
hubertf
ef6d79f2dd * Rename some targets to fit into the usual "do-XXX calls real-XXX" scheme
* In real-su-install, do not call "make ${PLIST}" manually, but rather depend
   on the ${PLIST} file being there for the do-su-install target.
 * Break out shlib-handlink from real-su-install, and put it into target
   do-shlib-handling, which will either touch then PLIST (when called via
   the ${PLIST} target) or do the necessary steps to setup shared library
   handling (creating symlinks on ELF, running ldconfig on a.out, etc.,
   when called via real-su-install)
 * Removed some unnecessary tests (check if $PLIST is there when it
   can be assumed to be there, ...)
2000-11-29 13:18:22 +00:00
tron
91f4a994f8 Explicitly set "IS_BUILTIN_XPM" to "0" if the "xpm" library is not
installed because the "xpm" package will refuse to be built otherwise.
2000-11-29 12:40:55 +00:00
hubertf
5970f2e303 One "^" too much in last commit. 2000-11-29 11:39:25 +00:00
wiz
bf4a3f24eb Fix print-PLIST target (broken in 1.619). 2000-11-29 01:21:21 +00:00
hubertf
6ef7e0ffd6 * Make sure PKGPATH gets added to BUILD_DEFS (I thought it was there for a
long time. Oh well.)
 * Only replace the value of PATH for "PATH", not any variable whose name
   starts with PATH (like PKGPATH :-)

Hinted by Jason R. Mastaler <jason@mastaler.com> on tech-pkg.
2000-11-27 22:24:49 +00:00
tron
8e7d4f77b2 Don't remove package list entries ending on ".so" on ELF systems any more.
With "libtool-1.3.5nb9" or newer shared objects are named like that.
2000-11-27 15:57:43 +00:00
mycroft
528407f9bb Bump libfool version. 2000-11-26 21:12:54 +00:00