nessus-libraries-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. Name: nessus-libraries
  2. Summary: Support libraries for nessus
  3. Version: 2.2.11
  4. Release: 4%{?_dist_release}
  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-ssl --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 2 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.2.11-4
  67. - rebuilt with new toolchain
  68. * Sat Apr 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.2.11-3
  69. - Initial build for Vine
  70. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.11-2
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  72. * Sun Nov 23 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  73. - 2.2.11-1
  74. - version upgrade
  75. * Mon Feb 11 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> - 2.2.10-3
  76. - Rebuilt for gcc43
  77. * Sat Dec 08 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  78. 2.2.10-2
  79. - fix multilib #342671
  80. * Wed Aug 22 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  81. 2.2.10-1
  82. - version upgrade
  83. - fix license tag
  84. * Tue Dec 19 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  85. 2.2.9-1
  86. - version upgrade
  87. * Wed Sep 13 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  88. 2.2.8-3
  89. - FE6 rebuild
  90. * Thu Jun 29 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  91. 2.2.8-2
  92. - fix requires
  93. * Sun Jun 18 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  94. 2.2.8-1
  95. - version upgrade
  96. * Wed May 17 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  97. 2.2.7-1
  98. - version upgrade
  99. * Fri Feb 24 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  100. 2.2.6-2
  101. - include patch for localstatedir
  102. - build pic only
  103. - ghost service files
  104. * Tue Feb 21 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  105. 2.2.6-1
  106. - Initial Revision