#
296373 |
|
04-Mar-2016 |
marius |
- Copy stable/10@296371 to releng/10.3 in preparation for 10.3-RC1 builds. - Update newvers.sh to reflect RC1. - Update __FreeBSD_version to reflect 10.3. - Update default pkg(8) configuration to use the quarterly branch.
Approved by: re (implicit) |
#
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
|
#
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'.
|
#
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
|
#
228990 |
|
30-Dec-2011 |
uqs |
Spelling fixes for usr.sbin/
|
#
222035 |
|
17-May-2011 |
flz |
Backout libinstall.a -> libpkg commit.
Discussed with: erwin, brooks, bapt
|
#
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.
|
#
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]
|
#
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)
|
#
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
|
#
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
|
#
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
|
#
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
|
#
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)
|
#
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 '<'`".
|
#
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
|
#
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
|
#
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
|
#
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.
|
#
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.
|
#
102438 |
|
26-Aug-2002 |
reg |
Don't dump core on packages with an invalid or empty PLIST.
Reviewed by: markm
|
#
98766 |
|
24-Jun-2002 |
markm |
C replacement for the Perl5 code.
Submitted by: reg
|