Commit graph

3300 commits

Author SHA1 Message Date
joerg
18d8ba7ebd Don't build pkg_io.c during bootstrap. 2008-04-06 17:47:27 +00:00
joerg
0d4cca2484 Fix audit -t argument -- it should actually take the option. 2008-04-04 21:45:33 +00:00
tnn
f923a1ef51 -lfetch to make it build. PR pkg/38365. 2008-04-04 20:46:59 +00:00
joerg
3c5055ef91 pbulk-0.29:
Add bulkbuild-restart script that checks if error/success files exist
and makes sense and continues the previous build if they do.
2008-04-04 17:58:59 +00:00
joerg
5990cd6523 Also switch pkg_admin's fetch-vulnerabilities implementation to
libfetch.
2008-04-04 15:47:01 +00:00
joerg
3cb9e8532d pkg_install-20080404:
Switch pkg_info to use libfetch for remote access.
2008-04-04 15:21:32 +00:00
joerg
6d93d84461 libnbcompat-20080404:
Add an implement of timegm(3) from nsd (based on Python code).
2008-04-04 15:20:33 +00:00
joerg
6279818d31 Add an implement of timegm(3) from nsd (based on Python code). 2008-04-04 15:20:00 +00:00
joerg
25637e137b Add an implement of timegm(3) from nsd (based on Python code). 2008-04-04 15:19:10 +00:00
jlam
a8d98ad4bf Override PKG_INFO_CMD to point to the just-built pkg_info so that
pkg_install can install using newer features without warnings.
2008-04-03 14:22:26 +00:00
jlam
dca8b98cde Invoke the correct pkg_admin command during post-installation. 2008-04-02 13:23:31 +00:00
tron
93f9a70abf Use a workaround to prevent a linker error on Mac OS X Leopard.
Reviewed by Joerg Sonnenberger and approved by Dieter Baron.
2008-03-31 16:52:13 +00:00
gdt
205b55abd1 Separate 'make clean' from 'make package', so that clean is not
skipped with -r.  DISTNAME++.  Fixes PR pkg/38283.

Reviewed and tested by tnn@.
2008-03-31 11:41:09 +00:00
dsainty
0eec92f6dd Correct typo in usage message: vulneraiblities -> vulnerabilities 2008-03-23 01:04:47 +00:00
joerg
42c387859a Request getopt with optreset support from libnbcompat. 2008-03-21 23:28:33 +00:00
joerg
46474f9f02 libnbcompat-20080322:
Add an option to force a BSDish getopt (e.g. one with optreset).
Use the correct macros to decide when to define optind and friends.
2008-03-21 23:28:08 +00:00
joerg
ae389f8ee9 Revert last change. The symbol is already defined in
lib/vulnerabilities-file.c and making it a common symbol just hides the
real issue (whatever it is).
2008-03-21 14:47:53 +00:00
jklos
2ae724aeb2 Fixes pkg/38250 and makes pkgsrc work on Darwin again. Thanks to
Christian Neukirchen.
2008-03-21 08:18:17 +00:00
joerg
c5e343fa4e If this is not a native NetBSD build, use the libnbcompat version of
unistd.h.
2008-03-20 20:26:52 +00:00
joerg
06751e9460 Explicitly include fcntl.h for Solaris. From PR 38240. 2008-03-19 15:33:12 +00:00
joerg
67bb1dc761 Fix bootstrap build. From Stoned Elipot. 2008-03-15 10:55:34 +00:00
joerg
47338958a0 Needs unistd.h. 2008-03-15 10:46:08 +00:00
joerg
9794279905 bootstrap-mk-files-20080310:
IRIX and Linux don't provide lorder in all cases, so just skip
the logic for the resorting before building ar(1)chives.
2008-03-13 17:28:23 +00:00
joerg
89cfa8c5c4 pkg_install-20080313:
Audit functionality for pkg_admin. This uses the backend in
libpkg_install and will be extended to check for vulnerabilities at
pkg_add time later.
2008-03-13 16:35:30 +00:00
wiz
6a268616e6 Fix download-vulnerability-list's -c option. From Jim Bernard in PR 38231. 2008-03-13 08:37:43 +00:00
joerg
2274b33c19 pkg_install-20080311:
If the package db directory doesn't exist, handle it like an empty
pkgdb and just return.
2008-03-11 18:01:35 +00:00
tnn
bcc3a75940 Add an EXAMPLES section. 2008-03-11 01:53:05 +00:00
tnn
f6d2ec23a6 Add a suggestion from Aleksej Saushev. 2008-03-10 22:01:04 +00:00
wiz
c663245bff Add datarootdir to shut up configure. 2008-03-10 12:14:32 +00:00
wiz
07a4f5d2e6 Remove pprefix (accident?). Add datarootdir to shut up configure. 2008-03-10 12:13:55 +00:00
joerg
f473241bc3 Don't print errno for missing GPG setting. 2008-03-09 22:26:56 +00:00
joerg
c0e008f2f1 Stop chdir/getcwd/fchdir dance in lsall and lsbest, just use the passed
in path name. This is more consistent when symbolic links are involved
as it doesn't do the equivalent of realpath(3) for the path any longer.
2008-03-09 20:55:25 +00:00
joerg
849d11cabb pkgdb.byfile.db maintainance can use the iterator interface as well.
Get rid of more chdir() calls.
2008-03-09 20:36:22 +00:00
joerg
a56a864b83 Use pkgdb function to compute +CONTENTS name and drop need to play
chdir(2) games. Kill the chdir(2) calls.
2008-03-09 19:25:16 +00:00
joerg
4aec8613d2 Split check functions into a separate file.
Drop checkall and implement it using "*" as wildcard match.
2008-03-09 19:02:27 +00:00
joerg
543123b86f pkg_install-20080309:
- When loading meta data for a package and a file is needed for the
  current operation and is a required file, complain.
