aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Moone <gentoo@chaoslab.org>2018-12-09 16:58:44 +0000
committerAnthony G. Basile <blueness@gentoo.org>2018-12-09 14:27:36 -0500
commita7f9df81e4962a9c55089bb7b11c7cb89f78dc1e (patch)
treef59c64dbc4128bb7215b5214ae7528b5ff3e4c0e /net-misc
parentDrop net-misc/socat (diff)
downloadlibressl-a7f9df81e4962a9c55089bb7b11c7cb89f78dc1e.tar.gz
libressl-a7f9df81e4962a9c55089bb7b11c7cb89f78dc1e.tar.bz2
libressl-a7f9df81e4962a9c55089bb7b11c7cb89f78dc1e.zip
Drop net-misc/tlsdate
The package was dropped from main tree Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/tlsdate/Manifest1
-rw-r--r--net-misc/tlsdate/files/tlsdate-0.0.13-libressl-no-sslv3-support.patch15
-rw-r--r--net-misc/tlsdate/files/tlsdate-0.0.13-libressl251-SSL_get_state.patch12
-rw-r--r--net-misc/tlsdate/files/tlsdate-0.0.13-tlsdated-service.patch22
-rw-r--r--net-misc/tlsdate/files/tlsdate.confd8
-rw-r--r--net-misc/tlsdate/files/tlsdate.rc17
-rw-r--r--net-misc/tlsdate/files/tlsdated.confd15
-rw-r--r--net-misc/tlsdate/files/tlsdated.default4
-rw-r--r--net-misc/tlsdate/files/tlsdated.rc19
-rw-r--r--net-misc/tlsdate/files/tlsdated.tmpfiles.conf1
-rw-r--r--net-misc/tlsdate/metadata.xml11
-rw-r--r--net-misc/tlsdate/tlsdate-0.0.13.ebuild80
12 files changed, 0 insertions, 205 deletions
diff --git a/net-misc/tlsdate/Manifest b/net-misc/tlsdate/Manifest
deleted file mode 100644
index f7c4156..0000000
--- a/net-misc/tlsdate/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST tlsdate-0.0.13.tar.gz 264228 SHA256 482640a5efb8489f287da1018176fb1196adf7cb1b81ac0c7f2b419b43d44258 SHA512 9c4fd51439976a8541fdf1bb70afa5333b43b2e43b801a65b3b1ac3e4a437fd3021ef2aaeeb13fc1ba63ccd119f6eff4c10e3a5a28cf0cfd96bbc7a174dbb789 WHIRLPOOL db91755d4751e64ca6285c9f1492d1b82a06f97921a47168398377818407efe6a0fcb901ef93272f0ff66121893873bb360868207998d054c5a550734b05db06
diff --git a/net-misc/tlsdate/files/tlsdate-0.0.13-libressl-no-sslv3-support.patch b/net-misc/tlsdate/files/tlsdate-0.0.13-libressl-no-sslv3-support.patch
deleted file mode 100644
index b83ba7c..0000000
--- a/net-misc/tlsdate/files/tlsdate-0.0.13-libressl-no-sslv3-support.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- a/src/tlsdate-helper.c
-+++ b/src/tlsdate-helper.c
-@@ -1133,10 +1133,12 @@ run_ssl (uint32_t *time_map, int time_is
- {
- verb ("V: using SSLv23_client_method()");
- ctx = SSL_CTX_new(SSLv23_client_method());
-+#ifndef OPENSSL_NO_SSL3
- } else if (0 == strcmp("sslv3", protocol))
- {
- verb ("V: using SSLv3_client_method()");
- ctx = SSL_CTX_new(SSLv3_client_method());
-+#endif
- } else if (0 == strcmp("tlsv1", protocol))
- {
- verb ("V: using TLSv1_client_method()");
diff --git a/net-misc/tlsdate/files/tlsdate-0.0.13-libressl251-SSL_get_state.patch b/net-misc/tlsdate/files/tlsdate-0.0.13-libressl251-SSL_get_state.patch
deleted file mode 100644
index c51b300..0000000
--- a/net-misc/tlsdate/files/tlsdate-0.0.13-libressl251-SSL_get_state.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur ioerror-tlsdate-ae33169.orig/src/tlsdate-helper.c ioerror-tlsdate-ae33169/src/tlsdate-helper.c
---- ioerror-tlsdate-ae33169.orig/src/tlsdate-helper.c 2017-04-28 08:00:52.458805233 -0700
-+++ ioerror-tlsdate-ae33169/src/tlsdate-helper.c 2017-04-28 10:45:04.182602704 -0700
-@@ -374,7 +374,7 @@
- openssl_time_callback (const SSL* ssl, int where, int ret)
- {
- if (where == SSL_CB_CONNECT_LOOP &&
-- (ssl->state == SSL3_ST_CR_SRVR_HELLO_A || ssl->state == SSL3_ST_CR_SRVR_HELLO_B))
-+ (SSL_get_state(ssl) == SSL3_ST_CR_SRVR_HELLO_A || SSL_get_state(ssl) == SSL3_ST_CR_SRVR_HELLO_B))
- {
- // XXX TODO: If we want to trust the remote system for time,
- // can we just read that time out of the remote system and if the
diff --git a/net-misc/tlsdate/files/tlsdate-0.0.13-tlsdated-service.patch b/net-misc/tlsdate/files/tlsdate-0.0.13-tlsdated-service.patch
deleted file mode 100644
index df03833..0000000
--- a/net-misc/tlsdate/files/tlsdate-0.0.13-tlsdated-service.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From: Dominik Kriegner <dominik.kriegner@gmail.com>
-Date: Tue, 26 Jan 2016 12:12:26 +0000
-Subject: [PATCH] Fix systemd unit file
-
-Project-Bug-URL: https://github.com/ioerror/tlsdate/pull/162
-Gentoo-Bug-URL: https://bugs.gentoo.org/533380
-
---- a/systemd/tlsdated.service
-+++ b/systemd/tlsdated.service
-@@ -5,6 +5,9 @@ After=network.target
- [Service]
- Type=simple
- EnvironmentFile=/etc/default/tlsdated
--ExecStart=/usr/sbin/tlsdated ${DAEMON_OPTS}
--ExecReload=/bin/kill -HUP ${MAINPID}
--ExecStop=/bin/kill -INT ${MAINPID}
-+ExecStart=/usr/sbin/tlsdated $DAEMON_OPTS
-+ExecReload=/bin/kill -HUP $MAINPID
-+ExecStop=/bin/kill -INT $MAINPID
-+
-+[Install]
-+WantedBy=multi-user.target
diff --git a/net-misc/tlsdate/files/tlsdate.confd b/net-misc/tlsdate/files/tlsdate.confd
deleted file mode 100644
index 2d7ed03..0000000
--- a/net-misc/tlsdate/files/tlsdate.confd
+++ /dev/null
@@ -1,8 +0,0 @@
-# config file for /etc/init.d/tlsdate
-
-# Command to execute to set the time.
-# This are some common tlsdate options:
-# -l: leap (set time regardless of difference)
-# -H: hostname to sync with
-# -x: proxy URL
-TLSDATE_OPTS="-l -H www.google.com"
diff --git a/net-misc/tlsdate/files/tlsdate.rc b/net-misc/tlsdate/files/tlsdate.rc
deleted file mode 100644
index 8207cec..0000000
--- a/net-misc/tlsdate/files/tlsdate.rc
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-description="set time once when started"
-
-depend() {
- use net
-}
-
-start() {
- : ${TLSDATE_CMD:=tlsdate}
- ebegin "Setting clock via tlsdate '${TLSDATE_CMD}'"
- "${TLSDATE_CMD}" ${TLSDATE_OPTS}
- eend $? "Failed to set clock"
-}
diff --git a/net-misc/tlsdate/files/tlsdated.confd b/net-misc/tlsdate/files/tlsdated.confd
deleted file mode 100644
index d257289..0000000
--- a/net-misc/tlsdate/files/tlsdated.confd
+++ /dev/null
@@ -1,15 +0,0 @@
-# config file for /etc/init.d/tlsdated
-
-# Command to execute to set the time.
-# This are some common tlsdate options:
-# -l: leap (set time regardless of difference)
-# -H: hostname to sync with
-# -x: proxy URL
-TLSDATED_CMD="/usr/bin/tlsdate -l -H www.google.com"
-
-# Additional options; see `man tlsdated` for reference.
-TLSDATED_OPTS=""
-
-# Cache dir. Probably don't need to change this.
-# It matches the compiled-in default.
-TLSDATED_CACHE_DIR="/var/cache/tlsdated"
diff --git a/net-misc/tlsdate/files/tlsdated.default b/net-misc/tlsdate/files/tlsdated.default
deleted file mode 100644
index 08186f7..0000000
--- a/net-misc/tlsdate/files/tlsdated.default
+++ /dev/null
@@ -1,4 +0,0 @@
-# defaults file for /etc/default/tlsdated
-
-# Additional options; see `man tlsdated` for reference.
-DEAMON_OPTS=""
diff --git a/net-misc/tlsdate/files/tlsdated.rc b/net-misc/tlsdate/files/tlsdated.rc
deleted file mode 100644
index 1496474..0000000
--- a/net-misc/tlsdate/files/tlsdated.rc
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-description="start a daemon to continuously set time via a helper"
-
-command="tlsdated"
-command_args="${TLSDATED_OPTS} -- ${TLSDATED_CMD}"
-command_background="true"
-pidfile="/var/run/${SVCNAME}.pid"
-
-depend() {
- use net
-}
-
-start_pre() {
- checkpath -d -m 0700 -o tlsdate:tlsdate "${TLSDATED_CACHE_DIR}"
-}
diff --git a/net-misc/tlsdate/files/tlsdated.tmpfiles.conf b/net-misc/tlsdate/files/tlsdated.tmpfiles.conf
deleted file mode 100644
index 07a7966..0000000
--- a/net-misc/tlsdate/files/tlsdated.tmpfiles.conf
+++ /dev/null
@@ -1 +0,0 @@
-d /var/cache/tlsdated 0700 tlsdate tlsdate -
diff --git a/net-misc/tlsdate/metadata.xml b/net-misc/tlsdate/metadata.xml
deleted file mode 100644
index 82f0444..0000000
--- a/net-misc/tlsdate/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>vapier@gentoo.org</email>
- <description>feel free to fix things</description>
- </maintainer>
- <upstream>
- <remote-id type="github">ioerror/tlsdate</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-misc/tlsdate/tlsdate-0.0.13.ebuild b/net-misc/tlsdate/tlsdate-0.0.13.ebuild
deleted file mode 100644
index 0d47a75..0000000
--- a/net-misc/tlsdate/tlsdate-0.0.13.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools eutils systemd 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 arm64 hppa ia64 m68k ~mips s390 sh sparc x86"
-IUSE="dbus libressl +seccomp static-libs"
-
-DEPEND="
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:0= )
- dev-libs/libevent:=
- dbus? ( sys-apps/dbus )"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${P}-tlsdated-service.patch
- "${FILESDIR}"/${P}-libressl-no-sslv3-support.patch
- "${FILESDIR}"/${P}-libressl251-SSL_get_state.patch
-)
-
-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
-
- default
-
- eautoreconf
-}
-
-src_configure() {
- econf \
- --disable-silent-rules \
- $(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 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
-
- systemd_newunit "${S}"/systemd/tlsdated.service tlsdated.service
- systemd_newtmpfilesd "${FILESDIR}"/tlsdated.tmpfiles.conf tlsdated.conf
- insinto /etc/default
- newins "${FILESDIR}"/tlsdated.default tlsdated
-
- 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
-}