commit:     1ef5c90da458e082674b5ed07ba9c0031839302f
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  5 23:08:01 2016 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Apr  5 23:08:01 2016 +0000
URL:        https://gitweb.gentoo.org/proj/musl.git/commit/?id=1ef5c90d

sys-apps/watchdog: tree version works, bug #544476

 sys-apps/watchdog/Manifest                |  6 ----
 sys-apps/watchdog/files/watchdog-conf.d   |  6 ----
 sys-apps/watchdog/files/watchdog-init.d   | 48 -------------------------------
 sys-apps/watchdog/files/watchdog.service  | 10 -------
 sys-apps/watchdog/metadata.xml            | 14 ---------
 sys-apps/watchdog/watchdog-5.13-r1.ebuild | 38 ------------------------
 6 files changed, 122 deletions(-)

diff --git a/sys-apps/watchdog/Manifest b/sys-apps/watchdog/Manifest
deleted file mode 100644
index d05e26d..0000000
--- a/sys-apps/watchdog/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-AUX watchdog-conf.d 165 SHA256 
ab86be631bae5f81ee60f1602d5f663bdc15381423197a9aaceea3c8c9861c9c SHA512 
bb5da9f7161ff6b7d3b8079a3e81bd9f7ecf6055cd5a32cc599e8bbeccf73672361995f6271129059cd31d4c4f8062686020cc527ae374a17209b8b107098a21
 WHIRLPOOL 
7c03971bf42276db6121f9f051c9c52d420da23b7e88b60ecd0f4932233ab0507a0be8a4eb4eec232bd21c3e6793127b132e40786d95a98bf277ec60d1cca0c4
-AUX watchdog-init.d 867 SHA256 
df1cde25f871e7b728e9fd764210d7ead1b051556e1c90b70217f6f5f9024e71 SHA512 
d61fd3aae075058f65de72e6810c6e07902948d4cf4b577e742c6cbd64eba3231b048c5e9b33349a795fb8c9bbd2ce5b0a93e6abf8845bc32b8952c0950e536b
 WHIRLPOOL 
a78665a3b229469946993feb23fa3473da71826ce2fd31b13129f5fb2239acf67ebfc5dedc9a74e3dc2268a2e6ef1cc3e2af9188e879dc3cca47b0aa3ae33305
-AUX watchdog.service 146 SHA256 
91b021d969dcdf9d87f24c01f88da4dccae5a6697306231e04fe474b8fbe4500 SHA512 
5eb489e72351db8a881d84fc15730a91ca2a108641031196ad5374aec5e01fa5b859872fa27c3382b4637482a5c8dab7efa61057f4663ae6c49c4ed01e9d8abd
 WHIRLPOOL 
ffd1c299b12059407f376f646998708a78aa480cac83f384bd81017d6eada423e7cf4a0689ef2c626eec7bd950e2f4dbd4bcbea4c24e9357a3cf5d050808e000
-DIST watchdog-5.13.tar.gz 201202 SHA256 
141e0faf3ee4d8187a6ff4e00b18ef7b7a4ce432a2d4c8a6e6fdc62507fc6eb0 SHA512 
ff68bc748446c060c86362105013d3ccf741e165d497d743a986d2dd28027e0290c83a67317d603d095a5d79c840991224aaa31b1bd2b66f6e858d3a35536d1f
 WHIRLPOOL 
00c511d4a66d6adc3ad499b9348837261d672088527637db9a0b535550a3ce5cdf2b8fdf2a05ac039fb9111c81b8e9578dceddf759de418d305d5ffddf257584
-EBUILD watchdog-5.13-r1.ebuild 875 SHA256 
87238e28e5c81fe52e43b6076b674108600b11a3900e130b0467b94210856162 SHA512 
9d5afd2cbd9b59238a141a38420ff2e6b9faf407fe7721ed50c2cb4da239ad96890e5f531c26d81e322d3435e1fe9911f11f2e51e235e5c6da485255f666b421
 WHIRLPOOL 
4258b3c85281239d46c98d020e2ed463fc59fdbbd582393a1da8ea85f0775fd417a6114644acd669f831611bb28c96a75478569ea81e5db3b5893719d194ed00
-MISC metadata.xml 405 SHA256 
df8b3f543f03f2448f223bdc8555d159448a5f111f21ee74db2ae213e3ad275e SHA512 
36da0e0199b41608190b0e39de2b82bea5516890208c57744b93e527904501de01b1bfd4e20fc74450bd7b9ac4d152e0d57e31a35deca0b1edddc9ce60846d0b
 WHIRLPOOL 
