Date: Friday, October 21, 2022 @ 17:34:10
  Author: artafinde
Revision: 1333149

upgpkg: makedumpfile 1.7.2-1

Added:
  
makedumpfile/trunk/0001-Makefile-Remove-version-from-usr-share-makedumpfile.patch
  makedumpfile/trunk/keys/
  makedumpfile/trunk/keys/pgp/
  makedumpfile/trunk/keys/pgp/60C5A596A37CDE6C357C5C623136D252B5E85FA9.asc
  makedumpfile/trunk/keys/pgp/F4BA97F873AB047F217F8D16B0E0CE20E95D17F5.asc
Modified:
  makedumpfile/trunk/PKGBUILD

----------------------------------------------------------------+
 0001-Makefile-Remove-version-from-usr-share-makedumpfile.patch |   34 
++++++++++
 PKGBUILD                                                       |   23 +++++-
 keys/pgp/60C5A596A37CDE6C357C5C623136D252B5E85FA9.asc          |    1 
 keys/pgp/F4BA97F873AB047F217F8D16B0E0CE20E95D17F5.asc          |    1 
 4 files changed, 54 insertions(+), 5 deletions(-)

Added: 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:10 UTC (rev 1333149)
@@ -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
+

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-21 17:29:18 UTC (rev 1333148)
+++ PKGBUILD    2022-10-21 17:34:10 UTC (rev 1333149)
@@ -6,19 +6,32 @@
 # Contributor: Guilherme G. Piccoli <[email protected]>
 
 pkgname=makedumpfile
-pkgver=1.7.1
+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=("https://github.com/makedumpfile/makedumpfile/releases/download/${pkgver}/makedumpfile-${pkgver}.tar.gz";)
-sha256sums=('cb04b1bd0e750d0d0ac1b43b759b326d4a3797b0af08e0c269d1b155893fb664')
+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}-${pkgver}"
+  cd "${pkgname}"
   make -O \
     LINKTYPE=dynamic \
     USEZSTD=on \
@@ -26,7 +39,7 @@
 }
 
 package() {
-  cd "${pkgname}-${pkgver}"
+  cd "${pkgname}"
   make install DESTDIR="${pkgdir}"
   mv "${pkgdir}/usr/sbin" "${pkgdir}/usr/bin"
 }

Added: keys/pgp/60C5A596A37CDE6C357C5C623136D252B5E85FA9.asc
===================================================================
(Binary files differ)

Index: makedumpfile/trunk/keys/pgp/60C5A596A37CDE6C357C5C623136D252B5E85FA9.asc
===================================================================
--- keys/pgp/60C5A596A37CDE6C357C5C623136D252B5E85FA9.asc       2022-10-21 
17:29:18 UTC (rev 1333148)
+++ keys/pgp/60C5A596A37CDE6C357C5C623136D252B5E85FA9.asc       2022-10-21 
17:34:10 UTC (rev 1333149)

Property changes on: 
makedumpfile/trunk/keys/pgp/60C5A596A37CDE6C357C5C623136D252B5E85FA9.asc
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pgp-keys
\ No newline at end of property
Added: keys/pgp/F4BA97F873AB047F217F8D16B0E0CE20E95D17F5.asc
===================================================================
(Binary files differ)

Index: makedumpfile/trunk/keys/pgp/F4BA97F873AB047F217F8D16B0E0CE20E95D17F5.asc
===================================================================
--- keys/pgp/F4BA97F873AB047F217F8D16B0E0CE20E95D17F5.asc       2022-10-21 
17:29:18 UTC (rev 1333148)
+++ keys/pgp/F4BA97F873AB047F217F8D16B0E0CE20E95D17F5.asc       2022-10-21 
17:34:10 UTC (rev 1333149)

Property changes on: 
makedumpfile/trunk/keys/pgp/F4BA97F873AB047F217F8D16B0E0CE20E95D17F5.asc
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pgp-keys
\ No newline at end of property

Reply via email to