Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/notes/common finish removing the set size stuff, whi...



details:   https://anonhg.NetBSD.org/src/rev/5bae7a7a7aea
branches:  trunk
changeset: 808496:5bae7a7a7aea
user:      snj <snj%NetBSD.org@localhost>
date:      Tue May 19 19:45:57 2015 +0000

description:
finish removing the set size stuff, which was thrown out four years ago.

diffstat:

 distrib/notes/common/list-setsizes.sh |  65 -----------------------------------
 distrib/notes/common/macros           |  27 +--------------
 2 files changed, 1 insertions(+), 91 deletions(-)

diffs (110 lines):

diff -r 65f9dfa26515 -r 5bae7a7a7aea distrib/notes/common/list-setsizes.sh
--- a/distrib/notes/common/list-setsizes.sh     Tue May 19 19:30:26 2015 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-#!/bin/sh
-#
-# Copyright (c) 2004, 2008 The NetBSD Foundation, Inc.
-# All rights reserved.
-#
-# This code is derived from software contributed to The NetBSD Foundation
-# by Hubert Feyrer <hubert%feyrer.de@localhost>.
-# 
-# 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.
-# 
-# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
-# ``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 FOUNDATION OR CONTRIBUTORS
-# 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.
-
-#
-# Usage:
-# 1) ssh ftp.netbsd.org
-# 2) cd /ftp/pub/NetBSD/<release>
-# 3) sh list-setsizes.sh base
-# 4) paste values into s"Binary distribution sets" section of
-#    src/distrib/common/notes/contents
-#
-
-ports="acorn26 acorn32 algor alpha amd64 amiga arc atari bebox cats cesfic
-       cobalt dreamcast evbarm evbmips evbppc evbsh3
-       hp300 hppa hpcarm hpcmips hpcsh i386 ibmnws iyonix landisk luna68k
-       mac68k macppc mipsco mmeye mvme68k mvmeppc netwinder news68k newsmips
-       next68k ofppc pmax prep sandpoint sbmips sgimips
-       shark sparc sparc64 sun2 sun3 vax x68k"
-
-set="$1"
-
-if [ "$set" = "" ]; then
-       echo "Usage: $0 setname"
-       echo "e.g.   $0 base"
-       exit 1
-fi
-
-for port in $ports
-do
-       set -- `gzip -l $port/binary/sets/${set}.tgz | tail -1`
-       compressed=`expr \( "$1" + 1048575 \) / 1048576`
-       uncompressed=`expr \( "$2" + 1048575 \) / 1048576`
-       setfile=$4
-
-       if [ "$compressed"   = "0" ]; then compressed="-unknown-" ; fi
-       if [ "$uncompressed" = "0" ]; then uncompressed="-unknown-" ; fi
-
-       echo ".if \\n[$port] .setsize $compressed $uncompressed"
-done
diff -r 65f9dfa26515 -r 5bae7a7a7aea distrib/notes/common/macros
--- a/distrib/notes/common/macros       Tue May 19 19:30:26 2015 +0000
+++ b/distrib/notes/common/macros       Tue May 19 19:45:57 2015 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: macros,v 1.41 2015/05/09 08:13:34 snj Exp $
+.\"    $NetBSD: macros,v 1.42 2015/05/19 19:45:57 snj Exp $
 .\"
 .\" Copyright (c) 1999-2004 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -164,31 +164,6 @@
 .Ux Ns -like
 ..
 .
-.\" setsize <G> <U>
-.\"    Remember <G> and <U> for the next showsize
-.\" showsize [<G> <U>]
-.\"    Display "<G> MB gzipped, <U> MB uncompressed" on a new line,
-.\"    and then reset the values of <G> and <U> to '-unset-'.
-.\"    Values can be generated with something like this:
-.\"            gzip -l *.tgz | \
-.\"            awk '/\.tar/ { printf ".if \\n[%s] .setsize %d %d\n", \
-.\"                substr($4,0,index($4, "/")-1), \
-.\"                ( $1+1048575 ) /1048576, \
-.\"                ( $2 + 1048575) / 1048576 } '
-.\"
-.
-.de setsize
-\.ds set_gzip \\$[1]
-\.ds set_gunzip \\$[2]
-..
-.de showsize
-.br
-.if \\n(.$==2 .setsize \\$*
-.Em \\*[set_gzip] MB gzipped, \\*[set_gunzip] MB uncompressed
-.setsize -unset- -unset-
-..
-.setsize -unset- -unset-
-.
 .\" .Bc/.Ec; begin/end two-column mode. This may not work in all
 .\" cases, but was designed for common/donations. There is no
 .\" support for more than two pages, nor for right-margins.



Home | Main Index | Thread Index | Old Index