Eitan Adler
bab89cefc7
Avoid clobbering errno with a call to fprintf
...
PR: bin/173923
Submitted by: Garrett Cooper <yanegomi@gmail.com>
Approved by: cperciva
MFC After: 3 days
2013-01-16 05:00:51 +00:00
Devin Teske
db7b0ba78f
Don't use f_show_msg() unless printf(1) syntax is required (this reduces the
...
number of unnecessary forks).
2013-01-14 21:03:34 +00:00
Baptiste Daroussin
8cc0ef19d2
Directly uses calloc(3) instread of malloc(3) + memset(3)
...
Reported by: Jeremy Chadwick <jdc@koitsu.org>
MFC after: 3 days
2013-01-14 07:17:38 +00:00
Devin Teske
27ff90aa87
Add new f_yesno/f_noyes wrapper functions (which take printf(1) syntax).
2013-01-14 01:15:25 +00:00
Devin Teske
3c91c65a2b
Add missing dialog(1) arguments to internationalize "Help"-button label.
2013-01-14 01:09:23 +00:00
Nathan Whitehorn
aa333a1880
Note that cpufreq(4) is not available on all hardware.
...
PR: bin/175139
MFC after: 2 weeks
2013-01-12 16:01:58 +00:00
Joel Dahl
0510534298
Remove EOL whitespace.
2013-01-12 08:44:54 +00:00
Brooks Davis
624c4889c7
Always install our mtree as /usr/sbin/fmtree and link it as
...
/usr/sbin/mtree by default.
Add a src.conf option WITH_NMTREE that causes NetBSD's mtree to be linked
as /usr/sbin/mtree as well as /usr/sbin/nmtree.
2013-01-09 21:07:08 +00:00
Hajimu UMEMOTO
164051cea5
Add no_prefer_iface option.
...
It stops treating the address on the interface as special by source
address selection rule even when the interface is outgoing interface.
This is desired in some situation.
Requested by: hrs
Reviewed by: IHANet folks including hrs
MFC after: 1 week
2013-01-09 18:18:08 +00:00
Devin Teske
1d70f5f445
Update copyright following last commit.
2013-01-07 00:18:03 +00:00
Devin Teske
3da75d2e7b
Add nonInteractive support to f_dialog_yesno/noyes().
2013-01-07 00:15:52 +00:00
Mateusz Guzik
1f09eec3f8
pw: free group returned by gr_add
2013-01-06 21:56:58 +00:00
Devin Teske
31a41563c0
Update copyrights and dates following last commit.
2013-01-06 18:18:09 +00:00
Devin Teske
99bc932ec2
Add support for scripting (sysinstall style).
...
Reviewed by: jilles
2013-01-05 02:08:47 +00:00
Benjamin Kaduk
e8ab2920c7
Grammar fixes and some wordsmithing
...
Discussed with: rmacklem
Approved by: hrs (mentor)
MFC after: 2 weeks
2013-01-05 00:27:08 +00:00
Hiroki Sato
e0418c03e7
- Print scopeid for link-local scope addresses.
...
- Do not print the flags= part when flags == 0.
2013-01-03 22:27:57 +00:00
Rick Macklem
8ac5ae563b
Fix r244604 so that it builds when MK_KERBEROS_SUPPORT == "no".
...
Reported by: bf
Tested by: bf
Reviewed by: gcooper
MFC after: 3 days
2013-01-03 22:24:39 +00:00
Mark Johnston
9df22a6e88
Make sure to update the mtime of a logfile after archiving it. This
...
ensures that the next rotation happens at the correct time when using
interval-based rotations.
PR: bin/174438
Reviewed by: gad
Approved by: rstone (co-mentor)
MFC after: 1 week
2013-01-03 16:14:51 +00:00
Mark Johnston
468d206524
Have -n imply -r, since dry-run mode obviously doesn't require root
...
privileges.
Approved by: rstone (co-mentor)
MFC after: 1 week
2013-01-03 16:12:48 +00:00
Mark Johnston
220936938f
Fix a typo in an error message.
...
Approved by: rstone (co-mentor)
MFC after: 1 week
2013-01-03 16:11:24 +00:00
Devin Teske
450f13a446
Comments.
2013-01-03 15:48:00 +00:00
Marius Strobl
7c0360c4c8
Remove bogus '-' from getopt(3) string hit when porting daemon(8) to
...
GNU/Linux *duck*.
MFC after: 1 week
2013-01-03 00:49:11 +00:00
Nathan Whitehorn
ec8edf9362
Make sade actually be a symlink to partedit, as per the commit message in
...
r244859, rather than a hardlink. This fixes installation if /usr/sbin
is on a different filesystem than /usr/libexec.
Submitted by: se
2013-01-02 13:25:11 +00:00
Nathan Whitehorn
2befb3613f
Add a man page for the new sade(8), which is mostly the same uninformative
...
manpage as the old sade(8).
2012-12-30 14:44:14 +00:00
Nathan Whitehorn
934f522a9f
Replace sade the extracted piece of sysinstall with sade the extracted
...
piece of bsdinstall (although this time with a symlink instead of duplicated
source code).
Discussed on: freebsd-geom
MFC after: 3 months
2012-12-30 14:35:00 +00:00
Nathan Whitehorn
4f5fcf8d00
If invoked as sade, don't complain about having a filesystem on / already
...
-- it's something you expect (and indeed hope for).
MFC after: 1 week
2012-12-30 14:33:16 +00:00
Devin Teske
5ffea47a33
Comments.
2012-12-29 00:30:30 +00:00
Devin Teske
802a85b13d
Add missing enforcement of height restriction after minor adjustment.
2012-12-29 00:06:26 +00:00
Devin Teske
30a8a39e07
Add support for running without a controlling terminal (for example, when
...
running as an rvalue to a pipe).
2012-12-29 00:01:24 +00:00
Devin Teske
9c83db2d4c
Allow debug output to be logged to a file (set $debugFile to target pathname)
...
or both stdout and a file (precede $debugFile pathname with a plus-sign, `+').
2012-12-28 23:49:17 +00:00
Devin Teske
39ce5cceae
Whitespace.
2012-12-28 23:40:13 +00:00
Devin Teske
f788e301b5
Fix incorrect function name. s/[[:<:]]dialog_clear/f_&/
2012-12-28 23:27:17 +00:00
Baptiste Daroussin
b3075010f8
Simplify vnextgrent and vnextpwent reusing pw_scan and gr_scan from libutil.
2012-12-27 19:43:29 +00:00
Baptiste Daroussin
0c50344969
Fix a regression in "pw group show" introduced r242349:
...
print a newline after printing each group line.
PR: bin/174731
Submitted by: Jan Beich <jbeich@tormail.org>
2012-12-27 14:44:13 +00:00
Baptiste Daroussin
460a6dac0b
Simplify the code by using the new gr_add function
2012-12-27 14:35:06 +00:00
Devin Teske
d1bb7cca77
Comments and fit to 80-columns.
2012-12-27 07:52:50 +00:00
Baptiste Daroussin
ae61f4dda6
Simplify copying of group members by using memcpy
...
Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
2012-12-26 23:16:24 +00:00
Baptiste Daroussin
c195c1ba19
Fix off-by-one error in memory allocation: j entries, one new and a null
...
terminator is j + 2.
Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
2012-12-26 23:14:33 +00:00
Baptiste Daroussin
0083d61abc
In case of the deletion of a user those whole database has to be regenerated,
...
otherwise the user planned to be deleted remain in the pwd.db while removed from
the plain text password file.
2012-12-26 18:28:17 +00:00
Baptiste Daroussin
dc0f2b4217
Fix creating a user and adding it to a group
...
Reported by: "Sam Fourman Jr." <sfourman@gmail.com>, dim
2012-12-26 18:14:45 +00:00
Rick Macklem
659cf796d3
Attempt to clarify that for ZFS, all file systems under
...
the NFSv4 root must be exported. This is because ZFS
checks exports itself.
This is a content change.
MFC after: 2 weeks
2012-12-25 22:47:49 +00:00
Rick Macklem
211024e9b6
Attempt to clarify that for ZFS, all file systems under
...
the NFSv4 root must be exported. This is because ZFS
checks exports itself.
This is a content change.
MFC after: 2 weeks
2012-12-25 22:34:43 +00:00
Devin Teske
56961fd794
Add more debugging to help with diagnosis of program-flow when needed.
2012-12-25 10:47:45 +00:00
Devin Teske
12f110aa1a
Remove unnecessary duplicate initialization of the dialog(1) API (automatically
...
bootstrapped on-include unless DIALOG_SELF_INITIALIZE is set to NO before-hand)
2012-12-25 09:30:25 +00:00
Matthew Seaman
e41b8acbd5
Remove extraneous space and new-line.
...
Submitted by: pjd, gcooper
Approved by: bapt
MFC after: 2 weeks
2012-12-23 20:39:03 +00:00
Rick Macklem
7dbcc85c6b
Fix the Makefile so it can build gssd.c after r244604.
...
MFC after: 2 weeks
2012-12-23 20:12:57 +00:00
Matthew Seaman
d8f9490c67
Third time's the charm. pkg -N output needs to go to stderr.
...
Approved by: bapt
MFC after: 2 weeks
2012-12-23 11:22:18 +00:00
Rick Macklem
09e3247ebd
Document the new gssd daemon options added by r244604.
...
This is a content change.
MFC after: 2 weeks
2012-12-22 23:34:28 +00:00
Rick Macklem
158b97986e
It was reported via email that some sshds create kerberos
...
credential cache files with names other than /tmp/krb5cc_<uid>.
The gssd daemon does not know how to find these credential caches.
This patch implements a new option "-s" that does a search for
credential cache files, using roughly the same algorithm as the
gssd daemon for Linux uses. The gssd behaviour is only changed
if the new "-s" option is specified. It also implements two other
new options related to the "-s" option.
Reported by: Piete.Brooks at cl.cam.ac.uk, Herbert Poeckl
Tested by: Herbert Poeckl (admin at ist.tugraz.at), Illias A. Marinos
MFC after: 2 weeks
2012-12-22 23:21:17 +00:00
Matthew Seaman
d482e1f4a6
Switch from 'pkg -n' to 'pkg -N' as the test for pkgn activation
...
status. '-n' is already used extensively elsewhere in pkgng (to mean
'dry-run') and this reduces the potential confusion
Submitted by: eadler
Approved by: bapt
MFC after: 2 weeks
2012-12-22 15:13:16 +00:00