summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorskydrome2015-10-29 02:30:14 -0400
committerskydrome2015-10-29 02:30:14 -0400
commitce8faa10edb8270e984680f4f4a623539cb960c5 (patch)
treec53f0ca18d5e5b0f3ad92a0e9fd8c36953afbbd4 /PKGBUILD
parent3de948c37891ec44c12ec6a7a0835ef87ec7b5f0 (diff)
downloadaur-ce8faa10edb8270e984680f4f4a623539cb960c5.tar.gz
update
Diffstat (limited to 'PKGBUILD')
-rw-r--r--[-rwxr-xr-x]PKGBUILD29
1 files changed, 16 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b23a7b25a2e..62dacb43a7f 100755..100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Maintainer: mutantmonkey <aur@mutantmonkey.in>
pkgname=tcpcrypt-git
-pkgver=308.bb990b1
+pkgver=312.866994c
pkgrel=1
pkgdesc="Transparent user space implementation for the tcpcrypt TCP extensions"
arch=('i686' 'x86_64')
@@ -16,11 +16,13 @@ conflicts=('tcpcrypt')
install='tcpcrypt.install'
backup=('etc/conf.d/tcpcryptd.conf')
source=("git+https://github.com/scslab/tcpcrypt.git"
- 'tcpcryptd.conf'
- 'tcpcryptd.service')
+ 'tcpcryptd.conf' 'tcpcryptd.service'
+ 'tcpcryptd.tmpfiles' 'tcpcryptd.sysusers')
sha256sums=('SKIP'
'a41bfa7b0c8f527f96c993f68e0a02265ad672fe6c2e10f41bc00b8b1f819305'
- '68a3227f971dce0056bbe8768b570fade4ee8b17aca2e354c35352f2bf0a7028')
+ '68a3227f971dce0056bbe8768b570fade4ee8b17aca2e354c35352f2bf0a7028'
+ '95393df0fca7e228e36b9594e29a3f32514c8f7229b329e0b9a37dab4985b28f'
+ 'e9c73c4eeff3f14f0fedd14a529f8c81f591ada543b91e82252e5b2b8f11d916')
pkgver() {
cd tcpcrypt
@@ -29,19 +31,18 @@ pkgver() {
prepare() {
cd tcpcrypt
- mkdir -p m4
- sed -i 's:AC_PROG_LIBTOOL:LT_INIT:' configure.ac
+ mkdir -p m4
./bootstrap.sh
}
build() {
cd tcpcrypt
- export JAIL_DIR="/run/tcpcryptd"
- export JAIL_USER="tcpcryptd"
- export DIVERT_PORT="1666"
- export CONTROL_SOCKET="/run/tcpcryptd.control"
+ export JAIL_DIR=/run/tcpcryptd
+ export JAIL_USER=tcpcryptd
+ export DIVERT_PORT=1666
+ export CONTROL_SOCKET=\"/run/tcpcryptd.control\"
./configure --prefix=/usr
make
@@ -54,9 +55,11 @@ package() {
install -dm755 "$pkgdir/usr/lib/tmpfiles.d"
echo 'd /run/tcpcryptd 0700 tcpcryptd tcpcryptd' >"$pkgdir/usr/lib/tmpfiles.d/tcpcryptd.conf"
- install -Dm644 "$srcdir"/tcpcrypt/LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
- install -Dm644 "$srcdir"/tcpcryptd.conf "$pkgdir"/etc/conf.d/tcpcryptd.conf
- install -Dm644 "$srcdir"/tcpcryptd.service "$pkgdir"/usr/lib/systemd/system/tcpcryptd.service
+ install -Dm644 "$srcdir"/tcpcrypt/LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
+ install -Dm644 "$srcdir"/tcpcryptd.conf "$pkgdir"/etc/conf.d/tcpcryptd.conf
+ install -Dm644 "$srcdir"/tcpcryptd.service "$pkgdir"/usr/lib/systemd/system/tcpcryptd.service
+ install -Dm644 "$srcdir"/tcpcryptd.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/tcpcryptd.conf
+ install -Dm644 "$srcdir"/tcpcryptd.sysusers "$pkgdir"/usr/lib/sysusers.d/tcpcryptd.conf
}
# vim:set ts=2 sw=2 et: