Commit Graph

183 Commits

Author SHA1 Message Date
John Dennis
fe6c73bf2d resolves: bug#850119 - Introduce new systemd-rpm macros (>= F18) 2012-12-14 19:13:47 -05:00
John Dennis
ee04dacd73 - add compile option -fno-strict-aliasing 2012-12-13 18:28:30 -05:00
John Dennis
4f7fa609b4 - specify homedir (/var/lib/radiusd) for radiusd user in useradd,
do not permit useradd to default the homedir.
2012-12-13 12:11:47 -05:00
John Dennis
9758ebeea8 - add security options to compiler/linker 2012-12-12 20:08:48 -05:00
John Dennis
7d799aba5f - fix build issue
- use upstream version of freeradius-exclude-config-file.patch
2012-12-10 18:27:28 -05:00
John Dennis
30eb81d451 resolves: bug#876564 - fails to start without freeradius-mysql 2012-12-10 16:00:01 -05:00
John Dennis
a042850900 Merge branch 'master' of ssh://pkgs.fedoraproject.org/freeradius
Conflicts:
	freeradius.spec
2012-10-03 15:23:48 -04:00
John Dennis
eee86a133e - Add new patch to avoid reading .rpmnew, .rpmsave and other invalid
files when loading config files
- Upgrade to new 2.2.0 upstream release
2012-10-03 15:19:41 -04:00
Dennis Gilmore
8765fdcc14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-18 22:15:33 -05:00
Petr Písař
cab08678e1 Perl 5.16 rebuild 2012-06-08 16:32:19 +02:00
John Dennis
f106651b97 resolves: bug#821407 - openssl dependency 2012-05-15 16:27:31 -04:00
John Dennis
03c55b0eab resolves: bug#810605 Segfault with freeradius-perl threading 2012-04-14 14:13:37 -04:00
John Dennis
75432c6005 Fixing bugs in RHEL6 rebase, applying fixes here as well
resolves: bug#700870 freeradius not compiled with --with-udpfromto
resolves: bug#753764 shadow password expiration does not work
resolves: bug#712803 radtest script is not working with eap-md5 option
resolves: bug#690756 errors in raddb/sql/postgresql/admin.sql template
2012-02-28 14:06:15 -05:00
John Dennis
2e5155583e resolves: bug#781877 (from RHEL5) rlm_dbm_parse man page misspelled
resolves: bug#760193 (from RHEL5) radtest PPPhint option is not parsed properly
2012-02-07 15:58:06 -05:00
John Dennis
05e34fe1d0 resolves: bug#781744
systemd service file incorrectly listed pid file as
/var/run/radiusd/radiusd which it should have been
/var/run/radiusd/radiusd.pid
2012-01-15 15:45:41 -05:00
Dennis Gilmore
70bf600900 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-12 20:43:44 -06:00
John Dennis
063c06395e - rename /etc/tmpfiles.d/freeradius.conf to /etc/tmpfiles.d/radiusd.conf
remove config(noreplace) because it must match files section and
  permissions differ between versions.
