From e9e2d1d3cab1352e0b2dbaafb31aaaff499e6079 Mon Sep 17 00:00:00 2001
From: darmac <xiaojun2@hisilicon.com>
Date: Mon, 20 Apr 2020 15:32:39 +0800
Subject: Httpd: added package at v2.4.43 (#16152)

---
 var/spack/repos/builtin/packages/httpd/package.py | 35 +++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 var/spack/repos/builtin/packages/httpd/package.py

diff --git a/var/spack/repos/builtin/packages/httpd/package.py b/var/spack/repos/builtin/packages/httpd/package.py
new file mode 100644
index 0000000000..ed212c34af
--- /dev/null
+++ b/var/spack/repos/builtin/packages/httpd/package.py
@@ -0,0 +1,35 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Httpd(AutotoolsPackage):
+    """The Apache HTTP Server is a powerful and flexible HTTP/1.1 compliant
+    web server."""
+
+    homepage = "http://httpd.apache.org/"
+    url      = "http://archive.apache.org/dist/httpd/httpd-2.4.43.tar.bz2"
+
+    version('2.4.43', sha256='a497652ab3fc81318cdc2a203090a999150d86461acff97c1065dc910fe10f43')
+    version('2.4.41', sha256='133d48298fe5315ae9366a0ec66282fa4040efa5d566174481077ade7d18ea40')
+    version('2.4.39', sha256='b4ca9d05773aa59b54d66cd8f4744b945289f084d3be17d7981d1783a5decfa2')
+    version('2.4.38', sha256='7dc65857a994c98370dc4334b260101a7a04be60e6e74a5c57a6dee1bc8f394a')
+
+    depends_on('m4',       type='build')
+    depends_on('autoconf', type='build')
+    depends_on('automake', type='build')
+    depends_on('libtool',  type='build')
+    depends_on('apr')
+    depends_on('apr-util')
+    depends_on('pcre')
+
+    def configure_args(self):
+        spec = self.spec
+        config_args = [
+            '--with-apr={0}'.format(spec['apr'].prefix),
+            '--with-apr-util={0}'.format(spec['apr-util'].prefix)
+        ]
+        return config_args
-- 
cgit v1.2.3-70-g09d2