mirror of
https://github.com/nmap/nmap.git
synced 2025-12-08 05:31:31 +00:00
Add openssl argument for specifying openssl location in ./configure line
This commit is contained in:
@@ -2,6 +2,9 @@
|
|||||||
# --define "static 1"
|
# --define "static 1"
|
||||||
# to the rpmbuild command line. To build without Ncat, add
|
# to the rpmbuild command line. To build without Ncat, add
|
||||||
# --define "buildncat 0"
|
# --define "buildncat 0"
|
||||||
|
#
|
||||||
|
# To specify openssl dir, add something like:
|
||||||
|
# --define "openssl /usr/local/ssl"
|
||||||
|
|
||||||
%define name nmap
|
%define name nmap
|
||||||
%define version @VERSION@
|
%define version @VERSION@
|
||||||
@@ -44,7 +47,7 @@ both console and graphical versions are available.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --with-openssl --without-zenmap --with-ndiff --with-libdnet=included --with-libpcap=included --with-libpcre=included --with-liblua=included
|
%configure --with-openssl=%{openssl} --without-zenmap --with-ndiff --with-libdnet=included --with-libpcap=included --with-libpcre=included --with-liblua=included
|
||||||
%if "%{buildncat}" == "0"
|
%if "%{buildncat}" == "0"
|
||||||
%configure --without-ncat
|
%configure --without-ncat
|
||||||
%endif
|
%endif
|
||||||
|
|||||||
Reference in New Issue
Block a user