summaryrefslogtreecommitdiff
path: root/sysutils/fdgw/patches
diff options
context:
space:
mode:
authorwennmach <wennmach>2001-12-26 11:45:22 +0000
committerwennmach <wennmach>2001-12-26 11:45:22 +0000
commit5dd64a71b8e46d2d09b358c4b6174338560edcdd (patch)
tree40a9d5d2f7b603cd59bad83250684cd156f3d46a /sysutils/fdgw/patches
parent46ddc70131a5f4f06ab2f1da892dddf00633428d (diff)
downloadpkgsrc-5dd64a71b8e46d2d09b358c4b6174338560edcdd.tar.gz
fdgw is a toolkit to build a one-floppy NetBSD system (on i386 machines).
It provides two NetBSD floppy versions, an ADSL router, and a NAT system. Provided by Ken'ichi Fukamachi in PR 14171.
Diffstat (limited to 'sysutils/fdgw/patches')
-rw-r--r--sysutils/fdgw/patches/patch-aa33
-rw-r--r--sysutils/fdgw/patches/patch-ab15
-rw-r--r--sysutils/fdgw/patches/patch-ac15
3 files changed, 63 insertions, 0 deletions
diff --git a/sysutils/fdgw/patches/patch-aa b/sysutils/fdgw/patches/patch-aa
new file mode 100644
index 00000000000..42576465579
--- /dev/null
+++ b/sysutils/fdgw/patches/patch-aa
@@ -0,0 +1,33 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/12/26 11:45:22 wennmach Exp $
+
+Don't lndir to all of NetBSD src.
+
+--- src/Makefile.orig Sun Dec 23 18:23:56 2001
++++ src/Makefile Sun Dec 23 18:30:59 2001
+@@ -28,6 +28,9 @@
+ # dir to lndir
+ _BSDSRCDIR= ${PWD}/NetBSD
+
++# individual directories to link to
++_DIRS=etc bin/cat bin/cp bin/chmod bin/csh bin/date bin/df bin/echo bin/ed bin/expr bin/hostname bin/kill bin/ln bin/ls bin/mkdir bin/mv bin/ps bin/pwd bin/rm bin/sh bin/sleep bin/stty bin/sync bin/test dist/dhcp dist/ipf distrib/utils distrib/i386/floppies sbin/ifconfig sbin/init sbin/mount sbin/mount_ffs sbin/mount_kernfs sbin/mount_msdos sbin/umount sbin/ping sbin/route sbin/reboot sbin/shutdown usr.bin/basename usr.bin/id usr.bin/less usr.bin/logger usr.bin/sed usr.bin/tty usr.bin/uname usr.sbin/chown usr.sbin/chroot usr.sbin/dhcp usr.sbin/ipf usr.sbin/pppd usr.sbin/syslogd lib/libpcap sys/netinet sys/arch/i386/stand
++
+ _FLOPPY_DIR= ${_BSDSRCDIR}/distrib/${ARCH}/floppies
+
+ _SYS_DIR= ${BSDSRCDIR}/sys
+@@ -120,10 +123,12 @@
+
+ _lndir:
+ @ test -d ${_BSDSRCDIR} || mkdir -p ${_BSDSRCDIR}
+- @ echo lndir ${BSDSRCDIR} ${_BSDSRCDIR}
+- @ if [ ! -f ${_BSDSRCDIR}/.lndir_done ]; then \
+- lndir ${BSDSRCDIR} ${_BSDSRCDIR};\
+- fi
++ for DIR in ${_DIRS} ; do \
++ test -d ${_BSDSRCDIR}/$$DIR || mkdir -p ${_BSDSRCDIR}/$$DIR; \
++ lndir ${BSDSRCDIR}/$$DIR ${_BSDSRCDIR}/$$DIR; \
++ done
++ (cd ${_BSDSRCDIR}/distrib; ln -s -f ${BSDSRCDIR}/distrib/Makefile.inc)
++ (cd ${_BSDSRCDIR}; ln -s -f ${BSDSRCDIR}/Makefile.inc)
+ @ touch ${_BSDSRCDIR}/.lndir_done
+
+ _init_dir:
diff --git a/sysutils/fdgw/patches/patch-ab b/sysutils/fdgw/patches/patch-ab
new file mode 100644
index 00000000000..f414d0340d6
--- /dev/null
+++ b/sysutils/fdgw/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/12/26 11:45:22 wennmach Exp $
+
+Remove unused directory gnu/usr.bin from srcdirs.
+
+--- model/adslrouter/ramdiskbin.conf.orig Mon Dec 24 00:21:34 2001
++++ model/adslrouter/ramdiskbin.conf Mon Dec 24 00:21:47 2001
+@@ -11,7 +11,7 @@
+ # ramdiskbin.conf - unified binary for the install ramdisk
+ #
+
+-srcdirs bin sbin usr.bin/less usr.bin usr.sbin gnu/usr.bin
++srcdirs bin sbin usr.bin/less usr.bin usr.sbin
+ srcdirs sys/arch/__ARCH__/stand
+ srcdirs usr.sbin/ipf
+ srcdirs usr.sbin/pppd
diff --git a/sysutils/fdgw/patches/patch-ac b/sysutils/fdgw/patches/patch-ac
new file mode 100644
index 00000000000..fd7b999c3fe
--- /dev/null
+++ b/sysutils/fdgw/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 2001/12/26 11:45:22 wennmach Exp $
+
+Remove unused directory gnu/usr.bin from srcdirs.
+
+--- model/natbox/ramdiskbin.conf.orig Mon Dec 24 00:34:27 2001
++++ model/natbox/ramdiskbin.conf Mon Dec 24 00:35:01 2001
+@@ -11,7 +11,7 @@
+ # ramdiskbin.conf - unified binary for the install ramdisk
+ #
+
+-srcdirs bin sbin usr.bin/less usr.bin usr.sbin gnu/usr.bin
++srcdirs bin sbin usr.bin/less usr.bin usr.sbin
+ srcdirs sys/arch/__ARCH__/stand
+ srcdirs usr.sbin/ipf
+ srcdirs usr.sbin/pppd