diff --git a/ppp.rpmlintrc b/ppp.rpmlintrc new file mode 100644 index 0000000..f55fbe5 --- /dev/null +++ b/ppp.rpmlintrc @@ -0,0 +1,2 @@ +addFilter("E: non-standard-dir-perm") +addFilter("E: non-readable") diff --git a/ppp.spec b/ppp.spec index fa057ce..dda37bc 100644 --- a/ppp.spec +++ b/ppp.spec @@ -1,4 +1,5 @@ %define _disable_ld_no_undefined %nil +%define _rundir /var/run Summary: The PPP daemon and documentation Name: ppp @@ -8,6 +9,7 @@ License: BSD-like Group: System/Servers Url: http://www.samba.org/ppp/ Source0: https://github.com/paulusmack/ppp/archive/%{version}.tar.gz +Source1000: %{name}.rpmlintrc Source1: ppp-pam.conf Source2: ppp-logrotate.conf Source3: ppp-tmpfiles.conf @@ -68,7 +70,7 @@ the PPP protocol. %{_sbindir}/chat %{_sbindir}/pppd %{_sbindir}/pppdump -%{_sbindir}/pppoe-discovery +#{_sbindir}/pppoe-discovery %{_sbindir}/pppstats %{_sbindir}/ppp-watch %dir %{_sysconfdir}/ppp @@ -81,12 +83,17 @@ the PPP protocol. %{_mandir}/man8/chat.8* %{_mandir}/man8/pppd.8* %{_mandir}/man8/pppdump.8* -%{_mandir}/man8/pppd-radattr.8* -%{_mandir}/man8/pppd-radius.8* +#{_mandir}/man8/pppd-radattr.8* +#{_mandir}/man8/pppd-radius.8* %{_mandir}/man8/pppstats.8* %{_mandir}/man8/pppoe-discovery.8* %{_mandir}/man8/ppp-watch.8* -%{_libdir}/pppd +%{_libdir}/pppd/%{version}/minconn.so +%{_libdir}/pppd/%{version}/openl2tp.so +%{_libdir}/pppd/%{version}/passprompt.so +%{_libdir}/pppd/%{version}/passwordfd.so +%{_libdir}/pppd/%{version}/pppol2tp.so +%{_libdir}/pppd/%{version}/winbind.so %ghost %dir %{_rundir}/ppp %ghost %dir %{_rundir}/lock/ppp %dir %{_sysconfdir}/logrotate.d @@ -145,6 +152,7 @@ PPP over ethernet plugin for %{name}. %files pppoe %doc README +%{_libdir}/pppd/%{version}/pppoe.so %{_libdir}/pppd/%{version}/rp-pppoe.so %{_sbindir}/pppoe-discovery