summaryrefslogtreecommitdiffstats
path: root/macosx/openssl.modules
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/openssl.modules')
-rw-r--r--macosx/openssl.modules81
1 files changed, 81 insertions, 0 deletions
diff --git a/macosx/openssl.modules b/macosx/openssl.modules
new file mode 100644
index 0000000..e558703
--- /dev/null
+++ b/macosx/openssl.modules
@@ -0,0 +1,81 @@
+<?xml version="1.0"?>
+<!DOCTYPE moduleset SYSTEM "moduleset.dtd" [
+<!ENTITY nmap_version "7.93SVN">
+<!ENTITY openssl_version "3.0.8">
+]>
+<?xml-stylesheet type="text/xsl" href="moduleset.xsl"?>
+<moduleset>
+
+ <!-- INCLUDE -->
+
+ <!-- <include href="https://git.gnome.org/browse/gtk-osx/plain/modulesets-stable/gtk-osx.modules"/> -->
+
+ <!-- REPOSITORIES -->
+
+ <repository type="tarball" name="openssl" href="http://www.openssl.org/source/"/>
+ <repository type="tarball" name="nmap-local" href="http://localhost:8000/"/>
+
+ <!-- MODULES -->
+
+<!-- no-asm added to support building OpenSSL 3.0 on HighSierra. When upgrading to newer build system, remove it. -->
+ <autotools id="openssl" autogen-sh="Configure" autogenargs="shared enable-ssl3 enable-ssl3-method enable-weak-ssl-ciphers"
+ autogen-template="%(srcdir)s/%(autogen-sh)s --prefix=%(prefix)s
+ --openssldir=%(prefix)s/etc/ssl %(autogenargs)s"
+ makeargs="depend all"
+ makeinstallargs="INSTALL_PREFIX='$(DESTDIR)' install_dev"
+ supports-parallel-builds="no"
+ supports-non-srcdir-builds="no">
+ <branch repo="openssl" version="&openssl_version;" module="openssl-&openssl_version;.tar.gz"/>
+ </autotools>
+
+ <autotools id="nmap" supports-non-srcdir-builds="no"
+ autogen-sh="configure" autogenargs="--with-libdnet=included --with-libpcap=included --with-libpcre=included --with-liblua=included
+--without-zenmap --without-ncat --without-ndiff --without-nping"
+ makeargs='OPENSSL_LIBS="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a" LIBSSL="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a" ZLIB_LIBS="${JHBUILD_LIBDIR}/libz.a" LIBZ="${JHBUILD_LIBDIR}/libz.a"'
+ makeinstallargs='install OPENSSL_LIBS="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a" ZLIB_LIBS="${JHBUILD_LIBDIR}/libz.a"'
+ makeclean="false"
+ >
+ <branch repo="nmap-local" module="nmap-&nmap_version;.tar.gz" version="&nmap_version;"/>
+ <dependencies>
+ <dep package="openssl" />
+ </dependencies>
+ </autotools>
+
+ <autotools id="ncat" supports-non-srcdir-builds="no"
+ autogen-sh="configure" autogenargs="--with-libdnet=included --with-libpcap=included --with-libpcre=included --with-liblua=included
+--without-zenmap --without-ndiff --without-nping"
+ makeargs='build-ncat OPENSSL_LIBS="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a"'
+ makeinstallargs='install-ncat OPENSSL_LIBS="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a"'
+ makeclean="false"
+ >
+ <branch repo="nmap-local" module="nmap-&nmap_version;.tar.gz" version="&nmap_version;"/>
+ <dependencies>
+ <dep package="openssl" />
+ </dependencies>
+ </autotools>
+
+ <autotools id="nping" supports-non-srcdir-builds="no"
+ autogen-sh="configure" autogenargs="--with-libdnet=included --with-libpcap=included --with-libpcre=included --with-liblua=included
+--without-zenmap --without-ncat --without-ndiff"
+ makeargs='build-nping OPENSSL_LIBS="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a"'
+ makeinstallargs='install-nping OPENSSL_LIBS="${JHBUILD_LIBDIR}/libssl.a ${JHBUILD_LIBDIR}/libcrypto.a"'
+ makeclean="false"
+ >
+ <branch repo="nmap-local" module="nmap-&nmap_version;.tar.gz" version="&nmap_version;"/>
+ <dependencies>
+ <dep package="openssl" />
+ </dependencies>
+ </autotools>
+
+ <!-- METAMODULE -->
+
+ <metamodule id="nmap-packages">
+ <dependencies>
+ <dep package="openssl" />
+ <dep package="nmap" />
+ <dep package="ncat" />
+ <dep package="nping" />
+ </dependencies>
+ </metamodule>
+
+</moduleset>