commit:     9dd20403a05f6b816bce24db144ca7d9613e0f42
Author:     Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Mon Jul  9 21:08:10 2018 +0000
Commit:     Tony Vroon <chainsaw <AT> gentoo <DOT> org>
CommitDate: Wed Jul 11 10:47:04 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dd20403

sys-apps/idle3-tools: bump to version 0.9.3_pre20120123

Package-Manager: Portage-2.3.41, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/9163

 sys-apps/idle3-tools/Manifest                      |  1 +
 sys-apps/idle3-tools/files/makefile.patch          | 22 ++++++++++++++++++++++
 .../idle3-tools-0.9.3_pre20120123.ebuild           | 20 ++++++++++++++++++++
 sys-apps/idle3-tools/metadata.xml                  | 22 +++++++++++++++-------
 4 files changed, 58 insertions(+), 7 deletions(-)

diff --git a/sys-apps/idle3-tools/Manifest b/sys-apps/idle3-tools/Manifest
index 2beb27eb9ac..ce411a13007 100644
--- a/sys-apps/idle3-tools/Manifest
+++ b/sys-apps/idle3-tools/Manifest
@@ -1 +1,2 @@
 DIST idle3-tools-0.9.1.tgz 21201 BLAKE2B 
07f8f5971e8ce48d7dbf793011ae3a9697b8d9abebeca430724d241991e0b3605790eee3b50ea035e699e955557b8225ec9b66eac74a435a106e09a768c6e610
 SHA512 
512991fad786684bd127f7ad3af94dcea4e28cd88d52221007436172725b8d2c0c2edd578c4c95bbcd425339ed664b9d81adbabbc2bb8a4a3ea71500e21db01e
+DIST idle3-tools-0.9.3_pre20120123.tar.bz2 19842 BLAKE2B 
09095a1382e116c6171cf38c2d9cbdba32e38b3890f5169ed966b707bcd27f70e78efaef8c3500499fc261347c1cc228a8b39d910d719451cc11cc40fcb71b1a
 SHA512 
309a6e500b71d64d569729f44b597fd218f983b9018373a4871a62137b32bd540524b757648fe9e873d949de772f26428cb82d16b367212e6d1fb592aa7bfbf1

diff --git a/sys-apps/idle3-tools/files/makefile.patch 
b/sys-apps/idle3-tools/files/makefile.patch
new file mode 100644
index 00000000000..ed76049865e
--- /dev/null
+++ b/sys-apps/idle3-tools/files/makefile.patch
@@ -0,0 +1,22 @@
+--- a/Makefile 2012-01-11 17:18:57.000000000 +0100
++++ b/Makefile 2018-07-09 23:00:04.111252307 +0200
+@@ -6,16 +6,15 @@
+ binprefix = 
+ manprefix = /usr
+ exec_prefix = $(binprefix)/
+-sbindir = $(exec_prefix)sbin
++sbindir = $(exec_prefix)usr/sbin
+ mandir = $(manprefix)/share/man
+ oldmandir = $(manprefix)/man
+ 
+-CC = gcc
++CC ?= gcc
+ STRIP = strip
+ 
+-CFLAGS := -g -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith 
-Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -fkeep-inline-functions -Wwrite-strings 
-Waggregate-return -Wnested-externs -Wtrigraphs $(CFLAGS)
++CFLAGS := -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith 
-Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -fkeep-inline-functions -Wwrite-strings 
-Waggregate-return -Wnested-externs -Wtrigraphs $(CFLAGS)
+ 
+-LDFLAGS = -s
+ #LDFLAGS = -s -static
+ INSTALL = install
+ INSTALL_DATA = $(INSTALL) -m 644

diff --git a/sys-apps/idle3-tools/idle3-tools-0.9.3_pre20120123.ebuild 
b/sys-apps/idle3-tools/idle3-tools-0.9.3_pre20120123.ebuild
new file mode 100644
index 00000000000..b59424aeb0a
--- /dev/null
+++ b/sys-apps/idle3-tools/idle3-tools-0.9.3_pre20120123.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Set, get or disable the value of the idle3 timer found on WD HDDs"
+HOMEPAGE="http://idle3-tools.sourceforge.net/";
+SRC_URI="https://www.bl4ckb0x.de/files/${P}.tar.bz2";
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+
+PATCHES=( "${FILESDIR}"/makefile.patch )
+
+src_compile() {
+       CC="$(tc-getCC)" emake
+}

diff --git a/sys-apps/idle3-tools/metadata.xml 
b/sys-apps/idle3-tools/metadata.xml
index 2690edae260..6d8e89f781f 100644
--- a/sys-apps/idle3-tools/metadata.xml
+++ b/sys-apps/idle3-tools/metadata.xml
@@ -1,15 +1,23 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-       <!-- maintainer-needed -->
-       <longdescription lang="en">
-               Idle3-tools provides a linux/unix utility that can disable, get 
and set the value
-               of the infamous idle3 timer found on recent Western Digital 
Hard Disk Drives. It
-               can be used as an alternative to the official wdidle3.exe 
proprietary utility,
-               without the need to reboot in a DOS environement. A power 
off/on cycle of the
-               drive will still be mandatory for new settings to be taken into 
account.
+       <maintainer type="person">
+               <email>ck+gen...@bl4ckb0x.de</email>
+               <name>Conrad Kostecki</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>proxy-ma...@gentoo.org</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+       <longdescription>
+               Idle3-tools provides a utility, that can disable, get and set 
the value
+               of the infamous idle3 timer, found on recent Western Digital 
Hard Disk Drives.
+               It can be used as an alternative to the official wdidle3.exe 
proprietary utility,
+               without the need to reboot into a DOS environement. A full 
power up cycle of the
+               drive will be still mandatory, for new settings to be taken 
into account.
        </longdescription>
        <upstream>
+               <bugs-to>https://sourceforge.net/p/idle3-tools/bugs/</bugs-to>
                <remote-id type="sourceforge">idle3-tools</remote-id>
        </upstream>
 </pkgmetadata>

Reply via email to