Skip to content

Commit fe0f54c

Browse files
committed
getlantern#2065 Updated README to discuss embedding upnpc
1 parent a602a54 commit fe0f54c

1 file changed

Lines changed: 22 additions & 1 deletion

File tree

‎src/github.com/getlantern/go-igdman/README.md‎

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,25 @@ Acknowledgements:
1313
igdman is just a wrapper around:
1414

1515
- [miniupnpc](https://github.com/miniupnp/miniupnp)
16-
- [go-nat-pmp](https://github.com/jackpal/go-nat-pmp/)
16+
- [go-nat-pmp](https://github.com/jackpal/go-nat-pmp/)
17+
18+
## Embedding upnpc
19+
20+
To build the go files that embed the upnpc executables for different platforms,
21+
just place the binaries into the right subfolder of `binaries` and then run
22+
`embedupnpc.bash`. This script takes care of code signing the ~~Windows and~~
23+
OS X executables.
24+
25+
~~This script signs the Windows executable, which requires that
26+
[osslsigncode](http://sourceforge.net/projects/osslsigncode/) utility be
27+
installed. On OS X with homebrew, you can do this with
28+
`brew install osslsigncode`.~~
29+
30+
~~You will also need to set the environment variables BNS_CERT and BNS_CERT_PASS
31+
to point to [bns-cert.p12](https://github.com/getlantern/too-many-secrets/blob/master/bns_cert.p12)
32+
and its [password](https://github.com/getlantern/too-many-secrets/blob/master/build-installers/env-vars.txt#L3)
33+
so that the script can sign the Windows executable.~~
34+
35+
This script also signs the OS X executable, which requires you to use our OS X
36+
signing certificate, available [here](https://github.com/getlantern/too-many-secrets/blob/master/osx-code-signing-certificate.p12).
37+
The password is [here](https://github.com/getlantern/too-many-secrets/blob/master/osx-code-signing-certificate.p12.txt).

0 commit comments

Comments
 (0)