Skip to content
Browse files

New port: upslug2, NSLU2 firmware upload tool (https://trac.macports.…

  • Loading branch information
jmroot committed Jun 13, 2010
1 parent 1a069c9 commit 1ebf33fe3413738479938e0b27ae9dd96c6369ca
Showing with 555 additions and 0 deletions.
  1. +41 −0 cross/upslug2/Portfile
  2. +503 −0 cross/upslug2/files/11-r41.diff
  3. +11 −0 cross/upslug2/files/patch-nslu2_protocol.h.diff
@@ -0,0 +1,41 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$

PortSystem 1.0

name upslug2
version 12-r41
categories cross devel
license MIT
description A tool to flash your NSLU2 from a computer on the same network
long_description UpSlug2 is a completely rewritten version of the UpSlug tool \
which is more robust and flexible, though it still requires \
an ethernet connection to the NSLU2.
platforms darwin
master_sites sourceforge:nslu
distname ${name}-11
checksums md5 e135bc8a390b65573bbc8ff4628e490c \
sha1 cddfd7c4bc75fc59c5f8cf8c276741bfe3a87e7f \
rmd160 4c79044eaa81e00bde722dc1ec091a7103ca5ef1

depends_lib port:libpcap

# patch latest released version 11 to version 12 (svn revision 41)
patchfiles 11-r41.diff

use_autoreconf yes

configure.args --with-libpcap

variant flashmod16 description {Add support for modded NSLU2 with 16MByte of flash memory} {
patchfiles-append patch-nslu2_protocol.h.diff

post-destroot {
xinstall -m 644 ${worksrcpath}/${name}.8 ${destroot}${prefix}/share/man/man8
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README \
README.macosx ${destroot}${prefix}/share/doc/${name}

0 comments on commit 1ebf33f

Please sign in to comment.
You can’t perform that action at this time.