Commit graph

1308 commits

Author SHA1 Message Date
snj
b838585d87 s/independant/independent/ 2004-02-13 23:52:07 +00:00
abs
3b2576a43a We don' need no ... languages 2004-02-13 21:08:33 +00:00
jmmv
678d560818 Update to 1.16:
- Use WRKDIR_BASENAME instead of OBJMACHINE to get a unique name of object
  directories.  This way, multiple jails can use the same pkgsrc tree with
  write access and get the right obj links.
- Fix COPYROOTCFG.
2004-02-11 22:53:18 +00:00
grant
b03f3aa882 pass OPSYS and MACHINE_ARCH in the environmen, not CPPFLAGS. 2004-02-11 11:41:43 +00:00
grant
a680366537 just use ${OPSYS} and ${MACHINE_ARCH} from the environment. this means
we can set it in the environment if bootstrapping or have pkgsrc do it
for us.
2004-02-11 11:31:26 +00:00
jlam
145bef304a This package uses no compilers. 2004-02-10 23:53:33 +00:00
jlam
23e22dc805 This package uses no compilers. 2004-02-10 23:00:05 +00:00
jlam
1b2674fcd7 The BUILDLINK_DEPENDS.<pkg> lines should match between the buildlink3.mk
and any pre-existing buildlink2.mk files.
2004-02-10 20:45:01 +00:00
jlam
36a14d50db Update pkgtools/createbuildlink to 3.1. Changes from version 3.0 include
generating buildlink3.mk files that only append to BUILDLINK_DEPENDS.*.
2004-02-10 03:36:55 +00:00
jlam
57ec57613f PERL5_REQD is now a list of values, so append to its value instead of
setting it.
2004-02-10 02:22:49 +00:00
jlam
e72366f27c Cut-n-paste error. 2004-02-09 22:04:12 +00:00
jlam
1f2f352ee7 bsd.prefs.mk includes mk/compiler/gcc.mk indirectly, which invokes
${PKG_ADMIN}, so we need to not use "-K" with pkg_admin, too.
2004-02-09 22:01:51 +00:00
jlam
cd7f9542e7 Include bsd.prefs.mk after defining PKG_INFO so that we don't pass any
options to pkg_info while evaluating bsd.prefs.mk.
2004-02-09 04:52:10 +00:00
jlam
a1c40fc01e We no longer need to explicitly call ${BUILDLINK_*} for CC, CXX, LIBTOOL,
etc. because the bare variables will point to the correct executables.
2004-02-08 04:03:14 +00:00
grant
5addf651f7 use ${AWK} instead of awk. makes this work on Solaris. 2004-02-07 21:40:17 +00:00
grant
29fb945cb1 sync with NetBSD-current's pkg_install from 20040207. 2004-02-07 10:37:52 +00:00
wiz
5d85dac024 Fix sed call so that ${MAKE} including a path works. 2004-02-06 23:02:16 +00:00
jlam
7699290f10 If we're passing through MAKEFLAGS variables whose values may contain
spaces, use the :Q modifier instead of double-quoting the value.  This
avoids breakage when executing the just-in-time su targets.
2004-02-06 19:04:24 +00:00
abs
f7ed72c42e Remove 'USE_LANGUAGES=' as at least on my system 'make install' compiles up
something to check the shared library type.
(An entertaining way to pick up on issues seems to be to set CFLAGS to include
an argument not understood by the base compiler, such as '-march=pentium3')
2004-02-03 12:44:20 +00:00
jlam
8fb6f3f443 These packages don't use any compilers, so set USE_LANGUAGES to an empty
value.
2004-02-02 10:08:43 +00:00
jlam
c0f9cec15a This packages is just shell scripts, so set USE_LANGUAGES to an empty
value.
2004-02-02 10:06:22 +00:00
snj
e605029e68 It's "its" 2004-02-01 00:18:29 +00:00
snj
445af1efbf s/seperate/separate/; s/independantly/independently/;
s/dependancies/dependencies/
2004-02-01 00:07:56 +00:00
recht
d04d6737d8 Add missing extensions/extutil.h and bump version to 0.20.
This fixes the build of Xrandr.
ok'ed by wiz@
2004-01-31 21:58:52 +00:00
snj
0555bf0ada Put post-install message into MESSAGE, so that people using
PKGSRC_MESSAGE_RECIPIENTS will get a copy mailed to them.

