[arch-commits] Commit in tomcat7/repos/extra-any (10 files)

Maxime Gauduin alucryd at archlinux.org
Tue Jul 21 09:59:30 UTC 2020


    Date: Tuesday, July 21, 2020 @ 09:59:29
  Author: alucryd
Revision: 392319

archrelease: copy trunk to extra-any

Added:
  tomcat7/repos/extra-any/PKGBUILD
    (from rev 392318, tomcat7/trunk/PKGBUILD)
  tomcat7/repos/extra-any/tomcat7.install
    (from rev 392318, tomcat7/trunk/tomcat7.install)
  tomcat7/repos/extra-any/tomcat7.service
    (from rev 392318, tomcat7/trunk/tomcat7.service)
  tomcat7/repos/extra-any/tomcat7.sysusers
    (from rev 392318, tomcat7/trunk/tomcat7.sysusers)
  tomcat7/repos/extra-any/tomcat7.tmpfiles
    (from rev 392318, tomcat7/trunk/tomcat7.tmpfiles)
Deleted:
  tomcat7/repos/extra-any/PKGBUILD
  tomcat7/repos/extra-any/tomcat7.install
  tomcat7/repos/extra-any/tomcat7.service
  tomcat7/repos/extra-any/tomcat7.sysusers
  tomcat7/repos/extra-any/tomcat7.tmpfiles

------------------+
 PKGBUILD         |  186 ++++++++++++++++++++++++++---------------------------
 tomcat7.install  |   32 ++++-----
 tomcat7.service  |   70 +++++++++----------
 tomcat7.sysusers |    2 
 tomcat7.tmpfiles |   10 +-
 5 files changed, 150 insertions(+), 150 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-21 09:59:21 UTC (rev 392318)