88b9d34283d0ebe4d570cc6062e375998f5687b1f33ac1e93476b7c9e27763670a671a1a7488b2a9b04f2ba23722ddae446064436bcdeb9d1c2f5501d992e0b6

diff --git a/sys-apps/watchdog/files/watchdog-conf.d 
b/sys-apps/watchdog/files/watchdog-conf.d
deleted file mode 100644
index 60c7843..0000000
--- a/sys-apps/watchdog/files/watchdog-conf.d
+++ /dev/null
@@ -1,6 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-# for more info, see watchdog(8)
-WATCHDOG_OPTS=""

diff --git a/sys-apps/watchdog/files/watchdog-init.d 
b/sys-apps/watchdog/files/watchdog-init.d
deleted file mode 100644
index fdfe66b..0000000
--- a/sys-apps/watchdog/files/watchdog-init.d
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-depend() {
-       need localmount
-       use logger
-}
-
-get_config() {
-       set -- ${WATCHDOG_OPTS}
-       while [ -n "$1" ] ; do
-               if [ "$1" = "-c" -o "$1" = "--config-file" ] ; then
-                       echo $2
-                       return
-               fi
-               shift
-       done
-       echo /etc/watchdog.conf
-}
-
-get_delay() {
-       # man this is fugly
-       sed -n \
-               -e '1{x;s:.*:10:;x}' \
-               -e 's:#.*::' \
-               -e 's:^[[:space:]]*::' \
-               -e '/^interval/{s:.*=::;h}' \
-               -e '${g;p}' \
-               $(get_config)
-}
-
-start() {
-       ebegin "Starting watchdog"
-       start-stop-daemon --start \
-               --exec /usr/sbin/watchdog --pidfile /var/run/watchdog.pid \
-               -- ${WATCHDOG_OPTS}
-       eend $?
-}
-
-stop() {
-       ebegin "Stopping watchdog"
-       start-stop-daemon --stop \
-               --exec /usr/sbin/watchdog --pidfile /var/run/watchdog.pid \
-               --retry $(get_delay)
-       eend $?
-}

diff --git a/sys-apps/watchdog/files/watchdog.service 
b/sys-apps/watchdog/files/watchdog.service
deleted file mode 100644
index 9ec1076..0000000
--- a/sys-apps/watchdog/files/watchdog.service
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=watchdog daemon
-After=syslog.target
-
-[Service]
-Type=forking
-ExecStart=/usr/sbin/watchdog
-
-[Install]
-WantedBy=multi-user.target

diff --git a/sys-apps/watchdog/metadata.xml b/sys-apps/watchdog/metadata.xml
deleted file mode 100644
index 36ad6a6..0000000
--- a/sys-apps/watchdog/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-<maintainer type="project">
-       <email>[email protected]</email>
-       <name>Gentoo Base System</name>
-</maintainer>
-<use>
-       <flag name="nfs">enable support for checking nfs mounts</flag>
-</use>
-<upstream>
-       <remote-id type="sourceforge">watchdog</remote-id>
-</upstream>
-</pkgmetadata>

diff --git a/sys-apps/watchdog/watchdog-5.13-r1.ebuild 
b/sys-apps/watchdog/watchdog-5.13-r1.ebuild
deleted file mode 100644
index 32d22ba..0000000
--- a/sys-apps/watchdog/watchdog-5.13-r1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-
-inherit toolchain-funcs flag-o-matic systemd
-
-DESCRIPTION="A software watchdog and /dev/watchdog daemon"
-HOMEPAGE="http://sourceforge.net/projects/watchdog/";
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm m68k ~mips ppc s390 sh ~sparc x86"
-IUSE="nfs"
-
-DEPEND="nfs? ( net-libs/libtirpc )"
-RDEPEND="${DEPEND}"
-
-src_configure() {
-       if use nfs ; then
-               tc-export PKG_CONFIG
-               append-cppflags $(${PKG_CONFIG} libtirpc --cflags)
-               export LIBS+=" $(${PKG_CONFIG} libtirpc --libs)"
-       fi
-       econf $(use_enable nfs)
-}
-
-src_install() {
-       default
-       docinto examples
-       dodoc examples/*
-
-       newconfd "${FILESDIR}"/${PN}-conf.d ${PN}
-       newinitd "${FILESDIR}"/${PN}-init.d ${PN}
-       systemd_dounit "${FILESDIR}"/watchdog.service
-}

Reply via email to