[packages/trousers] - up to 0.3.13

arekm arekm at pld-linux.org
Wed Dec 3 09:06:18 CET 2014


commit 8d727b86055fae30bc255b1e6109cd5825a1d34d
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Dec 3 09:06:12 2014 +0100

    - up to 0.3.13

 trousers-nouser.patch | 21 ---------------------
 trousers.spec         |  9 ++++-----
 2 files changed, 4 insertions(+), 26 deletions(-)
---
diff --git a/trousers.spec b/trousers.spec
index 469c738..1067fb0 100644
--- a/trousers.spec
+++ b/trousers.spec
@@ -6,13 +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.11.2
+Version:	0.3.13
 Release:	1
 License:	BSD
 Group:		Applications/System
 Source0:	http://downloads.sourceforge.net/trousers/%{name}-%{version}.tar.gz
-# Source0-md5:	ab38dcb2811099dce379c64d43589f50
-Patch0:		%{name}-nouser.patch
+# Source0-md5:	ad508f97b406f6e48cd90e85d78e7ca8
 URL:		http://trousers.sourceforge.net/
 BuildRequires:	autoconf
 BuildRequires:	automake >= 1.6
@@ -84,7 +83,6 @@ Statyczna biblioteka TrouSerS.
 
 %prep
 %setup -q
-%patch0 -p1
 
 # there is some unused variable causing warning
 sed -i -e 's/-Werror //' configure.in
@@ -96,7 +94,8 @@ sed -i -e 's/-Werror //' configure.in
 %{__automake}
 %configure \
 	--enable-static \
-	%{?with_gtk:--with-gui=gtk}
+	%{?with_gtk:--with-gui=gtk} \
+	--disable-usercheck
 %{__make}
 
 %install
diff --git a/trousers-nouser.patch b/trousers-nouser.patch
deleted file mode 100644
index 482877c..0000000
--- a/trousers-nouser.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- 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
- 
- 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
- 
- 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/8d727b86055fae30bc255b1e6109cd5825a1d34d



More information about the pld-cvs-commit mailing list