gnu: Add java-eclipse-jetty-security.

* gnu/packages/web.scm (java-eclipse-jetty-security): New variable.
This commit is contained in:
Julien Lepiller 2017-10-14 22:51:00 +02:00
parent e36e2bee46
commit 8528e20dff
No known key found for this signature in database
GPG key ID: 43111F4520086A0C

View file

@ -5802,3 +5802,32 @@ (define-public java-eclipse-jetty-server-9.2
(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")
#t)))))
(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")))