summaryrefslogtreecommitdiff
path: root/usr.bin/uuencode
AgeCommit message (Collapse)Author
2022-04-18bintrans: move files to a new directoryPiotr Pawel Stefaniak
And reflect the change in various places.
2022-04-18Modularize uuencode and uudecode by wrapping them in bintrans.cPiotr Pawel Stefaniak
The program will be installed as bintrans, uuencode, uudecode, b64encode, and b64decode and will be responsible for running the coders according to their historical behavior. Additionally, bintrans will be able to take a parameter designating the coder and accept all its options in this form: bintrans <coder> [options] and the behavior should be the same as if <coder> [options] was invoked. This has the advantage that adding coders won't require installing them as binaries. Move uudecode files to uuencode since the latter is the one that provides the manual page. Reviewed by: delphij (previous version) Differential Revision: https://reviews.freebsd.org/D32943
2022-03-29uudecode: move the new uudecode test from uuencode/ to uudecode/Piotr Pawel Stefaniak
I don't know how that happened. Fixes: 9f3203c00314 "uudecode: correct error message"
2022-03-28uudecode: use SRCDIR in the regression testPiotr Pawel Stefaniak
Fixes: 9f3203c00314 "uudecode: correct error message"
2022-03-28uudecode: add missing test files to MakefilePiotr Pawel Stefaniak
Fixes: 9f3203c00314 "uudecode: correct error message"
2022-03-28uudecode: correct error messagePiotr Pawel Stefaniak
PR: 153276 Reported by: David Brennan
2022-03-28uu{encode,decode}: improve stylePiotr Pawel Stefaniak
2018-11-12Make outfile constant.Xin LI
MFC after: 2 weeks Notes: svn path=/head/; revision=340359
2017-11-20General further adoption of SPDX licensing ID tags.Pedro F. Giffuni
Mainly focus on files that use BSD 3-Clause license. 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. Notes: svn path=/head/; revision=326025
2017-10-31DIRDEPS_BUILD: Update dependencies.Bryan Drewery
Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
2017-08-02Add HAS_TESTS to all Makefiles that are currently using theEnji Cooper
`SUBDIR.${MK_TESTS}+= tests` idiom. This is a follow up to r321912. Notes: svn path=/projects/make-check-sandbox/; revision=321914
2017-08-02Convert traditional ${MK_TESTS} conditional idiom for including testEnji Cooper
directories to SUBDIR.${MK_TESTS} idiom This is being done to pave the way for future work (and homogenity) in ^/projects/make-check-sandbox . No functional change intended. MFC after: 1 weeks Notes: svn path=/head/; revision=321912
2017-03-10Use nitems() from sys/param.h.Marcelo Araujo
Reviewed by: ngie MFC after: 3 weeks. Differential Revision: https://reviews.freebsd.org/D9936 Notes: svn path=/head/; revision=314993
2017-02-28Renumber copyright clause 4Warner Losh
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
2017-02-11Remove spaces at end of lineBaptiste Daroussin
Reported by: make manlint MFC after: 2 days Notes: svn path=/head/; revision=313673
2016-05-04Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installedEnji Cooper
after r298107 Summary of changes: - Replace all instances of FILES/TESTS with ${PACKAGE}FILES. This ensures that namespacing is kept with FILES appropriately, and that this shouldn't need to be repeated if the namespace changes -- only the definition of PACKAGE needs to be changed - Allow PACKAGE to be overridden by callers instead of forcing it to always be `tests`. In the event we get to the point where things can be split up enough in the base system, it would make more sense to group the tests with the blocks they're a part of, e.g. byacc with byacc-tests, etc - Remove PACKAGE definitions where possible, i.e. where FILES wasn't used previously. - Remove unnecessary TESTSPACKAGE definitions; this has been elided into bsd.tests.mk - Remove unnecessary BINDIRs used previously with ${PACKAGE}FILES; ${PACKAGE}FILESDIR is now automatically defined in bsd.test.mk. - Fix installation of files under data/ subdirectories in lib/libc/tests/hash and lib/libc/tests/net/getaddrinfo - Remove unnecessary .include <bsd.own.mk>s (some opportunistic cleanup) Document the proposed changes in share/examples/tests/tests/... via examples so it's clear that ${PACKAGES}FILES is the suggested way forward in terms of replacing FILES. share/mk/bsd.README didn't seem like the appropriate method of communicating that info. MFC after: never probably X-MFC with: r298107 PR: 209114 Relnotes: yes Tested with: buildworld, installworld, checkworld; buildworld, packageworld Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=299094
2016-04-11MFHGlen Barber
Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=297824
2016-04-07Enhance uuencode with a -r option to produce raw output.Pietro Cerutti
This matches with uudecode's -r option to decode raw data without initial and final framing lines. $ echo Test | uuencode -mr - | uudecode -mr Test Approved by: cognet MFC after: 1 week Notes: svn path=/head/; revision=297678
2016-03-10MFHGlen Barber
Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=296625
2016-03-09DIRDEPS_BUILD: Connect MK_TESTS.Bryan Drewery
Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296587
2016-02-02First pass to fix the 'tests' packages.Glen Barber
Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295171
2015-10-12Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) andEnji Cooper
netbsd-tests.test.mk (r289151) - Eliminate explicit OBJTOP/SRCTOP setting - Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk - Remove unnecessary TESTSDIR setting - Use SRCTOP where possible for clarity MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Divison Notes: svn path=/head/; revision=289172
2015-06-13Add META_MODE support.Simon J. Gerraty
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
2015-06-08dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=284172
2014-05-16Updated dependenciesSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=266219
2014-05-10Updated dependenciesSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=265802
2014-05-08Merge from headSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=265720
2014-05-06Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh
from the latter. Notes: svn path=/head/; revision=265420
2014-04-28Merge headSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=265044
2014-03-16Migrate most of tools/regression/usr.bin/ to the new tests layout.Julio Merino
I'm starting with the easy cases. The leftovers need to be looked at a bit more closely. Note that this change _does_ modify the code of the old tests. This is required in order to allow the code to locate the data files in the source directory instead of the current directory, because Kyua automatically changes the latter to a temporary directory. Also note that at least one test is known to be broken here. Actually, the test is not really broken: it's marked as a TODO but unfortunately Kyua's TAP parser currently does not understand that. Will have to be fixed separately. Notes: svn path=/head/; revision=263227
2013-03-11Updated dependenciesSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=248169
2013-02-16Updated dependenciesSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=246868
2012-11-04Sync from headSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=242545
2012-10-26Prefer an example users born after myself might use.Eitan Adler
Approved by: bcr (mentor) MFC after: 3 days Notes: svn path=/head/; revision=242136
2012-08-22Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar
Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
2011-11-06Add missing static keywords to uuencode(1)Ed Schouten
Notes: svn path=/head/; revision=227197
2010-12-11Remove the advertising clause from UCB copyrighted files in usr.bin. ThisJoel Dahl
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
2010-01-02Build usr.bin/ with WARNS=6 by default.Ed Schouten
Also add some missing $FreeBSD$ to keep svn happy. Notes: svn path=/head/; revision=201386
2005-07-14- Remove MLINKS to nonexistant manpagesChristian Brueffer
- Change some section numbers to match reality - For MLINKS to manpages from ports, mention which port installs them MFC after: 3 days Notes: svn path=/head/; revision=148011
2005-01-18Sort sections.Ruslan Ermilov
Notes: svn path=/head/; revision=140420
2004-01-22Userland signed char fixes for PPC build. Problems were using a charPeter Grehan
return for getopt() and comparing to -1, ditto with fgetc() and EOF, and using the kg_nice value from <sys/user.h> Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> Reviewed by: obrien, bde (a while back) Tested lightly on: ppc, i386, make universe Notes: svn path=/head/; revision=124830
2003-05-03Make GCC 3.3 happy with rcsid[], sccs[], and copyright[].David E. O'Brien
Notes: svn path=/head/; revision=114594
2003-03-18Fix English usage: "for security purpose" -> "for security reasons".Tony Finch
Notes: svn path=/head/; revision=112378
2003-02-27Document uudecode's new relaxed mode for handling raw data.Tony Finch
Notes: svn path=/head/; revision=111589
2002-12-22Correct minor grammos.Jens Schweikhardt
MFC after: 3 days Notes: svn path=/head/; revision=108181
2002-10-20Improve the way base64 mode is enabled based on the program name,Tony Finch
so that it works when the path to b64encode is used to run it. Notes: svn path=/head/; revision=105519
2002-09-03Don't try (and fail) to fchmod /dev/stdout. Revert the manual pageTony Finch
to suggest the portable alternative to -p. PR: 42356 Submitted by: Kimura Fuyuki <fuyuki@hadaly.org> MFC after: 1 week Notes: svn path=/head/; revision=102910
2002-09-03Suggest -p instead of -o /dev/stdout.Tony Finch
PR: 42356 Notes: svn path=/head/; revision=102891
2002-05-19Fix a late-night buglet in MLINKS ordering.Juli Mallett
Submitted by: Szilveszter Adam <sziszi@bsd.hu> Notes: svn path=/head/; revision=96958
2002-05-19Synch usage() and manpage for b64encode/b64decode.Juli Mallett
Make uudecode's usage more like that of other programs. Notes: svn path=/head/; revision=96943