Commit graph

3756 commits

Author SHA1 Message Date
joerg
d0c565a211 Define int64_t if missing. Should fix PR 41396. 2009-05-09 01:45:10 +00:00
schmonz
fb067c2ce4 Attempt to apply a bit of DWIM to previous (PR 41368). 2009-05-07 00:23:45 +00:00
joerg
13d518c33c Deal with missing PATH_MAX as reported in PR 41368. 2009-05-06 16:57:31 +00:00
abs
4882946a9e Updated pkgtools/pkg_chk to 1.99
Add missing ^ to one PKGPATH= regex to ensure we do not pick up PREV_PKGPATH
or similar
2009-05-04 22:45:16 +00:00
wiz
4148b5110a Remove trailing whitespace. Spelling. Punctuation nits. Remove superfluous
.Pp.
2009-05-04 20:45:41 +00:00
wiz
e7e00f0a01 Add slash to pattern. From Steven Drake in PR 41092.
Bump PKGREVISION.
2009-05-04 13:43:39 +00:00
reed
e5e9ad0a4c Add PREV_PKGPATH and/or SUPERSEDES for various packages that
were moved or renamed.

This was for some from 2008 and 2009 and one from 2001.

Also I noticed that a CHANGES entry was wrong as said "Renamed"
when should have said "Moved" (lua-OSBF) because PKGBASE stayed the
same.
2009-05-02 16:21:43 +00:00
reed
93688a0e21 Add new metadata: PREV_PKGPATH and SUPERSEDES.
These will be available from pkg_summary(5) database.
To be used to find previous packages when a package is moved
or renamed. (Even though that is not recommended.)

Documented in pkgsrc Guide and in the pkg_summary(5) manual page.

Upcoming commit will have some packages modified to add them.
2009-05-02 16:14:37 +00:00
rillig
91d450247e Removed unnecessary code. 2009-04-26 16:08:40 +00:00
rillig
fdf64b0232 Optimized the doc/CHANGES handling to get the get_doc_CHANGES function
out of the top-15 time consumers, as measured by DProf. The execution
time decreased by about 15 percent.
2009-04-26 12:51:35 +00:00
rillig
73936ab2c5 Documented the recent addition of the PkgPath type. 2009-04-26 11:27:42 +00:00
rillig
6c95e4608d Added a check that ensures that all types in makevars.map actually exist
in the code, avoiding "Type not found" fatal errors at runtime. In this
case, only the variables *_SPECIFIC_PKGS were affected.

