Date: Wednesday, June 22, 2022 @ 12:50:16 Author: hashworks Revision: 1238945
archrelease: copy trunk to community-any Added: plantuml-server/repos/community-any/PKGBUILD (from rev 1238944, plantuml-server/trunk/PKGBUILD) plantuml-server/repos/community-any/plantuml-server.conf (from rev 1238944, plantuml-server/trunk/plantuml-server.conf) plantuml-server/repos/community-any/plantuml-server.run (from rev 1238944, plantuml-server/trunk/plantuml-server.run) plantuml-server/repos/community-any/plantuml-server.service (from rev 1238944, plantuml-server/trunk/plantuml-server.service) Deleted: plantuml-server/repos/community-any/PKGBUILD plantuml-server/repos/community-any/plantuml-server.conf plantuml-server/repos/community-any/plantuml-server.run plantuml-server/repos/community-any/plantuml-server.service -------------------------+ PKGBUILD | 80 +++++++++++++++++++++++----------------------- plantuml-server.conf | 10 ++--- plantuml-server.run | 6 +-- plantuml-server.service | 72 ++++++++++++++++++++--------------------- 4 files changed, 84 insertions(+), 84 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-06-22 12:50:12 UTC (rev 1238944) +++ PKGBUILD 2022-06-22 12:50:16 UTC (rev 1238945) @@ -1,40 +0,0 @@ -# Maintainer: Justin Kromlinger <hashwo...@archlinux.org> - -pkgname=plantuml-server -pkgver=1.2022.4 -pkgrel=1 -pkgdesc="PlantUML Online Server" -arch=(any) -url="https://plantuml.com/" -license=('GPL') -depends=("java-runtime>=11" "bash") -makedepends=("maven" "java-environment>=11") -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/plantuml/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz" - "${pkgname}.run" - "${pkgname}.conf" - "${pkgname}.service") -sha256sums=('919209adb4cd1191939b4f070562f017af684da19af9d9f33518065b4b2e186a' - '510711e73aa9bd2d42b4f1f2144fed90dfac011187bd540a9c4d01ee5588e052' - '96f26a243bf6d9945b4784d3ab73d861f6c4dc613157e51d1bcbcc55db0a2763' - '9eda0fc08f3b4703ba296a37743c52d37375986570fa19e9bb1ca1d18bbe2d97') -optdepends=('plantuml-ascii-math: AsciiMath or JLaTeXMath notation' - 'ditaa: ditaa notation' - 'graphviz: Graphviz/DOT notation') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - mvn package -} - -package() { - depends+=("java-runtime") - - install -m 755 -D "${pkgname}.run" "${pkgdir}/usr/bin/${pkgname}" - install -m 755 -D "${pkgname}.conf" "${pkgdir}/etc/conf.d/${pkgname}" - install -m 644 -D "${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service" - - cd "${srcdir}/${pkgname}-${pkgver}" - install -m 644 -D "COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" - install -m 644 -D "target/plantuml.war" "${pkgdir}/usr/share/java/${pkgname}/plantuml.war" - install -m 644 -D "target/dependency/jetty-runner.jar" "${pkgdir}/usr/share/java/${pkgname}/dependency/jetty-runner.jar" -} Copied: plantuml-server/repos/community-any/PKGBUILD (from rev 1238944, plantuml-server/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-06-22 12:50:16 UTC (rev 1238945) @@ -0,0 +1,40 @@ +# Maintainer: Justin Kromlinger <hashwo...@archlinux.org> + +pkgname=plantuml-server +pkgver=1.2022.6 +pkgrel=1 +pkgdesc="PlantUML Online Server" +arch=(any) +url="https://plantuml.com/" +license=('GPL') +depends=("java-runtime>=11" "bash") +makedepends=("maven" "java-environment>=11") +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/plantuml/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz" + "${pkgname}.run" + "${pkgname}.conf" + "${pkgname}.service") +sha256sums=('898809823db587e8ea575356952352088d2cbe7a32baddd93186b640e6515e9c' + '510711e73aa9bd2d42b4f1f2144fed90dfac011187bd540a9c4d01ee5588e052' + '96f26a243bf6d9945b4784d3ab73d861f6c4dc613157e51d1bcbcc55db0a2763' + '9eda0fc08f3b4703ba296a37743c52d37375986570fa19e9bb1ca1d18bbe2d97') +optdepends=('plantuml-ascii-math: AsciiMath or JLaTeXMath notation' + 'ditaa: ditaa notation' + 'graphviz: Graphviz/DOT notation') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + mvn package +} + +package() { + depends+=("java-runtime") + + install -m 755 -D "${pkgname}.run" "${pkgdir}/usr/bin/${pkgname}" + install -m 755 -D "${pkgname}.conf" "${pkgdir}/etc/conf.d/${pkgname}" + install -m 644 -D "${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service" + + cd "${srcdir}/${pkgname}-${pkgver}" + install -m 644 -D "COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" + install -m 644 -D "target/plantuml.war" "${pkgdir}/usr/share/java/${pkgname}/plantuml.war" + install -m 644 -D "target/dependency/jetty-runner.jar" "${pkgdir}/usr/share/java/${pkgname}/dependency/jetty-runner.jar" +} Deleted: plantuml-server.conf =================================================================== --- plantuml-server.conf 2022-06-22 12:50:12 UTC (rev 1238944) +++ plantuml-server.conf 2022-06-22 12:50:16 UTC (rev 1238945) @@ -1,5 +0,0 @@ -PLANTUML_LIMIT_SIZE=4096 -PLANTUML_STATS=off -PLANTUML_JETTY_OPTIONS="--port 9999" -HTTP_AUTHORIZATION=null -ALLOW_PLANTUML_INCLUDE=false \ No newline at end of file Copied: plantuml-server/repos/community-any/plantuml-server.conf (from rev 1238944, plantuml-server/trunk/plantuml-server.conf) =================================================================== --- plantuml-server.conf (rev 0) +++ plantuml-server.conf 2022-06-22 12:50:16 UTC (rev 1238945) @@ -0,0 +1,5 @@ +PLANTUML_LIMIT_SIZE=4096 +PLANTUML_STATS=off +PLANTUML_JETTY_OPTIONS="--port 9999" +HTTP_AUTHORIZATION=null +ALLOW_PLANTUML_INCLUDE=false \ No newline at end of file Deleted: plantuml-server.run =================================================================== --- plantuml-server.run 2022-06-22 12:50:12 UTC (rev 1238944) +++ plantuml-server.run 2022-06-22 12:50:16 UTC (rev 1238945) @@ -1,3 +0,0 @@ -#!/bin/sh -plantuml_server=/usr/share/java/plantuml-server -exec /usr/bin/java -jar "${plantuml_server}/dependency/jetty-runner.jar" $PLANTUML_JETTY_OPTIONS "${plantuml_server}/plantuml.war" "$@" Copied: plantuml-server/repos/community-any/plantuml-server.run (from rev 1238944, plantuml-server/trunk/plantuml-server.run) =================================================================== --- plantuml-server.run (rev 0) +++ plantuml-server.run 2022-06-22 12:50:16 UTC (rev 1238945) @@ -0,0 +1,3 @@ +#!/bin/sh +plantuml_server=/usr/share/java/plantuml-server +exec /usr/bin/java -jar "${plantuml_server}/dependency/jetty-runner.jar" $PLANTUML_JETTY_OPTIONS "${plantuml_server}/plantuml.war" "$@" Deleted: plantuml-server.service =================================================================== --- plantuml-server.service 2022-06-22 12:50:12 UTC (rev 1238944) +++ plantuml-server.service 2022-06-22 12:50:16 UTC (rev 1238945) @@ -1,36 +0,0 @@ -[Unit] -Description=PlantUML Online Server - -[Service] -User=nobody -EnvironmentFile=/etc/conf.d/plantuml-server -ExecStart=/usr/bin/plantuml-server -Restart=on-failure -RestartSec=5s -Type=simple -CapabilityBoundingSet= -AmbientCapabilities= -NoNewPrivileges=true -#SecureBits= -ProtectSystem=strict -ProtectHome=true -PrivateTmp=true -PrivateDevices=true -PrivateNetwork=false -PrivateUsers=true -ProtectHostname=true -ProtectClock=true -ProtectKernelTunables=true -ProtectKernelModules=true -ProtectKernelLogs=true -ProtectControlGroups=true -RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 -RestrictNamespaces=true -LockPersonality=true -RestrictRealtime=true -RestrictSUIDSGID=true -SystemCallFilter=@system-service -SystemCallArchitectures=native - -[Install] -WantedBy=multi-user.target \ No newline at end of file Copied: plantuml-server/repos/community-any/plantuml-server.service (from rev 1238944, plantuml-server/trunk/plantuml-server.service) =================================================================== --- plantuml-server.service (rev 0) +++ plantuml-server.service 2022-06-22 12:50:16 UTC (rev 1238945) @@ -0,0 +1,36 @@ +[Unit] +Description=PlantUML Online Server + +[Service] +User=nobody +EnvironmentFile=/etc/conf.d/plantuml-server +ExecStart=/usr/bin/plantuml-server +Restart=on-failure +RestartSec=5s +Type=simple +CapabilityBoundingSet= +AmbientCapabilities= +NoNewPrivileges=true +#SecureBits= +ProtectSystem=strict +ProtectHome=true +PrivateTmp=true +PrivateDevices=true +PrivateNetwork=false +PrivateUsers=true +ProtectHostname=true +ProtectClock=true +ProtectKernelTunables=true +ProtectKernelModules=true +ProtectKernelLogs=true +ProtectControlGroups=true +RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 +RestrictNamespaces=true +LockPersonality=true +RestrictRealtime=true +RestrictSUIDSGID=true +SystemCallFilter=@system-service +SystemCallArchitectures=native + +[Install] +WantedBy=multi-user.target \ No newline at end of file