1 | # -*- 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 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name wirouterkeyrec |
---|
7 | version 1.1.0 |
---|
8 | categories net |
---|
9 | maintainers gmail.com:ranauei |
---|
10 | platforms darwin |
---|
11 | license GPL-3 |
---|
12 | description Recover the default WPA passphrases of the supported router models |
---|
13 | long_description \ |
---|
14 | WiRouter KeyRec is a powerful and platform independent software \ |
---|
15 | to recover the default WPA passphrases of the supported router \ |
---|
16 | models (Telecom Italia Alice AGPF, Fastweb Pirelli, Fastweb Tesley, \ |
---|
17 | Eircom Netopia, Pirelli TeleTu/Tele 2). |
---|
18 | homepage http://www.salvatorefresta.net |
---|
19 | distname WiRouter_KeyRec_${version} |
---|
20 | master_sites http://tools.salvatorefresta.net/ |
---|
21 | |
---|
22 | checksums md5 3cc3f97a4253994914768bc3a8e25d33 \ |
---|
23 | sha1 d4c4ec32477953b48bc44f48c4563cd5768ac310 \ |
---|
24 | rmd160 b37b39178eee911f73f1c4952b07a84b4bcadca9 |
---|
25 | |
---|
26 | use_zip yes |
---|
27 | |
---|
28 | patch { |
---|
29 | reinplace "s|/etc|${prefix}/etc|g" ${worksrcpath}/src/agpf.h |
---|
30 | reinplace "s|/etc|${prefix}/etc|g" ${worksrcpath}/src/teletu.h |
---|
31 | } |
---|
32 | |
---|
33 | build.target "" |
---|
34 | |
---|
35 | destroot { |
---|
36 | xinstall ${worksrcpath}/build/${name} ${destroot}${prefix}/bin |
---|
37 | xinstall -d ${destroot}${prefix}/etc/${name} |
---|
38 | xinstall -m 644 -W ${worksrcpath}/config agpf_config.lst teletu_config.lst ${destroot}${prefix}/etc/${name} |
---|
39 | } |
---|