The real problem that induced the above change was the unknown type
"List of Pathname", which was a bug in the pkglint code itself,
introduced three years ago (revision 1.574).
2009-04-26 11:24:23 +00:00
rillig
913279e304 Added <para> tags so the document validates again. 2009-04-26 11:00:17 +00:00
rillig
aa1693c3f7 Removed unused functions. 2009-04-26 08:44:42 +00:00
joerg
2f64176828 Regen. 2009-04-25 21:32:45 +00:00
joerg
28926842fa pkg_install-20090425:
Add logic to evaluate license conditions. As frontend for pkgsrc,
pkg_admin gets two new commands (check-license and
check-single-license), which can be used to evaluate a given condition.
pkg_add will be changed to honour licenses at a later point.
2009-04-25 21:31:13 +00:00
joerg
5baf67d213 Regen. 2009-04-24 14:13:06 +00:00
joerg
dbe6fb0a8c pkg_install-20090424:
Make pkg_delete -d the default behavior, remove the option.
Remove pkg_create -R support (reorder @dirrm entries).
Introduce new plist command @pkgdir, which makes pkg_add add
this directory if it doesn't exist already and pkg_delete remove it
only if no other package has a @pkgdir entry for it. Otherwise
directories are pruned when the last file or directory in them is
removed. @dirrm is now a pure hint, if the directory doesn't exist, it
will be silently skipped.
2009-04-24 14:00:25 +00:00
joerg
76d122cd42 Constify. 2009-04-24 01:03:41 +00:00
joerg
3a4f443ed9 If the plist doesn't have a @name tag in it, fake one up based on the
directory name.
2009-04-23 22:13:00 +00:00
tron
a07d62d8a7 Update "rpm2pkg" package to version 2.2. Changes since version 2.1.1:
- Switch to 2-clause BSD license.
- Compile with extra warnings (again) if GCC is used as the compiler.
- Fix build warnings reported by "-Wsign-compare".
2009-04-23 21:38:02 +00:00
joerg
ee93491f09 Require all plist commands to be in lower case. Nothing depends on that
and it was never documented that it worked either way, so being strict
doesn't hurt.
2009-04-23 19:53:52 +00:00
joerg
3748569021 Remove support to spell of @cwd as @cd. 2009-04-23 19:38:14 +00:00
joerg
6dc281ec17 Remove remaining parts of @mtree support. 2009-04-23 19:35:52 +00:00
joerg
7216c47ead Remove support and documentation for @ignore_inst. 2009-04-23 19:34:04 +00:00
joerg
4d7ee3338c pkg_install-20090422:
Consider EOF during signature scan a fatal error. At the very least, the
package is missing the +CONTENTS file at that point. Correctly reset the
entry pointer in that case and make the meta data extraction stricter,
avoiding NULL dereferences for invalid archives.
Fixes pkg_info -X crash on empty files as reported by Daniel Horecki.
2009-04-22 19:18:06 +00:00
joerg
9ee86af3f2 Regen. 2009-04-22 19:14:16 +00:00
joerg
831ff9838f Document pkg_admin fetch-pkg-vulnerabilities -u. 2009-04-22 19:13:54 +00:00
schmonz
bda470b62f Include LICENSE in the template Makefile. Bump version. 2009-04-22 04:54:48 +00:00
joerg
1cde2cc7fd Always declare optreset.
XXX optreset should be removed here, it can't be used correctly with a
GNU getopt_long implementation without touching the environment.
2009-04-14 17:34:41 +00:00
joerg
f149e75ff0 libnbcompat-20090409:
Resort and improve getopt_long detection. Should fix issues on Interix
reported by mishka@ and QNX problems reported by Sean Boudreau.
2009-04-13 11:30:46 +00:00
reed
00b6b96445 Remove mention to install security/audit-packages (which no longer
exists) and suggest audit capabilities of pkg_admin instead.
Update version.
Regeneration of cat page also caught up with some previous cleanups.
2009-04-10 04:03:11 +00:00
joerg
8857e1e1dc NO_MTREE and NO_PACKAGE are obsolete. 2009-04-09 00:55:12 +00:00
joerg
368d71b62e Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions. 2009-04-09 00:48:06 +00:00
joerg
d0076c3403 Remove the remaining NO_MTREE definitions, it has been a nop for a
while.
2009-04-08 22:43:23 +00:00
tez
0521d1c465 Much simpler fix for PR/41125
Approved by agc
2009-04-07 23:42:17 +00:00
joerg
3238d0ace2 pkg_install-20090406:
Remove premature return that broke dependency tracking for pkg_add -u.
Fixes PR 41143.
2009-04-06 14:34:15 +00:00
rillig
195fbce98e take case-insensitive filesystems into account. 2009-04-05 13:05:16 +00:00
rillig
6d0f18a109 Added a warning for the old buildlink3.mk format. 2009-04-04 18:36:04 +00:00
imil
23b596b5db Corrected pkg_select version in DISTNAME, new PKGREVISION 2009-04-03 16:06:43 +00:00
joerg
2218854d15 Remove trailing \n in warnx call. Pointed out by seb@ 2009-03-30 19:26:39 +00:00
wiz
5a55bff264 Fix substitution per PR 41092 from Steven Drake.
Bump version.
2009-03-29 09:09:17 +00:00
wiz
41484e8c9d Fix build with gtk-2.16.
Convert to user-destdir.
2009-03-27 09:24:45 +00:00
joerg
375837bf0b pkg_install-20090326:
Fix diagnostic message to be less confusing to read.
2009-03-26 14:32:39 +00:00
wiz
db21e9345c Improve explanation for missing man pages for sbin/ programs. 2009-03-25 16:33:25 +00:00
rillig
13996e96d2 Added explanations for all warnings that currently appear in wip/dcc. 2009-03-25 14:12:58 +00:00
rillig
1feaf9ef94 + LICENSE_FILE 2009-03-25 14:12:04 +00:00
abs
82a1224f8d Updated pkgtools/pkg_chk to 1.98
- Avoid using -. to pkg_info
- Indicate when using a pkg_summary.gz rather than running pkg_info -X on all
  binary packages
