Commit graph

3588 commits

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