summaryrefslogtreecommitdiffstats
path: root/net/wide-dhcp/pkg-req
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1996-05-04 02:43:35 +0000
committerasami <asami@FreeBSD.org>1996-05-04 02:43:35 +0000
commit4febc7583d14e8e82bd20f4e780ded3c02a1e273 (patch)
treed09457d035b9485bc22397735f941deeace043c7 /net/wide-dhcp/pkg-req
parent11deb96012e596528fcdc93a31c1cb4258b1d23d (diff)
downloadFreeBSD-ports-4febc7583d14e8e82bd20f4e780ded3c02a1e273.zip
FreeBSD-ports-4febc7583d14e8e82bd20f4e780ded3c02a1e273.tar.gz
Re-import wide-dhcp to a more suitable location. Also change the port
to one that works. Submitted by: Yoshiro MIHIRA <sanpei@yy.cs.keio.ac.jp>
Diffstat (limited to 'net/wide-dhcp/pkg-req')
-rw-r--r--net/wide-dhcp/pkg-req13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/wide-dhcp/pkg-req b/net/wide-dhcp/pkg-req
new file mode 100644
index 0000000..f4b0f74
--- /dev/null
+++ b/net/wide-dhcp/pkg-req
@@ -0,0 +1,13 @@
+#!/bin/sh
+if [ "$2" != "INSTALL" ]; then
+ exit 0
+fi
+if [ ! -c /dev/bpf1 ]; then \
+ echo "**********************************************************";\
+ echo "* W a r n i n g *";\
+ echo "* This DHCP program need Berkeley packet filter(bpf). *";\
+ echo "* To use DHCP, your kernel must be rebuilt with bpf, and *";\
+ echo "* make bpf devices on /dev directory. *";\
+ echo "* Please read some info file with \`pkg_info dhcp-1.3b'. *";\
+ echo "**********************************************************";\
+fi
OpenPOWER on IntegriCloud