+++ /dev/null
-#%PAM-1.0
-#
-
-##### if running quagga as root:
-# Only allow root (and possibly wheel) to use this because enable access
-# is unrestricted.
-auth sufficient /lib/security/$ISA/pam_rootok.so
-
-# Uncomment the following line to implicitly trust users in the "wheel" group.
-#auth sufficient /lib/security/$ISA/pam_wheel.so trust use_uid
-# Uncomment the following line to require a user to be in the "wheel" group.
-#auth required /lib/security/$ISA/pam_wheel.so use_uid
-###########################################################
-
-# If using quagga privileges and with a seperate group for vty access, then
-# access can be controlled via the vty access group, and pam can simply
-# check for valid user/password, eg:
-#
-# only allow local users.
-#auth required /lib/security/$ISA/pam_securetty.so
-#auth required /lib/security/$ISA/pam_stack.so service=system-auth
-#auth required /lib/security/$ISA/pam_nologin.so
-#account required /lib/security/$ISA/pam_stack.so service=system-auth
-#password required /lib/security/$ISA/pam_stack.so service=system-auth
-#session required /lib/security/$ISA/pam_stack.so service=system-auth
-#session optional /lib/security/$ISA/pam_console.so
# Some can be overriden on rpmbuild commandline with:
# rpmbuild --define 'variable value'
#
+# E.g. rpmbuild --define 'release_rev 02' may be useful if building
+# rpms again and again on the same day, so the newer rpms can be installed.
+# bumping the number each time.
####################### Quagga configure options #########################
# with-feature options
%{!?with_tcp_zebra: %define with_tcp_zebra 0 }
%{!?with_vtysh: %define with_vtysh 1 }
%{!?with_pam: %define with_pam 1 }
-%{!?with_ipv6: %define with_ipv6 1 }
%{!?with_ospfclient: %define with_ospfclient 1 }
%{!?with_ospfapi: %define with_ospfapi 1 }
%{!?with_irdp: %define with_irdp 1 }
# FC4 and 5 split texi2html out of tetex package.
%define quagga_buildreqs %{expand:%{quagga_buildreqs}} texi2html
-# pam_stack was deprecated in FC5
-# default to pam_stack, default should be changed later.
-%if "%dist" == "fc4" || "%dist" == "fc3"
-%define quagga_pam_source quagga.pam.stack
-%else
-%define quagga_pam_source quagga.pam
-%endif
-
# man page probably needs groff for groff_ms macros
%define quagga_buildreqs %{expand:%{quagga_buildreqs}} groff
%{!?quagga_gid: %define quagga_gid 92 }
%define daemon_list zebra ripd ospfd bgpd
-%if %{with_ipv6}
%define daemonv6_list ripngd ospf6d
-%else
-%define daemonv6_list ""
-%endif
%if %{with_isisd}
%define daemon_other isisd
%if !%{with_shared}
--disable-shared \
%endif
-%if %{with_ipv6}
- --enable-ipv6 \
-%endif
%if %{with_snmp}
--enable-snmp \
%endif
$RPM_BUILD_ROOT/etc/rc.d/init.d/${daemon}
fi
done
-install -m644 %{zeb_rh_src}/%{quagga_pam_source} \
+install -m644 %{zeb_rh_src}/quagga.pam \
$RPM_BUILD_ROOT/etc/pam.d/quagga
install -m644 %{zeb_rh_src}/quagga.logrotate \
$RPM_BUILD_ROOT/etc/logrotate.d/quagga
zebra_spec_add_service zebrasrv 2600/tcp "zebra service"
zebra_spec_add_service zebra 2601/tcp "zebra vty"
zebra_spec_add_service ripd 2602/tcp "RIPd vty"
-%if %{with_ipv6}
zebra_spec_add_service ripngd 2603/tcp "RIPngd vty"
-%endif
zebra_spec_add_service ospfd 2604/tcp "OSPFd vty"
zebra_spec_add_service bgpd 2605/tcp "BGPd vty"
-%if %{with_ipv6}
zebra_spec_add_service ospf6d 2606/tcp "OSPF6d vty"
-%endif
%if %{with_ospfapi}
zebra_spec_add_service ospfapi 2607/tcp "OSPF-API"
%endif
%{_sbindir}/ripd
%{_sbindir}/bgpd
%{_sbindir}/watchquagga
-%if %{with_ipv6}
%{_sbindir}/ripngd
%{_sbindir}/ospf6d
+%if %{with_pimd}
+%{_sbindir}/pimd
%endif
%if %{with_isisd}
%{_sbindir}/isisd
%endif
%changelog
+* Fri Sep 4 2015 Paul Jakma <paul@jakma.org> - %{version}
+- package the pimd binary
+- remove with_ipv6 conditionals, always build v6
+- Fix UTF-8 char in spec changelog
+- remove quagga.pam.stack, long deprecated.
+
* Fri Sep 4 2015 Paul Jakma <paul@jakma.org> - %{version}
- buildreq updates
- add a default define for with_pimd
* Thu Aug 09 2001 Elliot Lee <sopwith@redhat.com> 0.91a-6
- Fix bug #51336
-* Wed Aug 1 2001 Trond Eivind Glomsrød <teg@redhat.com> 0.91a-5
+* Wed Aug 1 2001 Trond Eivind Glomsrød <teg@redhat.com> 0.91a-5
- Use generic initscript strings instead of initscript specific
( "Starting foo: " -> "Starting $prog:" )