Source-Changes-HG archive

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

[src/trunk]: src Delete bpm(1)



details:   https://anonhg.NetBSD.org/src/rev/e958d2cbe78d
branches:  trunk
changeset: 346100:e958d2cbe78d
user:      maya <maya%NetBSD.org@localhost>
date:      Sat Jun 25 18:05:57 2016 +0000

description:
Delete bpm(1)
It hasn't worked in a long time.

PR bin/51268

diffstat:

 distrib/sets/lists/base/mi                  |    4 +-
 distrib/sets/lists/man/mi                   |    8 +-
 external/bsd/pkg_install/dist/bpm/bpm.1     |  114 --------------
 external/bsd/pkg_install/dist/bpm/bpm.sh.in |  220 ----------------------------
 external/bsd/pkg_install/sbin/Makefile      |    6 +-
 external/bsd/pkg_install/sbin/bpm/Makefile  |   15 -
 6 files changed, 9 insertions(+), 358 deletions(-)

diffs (truncated from 429 to 300 lines):

diff -r 355f6f486932 -r e958d2cbe78d distrib/sets/lists/base/mi
--- a/distrib/sets/lists/base/mi        Sat Jun 25 17:31:45 2016 +0000
+++ b/distrib/sets/lists/base/mi        Sat Jun 25 18:05:57 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1128 2016/06/16 15:17:56 agc Exp $
+# $NetBSD: mi,v 1.1129 2016/06/25 18:05:57 maya Exp $
 #
 # Note:        Don't delete entries from here - mark them as "obsolete" instead,
 #      unless otherwise stated below.
@@ -1577,7 +1577,7 @@
 ./usr/sbin/bootpef                             base-bootserver-bin
 ./usr/sbin/bootpgw                             base-bootserver-bin
 ./usr/sbin/bootptest                           base-bootserver-bin
-./usr/sbin/bpm                                 base-pkgutil-bin        crypto
+./usr/sbin/bpm                                 base-obsolete           obsolete
 ./usr/sbin/btattach                            base-sysutil-bin
 ./usr/sbin/btconfig                            base-sysutil-bin
 ./usr/sbin/btcontrol                           base-obsolete           obsolete
diff -r 355f6f486932 -r e958d2cbe78d distrib/sets/lists/man/mi
--- a/distrib/sets/lists/man/mi Sat Jun 25 17:31:45 2016 +0000
+++ b/distrib/sets/lists/man/mi Sat Jun 25 18:05:57 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1527 2016/06/12 18:44:46 abhinav Exp $
+# $NetBSD: mi,v 1.1528 2016/06/25 18:05:57 maya Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -82,7 +82,7 @@
 ./usr/share/man/cat1/bdes.0                    man-crypto-catman       crypto,.cat
 ./usr/share/man/cat1/bg.0                      man-util-catman         .cat
 ./usr/share/man/cat1/biff.0                    man-mail-catman         .cat
-./usr/share/man/cat1/bpm.0                     man-pkgutil-catman      crypto,.cat
+./usr/share/man/cat1/bpm.0                     man-obsolete            crypto,.cat,obsolete
 ./usr/share/man/cat1/bthset.0                  man-util-catman         .cat
 ./usr/share/man/cat1/btkey.0                   man-util-catman         .cat
 ./usr/share/man/cat1/btpin.0                   man-util-catman         .cat
@@ -3241,7 +3241,7 @@
 ./usr/share/man/html1/bdes.html                        man-crypto-htmlman      crypto,html
 ./usr/share/man/html1/bg.html                  man-util-htmlman        html
 ./usr/share/man/html1/biff.html                        man-mail-htmlman        html
-./usr/share/man/html1/bpm.html                 man-pkgutil-htmlman     crypto,html
+./usr/share/man/html1/bpm.html                 man-obsolete            crypto,html,obsolete
 ./usr/share/man/html1/bthset.html              man-util-htmlman        html
 ./usr/share/man/html1/btkey.html               man-util-htmlman        html
 ./usr/share/man/html1/btpin.html               man-util-htmlman        html
