summaryrefslogtreecommitdiff
path: root/usr.bin/rup
Commit message (Collapse)AuthorAgeFilesLines
* rup: Fix -Wcast-align warningsJilles Tjoelker2018-07-032-21/+8
| | | | | | | | | | | | | | | Fix possible strict aliasing issue (if time_t is the same size as int but not int but for example long) which also resulted in a false positive warning on systems with 64-bit time_t. Pointer casts are bad; we can just copy the time_t. Elsewhere, avoid casting char * to int * by using memcpy(). Reviewed by: eadler Differential Revision: https://reviews.freebsd.org/D16075 Notes: svn path=/head/; revision=335905
* rup: compile with WARNS=6Eitan Adler2018-06-252-6/+5
| | | | Notes: svn path=/head/; revision=335637
* spdx: initial adoption of licensing ID tags.Pedro F. Giffuni2017-11-181-0/+2
| | | | | | | | | | | | | | | | | | | | The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Initially, only tag files that use BSD 4-Clause "Original" license. RelNotes: yes Differential Revision: https://reviews.freebsd.org/D13133 Notes: svn path=/head/; revision=325966
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
| | | | | | | | | | | | Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96 Notes: svn path=/head/; revision=314436
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+22
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-272-4/+3
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=283595
| * | Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * | Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+23
| | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | Bump level WARNINGS to 3Baptiste Daroussin2015-06-061-2/+1
| |/ |/| | | | | Notes: svn path=/head/; revision=284064
* | mdoc: sort SEE ALSO.Joel Dahl2014-12-261-2/+2
| | | | | | | | Notes: svn path=/head/; revision=276258
* | Convert to usr.bin/ to LIBADDBaptiste Daroussin2014-11-251-2/+1
|/ | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275042
* Remove the advertising clause from UCB copyrighted files in usr.bin. ThisJoel Dahl2010-12-111-4/+0
| | | | | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson Notes: svn path=/head/; revision=216370
* Build usr.bin/ with WARNS=6 by default.Ed Schouten2010-01-021-0/+2
| | | | | | | Also add some missing $FreeBSD$ to keep svn happy. Notes: svn path=/head/; revision=201386
* Backport markup fixes from a translated version of a manpage.Ruslan Ermilov2007-02-281-2/+2
| | | | Notes: svn path=/head/; revision=167103
* Catch up with 64bit time_t on sparc64. The rstat packet expects a 32bitPhilip Paeps2005-12-041-5/+19
| | | | | | | | | | | time_t and times will look incorrect on machines with 64bit time_t. PR: 88788 Submitted by: Keith White <Keith.White -at- site.uottawa.ca> MFC after: 1 week Notes: svn path=/head/; revision=153090
* Sync program's usage() with manpage's SYNOPSIS.Ruslan Ermilov2005-05-211-1/+1
| | | | Notes: svn path=/head/; revision=146466
* Sort SEE ALSO references (in dictionary order, ignoring case).Ruslan Ermilov2004-07-041-2/+2
| | | | Notes: svn path=/head/; revision=131594
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-2/+4
| | | | Notes: svn path=/head/; revision=131491
* More xdrproc_t warnings.Peter Wemm2003-10-261-4/+7
| | | | Notes: svn path=/head/; revision=121545
* Style only; format function declarations, sort header includes, andMark Murray2002-04-281-20/+26
| | | | | | | use __FBSDID(). Notes: svn path=/head/; revision=95616
* Use `The .Nm utility'Philippe Charnier2002-04-201-4/+6
| | | | Notes: svn path=/head/; revision=95124
* If the remote uptime is less than one minute, print the uptime inBill Fenner2001-10-171-0/+2
| | | | | | | seconds instead of leaving the uptime field blank. Notes: svn path=/head/; revision=85039
* Remove whitespace at EOL.Dima Dorfman2001-07-151-2/+2
| | | | Notes: svn path=/head/; revision=79755
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79535
* mdoc(7) police: sort xrefs.Ruslan Ermilov2001-07-051-2/+2
| | | | Notes: svn path=/head/; revision=79280
* Call clnt_destroy() to prevent exhausting resources.Mike Heffner2001-06-191-0/+2
| | | | | | | | | PR: bin/14255 Reviewed by: Kenji Tomita <tommy@ti.com> MFC after: 2 weeks Notes: svn path=/head/; revision=78456
* Correct cross-reference:Maxim Sobolev2001-06-071-2/+2
| | | | | | | | | portmap.8 --> rpcbind.8 Submitted by: .Xr testing script Notes: svn path=/head/; revision=77878
* mdoc(7) police: cosmetics.Ruslan Ermilov2001-04-161-1/+1
| | | | Notes: svn path=/head/; revision=75546
* mdoc(7) police: properly use a -diag list in the DIAGNOSTICS section.Dima Dorfman2001-04-131-1/+1
| | | | | | | Reviewed by: ru Notes: svn path=/head/; revision=75495
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-1/+0
| | | | Notes: svn path=/head/; revision=74848
* Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) andAlfred Perlstein2001-03-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | associated changes that had to happen to make this possible as well as bugs fixed along the way. Bring in required TLI library routines to support this. Since we don't support TLI we've essentially copied what NetBSD has done, adding a thin layer to emulate direct the TLI calls into BSD socket calls. This is mostly from Sun's tirpc release that was made in 1994, however some fixes were backported from the 1999 release (supposedly only made available after this porting effort was underway). The submitter has agreed to continue on and bring us up to the 1999 release. Several key features are introduced with this update: Client calls are thread safe. (1999 code has server side thread safe) Updated, a more modern interface. Many userland updates were done to bring the code up to par with the recent RPC API. There is an update to the pthreads library, a function pthread_main_np() was added to emulate a function of Sun's threads library. While we're at it, bring in NetBSD's lockd, it's been far too long of a wait. New rpcbind(8) replaces portmap(8) (supporting communication over an authenticated Unix-domain socket, and by default only allowing set and unset requests over that channel). It's much more secure than the old portmapper. Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded to support TI-RPC and to support IPV6. Umount(8) is also fixed to unmount pathnames longer than 80 chars, which are currently truncated by the Kernel statfs structure. Submitted by: Martin Blapp <mb@imp.ch> Manpage review: ru Secure RPC implemented by: wpaul Notes: svn path=/head/; revision=74462
* Prepare for mdoc(7)NG.Ruslan Ermilov2001-01-161-1/+1
| | | | Notes: svn path=/head/; revision=71102
* mdoc(7) police: use certified section headers wherever possible.Ruslan Ermilov2000-11-171-1/+1
| | | | Notes: svn path=/head/; revision=68854
* getopt and friends are declared in <unistd.h>Warner Losh2000-09-041-1/+0
| | | | | | | getopt returns -1 not EOF. Notes: svn path=/head/; revision=65428
* Use .PaPhilippe Charnier2000-03-261-2/+3
| | | | Notes: svn path=/head/; revision=58619
* $Id$ -> $FreeBSD$Peter Wemm1999-08-283-3/+3
| | | | Notes: svn path=/head/; revision=50477
* PR: bin/6193Daniel O'Callaghan1998-04-011-2/+2
| | | | | | | | Submitted by: Max Euston <meuston@jmrodgers.com> Make times between 0000-0059 and 1200-1259 show as 12:xx, not 0:xx Notes: svn path=/head/; revision=34993
* Silence a warning with a cast.Jordan K. Hubbard1997-09-151-2/+2
| | | | Notes: svn path=/head/; revision=29468
* Use err(3), so eliminate use of `argv0'.Philippe Charnier1997-08-072-27/+24
| | | | Notes: svn path=/head/; revision=27955
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-223-3/+3
| | | | Notes: svn path=/head/; revision=23012
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-143-3/+3
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=21673
* Fix bug found by newly visible prototypes in rpc. The code was passingPeter Wemm1996-12-301-2/+5
| | | | | | | an in to a function instead of a "struct timeval". Notes: svn path=/head/; revision=21093
* Fix a bunch of spelling errors in a bunch of man pages.Mike Pritchard1996-01-301-2/+2
| | | | Notes: svn path=/head/; revision=13744
* Amend my fix a bit. My way failed to take leap years into account. TheBill Paul1995-11-211-11/+4
| | | | | | | | | | simplest thing is to just calculate the days using curtime - boottime / 86400. The modification for this is less obtrusive anyway. Suggested by: Bill Fenner <fenner@parc.xerox.com> Notes: svn path=/head/; revision=12445
* Rup uses tm_yday in its uptime printout, but ignores tm_year. This meansBill Paul1995-11-191-3/+11
| | | | | | | | | | | that if you do an rup on a machine that's been running longer than a year, you get the wrong day count. Now we factor in 365 * (curtime.tm_year - boottime.tm_year) to get the correct value. (I noticed this while running rup on a SunOS machine I have that's been up 525 days. My FreeBSD machines all said it had only been up for 160 (525-365) days. :) Notes: svn path=/head/; revision=12384