Diff htpdate-1.3.6 with a htpdate-9999
| /usr/portage/net-misc/htpdate/htpdate-9999.ebuild 2025-07-29 16:22:17.280467528 +0300 | ||
|---|---|---|
| 1 | # Copyright 1999-2023 Gentoo Authors | |
| 1 | # Copyright 1999-2025 Gentoo Authors | |
| 2 | 2 | # Distributed under the terms of the GNU General Public License v2 | 
| 3 | 3 | |
| 4 | 4 | EAPI=8 | 
| ... | ... | |
| 12 | 12 | EGIT_REPO_URI="https://github.com/twekkel/htpdate" | 
| 13 | 13 | else | 
| 14 | 14 | 	SRC_URI="https://github.com/twekkel/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" | 
| 15 | KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ~ppc64 ~s390 x86 ~amd64-linux ~x86-linux" | |
| 15 | KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux" | |
| 16 | 16 | fi | 
| 17 | 17 | |
| 18 | LICENSE="GPL-2" | |
| 18 | LICENSE="GPL-2+" | |
| 19 | 19 | SLOT="0" | 
| 20 | 20 | IUSE="+ssl" | 
| 21 | 21 | |
| ... | ... | |
| 23 | 23 | RDEPEND="${DEPEND}" | 
| 24 | 24 | |
| 25 | 25 | # Test suite tries to connect to the Internet | 
| 26 | #PROPERTIES="test_network" | |
| 27 | # ... but seems to fail even if allowing that? | |
| 26 | 28 | RESTRICT="test" | 
| 27 | 29 | |
| 28 | 30 | DOC_CONTENTS="If you would like to run htpdate as a daemon, set | 
| ... | ... | |
| 31 | 33 | src_prepare() { | 
| 32 | 34 | default | 
| 33 | 35 | |
| 34 | # Use more standard adjtimex() to fix uClibc builds. | |
| 35 | sed -i 's:ntp_adjtime:adjtimex:g' htpdate.[8c] || die | |
| 36 | 36 | # Don't compress man pages by default | 
| 37 | 37 | sed '/gzip/d' -i Makefile || die | 
| 38 | 38 | } | 
