Commit Graph

5728 Commits

Author SHA1 Message Date
Jason Rhinelander
ffae1a7f11
Merge pull request #1236 from jagerman/macos-deployment-target-dev
Set -mmacosx-version-min the cmake way
2020-04-21 20:08:18 -03:00
Jason Rhinelander
3048ccf3f8 Set -mmacosx-version-min the cmake way 2020-04-21 20:01:24 -03:00
Stephen Shelton
b4b2e91bb5
Handle no-explicitly-set-dns case in launchd script 2020-04-21 14:47:36 -06:00
Jeff
e685d1fcf9
Merge pull request #1232 from jagerman/stapling
Add stapling after notarization
2020-04-21 14:55:37 -04:00
Jason Rhinelander
4a0ee5c66f Add stapling after notarization 2020-04-21 15:53:46 -03:00
Jeff
edc0d1a3ed
Merge pull request #1225 from majestrate/macos-cpack-setup-and-bootstrap-2020-04-10
macos cpack installer infra
2020-04-21 14:50:16 -04:00
Jeff
dde4c4c67e
Merge pull request #1228 from despair86/win32-cleanup
Win32 cleanup
2020-04-21 07:47:04 -04:00
Stephen Shelton
0b1c57f650 Include macos uninstall script 2020-04-21 00:28:27 -03:00
Jason Rhinelander
6da26bfa43 NOTARIZE only has one O 2020-04-20 21:51:24 -03:00
Jason Rhinelander
9f208d2b6c Pass CMAKE_PREFIX_PATH through to lokinet-gui
Needed to build against the right Qt
2020-04-20 21:51:01 -03:00
Rick V
6eaaeab094
reeee 2020-04-20 19:09:35 -05:00
Rick V
337a21d6f6
ew stinki 2020-04-20 19:09:32 -05:00
Rick V
76aa0421ff
use a new read buffer every time 2020-04-20 19:09:32 -05:00
Rick V
1e51bfde2c
fix 2020-04-20 19:09:31 -05:00
Rick V
4e87e8dc08
correctly return true/false when writing 2020-04-20 19:09:28 -05:00
Rick V
c65eecf399
are we leaking data randomly 2020-04-20 19:09:27 -05:00
Rick V
46d4ab2708
this might just crash 2020-04-20 19:09:24 -05:00
Rick V
96fc3cdd55
fix pybind 2020-04-20 19:09:21 -05:00
Rick V
df634b7775
remove a ton of ded win32 code 2020-04-20 19:05:53 -05:00
Rick V
938f40efe1
probably got mangled in a patch
supposed to tick at the end
2020-04-20 19:05:36 -05:00
Jason Rhinelander
216b807cb3 Notarize has an "a" in it 2020-04-20 00:28:32 -03:00
Jason Rhinelander
f8209baf50 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-19 23:18:48 -03:00
Jason Rhinelander
8d74407d11 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-19 23:18:48 -03:00
Jason Rhinelander
0032f1fdde Add simple installer readme 2020-04-19 23:18:48 -03:00
Jason Rhinelander
daf0174e53 Change mac install prefix to /opt/lokinet
/usr/local is probably going to get stomped on by homebrew.
2020-04-19 23:18:48 -03:00
Jason Rhinelander
ebb1950941 Add -DBUILD_PACKAGE=ON to make cpack code opt-in 2020-04-19 23:18:41 -03:00
Jason Rhinelander
93311fbc99 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-19 23:16:23 -03:00
Jason Rhinelander
3dd3d48fbb 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-19 23:16:23 -03:00
Stephen Shelton
c20d5b186d Bundle gui in mac installer 2020-04-19 23:16:23 -03:00
Stephen Shelton
dd3121d8ac MacOS installer / runtime nonsense 2020-04-19 23:16:23 -03:00
Jeff Becker
88ae4bdd77 gut ui-* 2020-04-19 23:16:23 -03:00
Jeff Becker
b0936830d1 add plist 2020-04-19 23:16:23 -03:00
Jeff Becker
31f74b5ffb macos post install script that bootstraps, generates configs and registers plist 2020-04-19 23:16:23 -03:00
Jeff
5b1941222b
unscrew travis-ci (#1223)
* update travis ci clang-format to clang-format-9 because we use that now
add python3-dev package becuase something inside ci thinks it has python but really does not

* try using python3.6

* try working around hot garbage that is travis-ci

* add deadsnakes repo for python3.8

* prevent nullptr deference when running in unit tests

* move python3.8 to main dependancy matrix and add python3.8 to homebrew deps

* add deadsnake apt repo

* add deadsnakes and python3.8 back to previous matrix

* dev package for python

* toggle hive build in ci

* dont add pybind11 if not bulding hive

* revert setting pyenv shim for travis ci

* make native builds on by default except for windows ci

* only apply native build being off for windows release target becuase that broke macos
2020-04-18 16:58:41 -03:00
Jeff
9d9776d5ca
Merge pull request #1224 from jagerman/snode-addr-converter-reverse
hex-to-base32z.py: add -r flag to do reverse conversion
2020-04-14 11:47:10 -04:00
Jason Rhinelander
612c65f2ab hex-to-base32z.py: add -r flag to do reverse conversion 2020-04-14 12:44:09 -03:00
Jeff
6d5b9850e6
Merge pull request #1222 from jagerman/snode-addr-converter
Add ed25519 key to snode address script to contrib
2020-04-13 16:27:42 -04:00
Jason Rhinelander
5e0a8cf738 Add ed25519 key to snode address script to contrib 2020-04-13 17:23:16 -03:00
Jeff
6a645cd277
Merge pull request #1219 from jagerman/mac-fixes
Fix errors and warnings compiling on mac
2020-04-10 16:17:25 -04:00
Jason Rhinelander
3c6aa002b8 Fix errors and warnings compiling on mac 2020-04-10 14:26:50 -03:00
Stephen Shelton
ca24f25665
Make fewer assumptions about config state
This handles values missing when config is created through RouterHive.
2020-04-07 17:52:14 -06:00
Stephen Shelton
dfcf8fb62e
Update RouterHive to reflect config changes 2020-04-07 17:50:50 -06:00
Stephen Shelton
6a10a33e9e
Revert "Remove llarp::Config::Copy()"
This reverts commit 3a1c727b9b.
2020-04-07 15:29:13 -06:00
Stephen Shelton
de8e44ba21
Re-apply clang-format rules after rebasing 2020-04-07 14:41:11 -06:00
Stephen Shelton
3a1c727b9b
Remove llarp::Config::Copy()
I probably missed this in my rebase on top of The Great Wall of Blame
2020-04-07 14:32:29 -06:00
Stephen Shelton
6d001c5fd2
Opportunistically move 'netdb' to 'nodedb' 2020-04-07 14:29:47 -06:00
Stephen Shelton
a66f502ed6
Remove [netdb] conf and place it under data-dir
This does three things:

1) Remove the [netdb] conf section,
2) Rename the subdir 'netdb' -> 'nodedb'
3) Place 'nodedb' under 'data-dir'
2020-04-07 14:28:23 -06:00
Stephen Shelton
3c6a127dce
Complain loudly when we can't create nodedb dirs 2020-04-07 14:28:23 -06:00
Stephen Shelton
be014175e9
Consolidate logging initialization logic 2020-04-07 14:27:31 -06:00
Stephen Shelton
6909e20588
Fix logging initialization and flush at program exit 2020-04-07 14:27:30 -06:00