@@ -6010,7 +6010,7 @@
 ./usr/share/man/man1/bdes.1                    man-crypto-man          crypto,.man
 ./usr/share/man/man1/bg.1                      man-util-man            .man
 ./usr/share/man/man1/biff.1                    man-mail-man            .man
-./usr/share/man/man1/bpm.1                     man-pkgutil-man         crypto,.man
+./usr/share/man/man1/bpm.1                     man-obsolete            crypto,.man,obsolete
 ./usr/share/man/man1/bthset.1                  man-util-man            .man
 ./usr/share/man/man1/btkey.1                   man-util-man            .man
 ./usr/share/man/man1/btpin.1                   man-util-man            .man
diff -r 355f6f486932 -r e958d2cbe78d external/bsd/pkg_install/dist/bpm/bpm.1
--- a/external/bsd/pkg_install/dist/bpm/bpm.1   Sat Jun 25 17:31:45 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,114 +0,0 @@
-.\" $NetBSD: bpm.1,v 1.5 2014/03/18 18:20:36 riastradh Exp $ */
-.\"
-.\" Copyright (c) 2003,2009 The NetBSD Foundation, Inc.
-.\" All rights reserved.
-.\"
-.\" This code is derived from software contributed to The NetBSD Foundation
-.\" by Alistair Crooks (agc%NetBSD.org@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.
-.\"
-.Dd August 3, 2007
-.Dt BPM 1
-.Os
-.Sh NAME
-.Nm bpm
-.Nd menu-based binary package manager
-.Sh SYNOPSIS
-.Nm
-.Op Fl hnVv
-.Op Fl b Ar baseURL
-.Op Fl m Ar machine
-.Op Fl r Ar release
-.Op Fl w Ar seconds
-.Sh DESCRIPTION
-The
-.Nm
-command is used to locate and install binary packages from any
-reachable URL.
-.Pp
-The following command-line options are supported:
-.Bl -tag -width indent
-.It Fl b Ar baseURL
-Specify a base URL from which to download binary packages.
-The default URL is
-.Pa ftp://ftp.NetBSD.org/pub/pkgsrc/packages .
-.It Fl h
-Print a help message and then exit.
-.It Fl m Ar machine
-Use
-.Ar machine
-as the machine architecture to be used, instead of that returned by
-.Xr uname 1 .
-.It Fl n
-Don't actually execute the commands to add the package.
-.It Fl r Ar release
-Use
-.Ar release
-as the operating system release to be used, instead of that returned by
-.Xr uname 1 .
-.It Fl V
-Print version number and exit.
-.It Fl v
-Turn on verbose output.
-.It Fl w Ar seconds
-The number of
-.Ar seconds
-to wait after displaying an error message and returning to
-normal menu operations.
-.El
-.Pp
-.Nm
-provides a menu-based binary package manager for
-.Nx .
-.Nm
-first connects to the URL using
-.Xr ftp 1 ,
-and displays a list of categories for which binary packages exist.
-If no categories are displayed, it could
-be that the machine architecture or operating system release string
-have been wrongly interpreted, and that it will be necessary to override
-this values by means of the command line options.
-Within a category, a list of packages will be displayed, and by selecting
-one using the number assigned to it, the package will be downloaded
-automatically, and installed, using the
-.Xr pkg_add 1
-utility.
-It is also possible to change the category currently being examined,
-and to quit from the utility, simply by selecting the appropriate choices
-on the menu.
-.Sh ENVIRONMENT
-The environment variables which govern the behavior of
-.Xr ftp 1
-and
-.Xr pkg_add 1
-are valid for
-.Nm .
-.Sh SEE ALSO
-.Xr ftp 1 ,
-.Xr pkg_add 1 ,
-.Xr uname 1
-.Sh AUTHORS
-The
-.Nm
-utility was written by
-.An Alistair Crooks Aq Mt agc%NetBSD.org@localhost .
diff -r 355f6f486932 -r e958d2cbe78d external/bsd/pkg_install/dist/bpm/bpm.sh.in
--- a/external/bsd/pkg_install/dist/bpm/bpm.sh.in       Sat Jun 25 17:31:45 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,220 +0,0 @@
-#! /bin/sh
-#
-# $NetBSD: bpm.sh.in,v 1.3 2012/02/21 18:36:16 wiz Exp $
-#
-# Copyright (c) 2003,2009 The NetBSD Foundation, Inc.
-# All rights reserved.
-#
-# This code is derived from software contributed to The NetBSD Foundation
-# by Alistair Crooks (agc%NetBSD.org@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.
-#
-
-die()
-{
-       echo >&2 "$@"
-       exit 1
-}
-
-check_prog()
-{
-       _var="$1"; _name="$2"
-
-       eval _tmp=\"\$$_var\"
-       if [ "x$_tmp" != "x" ]; then
-               # Variable is already set (by the user, for example)
-               return 0
-       fi
-
-       for _d in `echo $PATH | tr ':' ' '`; do
-               if [ -x "$_d/$_name" ]; then
-                       # Program found
-                       eval $_var=\""$_d/$_name"\"
-                       return 1
-               fi
-       done
-
-       die "$_name not found in path."
-}
-
-check_prog awkprog awk
-check_prog echoprog echo
-check_prog ftpprog ftp
-check_prog idprog id
-check_prog moreprog more
-check_prog pkg_addprog pkg_add
-check_prog rmprog rm
-check_prog sedprog sed
-check_prog suprog su
-check_prog unameprog uname
-
-# print version and exit
-version() {
-       $pkg_addprog -V
-       exit 0
-}
-
-# temporary files
-tmpcategories=/tmp/categories.$$
-tmppackages=/tmp/packages.$$
-
-# some base parameters
-base=ftp://ftp.NetBSD.org/pub/pkgsrc/packages
-release=`${unameprog} -r | ${sedprog} -e 's/_STABLE//'`
-machine=`${unameprog} -m`
-
-sleepsecs=1
-
-doit=""
-
-while [ $# -gt 0 ]; do
-       case $1 in
-       -V)     version ;;
-       -b)     base=$2; shift ;;
-       -h)     ${echoprog} "$0 [-b BaseURL] [-h] [-m machine] [-n] [-r release] [-v] [-w secs]"; exit 0;;
-       -m)     machine=$2; shift ;;
-       -n)     doit=":" ;;
-       -r)     release=$2; shift ;;
-       -v)     set -x ;;
-       -w)     sleepsecs=$2; shift ;;
-       *)      break ;;
-       esac
-       shift
-done
-
-category=""
-
-while true; do
-       # if we don't have a packages file, then we need to choose a category
-       case "$category" in
-       "")     # get possible categories
-               if [ ! -f $tmpcategories ]; then
-                       ${echoprog} "Downloading package categories from ${base}..."
-                       ${echoprog} "** QUIT" > $tmpcategories
-                       ${echoprog} ls | ${ftpprog} ${base}/${release}/${machine}/ 2>/dev/null | \
-                               ${awkprog} 'NF == 9 { if ($9 != "All") print $9 }' >> $tmpcategories
-               fi
-
-               # check for bad release numbering
-               # - it usually shows with 0 categories being displayed
-               ${awkprog} 'END { if (NR == 1) { print "\n\n\n*** No categories found - is the OS release set properly? ***\n\n\n" } }' < $tmpcategories
-       
-               # display possible categories
-               ${awkprog} '{ print NR ". " $0 }' < $tmpcategories | ${moreprog}
-



Home | Main Index | Thread Index | Old Index