summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <darmac@163.com>2019-12-18 04:30:19 +0800
committerAdam J. Stewart <ajstewart426@gmail.com>2019-12-17 14:30:19 -0600
commit07f522bed6a285507aadd66df89b14022e1e2a04 (patch)
treebfa538991876dc11d9fbb87ad14378b88a34de4c
parent6a0d15a5c9148065fd6460306c5483d99177ff9b (diff)
downloadspack-07f522bed6a285507aadd66df89b14022e1e2a04.tar.gz
spack-07f522bed6a285507aadd66df89b14022e1e2a04.tar.bz2
spack-07f522bed6a285507aadd66df89b14022e1e2a04.tar.xz
spack-07f522bed6a285507aadd66df89b14022e1e2a04.zip
add new package : openresty (#14169)
* add new package : openresty * remove rc version
-rw-r--r--var/spack/repos/builtin/packages/openresty/package.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/openresty/package.py b/var/spack/repos/builtin/packages/openresty/package.py
new file mode 100644
index 0000000000..2548819d95
--- /dev/null
+++ b/var/spack/repos/builtin/packages/openresty/package.py
@@ -0,0 +1,27 @@
+# Copyright 2013-2019 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 Openresty(AutotoolsPackage):
+ """
+ OpenResty is a full-fledged web application server by bundling the
+ standard nginx core, lots of 3rd-party nginx modules, as well as
+ most of their external dependencies.
+ """
+
+ homepage = "https://github.com/openresty"
+ url = "https://github.com/openresty/openresty/releases/download/v1.15.8.2/openresty-1.15.8.2.tar.gz"
+
+ version('1.15.8.2', sha256='bf92af41d3ad22880047a8b283fc213d59c7c1b83f8dae82e50d14b64d73ac38')
+ version('1.15.8.1', sha256='89a1238ca177692d6903c0adbea5bdf2a0b82c383662a73c03ebf5ef9f570842')
+ version('1.13.6.2', sha256='946e1958273032db43833982e2cec0766154a9b5cb8e67868944113208ff2942')
+
+ depends_on('pcre', type='build')
+
+ def configure_args(self):
+ args = ['--without-http_rewrite_module']
+ return args