2009-03-25 00:00:52 +00:00
joerg
22edeaef0a pkg_leaves-1.2: Silence error messages from pkg_info. 2009-03-23 00:31:15 +00:00
joerg
0e28d608e9 Improve markup. 2009-03-22 23:42:35 +00:00
joerg
cd6932eb69 libnbcompat-20090322:
Don't use getopt_long as replacement for getopt. It behaves different
and doesn't work well in combination with optreset. Instead use
getopt(3) from NetBSD if requested. Sync getopt_long.c with NetBSD while
here. Addresses issues with pkg_admin on Solaris reported by Tim Zingelman.
2009-03-22 22:33:13 +00:00
rillig
f02a5aab68 Added BUILDLINK_CONTENTS_FILTER.* 2009-03-22 08:17:02 +00:00
rillig
840cc6e053 Fixed the .if/.endif handling in the new buildlink3.mk format. 2009-03-22 05:57:40 +00:00
rillig
2a2a5da56d Oops. :) 2009-03-22 05:50:12 +00:00
rillig
744e7354f2 Updated pkglint to 4.91.
Important changes since 4.90:
- Fixed some issues with "package has been downgraded" warnings.
- The doc/CHANGES-* files can be checked individually now.
- Emit a warning if a package does not define PKG_DESTDIR_SUPPORT.
- In patch files, warnings about absolute pathnames, CPP macros and the
  like are only emitted if the line starts with a "+". If the -Wextra
  option is given, the context lines (starting with a " ") are also
  checked.
- Added support for the new buildlink3.mk format.
2009-03-22 05:47:25 +00:00
rillig
102e800816 Adjusted pkglint to the new format of the buildlink3.mk files, which is
pretty neat.
2009-03-22 05:41:44 +00:00
tnn
b2e981665d pkg_delete: add missing setprogname(argv[0]); 2009-03-21 16:43:50 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
hasso
32ef2c234f More portable way to print st_size which is off_t. Fixes build on DragonFly. 2009-03-20 08:50:51 +00:00
joerg
91e5d9ff5a Specify width for tag list. 2009-03-10 20:33:43 +00:00
rillig
542fef01a4 Implemented the suggestion by abs@ of reducing the number of warnings in
patch files. Up to now, the lines that only provide the context for the
patches have been checked for absolute pathnames and the like. Now, only
those lines that really add something to the patched file are checked.
The context lines are checked when the -Wextra option is given.

While here, added some comments to help me understand the code that I
wrote years ago.
2009-03-10 19:41:21 +00:00
joerg
8de13e20ef Use archive_read_finish and avoid double-free if the archive couldn't be
opened.
2009-03-09 20:01:22 +00:00
joerg
4b68a2dafa pkg_install-20090309:
Fix a double free. Reported by seb.
2009-03-09 19:58:45 +00:00
joerg
fcc1963a3e If writing to the archive failed, tell user the file it tried to write. 2009-03-08 17:26:23 +00:00
imil
c1458f988a Updated pkg_select to version 20090308
. fixed background color on VTE terminals
. fixed live pkgsrc over ftp
. fixed dependencies display
. code cleanup

OK'd by seb@
2009-03-08 16:13:24 +00:00
joerg
b02e7e47c4 pkg_install-20090307:
Simplify archive handling by depending on archive_read_finish and the
close callback where needed. Fixes a file descriptor leak as side
effect as reported by wiz.
2009-03-08 14:50:36 +00:00
snj
d15061e424 Add the pkgconfig file for libXi. 2009-03-08 00:03:37 +00:00
imil
db38909291 removed patches after upstream inclusion 2009-03-07 14:31:42 +00:00
imil
8b529acb26 . included patches/ upstream
. MASTER_SITES change
. fixed WRKSRC
. minor fixes
2009-03-07 14:26:27 +00:00
wiz
290a2cb7f2 Fix documentation -- dewey_cmp and dewey_match texts were swapped.
Noted and patch provided by Mihai Chelaru.

