public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-crypt/tpm-emulator/files: tpm-emulator.initd-0.7.4 tpm-emulator.initd-0.5.1 tpm-emulator.confd-0.7.4
@ 2012-12-23  1:25 Alon Bar-Lev (alonbl)
  0 siblings, 0 replies; only message in thread
From: Alon Bar-Lev (alonbl) @ 2012-12-23  1:25 UTC (permalink / raw
  To: gentoo-commits

alonbl      12/12/23 01:25:26

  Modified:             tpm-emulator.initd-0.5.1
  Added:                tpm-emulator.initd-0.7.4 tpm-emulator.confd-0.7.4
  Log:
  Version bump, per bug#371551
  
  (Portage version: 2.2.0_alpha149/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.2                  app-crypt/tpm-emulator/files/tpm-emulator.initd-0.5.1

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/tpm-emulator/files/tpm-emulator.initd-0.5.1?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/tpm-emulator/files/tpm-emulator.initd-0.5.1?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/tpm-emulator/files/tpm-emulator.initd-0.5.1?r1=1.1&r2=1.2

Index: tpm-emulator.initd-0.5.1
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-crypt/tpm-emulator/files/tpm-emulator.initd-0.5.1,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- tpm-emulator.initd-0.5.1	21 Sep 2009 10:40:39 -0000	1.1
+++ tpm-emulator.initd-0.5.1	23 Dec 2012 01:25:26 -0000	1.2
@@ -1,7 +1,7 @@
 #!/sbin/runscript
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/tpm-emulator/files/tpm-emulator.initd-0.5.1,v 1.1 2009/09/21 10:40:39 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/tpm-emulator/files/tpm-emulator.initd-0.5.1,v 1.2 2012/12/23 01:25:26 alonbl Exp $
 
 opts="save clear deactivated"
 



1.1                  app-crypt/tpm-emulator/files/tpm-emulator.initd-0.7.4

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/tpm-emulator/files/tpm-emulator.initd-0.7.4?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/tpm-emulator/files/tpm-emulator.initd-0.7.4?rev=1.1&content-type=text/plain

Index: tpm-emulator.initd-0.7.4
===================================================================
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/app-crypt/tpm-emulator/files/tpm-emulator.initd-0.7.4,v 1.1 2012/12/23 01:25:26 alonbl Exp $

STARTUP_MODE='save';

extra_started_commands="clear save deactivated"
command="/usr/bin/tpmd"
command_args="-o tss -g tss"

depend() {
	use logger
	after coldplug
}

checkconfig() {
	lsmod | grep -q "^tpmd_dev\b" \
		|| modprobe tpmd_dev &>/dev/null \
		|| eerror "Failed to load module tpmd_dev";

	if [ ! -c /dev/tpm ] && [ ! -c /dev/tpm0 ] ; then
		eerror "No TPM device found!"
		return 1
	fi
	return 0
}

start() {
	ebegin "Starting tpm-emulator daemon with mode '$STARTUP_MODE' (tpmd)"
	checkconfig || eend $?
	start-stop-daemon --start --exec "${command}" -- ${command_args} $STARTUP_MODE > /dev/null
	eend $?
}

stop() {
	ebegin "Stopping tpm-emulator daemon (tpmd)"
	start-stop-daemon --stop --exec "${command}" -- ${command_args} > /dev/null
	eend $?
}

clear() {
	STARTUP_MODE='clear';
	stop
	start
}

save() {
	STARTUP_MODE='save';
	stop
	start
}

deactivated() {
	STARTUP_MODE='deactivated';
	stop
	start
}




1.1                  app-crypt/tpm-emulator/files/tpm-emulator.confd-0.7.4

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/tpm-emulator/files/tpm-emulator.confd-0.7.4?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/tpm-emulator/files/tpm-emulator.confd-0.7.4?rev=1.1&content-type=text/plain

Index: tpm-emulator.confd-0.7.4
===================================================================
STARTUP_MODE="save"
#DEBUG="true"





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-12-23  1:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-23  1:25 [gentoo-commits] gentoo-x86 commit in app-crypt/tpm-emulator/files: tpm-emulator.initd-0.7.4 tpm-emulator.initd-0.5.1 tpm-emulator.confd-0.7.4 Alon Bar-Lev (alonbl)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox