summaryrefslogtreecommitdiff
path: root/net-misc/htpdate
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-02-02 01:39:05 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-02-02 01:39:05 +0000
commitfcc5224904648a8e6eb528d7603154160a20022f (patch)
tree3bfce096b38a9cea8eed13fc70c1526c456e9abd /net-misc/htpdate
parent2fd57282f0262ca084e05b0f2c63fbada395d02b (diff)
gentoo resync : 02.02.2022
Diffstat (limited to 'net-misc/htpdate')
-rw-r--r--net-misc/htpdate/Manifest7
-rw-r--r--net-misc/htpdate/files/htpdate-1.2.6-ldlibs.patch35
-rw-r--r--net-misc/htpdate/htpdate-1.3.3.ebuild (renamed from net-misc/htpdate/htpdate-1.2.6.ebuild)27
-rw-r--r--net-misc/htpdate/htpdate-9999.ebuild27
4 files changed, 27 insertions, 69 deletions
diff --git a/net-misc/htpdate/Manifest b/net-misc/htpdate/Manifest
index b7f75a44a3c0..8d8002cee4ad 100644
--- a/net-misc/htpdate/Manifest
+++ b/net-misc/htpdate/Manifest
@@ -1,9 +1,8 @@
-AUX htpdate-1.2.6-ldlibs.patch 916 BLAKE2B 613e7ce001ee6507251d3cca46aaae295b4293e10b8553a49f259bd7722adff8888c10dd9de13cdce042c22b177e10a4cb04b3add97ffe4a8d8a68b8584b4a24 SHA512 c2515949555d70260c21f9cda7b6615a48e44b37c48c84bc356f42595ead0b3c21478e7265a9192e5dcebf00067bb9aa03ae9e9e3ce3145cafc80c6a3a57e435
AUX htpdate.conf 359 BLAKE2B 7bcd2aa3e818ee31796e6f1e3b060cb6c04558fbfcfbdc51cd6b8d787e3cc91ac8870ffd9b95df390bda3c90dd9e186bb6fc2629f56073a97e88fd5dc1141bd6 SHA512 28940548bb15484430cbc63d16eeb03934e6de82cb9729e85450f595712be9caf96e1cb84c55d17dd05f33661c2b657d76bfa8b40a3e0f649a0070aeb8be678b
AUX htpdate.init-r1 507 BLAKE2B facb31723331fd77ae24ff64753cc12c913e35b7ba97997925bd421164dd25d3820e4c7727e14389cd5372635afdf5cc8e313297679e74b3a65ab65f0c4a12b3 SHA512 d18a91792787fdcb4808da042025d60bbe19335fd8492b33af33d33bc24d250bcc65c8ead7d443e4d37a9ca61428361db7b418a5fb3256b030b02b9a772fe10f
DIST htpdate-1.2.2.tar.gz 13625 BLAKE2B 11813def81e3cce1194120a21cf99e8ad288b0f604aab201850f03b6ca786d19792b9586c9d805aa1945bbc651e6afc5099b5c7cb6ea354473a4b3bab01397e3 SHA512 00d52b291004ddb3d0282aef78c5fbe5d9397dbf171a6646803ee7ba4bd0514af6089f7e48a92397dd1b0fbae5ba314f5165c9902028438e16d3516b65724de0
-DIST htpdate-1.2.6.tar.gz 15083 BLAKE2B 913337f51fd26e811e33f195e463adc57e2512ba502f668f2429676d962623ea943bdb1d42ceddf6d35e7e8ba727b3f1300b34a8370ed661b3fa5b4b53ef1af7 SHA512 fe7442be5581eea0579060c02fb4ffe52151c6408d1b47afc9be049d2a8b1c8d0acd3b3481680a4b6a50f52622d47266afc0fe8dc67c5bb2a3aca2422e34f23f
+DIST htpdate-1.3.3.tar.gz 16302 BLAKE2B eb19462e1e5d02fe3cda7f4d2c954e2fe4b8dfcc299dc9094466a8652250ce27d37b2cf85716435639580e48295a92ad65521e0420cecac875c9b6e8074d425a SHA512 5d4892ea3626b80e5d529de873f675616dfef156e91d1e574225f91f9496503f55da43aa4f3522cb2b55da7c41dba7d97b3cc557a2704945577ec0243d8bd7f8
EBUILD htpdate-1.2.2.ebuild 1004 BLAKE2B 5a0491ca50a095a94ff339ab6343c7dae1d359609d3d1d0ec23fa58a2bf85875359e9e50f7e7df849cf84fcc10931c6ccaf18cb8341646ee99bedee7e218ac5e SHA512 0d627e3d4aef1a2f3924382af51207802784cc5cb7c36f3e8a97a9336d5ae398652a580d97567d2ee89e4f0bb885bd3d574fa7b0f6fc0c857bc5c45cc8d900b8
-EBUILD htpdate-1.2.6.ebuild 1531 BLAKE2B 251f6e312942461d3af28f55850940baad3349c8037a7a106829eef3b902225533b2ee62c20b5e985b5c4b725d12cf41b89beed3549d08d00ce8d9a9d30def93 SHA512 a45e9f6f841bcde4ef7cd63b803ec2073b938a0c9568156859d62c2f0fd4a60ee4db6b1b5d3a9c9757df00cf9598a984427c17c290b4bb094796335849a9fa14
-EBUILD htpdate-9999.ebuild 1531 BLAKE2B 251f6e312942461d3af28f55850940baad3349c8037a7a106829eef3b902225533b2ee62c20b5e985b5c4b725d12cf41b89beed3549d08d00ce8d9a9d30def93 SHA512 a45e9f6f841bcde4ef7cd63b803ec2073b938a0c9568156859d62c2f0fd4a60ee4db6b1b5d3a9c9757df00cf9598a984427c17c290b4bb094796335849a9fa14
+EBUILD htpdate-1.3.3.ebuild 1419 BLAKE2B a7e6c5f37ad0f88439655367bbcf85c950cf39bea3bd01190773eefb3f89b27ae0d1a468fa584afa2b83633252972974b83eba241b3230ace191df593af1ad3f SHA512 997518b4bdebe852fe539813ba0024da6a2196f0cc0683dad8a901cc5d5c370f950d6b37ee3f6d12706b246e74167e243d0a1d07d7c55106cc805758054d18e1
+EBUILD htpdate-9999.ebuild 1419 BLAKE2B a7e6c5f37ad0f88439655367bbcf85c950cf39bea3bd01190773eefb3f89b27ae0d1a468fa584afa2b83633252972974b83eba241b3230ace191df593af1ad3f SHA512 997518b4bdebe852fe539813ba0024da6a2196f0cc0683dad8a901cc5d5c370f950d6b37ee3f6d12706b246e74167e243d0a1d07d7c55106cc805758054d18e1
MISC metadata.xml 332 BLAKE2B 6c0897fc2de1055040f534683bd62cf5341a128d3959f75dc1cae9a356a3ec2524f325eb0dd948492bdbc8718edeec627e8280841c8c61ae1b3cf5c54b246c8f SHA512 8c0feeb2a16e0c085b414735707f98fa0a2727a1b9cb1727511fdae315dcd012c59441d78185ecd6f87feb38db4e787ae267e9fd296fa88d64b76bed0d1c8c52
diff --git a/net-misc/htpdate/files/htpdate-1.2.6-ldlibs.patch b/net-misc/htpdate/files/htpdate-1.2.6-ldlibs.patch
deleted file mode 100644
index fea1d85b10bc..000000000000
--- a/net-misc/htpdate/files/htpdate-1.2.6-ldlibs.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From ea14fbcd91e5575bf16bc64b7660a6d02a855d7a Mon Sep 17 00:00:00 2001
-From: Lars Wendler <polynomial-c@gentoo.org>
-Date: Wed, 31 Mar 2021 15:46:38 +0200
-Subject: [PATCH] Makefile: Libraries belong into LDLIBS variable
-
-Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
----
- Makefile | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index 21668a6..a531f90 100644
---- a/Makefile
-+++ b/Makefile
-@@ -8,7 +8,7 @@ PKG_CONFIG ?= pkg-config
-
- ifdef ENABLE_HTTPS
- CFLAGS += -DENABLE_HTTPS
--LDFLAGS += $(shell $(PKG_CONFIG) --libs openssl)
-+LDLIBS = $(shell $(PKG_CONFIG) --libs openssl)
- endif
-
- INSTALL = install -c
-@@ -16,7 +16,7 @@ INSTALL = install -c
- all: htpdate
-
- htpdate: htpdate.c
-- $(CC) $(CFLAGS) $(CPPFLAGS) -o htpdate htpdate.c $(LDFLAGS)
-+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o htpdate htpdate.c $(LDLIBS)
-
- install: all
- mkdir -p $(bindir)
---
-2.31.1
-
diff --git a/net-misc/htpdate/htpdate-1.2.6.ebuild b/net-misc/htpdate/htpdate-1.3.3.ebuild
index 033790209271..eedff8c28a70 100644
--- a/net-misc/htpdate/htpdate-1.2.6.ebuild
+++ b/net-misc/htpdate/htpdate-1.3.3.ebuild
@@ -1,17 +1,17 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit flag-o-matic readme.gentoo-r1 toolchain-funcs
+inherit readme.gentoo-r1 toolchain-funcs
DESCRIPTION="Synchronize local workstation with time offered by remote webservers"
-HOMEPAGE="https://github.com/angeloc/htpdate"
+HOMEPAGE="https://www.vervest.org/htp/"
if [[ "${PV}" == *9999 ]] ; then
inherit git-r3
- EGIT_REPO_URI="https://github.com/angeloc/htpdate.git"
+ EGIT_REPO_URI="https://github.com/twekkel/htpdate"
else
- SRC_URI="https://github.com/angeloc/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+ 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"
@@ -20,12 +20,14 @@ SLOT="0"
DEPEND="ssl? ( dev-libs/openssl:0= )"
RDEPEND="${DEPEND}"
-BDEPEND="ssl? ( virtual/pkgconfig )"
+
+# 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!"
-PATCHES=( "${FILESDIR}/${PN}-1.2.6-ldlibs.patch" )
+PATCHES=( )
src_prepare() {
default
@@ -37,17 +39,12 @@ src_prepare() {
}
src_compile() {
- if use ssl ; then
- append-cflags -DENABLE_HTTPS
- export PKG_CONFIG="$(tc-getPKG_CONFIG)"
- fi
-
- emake CFLAGS="-Wall ${CFLAGS}" CC="$(tc-getCC)" \
- $(usex ssl 'ENABLE_HTTPS=1' '')
+ emake CFLAGS="-Wall ${CFLAGS} ${LDFLAGS}" CC="$(tc-getCC)" \
+ $(usex ssl "https" '')
}
src_install() {
- emake DESTDIR="${D}" bindir='$(prefix)/sbin' install
+ emake DESTDIR="${D}" STRIP="/bin/true" bindir='$(prefix)/sbin' install
dodoc README.md Changelog
newconfd "${FILESDIR}"/htpdate.conf htpdate
diff --git a/net-misc/htpdate/htpdate-9999.ebuild b/net-misc/htpdate/htpdate-9999.ebuild
index 033790209271..eedff8c28a70 100644
--- a/net-misc/htpdate/htpdate-9999.ebuild
+++ b/net-misc/htpdate/htpdate-9999.ebuild
@@ -1,17 +1,17 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit flag-o-matic readme.gentoo-r1 toolchain-funcs
+inherit readme.gentoo-r1 toolchain-funcs
DESCRIPTION="Synchronize local workstation with time offered by remote webservers"
-HOMEPAGE="https://github.com/angeloc/htpdate"
+HOMEPAGE="https://www.vervest.org/htp/"
if [[ "${PV}" == *9999 ]] ; then
inherit git-r3
- EGIT_REPO_URI="https://github.com/angeloc/htpdate.git"
+ EGIT_REPO_URI="https://github.com/twekkel/htpdate"
else
- SRC_URI="https://github.com/angeloc/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+ 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"
@@ -20,12 +20,14 @@ SLOT="0"
DEPEND="ssl? ( dev-libs/openssl:0= )"
RDEPEND="${DEPEND}"
-BDEPEND="ssl? ( virtual/pkgconfig )"
+
+# 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!"
-PATCHES=( "${FILESDIR}/${PN}-1.2.6-ldlibs.patch" )
+PATCHES=( )
src_prepare() {
default
@@ -37,17 +39,12 @@ src_prepare() {
}
src_compile() {
- if use ssl ; then
- append-cflags -DENABLE_HTTPS
- export PKG_CONFIG="$(tc-getPKG_CONFIG)"
- fi
-
- emake CFLAGS="-Wall ${CFLAGS}" CC="$(tc-getCC)" \
- $(usex ssl 'ENABLE_HTTPS=1' '')
+ emake CFLAGS="-Wall ${CFLAGS} ${LDFLAGS}" CC="$(tc-getCC)" \
+ $(usex ssl "https" '')
}
src_install() {
- emake DESTDIR="${D}" bindir='$(prefix)/sbin' install
+ emake DESTDIR="${D}" STRIP="/bin/true" bindir='$(prefix)/sbin' install
dodoc README.md Changelog
newconfd "${FILESDIR}"/htpdate.conf htpdate