diff options
author | Daniel Black <dragonheart@gentoo.org> | 2005-02-06 08:29:08 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2005-02-06 08:29:08 +0000 |
commit | 1796b573712ec48ce98638e1be149cee14e38579 (patch) | |
tree | 05906aa8c1be4e866ec69b13666b1353f1a7bc3a /app-crypt | |
parent | keyword ~ppc-macos. closes bug 68499 (diff) | |
download | gentoo-2-1796b573712ec48ce98638e1be149cee14e38579.tar.gz gentoo-2-1796b573712ec48ce98638e1be149cee14e38579.tar.bz2 gentoo-2-1796b573712ec48ce98638e1be149cee14e38579.zip |
Initial import
(Portage version: 2.0.51-r15)
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/trousers/ChangeLog | 10 | ||||
-rw-r--r-- | app-crypt/trousers/Manifest | 5 | ||||
-rw-r--r-- | app-crypt/trousers/files/0.1.7-makefile-statedir.patch | 56 | ||||
-rw-r--r-- | app-crypt/trousers/files/digest-trousers-0.1.7 | 1 | ||||
-rw-r--r-- | app-crypt/trousers/metadata.xml | 9 | ||||
-rw-r--r-- | app-crypt/trousers/trousers-0.1.7.ebuild | 52 |
6 files changed, 133 insertions, 0 deletions
diff --git a/app-crypt/trousers/ChangeLog b/app-crypt/trousers/ChangeLog new file mode 100644 index 000000000000..1ef9ebeca775 --- /dev/null +++ b/app-crypt/trousers/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-crypt/trousers +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/trousers/ChangeLog,v 1.1 2005/02/06 08:29:08 dragonheart Exp $ + +*trousers-0.1.7 (06 Feb 2005) + + 06 Feb 2005; Daniel Black <dragonheart@gentoo.org> +metadata.xml, + +files/0.1.7-makefile-statedir.patch, +trousers-0.1.7.ebuild: + Initial import + diff --git a/app-crypt/trousers/Manifest b/app-crypt/trousers/Manifest new file mode 100644 index 000000000000..3252083bf2c7 --- /dev/null +++ b/app-crypt/trousers/Manifest @@ -0,0 +1,5 @@ +MD5 878df750d91d1268d6d298a24e242457 trousers-0.1.7.ebuild 1246 +MD5 2603eeeb20b24caddac3e9ce6996f357 metadata.xml 251 +MD5 7e7bb625449b72a70523d0f8f492322f ChangeLog 300 +MD5 6ced7c6423b5d94e01d6e03e435f620e files/digest-trousers-0.1.7 66 +MD5 1c0953f370d4ecddd3307f0b64bccb0d files/0.1.7-makefile-statedir.patch 2978 diff --git a/app-crypt/trousers/files/0.1.7-makefile-statedir.patch b/app-crypt/trousers/files/0.1.7-makefile-statedir.patch new file mode 100644 index 000000000000..14b6648dde8d --- /dev/null +++ b/app-crypt/trousers/files/0.1.7-makefile-statedir.patch @@ -0,0 +1,56 @@ +--- ./src/tcs/Makefile.am.orig 2005-01-28 08:19:35.000000000 +0930 ++++ ./src/tcs/Makefile.am 2005-02-06 17:28:55.191846984 +0930 +@@ -1,7 +1,7 @@ + noinst_LIBRARIES=libtcs.a + + AM_OBJS=atmel.o cache.o cxt.o tcscm.o tcsem.o imaem.o tcskcm.o tcspbg.o tcs_utils.o log.o ps/ps_utils.o ps/tcsps.o req_mgr.o auth_mgr.o +-AM_CFLAGS=-DAPPID=\"TCS\" -DVAR_PREFIX=\"@localstatedir@\" -DETC_PREFIX=\"@sysconfdir@\" ++AM_CFLAGS=-DAPPID=\"TCS\" -DVAR_PREFIX=\"@localstatedir@/state\" -DETC_PREFIX=\"@sysconfdir@\" + + .c.o: + $(CC) $(CFLAGS) $(AM_CFLAGS) -c -o $@ $< +--- ./src/tcsd/Makefile.am.orig 2004-12-11 01:07:06.000000000 +0930 ++++ ./src/tcsd/Makefile.am 2005-02-06 17:28:55.191846984 +0930 +@@ -1,5 +1,5 @@ + sbin_PROGRAMS=tcsd + + tcsd_SOURCES=svrside.c tcsd_wrap.c tcsd_conf.c tcsd_threads.c +-tcsd_CFLAGS=-DAPPID=\"TCSD\" -DVAR_PREFIX=\"@localstatedir@\" -DETC_PREFIX=\"@sysconfdir@\" ++tcsd_CFLAGS=-DAPPID=\"TCSD\" -DVAR_PREFIX=\"@localstatedir@/state\" -DETC_PREFIX=\"@sysconfdir@\" + tcsd_LDFLAGS=../tcs/libtcs.a ../tddl/libtddl.a -lpthread +--- ./src/tspi/Makefile.am.orig 2005-01-28 08:17:36.000000000 +0930 ++++ ./src/tspi/Makefile.am 2005-02-06 17:28:55.191846984 +0930 +@@ -1,6 +1,6 @@ + all: libtspi.so + +-AM_CFLAGS=-I../include -DAPPID=\"TSPI\" -DVAR_PREFIX=\"@localstatedir@\" -DETC_PREFIX=\"@sysconfdir@\" @GTK_CFLAGS@ ++AM_CFLAGS=-I../include -DAPPID=\"TSPI\" -DVAR_PREFIX=\"@localstatedir@/state\" -DETC_PREFIX=\"@sysconfdir@\" @GTK_CFLAGS@ + AM_LDFLAGS=@GTK_LIBS@ + + AM_OBJS=ConvertLib.o obj.o spi_context.o spi_getset.o spi_key.o spi_policy.o spi_utils.o keyreg.o memmgr.o secrets.o spi_data.o spi_hash.o spi_pcr.o spi_tpm.o ../tcsd_api/calltcsapi.o ../tcsd_api/tcstp.o ../tcsd_api/hosttable.o ../tcsd_api/clntside.o gtk/main.o gtk/support.o gtk/interface.o gtk/callbacks.o crypto/@CRYPTO_PACKAGE@/crypto.o ps/tspps.o ps/ps_utils.o log.o +--- ./dist/tcsd.conf.in.orig 2005-02-06 17:32:11.449871920 +0930 ++++ ./dist/tcsd.conf.in 2005-02-06 17:28:55.192845832 +0930 +@@ -26,7 +26,7 @@ + # Values: Any absolute directory path + # Description: Path where the tcsd creates its persistent storage file. + # +-# system_ps_file = @localstatedir@/tpm/system.data ++# system_ps_file = @localstatedir@/state/tpm/system.data + # + + # Option: firmware_log_file +--- ./dist/Makefile.am.orig 2005-01-21 07:08:52.000000000 +0930 ++++ ./dist/Makefile.am 2005-02-06 17:28:55.192845832 +0930 +@@ -12,9 +12,9 @@ + /usr/sbin/groupadd tss || true + /usr/sbin/useradd -r tss -g tss || true + /bin/chown tss:tss ${DESTDIR}/@sbindir@/tcsd +- /bin/sh -c 'if [ ! -e ${DESTDIR}/@localstatedir@/tpm ];then mkdir -p ${DESTDIR}/@localstatedir@/tpm; fi' +- /bin/chown tss:tss ${DESTDIR}/@localstatedir@/tpm +- /bin/chmod 1777 ${DESTDIR}/@localstatedir@/tpm ++ /bin/sh -c 'if [ ! -e ${DESTDIR}/@localstatedir@/state/tpm ];then mkdir -p ${DESTDIR}/@localstatedir@/tpm; fi' ++ /bin/chown tss:tss ${DESTDIR}/@localstatedir@/state/tpm ++ /bin/chmod 1777 ${DESTDIR}/@localstatedir@/state/tpm + + uninstall-hook: + /usr/sbin/groupdel tss diff --git a/app-crypt/trousers/files/digest-trousers-0.1.7 b/app-crypt/trousers/files/digest-trousers-0.1.7 new file mode 100644 index 000000000000..26bf24958871 --- /dev/null +++ b/app-crypt/trousers/files/digest-trousers-0.1.7 @@ -0,0 +1 @@ +MD5 fd1e13927c93cfdf07e98409da4f1091 trousers-0.1.7.tar.gz 785977 diff --git a/app-crypt/trousers/metadata.xml b/app-crypt/trousers/metadata.xml new file mode 100644 index 000000000000..61e19f95d1e7 --- /dev/null +++ b/app-crypt/trousers/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>crypto</herd> + <maintainer> + <email>crypto@gentoo.org</email> + <name>Crypto Herd</name> + </maintainer> +</pkgmetadata> diff --git a/app-crypt/trousers/trousers-0.1.7.ebuild b/app-crypt/trousers/trousers-0.1.7.ebuild new file mode 100644 index 000000000000..98d438ca9039 --- /dev/null +++ b/app-crypt/trousers/trousers-0.1.7.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/trousers/trousers-0.1.7.ebuild,v 1.1 2005/02/06 08:29:08 dragonheart Exp $ + +inherit eutils + +DESCRIPTION="Trousers is an open-source TCG Software Stack (TSS)" +HOMEPAGE="http://trousers.sf.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +LICENSE="CPL-1.0" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +RDEPEND="virtual/libc + x11-libs/pango + >=x11-libs/gtk+-2 + app-crypt/tpm-module + >=dev-libs/openssl-0.9.7" + +DEPEND="${RDEPEND} + >=sys-devel/automake-1.7.9 + >=sys-devel/autoconf-2.59 + dev-util/pkgconfig" + +pkg_setup() { + enewgroup tss + enewuser tss -1 /bin/false /var/state/tpm tss +} + + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PV}-makefile-statedir.patch || die "patch failed" + sed -i -e "s/#undef TPM_IOCTL/#define TPM_IOCTL/" src/include/tddl.h +} +src_compile() { + aclocal || die "aclocal failed" + libtoolize --force || die "libtoolize failed" + WANT_AUTOMAKE=1.7 automake --add-missing -c || die "automake failed" + WANT_AUTOCONF=2.59 autoconf || die "autoconf failed" + + econf --localstatedir=/var/state || die "econf failed" + emake || die "emake failed" +} + +src_install() { + keepdir /var/state/tpm + make DESTDIR=${D} install || die + dodoc AUTHORS ChangeLog LICENSE NICETOHAVES README TODO +} |