net-misc/tlsdate: Remove last-rited pkg
authorMichał Górny <mgorny@gentoo.org>
Tue, 4 Dec 2018 16:52:27 +0000 (17:52 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 4 Dec 2018 16:53:40 +0000 (17:53 +0100)
Closes: https://bugs.gentoo.org/637286
Signed-off-by: Michał Górny <mgorny@gentoo.org>
13 files changed:
net-misc/tlsdate/Manifest [deleted file]
net-misc/tlsdate/files/tlsdate-0.0.13-tlsdated-service.patch [deleted file]
net-misc/tlsdate/files/tlsdate.confd [deleted file]
net-misc/tlsdate/files/tlsdate.rc [deleted file]
net-misc/tlsdate/files/tlsdated.confd [deleted file]
net-misc/tlsdate/files/tlsdated.default [deleted file]
net-misc/tlsdate/files/tlsdated.rc [deleted file]
net-misc/tlsdate/files/tlsdated.tmpfiles.conf [deleted file]
net-misc/tlsdate/metadata.xml [deleted file]
net-misc/tlsdate/tlsdate-0.0.13.ebuild [deleted file]
profiles/arch/arm64/package.use.mask
profiles/arch/mips/package.use.mask
profiles/package.mask

diff --git a/net-misc/tlsdate/Manifest b/net-misc/tlsdate/Manifest
deleted file mode 100644 (file)
index a78d72f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-DIST tlsdate-0.0.13.tar.gz 264228 BLAKE2B 74d915ee070ddc62ec25696557d1dda3ce677c6a46e38b0a8462821cf7f99f0f75ed08e318bfd0145bfc08ed5773d77148edecec1ac90f143912bb0219849005 SHA512 9c4fd51439976a8541fdf1bb70afa5333b43b2e43b801a65b3b1ac3e4a437fd3021ef2aaeeb13fc1ba63ccd119f6eff4c10e3a5a28cf0cfd96bbc7a174dbb789
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 (file)
index df03833..0000000
+++ /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 (file)
index 2d7ed03..0000000
+++ /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 (file)
index 3c5163a..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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 (file)
index d257289..0000000
+++ /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 (file)
index 08186f7..0000000
+++ /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 (file)
index d0814c8..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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 (file)
index 07a7966..0000000
+++ /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 (file)
index a438354..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-       <!-- maintainer-needed -->
-       <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 (file)
index 135c195..0000000
+++ /dev/null
@@ -1,76 +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 +seccomp static-libs"
-
-DEPEND="dev-libs/openssl:0=
-       dev-libs/libevent:=
-       dbus? ( sys-apps/dbus )"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
-       "${FILESDIR}"/${P}-tlsdated-service.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
-}
index 879b7bae9599de0a66cb3e2f79694c30e5690e2e..7b14c4a3c273b5295a924b3f35b9a4c938e08d78 100644 (file)
@@ -373,10 +373,6 @@ dev-libs/libcdio cddb
 # Chromium uses an internal tcmalloc that doesn't support this arch yet.
 www-client/chromium tcmalloc
 
-# Mike Frysinger <vapier@gentoo.org> (17 Dec 2015)
-# The tlsdate seccomp logic is open-coded and doesn't support this arch yet.
-net-misc/tlsdate seccomp
-
 # Mike Frysinger <vapier@gentoo.org> (20 Jul 2015)
 # Mart Raudsepp <leio@gentoo.org> (04 Feb 2017)
 # Needs deps tested.
index 583a2734c70c0e3ae50958272e1a5c38f27352cf..a6722e9627a1b2cb2fa0c50ad57f198a0c09a56f 100644 (file)
@@ -71,10 +71,6 @@ net-dns/dnsmasq conntrack
 # net-libs/openpgm is not keyworded on mips
 net-libs/zeromq pgm
 
-# Mike Frysinger <vapier@gentoo.org> (17 Dec 2015)
-# The tlsdate seccomp logic is open-coded and doesn't support this arch yet.
-net-misc/tlsdate seccomp
-
 # Davide Pesavento <pesa@gentoo.org> (26 Oct 2015)
 # Tests require non-keyworded qt5
 dev-qt/qtchooser test
index ef5b906132dbc911517bcc5787aa8df99a794f6a..d8fddf1fb36217b230c51c296019a5c66b4dec56 100644 (file)
@@ -374,12 +374,6 @@ dev-libs/libsolv
 # bump. Removal in a month.
 dev-lua/lua-openssl
 
-# Pacho Ramos <pacho@gentoo.org> (04 Nov 2018)
-# Upstream dead for ages, crashes (#637286), build issues (#592580).
-# Migration to Google fork or other alternative will be needed. Removal in a
-# month.
-net-misc/tlsdate
-
 # Andreas Sturmlechner <asturm@gentoo.org> (03 Nov 2018)
 # Breaks revdeps (GDir and GDirEntry split from gfile.h into new gdir.h)
 # See tracker: https://bugs.gentoo.org/670222