]> git.pld-linux.org Git - packages/ppp.git/commitdiff
- added missing pppoed when builing _with_pppoe.
authorWojtek Kaniewski <wojtekka@pld-linux.org>
Thu, 8 Aug 2002 22:55:56 +0000 (22:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ppp.spec -> 1.91

ppp.spec

index c9cf6b895062a2e93dbf0553613f6a8e172710ef..7ebadfc14682e2e780c6fa4977d625b86c82d340 100644 (file)
--- a/ppp.spec
+++ b/ppp.spec
@@ -125,6 +125,8 @@ Wtyczka PPP-po-ATM.
        CC=%{__cc} \
        %{!?_without_cbcp:CBCP=1}
 
+%{?_with_pppoe:%{__make} OPT_FLAGS="%{rpmcflags}" CC=%{__cc} -C pppd/plugins/pppoe}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_bindir},%{_mandir}/man{1,8}} \
@@ -134,6 +136,8 @@ install -d $RPM_BUILD_ROOT{%{_sbindir},%{_bindir},%{_mandir}/man{1,8}} \
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+%{?_with_pppoe:install pppd/plugins/pppoe/pppoed $RPM_BUILD_ROOT%{_sbindir}}
+
 install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/pon
 install %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/poff
 install debian/plog $RPM_BUILD_ROOT%{_bindir}
@@ -164,6 +168,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_sbindir}/chat
 %attr(755,root,root) %{_sbindir}/pppstats
 %attr(755,root,root) %{_sbindir}/pppd
+%{?_with_pppoe:%attr(755,root,root) %{_sbindir}/pppoed}
 %if %{?_with_pppoatm:1}%{!?_with_pppoatm:0}%{?_with_pppoe:1}%{!?_with_pppoe:0}
 %dir %{_libdir}/pppd
 %dir %{_libdir}/pppd/%{version}
This page took 0.115394 seconds and 4 git commands to generate.