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

firewall script



Here is the "very crude" script and it's output for comment and
hopefully improvement....I'm going for a run.

Script:

#
# test with "build-filter-addtobase.script | tee output.file
#
 
dpkg -i `find . -name "libc5_*.deb"`
dpkg -i `find . -name "libc5-dev_*.deb"`
dpkg -i `find . -name "libbfd2.7.0.9_*.deb"`
dpkg -i `find . -name "libdb1-dev_*.deb"`
dpkg -i `find . -name "libg++27_*.deb"`
dpkg -i `find . -name "libg++27-dev_*.deb"`
dpkg -i `find . -name "libgdbm1-dev_*.deb"`
dpkg -i `find . -name "libreadline2-dev_*.deb"`
dpkg -i `find . -name "perl_*.deb"`
dpkg -i `find . -name "tcl74_*.deb"`
dpkg -i `find . -name "expect_*.deb"`
dpkg -i `find . -name "at_*.deb"`
dpkg -i `find . -name "bin86_*.deb"`
dpkg -i `find . -name "binutils_*.deb"`
dpkg -i `find . -name "bsdmainutils_*.deb"`
dpkg -i `find . -name "cpp_*.deb"`
dpkg -i `find . -name "cron_*.deb"`
dpkg -i `find . -name "dnsutils_*.deb"`
dpkg -i `find . -name "dpkg-dev_*.deb"`
dpkg -i `find . -name "ed_*.deb"`
dpkg -i `find .. -name "electric-fence_*.deb"`
dpkg -i `find . -name "gcc_*.deb"`
dpkg -i `find . -name "gdb_*.deb"`
dpkg -i `find . -name "kernel-source-2.0.30_*.deb"` <<EOF
Henry Hollenberg
speed@barney.iamerica.net
EOF
dpkg -i `find . -name "kernel-package_*.deb"`
dpkg -i `find . -name "less_*.deb"`
dpkg -i `find . -name "m4_*.deb"`
dpkg -i `find . -name "make_*.deb"`
dpkg -i `find . -name "netstd_*.deb"`
dpkg -i `find . -name "nvi_*.deb"`
dpkg -i `find . -name "patch_*.deb"`


Problems:

The <<EOF thing doesn't work so I'll look at how to use expect
when I get back.

Need to add :

#! /bin/sh
# test with "build-filter-addtobase.script | tee output.file
# Install Debian 1.3.1 up to dselect then exit and run this
# script after:
# cd /
# mount /dev/scd0 /mnt  (mount the 1.3.1 binary CDROM)
# cd /mnt/bo/binary-i386


script hangs on termination...I have to hit CTRL-D to get
the prompt back.


There is some kind of problem with at being unhappy about not having a
mailer.

Here is the output:

(Reading database ... 2760 files and directories currently installed.)
Preparing to replace libc5 5.4.23-6 (using ./base/libc5_5.4.33-3.deb) ...
Unpacking replacement libc5 ...
Setting up libc5 (5.4.33-3) ...

Selecting previously deselected package libc5-dev.
(Reading database ... 2760 files and directories currently installed.)
Unpacking libc5-dev (from ./devel/libc5-dev_5.4.33-3.deb) ...
Setting up libc5-dev (5.4.33-3) ...
Selecting previously deselected package libbfd2.7.0.9.
(Reading database ... 3318 files and directories currently installed.)
Unpacking libbfd2.7.0.9 (from .../libbfd2.7.0.9_2.7.0.9-3.deb) ...
Setting up libbfd2.7.0.9 (2.7.0.9-3) ...

Selecting previously deselected package libdb1-dev.
(Reading database ... 3323 files and directories currently installed.)
Unpacking libdb1-dev (from .../devel/libdb1-dev_1.85.4-3.deb) ...
Setting up libdb1-dev (1.85.4-3) ...
Selecting previously deselected package libg++27.
(Reading database ... 3343 files and directories currently installed.)
Unpacking libg++27 (from ./libs/libg++27_2.7.2.1-8.deb) ...
Setting up libg++27 (2.7.2.1-8) ...

