diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-05 02:06:51 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-05 02:06:51 +0100 |
commit | a5a60a0e01733705770f24a57953bf44ee06467d (patch) | |
tree | 5fa8cc0b689bd45faed74f1be3dcd0a64c8df50b /net-misc/htpdate | |
parent | a87d0d6b8bfa400637c56d3194b22fca5cbd6f9e (diff) |
gentoo auto-resync : 05:08:2022 - 02:06:51
Diffstat (limited to 'net-misc/htpdate')
-rw-r--r-- | net-misc/htpdate/Manifest | 6 | ||||
-rw-r--r-- | net-misc/htpdate/htpdate-1.3.5.ebuild | 55 | ||||
-rw-r--r-- | net-misc/htpdate/htpdate-9999.ebuild | 13 | ||||
-rw-r--r-- | net-misc/htpdate/metadata.xml | 2 |
4 files changed, 67 insertions, 9 deletions
diff --git a/net-misc/htpdate/Manifest b/net-misc/htpdate/Manifest index 97284ba5ba2c..fa538fe9b2a5 100644 --- a/net-misc/htpdate/Manifest +++ b/net-misc/htpdate/Manifest @@ -3,8 +3,10 @@ AUX htpdate.init-r1 507 BLAKE2B facb31723331fd77ae24ff64753cc12c913e35b7ba979979 DIST htpdate-1.2.2.tar.gz 13625 BLAKE2B 11813def81e3cce1194120a21cf99e8ad288b0f604aab201850f03b6ca786d19792b9586c9d805aa1945bbc651e6afc5099b5c7cb6ea354473a4b3bab01397e3 SHA512 00d52b291004ddb3d0282aef78c5fbe5d9397dbf171a6646803ee7ba4bd0514af6089f7e48a92397dd1b0fbae5ba314f5165c9902028438e16d3516b65724de0 DIST htpdate-1.3.3.tar.gz 16302 BLAKE2B eb19462e1e5d02fe3cda7f4d2c954e2fe4b8dfcc299dc9094466a8652250ce27d37b2cf85716435639580e48295a92ad65521e0420cecac875c9b6e8074d425a SHA512 5d4892ea3626b80e5d529de873f675616dfef156e91d1e574225f91f9496503f55da43aa4f3522cb2b55da7c41dba7d97b3cc557a2704945577ec0243d8bd7f8 DIST htpdate-1.3.4.tar.gz 16312 BLAKE2B 9ebff6df6de69fa310a6459099cff2bf5ec28ac2bb486a29121b87b93505f6bb31b4debc510dc82b7d7b7cce217d9002ec7606fcf4fa863d7b2cfc78dfc6e8d5 SHA512 634317966f1e5c5d78a889a398e77f89505a5918efa076e2cd1184341f25d963b7f1c135afee7d5489bd8a20b2421d9dfea312e09b5e6bdd389626bfd4d2d960 +DIST htpdate-1.3.5.tar.gz 16661 BLAKE2B 063e5c46b86b6f99a500ff2054110b37157c11bd09b20db06d845b632a0e4d954f2f5cf8fd935f8fd8a69f0e64e0f3db1cb734fa24a77bf2b07855dd3fad9a3c SHA512 db1d237588e44e6eb113d046be2f68b5fac96cc7dc54b4522e1b61ca20a0ea3674265db03796fd6442fab58b82273e6a81ae3914c6d531e03f4fc5f65a3507e3 EBUILD htpdate-1.2.2.ebuild 1004 BLAKE2B 5a0491ca50a095a94ff339ab6343c7dae1d359609d3d1d0ec23fa58a2bf85875359e9e50f7e7df849cf84fcc10931c6ccaf18cb8341646ee99bedee7e218ac5e SHA512 0d627e3d4aef1a2f3924382af51207802784cc5cb7c36f3e8a97a9336d5ae398652a580d97567d2ee89e4f0bb885bd3d574fa7b0f6fc0c857bc5c45cc8d900b8 EBUILD htpdate-1.3.3.ebuild 1419 BLAKE2B a7e6c5f37ad0f88439655367bbcf85c950cf39bea3bd01190773eefb3f89b27ae0d1a468fa584afa2b83633252972974b83eba241b3230ace191df593af1ad3f SHA512 997518b4bdebe852fe539813ba0024da6a2196f0cc0683dad8a901cc5d5c370f950d6b37ee3f6d12706b246e74167e243d0a1d07d7c55106cc805758054d18e1 EBUILD htpdate-1.3.4.ebuild 1419 BLAKE2B 6b8ce12848ba935d75baee8fb6201909092ce0d99a978fd30715ea9a37e05c6f3afb1fef46731714dcb8f7886d4f3c88626fff173b43231613921c92555eae3d SHA512 cf90b252aef4b7b49f618a864e6ce7129a32107f46cd00534d5bc682a2970b127fea7a5dfd3606b78cfc141f03d0ed9c4cc6d8498c6392dc78ea70a7e696fc66 -EBUILD htpdate-9999.ebuild 1419 BLAKE2B 6b8ce12848ba935d75baee8fb6201909092ce0d99a978fd30715ea9a37e05c6f3afb1fef46731714dcb8f7886d4f3c88626fff173b43231613921c92555eae3d SHA512 cf90b252aef4b7b49f618a864e6ce7129a32107f46cd00534d5bc682a2970b127fea7a5dfd3606b78cfc141f03d0ed9c4cc6d8498c6392dc78ea70a7e696fc66 -MISC metadata.xml 248 BLAKE2B 36b9e99b1cad92095b644b68bbb5b7291d851b07b5ac4151a4b79944751d33aa8f7a7680003e8faf2639c1bd96143ebc9cdb408752ab1de4b08eb84f311c11ad SHA512 1e303129601f933d75d269965d19944251432c8020f240672f51e95db752297fccf464de809b0a89832507e069f05178da09f6ffbbacf461bc895f392cfcfe2b +EBUILD htpdate-1.3.5.ebuild 1421 BLAKE2B f22a09569f62620ce0f96e981f10904bbf5a7228749bfe642bfd4759923cd779cec3aa71b0b9c63126d85378dd53e2070b776e464f4250e674aa1b7f6e258eca SHA512 22dc3f9bcf28ec5f2271247c56898402f389d1140a7f53527bc75df5d46bf035d2cbd5a3c6db92a715e560f9521cea0b02e81b2a61d6ef10525de8ee3c8e1663 +EBUILD htpdate-9999.ebuild 1421 BLAKE2B f22a09569f62620ce0f96e981f10904bbf5a7228749bfe642bfd4759923cd779cec3aa71b0b9c63126d85378dd53e2070b776e464f4250e674aa1b7f6e258eca SHA512 22dc3f9bcf28ec5f2271247c56898402f389d1140a7f53527bc75df5d46bf035d2cbd5a3c6db92a715e560f9521cea0b02e81b2a61d6ef10525de8ee3c8e1663 +MISC metadata.xml 248 BLAKE2B f5c045d2e881d6a26695acc21e8d807e3c2a728c0ea7b6ad9eabb8b12db116d77317d9aa4c70258f3bcac8417870aec65249dbadd1f708eaa20ef13f012c94de SHA512 6d323edff42767ba94ff43583a291a9d2133fc9a40563b112397f677ae458f729e160c7fbd93e4405575409c0f0e86ff2fac462ec6e14674ba577a9ac0fa326a diff --git a/net-misc/htpdate/htpdate-1.3.5.ebuild b/net-misc/htpdate/htpdate-1.3.5.ebuild new file mode 100644 index 000000000000..51cf1b0a1728 --- /dev/null +++ b/net-misc/htpdate/htpdate-1.3.5.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit readme.gentoo-r1 toolchain-funcs + +DESCRIPTION="Synchronize local workstation with time offered by remote webservers" +HOMEPAGE="https://www.vervest.org/htp/" +if [[ ${PV} == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/twekkel/htpdate" +else + SRC_URI="https://github.com/twekkel/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="+ssl" + +DEPEND="ssl? ( dev-libs/openssl:0= )" +RDEPEND="${DEPEND}" + +# Test suite tries to connect to the Internet +RESTRICT="test" + +DOC_CONTENTS="If you would like to run htpdate as a daemon, set +appropriate http servers in /etc/conf.d/htpdate!" + +src_prepare() { + default + + # Use more standard adjtimex() to fix uClibc builds. + sed -i 's:ntp_adjtime:adjtimex:g' htpdate.[8c] || die + # Don't compress man pages by default + sed '/gzip/d' -i Makefile || die +} + +src_compile() { + emake \ + CFLAGS="-Wall ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" \ + CC="$(tc-getCC)" \ + $(usev ssl 'https') +} + +src_install() { + emake DESTDIR="${D}" STRIP="/bin/true" bindir='$(prefix)/sbin' install + dodoc README.md Changelog + + newconfd "${FILESDIR}"/htpdate.conf htpdate + newinitd "${FILESDIR}"/htpdate.init-r1 htpdate + + readme.gentoo_create_doc +} diff --git a/net-misc/htpdate/htpdate-9999.ebuild b/net-misc/htpdate/htpdate-9999.ebuild index 31e1a7d493bf..51cf1b0a1728 100644 --- a/net-misc/htpdate/htpdate-9999.ebuild +++ b/net-misc/htpdate/htpdate-9999.ebuild @@ -7,16 +7,17 @@ inherit readme.gentoo-r1 toolchain-funcs DESCRIPTION="Synchronize local workstation with time offered by remote webservers" HOMEPAGE="https://www.vervest.org/htp/" -if [[ "${PV}" == *9999 ]] ; then +if [[ ${PV} == *9999 ]] ; then inherit git-r3 EGIT_REPO_URI="https://github.com/twekkel/htpdate" else SRC_URI="https://github.com/twekkel/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux" fi -IUSE="+ssl" + LICENSE="GPL-2" SLOT="0" +IUSE="+ssl" DEPEND="ssl? ( dev-libs/openssl:0= )" RDEPEND="${DEPEND}" @@ -27,8 +28,6 @@ RESTRICT="test" DOC_CONTENTS="If you would like to run htpdate as a daemon, set appropriate http servers in /etc/conf.d/htpdate!" -PATCHES=( ) - src_prepare() { default @@ -39,8 +38,10 @@ src_prepare() { } src_compile() { - emake CFLAGS="-Wall ${CFLAGS} ${LDFLAGS}" CC="$(tc-getCC)" \ - $(usex ssl "https" '') + emake \ + CFLAGS="-Wall ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" \ + CC="$(tc-getCC)" \ + $(usev ssl 'https') } src_install() { diff --git a/net-misc/htpdate/metadata.xml b/net-misc/htpdate/metadata.xml index 4c126b243f03..107df4bdc625 100644 --- a/net-misc/htpdate/metadata.xml +++ b/net-misc/htpdate/metadata.xml @@ -3,6 +3,6 @@ <pkgmetadata> <!-- maintainer-needed --> <upstream> - <remote-id type="github">angeloc/htpdate</remote-id> + <remote-id type="github">twekkel/htpdate</remote-id> </upstream> </pkgmetadata> |