diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-03-28 01:14:57 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-03-28 01:14:57 +0000 |
commit | 58afdbd1ea33944df577073f13232145541c6c50 (patch) | |
tree | b13316a959d0929d8e6605fb4df071bd36368087 /distrib/sets | |
parent | 58d3179258bacbf670c6109272a1441e9802e70e (diff) |
I rewrote these a while back; copyright to me
Diffstat (limited to 'distrib/sets')
-rw-r--r-- | distrib/sets/checkflist | 26 | ||||
-rw-r--r-- | distrib/sets/makeflist | 26 | ||||
-rw-r--r-- | distrib/sets/makesrctars | 69 | ||||
-rw-r--r-- | distrib/sets/maketars | 26 |
4 files changed, 75 insertions, 72 deletions
diff --git a/distrib/sets/checkflist b/distrib/sets/checkflist index d1e4f52b54e..7319e9562bb 100644 --- a/distrib/sets/checkflist +++ b/distrib/sets/checkflist @@ -1,5 +1,29 @@ #!/bin/sh -x -# $OpenBSD: checkflist,v 1.4 2001/12/25 01:30:22 deraadt Exp $ +# $OpenBSD: checkflist,v 1.5 2003/03/28 01:14:56 deraadt Exp $ +# +# Copyright (c) 2001 Theo de Raadt +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# derived from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. if [ "X${DESTDIR}" = "X" ]; then echo DESTDIR must be set diff --git a/distrib/sets/makeflist b/distrib/sets/makeflist index 035440b70e2..6b06eb9dd48 100644 --- a/distrib/sets/makeflist +++ b/distrib/sets/makeflist @@ -1,5 +1,29 @@ #!/bin/sh -# $OpenBSD: makeflist,v 1.6 2001/12/25 01:30:22 deraadt Exp $ +# $OpenBSD: makeflist,v 1.7 2003/03/28 01:14:56 deraadt Exp $ +# +# Copyright (c) 2001 Theo de Raadt +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# derived from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. arch=`machine` diff --git a/distrib/sets/makesrctars b/distrib/sets/makesrctars deleted file mode 100644 index e0d9c8d1a9b..00000000000 --- a/distrib/sets/makesrctars +++ /dev/null @@ -1,69 +0,0 @@ -#!/bin/sh -# $OpenBSD: makesrctars,v 1.11 2000/03/01 22:10:09 todd Exp $ - - -set RELEASE=$1 -SPLITSIZE=240640 - -if [ "X${RELEASE}" = "X" ]; then - echo "Usage: `basename $0` <OSREVISION>" - exit 1 -fi - -GZIP=--best -export GZIP - -if [ -z "$SRCDIR" ]; then - echo SRCDIR must be set - exit 1 -fi - -if [ -z "$RELEASEDIR" ]; then - echo RELEASEDIR must be set - exit 1 -fi - -cd $SRCDIR - -mkdir -p ${RELEASEDIR}/src${RELEASE} -find . \ - \! \( \( -path ./gnu -o -path ./share \) -prune \) \ - \! \( -path ./sys -prune \) \ - \! \( -path ./usr.sbin/config -prune \) \ - \! \( -path ./usr.sbin/config.old -prune \) \ - \! \( -path ./usr.sbin/dbsym -prune \) \ - \! \( -name obj -prune \) -print | \ - sort | pax -wv -d -s'|^./|./usr/src/|' | gzip -9 | \ - split -b ${SPLITSIZE} - ${RELEASEDIR}/src${RELEASE}/src${RELEASE}. -(cd ${RELEASEDIR}/src${RELEASE}; cksum src${RELEASE}.* > CKSUM; \ - md5 src${RELEASE}.* > MD5) -chmod 444 ${RELEASEDIR}/src${RELEASE}/* - -mkdir ${RELEASEDIR}/gsrc${RELEASE} -find gnu \ - \! \( -name obj -prune \) -print | \ - sort | pax -wv -d -s'|^|./usr/src/|' | gzip -9 | \ - split -b ${SPLITSIZE} - ${RELEASEDIR}/gsrc${RELEASE}/gsrc${RELEASE}. -(cd ${RELEASEDIR}/gsrc${RELEASE}; cksum gsrc${RELEASE}.* > CKSUM; \ - md5 gsrc${RELEASE}.* > MD5) -chmod 444 ${RELEASEDIR}/gsrc${RELEASE}/* - -mkdir ${RELEASEDIR}/ksrc${RELEASE} -find sys usr.sbin/config usr.sbin/config.old usr.sbin/dbsym \ - \! \( -name obj -prune \) -print | \ - sort | pax -wv -d -s'|^|./usr/src/|' | gzip -9 | \ - split -b ${SPLITSIZE} - ${RELEASEDIR}/ksrc${RELEASE}/ksrc${RELEASE}. -(cd ${RELEASEDIR}/ksrc${RELEASE}; cksum ksrc${RELEASE}.* > CKSUM; \ - md5 ksrc${RELEASE}.* > MD5) -chmod 444 ${RELEASEDIR}/ksrc${RELEASE}/* - -mkdir ${RELEASEDIR}/ssrc${RELEASE} -find share \ - \! \( -name obj -prune \) -print | \ - sort | pax -wv -d -s'|^|./usr/src/|' | gzip -9 | \ - split -b ${SPLITSIZE} - ${RELEASEDIR}/ssrc${RELEASE}/ssrc${RELEASE}. -(cd ${RELEASEDIR}/ssrc${RELEASE}; cksum ssrc${RELEASE}.* > CKSUM; \ - md5 ssrc${RELEASE}.* > MD5) -chmod 444 ${RELEASEDIR}/ssrc${RELEASE}/* - - diff --git a/distrib/sets/maketars b/distrib/sets/maketars index 79405255c3c..a52654140b3 100644 --- a/distrib/sets/maketars +++ b/distrib/sets/maketars @@ -1,5 +1,29 @@ #!/bin/sh -# $OpenBSD: maketars,v 1.14 2002/03/01 01:38:58 miod Exp $ +# $OpenBSD: maketars,v 1.15 2003/03/28 01:14:56 deraadt Exp $ +# +# Copyright (c) 2001 Theo de Raadt +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# derived from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. RELEASE=$1 |