Selecting previously deselected package libg++27-dev.
(Reading database ... 3357 files and directories currently installed.)
Unpacking libg++27-dev (from .../libg++27-dev_2.7.2.1-8.deb) ...
Setting up libg++27-dev (2.7.2.1-8) ...

Selecting previously deselected package libgdbm1-dev.
(Reading database ... 3694 files and directories currently installed.)
Unpacking libgdbm1-dev (from .../libgdbm1-dev_1.7.3-19.deb) ...
Setting up libgdbm1-dev (1.7.3-19) ...

Selecting previously deselected package libreadline2-dev.
(Reading database ... 3747 files and directories currently installed.)
Unpacking libreadline2-dev (from .../libreadline2-dev_2.1-2.deb) ...
Setting up libreadline2-dev (2.1-2) ...

Selecting previously deselected package perl.
(Reading database ... 3770 files and directories currently installed.)
Unpacking perl (from .../perl_5.003.07-10.deb) ...
Setting up perl (5.003.07-10) ...

Selecting previously deselected package tcl74.
(Reading database ... 4458 files and directories currently installed.)
Unpacking tcl74 (from ./libs/tcl74_7.4p3-5.deb) ...
Setting up tcl74 (7.4p3-5) ...
Checking available versions of tclsh, updating links in /etc/alternatives
...
(You may modify the symlinks there yourself if desired - see `man ln'.)
Updating tclsh (/usr/bin/tclsh) to point to /usr/bin/tclsh7.4.
Updating tclsh.1 (/usr/man/man1/tclsh.1) to point to
/usr/man/man1/tclsh7.4.1.

Selecting previously deselected package expect.
(Reading database ... 4470 files and directories currently installed.)
Unpacking expect (from .../expect_5.19.0-2.deb) ...
Setting up expect (5.19.0-2) ...
Selecting previously deselected package at.
(Reading database ... 4520 files and directories currently installed.)
Unpacking at (from ./admin/at_3.1.7-3.deb) ...
Selecting previously deselected package bin86.
(Reading database ... 4544 files and directories currently installed.)
Unpacking bin86 (from ./devel/bin86_0.4-3.deb) ...
Setting up bin86 (0.4-3) ...
Selecting previously deselected package binutils.
(Reading database ... 4550 files and directories currently installed.)
Unpacking binutils (from ./devel/binutils_2.7.0.9-3.deb) ...
Setting up binutils (2.7.0.9-3) ...

Selecting previously deselected package bsdmainutils.
(Reading database ... 4611 files and directories currently installed.)
Unpacking bsdmainutils (from ./utils/bsdmainutils_3.2-0.deb) ...
Setting up bsdmainutils (3.2-0) ...
Selecting previously deselected package cpp.
(Reading database ... 4654 files and directories currently installed.)
Unpacking cpp (from .../interpreters/cpp_2.7.2.1-8.deb) ...
Setting up cpp (2.7.2.1-8) ...

Selecting previously deselected package cron.
(Reading database ... 4664 files and directories currently installed.)
Unpacking cron (from ./admin/cron_3.0pl1-38.deb) ...
Setting up cron (3.0pl1-38) ...

Selecting previously deselected package dnsutils.
(Reading database ... 4687 files and directories currently installed.)
Unpacking dnsutils (from ./net/dnsutils_970203-0.1.deb) ...
Setting up dnsutils (970203-0.1) ...

Selecting previously deselected package dpkg-dev.
(Reading database ... 4700 files and directories currently installed.)
Unpacking dpkg-dev (from ./utils/dpkg-dev_1.4.0.8.deb) ...
Setting up dpkg-dev (1.4.0.8) ...
Selecting previously deselected package ed.
(Reading database ... 4763 files and directories currently installed.)
Unpacking ed (from ./editors/ed_0.2-12.deb) ...
Setting up ed (0.2-12) ...

Selecting previously deselected package electric-fence.
(Reading database ... 4772 files and directories currently installed.)
Unpacking electric-fence (from .../electric-fence_2.0.5-3.deb) ...
Setting up electric-fence (2.0.5-3) ...
Selecting previously deselected package gcc.
(Reading database ... 4781 files and directories currently installed.)
Unpacking gcc (from ./devel/gcc_2.7.2.1-8.deb) ...
Setting up gcc (2.7.2.1-8) ...

Selecting previously deselected package gdb.
(Reading database ... 4869 files and directories currently installed.)
Unpacking gdb (from ./devel/gdb_4.16-6.deb) ...
Setting up gdb (4.16-6) ...

Selecting previously deselected package kernel-source-2.0.30.
(Reading database ... 4894 files and directories currently installed.)
Unpacking kernel-source-2.0.30 (from
./devel/kernel-source-2.0.30_2.0.30-7.deb) ...
Setting up kernel-source-2.0.30 (2.0.30-7) ...

Selecting previously deselected package kernel-package.
(Reading database ... 7129 files and directories currently installed.)
Unpacking kernel-package (from ./misc/kernel-package_3.28.deb) ...
Setting up kernel-package (3.28) ...

Configuring the Full name of the local person responsible for the
kernel packages.

This information will be used to sign the new packages produced.  If
you never intend to sign the kernel images, source, or header packages
created (You should only need to do so if you upload an official
package), you may safely leave it blank.  However, we recommend that
you do supply a full name if only so that the dpkg -s kernel-*
information looks prettier <grin>.

Please supply the full name of the local kernel maintainer
	:
Configuring the email address of the local person responsible for the
kernel packages.

This information will be put into the dpkg database, you may safely
leave it blank.  However, we recommend that you do supply a email
address, it make keeping track easier.

Please supply the email address of the local kernel maintainer
	:
Selecting previously deselected package less.
(Reading database ... 7158 files and directories currently installed.)
Unpacking less (from ./text/less_321-2.deb) ...
Setting up less (321-2) ...
Selecting previously deselected package m4.
(Reading database ... 7167 files and directories currently installed.)
Unpacking m4 (from ./interpreters/m4_1.4-6.deb) ...
Setting up m4 (1.4-6) ...

Selecting previously deselected package make.
(Reading database ... 7205 files and directories currently installed.)
Unpacking make (from ./devel/make_3.75-4.deb) ...
Setting up make (3.75-4) ...

Selecting previously deselected package netstd.
(Reading database ... 7222 files and directories currently installed.)
Unpacking netstd (from ./net/netstd_2.13-1.deb) ...
Setting up netstd (2.13-1) ...
Starting remote filesystem services:.
Starting additional networking services:.

Selecting previously deselected package nvi.
(Reading database ... 7430 files and directories currently installed.)
Unpacking nvi (from ./editors/nvi_1.76-1.deb) ...
Setting up nvi (1.76-1) ...
Checking available versions of ex, updating links in /etc/alternatives ...
(You may modify the symlinks there yourself if desired - see `man ln'.)
Updating ex (/usr/bin/ex) to point to /usr/bin/nex.
Updating ex.1 (/usr/man/man1/ex.1) to point to /usr/man/man1/nex.1.gz.
Checking available versions of vi, updating links in /etc/alternatives ...
(You may modify the symlinks there yourself if desired - see `man ln'.)
Updating vi (/usr/bin/vi) to point to /usr/bin/nvi.
Removing vi.1.gz (/usr/man/man1/vi.1.gz), not appropriate with
/usr/bin/nvi.
Updating vi.1 (/usr/man/man1/vi.1) to point to /usr/man/man1/nvi.1.gz.
Checking available versions of view, updating links in /etc/alternatives
...
(You may modify the symlinks there yourself if desired - see `man ln'.)
Updating view (/usr/bin/view) to point to /usr/bin/nview.
Updating view.1 (/usr/man/man1/view.1) to point to
/usr/man/man1/nview.1.gz.

Selecting previously deselected package patch.
(Reading database ... 7445 files and directories currently installed.)
Unpacking patch (from ./utils/patch_2.1-11.deb) ...
Setting up patch (2.1-11) ...
nnFireWall is all done!n

	Henry Hollenberg     speed@barney.iamerica.net 



--
To UNSUBSCRIBE, email to debian-firewall-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: