259065 |
07-Dec-2013 |
gjb |
- Copy stable/10 (r259064) to releng/10.0 as part of the 10.0-RELEASE cycle. - Update __FreeBSD_version [1] - Set branch name to -RC1
[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so start releng/10.0 at '100' so the branch is started with a value ending in zero.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
256281 |
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
254525 |
19-Aug-2013 |
gjb |
Add entry for packages-9.2-release directory.
Approved by: re (implicit)
|
252363 |
29-Jun-2013 |
obrien |
sysconf(3) returns a long, not an int.
|
252348 |
28-Jun-2013 |
obrien |
sysconf(3) returns a long, not an int.
|
250786 |
18-May-2013 |
bdrewery |
Update location to ports INDEX file.
PR: bin/164561 Approved by: bapt
|
245837 |
23-Jan-2013 |
jasone |
Fix compilation errors.
|
245828 |
22-Jan-2013 |
bapt |
Use snprintf instead of strc* functions and add bounds checking when creating pkgngpath
Submitted by: sbz, gahr
|
243554 |
26-Nov-2012 |
eadler |
Provide an option to users to shoot themselves in the foot.
Reviewed by: bapt Approved by: cperciva MFC after: 1 month
|
243553 |
26-Nov-2012 |
eadler |
Use modern license instead of being consistent with the other pkg_ tools Use a more informative message Fix some style(9) nits. Bump version number In pkg_add only warn users after the chroot is performed.
Submitted by: gavin, jilles Reviewed by: beat, bapt Approved by: cperciva MFC after: 1 month
|
241975 |
24-Oct-2012 |
kensmith |
Add the release package directory for 9.1-RELEASE.
|
241830 |
22-Oct-2012 |
eadler |
Warn users when using pkg tools if it looks like they be be pkgng users.
Reviewed by: bapt (earlier version) Reviewed by: kwm Approved by: cperciva MFC after: 3 days
|
241737 |
19-Oct-2012 |
ed |
More -Wmissing-variable-declarations fixes.
In addition to adding `static' where possible:
- bin/date: Move `retval' into extern.h to make it visible to date.c. - bin/ed: Move globally used variables into ed.h. - sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings. - usr.bin/calendar: Remove unneeded variables. - usr.bin/chat: Make `line' local instead of global. - usr.bin/elfdump: Comment out unneeded function. - usr.bin/rlogin: Use _Noreturn instead of __dead2. - usr.bin/tset: Pull `Ospeed' into extern.h. - usr.sbin/mfiutil: Put global variables in mfiutil.h. - usr.sbin/pkg: Remove unused `os_corres'. - usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.
|
241021 |
28-Sep-2012 |
kevlo |
Make sure that each va_start has one and only one matching va_end, especially in error cases.
|
240682 |
18-Sep-2012 |
bapt |
if a file in plist starts with / then do not prefix it with "prefix" [1] pkg info -g returns 1 if a file mismatch [2] flush stdout in pkg info -g [3] clean up quiet mode (-q | --quiet) output of pkg_version(1) [4] fix missing error call in uname check added to pkg_version(1) [5] fix pkg_add(1) fails to install with -C from bad path [6] only resolve path from pkg_add(1) -p if the given prefix do not start with a '/' [7]
PR: bin/13128 [1] bin/139015 [2] bin/113702 [3] bin/142570 [4] bin/146857 [5] bin/157543 [6] Submitted by: cy [1] Anton Yuzhaninov <citrin@citrin.ru> [2] Ighighi <ighighi@gmail.com> [3] "N.J. Mann" <njm@njm.me.uk> [4] gcooper [5] David Naylor <naylor.b.david@gmail.com> [6] netchild [7] MFC after: 2 weeks
|
240476 |
14-Sep-2012 |
jkim |
Do not change owner, group, or mode when package database directory and its contents are created with pkg_add(1). It may happen when the packing list contains @owner, @group, or @mode.
Reported by: Donald Bostrom (dbostrom at niksun dot com) Reviewed by: portmgr (bapt)
|
236336 |
30-May-2012 |
jpaetzel |
Bump PKG_INSTALL_VERSION which should've been done in r236233
MFC after: 3 days Pointed out by: bapt
|
236333 |
30-May-2012 |
jpaetzel |
Let pkg_add use the ENV variable PACKAGESUFFIX. This can be used to override the default .tbz package extension to .txz .tgz or .tar
Submitted by: kmoore Obtained from: PC-BSD Sponsored by: iXsystems MFC after: 3 days
|
236213 |
29-May-2012 |
kevlo |
Make sure that each va_start has one and only one matching va_end, especially in error cases.
|
235276 |
11-May-2012 |
beat |
- Print package name in case an empty pkgdep line is found.
PR: bin/164378 Submitted by: Yuri <yuri AT tsoft.com> and many others Approved by: flz MFC after: 2 weeks
|
235211 |
10-May-2012 |
gjb |
General mdoc(7) and typo fixes.
PR: 167696 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days
|
233648 |
29-Mar-2012 |
eadler |
Remove trailing whitespace per mdoc lint warning
Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days
|
232435 |
03-Mar-2012 |
kensmith |
Add entry for packages-8.3-release directory.
|
231328 |
10-Feb-2012 |
eadler |
Fix r231300: Use correct test so we only bail out on error instead of on non-error. Also, fix a style bug.
Submitted by: ache Approved by: cperciva MFC after: 1 month
|
231300 |
09-Feb-2012 |
eadler |
Permit the use of relative paths for the prefix argument. Remove an unnecessary cwd from created plists when -p is specified
PR: bin/145000 Submitted by: gcooper Approved by: portmgr (flo) MFC after: 1 month
|
229831 |
09-Jan-2012 |
eadler |
X11BASE has been deprecated for a long time and will die soon
Approved by: x11 (eadler) Approved by: brucec MFC after: 1 week
|
229655 |
05-Jan-2012 |
uqs |
Touch up some more small typos missed in the previous round.
Reported by: Ben Kaduk <minimarmot@gmail.com> et al.
|
228990 |
30-Dec-2011 |
uqs |
Spelling fixes for usr.sbin/
|
228976 |
30-Dec-2011 |
uqs |
Reencode files to UTF-8. Drop CP1252 em-dash.
|
228670 |
17-Dec-2011 |
dim |
In usr.sbin/pkg_install/updating/main.c, use the size of the destination buffer as size argument to strlcpy(), not the length of the source.
MFC after: 1 week
|
227458 |
11-Nov-2011 |
eadler |
- add a missing "be" and "in" - fix other errors introduced when committing r226436 - add 'function' to a sentence where it makes sense
Submitted by: delphij Submitted by: dougb Submitted by: jhb Approved by: dougb Approved by: jhb
|
226708 |
24-Oct-2011 |
delphij |
Staticify elide_root() for now to fix build.
|
226697 |
24-Oct-2011 |
emaste |
Avoid printing // for packages that install to /
I have some packages that install to / (for whatever reason). Right now we print entries of the form //path/to/file when listing files (pkg_info -L, pkg_info -g etc.) This change avoids printing the redundant / .
|
226436 |
16-Oct-2011 |
eadler |
- change "is is" to "is" or "it is" - change "the the" to "the"
Approved by: lstewart Approved by: sahil (mentor) MFC after: 3 days
|
225757 |
26-Sep-2011 |
kensmith |
Shift head from 9.0-CURRENT to 10.0-CURRENT in preparation for releasing it from the 9.0-RELEASE release cycle code freeze.
Approved by: re (implicit)
|
225610 |
16-Sep-2011 |
pluknet |
Print the package name on deletion errors.
It appears this was already done in NetBSD a decade ago, hence I just reuse the change (except our code is bad styled).
PR: bin/160516 Approved by: portmgr Approved by: re (kib) Obtained from: NetBSD
|
222035 |
17-May-2011 |
flz |
Backout libinstall.a -> libpkg commit.
Discussed with: erwin, brooks, bapt
|
220200 |
31-Mar-2011 |
emaste |
Remove $Log$ keyword and associated history, which can cause annoyance in diffs in some cases. Revision control tools have a history command to obtain this information.
|
216665 |
22-Dec-2010 |
kensmith |
Add package directories used for the upcoming 8.2 and 7.4 releases, and catch up on a few from previous releases.
|
213718 |
12-Oct-2010 |
flz |
- Add support for xz compression to pkg_create, bzip2 remains the default compression algorithm. - Bump PKG_INSTALL_VERSION to 20101012.
Submitted by: mm MFC after: 1 month
|
212029 |
30-Aug-2010 |
nwhitehorn |
Use MACHINE_ARCH instead of MACHINE as the directory to fetch packages from. Packages are architecture dependent, not machine dependent.
|
208598 |
27-May-2010 |
uqs |
mdoc: use mdoc spelling of Umlauts
|
208028 |
13-May-2010 |
uqs |
mdoc: move remaining sections into consistent order
This pertains mostly to FILES, HISTORY, EXIT STATUS and AUTHORS sections.
Found by: mdocml lint run Reviewed by: ru
|
207113 |
23-Apr-2010 |
flz |
- Take libinstall.a out of pkg_install and make it a proper shared library. - Rework the wrapper support to check libpkg version as well as pkg_install version. - Add libfetch to _prebuild_libs. - There are no new features introduced.
Notes: the API is not stable, so basically, do not use libpkg in your projects for now. Also there's no manpage for libpkg yet, because the API will change drastically. I repeat, do not use libpkg for now.
|
206133 |
03-Apr-2010 |
flz |
Bump PKG_INSTALL_VERSION to 20100403.
|
206132 |
03-Apr-2010 |
flz |
Fix pkg_delete, check if the file we're trying to delete is a symlink before complaining that it doesn't exist. Typical case would be a leftover library symlink that's left over after the actual library has been removed.
Reported by: tabthorpe
|
206043 |
01-Apr-2010 |
flz |
Various fixes.
- Replace hardcoded INDEX version. [1] - Fix a buffer overlap. [2] - Remove empty package when fetching fails and -K is used. [3] - Remove useless chmod2() after mkdtemp(3). [4] - Replace mkdir(1) call with mkdir(2). [5] - Get rid of some vsystem() calls. - Switch from lstat(2) to open(2) in fexists(). - Try rename(2) in move_file() first. - Bump PKG_INSTALL_VERSION to 20100401.
PR: bin/145101 [1], bin/139492 [2], bin/144919 [3] bin/144920 [4], bin/144921 [5] Submitted by: gcooper [1,2,3,4,5]
|
205076 |
12-Mar-2010 |
uqs |
Fix several typos in macros or macro misusage.
Found by: make manlint Reviewed by: ru Approved by: philip (mentor)
|
202844 |
22-Jan-2010 |
flz |
- Add support for UPDATING remote fetching. - Reorganize EXAMPLES section in pkg_updating(1). - Style fixes. - Bump PKG_INSTALL_VERSION to 20100122.
Submitted by: beat MFC after: 1 week
|
201390 |
02-Jan-2010 |
ed |
The last big commit: let usr.sbin/ use WARNS=6 by default.
|
201226 |
29-Dec-2009 |
ed |
Add missing `void' keywords.
|
196766 |
02-Sep-2009 |
flz |
- Bump PKG_INSTALL_VERSION to 20090902 after dougb's changes. - Change the comment to say that version must be changed when a non-cosmetic change is made.
|
196706 |
31-Aug-2009 |
dougb |
Add support for INDEX-9 [1]
While I'm here, strip off support for FreeBSD 5.x.
Submitted by: Alexey Shuvaev <shuvaev@physik.uni-wuerzburg.de> [1]
|
196485 |
24-Aug-2009 |
kensmith |
Oops. Needed to adjust a little bit more of the line for packages-8-stable now that we're prepping for 8.0's release.
Submitted by: pluknet at gmail dot com Pointy hat: kensmith
|
196432 |
22-Aug-2009 |
kensmith |
Make head 9.0-CURRENT in preparation for lifting code freeze.
Approved by: re (implicit)
|
195346 |
05-Jul-2009 |
brian |
Disable r194497 for now. It doesn't work well with ports-mgmt/tinderbox.
Approved by: re (ken)
|
195212 |
30-Jun-2009 |
brian |
Don't imply that only FTP urls are supported when we can't fetch a package.
Approved by: re (kib) MFC after: 3 weeks
|
194497 |
19-Jun-2009 |
brian |
When running pkg_add -r, check & install our dependencies for each package rather than expecting our top level package to get all of the dependencies correct.
Previously, the code depended on the top level package having all of the pkgdep lines in +CONTENTS correct and in the right order, but that doesn't always happen due to code such as this (in security/gnutls/Makefile):
.if (defined(WITH_LZO) || exists(${LOCALBASE}/lib/liblzo2.so)) && !defined(WITHOUT_LZO) LIB_DEPENDS+= lzo2:${PORTSDIR}/archivers/lzo2 ....
With such conditional dependencies, my 'sophox-packages' package won't install. The dependency tree looks like this:
sophox-packages ... x11/gnome2 x11/gnome-applets net/libgweather devel/libsoup security/gnutls security/libgcrypt security/libgpg-error ... x11/gnome2 archivers/file-roller archivers/gtar archivers/lzop archivers/lzo2 ...
gnutls doesn't depend on lzo2 initially, but lzo2 is dragged into the mix via other dependencies and is built by the initial 'make'. The subsequent package generation for gnutls adds a pkgdep line for lzo2 to gnutls' +CONTENTS but the pkgdeps in sophox-packages' +CONTENTS has gnutls *before* lzo2.
As a result, sophox-packages cannot install; gnutls fails because lzo2 is missing, 82 more packages fail because gnutls is missing and the whole thing spirals into a super-confusing mess!
MFC after: 3 weeks
|
193273 |
01-Jun-2009 |
jilles |
Fix segfault when giving invalid long option to pkg_info.
PR: bin/133473 Submitted by: Rafal Grodzinski Approved by: ed (mentor) MFC after: 1 week
|
192382 |
19-May-2009 |
flz |
Skip @pkgdep if there's no argument.
Submitted by: pav MFC after: 1 week
|
191110 |
15-Apr-2009 |
kensmith |
Add release package directories for 6.4 and 7.2.
|
187056 |
11-Jan-2009 |
chinsan |
Use full name (noticed by: ru@
|
186835 |
06-Jan-2009 |
flz |
- Backout latest changes (follow symlinks: r186496, r186518). - Bump PKG_INSTALL_VER to 20090106.
|
186732 |
04-Jan-2009 |
chinsan |
- s/no-scripts/no-script/
PR: docs/127732 Submitted by: TerryP <BigBoss1964@gmail.com> MFC after: 3 days
|
186518 |
27-Dec-2008 |
flz |
Fix memory leaks introduced in last commit. Bump version to 20081227.
Reported by: gcooper Submitted by: Andrea Barberio <insomniac@slackware.it> MFC after: 1 month
|
186496 |
25-Dec-2008 |
flz |
Follow symlinks when deleting directories. Bump PKG_INSTALL_VER to 20081225 (Merry Christmas \o/).
PR: bin/54446 Submitted by: Andrea Barberio <insomniac@slackware.it> MFC after: 1 month
|
186494 |
25-Dec-2008 |
flz |
Add package directory for 7.1-RELEASE in head as well as stable/7.
|
183979 |
17-Oct-2008 |
brooks |
Display usage when pkg_add is called with no arguments.
PR: bin/121093 Submitted by: volker Approved by: portmgr (linimon) MFC after: 3 days
|
181376 |
07-Aug-2008 |
phk |
Use humanize_number to report pen-sizes so people don't have to count the digits when trying to install openoffice.
|
180361 |
08-Jul-2008 |
keramida |
Enable the -n option of pkg_create(1).
The changes to make the option work are already in place, but I missed the patch hunk that adds it to the getopt() option-handling loop.
Pointy hat: keramida Approved by: flz MFC after: 1 week
|
179835 |
16-Jun-2008 |
flz |
Remove support for RELENG_4 (__FreeBSD_version < 500039).
MFC after: 1 day
|
179819 |
16-Jun-2008 |
flz |
Style fix (use naked commands).
Reported by: obrien
|
179760 |
12-Jun-2008 |
flz |
- add: Keep dependent packages too if -K is specified. - updating: terminating '\n' is not part of the package origin. - bump PKG_INSTALL_VERSION to 20080612.
PR: bin/119368 [1], bin/124459 [2] Submitted by: gcooper [1], Beat Gatzi <beat@chruetertee.ch> [2] MFC after: 3 days
|
179520 |
03-Jun-2008 |
flz |
Exclude .svn directories from generated distfile.
|
179433 |
30-May-2008 |
flz |
- Add long options to pkg_install. - Remove check for '-?' as it's not listed in authorized options. - Bump PKG_INSTALL_VERSION to 20080530.
|
179377 |
28-May-2008 |
flz |
Use PKG_INSTALL_VERSION for the distfile name instead of current date.
X-MFC after: pkg_install sync on -STABLE branches
|
179373 |
28-May-2008 |
flz |
Bump PKG_INSTALL_VERSION to 20080528.
X-MFC after: latest HEAD changes have been MFC'ed to RELENG_[67]
|
179366 |
27-May-2008 |
keramida |
Update usage strings to add a missing -n option.
Noticed by: Matthias Apitz, matthias.apitz at oclc.org
|
179352 |
27-May-2008 |
keramida |
Add a -n option to pkg_create(1), to inhibit duplicate work.
When run without this option, multiple runs of `pkg_create -Rb' will recreate common packages multiple times. This can take a lot of time for large packages. With the -n option `pkg_create -b' checks with stat(2) and skips packages that already exist.
Note that this may *not* be safe of the existing output file is not really a package, or if it has been corrupted, modified or otherwise tinkered with between subsequent pkg_create runs. For this and POLA reasons, the default behavior is to *rebuild* the packages, and the -n option can be used when we know it is `safe' to run in no-regenerate mode.
Inspired by: A post to freebsd-questions by Matthias Apitz < matthias.apitz at oclc.org > Reviewed by: marcus, flz Approved by: marcus MFC after: 2 weeks
|
178754 |
03-May-2008 |
pav |
- Backout 1.15, it was committed by accident
Pointy hat to: pav
|
178753 |
03-May-2008 |
pav |
- Restore functionality broken in previous commit; we need to be able to report multiple installed packages with the same PKGORIGIN.
Reported by: marcus MFC after: 1 month
|
178246 |
16-Apr-2008 |
flz |
Fix pkg_info when specifying a remote package.
MFC after: 1 week
|
178103 |
11-Apr-2008 |
pav |
Optimize package registration/deregistration. Previously, when looking up the package name for the origin of a dependency, all entries in /var/db/pkg were traversed for each dependency of added/removed package. Now, gather all the origins first, then do the lookup in a single pass over /var/db/pkg.
This should provide a major speedup for packages with hundreds of dependencies.
Submitted by: rdivacky (earlier version) MFC after: 1 month
|
178032 |
09-Apr-2008 |
flz |
Add a distfile target to generate a distfile to be used by the ports-mgmt/pkg_install port.
|
177792 |
31-Mar-2008 |
flz |
Retire pkg_sign. It was used to embed signatures in gzip'ed packages. It's not relevant since we've changed to bzip2 compression.
MFC after: 1 week
|
177741 |
30-Mar-2008 |
rdivacky |
Improve style a little and remove one always-true condition.
Approved by: portmgr (pav) Approved by: kib (mentor)
|
176593 |
26-Feb-2008 |
kensmith |
Sync list of directories to look for packages in to current releases available.
MFC after: 3 days
|
176108 |
08-Feb-2008 |
ru |
Introduce -i to SYNOPSIS, forgotten by krion@.
|
175177 |
09-Jan-2008 |
ru |
Revise the TECHNICAL DETAILS section.
Reviewed by: skv
|
174816 |
20-Dec-2007 |
gabor |
- Adjust INDEX file name to INDEX-8 so that it matches the major FreeBSD version number, as it is named after that
PR: docs/118053 Submitted by: Michael Plass <mfp49_freebsd@plass-family.net>
|
174475 |
09-Dec-2007 |
krion |
Backout previous commit, since it's done without maintainers approval. These changes were approved by adding it as port to ports/ tree, but not for src/. I talked to PR submitter and miwi@ some days ago and explained the reasons for it, the both were agree to add it to ports/ only.
|
174472 |
09-Dec-2007 |
obrien |
Add the 'pkg_search' script. This makes it easier to figure what packages you want to install.
Submitted by: Matthias Schmidt <schmidtm @ mathematik . uni-marburg . de>
|
173533 |
10-Nov-2007 |
krion |
Fix segfault while running with -a option and deinstalling broken packages with incorrect plists.
PR: bin/115327 Submitted by: Michael Zhilin <mizhka@gmail.com> MFC after: 3 days
|
173514 |
10-Nov-2007 |
krion |
Some code cleanups, including removing of stale getopt argument and hardcoded +CONTENTS defines.
PR: bin/117855 Submitted by: Beat Gaetzi <beat@chruetertee.ch> MFC after: 14 days
|
173513 |
10-Nov-2007 |
krion |
Add -i option for package installation without fetching and installing its dependencies.
PR: bin/117065 Submitted by: Vladimir Ermakov <samflanker@gmail.com> MFC after: 14 days
|
173412 |
07-Nov-2007 |
kevlo |
Cleanup of userland __P use
|
173295 |
02-Nov-2007 |
krion |
Introduce pkg_updating(1) which scans for installed ports and shows all ports/UPDATING entries that affect one of the installed ports, and are relevant on the given machine.
PR: bin/117564 Submitted by: Beat Gaetzi <beat@chruetertee.ch> MFC after: 14 days
|
173291 |
02-Nov-2007 |
krion |
Momoize the results of isinstalledpkg()
PR: bin/116452 Submitted by: wollmann MFC after: 7 days
|
173014 |
26-Oct-2007 |
simon |
If the INDEX file cannot be opened, print the actual filename / path pkg_version tried to open instead of just "INDEX" to make the actual problem more clear (e.g. missing INDEX-8).
MFC after: 3 days Reviewed by: portmgr (pav)
|
172723 |
17-Oct-2007 |
krion |
Add whitespace.
|
172722 |
17-Oct-2007 |
krion |
Update for INDEX-8 support.
|
172531 |
11-Oct-2007 |
kensmith |
To honor the birth of RELENG_7 bump HEAD to 8.0-CURRENT.
Approved by: re (implicit)
|
171934 |
23-Aug-2007 |
krion |
Fix pkg_add behaviour to preserve pathnames.
PR: bin/93915 bin/109134 Submitted by: Jason Heiss <heissj@yahoo-inc.com>, Constantin Stefanov<cstef@mail.ru> Approved by: re@ (kensmith) MFC after: 7 days
|
170947 |
18-Jun-2007 |
pav |
- Replace rather inefficient bubble sort with a recursive depth-first search. This speeds up registration of packages considerably. - style(9) police welcome!
PR: bin/112630 Submitted by: Stephen Montgomery-Smith <stephen@cauchy.math.missouri.edu> Tested by: bento i386 experimental run MFC after: 14 days
|
167972 |
28-Mar-2007 |
njl |
Make consistent with style(msmith). 4 spaces indent, tab for each 2 indents.
|
167270 |
06-Mar-2007 |
ru |
Invoke tar(1) with the -p option when installing a package from an URL (i.e., do it the same way as when installing from a file). This fixes the lossage of the setuid bits. It wasn't a problem before because GNU tar(1) implied the -p option for root, but BSD tar(1) doesn't do that.
Discussed with: tobez and some advanced users :)
|
167202 |
04-Mar-2007 |
ru |
The use of predefined strings such as \*[Ge] can be harmful here, as some fonts (e.g., KOI8-R) have special symbols for displaying them, and we want symbols ">=" literally here.
|
167201 |
04-Mar-2007 |
ru |
Fix markup and clean up some of the wording.
(This English was hard to translate as it uses a language that is far from a pure technical. It would definitely benefit from a revision.)
|
167182 |
03-Mar-2007 |
grog |
Clarify the meaning information printed by the -o option. Clean up grammar, adding articles.
|
166552 |
07-Feb-2007 |
pav |
Fix a bug in 1.40 - it missed three occurences in pkg_info which leads to (null)/file output.
MFC after: 1 week
|
166402 |
01-Feb-2007 |
pav |
Fix previous rev.: don't step behind the end of memory we allocate
|
166374 |
31-Jan-2007 |
ade |
Remove hard-coded limit (200) on maximum number of packages that can be added with a single invocation of pkg_add, replacing it with something rather more dynamic.
Approved by: portmgr (pav) Tested by: full pointyhat package run MFC after: 1 week
|
166354 |
30-Jan-2007 |
ru |
Fix the logic bug that caused the custom versions of warn(3) and warnx(3) to be compiled on systems that have it (e.g. FreeBSD), while the intention was opposite, i.e., compile them on systems that don't have them. Also fixes static linkage of pkg_sign(1).
|
162806 |
29-Sep-2006 |
ru |
Markup fixes.
|
162803 |
29-Sep-2006 |
ru |
Fix usage().
|
162802 |
29-Sep-2006 |
ru |
Sync usage() with manpage's SYNOPSIS.
|
162663 |
26-Sep-2006 |
kensmith |
Oops. Catch up on the last couple of releases and prepare for the next one.
|
161251 |
12-Aug-2006 |
krion |
Fix "pkg_version -Io" coredump, if some packages have no origin at all.
PR: bin/101932 Submitted by: novel, sat MFC after: 5 days
|
161212 |
11-Aug-2006 |
des |
Cosmetic: fix indentation.
|
160178 |
08-Jul-2006 |
des |
Turn on libfetch debugging if -v was specified on the command line.
MFC after: 2 weeks
|
159554 |
12-Jun-2006 |
obrien |
Allow variable amounts of verbosity.
|
157809 |
17-Apr-2006 |
krion |
Add INDEX-7 and remove trailing spaces.
MFC after: 5 days
|
157808 |
17-Apr-2006 |
krion |
Use bzip2(1) by default to compress package tarball on __FreeBSD_version >= 500039.
Submitted by: Alex Lyashkov <umka@sevcity.net> MFC after: 5 days
|
156813 |
17-Mar-2006 |
ru |
Reimplementation of world/kernel build options. For details, see:
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html
The src.conf(5) manpage is to follow in a few days.
Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
|
156729 |
15-Mar-2006 |
krion |
Close descriptor in retrieve_x509_marker function.
PR: bin/71594 Submitted by: Dan Lukes <dan@obluda.cz>
|
156497 |
09-Mar-2006 |
phk |
Add -F option to not fail on already installed packages.
Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru>
|
155577 |
12-Feb-2006 |
krion |
Fix pkg_version with the -o argument to print the origin.
Submitted by: Sebastian Stach <sebsta AT t-online DOT de> MFC after: 3 days
|
155011 |
29-Jan-2006 |
krion |
Fix typo.
|
154145 |
09-Jan-2006 |
flz |
Add -K option to pkg_add and pkg_info. This option saves packages to PKGDIR (if defined or current directory by default) as they are downloaded. Silent a warning when -n is used and package has a +DISPLAY file.
Approved by: krion MFC after: 1 week
|
154102 |
07-Jan-2006 |
krion |
When using @cwd %%FOO%%, we must ensure to return in the original prefix later, but doing so with @cwd %%OLDPREFIX%% (having PLIST_SUB+="OLDPREFIX=${PREFIX}") hardcodes the value in the packing list. That's not really a problem when dealing with ports but that's a problem with packages since pkg_add -p option only overrides the first @cwd occurrence.
This patch allow us to use @cwd without any argument. If no directory argument is given, it will set current working directory to the first prefix given by the @cwd command.
PR: bin/77212 Submitted by: flz
|
152711 |
23-Nov-2005 |
krion |
Document PKG_PATH enviroment variable.
Prodded by: Mark Andrews <Mark_Andrews AT isc DOT org> MFC after: 2 days
|
152569 |
18-Nov-2005 |
ru |
-mdoc sweep.
|
152329 |
12-Nov-2005 |
krion |
Add -P flag, it does the same as the -p option, except that the given prefix is also used recursively for the dependency packages, if any. If the -P flag appears after any -p flag on the command line, it overrides it's effect, causing pkg_add to use the given prefix recursively.
PR: bin/75742 Submitted by: Frerich Raabe <raabe AT kde DOT org> MFC after: 3 days
|
152210 |
08-Nov-2005 |
krion |
Introduce 3 new options for pkg_create(1), -x for using basic regular expressions for pkg-name, -E for extended regexps and -G for exact matching.
Submitted by: mux MFC after: 3 days
|
151754 |
27-Oct-2005 |
murray |
Look for packages in packages-6.0-release or packages-6-stable, as appropriate.
Approved by: re (scottl@) Reviewed by: portmgr (kris@)
|
151200 |
10-Oct-2005 |
krion |
* pkg_version(1) exits if INDEX files is not found and -I is not specified. The result is that the package will be listed with a '?' as if it was not found within the INDEX file, so fix this behaviour. * Remove trailing spaces.
PR: bin/87136 Submitted by: Sean Farley <sean-freebsd at farley dot org> MFC after: 3 days
|
151188 |
10-Oct-2005 |
krion |
Fix pkg_info(1) and pkg_delete(1) to handle properly packages which names start with a digit.
PR: bin/76858 Submitted by: Matthew D. Fuller <fullermd@over-yonder dot net> MFC after: 3 days
|
150530 |
24-Sep-2005 |
krion |
Do not bitch about bsdpan modules not having origin.
Based on PR: bin/82269 Submitted by: Steven Hartland <killing at multiplay dot co dot uk> MFC after: 3 days
|
150522 |
24-Sep-2005 |
krion |
Remove '\n' since it's redundant in case if file doesn't exist while running 'pkg_info -g'
Based on PR: bin/42609 Submitted by: Jeff King <peff-freebsd at peff dot net> MFC after: 3 days
|
148435 |
27-Jul-2005 |
krion |
Add -o/-O options to pkg_version:
-o Show the origin recorded on package generation instead of the package name.
-O Only list packages whose registered origin is origin.
Based on PR: bin/78640 Submitted by: Marcus Grando <marcus at corp dot grupos.com.br>, flz
|
147939 |
11-Jul-2005 |
kensmith |
Fix an oops on FBSD-version for packages-5-stable I made in previous commit.
Pointy hat: kensmith Approved by: re (implicit)
|
147932 |
11-Jul-2005 |
kensmith |
Prepare for packages-7-current. While here retro-fit packages-5.4-release which probably should have been done a while ago.
Approved by: re (implicit)
|
147632 |
27-Jun-2005 |
jmg |
remove a few uses of the word `really'
Reviewed by: hrs Approved by: re (scottl) MFC after: 1 week
|
147527 |
22-Jun-2005 |
ru |
Fix last commit.
Approved by: re (blanket)
|
147381 |
14-Jun-2005 |
krion |
Implement @noinst field which has at the moment the same meaning and function as @comment has. But will be valid only for files and not for md5 sums, rcsid's and comments in the future.
Submitted by: flz Approved by: re@ (scottl)
|
147377 |
14-Jun-2005 |
ru |
Markup fixes.
Approved by: re (blanket)
|
147225 |
10-Jun-2005 |
des |
Remove kludges intended to support src trees with partial obj trees.
Discussed with: ru
|
147043 |
06-Jun-2005 |
sobomax |
Add -R modifier for the mode when pkg_create(8) creates package file from the locally installed package. When this modifier is specified pkg_create(8) will also create package files for all packages on which that locally installed package depends.
MFC after: 5 days
|
146559 |
24-May-2005 |
cperciva |
Add an -I option to pkg_version:
-I Use only the index file for determining if a package is out of date. This is much faster than using the version number from a port's Makefile, at the expense of potentially giving an incor- rect result if the index file is out of date.
Without this option, the index file is only consulted if "make -V PKGNAME" cannot be used.
Approved by: portmgr (krion)
|
143849 |
19-Mar-2005 |
marcus |
Change the PATH for pkg_add to be the same used for pointyhat package builds. This will give our users and porters a more consistent experience between installing ports and installing packages.
Discussed with: portmgr
|
141851 |
13-Feb-2005 |
ru |
Expand contractions.
|
141846 |
13-Feb-2005 |
ru |
Expand *n't contractions.
|
140442 |
18-Jan-2005 |
ru |
Sort sections.
|
140368 |
17-Jan-2005 |
ru |
Added the EXIT STATUS section where appropriate.
|
140063 |
11-Jan-2005 |
ru |
Scheduled mdoc(7) sweep.
|
140061 |
11-Jan-2005 |
ru |
Add -q to usage() and mark the "index" argument as optional.
|
139679 |
04-Jan-2005 |
paul |
Update the INDEX file to INDEX-6
|
139676 |
04-Jan-2005 |
paul |
Use INDEX-6 for versions of FreeBSD > 600000
|
139113 |
21-Dec-2004 |
ru |
NOCRYPT -> NO_CRYPT
|
136910 |
24-Oct-2004 |
ru |
For variables that are only checked with defined(), don't provide any fake value.
|
136643 |
18-Oct-2004 |
obrien |
Add a -q flag to pkg_version. It suppresses the output of <,=,>. This makes it possible to "portupgrade `pkg_version -q -l '<'`".
|
136616 |
17-Oct-2004 |
obrien |
Set the real limits on 5-current, add 5-stable, add 6-current.
|
133596 |
12-Aug-2004 |
ru |
Don't put DEBUG to CFLAGS, we have the standard DEBUG_FLAGS for this.
|
133502 |
11-Aug-2004 |
eik |
typo
Approved by: ru
|
133501 |
11-Aug-2004 |
eik |
FWIIW, make the `test' target in pkg_install/version actually work.
|
133196 |
06-Aug-2004 |
cperciva |
Join the 21st century: Cryptography is no longer an optional component of releases. The -DNOCRYPT build option still exists for anyone who really wants to build non-cryptographic binaries, but the "crypto" release distribution is now part of "base", and anyone installing from a release will get cryptographic binaries.
Approved by: re (scottl), markm Discussed on: freebsd-current, in late April 2004
|
132799 |
28-Jul-2004 |
stefanf |
Use the length modifier 'll' instead of 'q' to print long longs.
|
132789 |
28-Jul-2004 |
kan |
Downgrade WARNS level to more tolerable value. Attempt to fix casts as lvalue usage whenever possible.
|
131531 |
03-Jul-2004 |
ru |
Eliminated double whitespace.
|
131500 |
02-Jul-2004 |
ru |
Mechanically kill hard sentence breaks.
|
131285 |
29-Jun-2004 |
eik |
- pkg_add spawns itself as argv[0] when installing dependent packages, to enable the use as a port on older systems
- use absolute paths in all calls to external programs, to account for strange PATH settings
- use INDEX or INDEX-5 depending on FreeBSD version, to enable the use on FreeBSD 4.x as a port.
- conditionalize all 4.x/5.x differences on __FreeBSD_version, so that the pkg_install tools can be kept in sync on 4.x and 5.x
- Bump PKG_INSTALL_VERSION
Reviewed by: portmgr (bento run) MFC after: 4 weeks
|
131280 |
29-Jun-2004 |
eik |
- pkg_info: flag -r: (show packages this packages depends on (documentation change))
- pkg_info: new flag -j (show the requirements script)
- pkg_info: fix verbose output when used on packages
- better handling of corrupt entries in /var/db/pkg
- differ between corrupt entires and packages not installed
- various small fixes
PR: 56989, 57016, 57029, 26468
|
131277 |
29-Jun-2004 |
eik |
- pkg_create: new flag -S (clean room installation)
- pkg_create: checksum meta files too
PR: 66032
|
131275 |
29-Jun-2004 |
eik |
- match package version numbers with relational operators
- use glob patterns when matching packages by origin
- csh-style {...} choices in glob matching
- pkg_info: new flag -E (list matching package names only)
- pkg_version: new flag -T (test if a given name matches a pattern)
- new flag -X (interpret pattern as an extended regular expression)
PR: 56961
|
131274 |
29-Jun-2004 |
eik |
- complete rewrite of the version number parsing code, restoring compatibiliy of 5.x with 4.x and portupgrade
- parse version numbers of ports containing an underscore followed by a number correctly
- handle special strings pl, alpha, beta, pre and rc
PR: 56961
|
130131 |
05-Jun-2004 |
ru |
Markup and punctuation nits.
|
129054 |
08-May-2004 |
bmah |
Add 4.10 and 5.2.1 entries so that pkg_add -r fetches from the right package sets.
PR: 66251 Submitted by: eik
|
128026 |
08-Apr-2004 |
kientzle |
When invoking tar, make sure the mode option (-x) is first.
|
127641 |
30-Mar-2004 |
cperciva |
Synopsis fixes: * `pkg_info -flags' needs either `-a' or a package name. [1] * Add -Q option to manual page. * Update `usage:' to match the manual page.
PR: misc/64786 [1] Reviewed by: ru MFC after: 3 days
|
126465 |
01-Mar-2004 |
kensmith |
Add command line option for chrootdir, all pkg_add(8) operations will be done inside of chroot(2) to chrootdir. Added to help with sysinstall(8) support of install to alternate root but possibly useful for setting up jails, etc.
No objection from: portmgr@ Style(9) abuse due to: entire program violates style(9) Approved by: rwatson (mentor)
|
126464 |
01-Mar-2004 |
kensmith |
This is an initial whitespace cleanup commit, new content to follow. Adding hard line breaks at the end of sentences.
Approved by: rwatson (mentor)
|
124922 |
24-Jan-2004 |
des |
Instead of bogusly complaining about odd file names, handle them properly by escaping all suspicious characters.
MFC after: 3 days
|
124921 |
24-Jan-2004 |
des |
Try to apply consistent indentation.
|
124633 |
17-Jan-2004 |
ru |
- Properly build both crypto and non-crypto versions of the package management tools.
- Drop redundant dependency of pkg_create(1) and pkg_delete(1) on crypto libraries now that they do not link with libfetch.
|
124632 |
17-Jan-2004 |
ru |
Replaced black magic with white magic.
|
124054 |
02-Jan-2004 |
bmah |
Catch up with reality with respect to the location of 4.8, 4.9, 5.0, 5.1, 5.2, and CURRENT packages.
|
123770 |
23-Dec-2003 |
schweikh |
Fix a case of undefined behavior due to overlapping buf objects in snprintf (buf, size, fmt, buf, etc). This only works by chance with our libc, but fails (with a truncated string) on e.g. glibc.
Okayed by: sobomax MFC after: 1 week
|
123602 |
17-Dec-2003 |
nectar |
Correct truncation detection after use of snprintf: The case where exactly one character was truncated was not detected.
|
119490 |
26-Aug-2003 |
roam |
Clarify the order of arguments passed to the pre-/post-install script in the description of the pkg_create -i command-line option.
PR: 55477 Submitted by: Eric van Gyzen <vangyzen@stat.duke.edu> MFC after: 5 weeks
|
118410 |
04-Aug-2003 |
bmilekic |
Backout 1.14, it seems to be causing problems with libxml build and I don't have time to investigate this code in much detail right now.
|
118313 |
01-Aug-2003 |
bmilekic |
Use strncmp() and not strcmp() here to properly match installed ports.
Submitted by: Harold Gutch <logix@foobar.franken.de>
|
116050 |
08-Jun-2003 |
charnier |
The .Xr utility
|
115325 |
26-May-2003 |
lioux |
pkg_create incorrectly does not add trailing '\n' when it receives either COMMENT or DESCR from the command line. When a port is installed, one gets both +COMMENT and +DESCR files with a trailing '\n' character. However, +COMMENT does not contain a trailing '\n' when it is installed from a package due to this behavior of pkg_create.
Therefore, make sure it behaves exactly the same regardless of where got its information; either command line or files. The modified functions are used by pkg_create.
PR: 52097 Reviewed by: bento, kris, portmgr, re, Michael Nottebrock <michaelnottebrock@gmx.net>, Martin Horcicka <horcicka@FreeBSD.cz> Approved by: re (scottl) MFC after: 1 week
|
115324 |
26-May-2003 |
lioux |
Add a trailing '\n' character if none is found in the information obtained from a package. Patch show_file() [1] and show_index() [2] functions.
PR: 52097 Reviewed by: bento, kris, portmgr, re, Michael Nottebrock <michaelnottebrock@gmx.net>, Martin Horcicka <horcicka@FreeBSD.cz> Approved by: re (scottl) Obtained from: NetBSD [1], OpenBSD [2] MFC after: 1 week
|
115224 |
22-May-2003 |
ru |
Erase whitespace at EOL.
Approved by: re (blanket)
|
115157 |
19-May-2003 |
des |
Retire the useless NOSECURE knob.
Approved by: re (scottl)
|
115143 |
18-May-2003 |
ru |
Fixed troff(1) and mdoc(7) warnings.
Approved by: re (blanket)
|
113594 |
17-Apr-2003 |
kris |
* Add explicit conflict-checking to the package tools. Packages can register a list of other packages with which they conflict (via the -C option to pkg_create), and they will refuse to install (unless -f is specified) if one of the listed packages is already present.
* Update documentation for the new feature as well as fleshing out some existing documentation.
* Bump PKG_INSTALL_VERSION so this feature can be tested for.
Submitted by: Sergey Matveychuk <sem@ciam.ru> PR: bin/47145 MFC after: 2 weeks
|
113587 |
17-Apr-2003 |
rwatson |
Revert url.c:1.2: there was a race condition between when I produced the fix and when I committed it -- in between the two, DES committed a different fix, rendering this fix unneeded.
Requested by: des
|
113079 |
04-Apr-2003 |
robert |
- Print out an error message instead of dereferencing a NULL pointer if matchinstalled() found no packages, which happens to be the case after fresh installations. - Instead of using strstr(3) to match the package name, depend on matchinstalled()'s MATCH_REGEX package matching.
PR: bin/50384 MFC after: 2 weeks
|
112722 |
27-Mar-2003 |
rwatson |
Don't pass NULL in as a flags argument to libfetch's fetchGetURL() as this can result in a NULL pointer deference when parsing the flags later. This change fixes "pkg_add -r" on 5.0-CURRENT for me; not quite clear how the problem was introduced.
|
112579 |
25-Mar-2003 |
mdodd |
- Add the 'b' option which causes BLOCKSIZE to be hornored when the 'q' or 'Q' options are present. - Document BLOCKSIZE.
|
112572 |
25-Mar-2003 |
mdodd |
Implement the 'Q' option which is like 'q' (quiet output) except that it prefaces the output with the package name.
This is useful for things like this:
# pkg_info -Qsa | awk -F : '{print $2 "\t" $1}' | sort -rn | expand -t 10
|
111486 |
25-Feb-2003 |
des |
Fix a long-standing bug where if the package being deleted had no post-deinstall script, the variable intended to hold the name of that script would be used uninitialized. In some cases, fexists() would succeed, causing pkg_delete to try to chmod +x it, then execute it, resulting in bizarre error messages such as:
.//: Permission denied
This bug would normally only occur when multiple packages were specified on the command line; otherwise post_script would be located in a previously unused part of the stack, and implicitly (but quite accidentally) initialized to all-zeros.
MFC after: 3 days
|
111189 |
20-Feb-2003 |
mikeh |
Initialize sign to NULL so that we don't attempt to free() it in case of failure.
MFC after: 1 week
|
110301 |
03-Feb-2003 |
billf |
even the default case in a switch requires some action (add break;)
EVP_sha1() returns a const EVP_MD *, so reflect that in the variable we store its return value in.
|
110165 |
31-Jan-2003 |
markm |
No need for the OPENSSL_NO_KRB5 switch anymore.
Fixed by: nectar
|
110012 |
28-Jan-2003 |
markm |
iAdjust for OpenSSL 0.9.7.
|
109914 |
27-Jan-2003 |
trhodes |
Note that -c is no longer supported. This was requested by a few users and we even have a PR about it.
PR: 47388 Discussed with: bmah Requested by: many
|
109002 |
09-Jan-2003 |
des |
Actually, the canonical way would be syntactically correct.
|
109000 |
09-Jan-2003 |
des |
Canonical way of determining whether or not to use crypto.
|
108778 |
06-Jan-2003 |
jkh |
Prevent buffer overflow in format_cmd() by properly tracking maximum buffer size. Reported by: Lionnel CHAPTAL <Lionnel.Chaptal@IPricot.com> MFC after: 1 week
|
108533 |
01-Jan-2003 |
schweikh |
Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, especially in troff files.
|
108455 |
30-Dec-2002 |
mike |
Back out rev 1.33; getbsize(3)'s original interface has been restored.
Approved by: markm
|
108317 |
27-Dec-2002 |
schweikh |
english(4) police.
|
107788 |
12-Dec-2002 |
ru |
Uniformly refer to a file system as "file system".
Approved by: re
|
107613 |
04-Dec-2002 |
kris |
Minimal change to cause pkg_version to examine the new INDEX-5 file instead of INDEX. This should be done better since this file name will depend on the FreeBSD major version.
|
106923 |
14-Nov-2002 |
bmah |
Assume that packages passed on stdin are in bzip2 format, not gzip. (sysinstall depends on this feature for package addition.)
Comment on hard-coded bzip2 usage in the spirit of rev. 1.58.
|
106492 |
06-Nov-2002 |
obrien |
Clean up a little. Don't need to include fetch.h any more, and I can't find any consumers of HOSTNAME_MAX.
|
106491 |
06-Nov-2002 |
obrien |
Break fileGetURL() out into its own file so that pkg_install/lib consumers pkg_{create,delete} don't need to needlessly link with libfetch.
|
106136 |
29-Oct-2002 |
des |
Whitespace cleanup
|
105882 |
24-Oct-2002 |
gallatin |
getbsize() now takes a pointer to a size_t as its first arg. A pointer to an int no longer works on an LP64 platform...
|
104658 |
08-Oct-2002 |
bmah |
Teach pkg_add -r how to find 4.7-RELEASE packages with an appropriate osreldate.
(Actually, due to differences in package compression formats, I'm not sure that a -CURRENT pkg_add -r will do the right thing in this case, once it finds them.)
|
103726 |
21-Sep-2002 |
wollman |
Make the threatened fts(3) ABI fix. FTSENT now avoids the use of the struct hack, thereby allowing future extensions to the structure (e.g., for extended attributes) without rebreaking the ABI. FTSENT now contains a pointer to the parent stream, which fts_compar() can then take advantage of, avoiding the undefined behavior previously warned about. As a consequence of this change, the prototype of the comparison function passed to fts_open() has changed to reflect the required amount of constness for its use. All callers in the tree are updated to use the correct prototype.
Comparison functions can now make use of the new parent pointer to access the new stream-specific private data pointer, which is intended to assist creation of reentrant library routines which use fts(3) internally.
Not objected to in spirit by: -arch
|
103166 |
10-Sep-2002 |
bmah |
Update to use *.tbz suffix, also update example URL.
While I'm here, fix a gramm-o.
PR: 42576 Submitted by: Jeff Ito <jeffi@rcn.com> MFC after: 1 day
|
103162 |
09-Sep-2002 |
sobomax |
Sigh, finally activate pkgwrap.c.
Big pointy hat to: sobomax (who apparently needs some sleep) Submitted by: walt <wa1ter@hotmail.com>
|
103155 |
09-Sep-2002 |
bmah |
Fix minor off-by-one error.
Submitted by: jhb
|
103150 |
09-Sep-2002 |
bmah |
Make pkg_install go to the right place for 4.6-RELEASE and 4.6.2-RELEASE packages.
Pointed out by: obrien Reviewed by: jhb
|
103149 |
09-Sep-2002 |
sobomax |
Introduce notion of the package tools revision and allow to wrap all tools included into pkg_install according to the content of /var/db/pkg_install.conf file, which specifies version and alternative location of the tools. Format of the said file is very simple: one line which specifies revision of the alternative version of the tools and their location separated by space, i.e.:
20030102 /usr/local/sbin
This would allow bsd.port.mk to install and use up to date version of tools on older system from ports.
Also add new `-P' flag to pkg_info, which causes it to report currently installed version of package tools.
Discussed with: will
|
103126 |
09-Sep-2002 |
sobomax |
Kill debugging line occasionally slipped into rev.1.3.
Submitted by: reg
|
103119 |
09-Sep-2002 |
sobomax |
Vastly decrease amount of memory comsumed in the case when we have to read ports/INDEX, by allocating eactly amount of memory necessary for storing each particular entry, insdead of 4K per entry (more than 7000 entries - go figure). Memory consumption went down to some 500K from some 30M.
|
103116 |
09-Sep-2002 |
sobomax |
Use --fast-read mode to extract metadata from package file. Since metadata files are located at the very beginning of the package, this patch in conjuction with latest tar(1) --fast-mode fix greatly speeds up pkg_info(1) operation on package files.
MFC after: 1 week
|
102888 |
03-Sep-2002 |
sobomax |
When installing package from a local file assume that all subsequent autoinstalled dependencies will have the same extension, not just ".tbz".
Pointy hat to: obrien X-MFC after: -1 day
|
102732 |
31-Aug-2002 |
kris |
Don't treat unknown commands as fatal errors: they are probably just the signature of out-of-date pkg_tools and newer packages.
Reviewed by: jkh MFC after: 3 days
|
102438 |
26-Aug-2002 |
reg |
Don't dump core on packages with an invalid or empty PLIST.
Reviewed by: markm
|
102430 |
26-Aug-2002 |
obrien |
Grrr.... mumble.... a linger gzip'ism still existed.
Submitted by: Craig Rodrigues <rodrigc@attbi.com>
|
102384 |
25-Aug-2002 |
obrien |
Reorg just a tad to better express our bzip intentions.
|
102383 |
25-Aug-2002 |
obrien |
Find remaining hardcoded gzip bits and change to bzip2 bits. Mark with XXX so someone that cares about being able to handle either bziped or gziped packages knows where the remaining nits are.
|
102375 |
24-Aug-2002 |
lioux |
Preserve suid/gid permissions when extracting packages remotelly fetched with -r option
Reviewed by: will Approved by: will
|
101740 |
12-Aug-2002 |
sobomax |
Ensure that origin field in the packing list structure is initialised. This fixes problem when there are origin-less packages installed on a system
Reported by: Mark Knight <markk@knigma.org> MFC after: 3 days
|
101677 |
11-Aug-2002 |
schweikh |
Fix typos; each file has at least one s/seperat/separat/ (I skipped those in contrib/, gnu/ and crypto/) While I was at it, fixed a lot more found by ispell that I could identify with certainty to be errors. All of these were in comments or text, not in actual code.
Suggested by: bde MFC after: 3 days
|
101339 |
04-Aug-2002 |
knu |
Another .tbz2 -> .tbz leftover. Properly look for pkgname.tbz.
MFC after: 1 day
|
101338 |
04-Aug-2002 |
knu |
Drop support for the .tbz2 suffix. One would not want pkg_create(1) to create "pkgname.tbz" when one specifies "pkgname.tbz2".
MFC after: 1 week
|
101302 |
04-Aug-2002 |
obrien |
Use an 8.3 friendly extension when compressing with bzip2.
|
101230 |
02-Aug-2002 |
sobomax |
When extracting package pass `-p' option to tar(1), so that files are extracted with correct permissions.
|
98766 |
24-Jun-2002 |
markm |
C replacement for the Perl5 code.
Submitted by: reg
|
98143 |
12-Jun-2002 |
des |
Reorder libraries to fix static linking (libssl depends on libcrypto, so it must come before libcrypto in LDADD)
Reviewed by: bde
|
97930 |
06-Jun-2002 |
ru |
libfetch now depends on libcrypto and libssl.
|
97832 |
04-Jun-2002 |
obrien |
Grammar nit.
Submitted by: keramida
|
97672 |
31-May-2002 |
bmah |
pkg_version was incorrectly claiming that 1.5 == 1.5.0.1, because we weren't properly checking for the case that the two version strings being compared had different numbers of components. This has been fixed.
Pointed out by: sobomax Reviewed by: silence on -ports
|
97563 |
30-May-2002 |
ru |
mdoc(7) police: markup nits.
|
97411 |
28-May-2002 |
sobomax |
MFS: two more testcases highlighting recently discovered problem with version comparison routine.
|
97097 |
22-May-2002 |
sobomax |
Eliminate free'ing already freed chunks.
MFC after: 1 week
|
96986 |
20-May-2002 |
sobomax |
MFS: silence compiler warnings.
|
96759 |
16-May-2002 |
eric |
Remove cross reference to pkg_update(1).
Submitted by: dd
|
96705 |
16-May-2002 |
trhodes |
Consistancy check: s/file system/filesystem/g
|
96613 |
14-May-2002 |
sobomax |
- Make use of DEPOROGINs (if there are any) when installing package; - fix few bogosities here and there; - move some common routines into the library.
MFC after: 2 weeks
|
96514 |
13-May-2002 |
ru |
Mark all internal libraries with INTERNALLIB.
|
96406 |
11-May-2002 |
eric |
Remove cross reference to pkg_update(1).
|
96392 |
11-May-2002 |
alfred |
replace __FUNCTION__ with standardized __func__.
Requested by: jhb
|
96388 |
11-May-2002 |
alfred |
fix build: you may not use string concatination with __FUNCTION__, replace all occurances of: __FUNCTION__ ": error string" with: "%s: error string"
|
96300 |
10-May-2002 |
sobomax |
When packing installed package into a file (pkg_create -b) make sure to include all package files into resulting tarball.
PR: 34007 Submitted by: olgeni
While I here:
- Remove bogus comment; - ensure that we return the proper exit code in the case of -b failure.
MFC after: 5 days
|
96229 |
08-May-2002 |
paul |
Do my bit for the Perl removal team and shoot my own, rather mangy looking, dog.
|
96076 |
05-May-2002 |
sobomax |
New feature: allow origins of all dependencies be recorded into package list using new `@comment DEPORIGIN:...' directive. This would allow us to make many neat things including:
- easier binary upgrades; - source upgrades without using external tools by simply extending bsd.port.mk and pkg_install tools; - mixed-mode upgrades (source + binary); - depreciate and deorbit silly +REQUIRED_BY files in the near future.
This feature is no-op until appropriate bsd.port.mk patch is committed, and even when it is already committed packages generated will remain 100% compatible with old set of pkg_install tools (module all those neat features, of course).
MFC after: 6 days
|
96075 |
05-May-2002 |
sobomax |
In a origin lookup mode (-O) don't bail out when encountering empty package directory, because this prevent this option from being used from the package-depends target of bsd.port.mk since it creates such empty dir during its normal operation.
MFC after: 6 days
|
96067 |
05-May-2002 |
sobomax |
Update usage() and manpage to match reality (add -O into usage and adjust both to make clear that -W and -O are stand-alone options).
MFC after: 6 days
|
96066 |
05-May-2002 |
sobomax |
Use PLIST_ORIGIN instead of rolling own version using PLIST_COMMENT.
MFC after: 6 days
|
96065 |
05-May-2002 |
sobomax |
Handle PLIST_ORIGIN properly.
Poked by: kris Pointy hat grabbed by: sobomax MFC after: 6 days
|
96030 |
04-May-2002 |
sobomax |
Add ability to query installed packages based on origin.
|
95934 |
02-May-2002 |
sobomax |
Make pkg_info working again when argument is a file not in the current directory.
PR: 37571 Submitted by: Dirk Meyer <dirk.meyer@dinoex.sub.org> MFC after: 1 week
|
95933 |
02-May-2002 |
sobomax |
Make `-g' working for symlinks.
PR: 33857 Submitted by: darren <igla@batterybackups.net> MFC after: 1 week
|
95932 |
02-May-2002 |
sobomax |
Kill local variable which shadows global one. This fixes creation of bzip2 compressed packages broken in the previous commit.
Pointy hat to: obrien
|
95161 |
20-Apr-2002 |
obrien |
Improve the Bzip2 handling.
Sponsored by: FreeBSD Mall, Inc.
|
95127 |
20-Apr-2002 |
charnier |
Use `The .Nm utility'
|
93660 |
02-Apr-2002 |
murray |
DTRT for packages read from STDIN:
$ cat pkg.tgz | pkg_add -
The above command line will fail on -CURRENT or -STABLE, and therefore, so will sysinstall if you try to install additional packages through the network (FTP) from a multiuser system. Because of the different environment during installation (wrt the playpen), this bug does not manifest itself during initial installs, and users may install packages from the network just fine at that time.
This bug was fixed in OpenBSD 4 years ago.
---------------------------- revision 1.4 date: 1998/04/07 05:56:13; author: marc; state: Exp; lines: +13 -8 fix package input from standard input -- the program tried to process stdin twice. Note: it assumes stdin is a compressed tar file. ----------------------------
PR: conf/36606 Obtained from: OpenBSD MFC after: 2 weeks
|
93520 |
01-Apr-2002 |
obrien |
Fix SCM ID's.
|
91414 |
27-Feb-2002 |
sobomax |
Use some black make(1) magic to make pkg_install build even without Makefile.inc in parent directory (e.g. when checked out from cvs as a module).
MFC after: 2 weeks
|
90987 |
20-Feb-2002 |
sobomax |
Make sortdeps() working with dependency lists containing one or no elements.
Submitted by: roam MFC in: 1 week
|
90985 |
20-Feb-2002 |
sobomax |
Provide protection against incorrect input (dependency list).
Submitted by: roam
|
89458 |
17-Jan-2002 |
sobomax |
Pass `-9' flag to gzip(1), so that package is compressed using maximum compression. Usually this gives gives extra 1-1.5%.
MFC after: 1 day
|
89393 |
15-Jan-2002 |
keramida |
Add pkg_update to the SEE_ALSO manpage of pkg_create.
PR: docs/33666 Submitted by: Tom Rhodes <darklogik@pittgoth.com>
|
86757 |
22-Nov-2001 |
jkh |
Choose more paranoid modes for the temporary directory so the user can't easily browse its contents.
Noted by: Antoine
|
86402 |
15-Nov-2001 |
sobomax |
Improve recently committed fix for -t bug.
Submitted by: "Andrew L. Neporada" <andr@dgap.mipt.ru> MFC after: 3 days
|
85470 |
25-Oct-2001 |
sobomax |
Make `-b' option actually work as advertised.
|
85023 |
16-Oct-2001 |
obrien |
Increase the number of packages that can be installed by an order of magnitude. Geez, this is Unix, what is with the arbitrary needless constants.
|
85019 |
16-Oct-2001 |
sobomax |
Fix "off by 1" error introduced in the previous commit by replacing strncpy(3) with strlcpy(3).
MFC after: 2 weeks
|
85002 |
15-Oct-2001 |
sobomax |
Use strncpy(3) instead of strcpy(3) to copy optarg into a fixed-sized buffer.
Prompted by: dd MFC after: 2 weeks
|
84992 |
15-Oct-2001 |
dd |
The user wants to ensure, not insure, that the package isn't going to damage their system.
|
84795 |
11-Oct-2001 |
sobomax |
Make `-t' flag in pkg_*(1) tools actually working.
PR: 30843 Submitted by: Vladimir B. Grebenschikov <vova@express.ru> MFC after: 2 weeks
|
84750 |
10-Oct-2001 |
sobomax |
- Introduce a notion of `packing list format version'. This allows making non-backward compatible changes in the format of packing list and handle them gracefully; - fix a longstanding issue with symlinks handling. Instead of recording checksum for the file symlink points to, record checksum for the value returned by readlink(2). For backward compatibility increase packing list format minor version number and provide a fallback to a previous behaviour, if package in question was created with older version of pkg_* tools;
Submitted by: Alec Wolman <wolman@cs.washington.edu>, sobomax
- don't record MD5 checksum for device nodes, fifo's and other non-regular files.
Submitted by: nbm MFC in: 2 weeks
|
84745 |
10-Oct-2001 |
sobomax |
WARNS=2 cleanup.
Tested on: i386, alpha MFC after: 2 weeks
|
84672 |
08-Oct-2001 |
sobomax |
OOPS, delete some commented out debugging code committed along with r.1.25.
MFC after: 2 weeks
|
84670 |
08-Oct-2001 |
sobomax |
- Allow package archive to be created from a locally installed package. This allows for an easy way to backup old version of port prior to installing a new one; - silence compiler warnings by killing some unused variables and adding all includes necessary.
MFC after: 2 weeks
|
83663 |
19-Sep-2001 |
sobomax |
Various fixes and improvements: - fix harmless compiler's warnings (unused variables and missed prototype); - before refusing to delete package because "there are packages installed that require this package" check that packages in question is actually installed; - add new `-r' option to pkg_delete(8), which instructs it to delete not only packages specified at command line, but all packages that depend on specified packages as well.
MFC after: 2 weeks
|
83628 |
18-Sep-2001 |
bmah |
Drop maintainership.
|
83627 |
18-Sep-2001 |
bmah |
Support the use of ${PORTSDIR} to find a ports tree INDEX file in an other-than-default location.
PR: bin/30350 Submitted by: "NINOMIYA Hideyuki <NINOMIYA Hideyuki" <nin@jp.FreeBSD.org> MFC after: 3 days
|
83573 |
17-Sep-2001 |
sobomax |
Fix segfault introduced in previous commit (when adding local packages).
|
83335 |
11-Sep-2001 |
dd |
Use a colon to separate the user and group when executing chown(1). Periods aren't supported anymore.
PR: 30507 Submitted by: Georg-W. Koltermann <gwk@sgi.com>
|
83212 |
07-Sep-2001 |
unfurl |
Fixes problem with pkg_add -r when adding multiple pkgs.
Reviewed by: chris
|
81982 |
20-Aug-2001 |
brian |
Handle snprintf() returning < 0 (not just -1)
MFC after: 2 weeks
|
81977 |
20-Aug-2001 |
brian |
Handle snprintf() returning -1.
MFC after: 2 weeks
|
81699 |
15-Aug-2001 |
sobomax |
Remove duplicate umask(2) call.
PR: dusty/7998 Submitted by: Stefan Eggers <seggers@semyam.dinoco.de> MFC after: 2 weeks
|
81588 |
13-Aug-2001 |
ru |
Spell "FreeBSD" with "F" and "BSD" in uppercase.
|
81571 |
13-Aug-2001 |
obrien |
Reduce private "lesser known" function redirection to improve clarity.
Approved by: jkh
|
81449 |
10-Aug-2001 |
ru |
mdoc(7) police: protect trailing full stops of abbreviations with a trailing zero-width space: `e.g.\&'.
|
81218 |
06-Aug-2001 |
kris |
Recognise @option directives instead of falling through to the default "unknown command" clause.
PR: 29262
|
81059 |
02-Aug-2001 |
sobomax |
exists(../../crypto) --> exists(${.CURDIR}/../../crypto)
MFC after: 1 month
|
81058 |
02-Aug-2001 |
jon |
fix for pkg_add to symlinked prefix directories that are more than 1 link deep.
PR: bin/28274 Submitted by: John Hein <jhein@timing.com> MFC after: 1 month
|
81049 |
02-Aug-2001 |
sobomax |
Cosmetics: replace dozen instances of "(tmp = getenv(PKG_DBDIR) ? tmp : DEF_LOG_DIR)" with macro.
MFC after: 1 month
|
81048 |
02-Aug-2001 |
sobomax |
Cosmetics: kill blank lines at the end of file.
MFC after: 1 month
|
81046 |
02-Aug-2001 |
sobomax |
Usability tweak:
Use '' quotes instead of `' to delimit names of files and packages in warning and error messages, because it is easier to cut-n-paste name in question that way (single click) without confusing the shell. And yes, I know that it is less eye-candy...
MFC after: 1 month
|
81044 |
02-Aug-2001 |
sobomax |
When there is a file that can't be deleted due to checksum mismatch print name of that file to stdout to simplify debugging. IMO it was a mistake to print this warning only when `verbose' mode is on.
MFC after: 1 month
|
80472 |
28-Jul-2001 |
obrien |
The security officer requested this be backed out for discussion.
|
80463 |
28-Jul-2001 |
obrien |
Remove s_strl*(). I am not sure what was thought they accomplished.
When reading the code I had to stop, say "ok, what does *these* modifications of strl*() do? Pull out grep. Oh, not in add/, maybe above in ../lib/? Yep. So what do they do? Comments above them are misleading, guess I'll have to read the code. Oh, they just test strl* against the size and return the result of the test. Now I can continue to read the code I was.
The uses of s_strl*() then test that result and errx()'s. Lets think about the "optimized" code I am removing:
In general the compiler pushes the three args to strl* onto the stack and calls s_strl*. s_strl* has to indirectly access 3 args from the stack. Then push them on the stack a 2nd time for the real strl* call. s_strl* then pops the return from strl* off the stack; or moves it from the register it was returned in, to the register where tests can happen. s_strl* then pops the three arguments to strl*. Perform the test, push the result of the test, or move it from the result register to the return value register. The caller to s_strl* now has to either pop the return value of s_strl* or move it from the return value register to the test register. The caller then pops the three args to s_strl* off the stack (the same args that s_strl* itself had to pop off after the real call to strl*). The s_strl* caller then performs a simular test to what has already been done, and conditionally jumps. By doing things this way, we've given the compiler optimizer less to work with.
Also, please don't forget the that call to s_strl* has possibly jumped to code not in the cache due to being far away from the calling code, thus causing a pipeline stall.
So where is the "optimization" from s_strl*? It isn't code clarity. It isn't code execution speed. It isn't code size either.
|
80409 |
26-Jul-2001 |
kris |
Only match the first osreldate date range for constructing the FTP URL, not all of them.
Noticed by: obrien
|
80042 |
20-Jul-2001 |
sobomax |
Use reallocf(3) to increase size of malloc'ed buffer instead of malloc()+memcpy()+free().
|
80029 |
20-Jul-2001 |
obrien |
Perform a major cleanup of the usr.sbin Makefiles. These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
|
79916 |
19-Jul-2001 |
kris |
Correct a reversion in r1.39 which introduced a new instance of strcpy() after r1.38 had attempted to remove them all.
|
79755 |
15-Jul-2001 |
dd |
Remove whitespace at EOL.
|
79537 |
10-Jul-2001 |
ru |
mdoc(7) police: removed HISTORY info from the .Os call.
|
79536 |
10-Jul-2001 |
sobomax |
bzip2(1) is in the base system - we don't need /usr/local/bin in the PATH anymore.
|
79454 |
09-Jul-2001 |
dd |
mdoc(7) police: remove extraneous .Pp before and/or after .Sh.
|
79452 |
09-Jul-2001 |
brian |
Fix the type of the NULL arg to execl()
Idea from: Theo de Raadt <deraadt@openbsd.org>
|
78187 |
13-Jun-2001 |
bmah |
Fix usage bogon (-d doesn't take any arguments).
MFC after: 3 days
|
78185 |
13-Jun-2001 |
bmah |
Add a -s option to pkg_version, which limits output to packages matching a given string.
PR: 26114 Submitted by: edwin@mavetju.org (with modifications and manpage update) MFC after: 3 days
|
78162 |
13-Jun-2001 |
des |
Use getdtablesize() instead of OPEN_MAX.
Submitted by: bde
|
78118 |
11-Jun-2001 |
jkh |
Properly quote recursive pkg_add operations so that filenames with spaces or special characters in them won't barf.
|
78110 |
11-Jun-2001 |
tobez |
Check for the existence of the Makefile in the port skeleton directory before running make. If the package origin points to a non-existent or stale port, report this package as orphaned, instead of producing more general `unknown in index' message.
PR: 27707 Submitted by: myself, roamer Approved by: bmah, markm
|
78072 |
11-Jun-2001 |
des |
Pass on the verbose option to fetchGetURL(). In the child that's set up to run tar(1), close all file descriptors except stdin, stdout and stderr.
PR: bin/27760
|
77730 |
04-Jun-2001 |
pirzyk |
Fixed pkg_add so when it does not find a package, it returns != 0.
PR: bin/23083 Submitted by: Patch submitted by Maxime Henrion <mux@qualys.com> MFC after: 2 weeks
|
77537 |
31-May-2001 |
eric |
Cross reference pkg_update(1).
Approved by: murray
|
76739 |
17-May-2001 |
sobomax |
Style policy: reformat multiline comments to conform to style(9).
|
76629 |
15-May-2001 |
bmah |
Print longer package names. Some of them were running off the right edge of Perl field specifications.
PR: bin/26664 Submitted by: philip@eilio.com MFC after: 3 days
|
76517 |
12-May-2001 |
bde |
Fixed a missing library in DPADD.
Fixed some style bugs.
|
76504 |
12-May-2001 |
kris |
Clean up some of the evil string handling in this code, replace warnx()+exit() with errx() and replace a big if..then..else construct to determine the package download directory with a lookup table.
Reviewed by: jkh MFC after: 2 weeks
|
76392 |
09-May-2001 |
obrien |
rcsid style fix.
|
76391 |
09-May-2001 |
obrien |
A WIP snuck in the rev 1.34 commit.
|
76147 |
30-Apr-2001 |
bmah |
The pkg_version -c output will now call for a "make clean" before and after the port build/install. The former cleans up "dirty" port work directories that happen to be lying around, and the latter cleans up after we're done so that they won't trip up someone else.
PR: ports/25106 Submitted by: tim@bishnet.net, nik, mwm@mired.org
|
76015 |
26-Apr-2001 |
ache |
Fix typo in prev commit - add missing comma
|
75981 |
25-Apr-2001 |
obrien |
Add /usr/X11R6/bin to the exported PATH. If /usr/local/bin is there, /usr/X11R6/bin should be there. This helps all the ports that need to run `mkfontdir' and error out as many port maintainers do not realize `mkfontdir' isn't in the path.
Prompted by: pkg_add pcemu
|
75903 |
24-Apr-2001 |
wes |
Don't build pkg_sign tools if crypto is not installed, or is not being built.
Reviewed by: kkenn
|
75715 |
19-Apr-2001 |
bmah |
Fix a problem with tests of the form "1.0" vs. "1.0a". MFC candidate.
Pointed out by: knu
|
75286 |
07-Apr-2001 |
ru |
beforeinstall -> SCRIPTS.
|
75166 |
04-Apr-2001 |
ru |
mdoc(7) police: .Nm remembers its argument on the first call.
|
75142 |
03-Apr-2001 |
bmah |
Implement a package number comparison routine for pkg_version(1) that actually conforms to the Porters Handbook.
Add a -t option to pkg_version(1) for doing comparison testing.
Add a script (and make test target) to do some regression tests on the package number comparison routine, to help debug future revisions.
Submitted by: knu Procrastination by: bmah
|
74816 |
26-Mar-2001 |
ru |
- Backout botched attempt to introduce MANSECT feature. - MAN[1-9] -> MAN.
|
74809 |
26-Mar-2001 |
sobomax |
Decapitalise first letter of warning message.
|
74808 |
26-Mar-2001 |
sobomax |
In which(1) mode resolve "/../", "/./" in arguments and PLIST contents. This is done without realpath() to avoid symlinks resolving.
Submitted by: sobomax, Garrett Rooney <rooneg@electricjellyfish.net>
|
74699 |
23-Mar-2001 |
sobomax |
- Add which(1)-like functionality into pkg_info; - fix a harmless bug in match_installed() function introduced in my last commit; - uniformely reorder includes across files.
Submitted by: Garrett Rooney <rooneg@electricjellyfish.net> Not objected by: jkh, -ports
|
74532 |
20-Mar-2001 |
ru |
Set the default manual section for usr.sbin/ to 8.
|
74295 |
15-Mar-2001 |
sobomax |
When creating a package sort dependencies in such a way that if dependency A depends on dependency B then dependency A will be in all cases listed before B, so ``pkg_add -r'' will fetch/install packages in the correct order.
Previously dependencies were sorted just by its names, which is why ``pkg_add -r'' never actually worked properly.
To be usefull, hovewer, this fix requires that all packages have been rebuilt, so it will take some time until users would be able to feel posititive improvements. For the same reasons it is desirable to propagate these changes to the 4-stable package building cluster *before* 4.3 ports freeze, so packages for 4.3-RELEASE would be properly prepared.
Prompted by: kris Insanely appreciated by: obrien Silently approved by: jkh, -ports
|
74258 |
14-Mar-2001 |
sobomax |
When matching installed packages against glob keep track of which patterns actually triggered a match and which did not, and add patterns that didn't into resulting list, so caller will have a chance to notify user that package isn't installed. This should fix current, POLA-breaking behaviour when user doesn't receive a notification if he specifies several packages, some of which aren't installed.
|
73974 |
08-Mar-2001 |
jkh |
Change check_sign to proper "pkg_sign" reference.
Noted by: Andrew Hesford <ajh3@chmod.ath.cx>
|
73751 |
05-Mar-2001 |
ru |
mdoc(7) police: misc markup fixes.
|
73587 |
05-Mar-2001 |
wes |
Build package signing tools if OpenSSL is included in the build.
Prodded-by: kkenn, this time.
|
73525 |
04-Mar-2001 |
roberto |
When called with the "-n" command line argument, pkg_delete is supposed to inform the user of all steps it would take.
The current code does not issue any messages regarding actions that would be performed by delete_package (removing files and executing @unexec commands), because when the Fake variable is 1, delete_package (which itself respects Fake and prints messages rather than taking action when it is 1) is not called at all.
Fix this.
PR: bin/24971 Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org>
|
73276 |
01-Mar-2001 |
sobomax |
Put back several lines that I erroneously deleted in my previous commit. This should fix recent segfault of `pkg_info -e'.
Submitted by: Garrett Rooney <rooneg@electricjellyfish.net>, knu
|
73233 |
28-Feb-2001 |
ru |
Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.
|
73144 |
27-Feb-2001 |
sobomax |
Properly detect and report malloc(3) failures.
|
73134 |
27-Feb-2001 |
sobomax |
- Merge recently added into pkg_info(1) regex/glob matching functionality into pkg_delete(1) as well; - add a new `-a' option for pkg_delete(1) to delete all installed packages; - add a new `-i' option for pkg_delete(1) to request simple rm(1)-like interactive confirmation before attempting to delete each package.
Silently approved by: jkh, -ports
|
72978 |
24-Feb-2001 |
sobomax |
Add two missed modifiers into usage message (`-G' and `-x').
|
72782 |
21-Feb-2001 |
sobomax |
Fix a typo, that in some cases may lead to incorrect packages reordering.
|
72776 |
20-Feb-2001 |
jkh |
Use the more logical author syntax from pkg_version and quote email addresses properly.
|
72694 |
19-Feb-2001 |
sobomax |
Improve pkg_delete(1) behaviour when deleting several packages at once.
Instead of trying to delete packages in the same order as they were specified in the command line, reorder deletion in such a way that if package A depends on package B then package A will be deleted before B no matter in which order they were specified in the command line.
Reviewed by: jkh, will Approved by: jkh
|
72578 |
17-Feb-2001 |
obrien |
MFS: getpackagesite() from RELENG_4 that allows the code to be the same.
|
72531 |
16-Feb-2001 |
ru |
mdoc(7) police: sanitize previous commit.
|
72430 |
13-Feb-2001 |
obrien |
In light of the dismal transfer times from ftp.FreeBSD.org, add a new `PACKAGEROOT' env var which you would set to a proper mirror of ftp.FreeBSD.org (say "export PACKAGEROOT=ftp://ftp3.FreeBSD.org"), to fetch from an alternate place. This is easier to use than `PACKAGESITE' for true mirrors, and can be used in your dot files across all versions of FreeBSD.
|
72253 |
09-Feb-2001 |
bmah |
Prevent the commands output of pkg_version.pl from being executed without the user actually editing the output. Too many people were rampantly abusing this feature via "pkg_version -c | sh" without really being cognizant of the dangers involved (ports upgrade kits) or the fact that it just plain wasn't designed for it (dependencies). We'll try to keep people from shooting themselves in the foot.
Will be MFC-ed to RELENG_4 and RELENG_3 after cooling-off period.
|
72202 |
09-Feb-2001 |
ru |
mdoc(7) police: cosmetics.
|
72174 |
08-Feb-2001 |
sobomax |
- By default treat supplied arguments as a shell globs to be matched against names of installed packages; - add new `-G' option to disable glob matching and revert to previous behaviour (I have no idea why this could be necessary, though); - add a new `-x' option, which instructs pkg_info(1) to treat supplied arguments as a regular expressions.
For example: $ pkg_info foo\* - displays information about all packages whose names start from foo $ pkg_info -G foo\*-1.1 - displays information about package named "foo*-1.1" $ pkg_info -x ^foo.\* - displays information about all packages whose names start from foo
Original idea submitted by: Edwin Groothuis <mavetju@chello.nl> (bin/24695) Reviewed by: jkh, roam Approved by: jkh
|
72126 |
07-Feb-2001 |
ru |
mdoc(7) police: Change -filled displays (which just happen to be the same as -ragged in the current implementation) to -ragged. With mdocNG, -filled displays produce the correct output, formatted and justified to both margins.
|
72091 |
06-Feb-2001 |
asmodai |
Fix typo: seperate -> separate.
Seperate does not exist in the english language.
|
72076 |
06-Feb-2001 |
wes |
Add package signing utilities; somebody might actually want them. These are not enabled in the pkg_install Makefile as of yet; adding the "sign" directory to the SUBDIR list will enable building of sign.
Submitted by: Wes Peters Obtained from: Original framework from OpenBSD 2.7, X.509 bits from DoBox.
|
72034 |
05-Feb-2001 |
sobomax |
-pedantic mode: - Add a missed prototype for the recently added show_cksum() function; - put in "explicit braces to avoid ambitious else" suggested by gcc(1).
|
71965 |
03-Feb-2001 |
jkh |
Add a -g flag for verifying an installed package against its recorded checksums (to see if it's been modified post-installation). Naturally, this mechanism is only as secure as the contents of /var/db/pkg if you're using it for auditing purposes.
Submitted by: Roman Shterenzon <roman@xpert.com>
|
71898 |
01-Feb-2001 |
ru |
mdoc(7) police: split punctuation characters + misc fixes.
|
71513 |
24-Jan-2001 |
sobomax |
Make `-y' option actually work.
Submitted by: reg
|
71376 |
22-Jan-2001 |
sobomax |
Use .Pa instead of .Dq.
Submitted by: ru
|
71373 |
22-Jan-2001 |
sobomax |
- Add ability to handle bzip2-compressed packages; - fix cosmetics to shut-up compiler in -pedantic mode (axe several unused vars and provide default clause in several switch() statements).
No response from: -ports
|
71263 |
19-Jan-2001 |
ru |
mdoc(7) police: removed leading whitespaces that are not inside Bd/Ed; these hardly degrade the quality of the produced output.
|
71102 |
16-Jan-2001 |
ru |
Prepare for mdoc(7)NG.
|
71095 |
16-Jan-2001 |
sobomax |
- Fix a nasty bug where pkg_create doesn't gzip package if lengh of package name is less than 5 and doesn't contain recognizeable suffix (one of .tar or .tgz), while gzip's it if lengh of the name greater than 4. For example `pkg_create [options] pkg1' will create pkg1.tar, while `pkg_create [options] pkg11' will create pkg11.tgz; - use TRUE/FALSE as a values for boolean variables instead of explicit 1/0 and erroneous YES in one case.
MFC candidate.
|
71055 |
15-Jan-2001 |
sobomax |
Fix a bug arised from the ')' in the wrong place when calling printf()-like varargs function, which lead to one of the arguments was left out. This resulted in failure when inwoking mtree, warning message "mtree returned a non-zero status - continuing" and probably is the reason for zillion mtree errors on bento.
|
71008 |
14-Jan-2001 |
paul |
Fix a nasty bug whereby if the package file didn't have a version number then all packages would be deinstalled!
The tightening up of version number checking also fixes a bug where a package file such as gtk.tgz would have resulting in gtk-engines being deinstalled.
|
70964 |
12-Jan-2001 |
sobomax |
Fix a bug where pkg_create does not make an md5 entry for the last item in the packing list. Also use switch() instead of zillion "else if ()" and for() loop instead of while() loop for traversing through linked list.
MFC candidate.
Submitted by: Alec Wolman <wolman@cs.washington.edu>
|
70502 |
30-Dec-2000 |
paul |
Change open modes from ">$file" to "> $file" because it's much safer should $file not be what you expect, particularly should $file turn out to be "+REQUIRES" since ">+" is a valid open mode.
This isn't currently a problem since $file is constructed safely but it removes the potential of future problems.
Pointed out by Anton Berezin.
|
70465 |
29-Dec-2000 |
ru |
mdoc(7) police: get rid of hard sentence breaks, add missing .El, etc.
|
70447 |
28-Dec-2000 |
paul |
Fix the broken options that were in the development version I committed by mistake.
|
70445 |
28-Dec-2000 |
paul |
Bring the man page up to date with the current version of the script.
|
70443 |
28-Dec-2000 |
paul |
Add pkg_update, which can replace currently installed ports with new versions while taking of updating all the dependencies.
|
70403 |
27-Dec-2000 |
ru |
Prepare for mdoc(7)NG.
|
70015 |
14-Dec-2000 |
ru |
mdoc(7) police: removed history info from the .Os FreeBSD call.
|
69793 |
09-Dec-2000 |
obrien |
Add `_PATH_DEVZERO'. Use _PATH_* where where possible.
|
69623 |
05-Dec-2000 |
sobomax |
Alphabetically reorder options in `.Op Fl' macro to be consistent with the rest of the code.
|
69616 |
05-Dec-2000 |
sobomax |
- Add missed `-s' option into usage printout; - sort options alphabetically.
|
68965 |
20-Nov-2000 |
ru |
mdoc(7) police: use the new features of the Nm macro.
|
68854 |
17-Nov-2000 |
ru |
mdoc(7) police: use certified section headers wherever possible.
|
68716 |
14-Nov-2000 |
ru |
Use Fx macro wherever possible.
|
67886 |
29-Oct-2000 |
des |
Insetad of using fileno(ftp) as stdin for tar, use a pipe and have the parent pass the data received from the server to the child.
|
67656 |
26-Oct-2000 |
bmah |
Sigh. It'd be nice to completely commit a bugfix. Once again:
Fix a bug in which pkg_version(1) was ignoring $PORTREVISION or $PORTEPOCH from ports' Makefile definitions.
|
67654 |
26-Oct-2000 |
bmah |
Fix a bug in which pkg_version(1) was ignoring $PORTREVISION or $PORTEPOCH from ports' Makefile definitions.
|
67573 |
25-Oct-2000 |
bmah |
Utilize the "-o" (origin) option recently added to pkg_create(1) and pkg_info(1), for more accurate determination of the "up-to-date-ness" of installed packages.
|
67454 |
23-Oct-2000 |
sobomax |
Add "-o" option to pkg_create(1) and pkg_info(1). This option intended to record a path of the port from which package has been created within FreeBSD Ports Collection and will be used to improve pkg_version(1) and similar tools.
Reviewed by: ports@FreeBSD.org, jkh Approved by: jkh
|
67429 |
22-Oct-2000 |
jkh |
Cause fatal error messages to be a little more helpful to the programmer concerning where they're taking place.
Switch from [r]index() to str[r]chr() functions, which are more ISO compliant.
Prompted by: Edward Welbourne <eddy@vortigen.demon.co.uk>
|
67349 |
20-Oct-2000 |
bmah |
Add -L option to limit the package status characters the user *doesn't* want to see.
Submitted by: Doug Barton <DougB@gorean.org>
|
67348 |
20-Oct-2000 |
bmah |
Make pkg_version -c -l work.
PR: bin/19019 Submitted by: Stijn Hoop <stijn@win.tue.nl>
|
67300 |
18-Oct-2000 |
des |
Trim index lines down to 79 characters, not 80.
Approved by: jkh
|
66344 |
25-Sep-2000 |
marko |
Fix typo
|
66339 |
25-Sep-2000 |
marko |
Make the ``-r'' option actually do something :) Also tidy up it's output.
Approved by: jkh
|
66021 |
18-Sep-2000 |
sobomax |
Fix symlink-to-a-dir handling in pkg_delete.
Reviewed by: -ports Tested by: bento
|
65874 |
15-Sep-2000 |
bmah |
pkg_version(1) will now distinguish between the different cases where the exact relationship between an installed package and its corresponding entry in the index file can't be determined.
Submitted by: Mark Ovens <marko@freebsd.org>
|
65750 |
11-Sep-2000 |
bmah |
Arrgh. Back out a change used during debugging and fix a typo.
|
65648 |
09-Sep-2000 |
bmah |
Remove a workaround for a long-fixed bug in fetch(1). Update URL for on-line Ports Collection INDEX file.
|
65646 |
09-Sep-2000 |
bmah |
pkg_version.pl now understands the new package/port numbering scheme introduced by version 1.349 of ports/Mk/bsd.port.mk and originally submitted by kris.
In particular, it understands the $PORTREVISION (FreeBSD-specific changes or patches to a port) and $PORTEPOCH (for re-sorting version numbers when not used or when broken).
|
65028 |
23-Aug-2000 |
bmah |
Update my email address in various places in pkg_version.
|
64949 |
22-Aug-2000 |
billf |
Now that Bruce Mah is a committer, retire my co-maintainership of pkg_version.
|
64366 |
07-Aug-2000 |
marko |
Fix bug with -c option
PR: 18176 Reviewed by: Bruce A. Mah <bmah@acm.org>
|
62775 |
07-Jul-2000 |
sobomax |
New option "-s" to query size of the installed package(s).
PR: 19445 Submitted by: sobomax Reviewed by: knu Approved by: silence
|
62154 |
27-Jun-2000 |
des |
Use libfetch instead of libftpio. This adds support for http and IPv6.
|
61171 |
02-Jun-2000 |
hoek |
Use `rm -f` if the -f (force) option was given.
|
60563 |
14-May-2000 |
steve |
Avoid infinite loops when given a package name like 'm4-1.1/'.
Approved by: jkh
|
60499 |
13-May-2000 |
hoek |
Finally remove the restriction introduced from NetBSD in r.1.3 that pkg_delete be run as root. Now honours -f and checks ownership of ${PKG_DBDIR} before errx()'ing.
Requested by: bin/5718, myself, bin/18373 (in order)
|
58092 |
15-Mar-2000 |
sheldonh |
Do not preserve UIDs, permissions nor flags of package system files in tar files. This fixes clean-up problems during package creation and does not affect the actual files to be included in the package.
The fix submitted on the attributed PR was identical to the one obtained from NetBSD.
PR: 17386 Reported by: Adrian Filipi-Martin <adrian@ubergeeks.com> Obtained from: NetBSD
|
58010 |
13-Mar-2000 |
billf |
-CURRENT is now 500000, reflect that.
|
57673 |
01-Mar-2000 |
sheldonh |
Remove single-space hard sentence breaks. These degrade the quality of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
|
57628 |
29-Feb-2000 |
jhb |
Add cross references to pkg_version(1) in all the other pkg_* man pages. Also, add a cross reference to pkg_info(1) in pkg_version(1). Finally, in pkg_version(1), don't put a period at the end of the list of see also man pages.
Noticed by: Matt Ayres <matta@fast.net>
|
57528 |
27-Feb-2000 |
kris |
pkg_create doesn't use more(1) for displaying +DISPLAY files, it just cats it to stdout.
|
57331 |
19-Feb-2000 |
jkh |
1. If checking for directory-ness, check "dir" and "dir/" to catch the case where we have a symlink pointing at a dir.
2. Restore stomped character before returning in make_hierarchy()
|
57330 |
19-Feb-2000 |
jkh |
1. If checking for directory-ness, check "dir" and "dir/" to catch the case where we have a symlink pointing at a dir.
2. Restore stomped character before returning in make_hierarchy()
|
57311 |
18-Feb-2000 |
jkh |
While looking for a bug, tripped over style issues with added code. Fix them.
|
57034 |
08-Feb-2000 |
obrien |
Use lstat(2) rather than stat(2) in isdir(), so that a symlink to a directory is not considered a directory. I have a feeling all the other stat(2) calls should instead be lstat(2) calls, but I have not suffiently determined that the current behavior [especially in isfile()] isn't depended upon by someone.
Ok'ed by: JKH
|
56885 |
29-Jan-2000 |
chris |
Grammar fix: ``Different than'' should be ``different from''.
|
56211 |
18-Jan-2000 |
dan |
Fix a bug in previous commit where pkg_{delete,info} foo-1.0/ would segfault.
Noticed first by: kris
|
56001 |
15-Jan-2000 |
dan |
Teach pkg_delete and pkg_info how to deal with full pathnames (/var/db/pkg/foo-1.0, instead of just foo-1.0).
Submitted by: Matthew D. Fuller <fullermd@futuresouth.com>
|
55821 |
11-Jan-2000 |
sheldonh |
Fix bogon in previous commit: pass a string argument to printf(3) to satisfy the %s conversion format specifier.
Reported by: Mark Huizer <freebsd@xaa.iae.nl>
|
55812 |
11-Jan-2000 |
sheldonh |
Use a more helpful fatal error message than "Toto! This doesn't look like Kansas anymore!" when unable to return to the original working directory.
PR: bin/16015
|
55567 |
07-Jan-2000 |
phantom |
Include -f and -t options to SYNOPSYS section (manpage) and usage information (main.c)
PR: bin/5410 Submitted by: Frank Volf <volf@oasis.IAEhv.nl>
|
55395 |
04-Jan-2000 |
jkh |
Deal with package filenames which contain spaces.
Submitted by: Ming-I Hsieh <mihs@wm28.csie.ncu.edu.tw> PR: 15667
|
55367 |
03-Jan-2000 |
asami |
Redirect stdout from mtree to /dev/null; we don't really need to know the list of directories being created when we install a package.
|
54181 |
06-Dec-1999 |
jkh |
Only pkg_delete the old package if the new one builds properly.
Submitted by: Dan "The Bug" Bugg <bugg@bugg.strangled.net>
|
54053 |
03-Dec-1999 |
billf |
Add '-l' which will match a certain status code. Add the submitter as a contributor in the man page freebsd -> FreeBSD, while I'm poking around.
PR: bin/15162 Submitted by: Dominic Mitchell <dom@palmerharvey.co.uk>
|
54052 |
03-Dec-1999 |
billf |
Correct co-MAINTAINER's e-mail address. I don't know how many more ways I can screw his address up. Suggestions welcome.
|
53844 |
28-Nov-1999 |
billf |
Install man pages in the right place. This is what I get for cheating and copying a Makefile from another directory over to this one.
PR: docs/15140 Submitted by: Kazuo Horikawa <horikawa@jp.FreeBSD.org>
|
53724 |
26-Nov-1999 |
billf |
Add the author as co-maintainer, a la mergemaster.
|
53723 |
26-Nov-1999 |
billf |
Welcome pkg_version into the FreeBSD source tree.
pkg_version (as you may well know) matches the existing packages/ports installed on your system with the ports INDEX and reports which ports differ from the current INDEX.
Submitted by: Bruce A. Mah <CA.Sandia.GOV> Reviewed by: ports
|
53388 |
18-Nov-1999 |
cpiazza |
Make `pkg_add -r package1 package2 package3 ...` work correctly.
Reviewed by: billf
|
51638 |
25-Sep-1999 |
billf |
o Remove all of the objformat logic, it's never coming back. o Simplify getpackagesite(), it comes back in full glory when we branch again. It's still needed however to get the i386 or alpha directory.
|
51142 |
11-Sep-1999 |
max |
Document the fact that pkg_add/delete passes INSTALL/DEINSTALL respectively to rscript.
|
50741 |
01-Sep-1999 |
jkh |
Use the appropriate macro for double quotes rather than using double quotes.
Submitted by: Alexey Zelkin <phantom@cris.net> PR: 13436
|
50580 |
29-Aug-1999 |
peter |
Remove some $Log$ debris
|
50488 |
28-Aug-1999 |
peter |
$Header$ -> $FreeBSD$
|
50479 |
28-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
49824 |
15-Aug-1999 |
mpp |
Various man page cleanup:
- Sort xrefs. - FreeBSD.ORG -> FreeBSD.org - Be consistent with section names as outlined in mdoc(7). - Other misc mdoc cleanup.
PR: doc/13144 Submitted by: Alexey M. Zelkin <phantom@cris.net>
|
49637 |
11-Aug-1999 |
billf |
-Wall fixes. Ambigious if/elses, uninitialized values, missing headers, missing prototypes, and empty format strings.
|
49300 |
30-Jul-1999 |
jdp |
When listing the installed packages, do it in alphabetical order.
|
48791 |
12-Jul-1999 |
nik |
Add $Id$, to make it simpler for members of the translation teams to track.
The Id line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so;
.\" $Id$ .\"
If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted.
Approved by: bde
|
48170 |
24-Jun-1999 |
imp |
'?' shouldn't be in the usage string. Unknown characters are already converted to '?'.
|
48143 |
23-Jun-1999 |
billf |
If we are going to have a case for '?' then we should define it in Options.
Submitted by: Ben Olson <bseth@chc-chimes.com>
|
47916 |
14-Jun-1999 |
obrien |
Support Alpha and -CURRENT in the "-r" option case.
|
47853 |
09-Jun-1999 |
jkh |
where_arge is allocated on stack and return address is overwritten by buffer overflow.
Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
|
47039 |
12-May-1999 |
jkh |
Revive the PKG_ADD_BASE stuff a bit.
|
46105 |
27-Apr-1999 |
jkh |
If pkg_info is run with no args, default to "-aI".
|
43920 |
12-Feb-1999 |
alex |
Removed occurrences of consecutive repeated words (such as "the the").
|
43359 |
28-Jan-1999 |
billf |
Fix nasty bug where getpackagesite() will return an integer if it doesn't know what revision of FreeBSD is being run. This case should never happen, but just in case.
|
43244 |
26-Jan-1999 |
billf |
Numbering typo, missed a '0'
Submitted by: Brian Feldman
|
43204 |
25-Jan-1999 |
billf |
Update pkg_add's remote package feature to reflect the new structure of wcarchive. This needs to be updated when:
(a) The directory structure changes on wcarchive (b) getosreldate() has a new significance (ie. get ELF packages/get a.out packages) (c) Branches are changed around
As we stand right now, 3.0-postELFday and 4.0-x all point to the same directory, but when 4.0 starts to have its own packages, this file will need to be changed.
|
42786 |
18-Jan-1999 |
billf |
Style police, inline ifs.
Submitted by: Brian Feldman <green@unixhelp.org>
|
42750 |
17-Jan-1999 |
jseger |
enviornment -> environment PR: docs/9534 Submitted by: rv@fore.com
|
42740 |
17-Jan-1999 |
billf |
Add a new option for pkg_add, -r.
The remote option allows for automatic package fetching and installation using the package repository found on wcarchive. Naturally, this site can be overridden with a enviornment variable.
This code uses getobjformat() and getosreldate(). This means when some event causes the package to be fetched to change (such as e-day) the logic also needs to be changed.
Sorta reviewed by: jkh Code suggestions: peter, jkh, eivind, msmith
|
42215 |
31-Dec-1998 |
obrien |
document PKG_DBDIR Add ENVIRONMENT and FILES sections.
|
42214 |
31-Dec-1998 |
obrien |
change wording slightly to match other pkg_*.1
|
41866 |
16-Dec-1998 |
jkh |
Make it possible to have separate install scripts as well as have an on-delete script.
Submitted by: Rajesh Vaidheeswarran <rv@fore.com>
|
41530 |
05-Dec-1998 |
asami |
Fix support for uncompressed (".tar") package types. It's not completely fixed (chained dependency checking for pkg_add is broken, for one thing) but at least you can now create one package and use it.
|
41080 |
11-Nov-1998 |
jkh |
Fix bug where trailing slash could confuse the registry removal.
Noticed by: des
|
40709 |
28-Oct-1998 |
jkh |
Unlink old contents of package when extracting new. Submitted by: pst
|
40354 |
14-Oct-1998 |
jkh |
Revert 1.33; lstat() is indeed the wrong thing to do here. I'll revisit this after release.
|
40266 |
12-Oct-1998 |
jkh |
Correct a misleading comment.
|
40085 |
09-Oct-1998 |
jkh |
Use lstat() rather than stat in determining whether a file exists, otherwise we'll miss the "symlink exists but points nowhere" case. Submitted by: asami and/or possibly <ru@ucb.crimea.ua>
|
39185 |
14-Sep-1998 |
jkh |
Use a more reasonable default umask in case the root umask is too fascist. PR: 4014
|
39068 |
11-Sep-1998 |
jkh |
correct usage of cleanup() everywhere - this became bogus when the warnx/errx stuff was added and nobody seems to have noticed. :) Noticed by: Josh MacDonald <jmacd@paris.CS.Berkeley.EDU>
|
38942 |
08-Sep-1998 |
jkh |
o Set paths internally for pkg_add for tools we might want to invoke. o Fix bogus suffix handling. o Tell user when an FTP url is being xferred rather than being silent. This sort of violates "the unix way" but it stops people from whacking ^C when they think it's hung, too. Sometimes visual indication of success is important. Doesn't spit out anything if not on a TTY.
|
38933 |
08-Sep-1998 |
jkh |
Fix bogus suffix stripping to be less naive. PR: 3418 Noted by: pst
|
38931 |
08-Sep-1998 |
jkh |
Fail as documented when a dependency cannot be found PR: 7318 Submitted by: djv@bedford.net
|
38723 |
01-Sep-1998 |
jkh |
Silence potentially bogus warning.
|
38583 |
27-Aug-1998 |
jkh |
Fix recursive package add problem (for on-disk package files) I introduced with the change in semantics to make_playpen(). Now package dependencies more than 2 levels deep should work again. Pass the hat.
|
37914 |
28-Jul-1998 |
jkh |
Don't exit() from cleanup() if we got there via a non-signal since we're only going to exit (after printing a more detailed error message) afterwards anyway. PR: 7020
|
37900 |
28-Jul-1998 |
nectar |
Paranoia: use mkdtemp instead of mktemp PR: bin/3212 Reviewed by: jkh@FreeBSD.ORG
|
37744 |
18-Jul-1998 |
hoek |
Clarify "Cannot delete file as directory" errmessage.
PR: bin/1985
|
37728 |
17-Jul-1998 |
eivind |
Avoid race-conditions on playpen delete.
|
37634 |
14-Jul-1998 |
jkoshy |
Add $Id$.
PR: 7251 Submitted by: Norihiro Kumagai <kuma@jp.freebsd.org>
|
37410 |
06-Jul-1998 |
jkoshy |
Document `-I' and `-R' options to `pkg_info'.
PR: 7155
|
37378 |
04-Jul-1998 |
jkh |
MF22: check for null pointer.
|
37166 |
26-Jun-1998 |
jkoshy |
Document environment variables used by pkg_{add,create,info}. These include PKG_TMPDIR, TMPDIR, PKG_DBDIR. Add a FILES section to these manual pages.
PR: docs/7064
|
36322 |
24-May-1998 |
steve |
Loosely document the '-s' commandline option.
PR: 6713
|
35160 |
12-Apr-1998 |
jkh |
Fix dependent-package loading when pkg_adding with an FTP URL. I broke this when I changed the playpen code to disallow recursion. I know this fixes a PR someplace but I can't seem to find it with the GNATs search tool.
|
34809 |
23-Mar-1998 |
charnier |
.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.
|
34149 |
07-Mar-1998 |
bde |
Use `foo/bar.a' instead of `-Lfoo -lbar' for linking to static internal libraries, so that `ld -f' in can create correct dependencies for yet-to-be-built libraries.
|
33427 |
16-Feb-1998 |
jkh |
Eliminate the idea of nested "playpens" entirely - it just obfuscated the code and, in at least one case, made it more dangerous to no gain.
|
32665 |
21-Jan-1998 |
jkh |
I must have been smoking crack when I made this change. Using sh -c in a vsystem() call is just a ludicrous way of calling sh -c "sh -c ..." Whoops! I don't know my own bloody code here!
|
32659 |
21-Jan-1998 |
imp |
Quote filenames more agressively. Reviewed by: jkh Submitted by: Hubert Feyrer
|
32587 |
17-Jan-1998 |
jkh |
MF22: fix to install script handling.
|
32371 |
09-Jan-1998 |
jkh |
MF22: Additional paranoia in cleanup.
|
32334 |
08-Jan-1998 |
jkh |
Don't assume install script is directly runnable - use sh -c.
|
31997 |
26-Dec-1997 |
hoek |
"This is the add^H^H^Hinfo module."
Pedantic comment fix.
PR: bin/5188 Submitted by: Alex [3]garbanzo@hooked.net
|
31166 |
14-Nov-1997 |
jkh |
MF22: Revert part of -p handling.
|
31152 |
13-Nov-1997 |
jkh |
The prefix override code was bogus. The original idea was sound enough, but we're not using the pkg_create tool that way anymore in the ports collection.
PR: 4894 Submitted by: Adrian Colley <aecolley@ois.ie>
|
30686 |
24-Oct-1997 |
max |
Pkg_add refused to process package whose packing list contains @exec/@unexec before any file names. This change makes pkg_add to process those packages if @exec/@unexec commands don't contain any %[fFB]. Also enable @exec/@unexec that have %D if the installation prefix is known to pkg_add. Reviewed by: jkh
|
30533 |
18-Oct-1997 |
jkh |
- do string-magic on the right variable when trying to find dependent packages on the local disk (i.e. package given as filename, not URL) - document $PKG_PATH - use -v on pkg_add for dependent packages
Submitted by: hubertf@NetBSD.ORG Obtained from: NetBSD
|
30531 |
18-Oct-1997 |
jkh |
Deal with PLIST_UNEXEC properly. PR: 4784 Submitted by: Stefan `Sec` Zehl <sec@quit.42.org>
|
30387 |
13-Oct-1997 |
jkh |
Don't return from cleanup() - if it's removed the playpen then very bad things will happen if we return to unsuspecting code. Noted to my great dismay by: Tim Vanderhoek <hoek@hwcn.org>
|
30221 |
08-Oct-1997 |
charnier |
Use err(3). Cosmetics in usage string and man page.
|
29889 |
27-Sep-1997 |
hoek |
Document pkg_add's dependency auto-install. While I'm here, fix a couple typos, and consistent double-spacing after sentences.
This is actually a spinoff from the "ports-current discontinued" blow-up some time ago.
Ack'd by: jkh
|
29574 |
18-Sep-1997 |
phk |
Many places in the code NULL is used in integer context, where plain 0 should be used. This happens to work because we #define NULL to 0, but is stylistically wrong and can cause problems for people trying to port bits of code to other environments.
PR: 2752 Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
|
29336 |
13-Sep-1997 |
max |
Typo.
|
29032 |
02-Sep-1997 |
jkh |
Eliminate an annoying message.
|
27192 |
04-Jul-1997 |
jkh |
Add proper md5 comments to ports-installed packages also by masticating it through the same routine used by pkg_create. Submitted by: se
|
27137 |
01-Jul-1997 |
jkh |
Change the naming conventions for preserve'd files and also document the option in pkg_create. Now preserved files start with a . and are named .<filename>.<pkgname>.backup so that their purpose is more clear.
Note that just using the preserve option without proper pkg_deps is also foolish since packages being deleted in the incorrect order with preserve on can generate some odd results.
|
27092 |
30-Jun-1997 |
jkh |
YAMF22 - deletes and preserve option fixes.
|
27087 |
30-Jun-1997 |
jkh |
Whoops, only attempt to back up the file if it exists. :-}
|
27056 |
29-Jun-1997 |
jkh |
Add support for @option preserve - moves existing files out of the way before replacing them (using pkgname to make this hopefully unique). Delete also moves them back, if they exist, resulting in a package which can be "backed out" with reasonable safety.
|
26745 |
19-Jun-1997 |
jkh |
Fix multiple documentation bogons. PR: 3798 Submitted by: Jan Kuriyama <kuriyama@opt.phys.waseda.ac.jp>
|
26473 |
06-Jun-1997 |
jkh |
Add support for srcdir overrides.
|
26105 |
24-May-1997 |
ache |
When no last file specified for % command user barf(error diagnostic) instead of segmentation fault
|
25394 |
02-May-1997 |
max |
Minor typo. PR: 3473 Submitted by: Josh Gilliam <soil@quick.net>
|
24428 |
31-Mar-1997 |
imp |
compare return value from getopt against -1 rather than EOF, per the final posix standard on the topic.
|
23442 |
06-Mar-1997 |
jkh |
Protect against missing initial @cwd. Closes PR#2893 Submitted-By: pius@iago.ienet.com
|
23109 |
25-Feb-1997 |
jkh |
Close PR#2459
|
22997 |
22-Feb-1997 |
peter |
Revert $FreeBSD$ to $Id$
|
22762 |
15-Feb-1997 |
jkh |
Prevent potential argument buffer overflow.
|
22750 |
15-Feb-1997 |
jkh |
Fix a bogon with playpen size calculation for pkg of "-". It's amazing this ever worked, actually.
|
22690 |
14-Feb-1997 |
jkh |
Put back @owner/@group/@mode behavior I took out way back when. Submitted-By: pst
|
21880 |
20-Jan-1997 |
wosch |
Sort cross references.
|
21673 |
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
|
21650 |
13-Jan-1997 |
jkh |
Correct a problem which broke +DISPLAY file handling.
|
19733 |
14-Nov-1996 |
ache |
Use new ftpGetURL interface, as result, report FTP error via ftpErrString or net error via hstrerror(h_errno)
|
18929 |
14-Oct-1996 |
jkh |
Fix PR#1557 - chained package dependencies using URLs didn't work.
|
17719 |
20-Aug-1996 |
jkh |
Clean up the english a little, having made the mistake of reading it.
|
17378 |
01-Aug-1996 |
jkh |
Put verbosity in the right place.
|
17373 |
31-Jul-1996 |
jkh |
Make -force work for pkg_add.
|
17338 |
30-Jul-1996 |
jkh |
Add MD5 checksums to packing list for all files during pkg_create and use later at pkg_delete time to verify that you're deleting what you added. This, of course, does NOT cover the case where a file you still need hasn't changed! That's a tougher problem to solve, and this provides only the minimal amount of safety belt. MD5 checksums are stored in comment fields, so packages produced with these tools are backwards compatible with the older ones.
|
16663 |
24-Jun-1996 |
jkh |
Bring in my changes for removing the pestilent obj links (unless you really want them) from /usr/src. This is the final version of the patches, incorporating the feedback I've received from -current.
|
16549 |
20-Jun-1996 |
jkh |
Make pkg_install understand and use libftpio instead of its own copies of the ftp support routines. Also some cosmetic and minor bug fixes I've been meaning to incorporate for awhile.
|
16404 |
16-Jun-1996 |
jkh |
Make a small optimization which shaves about a second off the time it takes to build the `All' menu in configPackages.
|
16179 |
08-Jun-1996 |
alex |
Change min_free to return free space as an off_t instead of a size_t.
|
16087 |
03-Jun-1996 |
jkh |
fix PR#599 Submitted-By: jdp
|
16059 |
01-Jun-1996 |
jkh |
Oh my, looks like I didn't understand .B as well as I thought I did! :-)
|
15135 |
08-Apr-1996 |
mpp |
Correct some man page xrefs, and some other minor changes to bring some man pages up to mdoc guidelines and fix some minor formatting glitches. Also fixed a number of man pages to not abuse the .Xr macro to display functions and path names and a lot of other junk.
|
14728 |
20-Mar-1996 |
jdp |
Close a file descriptor that I had (harmlessly) left open in a child process.
|
14582 |
12-Mar-1996 |
jkh |
Fix a couple of miscellaneous bugs and make pkg_add also support reading from stdin.
|
14155 |
19-Feb-1996 |
mpp |
Initialize the argument list in the unpack() routine to zero. This prevents a core dump due to the stack being trashed if pkg_add is asked to process something that really isn't a package file.
|
14045 |
12-Feb-1996 |
mpp |
Another round of man page cleanups.
Down to only about 100 items left to cleanup! :-)
|
13994 |
09-Feb-1996 |
jkh |
Fix to catch a stupid oversight on my part which allowed this thing to remove the current directory under certain circumstances. Submitted by: Richard J Kuhns <rjk@watson.grauel.com>
|
13946 |
06-Feb-1996 |
jdp |
Fixed pkg_create to eliminate the limits on the size of the PLIST. Formerly, there were limits on both the number of files (hard-coded into the program) and the number of characters (because of the ARG_MAX limit in exec(2)). In this new version, the filenames are passed to tar through a pipe, using tar's "-T" option, rather than on the command line.
|
13122 |
30-Dec-1995 |
peter |
recording cvs-1.6 file death
|
12219 |
12-Nov-1995 |
jkh |
Bring my pkg_install improvements forward from 2.1.
|
11971 |
31-Oct-1995 |
jkh |
Fix the `pkg_add relative to .' bug. Thank you, Ville! Submitted by: Ville Eerola <ville@vlsi.fi>
|
11780 |
25-Oct-1995 |
jkh |
Bring forward my changes from 2.1
|
10388 |
28-Aug-1995 |
jkh |
Don't be needlessly verbose in the pkg_create.
|
10339 |
26-Aug-1995 |
jkh |
Make the play-pen searching routine even more agile in trying to create a /usr/tmp dir if it makes sense to do so.
|
10309 |
26-Aug-1995 |
jkh |
Use size_t properly in all fs size ops. This kills a bug encountered by someone who had his /tmp on a partition with 3.7GB of free space! Spotted by: Francisco Rosich Viana <rosich@power.ci.uv.es>
|
10085 |
17-Aug-1995 |
jkh |
Some fixes to make this "TMPDIR agile". Submitted by: jmacd + some of my own fixes.
|
9953 |
06-Aug-1995 |
jkh |
Make "out of space in ${PKG_TMPDIR}" handling a bit more robust. Print the right thing, do the right thing. Back to you, Satoshi!
|
9894 |
04-Aug-1995 |
jkh |
Remove useless -lftp arguments from Makefiles. Suggested by: ache
|
9838 |
01-Aug-1995 |
jkh |
Round this out. Now seems to transfer packages properly over ftp as it was supposed to. PKG_PATH more sorely needed than ever now.. Hmmmm.
|
9837 |
01-Aug-1995 |
jkh |
Argh! I hate my life! I can't seem to do anything right here today. This should restore functionality to the pkg_install suite.
|
9808 |
31-Jul-1995 |
asami |
Sync this up with ftp.c.
|
9807 |
31-Jul-1995 |
jkh |
Remove dependency on sysinstall.
|
9806 |
31-Jul-1995 |
jkh |
Add ftp.c to makefile - that might make it work better. Sheesh!
|
9789 |
30-Jul-1995 |
jkh |
Change the environment variable this looks for from FTP_PASSIVE to FTP_PASSIVE_MODE. It would be really nice if we could standardise on this name so that all tools (like ncftp) that offer passive/active ftp selection would work seamlessly with one user environment variable setting.
|
9788 |
30-Jul-1995 |
jkh |
Document how to get pkg_add to use PASSIVE MODE ftp in such transfers.
|
9787 |
30-Jul-1995 |
jkh |
Totally eliminate the dependency on libftp (which will be removed from the FreeBSD source tree) and switch to the internal ftp routines developed by Poul-Henning and used in sysinstall.
|
9786 |
30-Jul-1995 |
jkh |
o Fix PR# bin/643 - always set "where_to" properly.
o Nuke dependence on libftp - it's about to die!
|
9784 |
30-Jul-1995 |
asami |
The default for temporary directory is /var/tmp, not /tmp.
|
9782 |
30-Jul-1995 |
ache |
You can run pkg_info everywhere expect /var/db/pkg directory :-) Running there you got any kind of strange errors from tar caused by treating directories as tar files! Fix it by adding new isfile(name) (check for reg. files) to simple fexists(name) calls.
|
9781 |
30-Jul-1995 |
ache |
If some files lost in /var/db/pkg/<port>/ after system crash f.e., pkg_manage silently dumps core, pkg_info claims about them to stderr, which makes very difficult to find what directory cause it via tons of pkg_info -a output. I found solution which covers both variants, now pkg_info claims about missing files to stdout among valid output with ERROR: prefix. It heals pkg_manage to not dump core and makes easy to find errors in pkg_info -a output by simple /ERROR 'more' command.
|
9743 |
28-Jul-1995 |
ache |
Fix coredump for -v flag Submitted by: Thomas Gellekum <thomas@ghpc8.ihf.rwth-aachen.de> Obtained from:
|
9291 |
24-Jun-1995 |
asami |
Use lstat() instead of access() for checking file existence. It works for symlinks too, and according to Rod, access() is evil anyway.
Reviewed by: jkh
|
9202 |
11-Jun-1995 |
rgrimes |
Merge RELENG_2_0_5 into HEAD
|
8857 |
30-May-1995 |
rgrimes |
Remove trailing whitespace.
|
8635 |
19-May-1995 |
jkh |
Only apply @mode directives to files. Don't use the -p flag to tar; it sets the files to the wrong permissions. Submitted by: jmz
|
8424 |
10-May-1995 |
jkh |
Fix a long-standing bug that broke pkg_info utterly and probably made pkg_add a little wiggy too.
|
8423 |
10-May-1995 |
jkh |
Fix a long-standing bug that broke pkg_info utterly and probably made pkg_add a little wiggy too. Document the fact that pkg_info can also take a URL.
|
8422 |
10-May-1995 |
jkh |
Bump the number of allowable args by a factor of 4. I just scanned all possible packing lists and found that at least one of them is pretty large!
|
8420 |
10-May-1995 |
jkh |
Document fetch-by-URL.
|
8419 |
10-May-1995 |
jkh |
Re-work make_dist() routine to build the tar command more reasonably. This should eliminate the problem with truncated packages.
|
8142 |
28-Apr-1995 |
jkh |
Whoops! One of my automatics was initialized to garbage. Fix it.
|
8115 |
28-Apr-1995 |
jkh |
Use mtree -U instead of -u and put back error check. Thanks Rod!
|
8096 |
27-Apr-1995 |
jkh |
Don't bother checking the return status of the mtree command - it returns non-zero stats when it changes things, too.
|
8087 |
26-Apr-1995 |
jkh |
Add code for dealing with URLs.
|
8086 |
26-Apr-1995 |
jkh |
Make pkg_info URL aware (and also make it use the PKG_PATH properly, like everyone else). Try this: pkg_info ftp://freebsd.org/pub/FreeBSD/packages/all/gmake-3.73.tgz
|
8085 |
26-Apr-1995 |
jkh |
Add depend on libftp since this is now in lib.
|
8084 |
26-Apr-1995 |
jkh |
Add a great deal more error checking to various things.
|
8083 |
26-Apr-1995 |
jkh |
Further work on making all this more robust in the face of failure.
Also allow URL specification for a package. This works for things the package may depend on, too.
Allow PKG_PATH to be used anywhere a package is being searched for.
|
8078 |
26-Apr-1995 |
jkh |
Yikes! How did that typo slip past! I'd swear I compiled it. Oh well, thanks, Satoshi!
Embarrassed by: asami
|
8077 |
26-Apr-1995 |
jkh |
As per Bruce's advice, use sysconf to get the max argument size and dynamically allocate that much space, also using snprintf() and strncat() to do proper bounds checking.
|
8075 |
26-Apr-1995 |
jkh |
Check dependencies BEFORE doing final extraction of package. Fix a bug where direct-extract mode would have still invoked the packing list reordering commands.
|
8073 |
26-Apr-1995 |
jkh |
My handling of the missing dependency but !Verbose was wrong. Make the right message come out.
|
8051 |
24-Apr-1995 |
jkh |
Use ARG_MAX instead of _POSIX_ARG_MAX: 4K is too small! This should stop the SIGBUS errors in pkg_create for some packages.
|
8000 |
22-Apr-1995 |
jkh |
Stage almost nothing through the playpen now - this should speed pkg_creates up by a couple of factors, as well as decrease the amount of temporary space required to build a package down to almost nothing.
|
7999 |
22-Apr-1995 |
jkh |
Export the min_free() function.
|
7998 |
22-Apr-1995 |
jkh |
Second round:
1. Make paths work correctly. 2. Make pkg_add generally more robust in the face of failure. 3. Make the depend messages come out on stderr or stdout, but not both interspersed! :-)
|
7996 |
22-Apr-1995 |
jkh |
1. Add an new @option directive. You'll understand it better in a moment. 2. Fix a long-standing bug in pkg_add where the failure of one package in a multipackage installation (pkg_add *.tgz) would blow you right out of the water. Ick.
|
7992 |
22-Apr-1995 |
jkh |
Argh - missed a printf! That should be the last of plist-spewers.
|
7991 |
22-Apr-1995 |
jkh |
Don't spew garbage into the packing list when PlistOnly and verbose are both on. Whoops!
|
7989 |
22-Apr-1995 |
jkh |
Some patches to make deletions of non-existent files and directories slightly less fatal (so that the database entry is subsequently removed anyway). Submitted by: Edward Wang <edward@edcom.com>
|
7986 |
22-Apr-1995 |
jkh |
1. Add proper dependencies to the library in my Makefiles. This was pointed out by Bruce. 2. Add a "feature" to pkg_create (OK, OK, it's a miserable hack!) to get it to dump its internal packing list out so that the `fake-pkg' rule in bsd.port.mk can generate a more meaningful packing list.
|
7972 |
21-Apr-1995 |
jkh |
Correct a bogusly formatted printf().
|
7938 |
19-Apr-1995 |
jkh |
Greatly simplify the calling of mtree - the error handling wasn't working anyway, at least not with FreeBSD's mtree, and the arguments were being built incorrectly.
|
7937 |
19-Apr-1995 |
jkh |
Add support for the ${PKG_DBDIR} environment variable. /var/db/pkg is the default, and probably not something you'd ever change, but now it's possible to do so for local/custom installations.
|
7926 |
18-Apr-1995 |
jkh |
Use a more nicely formatted message when we run out of space.
|
7733 |
10-Apr-1995 |
jkh |
Neither of these tools really told you what you needed to know neatly and succinctly in verbose mode. I hope people find this more to their liking.
|
7713 |
09-Apr-1995 |
jkh |
Add true support for dependency lists.
1. pkg_create now has a -P argument for specifying dependencies on the command line. 2. pkg_add will honor dependencies and chain-load them automatically if it finds the required package(s) in the same directory as the package that is being loaded. For best results, install packages from a directory containing all the packages you'll possibly need (like /usr/ports/packages/all).
2 remaining flaws:
1. pkg_add looks in one place (where you were when you loaded the primary pkg) for depended packages. If you can come up with a search path scheme that's not a total hack - be my guest!
2. Recursive dependency expansion can result in the name of a dep being listed more than once. This doesn't bother pkg_add since it checks for package existance with pkg_info and will skip already-loaded packages. I don't know how/if pkg_delete handles this yet, however. I need to look into it.
|
6501 |
16-Feb-1995 |
jkh |
Rename TMPDIR to PKG_TMPDIR, just to make Jeff happy.. :-)
|
6418 |
15-Feb-1995 |
jkh |
Make pkg_install use /var/tmp instead of /tmp Suggested by: hsu
|
5410 |
05-Jan-1995 |
jkh |
Whoops! How embarassing. Just now noticed that I forget to update the .Os lines. Done.
|
5409 |
05-Jan-1995 |
jkh |
Fix a bad formatting directive.
|
5408 |
05-Jan-1995 |
jkh |
Fix misleading typo in description of @unexec.
|
5399 |
05-Jan-1995 |
swallace |
Added new function show_index() which does a 'smart' display of the index file. Index descriptions are limited to MAXINDEXSIZE (60) chars. Any description beyond that is truncated. Also, only the first line is displayed as well. This allows pkg_info -a -I to be formated in two columns with one line per package for easy reading.
Reviewed by: jkh
|
4997 |
06-Dec-1994 |
jkh |
More changes from John T. Kohl. Man pages, mostly. Submitted by: jtkohl
|
4996 |
06-Dec-1994 |
jkh |
Many of John T. Kohl's patches from NetBSD. Thanks, John! Submitted by: jkohl
|
4548 |
17-Nov-1994 |
jkh |
Don't create packages with bogus @name lines.
|
4547 |
17-Nov-1994 |
jkh |
Protect against old packages with bogus @name fields. Use basename_of() on the name before recording it in /var/db/pkg. Sorry, Kaleb, you were right after all! It was my fault! :)
|
4546 |
17-Nov-1994 |
jkh |
Add a new basename_of() function.
|
4544 |
17-Nov-1994 |
jkh |
Remove the QUERY_* functions. I don't think they're as good an idea as I apparently once did.
|
3579 |
14-Oct-1994 |
jkh |
Sigh. NOW it's ok! :-)
|
3578 |
14-Oct-1994 |
jkh |
Print a better verbose message when creating packages.
|
3577 |
14-Oct-1994 |
jkh |
This should do it - I forgot about pkg_info.
|
3576 |
14-Oct-1994 |
jkh |
Whoops - variable was in wrong scope. Correct.
|
3575 |
14-Oct-1994 |
jkh |
Fix bug in home directory calculation that I introduced with the free space checking code. Fix the free space checking code, while I'm at it! ;) Thanks to Garrett for spotting the home dir problem.
|
3574 |
14-Oct-1994 |
jkh |
Fix bug in home directory calculation that I introduced with the free space checking code. Fix the free space checking code, while I'm at it! ;) Thanks to Garrett for spotting the home dir problem.
|
3445 |
08-Oct-1994 |
jkh |
Be optionally verbose about free-space checking. I need this to ascertian whether or not this always works.
|
3364 |
04-Oct-1994 |
jkh |
Add the ability to verify that a package won't extract in the space available. Thanks to Michael Elbel for pushing me in the right direction.
|
3363 |
04-Oct-1994 |
jkh |
My last commit to bsd.port.mk made me think - `pkg_create -p ...' should override the PLIST file's own first @cwd. Make this so.
|
3198 |
29-Sep-1994 |
jkh |
Don't let pkg_delete remove the recorded location until everything has absolutely, positively been successfully removed. Reviewed by: Submitted by: Obtained from:
|
2725 |
13-Sep-1994 |
jkh |
Delete obsoleted *dist targets.
|
2724 |
13-Sep-1994 |
jkh |
Make this stop trying to go into /usr/local and inherit the settings from above instead.
|
2389 |
29-Aug-1994 |
adam |
Allow creation of absolute package names typo index() --> rindex() in order to split correct suffix Fix @srcdir so it actually works Submitted by: adam
|
2331 |
28-Aug-1994 |
jkh |
Add @srcdir option for customizing creation of packages. Submitted by: jkh
|
1793 |
11-Jul-1994 |
jkh |
Argh! What a boneheaded bug! Finally fix the blank-line-in-packing list problem! I am pond scum!
|
1667 |
01-Jun-1994 |
asami |
Add explanation of -e in usage().
|
1666 |
01-Jun-1994 |
asami |
Close /dev/tty that is opened in y_or_n()...this is called many times so it will run out of ptys if not properly closed.
|
1550 |
25-May-1994 |
asami |
The environment variable PKG_PREFIX is set to the first @cwd command in the packing list, or the argument to -p if it is specified, before the requirements/installation/deinstallation scripts are called. This enables the scripts to be written to work on the final installation destination, even if the user uses -p to override the package's default.
|
1548 |
25-May-1994 |
jkh |
Change Header to Id.
|
1547 |
25-May-1994 |
jkh |
Add new find_plist() function.
|
1546 |
25-May-1994 |
jkh |
Change in_plist() call to find_plist().
|
1545 |
25-May-1994 |
jkh |
Remove find_name(), replace with more generic find_plist() function.
|
1529 |
20-May-1994 |
asami |
Typo (pkg_add => pkg-add).
|
1528 |
20-May-1994 |
asami |
Make clear what arguments the "require" script gets.
|
1527 |
20-May-1994 |
asami |
Make clear what arguments the "require" package gets (the original didn't make any sense, with a ".b" instead of ".B" in front of "INSTALL"!).
|
1520 |
19-May-1994 |
alm |
Add `-h' option to force tar to follow symbolic links
|
1364 |
16-Apr-1994 |
jkh |
Whoops, -Y and -N would work better if they were in the getopts string!
|
1338 |
05-Apr-1994 |
jkh |
Make y_or_n() pay attention to AutoAnswer global.
|
1337 |
05-Apr-1994 |
jkh |
Add -N and -Y flags for auto-answer feature.
|
950 |
06-Jan-1994 |
jkh |
Cleaning house.
|
573 |
10-Oct-1993 |
jkh |
If require script fails, don't try to delete installed package.
|
572 |
10-Oct-1993 |
jkh |
Added files necessary for automating packing of distributions.
|
545 |
08-Oct-1993 |
jkh |
Fix problems with executing from current directory
|
487 |
20-Sep-1993 |
nate |
Now works with/without obj directories
|
483 |
19-Sep-1993 |
jkh |
Finally stuck a version number on this thing! :)
|
479 |
18-Sep-1993 |
jkh |
Added code for doing % sequence expansion, added new @unexec command.
|
478 |
18-Sep-1993 |
jkh |
Doc new % sequence expansion for command execution. Fixed bad verbose message.
|
477 |
18-Sep-1993 |
jkh |
Make sure permissions on registry location are readable by pkg_info. Add new % sequence expansion for command execution.
|
465 |
14-Sep-1993 |
jkh |
Fixed broken -t flag; thanks Rich!
|
447 |
12-Sep-1993 |
jkh |
Whoops - got the exclude flag wrong, try again.
|
446 |
12-Sep-1993 |
jkh |
Fixed an embarassing bug with @owner, @mode & @group
|
445 |
12-Sep-1993 |
jkh |
Added and doc'd -X flag to pkg_create that allows you to specify an exclude list for the final package.
|
422 |
08-Sep-1993 |
jkh |
Rudementary README
|
411 |
08-Sep-1993 |
jkh |
Added two new options, one of which is fairly far reaching:
-q turns on "quiet" mode, where informational headers and such are not dumped, just the information.
-L Shows full pathnames of files comprising a package. With -q, this can be useful for doing fileset operations, such as "du -s `pkg_info -q -L foo_bin`" to see how much space package "foo_bin" is taking up.
|
405 |
07-Sep-1993 |
jkh |
Nailed one last lurking ^L.
|
404 |
06-Sep-1993 |
jkh |
Fixed bug in copying script files from absolute locations
|
403 |
06-Sep-1993 |
jkh |
Doc'd option for current directory prefix in @exec
|
402 |
06-Sep-1993 |
jkh |
Added option for current directory prefix in @exec (without which it's pretty useless).
|
392 |
05-Sep-1993 |
jkh |
Added -e flag to pkg_info. Now you can test to see whether a package is installed or not rather easily (useful for install scripts that want to check for prerequisite packages). See man page for details.
|
383 |
05-Sep-1993 |
jkh |
Made staging area configurable rather than assuming /tmp (-t)
|
382 |
05-Sep-1993 |
jkh |
Made staging area configurable rather than assuming /tmp (-t) Made pkg_add -n less bitchy. Made -p in pkg_add override "default" package location in pkg_create.
Added concept of "slave" and "master" modes, allowing many different things to be done to packing lists on the fly. This is really something for front-end drivers to use, but also something for the more expert user.
rename()'ing files before trying to copy them, thus saving considerable time when targets and staging area are on same filesystem.
|
381 |
04-Sep-1993 |
jkh |
Fixed bug in pkg_create that affected Rich's attempts to package emacs
|
380 |
04-Sep-1993 |
jkh |
Added Rich's wish front-end.
|
379 |
03-Sep-1993 |
jkh |
Lots of misc tweaks, support for arbitrary separators in pkg_info, more intelligent name handling in pkg_create. Most of these files are changed because of rcsid's being different in my cvs tree and freefall's (foo).
|
357 |
30-Aug-1993 |
jkh |
Removed annoying -Wall
|
356 |
30-Aug-1993 |
jkh |
Install man pages in /usr/local/man
|
328 |
26-Aug-1993 |
jkh |
This commit was generated by cvs2svn to compensate for changes in r327, which included commits to RCS files with non-trunk default branches.
|