- fixup macro usage for /var/run & /var/lib
2011-10-31 18:59:12 -04:00
John Dennis
1bf8728923 Upgrade to latest upstream release, 2.1.12 2011-10-03 15:04:20 -04:00
Tom "spot" Callaway
b7cc6d96e8 restore defattr customization in the main package 2011-09-21 16:43:57 -04:00
Tom "spot" Callaway
ae46b032fd fix systemd scriptlets 2011-09-09 12:14:32 -04:00
Tom "spot" Callaway
a755be0e23 convert to systemd 2011-09-08 14:45:31 -04:00
Petr Sabata
89dc2a3d9c Perl mass rebuild 2011-07-21 18:35:17 +02:00
Petr Sabata
dee00d4b6e Perl mass rebuild 2011-07-20 11:47:53 +02:00
John Dennis
631dd12294 reload the server (i.e. HUP) after logrotate 2011-06-23 20:57:03 -04:00
John Dennis
41c10f6ada Upgrade to latest upstream release: 2.1.11 2011-06-22 12:32:18 -04:00
Marcela Mašláňová
de15959b09 Perl mass rebuild 2011-06-16 13:33:36 +02:00
John Dennis
f1e2286b0e Resolves: #689045 Using rlm_perl cause radiusd failed to start
Fix configure typo which caused lt_dladvise_* functions to be skipped.
run autogen.sh because HAVE_LT_DLADVISE_INIT isn't in src/main/autogen.h
Implemented by: freeradius-lt-dladvise.patch
2011-03-25 10:50:39 -04:00
John Dennis
efd9eca8b1 Resolves: #599528 - make radtest IPv6 compatible 2011-03-23 18:28:10 -04:00
Dan Horák
b7092d9f3e rebuilt for mysql 5.5.10 (soname bump in libmysqlclient) 2011-03-23 19:13:33 +01:00
Dennis Gilmore
7bec371ab4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 15:40:01 -06:00
John Dennis
c46a6ee6e1 Add LINK_MODE=-pie 2011-01-18 09:45:49 -05:00
John Dennis
2a7bcb1190 bug 666589 - removing freeradius from system does not delete the user "radiusd"
fix scriptlet argument testing, simplify always exiting with zero
2011-01-01 08:32:24 -05:00
John Dennis
06930f2692 rebuild for new MySQL libs 2010-12-30 09:52:32 -05:00
John Dennis
9090233167 Upgrade to latest upstream release (2.1.10). See Changelog. 2010-10-19 15:05:08 -04:00
Orcan Ogetbil
933e584931 * Sat Jul 31 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.1.9-3
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
2010-07-31 00:57:04 -04:00
Marcela Mašláňová
9f41d5cde2 - Mass rebuild with perl-5.12.0 2010-06-01 15:07:10 +00:00
John Dennis
794dc72aa5 - update to latest upstream, mainly bug fix release Feature improvements
Add radmin command "stats detail <file>" to see what is going on inside of
    a detail file reader.
Added documentation for CoA. See raddb/sites-available/coa
Add sub-option support for Option 82. See dictionary.dhcp
Add "server" field to default SQL NAS table, and documented it.
Bug fixes
Reset "received ping" counter for Status-Server checks. In some corner
    cases it was not getting reset.
Handle large VMPS attributes.
Count accounting responses from a home server in SNMP / statistics code.
Set EAP-Session-Resumed = Yes, not "No" when session is resumed.
radmin packet counter statistics are now unsigned, for numbers
2^31..2^32. After that they roll over to zero.
Be more careful about expanding data in PAP and MS-CHAP modules. This
    prevents login failures when passwords contain '{'.
Clean up zombie children if there were many "exec" modules being run for
    one packet, all with "wait = no".
re-open log file after HUP. Closes bug #63.
Fix "no response to proxied packet" complaint for Coa / Disconnect packets.
    It shouldn't ignore replies to packets it sent.
Calculate IPv6 netmasks correctly. Closes bug #69.
Fix SQL module to re-open sockets if they unexpectedly close.
Track scope for IPv6 addresses. This lets us use link-local addresses
    properly. Closes bug #70.
Updated Makefiles to no longer use the shell for recursing into subdirs.
    "make -j 2" should now work.
Updated raddb/sql/mysql/ippool.conf to use "= NULL". Closes bug #75.
Updated Makefiles so that "make reconfig" no longer uses the shell for
    recursing into subdirs, and re-builds all "configure" files.
Used above method to regenerate all configure scripts. Closes bug #34.
"". This means the same as it being NULL.
Fixed regex realm example. Create Realm attribute with value of realm from
    User-Name, not from regex. Closes bug #40.
If processing a DHCP Discover returns "fail / reject", ignore the packet
    rather than sending a NAK.
Allow '%' to be escaped in sqlcounter module.
Fix typo internal hash table.
For PEAP and TTLS, the tunneled reply is added to the reply, rather than
    integrated via the operators. This allows multiple VSAs to be added,
    where they would previously be discarded.
Make request number unsigned. This changes nothing other than the debug
    output when the server receives more than 2^31 packets.
Don't block when reading child output in 'exec wait'. This means that
    blocked children get killed, instead of blocking the server.
Enabled building without any proxy functionality
radclient now prefers IPv4, to match the default server config.
Print useful error when a realm regex is invalid
relaxed rules for preprocess module "with_cisco_vsa_hack". The attributes
    can now be integer, ipaddr, etc. (i.e. non-string)
