mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
40 lines
1.4 KiB
Tcl
40 lines
1.4 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
|
|
name wirouterkeyrec
|
|
version 1.1.2
|
|
categories net
|
|
maintainers nomaintainer
|
|
platforms darwin
|
|
license GPL-2+
|
|
description Recover the default WPA passphrases of the supported router models
|
|
long_description \
|
|
WiRouter KeyRec is a powerful and platform independent software \
|
|
to recover the default WPA passphrases of the supported router \
|
|
models (Telecom Italia Alice AGPF, Fastweb Pirelli, Fastweb Tesley, \
|
|
Eircom Netopia, Pirelli TeleTu/Tele 2).
|
|
homepage http://www.salvatorefresta.net
|
|
distname WiRouter_KeyRec_${version}
|
|
master_sites http://tools.salvatorefresta.net/
|
|
|
|
checksums rmd160 4a0040ffee261b54dc09967754f551dee8a7731a \
|
|
sha256 3e59138f35502b32b47bd91fe18c0c232921c08d32525a2ae3c14daec09058d4
|
|
|
|
use_zip yes
|
|
|
|
patch {
|
|
reinplace "s|/etc|${prefix}/etc|g" ${worksrcpath}/src/agpf.h
|
|
reinplace "s|/etc|${prefix}/etc|g" ${worksrcpath}/src/teletu.h
|
|
}
|
|
|
|
variant universal {}
|
|
build.args-append CC="${configure.cc} [get_canonical_archflags cc]"
|
|
build.target ""
|
|
|
|
destroot {
|
|
xinstall ${worksrcpath}/build/${name} ${destroot}${prefix}/bin
|
|
xinstall -d ${destroot}${prefix}/etc/${name}
|
|
xinstall -m 644 -W ${worksrcpath}/config agpf_config.lst teletu_config.lst ${destroot}${prefix}/etc/${name}
|
|
}
|