Bump version to 1.1.
2009-03-07 01:44:50 +00:00
tnn
5d68b98b8d joergs says the problem is with &&, so revert to revision 1.4 which should
be safe everywhere.
2009-03-06 15:53:21 +00:00
joerg
0e85145c05 Add explicit cast to silence GCC on comparing different signs. 2009-03-06 15:21:17 +00:00
joerg
4778d3c99e Merge lib/dewey.c rev 1.11 from pkg_install:
Avoid sign comparision issues.
2009-03-06 15:19:04 +00:00
joerg
2901543f5b Avoid sign comparision issues. 2009-03-06 15:18:42 +00:00
tnn
83c08423d2 fix previous:
actually, if our /bin/sh has some bug related to set -e,
it's better to write the test with if-then-fi instead.
2009-03-06 13:05:21 +00:00
tnn
2c965309de Invert logic of the package timestamp check, as at least ksh and bash
terminate the shell due to "set -e" when the [ ... ] part is false.
This behaviour seems correct to me, but I can't explain why this code
doesn't fail with our /bin/sh.
2009-03-06 13:00:29 +00:00
joerg
fbb7f3e773 Explicitly build local libarchive without ACL support, I don't want to
get into the mess of needing to figure out linkage on Linux.
2009-03-04 19:47:20 +00:00
hasso
78eb8fd89a Needs msgfmt. 2009-03-04 17:00:37 +00:00
joerg
9eb91efbb3 pkg_install-20090302:
Add new option -r to pkg_info, which works like -R, but expands it
recursively.
2009-03-02 17:13:49 +00:00
joerg
35f74daf9a Remove a close(-1) as hinted by wiz. 2009-03-02 15:30:45 +00:00
joerg
9b9d6a3ce9 Be nice to stupid version of TAILQ_INSERT_TAIL on Linux, that doesn't
create a block context.
2009-03-02 15:15:06 +00:00
joerg
af07339813 pkg_install-20090301:
Plug a number of file descriptor leaks.
2009-03-02 14:59:14 +00:00
joerg
89f19b4095 libnbcompat-20090302:
Add TAILQ_LAST.
2009-03-02 13:54:55 +00:00
wiz
1bb6451a10 regen 2009-02-28 16:25:46 +00:00
wiz
1f3593dd09 Fix typo. 2009-02-28 16:20:50 +00:00
wiz
f629212fdd Remove trailing whitespace. 2009-02-28 16:19:17 +00:00
joerg
5bdcb8f520 pkg_install-20090228:
Integrate the PKG_PATH logic for tightly with the find_archive logic:
- remember initial current working directory from the time PKG_PATH is
  processed, it will be used as reference for all relative entries
- remove now redundant fchdir dance in pkg_add
- pass down to find_archive if this is a top-level package (e.g.
  requested on the command line) or not; the location of top-level
  packages is searched for packages first and for URLs or path names the
  PKG_PATH itself is not processed (e.g. pkg_add foo/bar not look into
  PKG_PATH for bar). This addresses PR 33884 in a different way.
- document the rules for finding packages more explicitly
- allow specifying PKG_PATH in pkg_install.conf as well; environment
  takes precendence.
- remove PKG_PATH related logic in pkg_info(1), it doesn't deal with
  PKG_PATH anyway
- remove PKG_PATH, PKG_TMPDIR and TMPDIR description in pkg_info(1),
  they are no longer used
2009-02-28 16:03:56 +00:00
joerg
f9a9823e92 When checking for explicit conflicts, skip the old version checkif no
old version exists (e.g. because this is not an update).
Reported by Thomas Klausner.
2009-02-27 19:34:12 +00:00
joerg
f01efe1be7 Provide TAILQ_FOREACH_SAFE if it is missing. 2009-02-26 16:14:18 +00:00
joerg
816c3045cd pkg_install-20090226:
Always try to preserve the +PRESERVE file from the old package, even
when the new one has one as well. This fixes the update case for the
special case of pkg_install itself as reported by tron@.
2009-02-26 12:52:43 +00:00
wiz
108d0702df Recognize groff-1.20.1 on Linux.
From Stathis Kamperis on pkgsrc-users.

