Commit graph

975 commits

Author SHA1 Message Date
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