Commit Graph

5483 Commits

Author SHA1 Message Date
Jason Rhinelander
a75015bc64 Disable thread safety annotations on AppleClang 2020-04-21 16:42:10 -03:00
Jason Rhinelander
b2bd555965 Bump version to 0.7.1
Including mostly windows/macos packaging changes, plus a few minor
fixes.
2020-04-21 16:27:21 -03:00
Jason Rhinelander
dacea9a2bc Add stapling after notarization 2020-04-21 16:25:30 -03:00
Stephen Shelton
b56ff52ad9 Include macos uninstall script 2020-04-21 16:25:30 -03:00
Jason Rhinelander
2036bcaf8f NOTARIZE only has one O 2020-04-21 16:25:30 -03:00
Jason Rhinelander
d49fe8118f Pass CMAKE_PREFIX_PATH through to lokinet-gui
Needed to build against the right Qt
2020-04-21 16:25:30 -03:00
Jason Rhinelander
6391f32627 Notarize has an "a" in it 2020-04-21 16:25:30 -03:00
Jason Rhinelander
44b6ccebbd Move release motto string into CMakeLists.txt
Right after project() which contains the version, so that version +
motto updates are basically in one place (and so that non-Makefile cmake
invocations get it).
2020-04-21 16:25:30 -03:00
Jason Rhinelander
35197a7620 codesigning and notarization
Codesigns and notarizes the package.  Requires a bunch of stuff to
actually get this working.  (see contrib/macos-signing.txt).

I'm currently also building with

    -DLOKINET_GUI_REPO=https://github.com/jagerman/loki-network-control-panel.git -DLOKINET_GUI_CHECKOUT=cmake

because it needs the camke-ification PR for the control panel to
properly sign everything there.
2020-04-21 16:25:30 -03:00
Jason Rhinelander
d65a0c97ed Add simple installer readme 2020-04-21 16:25:30 -03:00
Jason Rhinelander
1221a24c25 Change mac install prefix to /opt/lokinet
/usr/local is probably going to get stomped on by homebrew.
2020-04-21 16:25:30 -03:00
Jason Rhinelander
16d2296b11 Add -DBUILD_PACKAGE=ON to make cpack code opt-in 2020-04-21 16:25:29 -03:00
Jason Rhinelander
c9a8c67276 Build lokinet-gui with ExternalProject
Also installs it without the extra hack by specifying ../../Applications
for the destination.  (This definitely feels kind of nasty, but it works).
2020-04-21 16:20:15 -03:00
Jason Rhinelander
58133db753 Consolidate cmake vars & definitions
CMake will set version variables itself if you give the version in the
project(), which is cleaner.  Also removes some (nearly) duplicate
definitions and settings added in basic_definitions.cmake for unknown
reasons.

Removes some redundant settings (name, description, version) from the
cpack settings which already default to the values from the project()
call.
2020-04-21 16:20:09 -03:00
Stephen Shelton
0388a10f81 Bundle gui in mac installer 2020-04-21 16:19:38 -03:00
Stephen Shelton
e80f20ecb8 MacOS installer / runtime nonsense 2020-04-21 16:19:38 -03:00
Jeff Becker
c2fbc28bbf gut ui-* 2020-04-21 16:19:38 -03:00
Jeff Becker
8cfc02ca56 add plist 2020-04-21 16:19:38 -03:00
Jeff Becker
b630a3135a macos post install script that bootstraps, generates configs and registers plist 2020-04-21 16:19:38 -03:00
Jeff Becker
230f28f20a tinker with release scripts to hopefully appease the apple gods. 2020-04-21 16:11:39 -03:00
Jeff Becker
7ca8400e66 make apple builds build for older versions and embrace the bitrot 2020-04-21 16:11:39 -03:00
Jeff Becker
cc6d4e9401 turn off optimizations for releases 2020-04-21 16:11:39 -03:00
Jeff Becker
7c81c7502d static link on macos 2020-04-21 16:11:39 -03:00
Jeff Becker
012c0816a0 make gitlab mac runner poop out mac pkg builds too 2020-04-21 16:11:39 -03:00
Jeff Becker
0ca8c25b49 remove god awful "packaging" cruft that is no longer used. 2020-04-21 16:11:39 -03:00
Jeff Becker
fc14c25771 fix up cpack for macos 2020-04-21 16:11:39 -03:00
Jeff Becker
7e82a3fefb use 64 bit windows target for now 2020-04-21 16:11:39 -03:00
Jeff Becker
4ce2542bbf fix gitlab tag (again) 2020-04-21 16:11:39 -03:00
Jeff Becker
d3a503261e fix gitlab tag 2020-04-21 16:11:39 -03:00
Jeff Becker
bc575e1649 fix gitlab ci file 2020-04-21 16:11:39 -03:00
Jeff Becker
53bef479a3 more macos installer bits 2020-04-21 16:11:39 -03:00
Jeff Becker
b3eaf92588 add mac target for release 2020-04-21 16:11:39 -03:00
Jeff Becker
73eef0427a move cmake unix down 2020-04-21 16:11:39 -03:00
Jeff Becker
dbaed61100 make gitlab pump out 32 bit installers, no lto for builds as that is cursed for now. 2020-04-21 16:11:39 -03:00
Jeff Becker
744acce8d2 update lokinet-bootstrap 2020-04-21 16:11:39 -03:00
Jeff Becker
cf1cb3d304 allow fail 2020-04-21 16:11:39 -03:00
Jeff Becker
6c3fab84ec update ci for windows installers 2020-04-21 16:11:39 -03:00
Jeff Becker
a0b6357e0a make installer pull in tuntap driver 2020-04-21 16:11:39 -03:00
Jeff Becker
eb7ddae863 initial lokinet-bootstrap in powershell for windows 2020-04-21 16:11:39 -03:00
Jeff Becker
7f59cce443 set license 2020-04-21 16:11:39 -03:00
Jeff Becker
7406dbc964 cpack win32 2020-04-21 16:11:39 -03:00
Jeff Becker
8c84eac718 strict check of bounds 2020-04-21 16:07:06 -03:00
Jeff Becker
dd9c8c91a3 add bounds check 2020-04-21 16:07:06 -03:00
Jeff Becker
91aa488024 remove un needed check 2020-04-21 16:07:06 -03:00
Jeff Becker
9933dadb20 fix use after move 2020-04-21 16:07:06 -03:00
Jeff Becker
0b66441e07 disable accedental fec in iwp outbound messages 2020-04-21 16:07:06 -03:00
Jeff Becker
9ae743a65b when we have an inbound session and we do a forward dns lookup
we should not look up the descriptor on the network as we
already have a session with them
2020-04-21 16:07:06 -03:00
Ryan Tharp
cbb08c762e fix make static when TOOLCHAIN isn't set 2020-04-21 16:06:45 -03:00
Jeff
250a817c6e
Merge pull request #1189 from loki-project/dev
0.7.0
2020-03-16 13:03:14 -04:00
Jeff
b1f036bb7f
Merge pull request #1188 from majestrate/call-jsonrpc-server-cleanup-2020-03-16
fix memleak in jsonrpc
2020-03-16 10:15:41 -04:00