summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Bright <eugene@bright.gdn>2019-09-17 20:51:36 +0300
committerJoonas Niilola <juippis@gentoo.org>2019-10-12 19:00:44 +0300
commit661cae5ff107fb5d58f21bb0e0dcd5dcec83c190 (patch)
tree65cd3a38449a0d7a6b80eb3b34fc0cb13a0c4e0a /sys-apps/flashrom
parentsys-apps/flashrom: remove old (diff)
downloadgentoo-661cae5ff107fb5d58f21bb0e0dcd5dcec83c190.tar.gz
gentoo-661cae5ff107fb5d58f21bb0e0dcd5dcec83c190.tar.bz2
gentoo-661cae5ff107fb5d58f21bb0e0dcd5dcec83c190.zip
sys-apps/flashrom: Get rid of underscore in IUSE
Closes: https://bugs.gentoo.org/694664 Signed-off-by: Eugene Bright <eugene@bright.gdn> Closes: https://github.com/gentoo/gentoo/pull/13204 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sys-apps/flashrom')
-rw-r--r--sys-apps/flashrom/flashrom-0.9.8.ebuild74
-rw-r--r--sys-apps/flashrom/flashrom-1.0.ebuild69
-rw-r--r--sys-apps/flashrom/flashrom-1.1.ebuild64
-rw-r--r--sys-apps/flashrom/flashrom-9999.ebuild64
-rw-r--r--sys-apps/flashrom/metadata.xml36
5 files changed, 180 insertions, 127 deletions
diff --git a/sys-apps/flashrom/flashrom-0.9.8.ebuild b/sys-apps/flashrom/flashrom-0.9.8.ebuild
index 82ae6d8592c2..91f745052628 100644
--- a/sys-apps/flashrom/flashrom-0.9.8.ebuild
+++ b/sys-apps/flashrom/flashrom-0.9.8.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
+EAPI=7
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
if [[ ${PV} == "9999" ]] ; then
- ESVN_REPO_URI="https://code.coreboot.org/svn/flashrom/trunk"
- inherit subversion
+ EGIT_REPO_URI="https://review.coreboot.org/flashrom.git"
+ inherit git-r3
else
SRC_URI="https://download.flashrom.org/releases/${P}.tar.bz2"
KEYWORDS="amd64 arm ~arm64 ~ppc ~ppc64 ~sparc x86"
@@ -20,40 +20,66 @@ SLOT="0"
# The defaults match the upstream Makefile.
# Note: Do not list bitbang_spi as it is not a programmer; it's a backend used
# by some other spi programmers.
-IUSE_PROGRAMMERS="atahpt +atavia +buspirate_spi dediprog +drkaiser +dummy
-+ft2232_spi +gfxnvidia +internal +it8212 +linux_spi mstarddc_spi +nic3com
-+nicintel +nicintel_eeprom +nicintel_spi nicnatsemi +nicrealtek +ogp_spi
-+pickit2_spi +pony_spi +rayer_spi +satamv +satasii +serprog +usbblaster_spi"
-IUSE="${IUSE_PROGRAMMERS} +internal_dmi static tools +wiki"
+IUSE_PROGRAMMERS="
+ atahpt
+ +atavia
+ +buspirate-spi
+ dediprog
+ +drkaiser
+ +dummy
+ +ft2232-spi
+ +gfxnvidia
+ +internal
+ +it8212
+ +linux-spi
+ mstarddc-spi
+ +nic3com
+ +nicintel
+ +nicintel-eeprom
+ +nicintel-spi
+ nicnatsemi
+ +nicrealtek
+ +ogp-spi
+ +pickit2-spi
+ +pony-spi
+ +rayer-spi
+ +satamv
+ +satasii
+ +serprog
+ +usbblaster-spi
+"
+IUSE="${IUSE_PROGRAMMERS} +internal-dmi static tools +wiki"
-LIB_DEPEND="atahpt? ( sys-apps/pciutils[static-libs(+)] )
+LIB_DEPEND="
+ atahpt? ( sys-apps/pciutils[static-libs(+)] )
atavia? ( sys-apps/pciutils[static-libs(+)] )
dediprog? ( virtual/libusb:0[static-libs(+)] )
drkaiser? ( sys-apps/pciutils[static-libs(+)] )
- ft2232_spi? ( dev-embedded/libftdi:0[static-libs(+)] )
+ ft2232-spi? ( dev-embedded/libftdi:0[static-libs(+)] )
gfxnvidia? ( sys-apps/pciutils[static-libs(+)] )
- it8212? ( sys-apps/pciutils[static-libs(+)] )
internal? ( sys-apps/pciutils[static-libs(+)] )
+ it8212? ( sys-apps/pciutils[static-libs(+)] )
nic3com? ( sys-apps/pciutils[static-libs(+)] )
+ nicintel-eeprom? ( sys-apps/pciutils[static-libs(+)] )
+ nicintel-spi? ( sys-apps/pciutils[static-libs(+)] )
nicintel? ( sys-apps/pciutils[static-libs(+)] )
- nicintel_eeprom? ( sys-apps/pciutils[static-libs(+)] )
- nicintel_spi? ( sys-apps/pciutils[static-libs(+)] )
nicnatsemi? ( sys-apps/pciutils[static-libs(+)] )
nicrealtek? ( sys-apps/pciutils[static-libs(+)] )
- ogp_spi? ( sys-apps/pciutils[static-libs(+)] )
- pickit2_spi? ( virtual/libusb:0[static-libs(+)] )
- rayer_spi? ( sys-apps/pciutils[static-libs(+)] )
+ ogp-spi? ( sys-apps/pciutils[static-libs(+)] )
+ pickit2-spi? ( virtual/libusb:0[static-libs(+)] )
+ rayer-spi? ( sys-apps/pciutils[static-libs(+)] )
satamv? ( sys-apps/pciutils[static-libs(+)] )
satasii? ( sys-apps/pciutils[static-libs(+)] )
- usbblaster_spi? ( dev-embedded/libftdi:0[static-libs(+)] )"
+ usbblaster-spi? ( dev-embedded/libftdi:0[static-libs(+)] )
+"
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
DEPEND="${RDEPEND}
static? ( ${LIB_DEPEND} )
sys-apps/diffutils"
-RDEPEND+=" !internal_dmi? ( sys-apps/dmidecode )"
+RDEPEND+=" !internal-dmi? ( sys-apps/dmidecode )"
_flashrom_enable() {
- local c="CONFIG_${2:-$(echo "$1" | tr [:lower:] [:upper:])}"
+ local c="CONFIG_${2:-$(echo "$1" | tr '[:lower:]-' '[:upper:]_')}"
args+=( "${c}=$(usex $1 yes no)" )
}
flashrom_enable() {
@@ -65,6 +91,8 @@ src_prepare() {
sed -i \
-e 's:pkg-config:$(PKG_CONFIG):' \
Makefile || die
+
+ default
}
src_compile() {
@@ -73,8 +101,8 @@ src_compile() {
grep -o 'CONFIG_[A-Z0-9_]*' flashrom.c | \
sort -u | \
sed 's:^CONFIG_::' | \
- tr '[:upper:]' '[:lower:]'))
- local eprogs=$(echo ${IUSE_PROGRAMMERS//[+-]})
+ tr '[:upper:]_' '[:lower:]-'))
+ local eprogs=$(echo ${IUSE_PROGRAMMERS} | sed -E 's/\B[-+]\b//g')
if [[ ${sprogs} != "${eprogs}" ]] ; then
eerror "The ebuild needs to be kept in sync."
eerror "IUSE set to: ${eprogs}"
diff --git a/sys-apps/flashrom/flashrom-1.0.ebuild b/sys-apps/flashrom/flashrom-1.0.ebuild
index 0c908ab17779..cd57ee3d0f68 100644
--- a/sys-apps/flashrom/flashrom-1.0.ebuild
+++ b/sys-apps/flashrom/flashrom-1.0.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit toolchain-funcs
if [[ ${PV} == "9999" ]] ; then
@@ -21,42 +21,69 @@ SLOT="0"
# Note: Do not list bitbang_spi as it is not a programmer; it's a backend used
# by some other spi programmers.
IUSE_PROGRAMMERS="
-atahpt +atapromise +atavia +buspirate_spi +ch341a_spi +dediprog +drkaiser +dummy
-+ft2232_spi +gfxnvidia +internal +it8212 +linux_spi mstarddc_spi +nic3com
-+nicintel +nicintel_eeprom +nicintel_spi nicnatsemi +nicrealtek +ogp_spi
-+pickit2_spi +pony_spi +rayer_spi +satamv +satasii +serprog +usbblaster_spi"
-IUSE="${IUSE_PROGRAMMERS} +internal_dmi static tools +wiki"
+ atahpt
+ +atapromise
+ +atavia
+ +buspirate-spi
+ +ch341a-spi
+ +dediprog
+ +drkaiser
+ +dummy
+ +ft2232-spi
+ +gfxnvidia
+ +internal
+ +it8212
+ +linux-spi
+ mstarddc-spi
+ +nic3com
+ +nicintel
+ +nicintel-eeprom
+ +nicintel-spi
+ nicnatsemi
+ +nicrealtek
+ +ogp-spi
+ +pickit2-spi
+ +pony-spi
+ +rayer-spi
+ +satamv
+ +satasii
+ +serprog
+ +usbblaster-spi
+"
+IUSE="${IUSE_PROGRAMMERS} +internal-dmi static tools +wiki"
-LIB_DEPEND="atahpt? ( sys-apps/pciutils[static-libs(+)] )
+LIB_DEPEND="
+ atahpt? ( sys-apps/pciutils[static-libs(+)] )
atapromise? ( sys-apps/pciutils[static-libs(+)] )
atavia? ( sys-apps/pciutils[static-libs(+)] )
- ch341a_spi? ( virtual/libusb:1[static-libs(+)] )
+ ch341a-spi? ( virtual/libusb:1[static-libs(+)] )
dediprog? ( virtual/libusb:1[static-libs(+)] )
drkaiser? ( sys-apps/pciutils[static-libs(+)] )
- ft2232_spi? ( dev-embedded/libftdi:=[static-libs(+)] )
+ ft2232-spi? ( dev-embedded/libftdi:=[static-libs(+)] )
gfxnvidia? ( sys-apps/pciutils[static-libs(+)] )
- it8212? ( sys-apps/pciutils[static-libs(+)] )
internal? ( sys-apps/pciutils[static-libs(+)] )
+ it8212? ( sys-apps/pciutils[static-libs(+)] )
nic3com? ( sys-apps/pciutils[static-libs(+)] )
+ nicintel-eeprom? ( sys-apps/pciutils[static-libs(+)] )
+ nicintel-spi? ( sys-apps/pciutils[static-libs(+)] )
nicintel? ( sys-apps/pciutils[static-libs(+)] )
- nicintel_eeprom? ( sys-apps/pciutils[static-libs(+)] )
- nicintel_spi? ( sys-apps/pciutils[static-libs(+)] )
nicnatsemi? ( sys-apps/pciutils[static-libs(+)] )
nicrealtek? ( sys-apps/pciutils[static-libs(+)] )
- ogp_spi? ( sys-apps/pciutils[static-libs(+)] )
- pickit2_spi? ( virtual/libusb:0[static-libs(+)] )
- rayer_spi? ( sys-apps/pciutils[static-libs(+)] )
+ ogp-spi? ( sys-apps/pciutils[static-libs(+)] )
+ pickit2-spi? ( virtual/libusb:0[static-libs(+)] )
+ rayer-spi? ( sys-apps/pciutils[static-libs(+)] )
satamv? ( sys-apps/pciutils[static-libs(+)] )
satasii? ( sys-apps/pciutils[static-libs(+)] )
- usbblaster_spi? ( dev-embedded/libftdi:=[static-libs(+)] )"
+ usbblaster-spi? ( dev-embedded/libftdi:=[static-libs(+)] )
+"
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
DEPEND="${RDEPEND}
static? ( ${LIB_DEPEND} )
sys-apps/diffutils"
-RDEPEND+=" !internal_dmi? ( sys-apps/dmidecode )"
+RDEPEND+=" !internal-dmi? ( sys-apps/dmidecode )"
_flashrom_enable() {
- local c="CONFIG_${2:-$(echo "$1" | tr [:lower:] [:upper:])}"
+ local c="CONFIG_${2:-$(echo "$1" | tr '[:lower:]-' '[:upper:]_')}"
args+=( "${c}=$(usex $1 yes no)" )
}
flashrom_enable() {
@@ -70,8 +97,8 @@ src_compile() {
grep -o 'CONFIG_[A-Z0-9_]*' flashrom.c | \
sort -u | \
sed 's:^CONFIG_::' | \
- tr '[:upper:]' '[:lower:]'))
- local eprogs=$(echo ${IUSE_PROGRAMMERS//[+-]})
+ tr '[:upper:]_' '[:lower:]-'))
+ local eprogs=$(echo ${IUSE_PROGRAMMERS} | sed -E 's/\B[-+]\b//g')
if [[ ${sprogs} != "${eprogs}" ]] ; then
eerror "The ebuild needs to be kept in sync."
eerror "IUSE set to: ${eprogs}"
diff --git a/sys-apps/flashrom/flashrom-1.1.ebuild b/sys-apps/flashrom/flashrom-1.1.ebuild
index 30b34fa616aa..873ed5612b84 100644
--- a/sys-apps/flashrom/flashrom-1.1.ebuild
+++ b/sys-apps/flashrom/flashrom-1.1.ebuild
@@ -26,74 +26,74 @@ IUSE_PROGRAMMERS="
atahpt
+atapromise
+atavia
- +buspirate_spi
- +ch341a_spi
+ +buspirate-spi
+ +ch341a-spi
+dediprog
- +developerbox_spi
- +digilent_spi
+ +developerbox-spi
+ +digilent-spi
+drkaiser
+dummy
- +ft2232_spi
+ +ft2232-spi
+gfxnvidia
+internal
+it8212
- jlink_spi
- +linux_mtd
- +linux_spi
- mstarddc_spi
+ jlink-spi
+ +linux-mtd
+ +linux-spi
+ mstarddc-spi
+nic3com
+nicintel
- +nicintel_eeprom
- +nicintel_spi
+ +nicintel-eeprom
+ +nicintel-spi
nicnatsemi
+nicrealtek
- +ogp_spi
- +pickit2_spi
- +pony_spi
- +rayer_spi
+ +ogp-spi
+ +pickit2-spi
+ +pony-spi
+ +rayer-spi
+satamv
+satasii
+serprog
- +usbblaster_spi
+ +usbblaster-spi
"
-IUSE="${IUSE_PROGRAMMERS} +internal_dmi static tools +wiki"
+IUSE="${IUSE_PROGRAMMERS} +internal-dmi static tools +wiki"
LIB_DEPEND="
atahpt? ( sys-apps/pciutils[static-libs(+)] )
atapromise? ( sys-apps/pciutils[static-libs(+)] )
atavia? ( sys-apps/pciutils[static-libs(+)] )
- ch341a_spi? ( virtual/libusb:1[static-libs(+)] )
+ ch341a-spi? ( virtual/libusb:1[static-libs(+)] )
dediprog? ( virtual/libusb:1[static-libs(+)] )
- developerbox_spi? ( virtual/libusb:1[static-libs(+)] )
- digilent_spi? ( virtual/libusb:1[static-libs(+)] )
+ developerbox-spi? ( virtual/libusb:1[static-libs(+)] )
+ digilent-spi? ( virtual/libusb:1[static-libs(+)] )
drkaiser? ( sys-apps/pciutils[static-libs(+)] )
- ft2232_spi? ( dev-embedded/libftdi:=[static-libs(+)] )
+ ft2232-spi? ( dev-embedded/libftdi:=[static-libs(+)] )
gfxnvidia? ( sys-apps/pciutils[static-libs(+)] )
internal? ( sys-apps/pciutils[static-libs(+)] )
it8212? ( sys-apps/pciutils[static-libs(+)] )
- jlink_spi? ( dev-embedded/libjaylink[static-libs(+)] )
+ jlink-spi? ( dev-embedded/libjaylink[static-libs(+)] )
nic3com? ( sys-apps/pciutils[static-libs(+)] )
- nicintel_eeprom? ( sys-apps/pciutils[static-libs(+)] )
- nicintel_spi? ( sys-apps/pciutils[static-libs(+)] )
+ nicintel-eeprom? ( sys-apps/pciutils[static-libs(+)] )
+ nicintel-spi? ( sys-apps/pciutils[static-libs(+)] )
nicintel? ( sys-apps/pciutils[static-libs(+)] )
nicnatsemi? ( sys-apps/pciutils[static-libs(+)] )
nicrealtek? ( sys-apps/pciutils[static-libs(+)] )
- ogp_spi? ( sys-apps/pciutils[static-libs(+)] )
- pickit2_spi? ( virtual/libusb:0[static-libs(+)] )
- rayer_spi? ( sys-apps/pciutils[static-libs(+)] )
+ ogp-spi? ( sys-apps/pciutils[static-libs(+)] )
+ pickit2-spi? ( virtual/libusb:0[static-libs(+)] )
+ rayer-spi? ( sys-apps/pciutils[static-libs(+)] )
satamv? ( sys-apps/pciutils[static-libs(+)] )
satasii? ( sys-apps/pciutils[static-libs(+)] )
- usbblaster_spi? ( dev-embedded/libftdi:=[static-libs(+)] )
+ usbblaster-spi? ( dev-embedded/libftdi:=[static-libs(+)] )
"
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
DEPEND="${RDEPEND}
static? ( ${LIB_DEPEND} )
sys-apps/diffutils"
-RDEPEND+=" !internal_dmi? ( sys-apps/dmidecode )"
+RDEPEND+=" !internal-dmi? ( sys-apps/dmidecode )"
_flashrom_enable() {
- local c="CONFIG_${2:-$(echo "$1" | tr [:lower:] [:upper:])}"
+ local c="CONFIG_${2:-$(echo "$1" | tr '[:lower:]-' '[:upper:]_')}"
args+=( "${c}=$(usex $1 yes no)" )
}
flashrom_enable() {
@@ -107,8 +107,8 @@ src_compile() {
grep -o 'CONFIG_[A-Z0-9_]*' flashrom.c | \
sort -u | \
sed 's:^CONFIG_::' | \
- tr '[:upper:]' '[:lower:]'))
- local eprogs=$(echo ${IUSE_PROGRAMMERS//[+-]})
+ tr '[:upper:]_' '[:lower:]-'))
+ local eprogs=$(echo ${IUSE_PROGRAMMERS} | sed -E 's/\B[-+]\b//g')
if [[ ${sprogs} != "${eprogs}" ]] ; then
eerror "The ebuild needs to be kept in sync."
eerror "IUSE set to: ${eprogs}"
diff --git a/sys-apps/flashrom/flashrom-9999.ebuild b/sys-apps/flashrom/flashrom-9999.ebuild
index 30b34fa616aa..873ed5612b84 100644
--- a/sys-apps/flashrom/flashrom-9999.ebuild
+++ b/sys-apps/flashrom/flashrom-9999.ebuild
@@ -26,74 +26,74 @@ IUSE_PROGRAMMERS="
atahpt
+atapromise
+atavia
- +buspirate_spi
- +ch341a_spi
+ +buspirate-spi
+ +ch341a-spi
+dediprog
- +developerbox_spi
- +digilent_spi
+ +developerbox-spi
+ +digilent-spi
+drkaiser
+dummy
- +ft2232_spi
+ +ft2232-spi
+gfxnvidia
+internal
+it8212
- jlink_spi
- +linux_mtd
- +linux_spi
- mstarddc_spi
+ jlink-spi
+ +linux-mtd
+ +linux-spi
+ mstarddc-spi
+nic3com
+nicintel
- +nicintel_eeprom
- +nicintel_spi
+ +nicintel-eeprom
+ +nicintel-spi
nicnatsemi
+nicrealtek
- +ogp_spi
- +pickit2_spi
- +pony_spi
- +rayer_spi
+ +ogp-spi
+ +pickit2-spi
+ +pony-spi
+ +rayer-spi
+satamv
+satasii
+serprog
- +usbblaster_spi
+ +usbblaster-spi
"
-IUSE="${IUSE_PROGRAMMERS} +internal_dmi static tools +wiki"
+IUSE="${IUSE_PROGRAMMERS} +internal-dmi static tools +wiki"
LIB_DEPEND="
atahpt? ( sys-apps/pciutils[static-libs(+)] )
atapromise? ( sys-apps/pciutils[static-libs(+)] )
atavia? ( sys-apps/pciutils[static-libs(+)] )
- ch341a_spi? ( virtual/libusb:1[static-libs(+)] )
+ ch341a-spi? ( virtual/libusb:1[static-libs(+)] )
dediprog? ( virtual/libusb:1[static-libs(+)] )
- developerbox_spi? ( virtual/libusb:1[static-libs(+)] )
- digilent_spi? ( virtual/libusb:1[static-libs(+)] )
+ developerbox-spi? ( virtual/libusb:1[static-libs(+)] )
+ digilent-spi? ( virtual/libusb:1[static-libs(+)] )
drkaiser? ( sys-apps/pciutils[static-libs(+)] )
- ft2232_spi? ( dev-embedded/libftdi:=[static-libs(+)] )
+ ft2232-spi? ( dev-embedded/libftdi:=[static-libs(+)] )
gfxnvidia? ( sys-apps/pciutils[static-libs(+)] )
internal? ( sys-apps/pciutils[static-libs(+)] )
it8212? ( sys-apps/pciutils[static-libs(+)] )
- jlink_spi? ( dev-embedded/libjaylink[static-libs(+)] )
+ jlink-spi? ( dev-embedded/libjaylink[static-libs(+)] )
nic3com? ( sys-apps/pciutils[static-libs(+)] )
- nicintel_eeprom? ( sys-apps/pciutils[static-libs(+)] )
- nicintel_spi? ( sys-apps/pciutils[static-libs(+)] )
+ nicintel-eeprom? ( sys-apps/pciutils[static-libs(+)] )
+ nicintel-spi? ( sys-apps/pciutils[static-libs(+)] )
nicintel? ( sys-apps/pciutils[static-libs(+)] )
nicnatsemi? ( sys-apps/pciutils[static-libs(+)] )
nicrealtek? ( sys-apps/pciutils[static-libs(+)] )
- ogp_spi? ( sys-apps/pciutils[static-libs(+)] )
- pickit2_spi? ( virtual/libusb:0[static-libs(+)] )
- rayer_spi? ( sys-apps/pciutils[static-libs(+)] )
+ ogp-spi? ( sys-apps/pciutils[static-libs(+)] )
+ pickit2-spi? ( virtual/libusb:0[static-libs(+)] )
+ rayer-spi? ( sys-apps/pciutils[static-libs(+)] )
satamv? ( sys-apps/pciutils[static-libs(+)] )
satasii? ( sys-apps/pciutils[static-libs(+)] )
- usbblaster_spi? ( dev-embedded/libftdi:=[static-libs(+)] )
+ usbblaster-spi? ( dev-embedded/libftdi:=[static-libs(+)] )
"
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
DEPEND="${RDEPEND}
static? ( ${LIB_DEPEND} )
sys-apps/diffutils"
-RDEPEND+=" !internal_dmi? ( sys-apps/dmidecode )"
+RDEPEND+=" !internal-dmi? ( sys-apps/dmidecode )"
_flashrom_enable() {
- local c="CONFIG_${2:-$(echo "$1" | tr [:lower:] [:upper:])}"
+ local c="CONFIG_${2:-$(echo "$1" | tr '[:lower:]-' '[:upper:]_')}"
args+=( "${c}=$(usex $1 yes no)" )
}
flashrom_enable() {
@@ -107,8 +107,8 @@ src_compile() {
grep -o 'CONFIG_[A-Z0-9_]*' flashrom.c | \
sort -u | \
sed 's:^CONFIG_::' | \
- tr '[:upper:]' '[:lower:]'))
- local eprogs=$(echo ${IUSE_PROGRAMMERS//[+-]})
+ tr '[:upper:]_' '[:lower:]-'))
+ local eprogs=$(echo ${IUSE_PROGRAMMERS} | sed -E 's/\B[-+]\b//g')
if [[ ${sprogs} != "${eprogs}" ]] ; then
eerror "The ebuild needs to be kept in sync."
eerror "IUSE set to: ${eprogs}"
diff --git a/sys-apps/flashrom/metadata.xml b/sys-apps/flashrom/metadata.xml
index 7f752c64c571..11a2a4bdc995 100644
--- a/sys-apps/flashrom/metadata.xml
+++ b/sys-apps/flashrom/metadata.xml
@@ -13,39 +13,37 @@
<flag name="atahpt">Highpoint (HPT) ATA/RAID controller support</flag>
<flag name="atapromise">Support for Promise PDC2026x (FastTrak/Ultra)</flag>
<flag name="atavia">Support for VIA VT6421A SATA controllers</flag>
- <flag name="bitbang_spi">Bitbanging SPI infrastructure</flag>
- <flag name="buspirate_spi">Enable Bus Pirate SPI programmer</flag>
- <flag name="ch341a_spi">Enable WCH CH341A SPI programmer</flag>
+ <flag name="buspirate-spi">Enable Bus Pirate SPI programmer</flag>
+ <flag name="ch341a-spi">Enable WCH CH341A SPI programmer</flag>
<flag name="dediprog">Dediprog SF100 support</flag>
- <flag name="developerbox_spi">Enable Devloperbox SPI recovery support</flag>
- <flag name="digilent_spi">Enable support for Digilent iCEblink40 development board</flag>
+ <flag name="developerbox-spi">Enable Devloperbox SPI recovery support</flag>
+ <flag name="digilent-spi">Enable support for Digilent iCEblink40 development board</flag>
<flag name="drkaiser">Enable Dr. Kaiser programmer</flag>
<flag name="dummy">Enable dummy tracing</flag>
- <flag name="ft2232_spi">Enable ftdi programmer, flashing through FTDI/SPI USB interface</flag>
+ <flag name="ft2232-spi">Enable ftdi programmer, flashing through FTDI/SPI USB interface</flag>
<flag name="gfxnvidia">Enable NVIDIA programmer</flag>
<flag name="internal">Enable internal/onboard support</flag>
- <flag name="internal_dmi">Enable internal DMI decoding rather than use <pkg>sys-apps/dmidecode</pkg></flag>
+ <flag name="internal-dmi">Enable internal DMI decoding rather than use <pkg>sys-apps/dmidecode</pkg></flag>
<flag name="it8212">Support for ITE IT8212F ATA/RAID controllers</flag>
- <flag name="jlink_spi">Support for SEGGER J-Link and compatible devices</flag>
- <flag name="linux_mtd">Enable support for Linux mtd SPI flash devices</flag>
- <flag name="linux_spi">Enable support for Linux userspace spidev interface</flag>
- <flag name="mstarddc_spi">Support for SPI flash ROMs accessible through DDC in MSTAR-equipped displays</flag>
+ <flag name="jlink-spi">Support for SEGGER J-Link and compatible devices</flag>
+ <flag name="linux-mtd">Enable support for Linux mtd SPI flash devices</flag>
+ <flag name="linux-spi">Enable support for Linux userspace spidev interface</flag>
+ <flag name="mstarddc-spi">Support for SPI flash ROMs accessible through DDC in MSTAR-equipped displays</flag>
<flag name="nic3com">Enable 3Com NIC programmer</flag>
<flag name="nicintel">Support for Intel NICs</flag>
- <flag name="nicintel_eeprom">Support for EEPROMs on Intel Gigabit network cards</flag>
- <flag name="nicintel_spi">Support for SPI on Intel NICs</flag>
+ <flag name="nicintel-eeprom">Support for EEPROMs on Intel Gigabit network cards</flag>
+ <flag name="nicintel-spi">Support for SPI on Intel NICs</flag>
<flag name="nicnatsemi">Support for National Semiconductor NICs</flag>
<flag name="nicrealtek">Support for Realtek NICs</flag>
- <flag name="ogp_spi">Enable support for OGP (Open Graphics Project) SPI flashing</flag>
- <flag name="pickit2_spi">SUpport for SPI flash ROMs accessible via Microchip PICkit2</flag>
- <flag name="pony_spi">Enable support for SI-Prog like hardware by Lancos</flag>
- <flag name="rayer_spi">RayeR SPIPGM hardware support</flag>
+ <flag name="ogp-spi">Enable support for OGP (Open Graphics Project) SPI flashing</flag>
+ <flag name="pickit2-spi">SUpport for SPI flash ROMs accessible via Microchip PICkit2</flag>
+ <flag name="pony-spi">Enable support for SI-Prog like hardware by Lancos</flag>
+ <flag name="rayer-spi">RayeR SPIPGM hardware support</flag>
<flag name="satasii">Enable programmer for SiI SATA controllers</flag>
<flag name="satamv">Enable programmer for Marvell SATA controllers</flag>
<flag name="serprog">Enable Serial Flasher programmer</flag>
<flag name="tools">Install additional tools</flag>
- <flag name="usbblaster">Enable support for Altera USB-Blaster dongles</flag>
- <flag name="usbblaster_spi">Enable support for Altera USB-Blaster dongles</flag>
+ <flag name="usbblaster-spi">Enable support for Altera USB-Blaster dongles</flag>
<flag name="wiki">Enable wiki informations, like supported devices etc.</flag>
</use>
<longdescription lang="en">