Allow rlm_ldap to build if ldap_set_rebind_proc() has only
2 arguments.
Update configure script for rlm_python to avoid dynamic linking problems on
    some platforms.
Work-around for bug #35
Do suid to "user" when running in debug mode as root
Make "allow_core_dumps" work in more situations.
In detail file reader, treat bad records as EOF. This allows it to continue
    working when the disk is full.
Fix Oracle default accounting queries to work when there are no gigawords
    attributes. Other databases already had the fix.
Fix rlm_sql to show when it opens and closes sockets. It already says when
    it cannot connect, so it should say when it can connect.
"chmod -x" for a few C source files.
Pull update spec files, etc. from RedHat into the redhat/ directory.
Allow spaces when parsing integer values. This helps people who put "too
    much" into an SQL value field.
2010-05-24 14:53:15 +00:00
John Dennis
19b7b49d75 - resolves: bug #526559 initial install should run bootstrap to create
certificates running radiusd in debug mode to generate inital temporary
    certificates is no longer necessary, the /etc/raddb/certs/bootstrap is
    invoked on initial rpm install (not upgrade) if there is no existing
    /etc/raddb/certs/server.pem file
- resolves: bug #528493 use sha1 algorithm instead of md5 during cert
    generation the certificate configuration
    (/etc/raddb/certs/{ca,server,client}.cnf) files were modifed to use
    sha1 instead of md5 and the validity reduced from 1 year to 2 months
2010-01-08 17:55:23 +00:00
John Dennis
dd59821020 upgrade to latest upstream release (2.1.8) 2009-12-30 18:12:37 +00:00
John Dennis
227a51e855 Remove devel subpackage. It doesn't make much sense to have a devel package
since we don't ship libraries and it produces multilib conflicts.
2009-12-30 17:48:12 +00:00
John Dennis
dd81fe142e - since all sub-packages now require main package remove user creation for
sub-packages
- also include the LGPL library license file in addition to the GPL license
    file
- fix BuildRequires for perl so it's compatible with both Fedora, RHEL5 and
    RHEL6
2009-12-21 21:45:37 +00:00
John Dennis
89ceb490cc remove unnecessary use of ldconfig 2009-12-21 18:30:56 +00:00
John Dennis
1edb135030 - more spec file clean up from review comments
- remove freeradius-libs subpackage, move libfreeradius-eap and
    libfreeradius-radius into the main package
- fix subpackage requires, change from freeradius-libs to main package
- fix description of the devel subpackage, remove referene to non-shipped
    libs
- remove execute permissions on src files included in debuginfo
2009-12-21 18:14:56 +00:00
John Dennis
e6360f6da4 clean up as many rpmlint warnings & errors as possible 2009-12-19 20:10:12 +00:00
Štěpán Kasal
531fd1a01a - rebuild against perl 5.10.1 2009-12-06 23:09:08 +00:00
John Dennis
afeabfbd24 resolves: bug #522111 non-conformant initscript also change permission of
/var/run/radiusd from 0700 to 0755 so that "service radiusd status" can
    be run as non-root
