- pam.d is disabled

This commit is contained in:
Jiri Skala 2010-06-11 08:51:27 +00:00
parent 24df282d78
commit 10e21d5863

View File

@ -32,7 +32,7 @@
Summary: Routing daemon Summary: Routing daemon
Name: quagga Name: quagga
Version: 0.99.16 Version: 0.99.16
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv2+ License: GPLv2+
Group: System Environment/Daemons Group: System Environment/Daemons
Source0: http://www.quagga.net/download/%{name}-%{version}.tar.gz Source0: http://www.quagga.net/download/%{name}-%{version}.tar.gz
@ -50,12 +50,18 @@ Requires: net-snmp
BuildRequires: readline readline-devel ncurses ncurses-devel BuildRequires: readline readline-devel ncurses ncurses-devel
Requires: ncurses Requires: ncurses
%endif %endif
BuildRequires: texinfo tetex autoconf pam-devel patch libcap-devel texi2html BuildRequires: texinfo tetex autoconf patch libcap-devel texi2html
%if %with_pam
BuildRequires: pam-devel
Requires: pam
%endif
%define __perl_requires %{SOURCE1} %define __perl_requires %{SOURCE1}
# Initscripts > 5.60 is required for IPv6 support # Initscripts > 5.60 is required for IPv6 support
Requires: initscripts >= 5.60 Requires: initscripts >= 5.60
Requires: ncurses pam Requires: ncurses
Requires(post): /sbin/install-info Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info Requires(preun): /sbin/install-info
Provides: routingdaemon = %{version}-%{release} Provides: routingdaemon = %{version}-%{release}
@ -164,8 +170,11 @@ popd
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,logrotate.d,pam.d} \ install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,logrotate.d} \
$RPM_BUILD_ROOT/var/log/quagga $RPM_BUILD_ROOT%{_infodir} $RPM_BUILD_ROOT/var/log/quagga $RPM_BUILD_ROOT%{_infodir}
%if %with_pam
install -d $RPM_BUILD_ROOT/etc/$RPM_BUILD_ROOT/etc/pam.d
%endif
make install \ make install \
DESTDIR=$RPM_BUILD_ROOT DESTDIR=$RPM_BUILD_ROOT
@ -182,7 +191,9 @@ install %{zeb_rh_src}/ripngd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/ripngd
install %{zeb_rh_src}/ospfd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/ospfd install %{zeb_rh_src}/ospfd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/ospfd
install %{zeb_rh_src}/ripd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/ripd install %{zeb_rh_src}/ripd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/ripd
install -m644 %{zeb_rh_src}/quagga.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/quagga install -m644 %{zeb_rh_src}/quagga.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/quagga
%if %with_pam
install -m644 %{zeb_rh_src}/quagga.pam $RPM_BUILD_ROOT/etc/pam.d/quagga install -m644 %{zeb_rh_src}/quagga.pam $RPM_BUILD_ROOT/etc/pam.d/quagga
%endif
install -m644 %{zeb_rh_src}/quagga.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/quagga install -m644 %{zeb_rh_src}/quagga.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/quagga
install -d -m770 $RPM_BUILD_ROOT/var/run/quagga install -d -m770 $RPM_BUILD_ROOT/var/run/quagga
@ -324,7 +335,9 @@ rm -rf $RPM_BUILD_ROOT
# noreplace not used due to smaple conf files # noreplace not used due to smaple conf files
%config /etc/quagga/[!v]* %config /etc/quagga/[!v]*
%attr(755,root,root) /etc/rc.d/init.d/* %attr(755,root,root) /etc/rc.d/init.d/*
%if %with_pam
%config(noreplace) /etc/pam.d/quagga %config(noreplace) /etc/pam.d/quagga
%endif
%config(noreplace) %attr(640,root,root) /etc/logrotate.d/quagga %config(noreplace) %attr(640,root,root) /etc/logrotate.d/quagga
%config(noreplace) /etc/sysconfig/quagga %config(noreplace) /etc/sysconfig/quagga
@ -348,6 +361,9 @@ rm -rf $RPM_BUILD_ROOT
%endif %endif
%changelog %changelog
* Wed Jun 11 2010 Jiri Skala <jskala@redhat.com> - 0.99.16-2
- pam.d is disabled
* Wed Mar 17 2010 Jiri Skala <jskala@redhat.com> - 0.99.16-1 * Wed Mar 17 2010 Jiri Skala <jskala@redhat.com> - 0.99.16-1
- latest upstream version - latest upstream version
- merged initscript patches - merged initscript patches