automatic version update by autodist [release 7.94-1mamba;Tue Dec 12 2023]
This commit is contained in:
parent
3580f9e5c9
commit
5403e97c6f
37
nmap.spec
37
nmap.spec
@ -2,7 +2,7 @@
|
|||||||
%define with_zenmap 1
|
%define with_zenmap 1
|
||||||
|
|
||||||
Name: nmap
|
Name: nmap
|
||||||
Version: 7.93
|
Version: 7.94
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Summary: Network exploration tool and security scanner
|
Summary: Network exploration tool and security scanner
|
||||||
@ -70,12 +70,20 @@ This package contains zenmap, a PyGTK frontend for Nmap.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
#-D -T
|
||||||
|
#:<< _EOF
|
||||||
|
%patch 0 -p1
|
||||||
cd nping
|
cd nping
|
||||||
autoconf
|
autoconf
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
# ensure to build using system deps
|
||||||
|
rm -rf liblua libpcap libpcre macosx mwin32 libssh2 libz
|
||||||
|
|
||||||
|
autoreconf -fi
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
#:<< _EOF
|
||||||
%configure \
|
%configure \
|
||||||
--enable-ipv6 \
|
--enable-ipv6 \
|
||||||
%if %with_systemlua
|
%if %with_systemlua
|
||||||
@ -86,7 +94,7 @@ cd ..
|
|||||||
%else
|
%else
|
||||||
--without-umit \
|
--without-umit \
|
||||||
%endif
|
%endif
|
||||||
PYTHON=%{__python27}
|
PYTHON=%{__python3}
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
@ -99,7 +107,7 @@ cd ..
|
|||||||
%if %with_zenmap
|
%if %with_zenmap
|
||||||
sed -i "s,%{buildroot},,g" %{buildroot}%{_bindir}/zenmap
|
sed -i "s,%{buildroot},,g" %{buildroot}%{_bindir}/zenmap
|
||||||
sed -i "s,%{buildroot},,g" %{buildroot}%{_bindir}/uninstall_zenmap
|
sed -i "s,%{buildroot},,g" %{buildroot}%{_bindir}/uninstall_zenmap
|
||||||
find %{buildroot}%{python_sitearch} -name \*.py -type f | \
|
find %{buildroot}%{python3_sitelib} -name \*.py -type f | \
|
||||||
while read f; do
|
while read f; do
|
||||||
sed -i "s,%{buildroot},,g" $f
|
sed -i "s,%{buildroot},,g" $f
|
||||||
done
|
done
|
||||||
@ -107,9 +115,9 @@ install -D -m644 %{S:1} \
|
|||||||
%{buildroot}%{_datadir}/applications/zenmap.desktop
|
%{buildroot}%{_datadir}/applications/zenmap.desktop
|
||||||
#install -D -m644 %{S:2} \
|
#install -D -m644 %{S:2} \
|
||||||
# %{buildroot}%{_datadir}/applications/zenmap-root.desktop
|
# %{buildroot}%{_datadir}/applications/zenmap-root.desktop
|
||||||
mv %{buildroot}%{_datadir}/zenmap/locale %{buildroot}%{_datadir}/
|
#mv %{buildroot}%{_datadir}/zenmap/locale %{buildroot}%{_datadir}/
|
||||||
|
|
||||||
%find_lang zenmap
|
#% find_lang zenmap --with-man
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
rm -f %{buildroot}%{_datadir}/applications/zenmap-root.desktop
|
rm -f %{buildroot}%{_datadir}/applications/zenmap-root.desktop
|
||||||
@ -134,7 +142,8 @@ rm -f %{buildroot}%{_datadir}/applications/zenmap-root.desktop
|
|||||||
#%doc CHANGELOG HACKING docs/README docs/*.txt
|
#%doc CHANGELOG HACKING docs/README docs/*.txt
|
||||||
|
|
||||||
%if %with_zenmap
|
%if %with_zenmap
|
||||||
%files -n zenmap -f zenmap.lang
|
%files -n zenmap
|
||||||
|
#-f zenmap.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/zenmap
|
%{_bindir}/zenmap
|
||||||
%{_bindir}/uninstall_zenmap
|
%{_bindir}/uninstall_zenmap
|
||||||
@ -155,15 +164,19 @@ rm -f %{buildroot}%{_datadir}/applications/zenmap-root.desktop
|
|||||||
%{_datadir}/zenmap/su-to-zenmap.sh
|
%{_datadir}/zenmap/su-to-zenmap.sh
|
||||||
%doc %{_datadir}/zenmap/docs
|
%doc %{_datadir}/zenmap/docs
|
||||||
%{_datadir}/zenmap/misc
|
%{_datadir}/zenmap/misc
|
||||||
%{python27_sitelib}/ndiff.py*
|
%{python3_sitelib}/ndiff.py*
|
||||||
%{python27_sitelib}/radialnet/*
|
%{python3_sitelib}/radialnet/*
|
||||||
%{python27_sitelib}/zenmapCore
|
%{python3_sitelib}/zenmapCore
|
||||||
%{python27_sitelib}/zenmapGUI
|
%{python3_sitelib}/zenmapGUI
|
||||||
%{python27_sitelib}/zenmap-%{version}-py%{python27_version}.egg-info
|
%{python3_sitelib}/zenmap-%{version}-py%{python3_version}.egg-info
|
||||||
|
%{python3_sitelib}/__pycache__/ndiff.cpython-*.pyc
|
||||||
%{_mandir}/man1/zenmap.*
|
%{_mandir}/man1/zenmap.*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 12 2023 Automatic Build System <autodist@mambasoft.it> 7.94-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Sun Sep 04 2022 Automatic Build System <autodist@mambasoft.it> 7.93-1mamba
|
* Sun Sep 04 2022 Automatic Build System <autodist@mambasoft.it> 7.93-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user