FreeBSD Bugzilla – Attachment 172697 Details for
Bug 211214
net/wpa_gui: Several improvements
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
wpa_gui.patch (text/plain), 3.97 KB, created by
Yuri Victorovich
on 2016-07-19 06:15:21 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2016-07-19 06:15:21 UTC
Size:
3.97 KB
patch
obsolete
>Index: net/wpa_gui/Makefile >=================================================================== >--- net/wpa_gui/Makefile (revision 417902) >+++ net/wpa_gui/Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= wpa_gui > PORTVERSION= 2.5 >+PORTREVISION= 1 > CATEGORIES= net > MASTER_SITES= http://w1.fi/releases/ \ > http://partmedia.users.sourceforge.net/dist/:icons \ >@@ -18,19 +19,30 @@ > > WRKSRC_SUBDIR= wpa_supplicant/wpa_gui-qt4 > >-PLIST_FILES= sbin/wpa_gui \ >+PLIST_FILES= "@mode 4555" \ >+ sbin/wpa_gui \ >+ "@mode" \ > share/applications/wpa_gui.desktop \ > share/icons/hicolor/16x16/apps/wpa_gui.png \ >- share/icons/hicolor/scalable/apps/wpa_gui.svg >+ share/icons/hicolor/scalable/apps/wpa_gui.svgz \ >+ man/man8/wpa_gui.8.gz > >-USE_QT4= gui moc_build rcc_build uic_build >+USE_QT4= corelib gui moc_build rcc_build uic_build > USES= qmake >+INSTALLS_ICONS= yes > >+OPTIONS_DEFINE= DEBUG >+ > post-patch: > @${REINPLACE_CMD} -e \ > '/^Exec/s|=.*|=${PREFIX}/sbin/wpa_gui|' \ > ${WRKSRC}/wpa_gui.desktop > >+post-patch-DEBUG-on: >+ @${REINPLACE_CMD} -e \ >+ 's| release| debug|' \ >+ ${WRKSRC}/wpa_gui.pro >+ > do-install: > ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin > ${INSTALL_DATA} ${WRKSRC}/wpa_gui.desktop ${STAGEDIR}${PREFIX}/share/applications >@@ -38,7 +50,9 @@ > ${INSTALL_DATA} ${WRKDIR}/icons/hicolor/16x16/apps/wpa_gui.png \ > ${STAGEDIR}${PREFIX}/share/icons/hicolor/16x16/apps > ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps >- ${INSTALL_DATA} ${WRKSRC}/icons/wpa_gui.svg \ >- ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps >+ @${GZIP_CMD} < ${WRKSRC}/icons/wpa_gui.svg \ >+ > ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/wpa_gui.svgz >+ @${GZIP_CMD} < ${WRKSRC}/../doc/docbook/wpa_gui.8 \ >+ > ${STAGEDIR}${PREFIX}/man/man8/wpa_gui.8.gz > > .include <bsd.port.mk> >Index: net/wpa_gui/files/patch-wpa_ctrl.c >=================================================================== >--- net/wpa_gui/files/patch-wpa_ctrl.c (nonexistent) >+++ net/wpa_gui/files/patch-wpa_ctrl.c (working copy) >@@ -0,0 +1,23 @@ >+--- ../../src/common/wpa_ctrl.c.orig 2016-07-18 19:31:51.725862000 -0700 >++++ ../../src/common/wpa_ctrl.c >+@@ -477,6 +477,10 @@ >+ char *cmd_buf = NULL; >+ size_t _cmd_len; >+ >++#ifndef QT_NO_DEBUG >++ fprintf(stderr, "CMD-SEND: %*s\n", cmd_len, cmd); >++#endif // QT_NO_DEBUG >++ >+ #ifdef CONFIG_CTRL_IFACE_UDP >+ if (ctrl->cookie) { >+ char *pos; >+@@ -554,6 +558,9 @@ >+ continue; >+ } >+ *reply_len = res; >++#ifndef QT_NO_DEBUG >++ fprintf(stderr, "CMD-RECV: %*s\n", *reply_len, reply); >++#endif // QT_NO_DEBUG >+ break; >+ } else { >+ return -2; > >Property changes on: net/wpa_gui/files/patch-wpa_ctrl.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: net/wpa_gui/files/patch-wpagui.cpp >=================================================================== >--- net/wpa_gui/files/patch-wpagui.cpp (nonexistent) >+++ net/wpa_gui/files/patch-wpagui.cpp (working copy) >@@ -0,0 +1,12 @@ >+--- wpagui.cpp.orig 2015-09-27 19:02:05 UTC >++++ wpagui.cpp >+@@ -302,7 +302,8 @@ int WpaGui::openCtrlConnection(const cha >+ #endif /* _DIRENT_HAVE_D_TYPE */ >+ >+ if (strcmp(dent->d_name, ".") == 0 || >+- strcmp(dent->d_name, "..") == 0) >++ strcmp(dent->d_name, "..") == 0 || >++ (strlen(dent->d_name) > strlen(".pid") && !strcmp(dent->d_name + strlen(dent->d_name) - strlen(".pid"), ".pid"))) >+ continue; >+ debug("Selected interface '%s'", >+ dent->d_name); > >Property changes on: net/wpa_gui/files/patch-wpagui.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
koobs
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 211214
:
172696
|
172697
|
172698