/[gentoo-x86]/net-misc/tlsdate/tlsdate-0.0.4-r1.ebuild
Gentoo

Contents of /net-misc/tlsdate/tlsdate-0.0.4-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Tue Dec 11 01:49:23 2012 UTC (6 years, 4 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Drop install of unused ca-roots file #446426 by Maxim Kammerer.  Add init.d files for tlsdate/tlsdated #446428 by Maxim Kammerer.

(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)

1 vapier 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/net-misc/tlsdate/tlsdate-0.0.4.ebuild,v 1.1 2012/11/09 04:07:15 vapier Exp $
4    
5     EAPI="4"
6    
7     inherit autotools vcs-snapshot flag-o-matic
8    
9     DESCRIPTION="Update local time over HTTPS"
10     HOMEPAGE="https://github.com/ioerror/tlsdate"
11     SRC_URI="https://github.com/ioerror/tlsdate/tarball/${P} -> ${P}.tar.gz"
12    
13     LICENSE="BSD"
14     SLOT="0"
15     KEYWORDS="~amd64 ~arm ~x86"
16     IUSE="static-libs"
17    
18     DEPEND="dev-libs/openssl"
19     RDEPEND="${DEPEND}"
20    
21     src_prepare() {
22     sed -i -r '/^[[:space:]]AX_(APPEND_COMPILE_FLAGS|CHECK_LINK_FLAG)[(]/d' configure.ac || die
23     eautoreconf
24     append-cppflags "-DUNPRIV_GROUP='\"nobody\"'"
25     }
26    
27     src_install() {
28     default
29     rm -r "${ED}"/etc || die #446426
30     newinitd "${FILESDIR}"/tlsdated.rc tlsdated
31     newconfd "${FILESDIR}"/tlsdated.confd tlsdated
32     newinitd "${FILESDIR}"/tlsdate.rc tlsdate
33     newconfd "${FILESDIR}"/tlsdate.confd tlsdate
34     use static-libs || \
35     find "${ED}"/usr '(' -name '*.la' -o -name '*.a' ')' -delete
36     }

  ViewVC Help
Powered by ViewVC 1.1.20