diff options
Diffstat (limited to 'net/dhcprelay/files')
-rw-r--r-- | net/dhcprelay/files/dhcprelay.in | 29 | ||||
-rw-r--r-- | net/dhcprelay/files/patch-Makefile | 15 | ||||
-rw-r--r-- | net/dhcprelay/files/patch-dhcprelay.c | 11 |
3 files changed, 0 insertions, 55 deletions
diff --git a/net/dhcprelay/files/dhcprelay.in b/net/dhcprelay/files/dhcprelay.in deleted file mode 100644 index 89fd3fd55659..000000000000 --- a/net/dhcprelay/files/dhcprelay.in +++ /dev/null @@ -1,29 +0,0 @@ -#! /bin/sh -# -# $FreeBSD$ -# -# PROVIDE: dhcprelay -# REQUIRE: DAEMON -# -# Add the following line to /etc/rc.conf to enable dhcrelay: -# -# dhcprelay_enable="YES" -# -# dhcprelay_server dhcprelay server(s) -# dhcprelay_ifaces ethernet interface(s) - -. /etc/rc.subr - -name=dhcprelay -rcvar=${name}_enable - -load_rc_config ${name} - -: ${dhcprelay_enable="NO"} -: ${dhcprelay_ifaces=""} - -pidfile=/var/run/${name}.pid -command=%%PREFIX%%/bin/${name} -command_args="${dhcprelay_ifaces} ${dhcprelay_server}" - -run_rc_command "$1" diff --git a/net/dhcprelay/files/patch-Makefile b/net/dhcprelay/files/patch-Makefile deleted file mode 100644 index 624a4b2196e7..000000000000 --- a/net/dhcprelay/files/patch-Makefile +++ /dev/null @@ -1,15 +0,0 @@ ---- Makefile.orig 2006-03-21 02:46:28 UTC -+++ Makefile -@@ -1,8 +1,10 @@ -+all: dhcprelay -+ - dhcprelay: dhcprelay.o -- gcc -g -o $@ -Wall -L/usr/local/lib -lpcap -ldnet $> -+ ${CC} ${LDFLAGS} -o $@ -Wall -L${LOCALBASE}/lib -lpcap -ldnet $> - - dhcprelay.o: dhcprelay.c -- gcc -g -c -o $@ -Wall -I/usr/local/include $< -+ ${CC} ${CFLAGS} -c -o $@ -Wall -I${LOCALBASE}/include $< - - clean: - rm -f dhcprelay.o dhcprelay dhcprelay.core diff --git a/net/dhcprelay/files/patch-dhcprelay.c b/net/dhcprelay/files/patch-dhcprelay.c deleted file mode 100644 index 73f7b6f5b479..000000000000 --- a/net/dhcprelay/files/patch-dhcprelay.c +++ /dev/null @@ -1,11 +0,0 @@ ---- dhcprelay.c.orig 2006-03-21 02:46:28 UTC -+++ dhcprelay.c -@@ -186,7 +186,7 @@ void pcap_callback(u_char *user, const s - printf(" %d",eh->ether_type); - } - // check for IPv4 packets -- if (eh->ether_type!=8) { -+ if (eh->ether_type != htons(0x800)) { - if (DEBUG>1) printf("\n"); - return; - } |