Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/utils In directory vz-cvs-3.sog:/tmp/cvs-serv9710/stable/main/finkinfo/utils
Added Files: upslug2.info upslug2.patch Log Message: upslug2 to stable with autotools upgrade --- NEW FILE: upslug2.patch --- diff -ru upslug2-11/linux_wire.cc upslug2-11-patched/linux_wire.cc --- upslug2-11/linux_wire.cc 2005-10-15 19:47:12.000000000 +0300 +++ upslug2-11-patched/linux_wire.cc 2006-08-20 15:48:19.000000000 +0300 @@ -196,7 +196,7 @@ /* Check the device name. If not given use 'eth0'. */ if (device == NULL) - device = "eth0"; + device = "en0"; /* We are using a level which requires a hardware specific address, * that's because the NSLU2 doesn't (for reasons which are far from diff -ru upslug2-11/pcap_wire.cc upslug2-11-patched/pcap_wire.cc --- upslug2-11/pcap_wire.cc 2005-11-23 09:13:51.000000000 +0200 +++ upslug2-11-patched/pcap_wire.cc 2006-08-20 15:48:47.000000000 +0300 @@ -291,7 +291,7 @@ /* Check the device name. If not given use 'eth0'. */ if (device == NULL) - device = "eth0"; + device = "en0"; pcap_t *pcap = NULL; { diff -ru upslug2-11/upslug2.cc upslug2-11-patched/upslug2.cc --- upslug2-11/upslug2.cc 2005-11-23 08:54:08.000000000 +0200 +++ upslug2-11-patched/upslug2.cc 2006-08-20 15:48:39.000000000 +0300 @@ -369,7 +369,7 @@ char kernel_sex(0); /* Byte sex of kernel */ char data_sex('b'); /* Byte sex of data */ char directory_sex('b'); /* Byte sex of FIS directory entries */ - const char* device = "eth0"; /* Hardware device to use */ + const char* device = "en0"; /* Hardware device to use */ const char* target = "broadcast"; /* User specified target name */ const unsigned char*mac = 0; /* Ethernet address to upgrade. */ unsigned char macBuffer[6]; /* To store the command line address */ @@ -396,7 +396,7 @@ /* The list of options, I combine the help text with the option name. */ struct option options[] = { { "help: output this help message", no_argument, 0, 'h' }, -{ "device[eth0]: local ethernet device to use", required_argument, 0, 'd' }, +{ "device[en0]: local ethernet device to use", required_argument, 0, 'd' }, { "target: NSLU2 to upgrade (MAC address)", required_argument, 0, 't' }, { "from: MAC of host (this machine)", required_argument, 0, 'f' }, { "verify: verify only (do not write flash)", no_argument, 0, 'v' }, --- NEW FILE: upslug2.info --- # # upslug2.info # # Package for uploading OpenSlug firmware to NSLU2. # # Fink packaging: # <http://fink.sourceforge.net/doc/packaging/reference.php> # # History: # 27-Jan-2012 dmacks (no %v/%r change): # - Upgrade to latest autotools (ac2.6, am1.11) # 11-Feb-2007 AK 0.11-1003: # - Added GCC: and version bumped to 1003 since we use C++ # (http://wiki.finkproject.org/index.php/Fink:Policy:GCC) # 23-Aug-2006 AK 0.11-2: # - Using mirror:sourceforge: # - Added 'autoconf' to BuildDepends # - DescUsage revised, DescDetail added, DescPackaging added # 23-Aug-2006 AK: 0.11-1 placed to fink validation # # Todo: # - works only on 10.4 tree (10.3 should have GCC: 3.3) # Package: upslug2 Version: 0.11 Revision: 1003 Source: mirror:sourceforge:nslu/upslug2-11.tar.gz Source-MD5: e135bc8a390b65573bbc8ff4628e490c PatchFile: %n.patch PatchFile-MD5: 4aec3f6ff2a9e11529c7920b6563bc46 BuildDepends: autoconf2.6, automake1.11, libpcap (>= 0.9.3) Depends: libpcap-shlibs (>= 0.9.3) GCC: 4.0 CompileScript: << autoreconf -i ./configure --with-libpcap --prefix=%i make << DocFiles: AUTHORS COPYING INSTALL NEWS README README.macosx Description: NSLU2 firmware upload utility DescDetail: << Upgrades the Cisco/LinkSys NSLU2 (Network Storage Link for USB 2.0 Disk Drives) firmware to new or different versions. Usually, this utility is used to replace the original firmware by expandable open source Linux variants (Unslung, SlugOS, ...). << DescUsage: << The utility needs to be run as sudo: "sudo upslug2" finds the MAC of an NSLU2 in upgrade mode "sudo upslug2 --target=xx:xx:xx:xx:xx:xx --image=filename" For full NSLU2 update information (including setting the device to upgrade mode): http://www.nslu2-linux.org/wiki/Main/UpSlug2 << DescPackaging: << - Patch changes default "eth0" to "en0", so "-d en0" override flag is not required in use. << Maintainer: Asko Kauppi <akau...@gmail.com> Homepage: http://www.nslu2-linux.org/wiki/Main/UpSlug2 License: OSI-Approved ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs