[packages/trousers] - updated to 0.3.11.2 (relicensed to 3-clause BSD) - updated nouser patch
qboosh
qboosh at pld-linux.org
Sun Nov 3 10:46:52 CET 2013
commit d3cc84b4c0d924bdf9ae65cc8c55be41e7c5b4bf
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Nov 3 10:47:02 2013 +0100
- updated to 0.3.11.2 (relicensed to 3-clause BSD)
- updated nouser patch
trousers-nouser.patch | 12 +++++++-----
trousers.spec | 6 +++---
2 files changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/trousers.spec b/trousers.spec
index 034ac51..469c738 100644
--- a/trousers.spec
+++ b/trousers.spec
@@ -6,12 +6,12 @@
Summary: TrouSerS - The open-source TCG Software Stack
Summary(pl.UTF-8): TrouSerS - programowy stos TCG o otwartych źródłach
Name: trousers
-Version: 0.3.10
+Version: 0.3.11.2
Release: 1
-License: CPL v1.0
+License: BSD
Group: Applications/System
Source0: http://downloads.sourceforge.net/trousers/%{name}-%{version}.tar.gz
-# Source0-md5: 27b7374d991874b4a0a973b1c952c79f
+# Source0-md5: ab38dcb2811099dce379c64d43589f50
Patch0: %{name}-nouser.patch
URL: http://trousers.sourceforge.net/
BuildRequires: autoconf
diff --git a/trousers-nouser.patch b/trousers-nouser.patch
index f6f299a..482877c 100644
--- a/trousers-nouser.patch
+++ b/trousers-nouser.patch
@@ -1,19 +1,21 @@
---- trousers-0.3.4/dist/Makefile.am~ 2010-01-28 22:47:32.000000000 +0100
-+++ trousers-0.3.4/dist/Makefile.am 2010-05-31 10:23:15.523723441 +0200
-@@ -2,16 +2,8 @@
+--- trousers-0.3.11.2/dist/Makefile.am.orig 2013-11-03 10:21:00.939689638 +0100
++++ trousers-0.3.11.2/dist/Makefile.am 2013-11-03 10:29:12.019669029 +0100
+@@ -2,18 +2,12 @@
fedora/fedora.initrd.tcsd
install: install-exec-hook
if test ! -e ${DESTDIR}/@sysconfdir@/tcsd.conf; then mkdir -p ${DESTDIR}/@sysconfdir@ && cp tcsd.conf ${DESTDIR}/@sysconfdir@; fi
- /bin/chown tss:tss ${DESTDIR}/@sysconfdir@/tcsd.conf || true
-- /bin/chmod 0600 ${DESTDIR}/@sysconfdir@/tcsd.conf
+ /bin/chmod 0600 ${DESTDIR}/@sysconfdir@/tcsd.conf
install-exec-hook:
- /usr/sbin/groupadd tss || true
- /usr/sbin/useradd -r tss -g tss || true
/bin/sh -c 'if [ ! -e ${DESTDIR}/@localstatedir@/lib/tpm ];then mkdir -p ${DESTDIR}/@localstatedir@/lib/tpm; fi'
- /bin/chown tss:tss ${DESTDIR}/@localstatedir@/lib/tpm || true
-- /bin/chmod 0700 ${DESTDIR}/@localstatedir@/lib/tpm
+ /bin/chmod 0700 ${DESTDIR}/@localstatedir@/lib/tpm
uninstall-hook:
- /usr/sbin/userdel tss || true
- /usr/sbin/groupdel tss || true
+ rm ${DESTDIR}/@sysconfdir@/tcsd.conf
+ rmdir ${DESTDIR}/@localstatedir@/lib/tpm
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/trousers.git/commitdiff/d3cc84b4c0d924bdf9ae65cc8c55be41e7c5b4bf
More information about the pld-cvs-commit
mailing list