Commit graph

1220 commits

Author SHA1 Message Date
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
wiz
b2737050c4 Sync internal name of dummy package containing pkg-vulnerabilities
to "pkg-vulnerabilities" for consistency. Noted by Sebastian Prause on tech-pkg.
No functional change, so no version bump.
2003-09-07 15:07:10 +00:00
grant
122e470b55 update version according to autoconf to match reality 2003-09-06 23:05:40 +00:00
grant
8e24fcd47f fix some rcsids 2003-09-06 23:03:00 +00:00
jlam
573a9192d0 Also check for presence of <sys/statfs.h>, and pretend we don't have it if
we use libnbcompat's statfs.
2003-09-06 12:45:47 +00:00
jlam
caa5e5f5b4 Remove the PKG_INSTALLATION_TYPES setting again... this shouldn't be here
yet.
2003-09-06 12:22:26 +00:00
jlam
7943cdd0f8 Modify autoconf tests so that we'll reliably implement BSD statfs()
using statvfs() on systems that provide it.  I'm assuming that the
SVR4 statvfs() is a standardized call across systems that have it.
This should allow IRIX to build the statfs call into libnbcompat.
2003-09-06 12:21:45 +00:00
wiz
e79d30d493 Update to 3.60: adapt for vulnerability file name change. 2003-09-06 08:52:58 +00:00
jlam
d722e66da4 Ensure that struct option is defined properly before accepting that having
getopt.h implies having getopt_long.  Also Fix checks for setmode, pwcache,
and vis so that if any of a list of functions is missing, then use the
nbcompat versions.
2003-09-06 06:13:46 +00:00
grant
8b31674747 fix missing include of getopt.h by including nbcompat.h. 2003-09-06 04:28:16 +00:00
jlam
bdc7bb06a9 Oops, we're not supposed to convert packages to be able to use pkgviews
yet (BTW, this Just Works for anyone interested).
2003-09-06 01:39:29 +00:00
jlam
def1651b81 nbcompat/sha2.h is no more in libnbcompat-20030830. 2003-09-06 01:37:17 +00:00
jlam
880fe6e4f7 Update pkgtools/libnbcompat to 20030830. Changes from the previous
version are removing sha2* object files from libnbcompat.a.  It turns
out that the functions defined there aren't provided by NetBSD, so it
makes no sense for libnbcompat to define them, and none of the
utilities in pkgsrc that link against libnbcompat actually use these
functions anyway.
2003-09-06 01:35:07 +00:00
jlam
5685de4d03 Add back setmode.c which is still needed on systems that don't have
{get,set}mode() that was accidentally deleted.
2003-09-05 22:19:30 +00:00
jlam
3d58e02200 Make this build using libnbcompat-20030829. Several files from the older
libnbcompat where moved into mtree/files since they logically belong
together (and are that way in the NetBSD src tree).
2003-09-05 18:38:58 +00:00
jlam
60207a145d Update pkgtools/libnbcompat to 20030829. Changes from previous version
include:

    * Move headers out of the global namespace and into the nbcompat
      directory.  Since there are no headers other than nbcompat.h in
      ${PREFIX}/include/libnbcompat, just install it directly in
      ${PREFIX}/include.  Using libnbcompat is now a matter of including
      nbcompat.h at the top of *.c files and linking against -lnbcompat.

    * Only build functions into libnbcompat.a if they aren't already in
      the system libraries.

    * Move several *.[ch] files that are pax- or mtree-specific out
      of libnbcompat (they should belong with those packages).

