aboutsummaryrefslogtreecommitdiff
path: root/bin/chflags/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Remove residual blank line at start of MakefileWarner Losh2024-07-151-1/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* bin: Remove ancient SCCS tags.Warner Losh2023-11-271-1/+0
| | | | | | | | Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. Sponsored by: Netflix
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Fix Makefile entries from r323275Alan Somers2017-09-291-0/+2
| | | | | | | | | | Reported by: Vladimir Zakharov <zakharov.vv@gmail.com> Reviewed by: ngie MFC after: 3 weeks X-MFC-With: 323275 Notes: svn path=/head/; revision=324112
* Add basic tests for chflags, mkdir, rcp, and rmdirAlan Somers2017-09-071-0/+3
| | | | | | | | | | | | | | | | Add basic command line parsing test coverage for these utilities. The tests were automatically generated based on their man pages. These tests can be expanded by hand for more thorough coverage. The aim is to generate very basic amount of test coverage for all the utilities in the base system. Submitted by: shivansh Reviewed by: asomers, brooks MFC after: 3 weeks Sponsored by: Google, Inc (GSoC 2017) Differential Revision: https://reviews.freebsd.org/D12036 Notes: svn path=/head/; revision=323275
* Explicitly add unmarked bin/ binaries to the runtime package.Glen Barber2016-02-091-0/+1
| | | | | | | | | | | Note: tcsh(1) has a MK_TCSH=no test, so this should be a separate package, which requires pre-install/post-install scripts, to be added later. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295439
* WARNS?=6 is already in bin/Makefile.inc, so remove this one.Xin LI2005-01-271-1/+0
| | | | Notes: svn path=/head/; revision=140901
* chflags compiles with WARNS?=6.Stefan Farfeleder2004-10-031-0/+1
| | | | Notes: svn path=/head/; revision=136089
* We can simplify this Makefile down to a single line now.David E. O'Brien2003-02-191-4/+0
| | | | Notes: svn path=/head/; revision=111132
* Reorder for style.Mark Murray2002-04-281-3/+3
| | | | Notes: svn path=/head/; revision=95654
* Remove leaf node WARNS?=2 (that mainly I added). This shouldMark Murray2002-02-081-1/+0
| | | | | | | help the GCC3 transition and CURRENT in general. Notes: svn path=/head/; revision=90415
* Slight makefile style.Mark Murray2001-12-021-1/+1
| | | | | | | Use __FBSDID(). Notes: svn path=/head/; revision=87237
* WARNS= -> WARNS?=Dima Dorfman2001-06-221-1/+1
| | | | | | | Submitted by: Mike Barcroft <mike@q9media.com> Notes: svn path=/head/; revision=78624
* Silence WARNS=2 and BDECFLAGS on alpha and i386Kris Kennaway2001-05-201-1/+1
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=76890
* Install `chflags' in the root partition, NOT /usr where it is not availableDavid E. O'Brien2000-11-101-0/+1
| | | | | | | in single user mode. Notes: svn path=/head/; revision=68542
* Switch over to using the new fflagstostr and strtofflags library calls.Josef Karthauser2000-06-171-2/+1
| | | | Notes: svn path=/head/; revision=61749
* Revert part of the last commit, remove {g|s}etflags from the libcJosef Karthauser2000-02-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | interface, and statically link them to the programs using them. These functions, upon reflection and discussion, are too generically named for a library interface with such specific functionality. Also the api that they use, whilst ok for private use, isn't good enough for a libc function. Additionally there were complications with the build/install-world process. It depends heavily upon xinstall, which got broken by the change in api, and caused bootstrap problems and general mayhem. There is work in progress to address future problems that may be caused by changes in install-chain tools, and better names for {g|s}etflags can be derived when some future program requires them. For now the code has been left in src/lib/libc/gen (it started off in src/bin/ls). It's important to provide library functions for manipulating file flag strings if we ever want this interface to be adopted outside of the source tree, but now isn't necessarily the right moment with 4.0-release just around the corner. Approved: jkh Notes: svn path=/head/; revision=57003
* Historically file flags (schg, uschg, etc) have been converted fromJosef Karthauser2000-01-271-2/+0
| | | | | | | | | | | | | | | | | | | | string to u_long and back using two functions, flags_to_string and string_to_flags, which co-existed with 'ls'. As time has progressed more and more other tools have used these private functions to manipulate the file flags. Recently I moved these functions from /usr/src/bin/ls to libutil, but after some discussion with bde it's been decided that they really ought to go in libc. There are two already existing libc functions for manipulating file modes: setmode and getmode. In keeping with these flags_to_string has been renamed getflags and string_to_flags to setflags. The manual page could probably be improved upon ;) Notes: svn path=/head/; revision=56692
* Added missing DPADD's. Removed unrequired SRCS's.Josef Karthauser2000-01-011-1/+1
| | | | | | | Obtained from: bde Notes: svn path=/head/; revision=55302
* Moved flags_to_string and string_to_flags into libutil. It's used inJosef Karthauser1999-12-301-2/+3
| | | | | | | many places nowadays. Notes: svn path=/head/; revision=55270
* Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).Archie Cobbs1998-12-061-0/+1
| | | | Notes: svn path=/head/; revision=41568
* NOSHARED takes a yes/YES no/NO value, not "true, false, hey mon!".Paul Traina1997-06-291-1/+1
| | | | | | | | | NOPIC is used to not generate a shared library, not NOSHARED. Make NOSHARED advisory where appropriate. Remove bogus NOSHARED (kbdio). Notes: svn path=/head/; revision=27040
* Set NOSHARED=true, having this binary static makes it much easier toRodney W. Grimes1995-07-241-0/+2
| | | | | | | | | fix /usr/lib/*.so problems. Submitted by: davidg Notes: svn path=/head/; revision=9673
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-271-0/+7
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590