| Summary: | No plugins for VPN OpenL2TP, there are errors in ppp.spec file | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Alex Loginov <loginov_alex> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | thierry.vignaud |
| Version: | 2 | Keywords: | Junior_job, PATCH |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: | https://bugs.mageia.org/show_bug.cgi?id=5741 | ||
| Whiteboard: | |||
| Source RPM: | ppp | CVE: | |
| Status comment: | |||
|
Alex Loginov
2012-06-13 19:30:28 CEST
Summary:
No plugins for VPN OpenL2TP, there are errors in spec file =>
No plugins for VPN OpenL2TP, there are errors in ppp.spec file
Manuel Hiebel
2012-06-25 05:31:01 CEST
Keywords:
(none) =>
PATCH When will new version be? since there is no maintainer, I don't know ;) CC:
(none) =>
thierry.vignaud
Thierry Vignaud
2012-07-23 14:28:46 CEST
Keywords:
(none) =>
Junior_job It doesn't compile: cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -I. -I../.. -I../../../include -fPIC -c -o pppol2tp.o pppol2tp.c In file included from pppol2tp.c:49:0: /usr/include/linux/if_pppox.h:84:26: error: field 'pppol2tp' has incomplete type /usr/include/linux/if_pppox.h:99:28: error: field 'pppol2tp' has incomplete type (http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20120728150238.tv.valstar.26525/log/ppp-2.4.5-9.mga3/build.0.20120728150238.log) I fixed build in cauldron. Please test ppp-2.4.5-9.mga3 is the one you want to test OK Status:
NEW =>
RESOLVED Do you want us to backport this as an update for mageia 2? Yes. |
It's necessary to change spec file: 1) -perl -pi -e "s|^(LIBDIR.*)\\\$\(DESTDIR\)/lib|\1\\\$(INSTROOT)%{_libdir}|g" pppd/Makefile.linux pppd/plugins/Makefile.linux pppd/plugins/{pppoatm,radius,rp-pppoe}/Makefile.linux +perl -pi -e "s|^(LIBDIR.*)\\\$\(DESTDIR\)/lib|\1\\\$(INSTROOT)%{_libdir}|g" pppd/Makefile.linux pppd/plugins/Makefile.linux pppd/plugins/{pppoatm,radius,rp-pppoe,pppol2tp}/Makefile.linux 2) -%makeinstall INSTROOT=%{buildroot} SUBDIRS="pppoatm rp-pppoe radius" +%makeinstall INSTROOT=%{buildroot} SUBDIRS="pppoatm rp-pppoe radius pppol2tp"