Date: Friday, October 21, 2022 @ 17:34:16
Author: artafinde
Revision: 1333150
archrelease: copy trunk to community-x86_64
Added:
makedumpfile/repos/community-x86_64/0001-Makefile-Remove-version-from-usr-share-makedumpfile.patch
(from rev 1333149,
makedumpfile/trunk/0001-Makefile-Remove-version-from-usr-share-makedumpfile.patch)
makedumpfile/repos/community-x86_64/PKGBUILD
(from rev 1333149, makedumpfile/trunk/PKGBUILD)
makedumpfile/repos/community-x86_64/keys/
Deleted:
makedumpfile/repos/community-x86_64/PKGBUILD
----------------------------------------------------------------+
0001-Makefile-Remove-version-from-usr-share-makedumpfile.patch | 34 ++++
PKGBUILD | 81
+++++-----
2 files changed, 81 insertions(+), 34 deletions(-)
Copied:
makedumpfile/repos/community-x86_64/0001-Makefile-Remove-version-from-usr-share-makedumpfile.patch
(from rev 1333149,
makedumpfile/trunk/0001-Makefile-Remove-version-from-usr-share-makedumpfile.patch)
===================================================================
--- 0001-Makefile-Remove-version-from-usr-share-makedumpfile.patch
(rev 0)
+++ 0001-Makefile-Remove-version-from-usr-share-makedumpfile.patch
2022-10-21 17:34:16 UTC (rev 1333150)
@@ -0,0 +1,34 @@
+From 7d9bb3b5a1cf40782c3079a1d062a930655dc137 Mon Sep 17 00:00:00 2001
+From: Leonidas Spyropoulos <[email protected]>
+Date: Fri, 21 Oct 2022 11:15:19 +0100
+Subject: [PATCH] Makefile: Remove version from /usr/share/makedumpfile
+
+Version specific paths doesn't make sense at
+/usr/share/makedumpfile. This assumes you will have only one version
+installed which on a normal system it makes sense and devs can always
+specify different DESTDIR per versions.
+
+Fixes: #10
+
+Signed-off-by: Leonidas Spyropoulos <[email protected]>
+---
+ Makefile | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 548e5b7..f6ecbe2 100644
+--- a/Makefile
++++ b/Makefile
+@@ -130,6 +130,6 @@ install:
+ install -m 755 -t ${DESTDIR}/usr/sbin makedumpfile
$(VPATH)makedumpfile-R.pl
+ install -m 644 -t ${DESTDIR}/usr/share/man/man8 makedumpfile.8
+ install -m 644 -t ${DESTDIR}/usr/share/man/man5 makedumpfile.conf.5
+- mkdir -p ${DESTDIR}/usr/share/makedumpfile-${VERSION}/eppic_scripts
+- install -m 644 -D $(VPATH)makedumpfile.conf
${DESTDIR}/usr/share/makedumpfile-${VERSION}/makedumpfile.conf.sample
+- install -m 644 -t
${DESTDIR}/usr/share/makedumpfile-${VERSION}/eppic_scripts/
$(VPATH)eppic_scripts/*
++ mkdir -p ${DESTDIR}/usr/share/makedumpfile/eppic_scripts
++ install -m 644 -D $(VPATH)makedumpfile.conf
${DESTDIR}/usr/share/makedumpfile/makedumpfile.conf.sample
++ install -m 644 -t ${DESTDIR}/usr/share/makedumpfile/eppic_scripts/
$(VPATH)eppic_scripts/*
+--
+2.38.1
+
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-10-21 17:34:10 UTC (rev 1333149)
+++ PKGBUILD 2022-10-21 17:34:16 UTC (rev 1333150)
@@ -1,34 +0,0 @@
-# Maintainer: Leonidas Spyropoulos <artafinde at archlinux dot org>
-# Contributor: Maurizio D'Addona <[email protected]>
-# Contributor: Mathieu Pasquet <[email protected]>
-# Contributor: Bernhard Walle <[email protected]>
-# Contributor: Michael Eckert <[email protected]>
-# Contributor: Guilherme G. Piccoli <[email protected]>
-
-pkgname=makedumpfile
-pkgver=1.7.1
-pkgrel=1
-pkgdesc="A tool to generate smaller dumpfiles from kdump memory dumps"
-license=('GPL2')
-depends=('perl' 'libelf' 'zstd')
-options=('debug')
-arch=('i686' 'x86_64')
-url="https://github.com/makedumpfile/makedumpfile"
-source=("https://github.com/makedumpfile/makedumpfile/releases/download/${pkgver}/makedumpfile-${pkgver}.tar.gz")
-sha256sums=('cb04b1bd0e750d0d0ac1b43b759b326d4a3797b0af08e0c269d1b155893fb664')
-
-build() {
- cd "${pkgname}-${pkgver}"
- make -O \
- LINKTYPE=dynamic \
- USEZSTD=on \
- V=1
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- make install DESTDIR="${pkgdir}"
- mv "${pkgdir}/usr/sbin" "${pkgdir}/usr/bin"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: makedumpfile/repos/community-x86_64/PKGBUILD (from rev 1333149,
makedumpfile/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-10-21 17:34:16 UTC (rev 1333150)
@@ -0,0 +1,47 @@
+# Maintainer: Leonidas Spyropoulos <artafinde at archlinux dot org>
+# Contributor: Maurizio D'Addona <[email protected]>
+# Contributor: Mathieu Pasquet <[email protected]>
+# Contributor: Bernhard Walle <[email protected]>
+# Contributor: Michael Eckert <[email protected]>
+# Contributor: Guilherme G. Piccoli <[email protected]>
+
+pkgname=makedumpfile
+pkgver=1.7.2
+pkgrel=1
+pkgdesc="A tool to generate smaller dumpfiles from kdump memory dumps"
+license=('GPL2')
+depends=('perl' 'libelf' 'zstd')
+makedepends=('git')
+options=('debug')
+arch=('i686' 'x86_64')
+url="https://github.com/makedumpfile/makedumpfile"
+source=("git+$url.git?signed#tag=${pkgver}"
+ 0001-Makefile-Remove-version-from-usr-share-makedumpfile.patch
+)
+sha256sums=('SKIP'
+ '6997bcfbe487ea63122e4b8818193528f2b7140549189577a624534c6815a5eb')
+validpgpkeys=(
+ 'F4BA97F873AB047F217F8D16B0E0CE20E95D17F5' # Kazuhito Hagio
<[email protected]>
+ '60C5A596A37CDE6C357C5C623136D252B5E85FA9' # Kazuhito Hagio
<[email protected]>
+)
+
+prepare() {
+ cd "${pkgname}"
+ patch -Np1 <
"../0001-Makefile-Remove-version-from-usr-share-makedumpfile.patch"
+}
+
+build() {
+ cd "${pkgname}"
+ make -O \
+ LINKTYPE=dynamic \
+ USEZSTD=on \
+ V=1
+}
+
+package() {
+ cd "${pkgname}"
+ make install DESTDIR="${pkgdir}"
+ mv "${pkgdir}/usr/sbin" "${pkgdir}/usr/bin"
+}
+
+# vim:set ts=2 sw=2 et: