summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/webmin/PKGBUILD8
-rw-r--r--pcr/trousers/70-tpmd.rules1
-rw-r--r--pcr/trousers/PKGBUILD44
-rw-r--r--pcr/trousers/tcsd.service10
-rw-r--r--pcr/trousers/trousers.install21
5 files changed, 81 insertions, 3 deletions
diff --git a/libre/webmin/PKGBUILD b/libre/webmin/PKGBUILD
index bf2d2e23b..3dc4b709a 100644
--- a/libre/webmin/PKGBUILD
+++ b/libre/webmin/PKGBUILD
@@ -1,7 +1,7 @@
-# $Id: PKGBUILD 221302 2014-09-09 12:49:48Z tpowa $
+# $Id: PKGBUILD 223780 2014-10-02 20:25:48Z tpowa $
# Maintainer (Arch): Tobias Powalowski <tpowa@archlinux.org>
pkgname=webmin
-pkgver=1.700
+pkgver=1.710
pkgrel=1.parabola1
pkgdesc="a web-based interface for system administration (Parabola rebranded)"
arch=(i686 x86_64 mips64el)
@@ -212,7 +212,9 @@ package() {
# install license
install -m 644 -D "$srcdir"/$pkgname-$pkgver/LICENCE "$pkgdir"/usr/share/licenses/webmin/LICENCE
}
-md5sums=('e5261114a6a6ed10caf570d3239ed5b7'
+
+
+md5sums=('cf270b18644884b1c791ba963d9a630d'
'b0b3e3fb231a12e60165b6b4d604dcfa'
'c86518037449e0fc0c60fc24537ea038'
'fc29ecb6a5cd8c278abe054e60381095')
diff --git a/pcr/trousers/70-tpmd.rules b/pcr/trousers/70-tpmd.rules
new file mode 100644
index 000000000..448ec09dd
--- /dev/null
+++ b/pcr/trousers/70-tpmd.rules
@@ -0,0 +1 @@
+KERNEL=="tpm[0-9]*", MODE="0600", OWNER="tss", GROUP="tss"
diff --git a/pcr/trousers/PKGBUILD b/pcr/trousers/PKGBUILD
new file mode 100644
index 000000000..560cb211c
--- /dev/null
+++ b/pcr/trousers/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: mutantmonkey <aur@mutantmonkey.in>
+# Contributor: Robert Buhren <robert@robertbuhren.de>
+# Contributor: Gavin Lloyd <gavinhungry@gmail.com>
+# Contributor: xav <xav at ethertricks dot net>
+# Contributor: julian <pidanc_j at epita dot fr>
+# Contributor: Silvio Knizek <killermoehre@gmx.net>
+
+pkgname=trousers
+pkgver=0.3.13
+pkgrel=2
+pkgdesc="Free TCG Software Stack implementation for use with a TPM"
+arch=('i686' 'x86_64')
+url="http://sourceforge.net/projects/trousers"
+license=('CPL')
+depends=('openssl')
+install=${pkgname}.install
+source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/0.3.13/${pkgname}-${pkgver}.tar.gz
+ ${pkgname}.install
+ tcsd.service
+ 70-tpmd.rules)
+sha256sums=('bb908e4a3c88a17b247a4fc8e0fff3419d8a13170fe7bdfbe0e2c5c082a276d3'
+ '18a96f4067968d947d5c4d4572b360de19cc940e082e221768add82a24539b9e'
+ '653c3a94ec628e7a7fb150d0d289b0866c6b3bb9aa57af2c59724517d205d7bd'
+ 'c50ea41a4809699dd50f2e621acc6baafb2dffa43cd5a0df8a0679f1d1b1b884')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --libdir=/usr/lib \
+ --sbindir=/usr/bin \
+ --with-openssl=/usr \
+ --with-gui=openssl
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+ install -Dm644 ${srcdir}/tcsd.service ${pkgdir}/usr/lib/systemd/system/tcsd.service
+ install -Dm644 ${srcdir}/70-tpmd.rules ${pkgdir}/usr/lib/udev/rules.d/70-tpmd.rules
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/trousers/tcsd.service b/pcr/trousers/tcsd.service
new file mode 100644
index 000000000..33f4de65e
--- /dev/null
+++ b/pcr/trousers/tcsd.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Manager for Trusted Computing resources
+After=sysinit.target
+
+[Service]
+User=tss
+ExecStart=/usr/bin/tcsd -f -c /etc/tcsd.conf
+
+[Install]
+WantedBy=default.target
diff --git a/pcr/trousers/trousers.install b/pcr/trousers/trousers.install
new file mode 100644
index 000000000..3725e078b
--- /dev/null
+++ b/pcr/trousers/trousers.install
@@ -0,0 +1,21 @@
+post_install() {
+ groupadd -r tss
+
+ useradd -r -g tss -d /var/lib/tpm -s /bin/false tss
+ chown -R tss:tss /var/lib/tpm
+ chown tss:tss /usr/bin/tcsd
+
+ chown tss:tss /etc/tcsd.conf
+ chmod 0600 /etc/tcsd.conf
+
+ udevadm trigger --sysname-match="tpm[0-9]*"
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ systemctl stop tcsd
+ userdel tss
+}