Commit Graph

6499 Commits

Author SHA1 Message Date
Jeff
6407733c8e
* make llarp.halt rpc call actually return a reply (#1488)
* add --kill flag to lokinet-vpn that calls llarp.halt
* make macos uninstaller kill lokinet via lokinet-vpn --kill
2020-11-20 12:37:30 -05:00
Jason Rhinelander
f1b074bb95
Merge pull request #1487 from jagerman/revert-uninstaller-subdir
Revert "Build mac uninstaller as subproject instead of externalprojec…
2020-11-18 18:15:56 -04:00
Jeff
b18546086a
make macos uninstaller actually kill and uninstall lokinet (#1484)
* macos fluff

* make uninstaller work, the uninstall script needs to be called with /usr/bin/sudo to work because god know why it needs that even though it's already root.
* add logrotation
* make the uninstall script kill all the things

* revert

* use correct regular expression

* remove logrotate configs rename logrotate config file name to be more descriptive
2020-11-18 17:06:48 -05:00
Jason Rhinelander
bc62e9dd2d Revert "Build mac uninstaller as subproject instead of externalproject (#1485)"
This reverts commit e62f04c601.
2020-11-18 17:54:29 -04:00
Jason Rhinelander
e62f04c601
Build mac uninstaller as subproject instead of externalproject (#1485)
This makes it easier to build/rebuild via a target, and is a bit
cleaner.
2020-11-18 12:49:16 -05:00
Jason Rhinelander
a753e96d8d
Version bump (#1483)
* Bump version to 0.8.2

* Let cmake set PROJECT_NAME

`project(x ...)` already sets PROJECT_NAME (and CMAKE_PROKECT_NAME if
this is the top-level build) to `x`; the logic here seemed sort of
backwards.

* Get rid of uninstaller entitlement

We don't seem to need it anymore with Qt 5.15.1.

* Bump windows lokinet-gui build
2020-11-18 06:08:56 -05:00
Jason Rhinelander
225c991edd
Merge pull request #1478 from majestrate/macos-packaging-fixes-2020-11-13
reset dns in uninstall script
2020-11-17 20:10:23 -04:00
Jason Rhinelander
deae302571 macos: pass our pre-built static libs into the gui sub-build
Avoids the mac build needing to build lokimq & libzmq twice (once in
lokinet, then again in the gui)
2020-11-17 19:22:19 -04:00
Jason Rhinelander
8dd5bd6899 Update to lokimq 1.2.2 for segfault-at-shutdown fix 2020-11-17 19:22:19 -04:00
Jason Rhinelander
1c0e4dc4e7 Move all patches into contrib/patches 2020-11-17 19:22:19 -04:00
Jason Rhinelander
f9144a7bb3 Patch to avoid IP_DONTFRAG bug in latest xcode with broken Big Sur SDK 2020-11-17 19:22:19 -04:00
Jason Rhinelander
8c01201a2f Upgrade libunbound to latest stable 2020-11-17 19:22:19 -04:00
Jeff Becker
876f292efb use /var/log/ for log files 2020-11-17 19:22:19 -04:00
Jeff Becker
300ce89278 kill the gui 2020-11-17 19:22:19 -04:00
Jeff Becker
452cf13841 delete lokinet applications directory 2020-11-17 19:22:19 -04:00
Jeff Becker
b8a1c69a3e remove old path too 2020-11-17 19:22:19 -04:00
Jeff Becker
bacb95962f try installing to lokinet subdirectory 2020-11-17 19:22:19 -04:00
Jeff Becker
42b979b266 remove line from uninstaller 2020-11-17 19:22:19 -04:00
Jeff Becker
c4e983da3f update icon 2020-11-17 19:22:19 -04:00
Jeff Becker
f3989c0f9a add entitlements 2020-11-17 19:22:19 -04:00
Jeff Becker
3a950aa950 change icon 2020-11-17 19:22:19 -04:00
Jeff Becker
4d089db3cd change tool name 2020-11-17 19:22:19 -04:00
Jeff Becker
36fa3f347a fix icon path 2020-11-17 19:22:19 -04:00
Jeff Becker
d2a68f8323 add install target 2020-11-17 19:22:19 -04:00
Jeff Becker
bb1f9c4dc0 ugh 2020-11-17 19:22:19 -04:00
Jeff Becker
d268ef1246 security.h 2020-11-17 19:22:19 -04:00
Jeff Becker
ee3489744e more fixes for macos 2020-11-17 19:22:19 -04:00
Jeff Becker
6e6bff5e1d fix header 2020-11-17 19:22:19 -04:00
Jeff Becker
e835ad6347 chmod +x 2020-11-17 19:22:19 -04:00
Jeff Becker
e183bf9673 fix typo 2020-11-17 19:22:19 -04:00
Jeff Becker
ca5df6436a add initial uninstaller code that is horrible 2020-11-17 19:22:19 -04:00
Jeff Becker
580f005f50 revert 2020-11-17 19:22:19 -04:00
Jeff Becker
3b3374fa4c try watching trash for lokinet-gui.app and delete ourself if we see it 2020-11-17 19:22:19 -04:00
Jeff Becker
41311c020a preflight -> preinstall 2020-11-17 19:22:19 -04:00
Jeff Becker
0afe9f0138 update packaging for macos add preinstall script that nukes any existing lokinet make uninstaller revert dns to "empty" make cpack use preinstall script in pkg file 2020-11-17 19:22:19 -04:00
Jason Rhinelander
384b968cf0
Merge pull request #1437 from majestrate/key-manager-fixes-2020-10-30
key manager should throw on failure to load keys
2020-11-17 19:05:56 -04:00
Jason Rhinelander
3694124a9a
Merge pull request #1482 from majestrate/lokinet-cryptography-instalpath-2020-11-17
fix install path for liblokinet-cryptography.so
2020-11-17 19:00:47 -04:00
Jeff Becker
27c276ae4d
fix install path for liblokinet-cryptography.so 2020-11-17 05:04:27 -05:00
Jeff
db7abe8f09
do /1 route poker split on linux (#1480)
* do /1 route poker split on linux

i hate netlink so god damn much

* use an enum class for the gateway mode
2020-11-16 13:33:45 -05:00
Jeff
dad66c50cb
poke route hole for loopback on windows because that OS is made by brain damaged non programmers. (#1473)
this fixes the gui bug where it hangs on adding an exit becuase loopback gets routed over the exit.
before it was causing the lmq connection to hang becuase of that route change.
2020-11-16 12:16:38 -05:00
Jason Rhinelander
8e550091ab
Disable LTO on sid for now (#1472) 2020-11-13 09:00:04 -05:00
Jason Rhinelander
fc49d09b26
Merge pull request #1470 from jagerman/svg-button-update
Update win32 gui download with smaller svg icon
2020-11-11 21:27:21 -04:00
Jason Rhinelander
bcdb521974 Update win32 gui download with smaller svg icon 2020-11-11 20:00:02 -04:00
Jeff
f18f18372a
stop lokinet before uninstalling service (#1469)
* stop lokinet before uninstalling service

* kill gui in uninstaller

* add helper script for building windows installers because i forgot how to most of the time.
2020-11-11 09:55:00 -05:00
Jason Rhinelander
b5bbe17479
Update gui win32 package url (#1466) (#1468)
Co-authored-by: Jeff <jeff@i2p.rocks>
2020-11-11 09:10:12 -05:00
Jason Rhinelander
f4fe47e028
Merge pull request #1467 from jagerman/win32-less-stuff
Install less stuff on windows CI
2020-11-11 00:01:29 -04:00
Jason Rhinelander
aa4c4e7453 Install less stuff on windows CI
mingw-w64 is a metapackage that pulls in 4 different compilers
{i686,x86_64}×{-posix,-win32} but we only need x86_64-posix, so just
install that package.
2020-11-10 20:11:29 -04:00
Jeff
a0ed303d7b
try to handle router deregistrations on the network better (#1461)
* don't send messages to de-registered relays but allow traffic to clients

* actively close sessions to de-registered relays
2020-11-10 09:24:58 -05:00
Jason Rhinelander
4eb275324d
Fix deb snapshot builds + misc other CI updates (#1462)
* Remove unneeded libcurl-dev build dep

* Make apt-get operations quieter

* apt repo updates

- store the apt repo gpg pubkey in the repo rather than having to fetch
it every time
- add the apt repo for all the deb builds
- update apt repo URL to deb.loki.network instead of
deb.imaginary.stream

* Use http so that we don't need ca-certificates

The repo packages are already signed so using https really isn't
important.

* Add hack to ignore jsonnet conflicts in deb builds

* Add build machine name to build output

* We don't install any shared libs currently
2020-11-10 05:25:37 -05:00
Jeff
8a6ad2b7ee remove dpi flag for windows 2020-11-09 14:34:55 -04:00