[arch-commits] Commit in open-iscsi/trunk (PKGBUILD)

Christian Hesse eworm at archlinux.org
Thu Sep 12 20:55:51 UTC 2019


    Date: Thursday, September 12, 2019 @ 20:55:50
  Author: eworm
Revision: 509845

upgpkg: open-iscsi 2.0.878-1

new upstream release

Modified:
  open-iscsi/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++---------------------
 1 file changed, 5 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-12 20:49:20 UTC (rev 509844)
+++ PKGBUILD	2019-09-12 20:55:50 UTC (rev 509845)
@@ -2,8 +2,8 @@
 # Maintainer: Stefan Kirrmann <stefan.kirrmann at gmail dot com>
 
 pkgname=open-iscsi
-pkgver=2.0.877
-pkgrel=2
+pkgver=2.0.878
+pkgrel=1
 pkgdesc='iSCSI userland tools'
 arch=('x86_64')
 url='https://www.open-iscsi.com/'
@@ -13,21 +13,9 @@
 backup=('etc/iscsi/iscsid.conf'
 	'etc/iscsi/initiatorname.iscsi')
 options=('docs')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/open-iscsi/open-iscsi/archive/$pkgver.tar.gz"
-        '0001-libkmod.patch')
-sha256sums=('69eb95b0c39dee2da9d0d751bfdcdb8d11f9d37390de15c1a0b4558f9d0c4a57'
-            'cacf5d5826868bc4afe4df6ac5721aafb75f82469c50d6d24cd7d685471a9cd8')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/open-iscsi/open-iscsi/archive/$pkgver.tar.gz")
+sha256sums=('5aeef0069c4a9d7f288269bcf56588d09a3c529a35f865f16dd8119ab8672208')
 
-prepare() {
-  cd "$srcdir"/${pkgname}-${pkgver}
-
-  # fix build with libkmod
-  patch -Np1 < ../0001-libkmod.patch
-
-  # include iscsistart in the package
-  sed -i -e '/^PROGRAMS = /s/$/ usr\/iscsistart/' Makefile
-}
-
 build() {
   cd "$srcdir"/${pkgname}-${pkgver}
 
@@ -37,12 +25,8 @@
 package() {
   cd "$srcdir"/${pkgname}-${pkgver}
 
-  make DESTDIR="$pkgdir" LIB_DIR=/usr/lib install
+  make DESTDIR="$pkgdir" LIB_DIR=/usr/lib install install_systemd
 
-  install -D -m0644 etc/systemd/iscsid.service "$pkgdir"/usr/lib/systemd/system/iscsid.service
-  install -D -m0644 etc/systemd/iscsid.socket "$pkgdir"/usr/lib/systemd/system/iscsid.socket
-  install -D -m0644 etc/systemd/iscsi.service "$pkgdir"/usr/lib/systemd/system/iscsi.service
-
   install -D -m0644 "$srcdir"/${pkgname}-${pkgver}/etc/iscsid.conf "$pkgdir"/etc/iscsi
   echo -n > "$pkgdir"/etc/iscsi/initiatorname.iscsi
 


More information about the arch-commits mailing list