[oe-commits] Frans Meulenbroeks : hdparm: removed legacy versions 6.3 and 6.6

git version control git at git.openembedded.org
Tue Oct 26 12:15:05 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: b678eb611e1e9d6be42c2097d5b61cbb4fb939a1
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b678eb611e1e9d6be42c2097d5b61cbb4fb939a1

Author: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>
Date:   Tue Oct 26 14:07:03 2010 +0200

hdparm: removed legacy versions 6.3 and 6.6

we still have 6.9 and 9.35

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>

---

 recipes/hdparm/hdparm-6.3/bswap.patch |   36 --------------------------------
 recipes/hdparm/hdparm-6.6/bswap.patch |   37 ---------------------------------
 recipes/hdparm/hdparm_6.3.bb          |   17 ---------------
 recipes/hdparm/hdparm_6.6.bb          |   17 ---------------
 4 files changed, 0 insertions(+), 107 deletions(-)

diff --git a/recipes/hdparm/hdparm-6.3/bswap.patch b/recipes/hdparm/hdparm-6.3/bswap.patch
deleted file mode 100644
index 37fbcb7..0000000
--- a/recipes/hdparm/hdparm-6.3/bswap.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-
-#
-# Patch managed by http://www.holgerschurig.de/patcher.html
-#
-
---- hdparm-5.8/hdparm.c~bswap
-+++ hdparm-5.8/hdparm.c
-@@ -20,7 +20,9 @@
- #include <linux/types.h>
- #include <linux/hdreg.h>
- #include <linux/major.h>
--#include <asm/byteorder.h>
-+#include <byteswap.h>
-+
-+#define le16_to_cpus(x) bswap_16(htons(x))
- 
- #include "hdparm.h"
- 
-@@ -1160,7 +1162,7 @@
- 			}
- 		} else {
- 			for(i = 0; i < 0x100; ++i) {
--				__le16_to_cpus(&id[i]);
-+				le16_to_cpus(&id[i]);
- 			}
- 			identify((void *)id, NULL);
- 		}
-@@ -1380,7 +1382,7 @@
- 	}
- 	for (i = 0; count >= 4; ++i) {
- 		sbuf[i] = (fromhex(b[0]) << 12) | (fromhex(b[1]) << 8) | (fromhex(b[2]) << 4) | fromhex(b[3]);
--		__le16_to_cpus((__u16 *)(&sbuf[i]));
-+		le16_to_cpus((__u16 *)(&sbuf[i]));
- 		b += 5;
- 		count -= 5;
- 	}
diff --git a/recipes/hdparm/hdparm-6.6/bswap.patch b/recipes/hdparm/hdparm-6.6/bswap.patch
deleted file mode 100644
index 6b0506c..0000000
--- a/recipes/hdparm/hdparm-6.6/bswap.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-
-#
-# Patch managed by http://www.holgerschurig.de/patcher.html
-#
-
---- hdparm-5.8/hdparm.c~bswap
-+++ hdparm-5.8/hdparm.c
-@@ -20,8 +20,9 @@
- #include <linux/types.h>
- #include <linux/hdreg.h>
- #include <linux/major.h>
--#include <asm/byteorder.h>
--//#include <endian.h>
-+#include <byteswap.h>
-+
-+#define le16_to_cpus(x) bswap_16(htons(x))
- 
- #include "hdparm.h"
- 
-@@ -1160,7 +1162,7 @@
- 			}
- 		} else {
- 			for(i = 0; i < 0x100; ++i) {
--				__le16_to_cpus(&id[i]);
-+				le16_to_cpus(&id[i]);
- 			}
- 			identify((void *)id, NULL);
- 		}
-@@ -1380,7 +1382,7 @@
- 	}
- 	for (i = 0; count >= 4; ++i) {
- 		sbuf[i] = (fromhex(b[0]) << 12) | (fromhex(b[1]) << 8) | (fromhex(b[2]) << 4) | fromhex(b[3]);
--		__le16_to_cpus((__u16 *)(&sbuf[i]));
-+		le16_to_cpus((__u16 *)(&sbuf[i]));
- 		b += 5;
- 		count -= 5;
- 	}
diff --git a/recipes/hdparm/hdparm_6.3.bb b/recipes/hdparm/hdparm_6.3.bb
deleted file mode 100644
index b6d3de6..0000000
--- a/recipes/hdparm/hdparm_6.3.bb
+++ /dev/null
@@ -1,17 +0,0 @@
-DESCRIPTION = "hdparm is a Linux shell utility for viewing \
-and manipulating various IDE drive and driver parameters."
-SECTION = "console/utils"
-PRIORITY = "optional"
-LICENSE = "BSD"
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/hdparm/hdparm-${PV}.tar.gz \
-	   file://bswap.patch \
-	   file://uclibc.patch"
-
-do_install () {
-	install -d ${D}/${sbindir} ${D}/${mandir}/man8
-	oe_runmake 'DESTDIR=${D}' install
-}
-
-SRC_URI[md5sum] = "0c12672f3a09c14ad0b0882f15fc9389"
-SRC_URI[sha256sum] = "08688a6a46ba495494bf838f8f26103e797584c1888eca94e43a171e1b37246d"
diff --git a/recipes/hdparm/hdparm_6.6.bb b/recipes/hdparm/hdparm_6.6.bb
deleted file mode 100644
index 8cc9294..0000000
--- a/recipes/hdparm/hdparm_6.6.bb
+++ /dev/null
@@ -1,17 +0,0 @@
-DESCRIPTION = "hdparm is a Linux shell utility for viewing \
-and manipulating various IDE drive and driver parameters."
-SECTION = "console/utils"
-PRIORITY = "optional"
-LICENSE = "BSD"
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/hdparm/hdparm-${PV}.tar.gz \
-	   file://bswap.patch \
-	   file://uclibc.patch"
-
-do_install () {
-	install -d ${D}/${sbindir} ${D}/${mandir}/man8
-	oe_runmake 'DESTDIR=${D}' install
-}
-
-SRC_URI[md5sum] = "ecea69f775396e4ab6112dcf9066239f"
-SRC_URI[sha256sum] = "7e2db39a4e1f41bb327a9a8ef9e5e8359aaed0cc78e642a4ca67659629e3048b"





More information about the Openembedded-commits mailing list