ben
81789679db
Conditionally include header files, and include nbcompat.h
...
Addresses PR#32149
2005-11-23 14:58:16 +00:00
tron
173505f438
Remove unused variable "argc" in function apply_perms().
2005-11-23 12:01:30 +00:00
ben
ed4b2f6172
Reduce the use of the system() function in pkg_install to avoid quoting
...
problems. Instead, use exec*() functions.
Replace PUSHOUT() macro and string buffers with a function that
operates on data structures.
If it is necessary to copy files into place from staging area, then use
pax to copy them.
Add functions in pexec.c to create a pipe for sending data to a child
process. Replace pipe code in create/perform.c with these functions.
Use these functions instead of command-line arguments when copying files
into place from staging area.
Three system() references remain: @exec, @unexec, and vsystem().
2005-11-23 04:59:14 +00:00
lukem
547b2d58b6
Add checks for _rwhod group & user.
...
Noted by Patrick Welche on current-users.
2005-11-22 22:10:52 +00:00
dyoung
f8251d6325
Bug fix: when we ask the kernel to count the ieee80211_nodes, let
...
it count as many as INT_MAX of them, instead of just 1.
New feature: display node-table membership, 'sta' or 'scan'.
2005-11-20 09:41:39 +00:00
christos
97babf6224
add the dnssec and namedb check tools
2005-11-19 02:09:27 +00:00
yamt
6458fcab9f
make -noresvmnt in DEFSET work.
2005-11-18 13:19:48 +00:00
christos
27fe712f67
The latest fts fix that removes double-slashes from paths exposed a bug
...
in the code. Don't assume that the extra slash is going to be there.
2005-11-18 05:11:30 +00:00
rpaulo
b3bf341016
If ENABLE_WPA_SUPPLICANT_EAPOL is defined, add libdes to ${DPADD} and
...
${LDADD} so that it builds fine.
While there, add libssl to ${DPADD}.
2005-11-17 13:55:29 +00:00
wiz
b141897d50
Punctuation fixes.
2005-11-16 20:24:17 +00:00
christos
77bea244d5
user portion of the EXTENSIONS documentation. From Liam Foy.
2005-11-16 18:44:37 +00:00
dillo
f05d706e05
Bump version for ``pkg_info -Q against local binary packages'' fix.
2005-11-14 09:41:43 +00:00
dillo
b6b652227e
Fix first part of PR 32068: pkg_info -Q broken for local binary packages
...
Add BUILD_INFO_FNAME to the files to extract for SHOW_BI_VAR.
2005-11-14 09:39:44 +00:00
lukem
8dfe8b4d24
Update copyright years.
...
Whitespace tweaks.
2005-11-14 00:04:34 +00:00
agc
2ca444e0bd
Get rid of cvs merge botch in previous.
2005-11-13 20:37:23 +00:00
agc
d6e9c48326
The Dewey number comparison routines were added by myself in 2002 in
...
revision 1.32 of pkg_install/lib/str.c, and have absolutely nothing to
do with the original FreeBSD utilities.
Place the appropriate (3 clause) copyright on this file.
2005-11-13 20:07:41 +00:00
wiz
41fb8f4fed
Handle -1 return value from dewey_match.
2005-11-13 19:48:35 +00:00
wiz
45be6e647e
Do not use errx in dewey_match, return -1 instead.
2005-11-13 19:48:19 +00:00
wiz
43f9ef503c
It is not 2006 yet. Fix typo. Uppercase BIOS.
2005-11-12 16:44:07 +00:00
dsl
e0e1f6caed
Don't try to determine the type of the target filesystem unless a second
...
stage bootstrap is specified. It is only needed when we need to copy the
sector numbers of the second stage into the first stage.
Document that a configured baud rate of zero will cause the baud rate set by
the bios to be used.
2005-11-12 09:35:31 +00:00
wiz
f72297cc7e
Sync usage with man page (sort options).
2005-11-11 21:24:01 +00:00
wiz
d1115a4c84
Keeps in SYNOPSIS are not necessary any longer, groff is smart enough nowadays.
...
Sort options and option descriptions.
2005-11-11 21:22:18 +00:00
dsl
8c893c964a
Add a -e (edit) option to allow the bootstrap options of an installed
...
bootstrap or a file containing such a bootstrap to be changed/displayed.
In particular this will (soon) let you modify the parameters for pxeboot.
2005-11-11 21:09:50 +00:00
peter
a54786194c
Use the LIST_FOREACH macros.
2005-11-11 15:14:24 +00:00
peter
19f81314eb
Don't core dump when the program is invoked without arguments.
2005-11-11 15:08:40 +00:00
wiz
718287b4f9
Whitespace nits, improve wording.
2005-11-10 21:17:18 +00:00
elad
7084f7a24b
SHA2 support has been pulled up to NetBSD 3.0, update the history part.
2005-11-10 19:41:59 +00:00
christos
efa8bba1ef
factor out common code.
2005-11-10 19:11:48 +00:00
christos
98817ca408
cgd wanted to have it read stdin.
2005-11-10 19:07:03 +00:00
christos
1d5c23627f
change warnx to warn.
2005-11-10 18:04:03 +00:00
christos
2ac1e392b6
Use unvis(3) to parse the string. thanks to groo, soda, and numerous others
...
for the hand-holding.
2005-11-10 18:03:05 +00:00
christos
258783da29
Add new sti command.
2005-11-10 16:54:05 +00:00
wiz
c6257ebac1
Mark up EXTENSIONS.
2005-11-09 23:50:16 +00:00
wiz
36470a753d
Drop trailing whitespace.
2005-11-09 23:48:51 +00:00
wiz
227106a6a2
No leading zero in date strings.
...
XXX: this page needs conversion to mdoc.
2005-11-09 23:43:59 +00:00
wiz
7ef0b27ab9
Remove some unnecessary header includes.
2005-11-08 20:16:53 +00:00
dillo
e68029a308
Bump version for pkg_info -B fix.
2005-11-07 23:20:49 +00:00
dillo
831ae4eb35
Don't add INSTALLED_INFO to the list of files to extract from binary
...
packages, it will never be there.
Fixes pkg_info -B against binary packages broken when INSTALLED_INFO
support was added.
2005-11-07 23:19:55 +00:00
christos
df29ab0769
Mention which options are only available with EXTENSIONS. From Liam Foy.
2005-11-07 23:07:45 +00:00
wiz
752535d165
Replace wait(2) with equivalent waitpid(2); for Linux, reported by wulf@
...
on tech-pkg.
2005-11-07 22:57:07 +00:00
wiz
2fa51c716a
Sync with pkgsrc: wrap some headers in #ifs.
2005-11-07 22:53:41 +00:00
christos
6b3d6b9d93
remove asprintf and strlcpy. We don't support NetBSD1.3 and NetBSD1.4.
...
GC Todd's copyright, since it is not needed anymore.
2005-11-07 21:58:12 +00:00
christos
9b674959c3
More cleanups from Liam Foy:
...
- Fix error messages, some are completely incorrect
- Asystem prints the error message so don't bother saving errno
- Don't continue if a lock can't be obtained on /etc/group
- Just pass struct passwd * to removehomedir, not its members
Some copyright maintenance:
- Add Liam Foy.
- Move Todd's copyright higher up.
XXX: We should remove clause 3 and merge the two copyright groups.
2005-11-07 21:46:50 +00:00
uwe
7541580e69
\(<= is the proper roff for <=. Fix another \*[Le] missed in the
...
previous commit. While here, properly mark up minus in -p description.
2005-11-06 17:39:45 +00:00
rpaulo
033766f3a8
It's lilac-dmc.Berkeley.EDU, not lbl-csam.arpa. A 12 years old typo!
...
Also, \*[Le] doesn't seem to work well here, so replace it with '<='
as FreeBSD did. This problem was spotted by joerg@.
2005-11-06 16:40:55 +00:00
wiz
a1e41eed09
Use config.h and add appropriate #if HAVE_FOO_H.
2005-11-06 12:40:02 +00:00
wiz
f0f9d6a437
Add compat #ifdefs from pkgsrc, to make syncing easier between the
...
two versions.
2005-11-05 13:11:02 +00:00
hannken
ba2ee12485
Make it compile on sparc/sparc64. Cast size_t to int for field precision.
2005-11-04 09:26:05 +00:00
dillo
8af62fd627
Split dewey compare functions into their own file dewey.c so they
...
can be used in a forthcoming Perl module.
Joint work with Thomas Klausner.
2005-11-03 21:59:55 +00:00
dillo
75b9797969
Implement framework to store variable=value pairs about an installed package.
...
Use this in pkg_add to mark installed dependencies as automatically installed.
pkg_add: new flag -A: marks package as automatically installed.
pkg_admin: new commands set and unset to modify variable pairs for
installed packages.
pkg_info: report these variable pairs with -Q/-B.
new flag -u: report only manually installed packages (not
installed with pkg_add -A).
Error out if -a/-u and a package name is specified.
Joint work with Thomas Klausner.
As discussed on tech-pkg.
2005-11-03 21:16:41 +00:00