Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net-wireless/wpa_supplicant: Drop USE=qt4, bump to EAPI 6 #2673

Closed
wants to merge 2 commits into from

Conversation

a17r
Copy link
Member

@a17r a17r commented Oct 27, 2016

If Qt5 works well enough, Qt4 should be dropped, especially when it reduces REQUIRED_USE.

@ZeroChaos-

@monsieurp monsieurp added enhancement assigned PR successfully assigned to the package maintainer(s). labels Oct 27, 2016
)
ssl? (
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl )
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

libressl needs :0=

if use qt5 ; then
pushd "${S}"/wpa_gui-qt4 > /dev/null
eqmake5 wpa_gui.pro
popd > /dev/null
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pushd + popd are missing || die's

pushd "${S}"/wpa_gui-qt4 > /dev/null
einfo "Building wpa_gui"
emake
popd > /dev/null
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here again

if [[ -e ${EROOT%/}etc/wpa_supplicant.conf ]] ; then
echo
ewarn "WARNING: your old configuration file ${EROOT}etc/wpa_supplicant.conf"
ewarn "needs to be moved to ${EROOT}etc/wpa_supplicant/wpa_supplicant.conf"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

${EROOT%/}/ pls

elog "An example configuration file is available for reference in"
elog "/usr/share/doc/${PF}/"

if [[ -e ${EROOT%/}etc/wpa_supplicant.conf ]] ; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is broken! ${EROOT%/}/

elog "/etc/wpa_supplicant/wpa_supplicant.conf"
elog
elog "An example configuration file is available for reference in"
elog "/usr/share/doc/${PF}/"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing EROOT

newins dbus-wpa_supplicant.conf wpa_supplicant.conf
insinto /usr/share/dbus-1/system-services
doins fi.epitest.hostap.WPASupplicant.service fi.w1.wpa_supplicant1.service
popd > /dev/null
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pushd + popd are missing || die's

if [[ -e "${EROOT%/}"/etc/wpa_supplicant.conf ]] ; then
echo
ewarn "WARNING: your old configuration file ${EROOT%/}etc/wpa_supplicant.conf"
ewarn "needs to be moved to ${EROOT%/}etc/wpa_supplicant/wpa_supplicant.conf"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also here


if [[ -e "${EROOT%/}"/etc/wpa_supplicant.conf ]] ; then
echo
ewarn "WARNING: your old configuration file ${EROOT%/}etc/wpa_supplicant.conf"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

zero-slashing 😄 ahoy!

pushd "${S}"/wpa_gui-qt4 > /dev/null || die
einfo "Building wpa_gui"
emake
popd > /dev/null || die
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rather get rid of pushd + popd and do emake -C "${S}"/wpa_gui-qt4

dev-libs/libgcrypt:*
net-libs/gnutls
)
!gnutls? ( dev-libs/libtommath )
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this logic seems totally broken. So if you don't want SSL (i.e., USE="-ssl") you have gnutls shoved down your throat?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


EAPI=6

inherit toolchain-funcs qmake-utils systemd
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sort alphabetically

)
ssl? (
gnutls? (
dev-libs/libgcrypt:*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs :0=

ssl? (
gnutls? (
dev-libs/libgcrypt:*
net-libs/gnutls
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs :=

@monsieurp
Copy link
Member

Thanks @a17r. I'm going to merge this PR.

@gentoo-bot gentoo-bot closed this in 66b6ba8 Dec 4, 2016
gentoo-bot pushed a commit that referenced this pull request Dec 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s).
Projects
None yet
4 participants