+++ PKGBUILD	2020-07-21 09:59:29 UTC (rev 392319)
@@ -1,93 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Guillaume Alaux <guillaume at archlinux.org>
-
-pkgname=tomcat7
-pkgver=7.0.104
-pkgrel=1
-pkgdesc='Open source implementation of the Java Servlet 3.0 and JavaServer Pages 2.2 technologies'
-arch=(any)
-url=https://tomcat.apache.org/
-license=(APACHE)
-depends=(
-  'java-runtime>=6'
-  java-jsvc
-  java-commons-daemon
-  eclipse-ecj
-)
-optdepends=('tomcat-native: to allow optimal performance in production environments')
-backup=(
-  etc/tomcat7/catalina.policy
-  etc/tomcat7/catalina.properties
-  etc/tomcat7/context.xml
-  etc/tomcat7/logging.properties
-  etc/tomcat7/server.xml
-  etc/tomcat7/tomcat-users.xml
-  etc/tomcat7/web.xml
-)
-install=tomcat7.install
-source=(
-  https://archive.apache.org/dist/tomcat/tomcat-7/v${pkgver}/bin/apache-tomcat-${pkgver}.tar.gz{,.asc}
-  tomcat7.service
-  tomcat7.sysusers
-  tomcat7.tmpfiles
-)
-validpgpkeys=(
-  DCFD35E0BF8CA7344752DE8B6FB21E8933C60243 # Mark E D Thomas
-  713DA88BE50911535FE716F5208B0AB1D63011C7 # Violeta Georgieva Georgieva
-)
-
-sha256sums=('0cbc72a05f62978e0b78ce4acf1bb7aa720bfbbabc8a11e11930d73285aea73e'
-            'SKIP'
-            '51f599e519095ec146f5eba1a0d471117070f5b3089715bc9e392d537deb38ce'
-            '4c0e12c45b406d2e8f0081de3d60dbf34c31f4da36296cedce6af5d6e03c8708'
-            'bc8ce84b3b2c938f55980cbe9bc1c2a5f371e23b34cf11c1b56d2c49836761d6')
-
-_gid_log=19
-_gid_tomcat=71
-_uid_tomcat=71
-
-package() {
-  cd apache-tomcat-${pkgver}
-
-  # Tomcat general files
-  install -dm 755 "${pkgdir}"/usr/share/{,java/}tomcat7
-  cp -dr --no-preserve=ownership bin "${pkgdir}"/usr/share/tomcat7
-  # commons-daemon and tomcat-natives are packaged on their own
-  rm "${pkgdir}"/usr/share/tomcat7/bin/{*.bat,commons-daemon*,tomcat-native.tar.gz}
-  ln -s /usr/share/java/commons-daemon.jar "${pkgdir}"/usr/share/tomcat7/bin/commons-daemon.jar
-
-  install -m 644 lib/* "${pkgdir}"/usr/share/java/tomcat7
-  # eclipse-ecj is packaged on its own
-  rm "${pkgdir}"/usr/share/java/tomcat7/ecj-*.jar
-  ln -s ../eclipse-ecj.jar "${pkgdir}"/usr/share/java/tomcat7/ecj.jar
-
-  ln -s /usr/share/java/tomcat7 "${pkgdir}"/usr/share/tomcat7/lib
-
-  # We log through systemd but this would still be required for stock Tomcat logging
-  install -dm 775 -o ${_uid_tomcat} -g ${_gid_log} "${pkgdir}"/var/log/tomcat7
-  ln -s /var/log/tomcat7 "${pkgdir}"/usr/share/tomcat7/logs
-  touch "${pkgdir}"/var/log/tomcat7/catalina.{out,err}
-  chgrp ${_gid_log} "${pkgdir}"/var/log/tomcat7/catalina.{out,err}
-
-  install -dm 775 "${pkgdir}"/etc/tomcat7
-  install -m 640 -g ${_gid_tomcat} conf/* "${pkgdir}"/etc/tomcat7
-  install -dm 775 -g ${_gid_tomcat} "${pkgdir}"/etc/tomcat7/Catalina
-  ln -s /etc/tomcat7 "${pkgdir}"/usr/share/tomcat7/conf
-
-  install -dm 775 "${pkgdir}"/var/lib/tomcat7
-  cp -r webapps "${pkgdir}"/var/lib/tomcat7
-  chown -R ${_uid_tomcat}:${_gid_tomcat} "${pkgdir}"/var/lib/tomcat7
-  chmod 775 "${pkgdir}"/var/lib/tomcat7/webapps
-  ln -s /var/lib/tomcat7/webapps "${pkgdir}"/usr/share/tomcat7/webapps
-
-  install -dm 1777 "${pkgdir}"/var/tmp
-  install -dm 775 -o ${_uid_tomcat} -g ${_gid_tomcat} "${pkgdir}"/var/tmp/tomcat7/{temp,work}
-  ln -s /var/tmp/tomcat7/temp "${pkgdir}"/usr/share/tomcat7/temp
-  ln -s /var/tmp/tomcat7/work "${pkgdir}"/usr/share/tomcat7/work
-
-  install -Dm 644 ../tomcat7.service "${pkgdir}"/usr/lib/systemd/system/tomcat7.service
-  install -Dm 644 ../tomcat7.sysusers "${pkgdir}"/usr/lib/sysusers.d/tomcat7.conf
-  install -Dm 644 ../tomcat7.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/tomcat7.conf
-}
-
-# vim: ts=2 sw=2 et:

Copied: tomcat7/repos/extra-any/PKGBUILD (from rev 392318, tomcat7/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-21 09:59:29 UTC (rev 392319)
@@ -0,0 +1,93 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Guillaume Alaux <guillaume at archlinux.org>
+
+pkgname=tomcat7
+pkgver=7.0.105
+pkgrel=1
+pkgdesc='Open source implementation of the Java Servlet 3.0 and JavaServer Pages 2.2 technologies'
+arch=(any)
+url=https://tomcat.apache.org/
+license=(APACHE)
+depends=(
+  'java-runtime>=6'
+  java-jsvc
+  java-commons-daemon
+  eclipse-ecj
+)
+optdepends=('tomcat-native: to allow optimal performance in production environments')
+backup=(
+  etc/tomcat7/catalina.policy
+  etc/tomcat7/catalina.properties
+  etc/tomcat7/context.xml
+  etc/tomcat7/logging.properties
+  etc/tomcat7/server.xml
+  etc/tomcat7/tomcat-users.xml
+  etc/tomcat7/web.xml
+)
+install=tomcat7.install
+source=(
+  https://archive.apache.org/dist/tomcat/tomcat-7/v${pkgver}/bin/apache-tomcat-${pkgver}.tar.gz{,.asc}
+  tomcat7.service
+  tomcat7.sysusers
+  tomcat7.tmpfiles
+)
+validpgpkeys=(
+  DCFD35E0BF8CA7344752DE8B6FB21E8933C60243 # Mark E D Thomas
+  713DA88BE50911535FE716F5208B0AB1D63011C7 # Violeta Georgieva Georgieva
+)
+
+sha256sums=('1a36882b5e25fff4f5d8c10e4029f29e43b1db96e0df03bdbed1fa913038392f'
+            'SKIP'
+            '51f599e519095ec146f5eba1a0d471117070f5b3089715bc9e392d537deb38ce'
+            '4c0e12c45b406d2e8f0081de3d60dbf34c31f4da36296cedce6af5d6e03c8708'
+            'bc8ce84b3b2c938f55980cbe9bc1c2a5f371e23b34cf11c1b56d2c49836761d6')
+
+_gid_log=19
+_gid_tomcat=71
+_uid_tomcat=71
+
+package() {
+  cd apache-tomcat-${pkgver}
+
+  # Tomcat general files
+  install -dm 755 "${pkgdir}"/usr/share/{,java/}tomcat7
+  cp -dr --no-preserve=ownership bin "${pkgdir}"/usr/share/tomcat7
+  # commons-daemon and tomcat-natives are packaged on their own
+  rm "${pkgdir}"/usr/share/tomcat7/bin/{*.bat,commons-daemon*,tomcat-native.tar.gz}
+  ln -s /usr/share/java/commons-daemon.jar "${pkgdir}"/usr/share/tomcat7/bin/commons-daemon.jar
+
+  install -m 644 lib/* "${pkgdir}"/usr/share/java/tomcat7
+  # eclipse-ecj is packaged on its own
+  rm "${pkgdir}"/usr/share/java/tomcat7/ecj-*.jar
+  ln -s ../eclipse-ecj.jar "${pkgdir}"/usr/share/java/tomcat7/ecj.jar
+
+  ln -s /usr/share/java/tomcat7 "${pkgdir}"/usr/share/tomcat7/lib
+
+  # We log through systemd but this would still be required for stock Tomcat logging
+  install -dm 775 -o ${_uid_tomcat} -g ${_gid_log} "${pkgdir}"/var/log/tomcat7
+  ln -s /var/log/tomcat7 "${pkgdir}"/usr/share/tomcat7/logs
+  touch "${pkgdir}"/var/log/tomcat7/catalina.{out,err}
+  chgrp ${_gid_log} "${pkgdir}"/var/log/tomcat7/catalina.{out,err}
+
+  install -dm 775 "${pkgdir}"/etc/tomcat7
+  install -m 640 -g ${_gid_tomcat} conf/* "${pkgdir}"/etc/tomcat7
+  install -dm 775 -g ${_gid_tomcat} "${pkgdir}"/etc/tomcat7/Catalina
+  ln -s /etc/tomcat7 "${pkgdir}"/usr/share/tomcat7/conf
+
+  install -dm 775 "${pkgdir}"/var/lib/tomcat7
+  cp -r webapps "${pkgdir}"/var/lib/tomcat7
+  chown -R ${_uid_tomcat}:${_gid_tomcat} "${pkgdir}"/var/lib/tomcat7
+  chmod 775 "${pkgdir}"/var/lib/tomcat7/webapps
+  ln -s /var/lib/tomcat7/webapps "${pkgdir}"/usr/share/tomcat7/webapps
+
+  install -dm 1777 "${pkgdir}"/var/tmp
+  install -dm 775 -o ${_uid_tomcat} -g ${_gid_tomcat} "${pkgdir}"/var/tmp/tomcat7/{temp,work}
+  ln -s /var/tmp/tomcat7/temp "${pkgdir}"/usr/share/tomcat7/temp
+  ln -s /var/tmp/tomcat7/work "${pkgdir}"/usr/share/tomcat7/work
+
+  install -Dm 644 ../tomcat7.service "${pkgdir}"/usr/lib/systemd/system/tomcat7.service
+  install -Dm 644 ../tomcat7.sysusers "${pkgdir}"/usr/lib/sysusers.d/tomcat7.conf
+  install -Dm 644 ../tomcat7.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/tomcat7.conf
+}
+
+# vim: ts=2 sw=2 et:

Deleted: tomcat7.install
===================================================================
--- tomcat7.install	2020-07-21 09:59:21 UTC (rev 392318)
+++ tomcat7.install	2020-07-21 09:59:29 UTC (rev 392319)
@@ -1,16 +0,0 @@
-post_install() {
-  if [ -f lib/modules/$(uname -r)/kernel/security/capability.ko ]; then
-    echo 'It appears that your current kernel has linux security'
-    echo 'capabilities built as a module. Tomcat requires this'
-    echo ' functionality to operate.'
-  fi
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  echo "Leftover files may reside in /var/{lib,tmp,log}/tomcat7"
-  echo "If you remove them, you may also want to remove user and group 'tomcat7'"
-}

Copied: tomcat7/repos/extra-any/tomcat7.install (from rev 392318, tomcat7/trunk/tomcat7.install)
===================================================================
--- tomcat7.install	                        (rev 0)
+++ tomcat7.install	2020-07-21 09:59:29 UTC (rev 392319)
@@ -0,0 +1,16 @@
+post_install() {
+  if [ -f lib/modules/$(uname -r)/kernel/security/capability.ko ]; then
+    echo 'It appears that your current kernel has linux security'
+    echo 'capabilities built as a module. Tomcat requires this'
+    echo ' functionality to operate.'
+  fi
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  echo "Leftover files may reside in /var/{lib,tmp,log}/tomcat7"
+  echo "If you remove them, you may also want to remove user and group 'tomcat7'"
+}

Deleted: tomcat7.service
===================================================================
--- tomcat7.service	2020-07-21 09:59:21 UTC (rev 392318)
+++ tomcat7.service	2020-07-21 09:59:29 UTC (rev 392319)
@@ -1,35 +0,0 @@
-[Unit]
-Description=Tomcat 7 servlet container
-After=network.target
-
-[Service]
-Type=forking
-PIDFile=/var/run/tomcat7.pid
-Environment=CATALINA_PID=/var/run/tomcat7.pid
-Environment=TOMCAT_JAVA_HOME=/usr/lib/jvm/default-runtime
-Environment=CATALINA_HOME=/usr/share/tomcat7
-Environment=CATALINA_BASE=/usr/share/tomcat7
-Environment=CATALINA_OPTS=
-Environment=ERRFILE=SYSLOG
-Environment=OUTFILE=SYSLOG
-
-ExecStart=/usr/bin/jsvc \
-            -Dcatalina.home=${CATALINA_HOME} \
-            -Dcatalina.base=${CATALINA_BASE} \
-            -Djava.io.tmpdir=/var/tmp/tomcat7/temp \
-            -cp /usr/share/java/commons-daemon.jar:/usr/share/java/eclipse-ecj.jar:${CATALINA_HOME}/bin/bootstrap.jar:${CATALINA_HOME}/bin/tomcat-juli.jar \
-            -user tomcat7 \
-            -java-home ${TOMCAT_JAVA_HOME} \
-            -pidfile /var/run/tomcat7.pid \
-            -errfile ${ERRFILE} \
-            -outfile ${OUTFILE} \
-            $CATALINA_OPTS \
-            org.apache.catalina.startup.Bootstrap
-
-ExecStop=/usr/bin/jsvc \
-            -pidfile /var/run/tomcat7.pid \
-            -stop \
-            org.apache.catalina.startup.Bootstrap
-
-[Install]
-WantedBy=multi-user.target

Copied: tomcat7/repos/extra-any/tomcat7.service (from rev 392318, tomcat7/trunk/tomcat7.service)
===================================================================
--- tomcat7.service	                        (rev 0)
+++ tomcat7.service	2020-07-21 09:59:29 UTC (rev 392319)
@@ -0,0 +1,35 @@
+[Unit]
+Description=Tomcat 7 servlet container
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/var/run/tomcat7.pid
+Environment=CATALINA_PID=/var/run/tomcat7.pid
+Environment=TOMCAT_JAVA_HOME=/usr/lib/jvm/default-runtime
+Environment=CATALINA_HOME=/usr/share/tomcat7
+Environment=CATALINA_BASE=/usr/share/tomcat7
+Environment=CATALINA_OPTS=
+Environment=ERRFILE=SYSLOG
+Environment=OUTFILE=SYSLOG
+
+ExecStart=/usr/bin/jsvc \
+            -Dcatalina.home=${CATALINA_HOME} \
+            -Dcatalina.base=${CATALINA_BASE} \
+            -Djava.io.tmpdir=/var/tmp/tomcat7/temp \
+            -cp /usr/share/java/commons-daemon.jar:/usr/share/java/eclipse-ecj.jar:${CATALINA_HOME}/bin/bootstrap.jar:${CATALINA_HOME}/bin/tomcat-juli.jar \
+            -user tomcat7 \
+            -java-home ${TOMCAT_JAVA_HOME} \
+            -pidfile /var/run/tomcat7.pid \
+            -errfile ${ERRFILE} \
+            -outfile ${OUTFILE} \
+            $CATALINA_OPTS \
+            org.apache.catalina.startup.Bootstrap
+
+ExecStop=/usr/bin/jsvc \
+            -pidfile /var/run/tomcat7.pid \
+            -stop \
+            org.apache.catalina.startup.Bootstrap
+
+[Install]
+WantedBy=multi-user.target

Deleted: tomcat7.sysusers
===================================================================
--- tomcat7.sysusers	2020-07-21 09:59:21 UTC (rev 392318)
+++ tomcat7.sysusers	2020-07-21 09:59:29 UTC (rev 392319)
@@ -1 +0,0 @@
-u tomcat7 71 "Tomcat 7 user" /usr/share/tomcat7

Copied: tomcat7/repos/extra-any/tomcat7.sysusers (from rev 392318, tomcat7/trunk/tomcat7.sysusers)
===================================================================
--- tomcat7.sysusers	                        (rev 0)
+++ tomcat7.sysusers	2020-07-21 09:59:29 UTC (rev 392319)
@@ -0,0 +1 @@
+u tomcat7 71 "Tomcat 7 user" /usr/share/tomcat7

Deleted: tomcat7.tmpfiles
===================================================================
--- tomcat7.tmpfiles	2020-07-21 09:59:21 UTC (rev 392318)
+++ tomcat7.tmpfiles	2020-07-21 09:59:29 UTC (rev 392319)
@@ -1,5 +0,0 @@
-d  /var/tmp/tomcat7/temp     0775  tomcat7  tomcat7
-d  /var/tmp/tomcat7/work     0775  tomcat7  tomcat7
-d  /var/lib/tomcat7          0775  tomcat7  tomcat7
-d  /var/lib/tomcat7/webapps  0775  tomcat7  tomcat7
-d  /var/log/tomcat7          0775  tomcat7  log

Copied: tomcat7/repos/extra-any/tomcat7.tmpfiles (from rev 392318, tomcat7/trunk/tomcat7.tmpfiles)
===================================================================
--- tomcat7.tmpfiles	                        (rev 0)
+++ tomcat7.tmpfiles	2020-07-21 09:59:29 UTC (rev 392319)
@@ -0,0 +1,5 @@
+d  /var/tmp/tomcat7/temp     0775  tomcat7  tomcat7
+d  /var/tmp/tomcat7/work     0775  tomcat7  tomcat7
+d  /var/lib/tomcat7          0775  tomcat7  tomcat7
+d  /var/lib/tomcat7/webapps  0775  tomcat7  tomcat7
+d  /var/log/tomcat7          0775  tomcat7  log


More information about the arch-commits mailing list