summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2009-03-10Specify width for tag list.joerg2-4/+4
2009-03-10Implemented the suggestion by abs@ of reducing the number of warnings inrillig1-21/+34
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-09Use archive_read_finish and avoid double-free if the archive couldn't bejoerg1-4/+3
opened.
2009-03-09pkg_install-20090309:joerg2-5/+4
Fix a double free. Reported by seb.
2009-03-08If writing to the archive failed, tell user the file it tried to write.joerg1-3/+4
2009-03-08Updated pkg_select to version 20090308imil2-6/+6
. fixed background color on VTE terminals . fixed live pkgsrc over ftp . fixed dependencies display . code cleanup OK'd by seb@
2009-03-08pkg_install-20090307:joerg7-67/+45
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-08Add the pkgconfig file for libXi.snj3-5/+6
2009-03-07removed patches after upstream inclusionimil3-41/+0
2009-03-07. included patches/ upstreamimil2-17/+15
. MASTER_SITES change . fixed WRKSRC . minor fixes
2009-03-07Fix documentation -- dewey_cmp and dewey_match texts were swapped.wiz4-12/+15
Noted and patch provided by Mihai Chelaru. Bump version to 1.1.
2009-03-06joergs says the problem is with &&, so revert to revision 1.4 which shouldtnn1-4/+2
be safe everywhere.
2009-03-06Add explicit cast to silence GCC on comparing different signs.joerg1-2/+2
2009-03-06Merge lib/dewey.c rev 1.11 from pkg_install:joerg1-4/+3
Avoid sign comparision issues.
2009-03-06Avoid sign comparision issues.joerg1-4/+3
2009-03-06fix previous:tnn1-2/+4
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-06Invert logic of the package timestamp check, as at least ksh and bashtnn1-2/+2
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-04Explicitly build local libarchive without ACL support, I don't want tojoerg1-2/+2
get into the mess of needing to figure out linkage on Linux.
2009-03-04Needs msgfmt.hasso1-2/+2
2009-03-02pkg_install-20090302:joerg7-17/+95
Add new option -r to pkg_info, which works like -R, but expands it recursively.
2009-03-02Remove a close(-1) as hinted by wiz.joerg1-3/+2
2009-03-02Be nice to stupid version of TAILQ_INSERT_TAIL on Linux, that doesn'tjoerg1-3/+3
create a block context.
2009-03-02pkg_install-20090301:joerg5-13/+24
Plug a number of file descriptor leaks.
2009-03-02libnbcompat-20090302:joerg2-3/+8
Add TAILQ_LAST.
2009-02-28regenwiz2-9/+9
2009-02-28Fix typo.wiz1-2/+2
2009-02-28Remove trailing whitespace.wiz1-2/+2
2009-02-28pkg_install-20090228:joerg16-400/+166
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-27When checking for explicit conflicts, skip the old version checkif nojoerg1-3/+3
old version exists (e.g. because this is not an update). Reported by Thomas Klausner.
2009-02-26Provide TAILQ_FOREACH_SAFE if it is missing.joerg2-3/+10
2009-02-26pkg_install-20090226:joerg2-6/+5
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-26Recognize groff-1.20.1 on Linux.wiz2-4/+6
From Stathis Kamperis on pkgsrc-users. Bump version.
2009-02-25Be silent if querying a variable and no installed information exists.joerg1-4/+2
"pkg_info -Q automatic foo" should not bitch.
2009-02-25Include sys/poll.h and poll.h directly if they exist.joerg1-2/+7
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-25Bump date for previous. Remove trailing whitespace.wiz2-4/+4
2009-02-25pkg_install-20090225:joerg8-1183/+973
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-25Fix markup. From Tim Zingelman.joerg2-3/+5
2009-02-21Updated pkgtools/pkg_chk to 1.97abs2-25/+25
Fix PR 36641 - pkg_chk -g requires pkgsrc source tree, from Aleksey Cheusov.
2009-02-20Sort options in usage. Break lines appropriately.wiz2-9/+9
2009-02-20Use more and better markup.wiz1-35/+48
Add EXIT STATUS section. Sort options and their descriptions.
2009-02-20Use more and more proper markup.wiz1-64/+99
New sentence, new line. Add EXIT STATUS section. Sort options and their descriptions. Bump date for previous.
2009-02-20Update to cdpack-1.9. This version teaches cdpack how to add packagesdmcmahill4-25/+114
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-19Make sure that SYSCONFDIR is expanded in pkg_install.conf(5).joerg4-3/+12
2009-02-19Some minor improvements.wiz1-7/+8
2009-02-19Fix PR 40151 - bootstrap of pkgsrc fails on Ubuntu 8.10abs2-2/+13
- 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-18Updated pkg_notify to 0.4.3imil6-23/+800
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-17bootstrap-mk-files-20090217:joerg1-4/+4
Don't leak the unprivileged user for USE_DESTDIR=full.
2009-02-16Improve support for ancient OpenSSL releases.joerg1-4/+13
2009-02-15Point to the various commands of pkg_admin that replace audit-packages,joerg1-2/+4
not just fetch-pkg-vulnerabilities. Suggested by David Holland.
2009-02-15Avoid installing files to /lib/udev.wiz4-11/+22
Sort PLIST, and remove share/examples/packagekit. Bump PKGREVISION for last.