2009-12-03 21:44:54 +00:00
Tomáš Mráz
a43716398c - use password-auth common PAM configuration instead of system-auth 2009-09-16 12:21:41 +00:00
John Dennis
5c1a950083 - enable building of the rlm_wimax module
- pcap wire analysis support is enabled and available in utils subpackage
- Resolves bug #523053 radtest manpage in wrong package
- update to latest upstream release: 2.1.7
2009-09-15 14:47:18 +00:00
Tomáš Mráz
9f82cb1fd6 - rebuilt with new openssl 2009-08-21 13:25:25 +00:00
Jesse Keating
4ec9fe294a - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-24 23:11:03 +00:00
John Dennis
e09d002ba2 install COPYRIGHT CREDITS INSTALL LICENSE README into docdir 2009-07-10 20:43:26 +00:00
John Dennis
2ae6b2655b resolves bug #507571 freeradius packages do not check for user/group
existence
2009-06-23 19:39:57 +00:00
John Dennis
06761b8eba /etc/raddb/sites-available changed to be config(noreplace) to preserve site
configuration for these files during an upgrade
2009-06-02 20:55:13 +00:00
John Dennis
0bf50eaf65 upgrade to latest upstream release fix a few packaging bugs, directories
were missing execute perm
2009-05-18 16:03:13 +00:00
John Dennis
68b0ca5e79 fix type usage in unixodbc to match new type usage in unixodbc API 2009-02-24 15:07:46 +00:00
John Dennis
6ace470cfb add pointer to Red Hat documentation in docdir decouple package name in
several places to allow building under another name
2009-02-19 22:56:00 +00:00
Caolan McNamara
1494a8c2e2 rebuild for dependencies 2009-01-24 17:05:53 +00:00
John Dennis
b3b4236a0d upgrade to latest upstream v2.1.3 2008-12-05 21:13:23 +00:00
John Dennis
f6c1bd9063 add --with-system-libtool to configure as a workaround for undefined
reference to lt__PROGRAM__LTX_preloaded_symbols bump revision number
2008-12-04 00:43:05 +00:00
John Dennis
78241dc605 add --with-system-libtool to configure as a workaround for undefined
reference to lt__PROGRAM__LTX_preloaded_symbols
2008-12-02 19:50:11 +00:00
John Dennis
4e15cd93f4 fix changelog ordering 2008-12-01 15:34:30 +00:00
John Dennis
235ae13ca1 add obsoletes tags for removed dialupadmin subpackages add buildrequires
for readline
2008-12-01 15:29:38 +00:00
Ignacio Vazquez-Abrams
3deead4d19 Rebuild for Python 2.6 2008-12-01 05:03:46 +00:00
John Dennis
05871a3e02 - make spec file buildable on RHEL5.2 by making perl-devel a fedora only
dependency.
- remove diaupadmin packages, it's not well supported and there are
    problems with it.
2008-11-21 18:49:58 +00:00
John Dennis
ee7e5da19f Resolves: bug #464119 bootstrap code could not create initial certs in
/etc/raddb/certs because permissions were 750, radiusd running as euid
    radiusd could not write there, permissions now 770
2008-09-26 14:12:45 +00:00
John Dennis
bf06152446 add change log entry 2008-09-25 19:49:10 +00:00
John Dennis
650b46573a upgrade to new upstream 2.1.1 release 2008-09-25 19:36:06 +00:00
John Dennis
c71c5f8476 Resolves: bug #453761: FreeRADIUS %%post should not include chown -R
specify file attributes for /etc/raddb/ldap.attrmap fix consistent use
    of tabs/spaces (rpmlint warning)
2008-07-30 14:38:14 +00:00
John Dennis
8b5c4b5e6c upgrade to latest upstream, see Changelog for details, upstream now has
more complete fix for bug #447545, local patch removed
2008-06-26 15:53:47 +00:00
John Dennis
efcd18febe - remove support for radrelay, it's different now
- turn off default inclusion of SQL config files in radiusd.conf since SQL
    is an optional RPM install
- remove mssql config files
2008-04-18 17:33:55 +00:00
John Dennis
f49343eff5 revert BuildRequires: /usr/bin/perlcc to original BuildRequires: perl-devel 2008-04-17 17:11:10 +00:00
John Dennis
67d3d2c459 - Upgrade to current upstream 2.0.3 release
- Many thanks to Enrico Scholz for his spec file suggestions incorporated
    here
- Resolve: bug #438665: Contains files owned by buildsystem
- Add dialupadmin-mysql, dialupadmin-postgresql, dialupadmin-ldap
    subpackages to further partition external dependencies.
- Clean up some unnecessary requires dependencies
- Add versioned requires between subpackages
- Replace BuildRequires of perl-devel with /usr/bin/perlcc to accomodate
    building on both Fedora and RHEL.
