Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/utils
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv26090/main/finkinfo/utils
Added Files:
upslug2.info upslug2.patch
Log Message:
New package from tracker
http://sourceforge.net/tracker/index.php?func=detail&aid=1544964&group_id=17203&atid=414256
--- 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:
# 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
Patch: %n.patch
BuildDepends: autoconf, automake1.9, 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 <[EMAIL PROTECTED]>
Homepage: http://www.nslu2-linux.org/wiki/Main/UpSlug2
License: OSI-Approved
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits