Date: Sat, 28 Feb 2004 06:29:09 -0800 (PST) From: Akinori MUSHA <knu@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/Tools/scripts sunshar.rbports/Tools/scripts/sunshar Makefile sunshar.1 Message-ID: <200402281429.i1SET90T031028@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
knu 2004/02/28 06:29:09 PST
FreeBSD ports repository
Added files:
Tools/scripts sunshar.rb
Tools/scripts/sunshar Makefile sunshar.1
Log:
Add sunshar, a "secure unshar" for ports committers, which:
- Does not execute unknown commands nor call sh(1) at all.
- Does not overwrite existing files by default.
- Does not extract files into upper directories.
- Does have a dry run (-n) flag to see what would have been extracted.
- Does have a strip (-p N) flag to strip any number of levels from
pathnames.
It (so far) only supports shell archives made with BSD shar.
Revision Changes Path
1.1 +299 -0 ports/Tools/scripts/sunshar.rb (new)
1.1 +13 -0 ports/Tools/scripts/sunshar/Makefile (new)
1.1 +56 -0 ports/Tools/scripts/sunshar/sunshar.1 (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402281429.i1SET90T031028>
