summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-06-26 01:38:13 +0200
committerConrad Kostecki <conikost@gentoo.org>2021-06-26 01:38:33 +0200
commit1e8a1dc03f0b0c0071e756c78ddab06c72be2e1f (patch)
tree2cd626ab6f627cce668b5745fb759a494dc56071 /app-misc/fhem
parentapp-misc/fhem: update systemd init script (diff)
downloadgentoo-1e8a1dc03f0b0c0071e756c78ddab06c72be2e1f.tar.gz
gentoo-1e8a1dc03f0b0c0071e756c78ddab06c72be2e1f.tar.bz2
gentoo-1e8a1dc03f0b0c0071e756c78ddab06c72be2e1f.zip
app-misc/fhem: drop old version
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-misc/fhem')
-rw-r--r--app-misc/fhem/fhem-6.0.ebuild103
-rw-r--r--app-misc/fhem/files/fhem.service13
2 files changed, 0 insertions, 116 deletions
diff --git a/app-misc/fhem/fhem-6.0.ebuild b/app-misc/fhem/fhem-6.0.ebuild
deleted file mode 100644
index 3cdba522132d..000000000000
--- a/app-misc/fhem/fhem-6.0.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd tmpfiles
-
-DESCRIPTION="A GPL'd perl server for house automation"
-HOMEPAGE="https://www.fhem.de/"
-SRC_URI="https://www.fhem.de/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="doc"
-
-RDEPEND="
- acct-group/fhem
- acct-user/fhem
- dev-perl/Crypt-CBC
- dev-perl/Device-SerialPort
- dev-perl/Digest-CRC
- dev-perl/JSON
-"
-
-DEPEND="media-gfx/pngcrush"
-
-src_prepare() {
- default
-
- # Allow install path to be set by DESTDIR in Makefile
- sed -i -e 's,^\(BINDIR=\),\1'\$\(DESTDIR\)',' Makefile || die
-
- # Remove docs in Makefile, as they will be installed manually
- sed -i -e 's/docs//g' Makefile || die
- sed -i -e '/README_DEMO.txt/d' Makefile || die
-
- # Remove manpage in Makefile, as it will be installed manually
- sed -i -e '/fhem.pl.1/d' Makefile || die
-
- # Remove lcd4linux binaries, as they are provied by app-misc/lcd4linux
- rm -r contrib/lcd4linux || die
-
- # Remove log dir, as it will be replaced with a symlink
- rm -r log || die
-
- # Fix fhemicon_darksmall.png, as it reports "broken IDAT window length"
- # Reported to Upstream: https://forum.fhem.de/index.php/topic,86238.0.html
- pngcrush -fix -force -ow www/images/default/fhemicon_darksmall.png || die
-
- cp "${FILESDIR}"/fhem.cfg fhem.cfg || die
-}
-
-src_compile() {
- :
-}
-
-src_install() {
- local DOCS=(
- "CHANGED"
- "HISTORY"
- "MAINTAINER.txt"
- "README.SVN"
- "README_DEMO.txt"
- "docs"/*.txt
- "docs"/*.patch
- "docs"/*.pdf
- "docs/changelog"
- "docs/copyright"
- "docs/dotconfig"
- "docs/fhem.odg.readme"
- "docs/LIESMICH.update-thirdparty"
- "docs"/README*
- "docs/X10"
- )
-
- if use doc; then
- local DOCS+=( "docs/X10" )
- local HTML_DOCS=( "docs/"*.eps "docs/"*.html "docs"/*.jpg "docs"/*.js "docs"/*.odg "docs/"*.png "docs/km271" )
- fi
-
- diropts -o fhem -g fhem
- keepdir "/var/lib/fhem"
- keepdir "/var/log/fhem"
- diropts
-
- dosym ../../var/lib/fhem /opt/fhem/data
- dosym ../../var/log/fhem /opt/fhem/log
-
- default
-
- newinitd "${FILESDIR}"/fhem.initd fhem
-
- systemd_dounit "${FILESDIR}"/fhem.service
- newtmpfiles "${FILESDIR}"/fhem.tmpfiles fhem.conf
-
- newman docs/fhem.man fhem.pl.1
-
- echo 'CONFIG_PROTECT="/opt/fhem /var/lib/fhem"' > "${T}"/99fhem || die
- doenvd "${T}"/99fhem
-
- fowners fhem:fhem /opt/fhem/fhem.cfg
-}
diff --git a/app-misc/fhem/files/fhem.service b/app-misc/fhem/files/fhem.service
deleted file mode 100644
index 697a10179d40..000000000000
--- a/app-misc/fhem/files/fhem.service
+++ /dev/null
@@ -1,13 +0,0 @@
-[Unit]
-Description=FHEM
-After=network-online.target
-
-[Service]
-Type=simple
-User=fhem
-Group=fhem
-WorkingDirectory=/opt/fhem
-ExecStart=/opt/fhem/fhem.pl /opt/fhem/fhem.cfg
-
-[Install]
-WantedBy=multi-user.target