Bump version.
2009-02-26 07:05:10 +00:00
joerg
afe5fbacdd Be silent if querying a variable and no installed information exists.
"pkg_info -Q automatic foo" should not bitch.
2009-02-25 20:52:10 +00:00
joerg
f774c82b95 Include sys/poll.h and poll.h directly if they exist.
nbcompat/poll.h conflicts with the system header on Solaris
and is implicitly included by nbcompat.h already, if needed.
Fixes PR 40756.
2009-02-25 19:31:53 +00:00
wiz
e6bba895cc Bump date for previous. Remove trailing whitespace. 2009-02-25 16:57:51 +00:00
joerg
7fc8fb8212 pkg_install-20090225:
Rewrite pkg_delete to expand the list of packages to delete first and
reorder it if necessary. It will bail out if it knows in advance that it
can't remove a package. It will also fail for errors while removing one
package, unless forced. Add an option to remove automatically installed
packages that are no longer used.

The pkgviews support is kept, but untested. The error handling for
pkgviews most of all is as weak as before.

Basic review from hubertf@, man page changes by bad@.
2009-02-25 16:29:08 +00:00
joerg
2939cc9d49 Fix markup. From Tim Zingelman. 2009-02-25 15:19:00 +00:00
abs
dbeaf82136 Updated pkgtools/pkg_chk to 1.97
Fix PR 36641 - pkg_chk -g requires pkgsrc source tree, from Aleksey Cheusov.
2009-02-21 20:50:06 +00:00
wiz
9cf0bcd52a Sort options in usage. Break lines appropriately. 2009-02-20 07:50:15 +00:00
wiz
c7d27eda6c Use more and better markup.
Add EXIT STATUS section.
Sort options and their descriptions.
2009-02-20 07:46:15 +00:00
wiz
b6c7ef8f10 Use more and more proper markup.
New sentence, new line.
Add EXIT STATUS section.
Sort options and their descriptions.
Bump date for previous.
2009-02-20 07:41:15 +00:00
dmcmahill
7037193a4e Update to cdpack-1.9. This version teaches cdpack how to add packages
ending in .tbz as well as .tgz.  Should address the problem reported
in PR pkg/40515.  I am explicitly not using the mk.conf settings
for PKG_SUFX though because at run time we may or may not have a valid
mk.conf on hand that corresponds to how the packages were built.
2009-02-20 05:16:51 +00:00
joerg
f0209f8ffe Make sure that SYSCONFDIR is expanded in pkg_install.conf(5). 2009-02-19 20:27:36 +00:00
wiz
b0396c17a1 Some minor improvements. 2009-02-19 09:41:39 +00:00
abs
44dc2856b0 Fix PR 40151 - bootstrap of pkgsrc fails on Ubuntu 8.10
- At least Ubuntu 8.1 sets __attribute__((warn_unused_result)) on fwrite()
  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509
  which means (void)fwrite(...) will *always* generate a warning, so
  set -Wno-error to bypass this in Linux.sys.mk
- Ubuntu 8.1 also jumps through hoops to ensure ARG_MAX is *undefined*, so
  work around this in tnftp and libnbcompat
2009-02-19 00:51:12 +00:00
imil
ac431e9fa5 Updated pkg_notify to 0.4.3
Changes since 0.4.2:
- added -c list-file (seb@)
- no more MASTER_SITES, using files/ instead
- removed README in favor of a man page
- corrected pkglint(1) warning about multi-line SUBST_SED

