nessus-libraries-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. Name: nessus-libraries
  2. Version: 2.2.11
  3. Release: 3%{?_dist_release}
  4. Summary: Support libraries for nessus
  5. Group: System Environment/Libraries
  6. License: LGPLv2+
  7. URL: http://www.nessus.org
  8. #http://www.nessus.org/download/index.php
  9. Source0: nessus-libraries-2.2.11.tar.gz
  10. Patch0: nessus-libraries-config.patch
  11. Patch1: nessus-libraries-2.2.4.Makefile.patch
  12. Patch2: nessus-config-multi.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: bison
  15. BuildRequires: flex
  16. BuildRequires: libpcap-devel
  17. BuildRequires: openssl-devel
  18. %description
  19. Support libraries for nessus
  20. %package devel
  21. Summary: Development package for %{name}
  22. Group: Development/Libraries
  23. Requires: %{name} = %{version}-%{release}
  24. Requires: libpcap-devel
  25. Requires: openssl-devel
  26. %description devel
  27. The %{name}-devel package contains the files needed for development
  28. with %{name}.
  29. %prep
  30. %setup -q -n %{name}
  31. %patch0
  32. %patch1 -p1
  33. %patch2
  34. %build
  35. %configure --enable-chiper --disable-nessuspcap --enable-shared \
  36. --disable-static --with-pic
  37. make %{?_smp_mflags}
  38. %install
  39. rm -rf $RPM_BUILD_ROOT
  40. make install DESTDIR=$RPM_BUILD_ROOT
  41. # generate ghost service.* files
  42. mkdir -m 0755 -p %{buildroot}%{_localstatedir}/lib/nessus
  43. touch -r VERSION %{buildroot}%{_localstatedir}/lib/nessus/services.{tcp,udp,txt}
  44. touch -r VERSION %{buildroot}%{_bindir}/nessus-config
  45. rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
  46. %clean
  47. rm -rf $RPM_BUILD_ROOT
  48. %post -p /sbin/ldconfig
  49. %postun -p /sbin/ldconfig
  50. %files
  51. %defattr(-,root,root,-)
  52. %doc libnessus/COPYING
  53. %ghost %dir %{_localstatedir}/lib/nessus
  54. %ghost %verify(not md5 size mtime) %{_localstatedir}/lib/nessus/services.*
  55. %{_libdir}/libhosts_gatherer.so.*
  56. %{_libdir}/libnessus.so.*
  57. %exclude %{_sbindir}/uninstall-nessus
  58. %files devel
  59. %defattr(-,root,root,-)
  60. %{_libdir}/libhosts_gatherer.so
  61. %{_libdir}/libnessus.so
  62. %{_includedir}/nessus
  63. %{_mandir}/man1/nessus-config.*
  64. %{_bindir}/nessus-config
  65. %changelog
  66. * Sat Apr 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.2.11-3
  67. - Initial build for Vine
  68. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.11-2
  69. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  70. * Sun Nov 23 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  71. - 2.2.11-1
  72. - version upgrade
  73. * Mon Feb 11 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> - 2.2.10-3
  74. - Rebuilt for gcc43
  75. * Sat Dec 08 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  76. 2.2.10-2
  77. - fix multilib #342671
  78. * Wed Aug 22 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  79. 2.2.10-1
  80. - version upgrade
  81. - fix license tag
  82. * Tue Dec 19 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  83. 2.2.9-1
  84. - version upgrade
  85. * Wed Sep 13 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  86. 2.2.8-3
  87. - FE6 rebuild
  88. * Thu Jun 29 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  89. 2.2.8-2
  90. - fix requires
  91. * Sun Jun 18 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  92. 2.2.8-1
  93. - version upgrade
  94. * Wed May 17 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  95. 2.2.7-1
  96. - version upgrade
  97. * Fri Feb 24 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  98. 2.2.6-2
  99. - include patch for localstatedir
  100. - build pic only
  101. - ghost service files
  102. * Tue Feb 21 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  103. 2.2.6-1
  104. - Initial Revision