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