2008-04-17 16:29:01 +00:00
Tom Callaway
c16ca10196 add Requires for versioned perl (libperl.so) 2008-03-18 17:07:27 +00:00
John Dennis
41eda4e9f6 checkpoint dialupadmin subpackage work 2008-03-05 23:44:45 +00:00
John Dennis
32f3d4021d clean up dialupadmin requires rename init scripts add dialupadmin httpd
conf
2008-02-29 18:18:34 +00:00
John Dennis
eb87cfeab1 make our own versions of init scripts, pam.conf, logrotate so we can edit
them rather than copying from src tarball and patching
2008-02-29 04:16:24 +00:00
John Dennis
1312e014f2 add comment 2008-02-29 03:21:36 +00:00
John Dennis
0007482476 add comment 2008-02-29 01:14:08 +00:00
John Dennis
b281c60ec8 initial port of new 2.0 version, rpm builds but resulting binary not tested
yet.
2008-02-28 23:41:44 +00:00
John Dennis
e6850ee14d checkpoint 2008-02-28 00:11:17 +00:00
John Dennis
ccd23a423b checkpoint work on upgrading to new 2.0 release 2008-02-27 15:14:28 +00:00
Jesse Keating
e09e2f9362 - Autorebuild for GCC 4.3 2008-02-19 06:08:32 +00:00
Jesse Keating
57a4853c4c - Rebuild for deps 2007-12-06 16:23:31 +00:00
John Dennis
ca4745ed4d - add support in rlm_ldap for reading clients from ldap
- fix TLS parameter controling if a cert which fails to validate will be
    accepted (i.e. self-signed), rlm_ldap config parameter=tls_require_cert
    ldap LDAP_OPT_X_TLS_REQUIRE_CERT parameter was being passed to
    ldap_set_option() when it should have been ldap_int_tls_config()
2007-11-16 13:34:48 +00:00
John Dennis
05ae0f7aec add support in rlm_ldap for SASL/GSSAPI binds to the LDAP server 2007-11-10 05:13:58 +00:00
Thomas Woerner
ea5b30d372 - made init script fully lsb conform 2007-09-17 15:29:06 +00:00
Thomas Woerner
632cefe277 - fixed initscript problem (rhbz#292521) 2007-09-17 15:10:47 +00:00
Thomas Woerner
279eeee6af - bump release to 2 2007-08-28 14:19:19 +00:00
Thomas Woerner
e492c8c44b - fixed initscript for LSB (rhbz#243671, rhbz#243928)
- fixed license tag
2007-08-28 14:18:45 +00:00
Thomas Woerner
1b64b7d917 [tw]
- new versin 1.1.7
- install snmp MIB files
- dropped LDAP_DEPRECATED flag, it is upstream
- marked config files for sub packages as config (rhbz#240400)
- moved db files to /var/lib/raddb (rhbz#199082)
2007-08-07 16:18:24 +00:00
Thomas Woerner
24f5fed452 [tw]
- radiusd expects /etc/raddb to not be world readable or writable
    /etc/raddb now belongs to radiusd, post script sets permissions
2007-06-15 15:36:08 +00:00
Thomas Woerner
4fb033c6b3 [tw]
- new version 1.1.6
2007-06-15 08:23:01 +00:00
Thomas Woerner
64c6235e0c [tw] no /etc/raddb/otppasswd.sample anymore 2007-03-09 11:37:00 +00:00
Thomas Woerner
c39b9d3feb [tw]
- new version 1.1.5
- no /etc/raddb/otppasswd.sample anymore
- build is pie by default, dropped pie patch
- fixed build requirement for perl (perl-devel)
2007-03-09 11:35:53 +00:00
Karsten Hopp
a4c69ef587 - remove trailing dot from summary
- fix buildroot
- fix post/postun/preun requirements
- use rpm macros
2007-02-23 14:25:01 +00:00
Thomas Woerner
61d626b9a9 [tw]
- rebuild for new postgresql library version
2006-12-08 17:46:22 +00:00
Thomas Woerner
c2fab26635 [tw]
- forgot -DLDAP_DEPRECATED flag
2006-11-30 14:32:08 +00:00
Thomas Woerner
c7ab4f886b [tw]
- fixed ldap code to not use internals, added LDAP_DEPRECATED compile time
    flag (#210912)
2006-11-30 14:28:18 +00:00
Thomas Woerner
2601d91d12 [tw]
- new version 1.1.3 with lots of upstream bug fixes, some security fixes
    (#205654)
2006-09-08 12:36:59 +00:00
Thomas Woerner
60c0c76613 [tw]
- commented out include for sql.conf in radiusd.conf (#202561)
2006-08-15 10:06:52 +00:00