Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 718104 - net-misc/whois-5.5.6 automagically depends on sys-libs/libxcrypt
Summary: net-misc/whois-5.5.6 automagically depends on sys-libs/libxcrypt
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-18 20:52 UTC by Eugene Shalygin
Modified: 2020-04-20 10:19 UTC (History)
1 user (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 Eugene Shalygin 2020-04-18 20:52:53 UTC
The relevant part of the Makefile:

ifeq ($(shell $(PKG_CONFIG) --exists 'libxcrypt >= 4.1' || echo NO),)
DEFS += -DHAVE_CRYPT_H -DHAVE_LINUX_CRYPT_GENSALT $(shell $(PKG_CONFIG) --cflags libcrypt)
mkpasswd_LDADD += $(shell $(PKG_CONFIG) --libs libcrypt)
else ifdef HAVE_XCRYPT
DEFS += -DHAVE_XCRYPT_H -DHAVE_LINUX_CRYPT_GENSALT
mkpasswd_LDADD += -lxcrypt
else ifdef HAVE_LIBOWCRYPT
# owl and openSUSE have crypt_gensalt(3) in libowcrypt
DEFS += -DHAVE_CRYPT_H -DHAVE_LINUX_CRYPT_GENSALT -D_OW_SOURCE
mkpasswd_LDADD += -lcrypt -lowcrypt
else
mkpasswd_LDADD += -lcrypt
endif
Comment 1 Larry the Git Cow gentoo-dev 2020-04-20 10:19:43 UTC
The bug has been closed via the following commit(s):

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

commit d13e8c2a91c13a6e1c95cf727e78fef2aa2bb2ec
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-04-20 10:05:18 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-04-20 10:19:38 +0000

    net-misc/whois: Revbump to fix automagic dep on sys-libs/libxcrypt
    
    Thanks-to: Eugene Shalygin <eugene.shalygin@gmail.com>
    Closes: https://bugs.gentoo.org/718104
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../whois/files/whois-5.5.6-libxcrypt_automagic.patch | 19 +++++++++++++++++++
 net-misc/whois/metadata.xml                           |  3 +++
 .../{whois-5.5.6.ebuild => whois-5.5.6-r1.ebuild}     | 11 ++++++++---
 net-misc/whois/whois-9999.ebuild                      | 11 ++++++++---
 profiles/arch/alpha/package.use.mask                  |  4 ++++
 profiles/arch/arm/package.use.mask                    |  4 ++++
 profiles/arch/arm64/package.use.mask                  |  4 ++++
 profiles/arch/ia64/package.use.mask                   |  4 ++++
 profiles/arch/powerpc/package.use.mask                |  4 ++++
 9 files changed, 58 insertions(+), 6 deletions(-)