pptp-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. Summary: Point-to-Point Tunneling Protocol (PPTP) Client
  2. Summary(ja): Point-to-Point トンネリングプロトコル(PPTP)クライアント
  3. Name: pptp
  4. Version: 1.8.0
  5. Release: 1%{?_dist_release}
  6. Group: Applications/Internet
  7. License: GPLv2+
  8. URL: http://pptpclient.sourceforge.net/
  9. Source0: http://downloads.sf.net/pptpclient/pptp-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. Requires: ppp
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. %description
  15. Client for the proprietary Microsoft Point-to-Point Tunneling
  16. Protocol, PPTP. Allows connection to a PPTP based VPN as used
  17. by employers and some cable and ADSL service providers.
  18. %prep
  19. %setup -q
  20. %{__perl} -pi -e 's/install -o root -m 555 pptp/install -m 755 pptp/;' Makefile
  21. %build
  22. %{__make} %{?_smp_mflags} CFLAGS="-Wall %{optflags}" IP=/sbin/ip
  23. %install
  24. %{__rm} -rf %{buildroot}
  25. %{__make} DESTDIR=%{buildroot} install
  26. %{__install} -d -m 750 %{buildroot}%{_localstatedir}/run/pptp
  27. %clean
  28. %{__rm} -rf %{buildroot}
  29. %files
  30. %defattr(-,root,root,-)
  31. %doc AUTHORS COPYING DEVELOPERS NEWS README TODO USING
  32. %doc ChangeLog Documentation/DESIGN.PPTP PROTOCOL-SECURITY
  33. %{_sbindir}/pptp
  34. %{_sbindir}/pptpsetup
  35. %{_mandir}/man8/pptp.8*
  36. %{_mandir}/man8/pptpsetup.8*
  37. %dir %attr(750,root,root) %{_localstatedir}/run/pptp/
  38. # /etc/ppp is hardcoded instead of using %{_sysconfdir}/ppp because the
  39. # Fedora ppp package hardcodes the directory name
  40. %config(noreplace) /etc/ppp/options.pptp
  41. %changelog
  42. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  43. - new upstream release
  44. - remove old patches
  45. * Tue May 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.7.2-1
  46. - initial build for Vine Linux
  47. * Wed Mar 25 2009 Paul Howarth <paul@city-fan.org> 1.7.2-5
  48. - Retain permissions on /etc/ppp/chap-secrets when using pptpsetup (#492090)
  49. - Use upstream versions of patches
  50. - Re-enable parallel build; Makefile dependencies now fixed
  51. - Use perl rather than sed to edit Makefile, for spec compatibility with
  52. ancient distro releases
  53. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.2-4
  54. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  55. * Mon May 19 2008 Paul Howarth <paul@city-fan.org> 1.7.2-3
  56. - Add dependency on /sbin/ip
  57. - Disable parallel make - object files are missing dependency on config.h
  58. * Mon May 19 2008 Paul Howarth <paul@city-fan.org> 1.7.2-2
  59. - Use /sbin/ip, not /bin/ip for routing
  60. * Wed May 14 2008 Paul Howarth <paul@city-fan.org> 1.7.2-1
  61. - Update to 1.7.2
  62. - New script and manpage: pptpsetup
  63. - Add patch to remove reference to stropts.h, not shipped in F9 onwards
  64. * Wed Feb 13 2008 Paul Howarth <paul@city-fan.org> 1.7.1-4
  65. - Rebuild with gcc 4.3.0 for Fedora 9
  66. * Fri Aug 24 2007 Paul Howarth <paul@city-fan.org> 1.7.1-3
  67. - Change download URL from df.sf.net to downloads.sf.net
  68. - Expand tabs in spec
  69. - Clarify license as GPL version 2 or later
  70. * Wed Aug 30 2006 Paul Howarth <paul@city-fan.org> 1.7.1-2
  71. - FE6 mass rebuild
  72. * Mon Feb 13 2006 Paul Howarth <paul@city-fan.org> 1.7.1-1
  73. - new upstream version 1.7.1 (fixes #166394)
  74. - include new document PROTOCOL-SECURITY
  75. - cosmetic change: replace variables with macros
  76. * Wed Aug 10 2005 Paul Howarth <paul@city-fan.org> 1.7.0-2
  77. - own directory %%{_localstatedir}/run/pptp
  78. * Thu Jul 28 2005 Paul Howarth <paul@city-fan.org> 1.7.0-1
  79. - new upstream version 1.7.0
  80. - remove patch, included upstream
  81. - edit Makefile to prevent attempted chown in %%install
  82. - remove redundant %%attr tag in %%files
  83. - honour $RPM_OPT_FLAGS
  84. - ensure directories have correct permissions
  85. * Fri May 27 2005 Paul Howarth <paul@city-fan.org> 1.6.0-5
  86. - bump and rebuild
  87. * Tue May 17 2005 Paul Howarth <paul@city-fan.org> 1.6.0-4
  88. - rebuild with dist tags
  89. * Tue May 10 2005 Paul Howarth <paul@city-fan.org> 1.6.0-3
  90. - fix URL for SOURCE0 not to point to a specific sf.net mirror
  91. * Tue May 10 2005 Paul Howarth <paul@city-fan.org> 1.6.0-2
  92. - Weed out documentation useful only to developers
  93. - Add dist tag
  94. - Use full URL for SOURCE0
  95. - Fix permissions on %%{_sbindir}/pptp
  96. * Fri May 6 2005 Paul Howarth <paul@city-fan.org> 1.6.0-1
  97. - First build for Fedora Extras, based on upstream spec file