Commit graph

3573 commits

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