Gentoo Archives: gentoo-commits

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