sltar

a simple tar implementation
git clone git://git.suckless.org/sltar
Log | Files | Refs | LICENSE

commit a3814128d5bc9c045523590e386aba46dc68605b
parent c4da04006270829322bbbab38ac08adc6200b79d
Author: gottox@rootkit.lan <unknown>
Date:   Wed, 19 Dec 2007 13:32:49 +0100

version 0.1.1
Diffstat:
LICENSE | 21+++++++++++++++++++++
Makefile | 2+-
config.mk | 2+-
sltar.1 | 20++++++++++++++++++++
4 files changed, 43 insertions(+), 2 deletions(-)

diff --git a/LICENSE b/LICENSE @@ -0,0 +1,21 @@ +MIT/X Consortium License + +(c) 2007 Enno Boland <g s01 de> + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. diff --git a/Makefile b/Makefile @@ -32,7 +32,7 @@ clean: dist: clean @echo creating dist tarball @mkdir -p ${TARGET}-${VERSION} - @cp -R LICENSE Makefile \ + @cp -R LICENSE Makefile config.mk \ ${TARGET}.1 ${SRC} ${TARGET}-${VERSION} @tar -cf ${TARGET}-${VERSION}.tar ${TARGET}-${VERSION} @gzip ${TARGET}-${VERSION}.tar diff --git a/config.mk b/config.mk @@ -1,5 +1,5 @@ # sltar version -VERSION = 0.1 +VERSION = 0.1.1 # Customize below to fit your system diff --git a/sltar.1 b/sltar.1 @@ -0,0 +1,20 @@ +.TH sltar 1 sltar\-VERSION +.SH NAME +sltar \- suckless tar +.SH SYNOPSIS +.B sltar +.RB [ tx ] +.SH DESCRIPTION +sltar is a minimal implementation of tar. +.SH OPTIONS +.TP +.B x +extract tarball from stdin +.TP +.B t +lists all files in tarball from stdin +.SH BUGS +sltar cannot create special files like devices, +sockets, or fifos. + +sltar does not change permissions.