Okayed by jmmv and wiz.
2004-01-29 22:25:06 +00:00
agc
157def92c1 Conditionally set DISTNAME, since this Makefile is included by the
pkgsrc/pkgtools/rdigest Makefile, which will end up with a PKGNAME of
digest-...  otherwise.  Noticed on bulk build output.
2004-01-26 21:26:53 +00:00
xtraeme
1d202088d2 Revert previous commit, it didn't work for binary packages. Noted by
Julio Merino.
2004-01-26 10:10:56 +00:00
xtraeme
8c9cfcd48d Add dependency on XFree86-libs if ${X11BASE}/include/X11/X.h doesn't
exists and we are using XFree86 packages from pkgsrc.
2004-01-25 07:43:54 +00:00
grant
c9cbc931c9 honour BINOWN and BINGRP.
from Min Sik Kim in PR pkg/24176.
2004-01-25 03:29:57 +00:00
jlam
a7d877ca6a Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. In
the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives
a value only once due to the multiple inclusion protection in the
bulldlink3.mk files.  In the case where a package includes several
buildlink3.mk files that each want a slightly different version of another
dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the
strictest <pkg> dependency to be matched.
2004-01-24 03:26:45 +00:00
jmmv
1955870fa2 Update to 1.15:
- Automatic builds can now be interrupted at any time with CTRL+C and then
  resumed! (with 'auto resume' from the command line).
- MAKE_PACKAGES has been deprecated in favour of two new variables:
  BUILD_PACKAGES, which tells which packages to build after a 'makeroot'
  and AUTO_PACKAGES, used during the 'auto' target.
- MOUNT_SCRIPT and UMOUNT_SCRIPT have been deprecated in favour of MOUNT_HOOKS
  and UMOUNT_HOOKS, which take a list of shell functions or external commands
  to be executed.
- /pkg_comp is now symlinked to /p inside the chroot, to make paths simpler
  when working inside it (i.e., with the 'chroot' target).
- security/audit-packages is not installed any more inside the chroot by
  default.  This is not needed to get pkgsrc security checks working.
  The user can add it to BUILD_PACKAGES for a regular build.
- pkgtools/xpkgwedge is not installed any more during a 'makeroot'.  pkgsrc
  handles this automatically when needed, so we let it install the package
  for us.
- Ensure that libkver's library is preloaded when doing builds inside the
  chroot, so that packages get the right version number in them.
- When creating a template file, sort all variables alphabetically.
- Several miscellaneous changes in the code: simplification of syntax,
  addition of comments to functions, cleanup of messages...
2004-01-23 09:48:53 +00:00
grant
f0c1aba42f update to pkglint 3.67: catch deprecated USE_GMAKE. 2004-01-22 08:09:11 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
jmmv
6ae89c5638 Convert to bl3 and allow pkgviews installation. 2004-01-19 13:38:28 +00:00
jlam
472aeffaeb Support pkgviews. 2004-01-19 13:07:48 +00:00
zuntum
9e20d6aff5 Nuke superfluous space 2004-01-18 20:45:42 +00:00
grant
208dcde535 we need to define OPSYS_NAME and MACHINE_ARCH to build this version of
pkg_install.
2004-01-15 01:40:13 +00:00
jlam
8a84165b29 Update pkgtools/pkg_install to 20040114. Changes from version 20040106
include:

* use ${MACHINE_ARCH} instead of what uname() puts into utsname.machine.
  the former represents the CPU architecture, which is what is recorded
  in binary packages; also allow the OS name to be overridden, as pkgsrc
  doesn't always use the value of utsname.sysname.

* allow adding depoted packages if another package with the same
  ${PKGBASE} is already installed as this is explicitly allowed for in
  pkgviews.
2004-01-14 23:55:29 +00:00
wiz
6987965e7c \r -> \n in two messages. 2004-01-14 23:18:46 +00:00
wiz
65be5cba5f Sort options. 2004-01-14 14:17:47 +00:00
grant
661b403916 relax the requirement for a >= 64bit off_t to enable long long
support, as some systems with a < 64bit off_t have long long support.
2004-01-14 08:59:31 +00:00
grant
7a12876daa use LL for long long suffix. 2004-01-14 08:58:41 +00:00
rh
6978c69a8a Update createbuildlink to 3.0. This now adds -2 and -3 options to create
either buildlink2.mk or buildlink3.mk files.
2004-01-14 08:53:57 +00:00
jmmv
bca9b36cd7 Fix typo (add missing word). 2004-01-13 11:24:16 +00:00
grant
94be7fc32c don't bother checking for md5.h, as the result overrides libnbcompat's
more appropriate test.

fixes build problem noted on RedHat.
2004-01-12 22:20:36 +00:00
wiz
0d9d14d348 Fix for pkgviews. From Min Sik Kim in PR 24042. 2004-01-10 22:31:51 +00:00
wiz
3aea5d68e9 Bump date for previous. 2004-01-10 21:19:59 +00:00
kristerw
fc001ebd5b Correct the default maintainer in the man page.
PKGREVISION++.
2004-01-10 19:23:41 +00:00
cjep
a313ade285 Don't die if pkg-comment does not exist. Some ports have a COMMENT= in
their Makefile already.
2004-01-10 16:27:06 +00:00
cjep
b50a383ded Use tech-pkg@NetBSD.org as default MAINTAINER. 2004-01-10 16:10:35 +00:00
jlam
3299e03171 Put the correct path to perl into the scripts. This fixes using this
package with pkgviews.
2004-01-10 05:40:40 +00:00
jmmv
0731c686bd Update to 1.14:
- Add the AUTO_TARGET variable.  This specifies the BUILD_TARGET used during
  an automated build of packages (i.e., pkg_comp auto), so that one can use
  'bin-install'.  Suggested by gavan@.
