Skip to content

Commit

Permalink
Make it possible to add custom radius dictionaries. Top Makefile.am n…
Browse files Browse the repository at this point in the history
…eeds more modifications to include the file in the tarball.

svn path=/trunk/; revision=47224
  • Loading branch information
AndersBroman committed Jan 23, 2013
1 parent 260cafb commit fceeb16
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ dtds_DATA = \
radiusdir = $(pkgdatadir)/radius
radius_DATA = \
radius/README.radius_dictionary \
radius/custom.includes \
radius/dictionary \
radius/dictionary.3com \
radius/dictionary.3gpp \
Expand Down
1 change: 1 addition & 0 deletions packaging/nsis/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ EXTRA_DIST = \
Custom.nmake \
custom_plugins.txt \
custom_mibs.txt \
custom_radius_dict.txt \
x64.nsh
3 changes: 3 additions & 0 deletions packaging/nsis/custom_radius_dict.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
;Add your custom radius dictionary here
; Example:
;File "..\..\radius\dictionary.foo"
2 changes: 2 additions & 0 deletions packaging/nsis/wireshark.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ SetOutPath $INSTDIR
;
SetOutPath $INSTDIR\radius
File "..\..\radius\README.radius_dictionary"
File "..\..\radius\custom.includes"
File "..\..\radius\dictionary"
File "..\..\radius\dictionary.3com"
File "..\..\radius\dictionary.3gpp"
Expand Down Expand Up @@ -588,6 +589,7 @@ File "..\..\radius\dictionary.wimax.wichorus"
File "..\..\radius\dictionary.wispr"
File "..\..\radius\dictionary.xedia"
File "..\..\radius\dictionary.zyxel"
!include "custom_radius_dict.txt"
SetOutPath $INSTDIR

;
Expand Down
4 changes: 4 additions & 0 deletions radius/custom.includes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#
# Version $Id$
# Add custom Radius files her in the format $INCLUDE dictionary.foo
#
1 change: 1 addition & 0 deletions radius/dictionary
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ $INCLUDE dictionary.wichorus
$INCLUDE dictionary.wimax
$INCLUDE dictionary.wispr
$INCLUDE dictionary.xedia
$INCLUDE custom.includes

#
# And finally the server internal attributes.
Expand Down

0 comments on commit fceeb16

Please sign in to comment.