File pam_radius.spec of Package pam_radius

# spec file for package pam_radius (Version 1.3.16)
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           pam_radius
BuildRequires:  pam-devel
Summary:        A PAM Module for User Authentication using a Radius Server
Version:        1.3.16
Release:        216
Group:          Productivity/Security
Requires:       pam
License:        GPL v2 or later
Source:         pam_radius-%{version}.tar.bz2
Patch:          pam_radius-%{version}.diff
Patch1:         pam_radius-md5-ppc-fix.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

pam_radius is a PAM module which allows user authentication using a
radius server.

    Alan DeKok <>

%setup -n pam_radius-%{version}
%patch1 -p1


install -d -m 755 $RPM_BUILD_ROOT/%{_lib}/security/
install -m 755 $RPM_BUILD_ROOT/%{_lib}/security/
install -d -m 755 $RPM_BUILD_ROOT/etc/raddb/
install -m 600 pam_radius_auth.conf $RPM_BUILD_ROOT/etc/raddb/server

%config(noreplace) /etc/raddb/server
%dir /etc/raddb/
%doc Changelog
%doc TODO
%doc USAGE
%doc index.html

openSUSE Build Service is sponsored by