- Include the name of the package the meta data could not be loaded
  from.

This addresses PR 38166.
2008-03-09 18:03:46 +00:00
rillig
d3e9cc4b03 There's more to do ... 2008-03-06 09:34:41 +00:00
rillig
f19531b649 Updated pkglint to 4.85.
Changes since 4.84:
- Fixed the splitting of PKGNAME into PKGBASE and PKGVERSION.
- Added a warning about usage of LOCALBASE in packages, provided by jlam.
2008-03-06 08:54:12 +00:00
rillig
819cdb9f48 The LOCALBASE variable should not be used in packages, it should just be
defined in mk.conf. Suggested by jlam, who also provided the excellent
explanation (see "pkglint -e" for it).
2008-03-06 08:51:36 +00:00
rillig
d4515f0e08 After the recent fixes by wiz, the regular expression for splitting a
package name into PKGBASE and PKGVERSION has been changed. It treats
everything in front of the last hyphen as the package basename and the
rest (which will hopefully start with a digit) as the package version.
Packages that are affected by this change are for example:

* fonts/*-100dpi
* lang/elisp-manual: elisp-manual-21-2.8
* mail/postfix-current: postfix-2.6-20080216
* net/flodo: flodo-4-20040907
2008-03-06 08:37:26 +00:00
jlam
1f46ad2c51 Note removal of tnftp and pax. 2008-03-06 04:46:46 +00:00
jlam
84fa8ca684 + Remove pkgtools/pax and pkgtools/tnftp as they are no longer different
from archivers/pax and net/tnftp, respectively.  In the past, the
  pkgtools version of these packages installed into ${PKG_TOOLS_BIN},
  but this was changed in:

	pkgtools/pax/Makefile:1.15
	pkgtools/tnftp/Makefile:1.3

+ Get rid of archivers/pax/Makefile.common and net/tnftp/Makefile.common
  by merging them into their respective Makefiles.  The Makefile.common
  files existed solely for inclusion by the pkgtools versions of these
  packages, but with the removal of those packages, these files are
  now unnecessary.

+ Add full DESTDIR support to archivers/pax and net/tnftp.

+ Modify the bootstrap to build archivers/pax and net/tnftp instead of
  the pkgtools versions of these packages.
2008-03-06 04:45:58 +00:00
tnn
0541dead28 Add TODO item from PR pkg/38178. 2008-03-05 21:14:05 +00:00
rillig
bbabef332e Using AUTO_MKDIRS is simpler. 2008-03-01 19:07:27 +00:00
rillig
fcf2370845 Why does pkg_add need many open file descriptors? 2008-03-01 19:06:10 +00:00
rillig
6329c16a16 Removed trailing white-space. 2008-03-01 19:04:37 +00:00
rillig
b32b7657bb Replaced the deprecated INSTALLATION_DIRS_FROM_PLIST with AUTO_MKDIRS,
to shut up the pkglint warnings.
2008-02-28 11:58:47 +00:00
rillig
e526eb1a96 Allow zero white-space in line 4 of buildlink3.mk files. This was hit by
devel/ncursesw.
2008-02-27 00:24:19 +00:00
joerg
1c42d625e1 pbulk-0.28:
- don't try to deinstall (and fail) on packages marked not for uninstall
2008-02-26 13:57:51 +00:00
joerg
60733a045e Use pkg_add from new build, override *_CMD instead of the full commands.
Drop some no longer used overrides.
2008-02-26 13:38:57 +00:00