[arch-commits] Commit in cdrtools/trunk (PKGBUILD cdrtools.install)

Jerome Leclanche jleclanche at archlinux.org
Thu Nov 12 11:57:58 UTC 2020


    Date: Thursday, November 12, 2020 @ 11:57:58
  Author: jleclanche
Revision: 751579

upgpkg: cdrtools 3.02a09-4: cdrtools: Fix #67265

Added:
  cdrtools/trunk/cdrtools.install
Modified:
  cdrtools/trunk/PKGBUILD

------------------+
 PKGBUILD         |    3 ++-
 cdrtools.install |    5 +++++
 2 files changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 11:57:56 UTC (rev 751578)
+++ PKGBUILD	2020-11-12 11:57:58 UTC (rev 751579)
@@ -1,7 +1,7 @@
 # Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
 pkgname=cdrtools
 pkgver=3.02a09
-pkgrel=3
+pkgrel=4
 pkgdesc="Original cdrtools supporting CD, DVD and BluRay burning"
 arch=('x86_64')
 url="http://cdrecord.org/"
@@ -14,6 +14,7 @@
 backup=('etc/default/cdrecord' 'etc/default/rscsi')
 source=(https://downloads.sourceforge.net/cdrtools/cdrtools-$pkgver.tar.bz2)
 sha256sums=('aa28438f458ef3f314b79f2029db27679dae1d5ffe1569b6de57742511915e81')
+install=cdrtools.install
 
 build() {
   cd "$srcdir"/cdrtools-${pkgver%%a*}

Added: cdrtools.install
===================================================================
--- cdrtools.install	                        (rev 0)
+++ cdrtools.install	2020-11-12 11:57:58 UTC (rev 751579)
@@ -0,0 +1,5 @@
+post_install() {
+	setcap cap_sys_resource,cap_dac_override,cap_sys_admin,cap_sys_nice,cap_net_bind_service,cap_ipc_lock,cap_sys_rawio+ep /usr/bin/cdrecord
+	setcap cap_dac_override,cap_sys_admin,cap_sys_nice,cap_net_bind_service,cap_sys_rawio+ep /usr/bin/cdda2wav
+	setcap cap_dac_override,cap_sys_admin,cap_net_bind_service,cap_sys_rawio+ep /usr/bin/readcd
+}


More information about the arch-commits mailing list