OK'd by cube@
2009-02-18 21:23:21 +00:00
joerg
5ff23c6137 bootstrap-mk-files-20090217:
Don't leak the unprivileged user for USE_DESTDIR=full.
2009-02-17 17:08:13 +00:00
joerg
fa27df019a Improve support for ancient OpenSSL releases. 2009-02-16 20:59:11 +00:00
joerg
3fe7d4b4fb Point to the various commands of pkg_admin that replace audit-packages,
not just fetch-pkg-vulnerabilities. Suggested by David Holland.
2009-02-15 18:20:32 +00:00
wiz
cbc999f306 Avoid installing files to /lib/udev.
Sort PLIST, and remove share/examples/packagekit.
Bump PKGREVISION for last.
2009-02-15 16:44:20 +00:00
joerg
bc8a5758f1 Ignore CHECK_INTERPRETER for two scripts likely not used on !Linux.
From a private discussion with jmcneill.
Mark as destdir safe.
2009-02-14 18:51:36 +00:00
joerg
d64aadd1db Tag as pkg_install-20090214 in preparation for updating NetBSD current. 2009-02-14 17:08:05 +00:00
rillig
f01f63d281 Remind the package developers that AUTO_MKDIRS is more convenient than
using the INSTALL_*_DIR commands or the INSTALLATION_DIRS variable.
Suggested by abs@ on tech-pkg@.
2009-02-14 10:42:20 +00:00
obache
55b26be751 Need to define SSL_SUPPORT before using it :) 2009-02-14 03:02:58 +00:00
joerg
09b6362c0a Explicitly pull in crypto if building with ssl option. 2009-02-13 14:13:58 +00:00
joerg
03c3a41d9e Explicitly check that the conflicting package is not the one we want to
remove for update; mysql-client has a pattern that matching itself.
Reported by Obata Akio.
2009-02-13 13:19:12 +00:00
joerg
e0011104f7 Non-matching signature file name is not an hard error, so return 1. 2009-02-13 13:17:41 +00:00
joerg
d5294c7411 Close the archive on fatal errors during signature validation. This can
happen e.g. if pkg_add finds a directory with that name.
Remove a bunch of HAVE_SSL conditionals that no longer apply as GPG
support is back in.
2009-02-13 11:21:07 +00:00
joerg
643788189c pkg_install-20090213:
Fix pkg_delete -d:
- ignore @dirrm commands, directories are removed already on demand
- use local copy of dir before changing it, the caller expects it
unmodified for the call to pkgdb_remove
2009-02-13 01:31:42 +00:00
joerg
d66a067120 Fix setting of PKG_METADATA_DIR. 2009-02-12 22:23:06 +00:00
joerg
601eb83a16 Don't check for tgetent or curses, it is never used. 2009-02-12 00:14:48 +00:00
joerg
f6da77786c Don't segfault if running pkg_info on a binary package without
+BUILD_INFO (or installed without +INSTALLED_INFO). Second half of
PR 30276.
2009-02-11 23:51:30 +00:00
joerg
52e03c25de pkg_install-20090212:
Print the error about missing build information even when the
+BUILD_INFO file is missing instead of segfaulting. The problem is from
PR 30276, a solution in the form of just installing it will not be
implemented.
2009-02-11 23:42:42 +00:00
joerg
d82a0be2f2 Restore ONLY_FOR_*. 2009-02-10 00:26:26 +00:00
joerg
f147bc5cc4 DESTDIR support. 2009-02-10 00:25:00 +00:00
joerg
de7d5abdaa DESTDIR support 2009-02-10 00:15:20 +00:00
joerg
4beb0d6f99 DESTDIR support. 2009-02-10 00:13:34 +00:00
joerg
6bf251943f DESTDIR support. 2009-02-09 23:53:00 +00:00
joerg
3c645bb7fc Switch to Python 2.5 as default. Bump revision of all packages that have
changed runtime dependencies now.
2009-02-09 22:56:21 +00:00
joerg
e2107c85f6 Remove Python 2.1 support. 2009-02-09 21:09:20 +00:00
joerg
051e2fcd6a Only use issetugid if it exists. Fixes reported build issues on QNX and
AIX.
2009-02-09 20:35:21 +00:00
joerg
99269d29a5 Regen with autoconf 2.63. The endian macro issues on Mac OS X have been
addressed according to PR 38625.
2009-02-09 19:18:42 +00:00
joerg
a5ef458265 Fix !OpenSSL build/bootstrap. 2009-02-09 16:54:08 +00:00
wiz
677c83584c regen. 2009-02-08 23:14:14 +00:00
wiz
9db60ccb61 Spelling fixes. 2009-02-08 23:12:10 +00:00
wiz
5db37a19b0 Use more markup. 2009-02-08 23:12:05 +00:00
wiz
200c1b97c9 New sentence, new line. 2009-02-08 23:11:56 +00:00
joerg
60289b484d pkg_install-20090205:
- Restrict audit related commands to the documented set and/or fix the
  documention.
