From owner-freebsd-isdn Sat Feb 26 2:35:47 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from widukind.bi.teuto.net (widukind.bi.teuto.net [212.8.197.28]) by hub.freebsd.org (Postfix) with ESMTP id 48B5A37BBE5 for ; Sat, 26 Feb 2000 02:35:43 -0800 (PST) (envelope-from martin@rumolt.teuto.de) Received: from rumolt.teuto.de (IDENT:root@rumolt.teuto.de [212.8.203.81]) by widukind.bi.teuto.net (8.9.3/8.9.3) with ESMTP id LAA19582; Sat, 26 Feb 2000 11:35:28 +0100 Received: (from martin@localhost) by rumolt.teuto.de (8.9.3/8.8.8) id LAA05308; Sat, 26 Feb 2000 11:27:23 +0100 (MET) From: Martin Husemann Message-Id: <200002261027.LAA05308@rumolt.teuto.de> Subject: I4B does not install on NetBSD-current any more To: freebsd-isdn@FreeBSD.ORG, hm@kts.org (Hellmuth Michaelis) Date: Sat, 26 Feb 2000 11:27:23 +0100 (MET) Organization: Crusaders Catering Services Inc. ;-) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=ELM951560843-5298-0_ Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --ELM951560843-5298-0_ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Just in case someone is tracking NetBSD-current: a few days ago the sys/conf/files file changed, so the patch we are using to integrate I4B support there fails in NetBSD/install-netbsd.sh. Attached is a new version (but this version will not work for older -current's) Martin --ELM951560843-5298-0_ Content-Type: application/x-sh Content-Disposition: attachment; filename=install-netbsd.sh Content-Description: replaces $I4B/NetBSD/install-netbsd.sh Content-Transfer-Encoding: 7bit #!/bin/sh #--------------------------------------------------------------------------- # # i4b installation script # ----------------------- # # last edit-date: [Sun Jan 4 08:05:28 1998] # # -hm tired to do it again and again.... # -mh ported to NetBSD # #--------------------------------------------------------------------------- #--------------------------------------------------------------------------- # Carefully adjust the values below. Then run this script from the # i4b/NetBSD directory as root. Then you can build your i4b kernel. # If you will be using the Diehl driver, you must copy the file dnload.bin # from your Diehl driver disk to the directory $DST/dev/microcode/daic # and run "make" in that directory. # The directory where the i4b distribution lives SRC=`(cd ..; pwd)` # Where the copy of your /usr/src/sys source tree lives. This copy is # modified to support i4b. You probably should not use your native /usr/src/sys # here! This working copy must exist, before you run this script! DST=/usr/src/sys-i4b #--------------------------------------------------------------------------- # YOU SHOULD NOT NEED TO CHANGE ANYTHING BELOW... # # This works with the NetBSD 1.4 release. #--------------------------------------------------------------------------- ISDN=$DST/i4b if [ ! -d $ISDN ] then mkdir $ISDN fi ln -s $SRC/layer1 $ISDN/layer1 ln -s $SRC/layer2 $ISDN/layer2 ln -s $SRC/layer3 $ISDN/layer3 ln -s $SRC/layer4 $ISDN/layer4 ln -s $SRC/driver $ISDN/driver ln -s $SRC/sppp $ISDN/sppp ln -s $SRC/include $ISDN/include ln -s $SRC/NetBSD/files.i4b $ISDN ln -s $SRC/NetBSD/files.i4b.isa $ISDN ln -s $SRC/NetBSD/files.i4b.pci $ISDN ln -s $SRC/NetBSD/files.i4b.pcmcia $ISDN ( cd $ISDN && ln -s $SRC/machine/*.h . ) ( cd $DST/arch/amiga/dev && ln -s $SRC/layer1/isic_supio.c . ) ( cd $DST/dev/isa && ln -s $SRC/layer1/isa_isic.c . ) ( cd $DST/dev/isa && ln -s $SRC/diehl/isadaic.c . ) ( cd $DST/dev/ic && ln -s $SRC/diehl/daic*.[hc] . ) ( cd $DST/dev/isapnp && ln -s $SRC/layer1/isapnp_isic.c . ) ( cd $DST/dev/pcmcia && ln -s $SRC/layer1/pcmcia_isic.c . ) ( cd $DST/dev/pci && ln -s $SRC/layer1/pci_isic.c . ) ( cd $DST/dev/microcode && mkdir daic && cd daic && ln -s $SRC/diehl/microcode/* . && make ) # ---------------------------------------------------------------------------- # Machine independed config file changes... # ---------------------------------------------------------------------------- cd $DST/conf || exit 1 patch << 'END_OF_PATCH' *** files.orig Fri Feb 25 13:52:07 2000 --- files Sat Feb 26 11:21:56 2000 *************** *** 747,757 **** file net/radix.c file net/raw_cb.c file net/raw_usrreq.c file net/route.c file net/rtsock.c ! file net/slcompress.c sl | ppp | strip file net/zlib.c (ppp & ppp_deflate) | ipsec file netatalk/aarp.c netatalk file netatalk/at_control.c netatalk file netatalk/at_proto.c netatalk file netatalk/at_rmx.c netatalkdebug --- 747,757 ---- file net/radix.c file net/raw_cb.c file net/raw_usrreq.c file net/route.c file net/rtsock.c ! file net/slcompress.c sl | ppp | strip | i4bipr file net/zlib.c (ppp & ppp_deflate) | ipsec file netatalk/aarp.c netatalk file netatalk/at_control.c netatalk file netatalk/at_proto.c netatalk file netatalk/at_rmx.c netatalkdebug END_OF_PATCH # ---------------------------------------------------------------------------- # Machine (architecture) specific patches follow... # ---------------------------------------------------------------------------- ARCH=`machine` if [ -f $SRC/NetBSD/sys-patch.$ARCH ] then . $SRC/NetBSD/sys-patch.$ARCH else echo "Unfortunately for your architecture no sys/config patch support" echo "has been added to i4b. It is easy to do, have a look at the" echo "existing stuff, create one for $ARCH and mail it to" echo "Martin Husemann (martin@rumolt.teuto.de)" fi --ELM951560843-5298-0_-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message