mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Update to version 1.2, which fixes problem with Cisco phones.
This commit is contained in:
parent
f7b0a9d377
commit
7c8f360e11
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=157830
5 changed files with 9 additions and 11 deletions
|
@ -6,12 +6,12 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= dhcprelay
|
PORTNAME= dhcprelay
|
||||||
PORTVERSION= 1.1
|
PORTVERSION= 1.2
|
||||||
CATEGORIES= net
|
CATEGORIES= net
|
||||||
MASTER_SITES= http://www.mavetju.org/download/
|
MASTER_SITES= http://www.mavetju.org/download/
|
||||||
|
|
||||||
MAINTAINER= edwin@mavetju.org
|
MAINTAINER= edwin@mavetju.org
|
||||||
COMMENT= Light weight DHCP Relay Agent with GIF tunnel support
|
COMMENT= Lightweight DHCP Relay Agent with GIF tunnel support
|
||||||
|
|
||||||
LIB_DEPENDS= dnet.1:${PORTSDIR}/net/libdnet
|
LIB_DEPENDS= dnet.1:${PORTSDIR}/net/libdnet
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
MD5 (dhcprelay-1.1.tar.gz) = 586019d11a59d9014ab9bd2670925422
|
MD5 (dhcprelay-1.2.tar.gz) = 876b29f47e733aa8ba393600a05ddac0
|
||||||
SHA256 (dhcprelay-1.1.tar.gz) = e24c303616f31e9baf8a4198fe2e75d780912e62276384ab63963941ac8e07a8
|
SHA256 (dhcprelay-1.2.tar.gz) = 031485e4e426de163dd377ee65ca0665441a821b72a635f8a6a52bdb88886d24
|
||||||
SIZE (dhcprelay-1.1.tar.gz) = 4870
|
SIZE (dhcprelay-1.2.tar.gz) = 4476
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
#
|
#
|
||||||
# $FreeBSD: /tmp/pcvs/ports/net/dhcprelay/files/Attic/dhcprelay.sh.in,v 1.2 2006-02-20 20:47:22 dougb Exp $
|
# $FreeBSD: /tmp/pcvs/ports/net/dhcprelay/files/Attic/dhcprelay.sh.in,v 1.3 2006-03-21 02:48:21 edwin Exp $
|
||||||
#
|
#
|
||||||
# PROVIDE: dhcprelay
|
# PROVIDE: dhcprelay
|
||||||
# REQUIRE: DAEMON
|
# REQUIRE: DAEMON
|
||||||
|
@ -17,7 +17,7 @@ dhcprelay_ifaces=${dhcprelay_ifaces:-} # ethernet interface(s)
|
||||||
|
|
||||||
dhcprelay_precmd ()
|
dhcprelay_precmd ()
|
||||||
{
|
{
|
||||||
rc_flags="${rc_flags} ${dhcprelay_ifaces} ${dhcprelay_servers}"
|
rc_flags="${rc_flags} ${dhcprelay_ifaces} ${dhcprelay_server}"
|
||||||
}
|
}
|
||||||
|
|
||||||
. %%RC_SUBR%%
|
. %%RC_SUBR%%
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
+
|
+
|
||||||
dhcprelay: dhcprelay.o
|
dhcprelay: dhcprelay.o
|
||||||
- gcc -g -o $@ -Wall -L/usr/local/lib -lpcap -ldnet $>
|
- gcc -g -o $@ -Wall -L/usr/local/lib -lpcap -ldnet $>
|
||||||
+ gcc -g -o $@ -Wall -L${LOCALBASE}/lib -lpcap -ldnet $>
|
+ ${CC} -g -o $@ -Wall -L${LOCALBASE}/lib -lpcap -ldnet $>
|
||||||
|
|
||||||
dhcprelay.o: dhcprelay.c
|
dhcprelay.o: dhcprelay.c
|
||||||
- gcc -g -c -o $@ -Wall -I/usr/local/include $<
|
- gcc -g -c -o $@ -Wall -I/usr/local/include $<
|
||||||
+ gcc -g -c -o $@ -Wall -I${LOCALBASE}/include $<
|
+ ${CC} -g -c -o $@ -Wall -I${LOCALBASE}/include $<
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f dhcprelay.o dhcprelay dhcprelay.core
|
rm -f dhcprelay.o dhcprelay dhcprelay.core
|
||||||
|
|
|
@ -23,7 +23,5 @@ Why not the ISC DHCP Relay Agent?
|
||||||
which VPN back to the central network), the answers are not picked
|
which VPN back to the central network), the answers are not picked
|
||||||
up by the RA.
|
up by the RA.
|
||||||
|
|
||||||
This RA does use a unicast socket for returning answers.
|
|
||||||
|
|
||||||
WWW: http://www.mavetju.org/networking/
|
WWW: http://www.mavetju.org/networking/
|
||||||
Author: Edwin Groothuis <edwin@mavetju.org>
|
Author: Edwin Groothuis <edwin@mavetju.org>
|
||||||
|
|
Loading…
Add table
Reference in a new issue