diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-07-27 02:59:28 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-07-27 02:59:28 +0000 |
commit | dbcb612e4ba9aab56acf35dc33117ed3f36fa252 (patch) | |
tree | d6dc8ac8e3b67c890bf5ab8ed87ee1a7448313d4 /net-misc | |
parent | fix ekeyword snafu (diff) | |
download | gentoo-2-dbcb612e4ba9aab56acf35dc33117ed3f36fa252.tar.gz gentoo-2-dbcb612e4ba9aab56acf35dc33117ed3f36fa252.tar.bz2 gentoo-2-dbcb612e4ba9aab56acf35dc33117ed3f36fa252.zip |
Version bump.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/tlsdate/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/tlsdate/tlsdate-0.0.13.ebuild | 66 |
2 files changed, 72 insertions, 1 deletions
diff --git a/net-misc/tlsdate/ChangeLog b/net-misc/tlsdate/ChangeLog index becb68140e52..282bc4d1013e 100644 --- a/net-misc/tlsdate/ChangeLog +++ b/net-misc/tlsdate/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/tlsdate # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/tlsdate/ChangeLog,v 1.21 2015/03/06 18:48:11 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/tlsdate/ChangeLog,v 1.22 2015/07/27 02:59:28 vapier Exp $ + +*tlsdate-0.0.13 (27 Jul 2015) + + 27 Jul 2015; Mike Frysinger <vapier@gentoo.org> +tlsdate-0.0.13.ebuild: + Version bump. 06 Mar 2015; Mike Frysinger <vapier@gentoo.org> tlsdate-0.0.12-r2.ebuild: Add ia64 love. diff --git a/net-misc/tlsdate/tlsdate-0.0.13.ebuild b/net-misc/tlsdate/tlsdate-0.0.13.ebuild new file mode 100644 index 000000000000..1e82b46ad2e5 --- /dev/null +++ b/net-misc/tlsdate/tlsdate-0.0.13.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/tlsdate/tlsdate-0.0.13.ebuild,v 1.1 2015/07/27 02:59:28 vapier Exp $ + +EAPI="4" + +inherit autotools vcs-snapshot user + +DESCRIPTION="Update local time over HTTPS" +HOMEPAGE="https://github.com/ioerror/tlsdate" +SRC_URI="https://github.com/ioerror/tlsdate/tarball/${P} -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~x86" +IUSE="dbus +seccomp static-libs" + +DEPEND="dev-libs/openssl + dev-libs/libevent + dbus? ( sys-apps/dbus )" +RDEPEND="${DEPEND}" + +src_prepare() { + # Use the system cert store rather than a custom one specific + # to the tlsdate package. #534394 + sed -i \ + -e 's:/tlsdate/ca-roots/tlsdate-ca-roots.conf:/ssl/certs/ca-certificates.crt:' \ + Makefile.am || die + + eautoreconf +} + +src_configure() { + econf \ + --disable-silent-rules \ + $(use_enable dbus) \ + $(use_enable seccomp seccomp-filter) \ + --disable-hardened-checks \ + --without-polarssl \ + --with-unpriv-user=tlsdate \ + --with-unpriv-group=tlsdate +} + +src_install() { + default + + # Use the system cert store; see src_prepare. #446426 #534394 + rm "${ED}"/etc/tlsdate/ca-roots/tlsdate-ca-roots.conf || die + rmdir "${ED}"/etc/tlsdate/ca-roots || die + + newinitd "${FILESDIR}"/tlsdated.rc tlsdated + newconfd "${FILESDIR}"/tlsdated.confd tlsdated + newinitd "${FILESDIR}"/tlsdate.rc tlsdate + newconfd "${FILESDIR}"/tlsdate.confd tlsdate + + insinto /etc/dbus-1/system.d/ + doins dbus/org.torproject.tlsdate.conf + + use static-libs || \ + find "${ED}"/usr '(' -name '*.la' -o -name '*.a' ')' -delete +} + +pkg_preinst() { + enewgroup tlsdate 124 + enewuser tlsdate 124 -1 /dev/null tlsdate +} |