mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
trousers: use make_dirs= for creating /var/lib/tpm, fix distfiles=
This commit is contained in:
parent
7aa9c33765
commit
f5a7fea86c
2 changed files with 7 additions and 6 deletions
|
@ -1,4 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
exec 2>&1
|
exec 2>&1
|
||||||
[ -d /var/lib/tpm ] || install -m 0700 -o tss -g tss -d /var/lib/tpm
|
|
||||||
exec chpst -u tss:tss tcsd -f
|
exec chpst -u tss:tss tcsd -f
|
||||||
|
|
|
@ -1,20 +1,22 @@
|
||||||
# Template file for 'trousers'
|
# Template file for 'trousers'
|
||||||
pkgname=trousers
|
pkgname=trousers
|
||||||
version=0.3.14
|
version=0.3.14
|
||||||
revision=6
|
revision=7
|
||||||
|
create_wrksrc=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
conf_files="/etc/tcsd.conf"
|
conf_files="/etc/tcsd.conf"
|
||||||
makedepends="libressl-devel"
|
makedepends="libressl-devel"
|
||||||
system_accounts=tss
|
system_accounts=tss
|
||||||
tss_homedir=/var/lib/tpm
|
tss_homedir=/var/lib/tpm
|
||||||
short_desc="Trusted Computing Software Stack for the TPM"
|
short_desc="Trusted Computing Software Stack for the TPM"
|
||||||
maintainer="Toyam Cox <Vaelatern@gmail.com>"
|
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
|
||||||
license="BSD"
|
license="BSD-3-Clause"
|
||||||
homepage="http://trousers.sourceforge.net/"
|
homepage="http://trousers.sourceforge.net/"
|
||||||
# distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
# distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||||
distfiles=https://sources.voidlinux.eu/trousers-0.3.14/trousers-0.3.14.tar.gz
|
distfiles="https://sources.voidlinux.org/trousers-${version}/trousers-${version}.tar.gz"
|
||||||
checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
|
checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47
|
||||||
create_wrksrc=yes
|
|
||||||
|
make_dirs="/var/lib/tpm 0700 tss tss"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Add table
Reference in a new issue