[arch-commits] Commit in tomcat-native/repos/extra-x86_64 (3 files)

Maxime Gauduin alucryd at archlinux.org
Sun Sep 20 13:15:30 UTC 2020


    Date: Sunday, September 20, 2020 @ 13:15:30
  Author: alucryd
Revision: 396344

archrelease: copy trunk to extra-x86_64

Added:
  tomcat-native/repos/extra-x86_64/PKGBUILD
    (from rev 396343, tomcat-native/trunk/PKGBUILD)
  tomcat-native/repos/extra-x86_64/tomcat-native-buildconf.patch
    (from rev 396343, tomcat-native/trunk/tomcat-native-buildconf.patch)
Deleted:
  tomcat-native/repos/extra-x86_64/PKGBUILD

-------------------------------+
 PKGBUILD                      |   97 ++++++++++++++++++++++++----------------
 tomcat-native-buildconf.patch |   12 ++++
 2 files changed, 71 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-20 13:15:24 UTC (rev 396343)
+++ PKGBUILD	2020-09-20 13:15:30 UTC (rev 396344)
@@ -1,38 +0,0 @@
-# Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Vitaliy Berdinskikh <ur6lad at i.ua>
-
-pkgname=tomcat-native
-pkgver=1.2.24
-pkgrel=1
-pkgdesc='Optional component for Tomcat to use certain native resources for performance, compatibility'
-arch=(x86_64)
-url=https://tomcat.apache.org/native-doc/
-license=(APACHE)
-depends=(apr)
-makedepends=(java-environment)
-options=(!emptydirs)
-source=(https://archive.apache.org/dist/tomcat/tomcat-connectors/native/${pkgver}/source/${pkgname}-${pkgver}-src.tar.gz{,.asc})
-validpgpkeys=(
-  A9C5DF4D22E99998D9875A5110C01C5A2F6059E7
-  B3F49CD3B9BD2996DA90F817ED3873F5D3262722
-)
-sha512sums=('5dae151a60f8bd5a9a29d63eca838c77174426025ee65a826f0698943494dd3656d50bcd417e220a926b9ce111ea167043d4b806264030e951873d06767b3d6f'
-            'SKIP')
-
-build() {
-  cd tomcat-native-${pkgver}-src/native
-
-  ./configure \
-    --prefix=/usr \
-    --with-java-home=/usr/lib/jvm/default \
-    --with-apr=/usr \
-    --with-ssl=/usr
-  make
-}
-
-package() {
-  make DESTDIR="${pkgdir}" -C tomcat-native-${pkgver}-src/native install
-}
-
-# vim: ts=2 sw=2 et:

Copied: tomcat-native/repos/extra-x86_64/PKGBUILD (from rev 396343, tomcat-native/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-20 13:15:30 UTC (rev 396344)
@@ -0,0 +1,59 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Guillaume Alaux <guillaume at archlinux.org>
+# Contributor: Vitaliy Berdinskikh <ur6lad at i.ua>
+
+pkgname=tomcat-native
+pkgver=1.2.25
+pkgrel=1
+pkgdesc='Optional component for Tomcat to use certain native resources for performance, compatibility'
+arch=(x86_64)
+url=https://tomcat.apache.org/native-doc/
+license=(APACHE)
+depends=(apr)
+makedepends=(
+  git
+  java-environment
+  python
+)
+options=(!emptydirs)
+_tag=a94590ec2a5e40b168a9494144125a52f41ed0b2
+source=(
+  git+https://github.com/apache/tomcat-native.git#tag=${_tag}
+  tomcat-native-buildconf.patch
+)
+b2sums=(
+  SKIP
+  d3603079626b908644331c193452088ef3ce89e92c775c60b232d16d04b8c49d40106d55c76f81c87daea93d335868140df0046c7102796d92b08431ac8749a4
+)
+
+pkgver() {
+  cd tomcat-native
+
+  git describe --tags
+}
+
+prepare() {
+  cd tomcat-native/native
+
+  patch -Np2 -i ../../tomcat-native-buildconf.patch
+  automake --add-missing --copy --force-missing || true
+  ./buildconf \
+    --with-apr=/usr/share/apr-1
+}
+
+build() {
+  cd tomcat-native/native
+
+  ./configure \
+    --prefix=/usr \
+    --with-apr=/usr/bin/apr-1-config \
+    --with-java-home=/usr/lib/jvm/default \
+    --with-ssl=/usr
+  make
+}
+
+package() {
+  make DESTDIR="${pkgdir}" -C tomcat-native/native install
+}
+
+# vim: ts=2 sw=2 et:

Copied: tomcat-native/repos/extra-x86_64/tomcat-native-buildconf.patch (from rev 396343, tomcat-native/trunk/tomcat-native-buildconf.patch)
===================================================================
--- tomcat-native-buildconf.patch	                        (rev 0)
+++ tomcat-native-buildconf.patch	2020-09-20 13:15:30 UTC (rev 396344)
@@ -0,0 +1,12 @@
+diff -rupN tomcat-native.orig/native/buildconf tomcat-native/native/buildconf
+--- tomcat-native.orig/native/buildconf	2020-09-20 14:44:45.114714616 +0200
++++ tomcat-native/native/buildconf	2020-09-20 14:44:58.368172703 +0200
+@@ -55,7 +55,7 @@ if [ ! -d "$apr_src_dir/build" ]; then
+ fi
+ 
+ # Remove some files, then copy them from apr source tree
+-for file in apr_common.m4 find_apr.m4 install.sh config.guess config.sub
++for file in apr_common.m4 find_apr.m4 install.sh
+ do
+   if [ ! -f "$apr_src_dir/build/$file" ]; then
+     echo "File '$apr_src_dir/build/$file' missing - wrong apr source directory?"


More information about the arch-commits mailing list