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