On NetBSD 1.6 systems, libnbcompat.a now contains just the bare minimum:
the sha2 routines.
2003-09-05 18:35:49 +00:00
grant
5d0b8ba7b7 update mtree to 20030905:
* sync with -current
* fixes for libnbcompat new world order
* autoconf and Makefile cleanup
2003-09-05 04:38:44 +00:00
reed
2bb1f26c0d Improved COMMENT. (Okay'd by grant.) 2003-09-05 03:58:21 +00:00
jlam
fcaad16176 Allow this to compile on systems without vfork by #define'ing it to fork.
This is okay since we just do vfork()/exec() in lib/ftpio.c and don't rely
on any vfork vs. fork semantics.
2003-09-04 20:34:04 +00:00
jlam
4e37479c34 Use AH_TEMPLATE when we use AC_DEFINE so that autoheader can generate the
symbol and comment in nbconfig.h.in for us in the correct place.  The
previous way of using AH_BOTTOM also worked but separated the symbol
definition from the accompanying C comment text, which was a little harder
to maintain.
2003-09-04 20:20:08 +00:00
jlam
a4fd047c90 Update pkgtools/libnbcompat to 20030828. Changes from previous version
include making mkdtemp() return the correct values on systems that use
libnbcompat's mkdtemp.  Fix by jschauma@netbsd.org.
2003-09-04 01:51:15 +00:00
jlam
ee4ef77170 Update pkgtools/libnbcompat to 20030827. Changes from previous version
include only building __fts13.o into libnbcompat.a if the fts_*()
functions aren't present in the system.
2003-09-03 16:38:36 +00:00
jlam
ebb438dccb Put back <sys/vfs.h> lost in last update. 2003-09-03 14:22:57 +00:00
jlam
35ae38a50f Update to pkg_install-20030824. Changes from the previous version include:
* Check for errors in reading from the file descriptor for the ftp
      process, and correct the error messages.

    * Nuke some code for older NetBSDs that's better handled in
      pkgtools/libnbcompat.

    * Don't prevent user from using views other than the default view.
2003-09-03 14:05:59 +00:00
jlam
5fe1f0551a Add and remove some files I forgot to in the last commit. 2003-09-03 13:35:54 +00:00
jlam
deadfb61c8 Add and remove some files I forgot to in the last commit. 2003-09-03 13:35:45 +00:00
jlam
16ddd24bdb Update pkgtools/libnbcompat to 20030826. Changes from previous version:
* Properly declare statfs() and fstatfs() if we use the libnbcompat
      versions.

    * Move some headers into a private directory in the installed
      location so that they don't override headers of the same name
      on the system.

    * Define TAILQ_HEAD_INITIALIZER if it doesn't exist.

    * Add a poll() implementation using select() for poll()-less systems.
      Thanks for Charles Blundell for the implementation!

    * Fix the vis.h check for systems whose vis() is not as featureful
      as NetBSD's.
2003-09-03 13:11:11 +00:00
jlam
8895f41caf Put back several includes lost in the update that should fix builds on
Solaris and Linux.
2003-09-03 12:32:50 +00:00
jlam
f8184589ff Update pkgtools/libnbcompat to 20030825. Changes from version 20030824
are moving the definitions of the TAILQ accessor methods into the top level
of nbcompat.h.  This should fix using nbcompat.h to replace sys/queue.h
on Linux systems.
2003-09-03 07:07:04 +00:00
tron
2016c74f49 Add missing include files. 2003-09-03 06:16:08 +00:00
jlam
5619137743 Actually, extern.h and stat_flags.h are used by pkgtools/mtree.
XXX This should really be done in a different way than installing some
XXX globally-accessible header called "extern.h".
2003-09-03 03:43:45 +00:00
jlam
63ea2414a6 Update pkgtools/libnbcompat to 20030824. Changes from previous version:
* Don't install namespace.h, extern.h and stat_flags.h, which are
      only used internally.

    * Clean up util.h by using '#if !HAVE_xxx' instead of
      '#ifndef !HAVE_xxx', removing some LIST_* definitions that are
      defined by <nbcompat.h>, and removing static declarations.

    * If fparseln is in libutil (as it is in NetBSD), then don't build
      it into libnbcompat.a.
2003-09-03 03:28:23 +00:00
jlam
eecbe2144e Use '#if !HAVE_xxx' instead of '#ifndef HAVE_xxx' to cover cases when
-DHAVE_xxx=0 is set on the command-line.
2003-09-03 01:55:56 +00:00
jlam
c0b994c4c8 We don't need to build cat1 files since they're part of the sources, so
no need to require the text utilities.
2003-09-02 22:34:04 +00:00
jlam
3f78dd5424 libnbcompat/buildlink2.mk does more magic for us, so do less here. 2003-09-02 22:30:46 +00:00
jlam
4ff65f12e6 If the package uses GNU_CONFIGURE, then automatically add the necessary
options to find the headers and libnbcompat.
2003-09-02 22:19:03 +00:00
jlam
287bd97a65 BUILDLINK_LDADD.libnbcompat contains the options to add to the compiler to
link against libnbcompat.
2003-09-02 22:14:51 +00:00
jlam
45dba79b8a The *.0 files belong in $(mandir)/cat1. 2003-09-02 22:06:25 +00:00
seb
94aba904f2 Fix EXTRACT_ONLY. (Johnny please get some sleep :) 2003-09-02 10:41:38 +00:00
grant
aefcbd4ca5 allow this to build on -current after groff update to 1.19. 2003-09-02 09:08:52 +00:00
jlam
5cbadd5e70 Sync to latest pkg_install sources from the HEAD for pkg_delete
optimizations and man page fixes.  Also use recent src2nbcompat to reverse
the order that "config.h" and <nbcompat.h> are included in *.[ch] files.
2003-09-02 08:28:22 +00:00
jlam
e6a9f770c3 Only copy new files into place if they're different from the original file,
modulo $NetBSD$ tag differences.
2003-09-02 08:26:35 +00:00
jlam
df790619d3 Reverse the order that the config.h file and <nbcompat.h> are included,
since the latter has all sorts of checks to make sure we don't stomp on
any macros defined in config.h, but the reverse isn't true.
2003-09-02 08:07:16 +00:00
jlam
b191d33c41 Update pkgtools/x11-links to 0.13. This package now uses buildlink3
to build.  I'm bumping the version number just in case the installed
package is different from version 0.12 (I can't test on different
systems).
2003-09-02 07:14:39 +00:00
jlam
fa35a58150 Solaris needs to include <sys/vfs.h> to get definitions for statvfs(). 2003-09-02 02:05:22 +00:00
jlam
ecf2225023 Older awks don't like gensub() so use sub() instead. 2003-09-02 01:54:39 +00:00
jlam
3319ebf79b We only need to step carefully in the Solaris case for statfs(), but
otherwise we can trust statfs() if it's on the system.
2003-09-02 01:45:14 +00:00
jlam
1714c64e33 Re-add the checks for HAVE_CHFLAGS and HAVE_DBOPEN so that this can build
on systems that don't have either function.
2003-09-02 01:37:04 +00:00
jlam
68343ad3b2 Document the actions taken by the tree-conversion script. 2003-09-01 22:49:42 +00:00
wiz
9ded9e4ce9 Drop trailing space; sort sections; sort SEE ALSO. 2003-09-01 16:51:45 +00:00
wiz
709ef68ba6 Sort SEE ALSO, pkg_view(1) not pkg_views(1). 2003-09-01 16:51:31 +00:00
jlam
2b8f551f54 Update pkg_install to 20030823, which has the changes to support
package views.  Pkgsrc changes include:

* Convert to use pkgtools/libnbcompat so that it's easier to keep
  this in sync with src/usr.sbin/pkg_install.

* Add a src2nbcompat script that converts src/usr.sbin/pkg_install
  into an appropriate start for pkgtools/pkg_install.  The script
  removes the Makefiles, adds CPP inclusion guards around each
  #include <...> line, and includes <nbcompat.h> at the top of each
  *.c file.  This should make it even easier to keep sources in
  sync with the HEAD.
2003-09-01 16:27:07 +00:00
jlam
0c71abea7b Bump version to 20030823:
* Add mkdtemp, TAILQ_*, and statfs.

* Install a nbconfig.h file containing the discovered system information
  and include it directly in nbcompat.h.  Make all files use nbconfig.h
  instead of config.h.  Ensure that all installed headers don't include
  any local header files.  This makes libnbcompat more self-contained.

* Consistently use "#if HAVE_HEADER_H" instead of "#ifdef HAVE_HEADER_H"
  since sometimes people put -DHAVE_HEADER_H=0 on their command lines.
2003-09-01 15:31:14 +00:00
jlam
716e03ab32 Tighten up this file by removing an unnecessary inclusion of bsd.prefs.mk. 2003-08-31 20:22:09 +00:00
jlam
241e4f4fb2 This package is needed to bootstrap pkgsrc, so don't do tools, buildlink,
or run mtree.  Also ensure that we call the pkg_install commands with no
options so that we install properly without recent pkg_install tools.
2003-08-31 12:02:56 +00:00
jlam
80667b1247 Do previous in another way: simply define PKG_ADMIN to be the command that
we want it to be.
2003-08-31 11:55:09 +00:00
jlam
05be31747a Explicitly call pkg_admin(1) using "PKG_DBDIR=... pkg_admin" so that we
don't use any options/flags not supported by pkg_admin that may be a part
of ${PKG_ADMIN}.
2003-08-31 11:11:20 +00:00
jlam
b8762b0a9d Fix whitespace 2003-08-31 11:06:02 +00:00
jlam
8b2c221221 Remove lines that have no effect since they're all conditional on
${OPSYS} == "NetBSD".
2003-08-31 10:55:26 +00:00
wiz
79cf4123e4 Bump date for last; drop trailing space. 2003-08-30 23:17:31 +00:00
jlam
b2677a2cb0 Add definitions for DEINSTALL_EXTRA_TMPL and INSTALL_EXTRA_TMPL if
USE_PKGINSTALL is "YES".  bsd.pkg.install.mk will no longer automatically
pick up a INSTALL/DEINSTALL script in the package directory and assume that
you want it for the corresponding *_EXTRA_TMPL variable.
2003-08-30 22:51:11 +00:00
jmmv
c51f629e84 Update to 1.9:
- Introduce two new variables, MOUNT_SCRIPT and UMOUNT_SCRIPT, that let the
  user specify a script file run after mounting known filesystems and before
  unmounting them, respectively.  Patch by seb@, thanks!
2003-08-30 21:11:30 +00:00
jlam
2920a32c71 Prepare for pkgviews by making sure that passing VIEW-INSTALL or
VIEW-DEINSTALL to the INSTALL/DEINSTALL scripts don't cause errors.
2003-08-30 20:22:49 +00:00
jlam
e760c0d462 Modernize this package a bit:
* Use bsd.pkg.install.mk instead of supplying custom INSTALL/DEINSTALL
  scripts.

* Note that this package doesn't really use buildlink.

* Remove ancient BUILDLINK_DEPENDS= line at the bottom of the file that
  we no longer need since the buildlink1 days of yore.
2003-08-30 11:08:22 +00:00
jlam
f09a76d361 xpkgwedge isn't only for NetBSD. 2003-08-30 10:46:05 +00:00
abs
636c979c40 Update pkglint to 3.59 - handle bsd.pkg.mk's assumption that the caller is in
pkgsrc/some/dir
2003-08-28 14:44:55 +00:00
jmmv
d34c1dce87 Drop advertising clause from UCB licensed code, following changes done in
NetBSD's source files.
2003-08-27 12:25:40 +00:00
jschauma
aa0aa518ac Finally remove support of Mesa 3.4.1 completely as discussed at length
on tech-pkg@ at various times.  This means that regardless of what kind of
GL support comes with X11, if a package depends on GL, Mesa 5.0.1 (or higher)
will be installed into ${LOCALBASE}.

Some troubleshooting after the latest patches by Krister Walfridsson.
2003-08-26 01:43:48 +00:00
seb
8f88970627 Update to version 0.113.
Pkgvi fix: deal with pathnames like `dir-with.a-dot/file-without-dot'
for which the temporary file pathname hold in $tmp ended up as
`dir-with.a-dot/file-without-dot.$$.a-dot/file-without-dot'.
2003-08-23 19:40:18 +00:00
wiz
01c6ba7ddf Add and enable rdigest. 2003-08-07 08:20:52 +00:00
dmcmahill
b2a7d43adf s/netbsd/NetBSD/ 2003-08-03 15:17:51 +00:00
wiz
35cdf1cc65 Add a space in an error message. 2003-08-02 19:51:45 +00:00
jschauma
7fe8dcf6a6 Add the err.h header, so we can use it on systems that don't provide err.h
(functionality already in the library, just the header was missing).
Bumpt date to today.
2003-07-31 22:40:26 +00:00
seb
138aba22b3 Update to version 3.58.
Teach pkglint about new rules related to info files handling.
- remove old checks of PLIST related to install-info.
- emit a FATAL error for "@exec install-info" and similar in PLIST.
- emit a FATAL error for inclusion of texinfo.mk.
2003-07-31 15:13:21 +00:00
grant
e173909669 also install man page source, no version bump as this is not yet in
sync with -current, and no functionality change.
2003-07-31 09:51:00 +00:00
grant
c95c646229 also install man page source, bump to 20030731. 2003-07-31 09:30:27 +00:00
jmmv
12a10361a1 Set USE_PKGINSTALL instead of directly including bsd.pkg.install.mk. 2003-07-30 10:41:22 +00:00
cjep
e1bd9b7063 Respect ${MAKE} so that this works out of the box on non-NetBSD. 2003-07-25 09:24:59 +00:00
wiz
a175673769 Check if HOMEPAGE URL has a trailing slash if it only consists of a hostname.
From Ben Collver in PR 22215.
Bump to 3.57.
2003-07-24 07:54:45 +00:00
atatat
783fa5270c A strange meta-package of a sort, rdigest is implemented as a jumbo
patch to the well-known digest package.  The output is the same for
files, but if rdigest is given a directory as an argument, it will
recursively checksum the directory in such a manner as to:

(1) give a repeatable checksum
(2) with no regard for file ownership
(3) or timestamps
(4) or modes
(5) while taking into account empty files and directories

such that the checksum of an extracted tar file will match the
checksum of the same tree as retrieved via cvs, or two allegedly
matching trees from different cvs servers, etc.
2003-07-24 05:21:04 +00:00
atatat
677c3a74db Fix the usage line. Addresses PR pkg/22207. 2003-07-24 00:27:09 +00:00
martti
8cee801716 COMMENT should start with a capital letter. 2003-07-21 17:10:16 +00:00
seb
e59a7f655d Remove AC_FUNC_MALLOC: there is no need to check for a compatible GNU malloc
as there is no call to malloc(0) in this code.
As a side effect, need to explicitly add a check for <stdlib.h>.
2003-07-20 19:55:01 +00:00
jmmv
73ccb5cd27 Properly set LD_PRELOAD in the environment so libkver works properly.
Pointed out by seb@.
2003-07-20 16:05:04 +00:00
jmmv
4780dff302 Update to 1.8:
- Add the NETBSD_RELEASE variable.  This is used to automatically configure
  pkgtools/libkver inside the chroot so that packages see the right kernel
  version when issuing calls to sysctl(8).  Suggested by seb@.
- Turn on emacs editing mode by default in sh/ksh.
2003-07-20 15:54:46 +00:00
seb
06c5a4ac05 Add support for picking up KVER_OSRELEASE in "/etc/mk.conf": both
when used as standalone sources and -as MAKECONF is set to /dev/null in
MAKE_ENV by bsd.pkg.mk- as package sources.
2003-07-20 15:37:46 +00:00
seb
3acd4bb717 Use english not french! 2003-07-20 13:56:25 +00:00
wiz
04f62f706a Change address of maintainer per PR 22170. 2003-07-19 08:54:23 +00:00
grant
dc2db97466 bump to 20030718 2003-07-19 03:05:39 +00:00