aboutsummaryrefslogtreecommitdiff
path: root/net/dhcprelya
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2009-06-17 12:57:04 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2009-06-17 12:57:04 +0000
commit17de0228ad8c9296b1adf5d83436f720ad4a6890 (patch)
treec3173b9dff118d8523c8d01e70b81c9fda4a3db9 /net/dhcprelya
parent4ea8b240aafe141da969b82c8768a913da48278b (diff)
downloadports-17de0228ad8c9296b1adf5d83436f720ad4a6890.tar.gz
ports-17de0228ad8c9296b1adf5d83436f720ad4a6890.zip
Notes
Diffstat (limited to 'net/dhcprelya')
-rw-r--r--net/dhcprelya/Makefile15
-rw-r--r--net/dhcprelya/distinfo6
2 files changed, 16 insertions, 5 deletions
diff --git a/net/dhcprelya/Makefile b/net/dhcprelya/Makefile
index db866f973917..74b206a595e2 100644
--- a/net/dhcprelya/Makefile
+++ b/net/dhcprelya/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= dhcprelya
-PORTVERSION= 3.0
+PORTVERSION= 4.0
CATEGORIES= net
MASTER_SITES= http://people.yandex-team.ru/~sem/
@@ -17,7 +17,18 @@ USE_RC_SUBR= dhcprelya
PORTDOCS= README
-PLIST_FILES= sbin/${PORTNAME} lib/${PORTNAME}_log_plugin.so
+PLIST_FILES= sbin/${PORTNAME} lib/${PORTNAME}_log_plugin.so \
+ lib/${PORTNAME}_option82_plugin.so
+
+OPTIONS= RADIUS_PLUGIN "build radius plugin" off
+
+.include <bsd.port.options.mk>
+
+.if defined(WITH_RADIUS_PLUGIN)
+PLIST_FILES+= lib/${PORTNAME}_radius_plugin.so
+LIB_DEPENDS= freeradius-client.2:${PORTSDIR}/net/freeradius-client
+MAKE_ARGS= -DWITH_RADIUS_PLUGIN
+.endif
post-install:
.if !defined(NOPORTDOCS)
diff --git a/net/dhcprelya/distinfo b/net/dhcprelya/distinfo
index 98afc640a333..83382e25a0fc 100644
--- a/net/dhcprelya/distinfo
+++ b/net/dhcprelya/distinfo
@@ -1,3 +1,3 @@
-MD5 (dhcprelya-3.0.tar.gz) = fda00aa1ce178195e65ce8c51260b5e5
-SHA256 (dhcprelya-3.0.tar.gz) = e50f320ddc7ce8500aa942ac0e08109e650f8d3e6e0c96adaee0f45ee5e3aafd
-SIZE (dhcprelya-3.0.tar.gz) = 19926
+MD5 (dhcprelya-4.0.tar.gz) = 2750d91ce9772bc3304a409b3854403b
+SHA256 (dhcprelya-4.0.tar.gz) = 7426fb44e181fa51e35a79c4793455519fc55e9a86a00982a2b211effbbd7a97
+SIZE (dhcprelya-4.0.tar.gz) = 22730