summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conrad@kostecki.com>2018-07-09 23:08:10 +0200
committerTony Vroon <chainsaw@gentoo.org>2018-07-11 11:47:04 +0100
commit9dd20403a05f6b816bce24db144ca7d9613e0f42 (patch)
treecf1e7552b453f61277a4e9c75ca35ab44d22ac50 /sys-apps
parentdev-db/percona-xtrabackup: bump to 2.4.12 (diff)
downloadgentoo-9dd20403a05f6b816bce24db144ca7d9613e0f42.tar.gz
gentoo-9dd20403a05f6b816bce24db144ca7d9613e0f42.tar.bz2
gentoo-9dd20403a05f6b816bce24db144ca7d9613e0f42.zip
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
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/idle3-tools/Manifest1
-rw-r--r--sys-apps/idle3-tools/files/makefile.patch22
-rw-r--r--sys-apps/idle3-tools/idle3-tools-0.9.3_pre20120123.ebuild20
-rw-r--r--sys-apps/idle3-tools/metadata.xml22
4 files changed, 58 insertions, 7 deletions
diff --git a/sys-apps/idle3-tools/Manifest b/sys-apps/idle3-tools/Manifest
index 2beb27eb9ac2..ce411a13007a 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 000000000000..ed76049865ee
--- /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 000000000000..b59424aeb0aa
--- /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 2690edae260a..6d8e89f781f0 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+gentoo@bl4ckb0x.de</email>
+ <name>Conrad Kostecki</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@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>