-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Conversation
) | ||
ssl? ( | ||
!libressl? ( dev-libs/openssl:0= ) | ||
libressl? ( dev-libs/libressl ) |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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}/" |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 ) |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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:* |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs :=
Package-Manager: portage-2.3.0
Gentoo-bug: 587238 Package-Manager: portage-2.3.0
Thanks @a17r. I'm going to merge this PR. |
Gentoo-Bug: https://bugs.gentoo.org/587238 Package-Manager: portage-2.3.0 Closes: #2673
If Qt5 works well enough, Qt4 should be dropped, especially when it reduces REQUIRED_USE.
@ZeroChaos-