Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/fhem/
Date: Thu, 21 May 2020 22:28:31
Message-Id: 1590099867.f696e24922e183849a233251651fd768fdf603f9.conikost@gentoo
1 commit: f696e24922e183849a233251651fd768fdf603f9
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 21 22:24:27 2020 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Thu May 21 22:24:27 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f696e249
7
8 app-misc/fhem: drop old version
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 app-misc/fhem/Manifest | 1 -
14 app-misc/fhem/fhem-5.9-r1.ebuild | 103 ---------------------------------------
15 2 files changed, 104 deletions(-)
16
17 diff --git a/app-misc/fhem/Manifest b/app-misc/fhem/Manifest
18 index b946dd43abf..b1006644bce 100644
19 --- a/app-misc/fhem/Manifest
20 +++ b/app-misc/fhem/Manifest
21 @@ -1,2 +1 @@
22 -DIST fhem-5.9.tar.gz 23267499 BLAKE2B c2c2e4ab21f82fbe67c9e99aed4d1edd6db889aedac0611b5ba2873667520c4aa63d8553e014563f6f6ee58c5792ae1735853f58c8f4ef0599583b2ed23a9efe SHA512 9f75058e698fc33ec64081695db3eb2511f686dedc3107c87d4377f655c8b204892c6f61141de28970f2ed3f8cef5d24124d17ee20ee71a9eb9318bb17335bb8
23 DIST fhem-6.0.tar.gz 28562819 BLAKE2B 4bc4f232caf0adc35ded72f380c1d4c816a22304af357f9b204fb856c2053038e3db2d834b7448d3cf43e84d3f435a36d047e48606b9e1083ab4963b38a75301 SHA512 a8e9d74b1d68ad7c9aea0a4d463aa877cb607458cb6ecf76203c96ff2156fd8b8a3b9cb5687ac0a5cd1eca5f94552433de55f3696b7be54a3cfa8df9cf74fbe1
24
25 diff --git a/app-misc/fhem/fhem-5.9-r1.ebuild b/app-misc/fhem/fhem-5.9-r1.ebuild
26 deleted file mode 100644
27 index 358a510f249..00000000000
28 --- a/app-misc/fhem/fhem-5.9-r1.ebuild
29 +++ /dev/null
30 @@ -1,103 +0,0 @@
31 -# Copyright 1999-2019 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -inherit systemd
37 -
38 -DESCRIPTION="A GPL'd perl server for house automation"
39 -HOMEPAGE="https://www.fhem.de/"
40 -SRC_URI="https://www.fhem.de/${P}.tar.gz"
41 -
42 -KEYWORDS="amd64 x86"
43 -LICENSE="GPL-2+"
44 -SLOT="0"
45 -IUSE="doc"
46 -
47 -RDEPEND="
48 - acct-group/fhem
49 - acct-user/fhem
50 - dev-perl/Crypt-CBC
51 - dev-perl/Device-SerialPort
52 - dev-perl/Digest-CRC
53 - dev-perl/JSON
54 -"
55 -
56 -DEPEND="media-gfx/pngcrush"
57 -
58 -src_prepare() {
59 - default
60 -
61 - # Allow install path to be set by DESTDIR in Makefile
62 - sed -i -e 's,^\(BINDIR=\),\1'\$\(DESTDIR\)',' Makefile || die
63 -
64 - # Remove docs in Makefile, as they will be installed manually
65 - sed -i -e 's/docs//g' Makefile || die
66 - sed -i -e '/README_DEMO.txt/d' Makefile || die
67 -
68 - # Remove manpage in Makefile, as it will be installed manually
69 - sed -i -e '/fhem.pl.1/d' Makefile || die
70 -
71 - # Remove lcd4linux binaries, as they are provied by app-misc/lcd4linux
72 - rm -r contrib/lcd4linux || die
73 -
74 - # Remove log dir, as it will be replaced with a symlink
75 - rm -r log || die
76 -
77 - # Fix fhemicon_darksmall.png, as it reports "broken IDAT window length"
78 - # Reported to Upstream: https://forum.fhem.de/index.php/topic,86238.0.html
79 - pngcrush -fix -force -ow www/images/default/fhemicon_darksmall.png || die
80 -
81 - cp "${FILESDIR}"/fhem.cfg fhem.cfg || die
82 -}
83 -
84 -src_compile() {
85 - :
86 -}
87 -
88 -src_install() {
89 - local DOCS=(
90 - "CHANGED"
91 - "HISTORY"
92 - "MAINTAINER.txt"
93 - "README.SVN"
94 - "README_DEMO.txt"
95 - "docs"/*.txt
96 - "docs"/*.patch
97 - "docs"/*.pdf
98 - "docs/changelog"
99 - "docs/copyright"
100 - "docs/dotconfig"
101 - "docs/fhem.odg.readme"
102 - "docs/LIESMICH.update-thirdparty"
103 - "docs"/README*
104 - "docs/X10"
105 - )
106 -
107 - if use doc; then
108 - local DOCS+=( "docs/X10" )
109 - local HTML_DOCS=( "docs/"*.eps "docs/"*.html "docs"/*.jpg "docs"/*.js "docs"/*.odg "docs/"*.png "docs/km271" )
110 - fi
111 -
112 - diropts -o fhem -g fhem
113 - keepdir "/var/lib/fhem"
114 - keepdir "/var/log/fhem"
115 - diropts
116 -
117 - dosym ../../var/lib/fhem /opt/fhem/data
118 - dosym ../../var/log/fhem /opt/fhem/log
119 -
120 - default
121 -
122 - newinitd "${FILESDIR}"/fhem.initd fhem
123 -
124 - systemd_dounit "${FILESDIR}"/fhem.service
125 - systemd_newtmpfilesd "${FILESDIR}"/fhem.tmpfiles fhem.conf
126 -
127 - newman docs/fhem.man fhem.pl.1
128 -
129 - echo 'CONFIG_PROTECT="/opt/fhem /var/lib/fhem"' > "${T}"/99fhem || die
130 - doenvd "${T}"/99fhem
131 -
132 - fowners fhem:fhem /opt/fhem/fhem.cfg
133 -}