diff options
author | cy <cy@FreeBSD.org> | 2013-07-19 05:41:57 +0000 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2013-07-19 05:41:57 +0000 |
commit | 672af8808c0e7c15f330b401482f9271c2eb3fa6 (patch) | |
tree | 225b5acf68c01bc6a260b386c2b2dbf4fa2839e3 /contrib/ipfilter/bsdinstall | |
parent | 71e82d94e82560b20789833f60056506de34de8b (diff) | |
download | FreeBSD-src-672af8808c0e7c15f330b401482f9271c2eb3fa6.zip FreeBSD-src-672af8808c0e7c15f330b401482f9271c2eb3fa6.tar.gz |
As per the developers handbook (5.3.1 step 1), prepare the vendor trees for
import of new ipfilter vendor sources by flattening them.
To keep the tags consistent with dist, the tags are also flattened.
Approved by: glebius (Mentor)
Diffstat (limited to 'contrib/ipfilter/bsdinstall')
-rwxr-xr-x | contrib/ipfilter/bsdinstall | 88 |
1 files changed, 0 insertions, 88 deletions
diff --git a/contrib/ipfilter/bsdinstall b/contrib/ipfilter/bsdinstall deleted file mode 100755 index 7689a21..0000000 --- a/contrib/ipfilter/bsdinstall +++ /dev/null @@ -1,88 +0,0 @@ -#! /bin/sh -# -# @(#)install.sh 4.5 (Berkeley) 10/12/83 -# -cmd=/bin/mv -strip="" -chmod="chmod 755" -if [ "`uname -s`" = "HP-UX" ] ; then - chown="chown root" - chgrp="chgrp bin" -else - chown="chown -f root" - chgrp="chgrp -f bin" -fi -while true ; do - case $1 in - -s ) strip="strip" - shift - ;; - -c ) cmd="cp" - shift - ;; - -m ) chmod="chmod $2" - shift - shift - ;; - -o ) chown="chown -f $2" - shift - shift - ;; - -g ) chgrp="chgrp -f $2" - shift - shift - ;; - -d ) cmd="mkdir" - shift - ;; - * ) break - ;; - esac -done - -if [ ! ${2-""} ] -then echo "install: no destination specified" - exit 1 -fi -if [ ${3-""} ] -then echo "install: too many files specified -> $*" - exit 1 -fi -if [ $1 = $2 -o $2 = . ] -then echo "install: can't move $1 onto itself" - exit 1 -fi -case $cmd in -/bin/mkdir ) - file=$2/$1 - ;; -* ) - if [ '!' -f $1 ] - then echo "install: can't open $1" - exit 1 - fi - if [ -d $2 ] - then file=$2/$1 - else file=$2 - fi - /bin/rm -f $file - ;; -esac - -case $cmd in -/bin/mkdir ) - if [ ! -d "$file" ] - then $cmd $file - fi - ;; -* ) - $cmd $1 $file - if [ $strip ] - then $strip $file - fi - ;; -esac - -$chown $file -$chgrp $file -$chmod $file |