aboutsummaryrefslogtreecommitdiff
path: root/Tools/scripts/sunshar.rb
Commit message (Collapse)AuthorAgeFilesLines
* - Use optparse instead of old deprecated method.Stanislav Sedov2011-08-231-14/+10
| | | | | | | - Kill ruby 1.6 related stuff. Notes: svn path=/head/; revision=280259
* Add sunshar, a "secure unshar" for ports committers, which:Akinori MUSHA2004-02-281-0/+299
- 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. Notes: svn path=/head/; revision=102409