summaryrefslogtreecommitdiff
path: root/sys-block/di
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-07-10 23:40:16 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-07-10 23:40:16 +0100
commit51af5f0eb4cddbe6aa7953717873691d77aae9ff (patch)
tree1541525274162b033ebbc3ed38abaf335fbbd49a /sys-block/di
parent7014a5a3ea0feffab9701fdd6b64cc7667a985af (diff)
gentoo resync : 11.07.2019
Diffstat (limited to 'sys-block/di')
-rw-r--r--sys-block/di/Manifest5
-rw-r--r--sys-block/di/di-4.46.ebuild39
-rw-r--r--sys-block/di/di-4.47.ebuild2
-rw-r--r--sys-block/di/files/di-4.46-no_echo-n.patch278
4 files changed, 2 insertions, 322 deletions
diff --git a/sys-block/di/Manifest b/sys-block/di/Manifest
index 0b1a921d7c16..9aed0a318e92 100644
--- a/sys-block/di/Manifest
+++ b/sys-block/di/Manifest
@@ -1,10 +1,7 @@
AUX di-4.33-build.patch 1041 BLAKE2B 971d2cdcab457ede532c490d2a584ea76d7c7181587e670a18ee51431716e9fa64c1acc89ae41b51fadf58829e3d0edbd34181bd439adc50f028eac49786115f SHA512 5ed513a857585bd460e530d406488729e3b75f9a945faa600de1c41ed30762f2a5ed578ee10c5df16f3980b2063a05648d6c85c2882da8ef40e657e058788214
-AUX di-4.46-no_echo-n.patch 7166 BLAKE2B 5e975431b01a5abf0cda04a82c28cc5127136380c9f52563221f2fa5fd2e64da6a9683e8861e2045f4daf0979df309b930fbeb0a1b8f3761f72b195b4e6b9c20 SHA512 b0de0f6925bd52b86915914c135d44c6c77688cfae2fb69bac8873e042e79dc34daa3e55b871398e55acbac91a6e70306c33b60eb2fc3cd044f12f460e5aaf5c
AUX di-4.47-no_echo-n.patch 658 BLAKE2B cfd3df4c24333dd168ceef279c7cfcad2194e7fd7b3f1b2722cc9e54ae51abf963971666458455117ae990613ffc920541e3db4d603948c1a2dcdbd9f9912331 SHA512 2184eb38daa2eb67d3f61d337ee1d95188f66a1e63838916305aa72ef16c50e93147a5cee7388785bf96088479acc4ddddf7f2a1a4bb6e0c2de47abca4bbb071
-DIST di-4.46.tar.gz 217096 BLAKE2B 4757dec7d9c0da121d0057e8088ecb5994f60eec8de49db4a12e84a68d2ad9dc86462f01370786e0c03a792f39984aead2d838d34b4881396aacb39386635bfd SHA512 ead1172dfa9db74d6a8378f8ded460b365c0445d75d71154c67446585d63c0824f8fdc4818438b3d9c3c4795af518f1499c29762712fd62ab97e9be7e680d133
DIST di-4.47.1.tar.gz 221051 BLAKE2B d1012ab500f808363ce445b6c0bb80f3e91f85560faff1d31bbed4f3d44f894dadb5d59d417a16335fce45659861b483dc82b53a59718ee1c8a1b6b21265d4d9 SHA512 3312634617b5614d36d7ce9c0725a4d03e55e694b9588db88bb1c2bfab05373516cadbab8a23db3328f4944b99ae07dacabb98d56cc909f0502d58ccc6f5301c
DIST di-4.47.tar.gz 250479 BLAKE2B 64156867ab31c448dfc428331a54900a54df4689f851f86f6b8e33403b2f0b785aadd8140576bc75f03ed675cf31fffe15d577b477e5d07a4e678bf625f46f49 SHA512 6bb004a9230dd59174c59b823a80ccc9b237a08947ac15502a805cf95e8803c05ac4e8c2282164130db2e23e8f521bf16c30f2c0996c96a9612d139d66df89f5
-EBUILD di-4.46.ebuild 756 BLAKE2B 85e9a30897397f78edd92ecb6c7a1bfa278d2987b9e03a23dd1d68df5aaf6104dd8b1bcdfdf71a20ae8325f611033204565a2ea4d327b05ab7157b0ee128e379 SHA512 e6a4b158e9922c5a3bef82a59c7f69b06fc9c9a7438b4412dae15f181ac42c318ff92a300195f9c2ca38c70c83be171abd9d51b97c02486c0b38f390ab9e5919
EBUILD di-4.47.1.ebuild 710 BLAKE2B 613195ec309e0f696eab066bbd854cabd388c3b72ae462e0886afeb7cf2f2bcc6a01cb7e496e71a2662f6994067bf0c974cbf7af3ceefad3aac14284086aaea1 SHA512 409ad6ef98284cbbc884ac473dd4190065dc90416da90ec1f925cdb9f98214d223009007e275fe3e46979b9c7fe7d5ef62a460531d0149a0bd8ec42ee720111b
-EBUILD di-4.47.ebuild 755 BLAKE2B e0b64e4e3a30353f48adc6dbe476569d3eb65646f3bdcd2c710e83cdbcfab39594062a0a844b52a9a2c1527c6ac420fb54482f0a3286f4e7dd605f2e7bc3e37d SHA512 49a9ba326ca8fd087b30630f8315c53a3ef04c5e8018cb41a0a13baa70a4f422efe3a9d1bdecb4b69ac430b05de4d54c76af59ea3726c9bc889eda234b1f867f
+EBUILD di-4.47.ebuild 753 BLAKE2B 9d542c55df57e11af0d0d6728fc59173987dc27ce59a965b3901d4b3cd7a06da28fea200ebfd66c32b093f5ddc4d2124005847263af6fec411a5ee0f418d7ced SHA512 1dac2dff1d0666d1838ca192888cb0024a0db65db7001b47038bdfeaad10d4d341732e69323cf804c91c291d18c9aa94646d89ee3e6c2620ebf4bd7fd6776159
MISC metadata.xml 253 BLAKE2B 295e9d6d93aaa12af413972e1590c67087801cc09c9aa6b59d4606c0f4106d1dacf2baa9858559083b4c6d91beeef218d0729e8593a33788958da6d2897e8ce2 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555
diff --git a/sys-block/di/di-4.46.ebuild b/sys-block/di/di-4.46.ebuild
deleted file mode 100644
index 220281ec25b7..000000000000
--- a/sys-block/di/di-4.46.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit toolchain-funcs
-
-DESCRIPTION="Disk Information Utility"
-HOMEPAGE="http://www.gentoo.com/di/"
-SRC_URI="http://www.gentoo.com/di/${P}.tar.gz"
-
-LICENSE="ZLIB"
-SLOT="0"
-KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
-IUSE="nls"
-
-RESTRICT="test" #405205, #405471
-
-DEPEND="nls? ( sys-devel/gettext )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-4.33-build.patch
- "${FILESDIR}"/${PN}-4.46-no_echo-n.patch
-)
-
-src_configure() {
- emake checkbuild
- emake -C C config.h
-}
-
-src_compile() {
- emake prefix=/usr CC="$(tc-getCC)" NLS=$(usex nls T F)
-}
-
-src_install() {
- emake install prefix="${D}/usr"
- # default symlink is broken
- dosym di /usr/bin/mi
- dodoc README
-}
diff --git a/sys-block/di/di-4.47.ebuild b/sys-block/di/di-4.47.ebuild
index a8e918ed2bef..adbd0e355f31 100644
--- a/sys-block/di/di-4.47.ebuild
+++ b/sys-block/di/di-4.47.ebuild
@@ -10,7 +10,7 @@ SRC_URI="http://www.gentoo.com/di/${P}.tar.gz"
LICENSE="ZLIB"
SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd"
+KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
IUSE="nls"
RESTRICT="test" #405205, #405471
diff --git a/sys-block/di/files/di-4.46-no_echo-n.patch b/sys-block/di/files/di-4.46-no_echo-n.patch
deleted file mode 100644
index 1b78c6c9ebe1..000000000000
--- a/sys-block/di/files/di-4.46-no_echo-n.patch
+++ /dev/null
@@ -1,278 +0,0 @@
-Neither "echo -n" nor "echo ... \c" is POSIX compliant.
-
-See "man 1p echo" section "APPLICATION USAGE" or
-https://www.in-ulm.de/%7Emascheck/various/echo+printf/
-
---- di-4.46/C/tests.d/rpmbuild.sh
-+++ di-4.46/C/tests.d/rpmbuild.sh
-@@ -12,13 +12,13 @@
- locatecmd locrpmbuild rpmbuild
-
- if [ "${locrpmbuild}" = "" ];then
-- echo ${EN} " skipped${EC}" >&5
-+ printf '%s' " skipped" >&5
- exit 0
- fi
-
- rvers=`rpmbuild --version | tr -cd '0-9' | sed 's/^\(...\).*/\1/'`
- if [ $rvers -lt 470 ]; then
-- echo ${EN} " old version skipped${EC}" >&5
-+ printf '%s' " old version skipped" >&5
- exit 0
- fi
-
---- di-4.46/mkconfig/bin/shellfuncs.sh
-+++ di-4.46/mkconfig/bin/shellfuncs.sh
-@@ -28,17 +28,6 @@
- echo "mkconfig version ${_MKCONFIG_VERSION}"
- }
-
--setechovars () {
-- EN='-n'
-- EC=''
-- if [ "`echo -n test`" = "-n test" ]; then
-- EN=''
-- EC='\c'
-- fi
-- export EN
-- export EC
--}
--
- dosubst () {
- subvar=$1
- shift
---- di-4.46/mkconfig/bin/testfuncs.sh
-+++ di-4.46/mkconfig/bin/testfuncs.sh
-@@ -19,14 +19,14 @@
-
- chkccompiler () {
- if [ "${CC}" = "" ]; then
-- echo ${EN} " no C compiler; skipped${EC}" >&5
-+ printf '%s' " no C compiler; skipped" >&5
- exit 0
- fi
- }
-
- chkdcompiler () {
- if [ "${DC}" = "" ]; then
-- echo ${EN} " no D compiler; skipped${EC}" >&5
-+ printf '%s' " no D compiler; skipped" >&5
- exit 0
- fi
- }
---- di-4.46/mkconfig/mkconfig.sh
-+++ di-4.46/mkconfig/mkconfig.sh
-@@ -28,7 +28,6 @@
- . ${_MKCONFIG_DIR}/bin/shellfuncs.sh
-
- doshelltest $0 $@
--setechovars
-
- LOG="mkconfig.log"
- _MKCONFIG_TMP="_tmp_mkconfig"
-@@ -154,7 +153,7 @@
- tlabel=$2
-
- echo " $ifleveldisp[${tname}] ${tlabel} ... " >&9
-- echo ${EN} "${ifleveldisp}${tlabel} ... ${EC}" >&1
-+ printf '%s' "${ifleveldisp}${tlabel} ... " >&1
- }
-
- _doexport () {
---- di-4.46/mkconfig/mkc.sh
-+++ di-4.46/mkconfig/mkc.sh
-@@ -16,7 +16,6 @@
- . ${_MKCONFIG_DIR}/bin/shellfuncs.sh
-
- doshelltest $0 $@
--setechovars
-
- rc=0
- args=$@
---- di-4.46/mkconfig/runtests.sh
-+++ di-4.46/mkconfig/runtests.sh
-@@ -136,8 +136,8 @@
- systype=`uname -s`
- shelllist=""
- for s in $tshelllist; do
-- echo ${EN} " check $s${EC}" >&8
-- echo ${EN} " $s${EC}"
-+ printf '%s' " check $s" >&8
-+ printf '%s' " $s"
- cmd="$s -c \". $_MKCONFIG_DIR/bin/shellfuncs.sh;chkshell echo\""
- eval $cmd >&8 2>&1
- rc=$?
-@@ -177,7 +177,7 @@
-
- cd $_MKCONFIG_TSTRUNTMPDIR
- if [ "$_MKCONFIG_SHELL" != "" ]; then
-- echo ${EN} " ${dispshell}${EC}"
-+ printf '%s' " ${dispshell}"
- fi
- targ=$arg
- if [ "$arg" != "" ]; then
-@@ -195,7 +195,7 @@
- echo "####" >&9
- exec 9>&-
- if [ $rc -ne 0 -a "$_MKCONFIG_SHELL" != "" ]; then
-- echo ${EN} "*${EC}"
-+ printf '%s' "*"
- fi
- return $rc
- }
-@@ -225,7 +225,6 @@
-
- doshelltest $0 $@
- if [ $SUBDIR = F ]; then
-- setechovars
- mkconfigversion
- fi
-
-@@ -386,8 +385,8 @@
- arg="mkconfig.sh"
-
- scount=""
-- echo ${EN} "$tbase ...${EC}"
-- echo ${EN} "$tbase ...${EC}" >&8
-+ printf '%s' "$tbase ..."
-+ printf '%s' "$tbase ..." >&8
- _MKCONFIG_TSTRUNTMPDIR=$_MKCONFIG_RUNTMPDIR/${tbase}
- export _MKCONFIG_TSTRUNTMPDIR
- mkdir ${_MKCONFIG_TSTRUNTMPDIR}
-@@ -395,14 +394,14 @@
- cp $tconfig $_MKCONFIG_TSTRUNTMPDIR/$tconfh
- fi
- tfdisp=`$_MKCONFIG_RUNTESTDIR/$tf -d`
-- echo ${EN} " ${tfdisp}${EC}"
-- echo ${EN} " ${tfdisp}${EC}" >&8
-+ printf '%s' " ${tfdisp}"
-+ printf '%s' " ${tfdisp}" >&8
- $_MKCONFIG_RUNTESTDIR/$tf -q
- runshpl=$?
-
- if [ $runshpl -eq $_MKC_SH -o $runshpl -eq $_MKC_SH_PL ]; then
-- echo ${EN} " ...${EC}"
-- echo ${EN} " ...${EC}" >&8
-+ printf '%s' " ..."
-+ printf '%s' " ..." >&8
- src=0
- scount=1
- for s in $shelllist; do
-@@ -468,12 +467,12 @@
- echo "# Test: $tf mkconfig.pl" >&9
- echo "# $dt" >&9
- echo "####" >&9
-- echo ${EN} "$tbase ...${EC}"
-- echo ${EN} "$tbase ...${EC}" >&8
-- echo ${EN} " ${tfdisp}${EC}"
-- echo ${EN} " ${tfdisp}${EC}" >&8
-- echo ${EN} " ... perl${EC}"
-- echo ${EN} " ... perl${EC}" >&8
-+ printf '%s' "$tbase ..."
-+ printf '%s' "$tbase ..." >&8
-+ printf '%s' " ${tfdisp}"
-+ printf '%s' " ${tfdisp}" >&8
-+ printf '%s' " ... perl"
-+ printf '%s' " ... perl" >&8
- echo "## Using mkconfig.pl " >&9
- if [ -f $tconfig ]; then
- cp $tconfig $_MKCONFIG_TSTRUNTMPDIR/$tconfh
---- di-4.46/mkconfig/units/c-main.sh
-+++ di-4.46/mkconfig/units/c-main.sh
-@@ -559,7 +559,7 @@
- eval $cmd
- echo "## dcl(C): ${dcl}" >&9
- c=`echo ${dcl} | sed 's/[^,]*//g'`
-- ccount=`echo ${EN} "$c${EC}" | wc -c`
-+ ccount=`printf '%s' "$c" | wc -c`
- domath ccount "$ccount + 1" # 0==1 also, unfortunately
- c=`echo ${dcl} | sed 's/^[^(]*(//'`
- c=`echo ${c} | sed 's/)[^)]*$//'`
---- di-4.46/mkconfig/units/d-main.sh
-+++ di-4.46/mkconfig/units/d-main.sh
-@@ -1680,7 +1680,7 @@
- echo "## tdcl(D): ${tdcl}" >&9
- if [ $argflag = 1 ]; then
- c=`echo ${tdcl} | sed 's/[^,]*//g'`
-- ccount=`echo ${EN} "$c${EC}" | wc -c`
-+ ccount=`printf '%s' "$c" | wc -c`
- domath ccount "$ccount + 1" # 0==1 also, unfortunately
- c=`echo ${tdcl} | sed 's/^[^(]*(//'`
- c=`echo ${c} | sed 's/)[^)]*$//'`
---- di-4.46/tests.d/buildsh.sh
-+++ di-4.46/tests.d/buildsh.sh
-@@ -43,7 +43,7 @@
- fi
- fi
-
-- echo ${EN} " ${d}${EC}" >&5
-+ printf '%s' " ${d}" >&5
- ${MAKE:-make} ${TMAKEFLAGS} realclean
- ${MAKE:-make} ${TMAKEFLAGS} -e prefix=${instdir} all > make.log 2>&1
- rc=$?
---- di-4.46/tests.d/diarg.sh
-+++ di-4.46/tests.d/diarg.sh
-@@ -93,7 +93,7 @@
- tdir=$_MKCONFIG_RUNTOPDIR/$d
-
- if [ -x ${tdir}/di ]; then
-- echo ${EN} " ${d}${EC}" >&5
-+ printf '%s' " ${d}" >&5
- # most all unix
- ${tdir}/di -n -f M / 2>/dev/null | grep '^/[ ]*$' > /dev/null 2>&1
- rc=$?
-@@ -135,7 +135,7 @@
- done
-
- if [ $lrc -ne 0 ]; then
-- echo ${EN} "*${EC}" >&5
-+ printf '%s' "*" >&5
- grc=1
- fi
- else
---- di-4.46/tests.d/disort.sh
-+++ di-4.46/tests.d/disort.sh
-@@ -41,7 +41,7 @@
- fi
- )
- if [ -x $tdir/di ]; then
-- echo ${EN} " ${d}${EC}" >&5
-+ printf '%s' " ${d}" >&5
- echo "## regular sort first, then di sort"
- echo "by special"
- ${tdir}/di -n -a -f S | sort > s1
-@@ -118,12 +118,12 @@
-
- rm -f s1 s2
- if [ $grc -ne 0 ]; then
-- echo ${EN} "*${EC}" >&5
-+ printf '%s' "*" >&5
- fi
- else
- if [ $d = C ]; then
- echo "## no di executable found for dir $d"
-- echo ${EN} "*${EC}" >&5
-+ printf '%s' "*" >&5
- grc=1
- fi
- fi
---- di-4.46/tests.d/ditot.sh
-+++ di-4.46/tests.d/ditot.sh
-@@ -27,7 +27,7 @@
- fi
- )
- if [ -x ${tdir}/di ]; then
-- echo ${EN} " ${d}${EC}" >&5
-+ printf '%s' " ${d}" >&5
- for format in $FORMATS; do
- echo "Checking format: $format"
- # have to exclude zfs, null (dragonflybsd)
-@@ -37,7 +37,7 @@
- didata=`${tdir}/di -n -d1 -f $format -t -a -x null,zfs,ctfs,objfs,sharefs 2>/dev/null `
- summtot=`(echo "0 ";echo $didata | sed 's/ */ + /g'; echo " - p") | dc`
- if [ $summtot -ne 0 ]; then
-- echo ${EN} "*${EC}" >&5
-+ printf '%s' "*" >&5
- echo "## format: $format failed"
- grc=1
- fi