- Fix minor bug so that a libkver package is built during makeroot.
2004-01-08 14:06:15 +00:00
jmmv
7c0b9c5946 Allow pkgviews installation. 2004-01-06 19:49:24 +00:00
wiz
2897352fde Fix typo; new sentence, new line;
drop trailing spaces; add comma in enumeration.
2004-01-06 16:23:29 +00:00
hubertf
3da9e01015 Rework a bit to describe the pkg wildcards in their own
section, etc.
2004-01-06 16:15:54 +00:00
hubertf
f53fa863f8 pkg_install now prints post-install message by default, if available. 2004-01-06 15:53:41 +00:00
jlam
76085a8f5e Create only the right man/* directories based on the value of MANINSTALL. 2004-01-06 08:29:59 +00:00
jlam
22645a942c bl3ify 2004-01-05 11:28:07 +00:00
jlam
d279e6f535 Use S/+$// instead of C/\+$// to save a backslash. Very highly
recommended by seb :)
2004-01-05 11:05:44 +00:00
jlam
47bb2aae5f Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk. 2004-01-04 23:34:04 +00:00
reed
d72588da8b Make sure LOCALBASE and X11BASE are defined before comparing them.
(Thank you, Takahiro.)
2004-01-04 04:51:47 +00:00
hubertf
af99e2c61f In the "quick depends pre-scan", first print all bad matching depends,
then exit (instead printing one conflicting pkg/version on each run).
2004-01-04 01:49:38 +00:00
reed
566c8c4b3c xpkgwedge is not needed when X11BASE is LOCALBASE,
so use PKG_SKIP_REASON. (Okay'd by jlam@).

(Next I need to make sure that MesaLib and Xrender are not installed
when using wip/XFree86-libs.)
2004-01-03 23:51:08 +00:00
jlam
1d0bd76f9c Update pkgtools/xpkgwedge to 1.9. Changes from version 1.8 are making
this package work in a pkgviews world by looking for imake config files
in ${PREFIX}/lib/X11/config, then ${VIEWBASE}/lib/X11/config, then
${X11BASE}/lib/X11/config.  The second directory is where some packages
may share a commonly-editted host.def file.
2004-01-03 23:34:19 +00:00
jlam
339cd13cb2 Initial sprinkling of work-in-progress buildlink3.mk files for using the
buildlink3 framework.
2004-01-03 23:06:43 +00:00
jmmv
953515e348 Update to 1.13:
- Fix detection of outdated pkg_install.  The 'grep' failed because the error
  message shown was recently changed in pkgsrc.
2004-01-03 10:45:50 +00:00
cjep
c843a6ae2a Add trailing / to HOMEPAGEs 2003-12-30 17:27:31 +00:00
jmmv
921edde0f9 Update to 3.66: warn if MAINTAINER contains @netbsd.org instead of @NetBSD.org. 2003-12-24 09:54:39 +00:00
jmmv
2b07fc26d8 s/@netbsd.org/@NetBSD.org/ in MAINTAINER. 2003-12-24 09:53:47 +00:00
seb
b5c6b87e18 Replace ad hoc creation of installation directories in pre-install target
by INSTALLATION_DIRS framework.

While here also create {man,cat}pages directories.
2003-12-23 19:48:31 +00:00
uebayasi
8521a0316c Don't drop header files those extensions are >2 characters, e.g., "*.hpp".
Min Sik Kim in PR pkg/23834.

While here, "sort | uniq" -> "sort -u" in 2 places.
2003-12-22 01:15:49 +00:00
grant
a9338209c7 improve DESCR and COMMENT. 2003-12-22 00:23:35 +00:00
grant
f35cee33a4 bump to 20031220 2003-12-20 04:55:04 +00:00
grant
17bfcfcae3 sync with -current:
#include <util.h>
this is needed by fparseln on macos/darwin and is harmless on netbsd
2003-12-20 04:54:56 +00:00
grant
2f6240086a sync with -current:
#include <util.h>
this is needed by fparseln on macos/darwin and is harmless on netbsd

Include filename in:
    'existing entry for `sha1.h', type `file' does not match type `link'

realloc pedant
2003-12-20 04:52:50 +00:00
grant
d5a22b3847 Sync pkgtools/pkg_install with src/usr.sbin/pkg_install from 20031220.
New features include OS/arch/version checking and a large speed
improvement to pkg_info.
2003-12-20 04:23:05 +00:00
grant
b043fa59b4 regen for HAVE_WORKING_LONG_LONG rename 2003-12-19 22:46:01 +00:00
grant
0784cb96bf * Rename HAVE_QUAD_SUPPORT to the more mnemonic HAVE_WORKING_LONG_LONG.
* Don't bother providing compat defs for QUAD_{MIN,MAX} since
  they're not used anymore.
2003-12-19 22:45:14 +00:00
grant
d324f0f468 Sync to lib/libc/stdlib/strtoll.c 1.6:
*	Use LLONG_{MIN,MAX} instead of QUAD_{MIN,MAX}
    *	Use "long long int" instead of "long long"
    *	Appease lint
    *	Use "long long" instead of "quad" in comments.
2003-12-19 22:40:04 +00:00
grant
93098e6d36 sync to NetBSD for Todd's latest license 2003-12-19 22:27:01 +00:00
grant
e06a4eead8 sync to NetBSD for Todd's latest license, and fix for potential SEGV 2003-12-19 22:26:46 +00:00
grant
134f0eab0f Apply change from src/include/fts.h 1.10:
Make fts_pathlen and fts_nitems unsigned.
2003-12-19 22:23:00 +00:00
grant
2c8b5142eb Convert the 4 clause UCB license to the 3 clause license. 2003-12-19 22:16:14 +00:00
veego
51461ce694 Update for XFree 4.4.0 RC2:
Added shared libraries for libGLw and a different location for ft2build.h.

Version bumped to 0.19.
2003-12-19 19:19:15 +00:00
jmmv
321831ac73 Update to 1.12:
* Add the -n flag.  When specified, do not install INSTALL_PACKAGES nor
  MAKE_PACKAGES during the creation of the chroot.
2003-12-19 09:51:55 +00:00
grant
2fb1313b5f don't hardcode /var/db/pkg, use PKG_DBDIR. 2003-12-18 14:32:01 +00:00
grant
2f4cb28358 also pass BUILDLINK_LDFLAGS.db for safety. 2003-12-18 14:29:11 +00:00
grant
f3e34265a4 make use of FILES_SUBST_SED. 2003-12-18 14:28:08 +00:00
dillo
a12c3bc1c8 pass CPPFLAGS to compiler 2003-12-14 12:27:57 +00:00
dillo
b3c1202280 This package uses db 1.85, so include its buildlink.
Don't use implicit make rules, invoke compiler explicitly.

Addresses PR 23746.
2003-12-14 11:45:09 +00:00
wiz
a7eadd4ab5 Drop trailing space and fix Xr by adding a section number. 2003-12-14 00:07:19 +00:00
seb
0e2d7958b6 Update to version 1.11
Support pathname to configuration files, support latest libkver and
emit the usual BSD_PKG_MK ifdef protection in the generated /etc/mk.conf.

Approved by jmmv@.
2003-12-13 18:29:47 +00:00
seb
030685f07e Update to version 0.4.
Libkver is now run-time configurable, see installed kver(3), it now
installs in LOCALBASE and uses install/deinstall scripts to replace/restore
/sbin/sysctl if needed.
2003-12-13 17:45:59 +00:00
erh
39203e3266 Bump version to 1.5.1. Fixes bug when using pkg_tarup to tar up multiple pkgs. 2003-12-11 16:31:56 +00:00
erh
d91b4422eb Clear out PKG_ARGS each time we create a package to avoid grabbing
files from other packages.
2003-12-11 16:29:08 +00:00
grant
e37fd80189 bump version for glob() fix. 2003-12-10 07:21:43 +00:00
grant
a6fea9e8b2 always use local glob() as some glob() implementations have security
issues. suggested by lukem.
2003-12-10 07:21:20 +00:00
abs
43c1a86287 Update pkgchk to 1.45:
-r should imply -i
2003-12-09 12:54:13 +00:00
grant
b54024e198 shut up another escaping warning from gawk. 2003-12-08 15:28:54 +00:00
grant
4cea9a497f fix last; it's not 20031211 yet. 2003-12-08 14:54:24 +00:00
grant
1c6ca46404 bump version for glob.[ch] fix. 2003-12-08 14:53:09 +00:00
grant
4b9a7b94e1 always use local glob.[ch] if GLOB_NOMATCH or GLOB_ABORTED aren't
defined.
2003-12-08 14:52:02 +00:00
grant
887e8c6503 Sync pkgtools/pkg_install with src/usr.sbin/pkg_install from 20031121. 2003-12-08 13:50:50 +00:00
grant
f700dc3a03 kill some superfluous escaping to shut up warnings from gawk. 2003-12-08 13:39:11 +00:00
erh
a4d68c61e3 Updated version that works on AIX. 2003-12-05 15:47:36 +00:00
erh
d5b08e455b Check for setenv and unsetenv independantly since setenv presence doesn't
always imply unsetenv.
2003-12-05 15:43:10 +00:00
erh
059ec43e2d AIX needs getopt_long. 2003-12-05 15:42:13 +00:00
erh
92da59fed3 On AIX h_errno is a function call. Don't try to redefine it. 2003-12-05 15:41:06 +00:00
gavan
b0a851b1e9 Treat an empty HOSTDEF file as if it didn't exist.
From Greg A. Woods. Fixes PR pkg/22957.
2003-12-02 15:41:55 +00:00
jlam
5019e4904b We're not ready for pkgviews yet! 2003-11-23 08:35:05 +00:00
jlam
23ffd46c8d Be more verbose about when we symlink the font programs. 2003-11-23 07:09:12 +00:00
jlam
e0063aa8e5 Update the host.def file during view (de)installation. Also deal with
the font program symlinks at both view-deinstall and normal deinstallation
time since the files aren't listed in the PLIST (the font programs are
handled completely by the INSTALL/DEINSTALL scripts).
2003-11-23 06:46:54 +00:00
cube
f02636860d When there is no distinfo file, do not apply patches we would not
normally apply: treat them as if the distinfo file was empty.

This solves the reason why pkgtools/pkg_install/distinfo was resurrected,
and allows us to remove it again, since it had the side effect of
introducing a dependency on digest, which is not acceptable when updating
pkg_install: it made it impossible to use the pkgsrc tree, as reported
by several people.
2003-11-20 15:07:53 +00:00
hubertf
c686248c8f Add (back) empty distinfo file to mark that this package has no
patches (any more). This prevents SUP users who dont use the "delete" flag
properly to accidentally apply the patches they still have
(which is the reason why we keep patches in the distinfo file at all).
2003-11-10 16:32:56 +00:00
jlam
3607b06f5c Sync pkgtools/pkg_install with src/usr.sbin/pkg_install from 20031003.
New features include fetching binary packages using HTTP (thanks wiz!)
and some minor speed optimizations for pkg_delete.
2003-10-29 23:00:27 +00:00
seb
8b72b13fb8 Update to version 0.3.
Add support for NetBSD 1.6.2.

XXX The "release date" is fiction.
2003-10-27 20:31:42 +00:00
tron
d2716ca53f XFree86 4.3.0 and above have "libXrender.so.1.2". Problem pointed on by
Bernd Ernesti.
2003-10-20 16:11:16 +00:00
grant
5538daab2f we suggest setting XAPPLRESDIR in /etc/profile and /etc/csh.login, so
provide a csh example as well as a bourne shell example.
2003-10-19 07:16:33 +00:00
grant
9ff28ef7ff s/${X11BASE}/$${X11BASE}/ in COMMENT 2003-10-19 06:28:08 +00:00
tron
9df403713b Adapt to latest shared library changes in NetBSD's X11 sources and
XFree86-current.
2003-10-18 18:23:03 +00:00
grant
517d37cda1 s,/usr/X11R6/,$${X11BASE}, in COMMENT.
yes, this deliberately does not expand ${X11BASE}, as that would
lead to the same confusion (X11R6 vs. openwin, etc.) when we use
this pkg's COMMENT on the web site/search.
2003-10-18 10:12:09 +00:00
salo
b38902af45 Welcome to version 2.8.
- Do not list pkgconfig files as libraries.
- Save one grep and be more precise about removing
  pkgconfig and intltool buildlink2 file inclusions.
2003-10-15 00:18:05 +00:00
veego
4d271b3397 Update pkgtools/x11-links to 0.16.
Changes include supporting XFree86-4.3.99.14 aka XFree86-current.
Added some new library versions and some freetype2 include files.
And bump the required version number in the bsd.buildlink mk's.
2003-10-13 15:55:11 +00:00
jlam
db20aa3e21 Fix typo. 2003-10-12 08:58:04 +00:00
grant
6764a676b9 name jlam as the guilty party who wrote this. 2003-10-12 01:19:08 +00:00
grant
caeb81ba77 move src2nbcompat from pkg_install to libnbcompat. 2003-10-12 01:17:50 +00:00
wiz
fc29e79bd4 Teach lintpkgsrc how to handle empty() conditionals.
Closes second part of PR 23126.
Welcome to 3.65!.
2003-10-11 08:03:40 +00:00
grant
467b308dcc ensure pkg_admin is called with the full path and use the right
directory for man pages in the PLIST.

fixes remaining part of PR pkg/21858 from Jeremy C. Reed.
2003-10-11 07:29:29 +00:00
grant
2c562cc1b8 use !defined instead of ! for testing if {,U}LLONG_MAX is defined.
fixes build on bsdi, noted by Jeremy C. Reed on tech-pkg.
2003-10-10 10:15:09 +00:00
grant
80f555cb2e add TAR_CMD to DEFS to ensure we use the full path to tar.
noted by Pierre Bourgin on tech-pkg.
2003-10-06 10:12:42 +00:00
grant
105045212c fix handling of DISTDIR. patch from Sebastian Prause on tech-pkg.
bump to 3.64.
2003-10-06 08:50:40 +00:00
mycroft
09d5e8ff49 Catch up. 2003-10-06 03:00:32 +00:00
agc
3e0194d117 Update pkgchk to 1.44 - add a -g option to generate an initial pkgchk.conf
file based upon the packages currently installed on the host machine.
2003-10-04 21:07:53 +00:00
seb
2e0d2dfe58 Remove occurrences of pkgsrc.conf in favor of pkgchk.conf. 2003-10-04 12:02:12 +00:00
abs
7641492283 Update pkglint to 3.63:
perl 5.6.1 realpath() cannot handle files, only directories.
    Handle this case, with the only downside that if the last component in
    an include path is a symlink the 'performance boost' duplicate check
    may not work. Reported by Todd Vierling
2003-10-01 11:56:17 +00:00
abs
123f9af1fe Update pkgchk to 1.43:
Additional duplicate check in -l
2003-10-01 11:30:10 +00:00
abs
f4e1cb4f49 Update pkgchk to 1.42
Update -L:
	Do not reset the logfile at the start of each package. Also
	try to make the 'tail' of the logfile in the event of an
	error more useful.

    Implement -l:
	List the filename for all binary packages (including the
	exact dependencies against which each package was built)
	based on pkgchk.conf.  Will abort if a binary package is
	missing.  This can be used (in conjunction with -U and -D)
	to determine what packages would need to be copied to a
	remote machine to ensure it was completely up to date.
2003-10-01 11:25:02 +00:00
seb
34700d01e6 Update to version 0.2.
Fix a mostly harmless bug: a utsname.machine string was added at the
end of utsname.version string.
2003-09-30 19:13:30 +00:00
abs
2990b88c8a Update pkglint to 3.62:
lintpkgsrc - handle the buildlink include fest:
	- Using realpath() to fix exclude of duplicate includes speeds
	  up 'lintpkgsrc -rp' on a PIII-500 from 40 minutes to 3
	- Excluding buildlink[^/]*.mk files unless -d is specified further
	  speeds up to just under 1 minute
2003-09-30 16:09:50 +00:00
jlam
87ce557d03 Document why we include the various buildlink3.mk files. 2003-09-28 12:45:04 +00:00
grant
a7fd07a6ce define NO_TOOLS to avoid embedding the path to work/.tools/bin/{grep,sed}
in linkfarm.sh and pkg_view.sh.
2003-09-25 12:43:36 +00:00
grant
dbe2b165b6 sync with NetBSD-current after updates from wiz. 2003-09-23 13:22:37 +00:00
grant
71c17ddbd6 bump date 2003-09-23 07:46:07 +00:00
grant
3c5895a2f6 add --with-{ftp,mtree,pax,tar} to allow overriding the commands that
pkg_install calls, and pass the full path for each from the pkg Makefile.

fixes issue with pkg_add and pkg_create calling non-existent or
less-than-functional tools since it relied on $PATH.
2003-09-23 07:44:48 +00:00
grant
7e46cd752c sync with NetBSD-current's pkg_install-20030923. 2003-09-23 07:13:45 +00:00
grant
33ded8ed84 no need to pass $(DEFS) to $(CC) twice. 2003-09-23 06:36:19 +00:00
grant
237cb732fa clean up autoconf generated files in view/ 2003-09-23 06:05:13 +00:00
grant
452bd6a31a config.lineno -> configure.lineno 2003-09-23 05:30:33 +00:00
jschauma
fbfb7c1963 Provide prototypes for setmode and getmode functions if necessary.
This fixes build problems of mtree and pax on Irix.
2003-09-23 02:03:36 +00:00
wiz
e483c525ee Make lintpkgsrc handle .includes correctly. Welcome to 3.61. 2003-09-21 20:32:35 +00:00
wiz
f17e80a09b Fix PLIST. Closes PR 20853 by FUKAUMI Naoki. 2003-09-19 09:43:07 +00:00
grant
6c1b4e7bec shut up the 'do nothing' shell comments 2003-09-19 02:11:22 +00:00
grant
a3fabf7b04 test's -e operator doesn't work with the sh built-in test on Solaris,
use ${TEST} -e instead.

noted by mlh@goatnospamhill.org on tech-pkg@.
2003-09-19 01:29:00 +00:00
jlam
bbf9eae311 Whitespace issues. 2003-09-19 00:53:58 +00:00
grant
9d4bcc5ba8 remove redundant USE_BUILDLINK2, as we set NO_BUILDLINK later. 2003-09-18 23:43:37 +00:00
grant
c13bb2d3a7 ensure CC is set correctly when running configure in libnbcompat. 2003-09-18 23:42:24 +00:00
jmmv
9f1faec9e2 Update to 2.7:
- Do not include pkgconfig's nor intltool's dependancies in new generated bl2
  files.  These are *build* dependancies, and the package providing the bl2
  should not assume we will be using them.
2003-09-18 14:15:00 +00:00
erh
9e552b510c Add support for wildcards and mutiple packages on the command line.
Bump version to 1.5.
2003-09-16 23:19:46 +00:00
grant
6865175e09 bump BUILDLINK_DEPENDS to 20030916. 2003-09-16 16:49:51 +00:00
grant
b55c2bb5b1 test that md5.h can be compiled and that it provides MD5Init(),
otherwise, pretend we don't have it. fixes build on some RedHat
systems where md5.h is incompatible with NetBSD's.

bump to 20030916.
2003-09-16 16:48:22 +00:00
wiz
fa66b3ed84 New sentence, new line; add -L to SYNOPSIS. Sort options. 2003-09-16 14:45:53 +00:00
abs
60c6b32922 Update pkgchk to 1.41:
Implement '-L logfile' which redirect the output of any commands run
	into the logfile, displaying the tail end on any errors.
2003-09-16 14:36:08 +00:00
jmmv
683cf939f3 Add MANINSTALL to BUILD_DEFS. With latest changes in bsd.pkg.mk, manual
page handling is automatic when MANINSTALL is not defined; this closes
PR pkg/22562 by reed@reedmedia.net.
2003-09-15 16:16:40 +00:00
grant
f0d05394e2 add prototypes for v{err,warn}{,x}. 2003-09-15 08:29:51 +00:00
grant
3fb4cc8435 add v{err,warn}{,x}. 2003-09-15 07:39:34 +00:00
jlam
52488ea352 Move inclusion of bsd.prefs.mk a little higher so that /etc/mk.conf
settings won't stomp on our CFLAGS/LDFLAGS/LIBS definitions.
2003-09-14 15:29:03 +00:00
grant
e40162e638 add nbcompat/config.h to distclean target. 2003-09-14 14:41:23 +00:00
grant
4b107be2da define _PATH_DEFTAPE in nbcompat.h to avoid redefining it when paths.h
is included.
2003-09-14 14:24:12 +00:00
grant
efa6f88bac sl_add() returns void on some systems, so don't include <stringlist.h>,
always use local prototypes.
2003-09-14 14:10:17 +00:00
itohy
6296166f8e Add dummy object not to become totally empty
(a.out ld will fail on an empty library).
2003-09-14 07:38:12 +00:00
grant
ef72c2b1c7 bump version for latest changes. 2003-09-14 07:36:12 +00:00
grant
506a54ae42 define the maximum values for `long long' (LLONG_MAX) and
`unsigned long long' (ULLONG_MAX) if we don't have them.

as seen on (a) Linux.
2003-09-14 05:35:57 +00:00
jlam
73bf789d08 Update pkg_install to 20030914. Changes from version 20030913 are
ensuring that recursive pkg_delete'ing works by using the correct
pkg_dbdir to find packages.  This fixes recursive deleting if the
-K flag is passed to pkg_delete(1), and the named dbdir differs from
the default dbdir (/var/db/pkg).
2003-09-14 04:58:30 +00:00
jlam
ce04d82646 Don't escape '#' within a print statement as it seems to break with some
awks.  Thanks to Hubert Feyrer for the fix!
2003-09-13 17:07:47 +00:00
jschauma
ddacbe098a Unbreak pkg_install on Irix by adding irix to the statvfs dance in libnbcompat,
as suggested by Grant.
2003-09-13 16:17:40 +00:00
jlam
e98f26b486 Update pkg_install to 20030913. Changes from version 20020912 are quieting
the file removal when deleting linkfarms if the expected file doesn't
exist.  Since the symlink isn't there, the mission is already accomplished,
so why bother with the warning?
2003-09-13 09:24:07 +00:00
jlam
06768a3ab4 Update pkg_install to version 20030912. Changes from 200230907 are
adding two new options to pkg_admin(1) to simply using this utility to
list the bare package names that match patterns when looking in PKG_DBDIR:

      -b      Print only the basenames when matching package names for
              lsall and lsbest.

      -d lsdir
              Set lsdir as the path to the directory in which to find
              matching package names for lsall and lsbest.
2003-09-13 05:50:23 +00:00
jlam
4e29ca0c96 Build pkg_install without dependencies by pulling in the libnbcompat source
files and building it locally.  By removing dependencies from pkg_install,
we avoid the circularity of invoking the dependency targets in bsd.pkg.mk
that may in turn invoke the pkg_* tools.
2003-09-13 04:08:12 +00:00
jlam
93c459d2f8 Allow libnbcompat to be used without being installed. Also remove the
unused header file util.h.
2003-09-13 03:50:12 +00:00
wiz
6817c857d4 Remove bsdpak -- not maintained any longer, and pkg_chk does all it
ever did. Closes PR 22765 by Ben Collver.
2003-09-12 21:57:51 +00:00
grant
6078a6d2e6 ensure GID_MAX and UID_MAX are defined, fixing build of mtree and pax
after latest rototill.
2003-09-11 11:27:38 +00:00
grant
a77ed0a130 back out revision 1.22 which broke statfs() on Linux and FreeBSD
systems which have both statfs() and statvfs().

while it would be nice to have an OS-independent way of testing
whether to use our statfs() implementation, in reality it is much more
reliable to only use it where required.
2003-09-11 11:26:09 +00:00
grant
fb5ee43622 ensure S_ISTXT is defined if not defined in sys/stat.h. 2003-09-11 10:57:20 +00:00
reed
1d55b12a06 Improved DESCR and COMMENT. Changed HOMEPAGE. (Okay'd by jlam.) 2003-09-11 07:14:42 +00:00
jmmv
3937b7428e Add the FQDN (using hostname) to the tags list, in case it differs from the
short name (hostname -s).  Fixes PR pkg/22734 by Eric Schnoebelen.
Bump version to 1.40.
2003-09-10 19:12:52 +00:00
jmmv
07827a2b01 Fix typo. 2003-09-10 19:04:53 +00:00
jlam
2604176f00 Pull in rev 1.49 of perform.c from src/usr.sbin/pkg_install/info. This
fixes a bug where the pkg_dbdir could no longer be a symlink to a
directory.
2003-09-10 17:31:49 +00:00
gavan
f9a853f739 Add handling for OpenWin on Solaris. Two files are patched with
sed at install time which override the versions in the /usr/openwin
tree.

PREFIX no longer has a default value, as this relied on nonportable
BSD make syntax. Makefiles generated with pkgxmkmf will now always
need PREFIX set in the environment.
2003-09-10 17:31:40 +00:00
jlam
89a39a4308 Bump version to 20030907. Changes from previous version include:
* Teaching pkg_add(1) to be smarter about how to add a depoted packge.

    * "pkg_delete foo" only deletes foo if it's a unique package.

    * Make "pkg_delete -O foo" for delete file entries for foo from
      pkgdb.byfile.db actually work.

    * Teach pkg_admin(1) two new commands "add" and "delete" for working
      with pkgdb.byfile.db.

    * pkg_view(1) uses the new pkg_admin(1) commands to keep the
      pkgdb.byfile.db files consistent in each view.

    * Man page fixes.
2003-09-09 13:34:11 +00:00
jlam
76fbfed4cf Use pax(1) instead of "cp -R" to install so that we ensure symlinks are
copied instead of followed.
2003-09-09 09:02:30 +00:00
jlam
a1162ddb60 Whee... pkgdb_remove_pkg returns 1 on success, so make the dummy function
return this value.
2003-09-08 05:58:10 +00:00
jlam
6235d89a6c It turns out the comment at the top of pkgdb_open is wrong. It actually
returns 0 if there is an error, and 1 otherwise.
2003-09-08 05:32:56 +00:00
jlam
f9108a4a31 Substitute for various program paths used by the linkfarm(1) and
pkg_view(1) shell scripts.
2003-09-08 04:49:05 +00:00
jlam
21307bd330 The pkgdb_* functions should be no-ops on platforms that don't have the
db*() functions, so make the dummy pkgdb_open() always return 0 for a
successful open of the package dbfile.
2003-09-08 02:09:04 +00:00
jlam
cac1917e6d Return the documented value "0" instead of EXIT_SUCCESS, which while it may
happen to be "0", isn't what's being explicitly returned.
2003-09-08 02:07:42 +00:00
jlam
81a729e266 Exit if there's a problem building in one of the subdirectories instead of
pretending nothing is wrong.
2003-09-08 01:36:45 +00:00
jmmv
5850066843 Update to 1.10:
* Sync with audit-packages: use the new pkg-vulnerabilities file.
* Check if the version of pkg_install inside the chroot is up to date before
  building anything.  If not, force a rebuild automatically.
* Disable all those ugly sync's after fsumount (were added because I had
  some strange problems, IIRC).  You can reenabled them by setting
  SYNC_UMOUNT=yes in the configuration file.
2003-09-07 22:31:18 +00:00
jlam
addc4bd8a7 Update pkgtools/x11-links to 0.14. Changes include supporting
XFree86-4.3.x (or NetBSD-current xsrc) and listing more files for
XFree86 on Darwin.
2003-09-07 21:53:02 +00:00
jlam
86d4fea164 Check that Mesa/GLU is builtin. 2003-09-07 19:40:42 +00:00
jlam
515d606ffb Add back the GLU files and some additional files in XFree86-4.3.x. 2003-09-07 19:30:23 +00:00