summaryrefslogtreecommitdiff
path: root/sys-apps/idle3-tools
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:52:04 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:52:04 +0100
commit71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /sys-apps/idle3-tools
parent6612a728ea11526a849618ec515ad57131d64416 (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'sys-apps/idle3-tools')
-rw-r--r--sys-apps/idle3-tools/Manifest5
-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, 61 insertions, 8 deletions
diff --git a/sys-apps/idle3-tools/Manifest b/sys-apps/idle3-tools/Manifest
index c96a2f50bcd0..3cf15fcd42bc 100644
--- a/sys-apps/idle3-tools/Manifest
+++ b/sys-apps/idle3-tools/Manifest
@@ -1,3 +1,6 @@
+AUX makefile.patch 951 BLAKE2B 945ce0da10772695815b4ee6620dc27faafe232f696e3a11fa2e3f172b8e51095dfa2e034fa8f870871f9f0bc000b9aa7a1ab22659f6b0641b6223e5f87524e9 SHA512 544dfc040211706ca15272625ac95c876749670a6d7919e37651bb076bf7911682943ea621c6022e7a216c8fbe434f9fc74c44e3c737489297541bf2d8d29d3e
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
EBUILD idle3-tools-0.9.1.ebuild 505 BLAKE2B 5d951c11979c926b95b790d8549273dc0e61140ff7a729503a7c8101dd4a53466bddf8454c82355be1fe4863ae65ebc2ccc336aef11ac672054fd8ab63be0e67 SHA512 5b8f7e29be4e28dafee521bab426888f47db49d4d9f03ba69854a66ad041f4ca7f20b054fbb1f65bb6c0c5808be091fac69e466da3a39bfed07fc0a7530f2dcb
-MISC metadata.xml 700 BLAKE2B 8c1da76f3aee3298fa69eb121bc11aff4f3400e4f35ef30f82c7b5351a7505fd3e1f14803868ef397e34e83121833d91fa7c7b93bdc5da3542212e45544be9f8 SHA512 bff2faaf83b67967d8b52eb9a3694ec78c707985f5a565588992248949e23a34de3d0c27ff52e17c832977047e38487eba737a8885775809cdf86bde580eb8c1
+EBUILD idle3-tools-0.9.3_pre20120123.ebuild 463 BLAKE2B 474c42e446d477f2624d4bfe97714b8dff4b7afe5d5f873428d1502fc524c5beea9377542716f46a7bbcd0db22034ac4899c23ffb3ae0a2ed21e0b56c3929610 SHA512 87fcdadb01cf43d536661ccefdefdf8005bdfd8021de0083e5dd4723bf8cc010e85db14000f1ad208611627ccf23b838c9c0cea999086fab10ef706634448f78
+MISC metadata.xml 952 BLAKE2B e4123a25039cf4653b5e0818fde19ad2827923f013b0ca8c345f2ed204b9e0a38e49da2185c42b8507b5c053801f84ebce62ce4efd91d7bfdd302ebbe5c94632 SHA512 a7e419e6421ab02ad87c430ead433738aa3043249deb164e51b81674661fd4b8edaf9da11b679cd098373f5cb627a95979525c0bfb8d60ab8b691fd541e3a061
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>