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

Jonas Witschel diabonas at archlinux.org
Tue Mar 2 08:45:05 UTC 2021


    Date: Tuesday, March 2, 2021 @ 08:45:05
  Author: diabonas
Revision: 877168

archrelease: copy trunk to community-any

Added:
  java-commons-lang/repos/community-any/PKGBUILD
    (from rev 877167, java-commons-lang/trunk/PKGBUILD)
  java-commons-lang/repos/community-any/java-commons-lang-3.10_improve-reproducibility-of-generated-JARs.patch
    (from rev 877167, 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	2021-03-02 08:44:57 UTC (rev 877167)
+++ PKGBUILD	2021-03-02 08:45:05 UTC (rev 877168)
@@ -1,39 +0,0 @@
-# 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"
-}

Copied: java-commons-lang/repos/community-any/PKGBUILD (from rev 877167, java-commons-lang/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-03-02 08:45:05 UTC (rev 877168)
@@ -0,0 +1,39 @@
+# Maintainer: Jonas Witschel <diabonas at archlinux.org>
+pkgname=java-commons-lang
+pkgver=3.12.0
+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=('80d1b960ae0b02859be329ea60d68cef33f3c7be7ec19752b3c9cfef442adef480878317ce2cfa309a27e662e2c72cab22023eaa3702e27970a1e5d55ca43f57'
+            '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	2021-03-02 08:44:57 UTC (rev 877167)
+++ java-commons-lang-3.10_improve-reproducibility-of-generated-JARs.patch	2021-03-02 08:45:05 UTC (rev 877168)
@@ -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 877167, 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	2021-03-02 08:45:05 UTC (rev 877168)
@@ -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