1 FreeRADIUS for EAP under CygWin
2 ===============================
4 From: "Philip Blow" <philipb@simplywireless.com.au>
5 To: <freeradius-users@lists.cistron.nl>
6 Date: Wed, 29 Jan 2003 15:23:45 +1100
8 Here are some brief notes I but together for compiling FreeRADIUS 0.8.1
9 on Windows XP with EAP/TLS support.
11 Configuring FreeRADIUS for EAP under CygWin.
12 --------------------------------------------
16 Install the latest version of CygWin (at time of writing 1.3.19-1) from http://www.cygwin.com
18 #. Install the following packages (make as minimum list)
20 +--------------------+-----------------+
22 +====================+=================+
23 | _update-info-dir | 00126-1 |
24 +--------------------+-----------------+
26 +--------------------+-----------------+
28 +--------------------+-----------------+
29 | autoconf-devel | 2.57-1 |
30 +--------------------+-----------------+
31 | autoconf-stable | 2.13-4 |
32 +--------------------+-----------------+
33 | automake | 1.7.1-1 |
34 +--------------------+-----------------+
35 | automake-devel | 1.7.2-1 |
36 +--------------------+-----------------+
37 | automake-stable | 1.4p5-5 |
38 +--------------------+-----------------+
39 | base-files | 1.1-1 |
40 +--------------------+-----------------+
41 | base-passwd | 1.0-1 |
42 +--------------------+-----------------+
44 +--------------------+-----------------+
46 +--------------------+-----------------+
47 | binutils | 20021117-1 |
48 +--------------------+-----------------+
50 +--------------------+-----------------+
52 +--------------------+-----------------+
54 +--------------------+-----------------+
55 | cygrunsrv | 0.95-1 |
56 +--------------------+-----------------+
57 | cygutils | 1.1.3-1 |
58 +--------------------+-----------------+
60 +--------------------+-----------------+
61 | cygwin-doc | 1.3-2 |
62 +--------------------+-----------------+
64 +--------------------+-----------------+
65 | diffutils | 2.8.1-1 |
66 +--------------------+-----------------+
68 +--------------------+-----------------+
70 +--------------------+-----------------+
72 +--------------------+-----------------+
73 | findutils | 4.1.7-4 |
74 +--------------------+-----------------+
76 +--------------------+-----------------+
78 +--------------------+-----------------+
79 | gcc-mingw | 20020817-5 |
80 +--------------------+-----------------+
82 +--------------------+-----------------+
84 +--------------------+-----------------+
86 +--------------------+-----------------+
87 | gettext | 0.11.5-1 |
88 +--------------------+-----------------+
90 +--------------------+-----------------+
92 +--------------------+-----------------+
94 +--------------------+-----------------+
95 | inetutils | 1.3.2-20 |
96 +--------------------+-----------------+
97 | initscripts | 0.9-1 |
98 +--------------------+-----------------+
100 +--------------------+-----------------+
101 | libbz2_0 | 1.0.2-1 |
102 +--------------------+-----------------+
103 | libbz2_1 | 1.0.2-2 |
104 +--------------------+-----------------+
105 | libiconv2 | 1.8-2 |
106 +--------------------+-----------------+
107 | libintl | 0.10.38-3 |
108 +--------------------+-----------------+
109 | libintl1 | 0.10.40-1 |
110 +--------------------+-----------------+
111 | libintl2 | 0.11.5-1 |
112 +--------------------+-----------------+
113 | libltdl3 | 20030103-1 |
114 +--------------------+-----------------+
115 | libncurses5 | 5.2-1 |
116 +--------------------+-----------------+
117 | libncurses6 | 5.2-8 |
118 +--------------------+-----------------+
119 | libpng10 | 1.0.14-2 |
120 +--------------------+-----------------+
121 | libpng12 | 1.2.4-2 |
122 +--------------------+-----------------+
123 | libpopt0 | 1.6.4-4 |
124 +--------------------+-----------------+
125 | libreadline4 | 4.1-2 |
126 +--------------------+-----------------+
127 | libreadline5 | 4.3-2 |
128 +--------------------+-----------------+
129 | libtool | 20020202a-1 |
130 +--------------------+-----------------+
131 | libtool-devel | 20021227-1 |
132 +--------------------+-----------------+
133 | libtool-stable | 1.4.2-2 |
134 +--------------------+-----------------+
135 | libxml2 | 2.4.23-1 |
136 +--------------------+-----------------+
138 +--------------------+-----------------+
140 +--------------------+-----------------+
142 +--------------------+-----------------+
144 +--------------------+-----------------+
145 | mingw-runtime | 2.3-1 |
146 +--------------------+-----------------+
148 +--------------------+-----------------+
150 +--------------------+-----------------+
152 +--------------------+-----------------+
154 +--------------------+-----------------+
155 | newlib-man | 20020801 |
156 +--------------------+-----------------+
157 | openssh | 3.5p1-3 |
158 +--------------------+-----------------+
159 | openssl | 0.9.7-1 |
160 +--------------------+-----------------+
161 | openssl-devel | 0.9.7-1 |
162 +--------------------+-----------------+
163 | openssl096 | 0.9.6h-1 |
164 +--------------------+-----------------+
166 +--------------------+-----------------+
168 +--------------------+-----------------+
170 +--------------------+-----------------+
172 +--------------------+-----------------+
174 +--------------------+-----------------+
175 | sh-utils | 2.0.15-3 |
176 +--------------------+-----------------+
177 | sharutils | 4.2.1-2 |
178 +--------------------+-----------------+
179 | sysvinit | 2.84-3 |
180 +--------------------+-----------------+
182 +--------------------+-----------------+
183 | tcltk | 20021218-1 |
184 +--------------------+-----------------+
185 | termcap | 20020930-1 |
186 +--------------------+-----------------+
188 +--------------------+-----------------+
190 +--------------------+-----------------+
191 | textutils | 2.0.21-1 |
192 +--------------------+-----------------+
194 +--------------------+-----------------+
196 +--------------------+-----------------+
198 +--------------------+-----------------+
200 +--------------------+-----------------+
202 +--------------------+-----------------+
204 +--------------------+-----------------+
206 +--------------------+-----------------+
208 +--------------------+-----------------+
210 +--------------------+-----------------+
212 +--------------------+-----------------+
216 Download the FreeRADIUS source code from http://www.freeradius.org/
218 #. Expand the FreeRADIUS source file.
220 #. Make the following changes to the source code
221 (the diffs are reversed)
228 < $(LIBTOOL) --mode=install $(INSTALL) -m 755 $(INSTALLSTRIP)
229 radiusd.exe $(R)$(sbindir)
230 < $(INSTALL) -m 755 $(INSTALLSTRIP) radwho.exe
232 < $(INSTALL) -m 755 $(INSTALLSTRIP) raduse.exe
234 < $(INSTALL) -m 755 $(INSTALLSTRIP) radzap.exe
237 > $(LIBTOOL) --mode=install $(INSTALL) -m 755 $(INSTALLSTRIP)
238 radiusd $(R)$(sbindir)
239 > $(INSTALL) -m 755 $(INSTALLSTRIP) radwho
241 > $(INSTALL) -m 755 $(INSTALLSTRIP) raduse
243 > $(INSTALL) -m 755 $(INSTALLSTRIP) radzap
246 < $(INSTALL) -m 755 radclient.exe $(R)$(bindir)
247 < $(INSTALL) -m 755 radrelay.exe $(R)$(bindir)
249 > $(INSTALL) -m 755 radclient $(R)$(bindir)
250 > $(INSTALL) -m 755 radrelay $(R)$(bindir)
252 src/modules/rlm_dbm/Makefile.in
255 < $(INSTALL) -m 755 $(INSTALLSTRIP) rlm_dbm_parser.exe
257 < $(INSTALL) -m 755 $(INSTALLSTRIP) rlm_dbm_cat.exe
260 > $(INSTALL) -m 755 $(INSTALLSTRIP) rlm_dbm_parser $(R)$(bindir)
261 > $(INSTALL) -m 755 $(INSTALLSTRIP) rlm_dbm_cat $(R)$(bindir)
263 src/modules/rlm_mschap/Makefile
266 < $(INSTALL) -m 755 $(INSTALLSTRIP) smbencrypt.exe $(R)$(bindir)
268 > $(INSTALL) -m 755 $(INSTALLSTRIP) smbencrypt $(R)$(bindir)
270 #. Run configure with the following command line
274 ./configure -without-snmp -disable-shared -enable-static
276 #. Execute make and then make install
281 Senior Technical Manager
283 philipb@simplywireless.com.au