vapier 15/02/14 04:54:33 Modified: ChangeLog Added: tlsdate-0.0.12-r2.ebuild Log: Use the whole system cert store rather than hardcoding a specific CA #534394. (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Revision Changes Path 1.16 net-misc/tlsdate/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tlsdate/ChangeLog?rev=1.16&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tlsdate/ChangeLog?rev=1.16&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tlsdate/ChangeLog?r1=1.15&r2=1.16 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-misc/tlsdate/ChangeLog,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- ChangeLog 1 Feb 2015 21:10:57 -0000 1.15 +++ ChangeLog 14 Feb 2015 04:54:32 -0000 1.16 @@ -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.15 2015/02/01 21:10:57 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/tlsdate/ChangeLog,v 1.16 2015/02/14 04:54:32 vapier Exp $ + +*tlsdate-0.0.12-r2 (14 Feb 2015) + + 14 Feb 2015; Mike Frysinger <[email protected]> +tlsdate-0.0.12-r2.ebuild: + Use the whole system cert store rather than hardcoding a specific CA #534394. 01 Feb 2015; Markus Meier <[email protected]> tlsdate-0.0.12-r1.ebuild: arm stable, bug #538200 1.1 net-misc/tlsdate/tlsdate-0.0.12-r2.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tlsdate/tlsdate-0.0.12-r2.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tlsdate/tlsdate-0.0.12-r2.ebuild?rev=1.1&content-type=text/plain Index: tlsdate-0.0.12-r2.ebuild =================================================================== # 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.12-r2.ebuild,v 1.1 2015/02/14 04:54:32 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 ~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 \ $(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 Google servers by default rather than a random German site. # They provide round robin DNS and local servers automatically. sed -i \ -e 's:www.ptb.de:www.google.com:' \ "${ED}"/etc/tlsdate/tlsdated.conf || die # 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 }
