[MacPorts] #16609: snoopy-2.9.95 Warcraft III Hosting Utility
#16609: snoopy-2.9.95 Warcraft III Hosting Utility --------------------------------------------+------------------------------- Reporter: pandagoat@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Keywords: warcraft banlist autorefresher | Port: --------------------------------------------+------------------------------- A program to help people host Warcraft III games but more generally, play Warcraft III. It has many utilities if you host or do not. -- Ticket URL: <http://trac.macports.org/ticket/16609> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16609: snoopy-2.9.95 Warcraft III Hosting Utility ----------------------------------+----------------------------------------- Reporter: pandagoat@gmail.com | Owner: ryandesign@macports.org Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: | Keywords: warcraft banlist autorefresher Port: snoopy | ----------------------------------+----------------------------------------- Changes (by ryandesign@macports.org): * owner: macports-tickets@lists.macosforge.org => ryandesign@macports.org * status: new => assigned * port: => snoopy -- Ticket URL: <http://trac.macports.org/ticket/16609#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16609: snoopy-2.9.95 Warcraft III Hosting Utility ----------------------------------+----------------------------------------- Reporter: pandagoat@gmail.com | Owner: ryandesign@macports.org Type: enhancement | Status: closed Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: warcraft banlist autorefresher Port: snoopy | ----------------------------------+----------------------------------------- Changes (by ryandesign@macports.org): * status: assigned => closed * resolution: => fixed Comment: Thanks for the new port! I committed it in r40136, however I did have to make substantial changes. The file you submitted didn't even pass a `port lint` check, much less build the software correctly (at least not for me on a MacBook Pro with Mac OS X 10.4.11, Xcode 2.5 and MacPorts 1.6.0). I consulted Snoopy's [http://snoopy.tuxfamily.org/?q=node/21 Installing on Mac OS X] page to make my changes. * changed glib2-devel dependency to glib2 (unless there was a reason you needed the development version of glib2 instead of the stable one?) * added dependencies on gettext and libiconv because snoopy-nox does link with them * added dependency on dsniff to get tcpkill * added dependency on latest gcc available in MacPorts * removed invalid `configure` phase (you probably meant this to be `configure.env` instead of `configure` but the `LIBS` declaration is unnecessary and the `CC` declaration is better handled via `configure.compiler` * added patch to fix `'PTRACE_ATTACH' undeclared` error (even though 2.9.95 already includes the patch given on the page; not sure why it doesn't work) * obfuscated maintainer email * added rmd160 checksum * fixed typo in long description * removed invalid master site * added livecheck I attached a [attachment:Portfile.diff full diff] of exactly what I changed. -- Ticket URL: <http://trac.macports.org/ticket/16609#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16609: snoopy-2.9.95 Warcraft III Hosting Utility ----------------------------------+----------------------------------------- Reporter: pandagoat@gmail.com | Owner: ryandesign@macports.org Type: enhancement | Status: closed Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: warcraft banlist autorefresher Port: snoopy | ----------------------------------+----------------------------------------- Comment(by pandagoat@gmail.com): Replying to [comment:2 ryandesign@…]: Thanks I did not really know what I was doing. For example, I though glib2-devel is the development package (to compile things using glib2) and just glib2 is the static libraries. I have no practical access to a mac and am ignorant about macs, and people were asking how to compile snoopy on their mac, but the process is complicated; so, I wanted to try mac ports, and I just submitted something to see what happens. I was not expecting this; I really appreciate you fixing it for me and accepting the submission :). Thanks, again. -- Ticket URL: <http://trac.macports.org/ticket/16609#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16609: snoopy-2.9.95 Warcraft III Hosting Utility ----------------------------------+----------------------------------------- Reporter: pandagoat@gmail.com | Owner: ryandesign@macports.org Type: enhancement | Status: closed Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: warcraft banlist autorefresher Port: snoopy | ----------------------------------+----------------------------------------- Comment(by ryandesign@macports.org): You did remarkably well for not having access to a Mac to test it on. :) -devel packages are different in MacPorts than they are in some other package managers. Documentation about this has unfortunately not made it into the Guide yet, but you can read about it in ticket #14540. MacPorts can actually be installed on operating systems other than Mac OS X, but most port maintainers only test on Mac OS X so some ports might not work on other OSes. In fact I just changed snoopy in r40147 so that we only apply the Mac-specific patch on Mac OS X... -- Ticket URL: <http://trac.macports.org/ticket/16609#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16609: snoopy-2.9.95 Warcraft III Hosting Utility ----------------------------------+----------------------------------------- Reporter: pandagoat@gmail.com | Owner: ryandesign@macports.org Type: enhancement | Status: closed Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: warcraft banlist autorefresher Port: snoopy | ----------------------------------+----------------------------------------- Comment(by pandagoat@gmail.com): There have been a few people unable to get this to work. One person has this: ---> Configuring expat Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/work/expat-2.0.1" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man " returned error 77 Command output: checking build system type... powerpc-apple-darwin9.4.0 checking host system type... powerpc-apple-darwin9.4.0 checking for gcc... /usr/bin/gcc-4.0 checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. Error: The following dependencies failed to build: dsniff libnet libtool automake autoconf help2man gettext expat libiconv gperf ncurses ncursesw p5-locale-gettext perl5.8 m4 netinet-headers libnids libpcap gcc43 gmp mpfr glib2 pkgconfig libgeoip Error: Status 1 encountered during processing. Another has a more massive output when compiling gcc 4.3: % sudo port install snoopy ---> Building gcc43 with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build" && make all " returned error 2 Command output: LIBCXXFLAGS="-O2 -g -O2 -fno-implicit-templates ${flags}" \ LDFLAGS=" ${flags}" \ MULTIFLAGS="${flags}" \ DESTDIR="" \ INSTALL="/usr/bin/install" \ INSTALL_DATA="/usr/bin/install -m 644" \ INSTALL_PROGRAM="/usr/bin/install" \ INSTALL_SCRIPT="/usr/bin/install" \ all); then \ true; \ else \ exit 1; \ fi; \ else true; \ fi; \ fi; \ done; \ fi make[5]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build/i386 -apple-darwin8.11.1/x86_64/libgcc' make[5]: *** No rule to make target `all'. Stop. make[5]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build/i386 -apple-darwin8.11.1/x86_64/libgcc' make[4]: *** [multi-do] Error 1 make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build/i386 -apple-darwin8.11.1/libgcc' make[3]: *** [all-multi] Error 2 make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build/i386 -apple-darwin8.11.1/libgcc' make[2]: *** [all-stage1-target-libgcc] Error 2 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build' make: *** [all] Error 2 Error: The following dependencies failed to build: gcc43 Error: Status 1 encountered during processing. I'm not sure what the problem is. Is it a problem with the portfile or a problem with gcc 4.3 in macports? -- Ticket URL: <http://trac.macports.org/ticket/16609#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16609: snoopy-2.9.95 Warcraft III Hosting Utility ----------------------------------+----------------------------------------- Reporter: pandagoat@gmail.com | Owner: ryandesign@macports.org Type: enhancement | Status: closed Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: warcraft banlist autorefresher Port: snoopy | ----------------------------------+----------------------------------------- Comment(by blb@macports.org): The message {{{ checking for C compiler default output file name... configure: error: C compiler cannot create executables }}} usually indicates Xcode is not installed, since MacPorts builds from source it is needed. Can't say about the gcc43 error, looks like the actual error message was probably lost without debug output. Using {{{sudo port -d install gcc43}}} should reveal the actual error. -- Ticket URL: <http://trac.macports.org/ticket/16609#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16609: snoopy-2.9.95 Warcraft III Hosting Utility ----------------------------------+----------------------------------------- Reporter: pandagoat@gmail.com | Owner: ryandesign@macports.org Type: enhancement | Status: closed Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: warcraft banlist autorefresher Port: snoopy | ----------------------------------+----------------------------------------- Comment(by ryandesign@macports.org): Enclose literal output in !{{{ and }}} so it doesn't get mangled. See WikiFormatting. I agree with Bryan: the first user needs to install Xcode. The second user I don't know, but the failing port is gcc43, not snoopy, so file a ticket against gcc43 or ask on the mailing list. This ticket -- to create a port for snoopy -- has been resolved. If there are any issues with the port or feature requests, file new tickets. -- Ticket URL: <http://trac.macports.org/ticket/16609#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16609: snoopy-2.9.95 Warcraft III Hosting Utility ----------------------------------+----------------------------------------- Reporter: pandagoat@gmail.com | Owner: ryandesign@macports.org Type: enhancement | Status: closed Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: warcraft banlist autorefresher Port: snoopy | ----------------------------------+----------------------------------------- Comment(by pandagoat@gmail.com): I've released 2.9.97 now. It seems no one saw the patch I made for 2.9.96, so I will not make one this time and just post this. Could you update the portfile to this? Nothing needs to be changed except the version, checksums, and removing the brain_portability.diff. -- Ticket URL: <http://trac.macports.org/ticket/16609#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16609: snoopy-2.9.95 Warcraft III Hosting Utility ----------------------------------+----------------------------------------- Reporter: pandagoat@gmail.com | Owner: ryandesign@macports.org Type: enhancement | Status: closed Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: warcraft banlist autorefresher Port: snoopy | ----------------------------------+----------------------------------------- Comment(by raimue@macports.org): Please open new tickets for Port Updates. This one is marked closed and therefore it's not likely a committer notices it. -- Ticket URL: <http://trac.macports.org/ticket/16609#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts