Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931239 - app-crypt/tpm2-tss-4.1.0: bashism in configure
Summary: app-crypt/tpm2-tss-4.1.0: bashism in configure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christopher Byrne
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: nonbash
  Show dependency tree
 
Reported: 2024-05-05 12:12 UTC by Sam James
Modified: 2024-05-09 22:00 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-05 12:12:54 UTC
```
checking if LD -Wl,--version-script works... yes
/var/tmp/portage/app-crypt/tpm2-tss-4.1.0/work/tpm2-tss-4.1.0/configure: 23648: test: xno: unexpected operator
```

configure has:
```
 if test "x$enable_self_generated_certificate" == xyes; then
  INIT_CA_TRUE=
  INIT_CA_FALSE='#'
else
  INIT_CA_TRUE='#'
  INIT_CA_FALSE=
fi
```

It should use =, not ==.
Comment 1 Larry the Git Cow gentoo-dev 2024-05-09 22:00:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e39e3ae8045d92d376b9ab9d0caa1354d6d13602

commit e39e3ae8045d92d376b9ab9d0caa1354d6d13602
Author:     Christopher Byrne <salah.coronya@gmail.com>
AuthorDate: 2024-05-09 16:18:26 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-09 21:59:51 +0000

    app-crypt/tpm2-tss: Exclude TCTIs with automagic external dependencies
    
    Closes: https://bugs.gentoo.org/931513
    Closes: https://bugs.gentoo.org/931239
    Closes: https://bugs.gentoo.org/931122
    
    Signed-off-by: Christopher Byrne <salah.coronya@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/36619
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/tpm2-tss-4.1.1-Remove-bash-syntax.patch  |  28 ++++++
 ...piler-common.sh-Remove-dependency-on-whic.patch |  32 ++++++
 app-crypt/tpm2-tss/tpm2-tss-4.1.1-r1.ebuild        | 112 +++++++++++++++++++++
 3 files changed, 172 insertions(+)