diff options
author | William Pitcock <nenolod@dereferenced.org> | 2012-09-24 23:20:02 -0500 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2012-09-24 23:20:02 -0500 |
commit | 132fe4e21308d7ca050afd2d2a3a0dae8a43336f (patch) | |
tree | 37599d11fa45adea33ca8ff03e324a97ed5a05ce /main/tlsdate | |
parent | 5032eb171fcb58eb4b66c5e2dad6d0fd75ed84d8 (diff) | |
download | aports-132fe4e21308d7ca050afd2d2a3a0dae8a43336f.tar.bz2 aports-132fe4e21308d7ca050afd2d2a3a0dae8a43336f.tar.xz |
main/tlsdate: move from testing
Diffstat (limited to 'main/tlsdate')
-rw-r--r-- | main/tlsdate/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/main/tlsdate/APKBUILD b/main/tlsdate/APKBUILD new file mode 100644 index 0000000000..e7333a466d --- /dev/null +++ b/main/tlsdate/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: +# Maintainer: +pkgname=tlsdate +pkgver=0.0.1 +pkgrel=0 +pkgdesc="secure parasitic rdate replacement" +url="https://github.com/ioerror/tlsdate" +arch="all" +license="BSD" +depends="" +depends_dev="" +makedepends="autoconf automake libtool openssl-dev" +install="" +subpackages="$pkgname-doc" +source="saveas-https://github.com/ioerror/tlsdate/tarball/tlsdate-${pkgver}/tlsdate-${pkgver}.tar.gz" + +_builddir="$srcdir/tlsdate-${pkgver}" +prepare() { + local i + mv $srcdir/ioerror-tlsdate-* "$srcdir/tlsdate-${pkgver}" + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + autoreconf --install + ./configure --prefix=/usr \ + --sysconfdir=/etc || return 1 + make CFLAGS+="-DUNPRIV_GROUP='\"nobody\"'" || return 1 +} + +package() { + cd "$_builddir" + make install DESTDIR="$pkgdir" || return 1 +} + +md5sums="1ecbb47785db7de0151a7f7a6238228e tlsdate-0.0.1.tar.gz" |