guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#28841] [PATCH 15/24] gnu: Add java-eclipse-jetty-security.


From: julien
Subject: [bug#28841] [PATCH 15/24] gnu: Add java-eclipse-jetty-security.
Date: Sun, 15 Oct 2017 00:23:40 +0200

From: Julien Lepiller <address@hidden>

* gnu/packages/java.scm (java-eclipse-jetty-security): New variable.
---
 gnu/packages/java.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index c39c306cb..2aa0b668a 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -6452,3 +6452,31 @@ artifact.")))
     (native-inputs
      `(("test-classes" ,java-eclipse-jetty-http-test-classes-9.2)
        ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
+
+(define-public java-eclipse-jetty-security
+  (package
+    (inherit java-eclipse-jetty-util)
+    (name "java-eclipse-jetty-security")
+    (arguments
+     `(#:jar-name "eclipse-jetty-security.jar"
+       #:source-dir "src/main/java"
+       #:jdk ,icedtea-8
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'configure 'chdir
+           (lambda _
+             (chdir "jetty-security"))))))
+    (inputs
+     `(("slf4j" ,java-slf4j-api)
+       ("servlet" ,java-tomcat)
+       ("http" ,java-eclipse-jetty-http)
+       ("server" ,java-eclipse-jetty-server)
+       ("util" ,java-eclipse-jetty-util)))
+    (native-inputs
+     `(("io" ,java-eclipse-jetty-io)
+       ,@(package-native-inputs java-eclipse-jetty-util)))
+    (synopsis "Jetty security infrastructure")
+    (description "The Jetty Web Server provides an HTTP server and Servlet
+container capable of serving static and dynamic content either from a 
standalone
+or embedded instantiation.  This package provides the core jetty security
+infrastructure")))
-- 
2.14.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]