diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-06-20 01:05:12 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-06-22 16:04:14 +0200 |
commit | d2da8b82cfb2f8e55236751c1c56c9e7f3b5f68d (patch) | |
tree | 18e69e4a3c4e47cf67da9179294e3d532b190f20 /meta-oe/recipes-extended/scsirastools/scsirastools_1.6.6.bb | |
parent | 11d98126c99a36c637ba9af01b0f888169f10550 (diff) | |
download | meta-openembedded-d2da8b82cfb2f8e55236751c1c56c9e7f3b5f68d.tar.gz |
scsirastools: Upgrade to 1.6.6
Fix build with hardening flags
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/scsirastools/scsirastools_1.6.6.bb')
-rw-r--r-- | meta-oe/recipes-extended/scsirastools/scsirastools_1.6.6.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/scsirastools/scsirastools_1.6.6.bb b/meta-oe/recipes-extended/scsirastools/scsirastools_1.6.6.bb new file mode 100644 index 000000000..e202d16eb --- /dev/null +++ b/meta-oe/recipes-extended/scsirastools/scsirastools_1.6.6.bb | |||
@@ -0,0 +1,49 @@ | |||
1 | SUMMARY = "Linux SCSi tools to service maintain disk storage devices" | ||
2 | DESCRIPTION = "scsirastools were designed to add to the Serviceability of \ | ||
3 | SCSI devices under Linux so that the system does not have \ | ||
4 | to be rebooted or taken out of service to perform common \ | ||
5 | maintenance or service functions. It handles SCSI, \ | ||
6 | Linux SW RAID, SAS, SATA, and USB devices via SCSI emulation." | ||
7 | HOMEPAGE = "http://scsirastools.sourceforge.net/" | ||
8 | LICENSE = "BSD" | ||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=687ea108478d26152ae46eb29d9d1545" | ||
10 | |||
11 | DEPENDS += "groff-native" | ||
12 | |||
13 | SRC_URI = "http://prdownloads.sourceforge.net/scsirastools/scsirastools-${PV}.tar.gz \ | ||
14 | file://mdadm.patch;apply=no \ | ||
15 | file://print-format.patch \ | ||
16 | " | ||
17 | SRC_URI[md5sum] = "6271a61b2ce40aaf33ef61775148cda1" | ||
18 | SRC_URI[sha256sum] = "e7b997e75decb06a650c42c35cd63d0c94c34e39cf133c723337b0eeabbfdf6a" | ||
19 | |||
20 | inherit autotools update-rc.d | ||
21 | |||
22 | # mdadm Makefile has CC set to gcc, hence override CC to ${CC} | ||
23 | EXTRA_OEMAKE += "CC='${CC}'" | ||
24 | |||
25 | |||
26 | do_configure_append() { | ||
27 | oe_runmake -C mdadm.d mdadm-1.3.0 | ||
28 | patch -p0 < ${WORKDIR}/mdadm.patch | ||
29 | } | ||
30 | INITSCRIPT_PACKAGES = "${PN}-diskmon ${PN}-raidmon" | ||
31 | INITSCRIPT_NAME_${PN}-diskmon = "sgdisk" | ||
32 | INITSCRIPT_PARAMS_${PN}-diskmon = "defaults 80 20" | ||
33 | INITSCRIPT_NAME_${PN}-raidmon = "sgraid" | ||
34 | INITSCRIPT_PARAMS_${PN}-raidmon = "defaults 80 20" | ||
35 | |||
36 | PACKAGES =+ "${PN}-diskmon ${PN}-diskmon-dbg" | ||
37 | PACKAGES =+ "${PN}-raidmon ${PN}-raidmon-dbg" | ||
38 | |||
39 | FILES_${PN}-dbg += "/usr/share/scsirastools/.debug" | ||
40 | |||
41 | FILES_${PN}-diskmon = "${sbindir}/sgdiskmon ${sysconfdir}/init.d/sgdisk" | ||
42 | FILES_${PN}-diskmon-dbg = "${sbindir}/.debug/sgdiskmon" | ||
43 | |||
44 | FILES_${PN}-raidmon = "${sbindir}/sgraidmon ${sysconfdir}/init.d/sgraid" | ||
45 | FILES_${PN}-raidmon-dbg = "${sbindir}/.debug/sgraidmon" | ||
46 | |||
47 | RDEPENDS_${PN} += "bash" | ||
48 | RDEPENDS_${PN}-diskmon += "${PN}" | ||
49 | RDEPENDS_${PN}-raidmon += "${PN}" | ||