- Add support for conditional fetch-pkg-vulnerabilities via -u option.
2009-02-05 17:22:19 +00:00
joerg
0ffd57fde6 Don't chdir back to the original directory at the end of make_dist,
pkg_create is about to exit() anyway.
2009-02-05 16:06:55 +00:00
joerg
d33d3af1f8 Include fcntl.h. 2009-02-03 19:47:37 +00:00
joerg
97f4088f5d Remove the remaining trails of HAVE_DBLIB. 2009-02-03 13:49:56 +00:00
joerg
4835ef2879 Fix PR 40456: Mac OS X can't deal well with BSS in static libraries. 2009-02-03 13:44:34 +00:00
joerg
2b915dcf8f If no db.h or variant exists, use the one from nbcompat.
For PR 40544.
2009-02-03 13:18:03 +00:00
joerg
c5349bbb20 Include fcntl.h for O_RDONLY, it is included indirectly on NetBSD, but
not on Solaris. Part of PR 40544.
2009-02-03 13:15:34 +00:00
joerg
42be515354 Merge x509 setup and documentation from pkg_install-renovation. 2009-02-02 12:49:16 +00:00
joerg
d7cc6db11b Merge pkg_install-20090201 from pkg_install-renovation branch.
- DB support is always included from libnbcompat if needed
- pkg_view and linkfarm are not installed any more; they are not moved
into the attic yet, so they can easily be installed as separte package
- common configuration file to customise the behavior of various
components; this supersedes the old audit-packages.conf
- support for PKSC7 signatures (using X509 certs) and GPG signatures for
packages in a secure way. See pkg_admin(8) for how to create them and
pkg_install.conf(5) for the options to use them
- audit-packages and download-vulnerability-list are wrapper scripts
  around pkg_admin. They try to mimic the classic options if used sanely.
  "pkg_admin audit" is now an order of magnitude faster than before
- pkg_add uses libarchive and libfetch instead of external ftp and tar:
  - progress bar is currently missing for downloads
  - "pkg_add -" is no longer supported
  - no adhoc check for conficts between dependencies and already
    installed packages
  - "pkg_add -s" has been replaced with an option in pkg_install.conf,
    verification of plain detached GPG signatures is no longer supported
  - optional check for vulnerabilities before adding a package
  - if /var and /usr/pkg are on different fileystems it is twice as fast
    now
  - conflicts due to overlapping plists are checked before installation
  - pkg_add no longer plays with the process limits
- pkg_add and pkg_delete have a new destdir option; scripts have to
  either be modified to use PKG_DESTDIR or should be disabled
- pkg_add -u for now can't be used to update to the exact same version
- internal "rm -rf" and "mkdir_p" code
- all memory allocation failures are not explicitly fatal
- if a file is not removed due to a failed checksum, still remove the
  entry from pkgdb
2009-02-02 12:34:59 +00:00
joerg
360471cf79 pbulk-0.37:
- replace libevent dependency with internal event loop to make the pbulk
  core standalone
- open success and error log with O_APPEND, which allows e.g. cleaning
  up the error build during build without breaking it if done with care.
2009-01-31 23:25:37 +00:00
rillig
115f8bca6b Packages that install *.desktop files should include
sysutils/desktop-file-utils/desktopdb.mk. Suggested by Matthias
Drochner.
2009-01-26 16:14:45 +00:00
rillig
21cac04813 Added but disabled a check that tests whether the PKGNAME and the
package directory match. There is much work to do until this can be
enabled.
2009-01-26 15:44:15 +00:00
sketch
cce651087b Change to WRKSRC before compiling, fixes builds with read-only pkgsrc tree. 2009-01-23 11:27:16 +00:00
shattered
02dcf45d24 On some operating systems (Linux, FreeBSD -- see their problem report
82430) ps might list process names in square brackets.  Fix regex in
_find_processes() accordingly.

OK by wiz@.
2009-01-18 22:35:35 +00:00