[arch-commits] Commit in java-commons-lang/repos/community-any (4 files)

Jonas Witschel diabonas at archlinux.org
Thu Jul 16 15:34:08 UTC 2020


    Date: Thursday, July 16, 2020 @ 15:34:08
  Author: diabonas
Revision: 664124

archrelease: copy trunk to community-any

Added:
  java-commons-lang/repos/community-any/PKGBUILD
    (from rev 664123, java-commons-lang/trunk/PKGBUILD)
  java-commons-lang/repos/community-any/java-commons-lang-3.10_improve-reproducibility-of-generated-JARs.patch
    (from rev 664123, java-commons-lang/trunk/java-commons-lang-3.10_improve-reproducibility-of-generated-JARs.patch)
Deleted:
  java-commons-lang/repos/community-any/PKGBUILD
  java-commons-lang/repos/community-any/java-commons-lang-3.10_improve-reproducibility-of-generated-JARs.patch

------------------------------------------------------------------------+
 PKGBUILD                                                               |   78 ++++-----
 java-commons-lang-3.10_improve-reproducibility-of-generated-JARs.patch |   82 +++++-----
 2 files changed, 80 insertions(+), 80 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-16 15:34:00 UTC (rev 664123)
+++ PKGBUILD	2020-07-16 15:34:08 UTC (rev 664124)
@@ -1,39 +0,0 @@
-# Maintainer: Jonas Witschel <diabonas at archlinux.org>
-pkgname=java-commons-lang
-pkgver=3.10
-pkgrel=2
-pkgdesc='A host of helper utilities for the java.lang API'
-arch=('any')
-url='https://commons.apache.org/proper/commons-lang/'
-license=('APACHE')
-depends=('java-runtime-headless')
-makedepends=('maven')
-source=("https://www.apache.org/dist/commons/lang/source/commons-lang3-$pkgver-src.tar.gz"{,.asc}
-        'java-commons-lang-3.10_improve-reproducibility-of-generated-JARs.patch')
-sha512sums=('8c3e90e60bbb0b83c8e5e8d173d5a982d6f5bf3d2392e11cd17b153484a87c42f3003a7ae84ff3c34a11c16df61d7a4fb8e902b31e0e9c2cef2a17115c0c468b'
-            'SKIP'
-            'e07e11717ac80e2232a1e4161bd9bc76e7e0d5d6e8a616077fd03f06c3501010e7b5f8e67d24a69acca06df020e4a59bb2cf005163ae3ee0ab9f149cc8f1c796')
-validpgpkeys=('B6E73D84EA4FCC47166087253FAAD2CD5ECBB314'  # Rob Tompkins <chtompki at apache.org>
-              '2DB4F1EF0FA761ECC4EA935C86FDC7E2A11262CB') # Gary David Gregory (Code signing key) <ggregory at apache.org>
-
-prepare() {
-	cd "commons-lang3-$pkgver-src"
-	# Remove build-dependent manifest headers from JAR (https://github.com/apache/commons-lang/pull/578)
-	patch --strip=1 --binary --input="$srcdir/java-commons-lang-3.10_improve-reproducibility-of-generated-JARs.patch"
-}
-
-build() {
-	cd "commons-lang3-$pkgver-src"
-	mvn -Dproject.build.outputTimestamp="$SOURCE_DATE_EPOCH" -Dmaven.javadoc.skip=true -Dmaven.test.skip=true clean package
-}
-
-check() {
-	cd "commons-lang3-$pkgver-src"
-	mvn test
-}
-
-package() {
-	cd "commons-lang3-$pkgver-src"
-	install -Dm644 "target/commons-lang3-$pkgver.jar" -t "$pkgdir/usr/share/java/commons-lang"
-	ln -s "commons-lang3-$pkgver.jar" "$pkgdir/usr/share/java/commons-lang/commons-lang.jar"
-}

