diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-01-23 22:36:10 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2013-01-23 22:36:10 +0000 |
commit | b6c16cbb00349f76e2963b42f1b587c1563febbd (patch) | |
tree | b06aceeb322d4c98f41927eb14bf0c53f31f0abd /net-misc/tlsdate | |
parent | version bump (bug #452282) (diff) | |
download | gentoo-2-b6c16cbb00349f76e2963b42f1b587c1563febbd.tar.gz gentoo-2-b6c16cbb00349f76e2963b42f1b587c1563febbd.tar.bz2 gentoo-2-b6c16cbb00349f76e2963b42f1b587c1563febbd.zip |
Version bump.
(Portage version: 2.2.0_alpha159/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Diffstat (limited to 'net-misc/tlsdate')
-rw-r--r-- | net-misc/tlsdate/ChangeLog | 9 | ||||
-rw-r--r-- | net-misc/tlsdate/tlsdate-0.0.5.ebuild | 48 |
2 files changed, 55 insertions, 2 deletions
diff --git a/net-misc/tlsdate/ChangeLog b/net-misc/tlsdate/ChangeLog index 508eaec90606..717dcb0b831f 100644 --- a/net-misc/tlsdate/ChangeLog +++ b/net-misc/tlsdate/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/tlsdate -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/tlsdate/ChangeLog,v 1.5 2012/12/19 21:03:38 vapier Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/tlsdate/ChangeLog,v 1.6 2013/01/23 22:36:10 vapier Exp $ + +*tlsdate-0.0.5 (23 Jan 2013) + + 23 Jan 2013; Mike Frysinger <vapier@gentoo.org> +tlsdate-0.0.5.ebuild: + Version bump. *tlsdate-0.0.4-r2 (19 Dec 2012) diff --git a/net-misc/tlsdate/tlsdate-0.0.5.ebuild b/net-misc/tlsdate/tlsdate-0.0.5.ebuild new file mode 100644 index 000000000000..746227c65fcb --- /dev/null +++ b/net-misc/tlsdate/tlsdate-0.0.5.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/tlsdate/tlsdate-0.0.5.ebuild,v 1.1 2013/01/23 22:36:10 vapier Exp $ + +EAPI="4" + +inherit autotools vcs-snapshot eutils + +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 ~x86" +IUSE="dbus static-libs" + +DEPEND="dev-libs/openssl + dbus? ( sys-apps/dbus )" +RDEPEND="${DEPEND}" + +src_prepare() { + eautoreconf +} + +src_configure() { + econf \ + $(use_enable dbus) \ + --disable-hardened-checks \ + --with-unpriv-user=tlsdate \ + --with-unpriv-group=tlsdate +} + +src_install() { + default + rm -r "${ED}"/etc || die #446426 + newinitd "${FILESDIR}"/tlsdated.rc tlsdated + newconfd "${FILESDIR}"/tlsdated.confd tlsdated + newinitd "${FILESDIR}"/tlsdate.rc tlsdate + newconfd "${FILESDIR}"/tlsdate.confd tlsdate + use static-libs || \ + find "${ED}"/usr '(' -name '*.la' -o -name '*.a' ')' -delete +} + +pkg_preinst() { + enewgroup tlsdate 124 + enewuser tlsdate 124 -1 /dev/null tlsdate +} |