Copied: java-commons-lang/repos/community-any/PKGBUILD (from rev 664123, java-commons-lang/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-16 15:34:08 UTC (rev 664124)
@@ -0,0 +1,39 @@
+# Maintainer: Jonas Witschel <diabonas at archlinux.org>
+pkgname=java-commons-lang
+pkgver=3.11
+pkgrel=1
+pkgdesc='A host of helper utilities for the java.lang API'
+arch=('any')
+url='https://commons.apache.org/proper/commons-lang/'
+license=('APACHE')
+depends=('java-runtime-headless')
+makedepends=('maven')
+source=("https://www.apache.org/dist/commons/lang/source/commons-lang3-$pkgver-src.tar.gz"{,.asc}
+        'java-commons-lang-3.10_improve-reproducibility-of-generated-JARs.patch')
+sha512sums=('ebcb13e47c24e6984835d9d6904fe33077aa3ba781cd61db109fa7005517e4e74cf086c4789a1d65cf3d6c4924b32337c98827a75f91aab908d8e8b9d3b92087'
+            'SKIP'
+            'e07e11717ac80e2232a1e4161bd9bc76e7e0d5d6e8a616077fd03f06c3501010e7b5f8e67d24a69acca06df020e4a59bb2cf005163ae3ee0ab9f149cc8f1c796')
+validpgpkeys=('B6E73D84EA4FCC47166087253FAAD2CD5ECBB314'  # Rob Tompkins <chtompki at apache.org>
+              '2DB4F1EF0FA761ECC4EA935C86FDC7E2A11262CB') # Gary David Gregory (Code signing key) <ggregory at apache.org>
+
+prepare() {
+	cd "commons-lang3-$pkgver-src"
+	# Remove build-dependent manifest headers from JAR (https://github.com/apache/commons-lang/pull/578)
+	patch --strip=1 --input="$srcdir/java-commons-lang-3.10_improve-reproducibility-of-generated-JARs.patch"
+}
+
+build() {
+	cd "commons-lang3-$pkgver-src"
+	mvn -Dproject.build.outputTimestamp="$SOURCE_DATE_EPOCH" -Dmaven.javadoc.skip=true -Dmaven.test.skip=true clean package
+}
+
+check() {
+	cd "commons-lang3-$pkgver-src"
+	mvn test
+}
+
+package() {
+	cd "commons-lang3-$pkgver-src"
+	install -Dm644 "target/commons-lang3-$pkgver.jar" -t "$pkgdir/usr/share/java/commons-lang"
+	ln -s "commons-lang3-$pkgver.jar" "$pkgdir/usr/share/java/commons-lang/commons-lang.jar"
+}

Deleted: java-commons-lang-3.10_improve-reproducibility-of-generated-JARs.patch
===================================================================
--- java-commons-lang-3.10_improve-reproducibility-of-generated-JARs.patch	2020-07-16 15:34:00 UTC (rev 664123)
+++ java-commons-lang-3.10_improve-reproducibility-of-generated-JARs.patch	2020-07-16 15:34:08 UTC (rev 664124)
@@ -1,41 +0,0 @@
-From a23d83d6c5c88bd685ab3cbf171fde245484ae6d Mon Sep 17 00:00:00 2001
-From: Jonas Witschel <diabonas at archlinux.org>
-Date: Tue, 7 Jul 2020 15:54:25 +0200
-Subject: [PATCH] Improve reproducibility of generated JARs
-
-maven-bundle-plugin adds a couple of extra manifest headers like
-"Bnd-LastModified" recording information about the build. This makes it harder
-to reproduce the JAR bit by bit on a different machine. The documented way to
-remove these is the "-noextraheaders: true" instruction.
-
-Even after applying this instruction, the ordering of the "Include-Resource"
-header appears to be file system dependent. Remove this header as well to allow
-for reproducible builds.
----
- pom.xml | 10 ++++++++++
- 1 file changed, 10 insertions(+)
-
-diff --git a/pom.xml b/pom.xml
-index 99a6a791e..0e53e3a78 100644
---- a/pom.xml
-+++ b/pom.xml
-@@ -772,6 +772,16 @@
-           <excludeFilterFile>${basedir}/spotbugs-exclude-filter.xml</excludeFilterFile>
-         </configuration>
-       </plugin>
-+      <plugin>
-+        <groupId>org.apache.felix</groupId>
-+        <artifactId>maven-bundle-plugin</artifactId>
-+        <configuration>
-+          <instructions>
-+            <_noextraheaders>true</_noextraheaders>
-+            <_removeheaders>Include-Resource</_removeheaders>
-+          </instructions>
-+        </configuration>
-+      </plugin>
-     </plugins>
- 
-   </build>
--- 
-2.27.0
-

Copied: java-commons-lang/repos/community-any/java-commons-lang-3.10_improve-reproducibility-of-generated-JARs.patch (from rev 664123, java-commons-lang/trunk/java-commons-lang-3.10_improve-reproducibility-of-generated-JARs.patch)
===================================================================
--- java-commons-lang-3.10_improve-reproducibility-of-generated-JARs.patch	                        (rev 0)
+++ java-commons-lang-3.10_improve-reproducibility-of-generated-JARs.patch	2020-07-16 15:34:08 UTC (rev 664124)
@@ -0,0 +1,41 @@
+From a23d83d6c5c88bd685ab3cbf171fde245484ae6d Mon Sep 17 00:00:00 2001
+From: Jonas Witschel <diabonas at archlinux.org>
+Date: Tue, 7 Jul 2020 15:54:25 +0200
+Subject: [PATCH] Improve reproducibility of generated JARs
+
+maven-bundle-plugin adds a couple of extra manifest headers like
+"Bnd-LastModified" recording information about the build. This makes it harder
+to reproduce the JAR bit by bit on a different machine. The documented way to
+remove these is the "-noextraheaders: true" instruction.
+
+Even after applying this instruction, the ordering of the "Include-Resource"
+header appears to be file system dependent. Remove this header as well to allow
+for reproducible builds.
+---
+ pom.xml | 10 ++++++++++
+ 1 file changed, 10 insertions(+)
+
+diff --git a/pom.xml b/pom.xml
+index 99a6a791e..0e53e3a78 100644
+--- a/pom.xml
++++ b/pom.xml
+@@ -772,6 +772,16 @@
+           <excludeFilterFile>${basedir}/spotbugs-exclude-filter.xml</excludeFilterFile>
+         </configuration>
+       </plugin>
++      <plugin>
++        <groupId>org.apache.felix</groupId>
++        <artifactId>maven-bundle-plugin</artifactId>
++        <configuration>
++          <instructions>
++            <_noextraheaders>true</_noextraheaders>
++            <_removeheaders>Include-Resource</_removeheaders>
++          </instructions>
++        </configuration>
++      </plugin>
+     </plugins>
+ 
+   </build>
+-- 
+2.27.0
+



More information about the arch-commits mailing list