5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-14 03:20:28 +00:00
Commit Graph

155 Commits

Author SHA1 Message Date
Neil Alexander
b0bcf29d27
Allow ExecStartPre to fail for containers (#573) 2019-10-23 11:15:57 +01:00
Arano-kai
045a24d74e Systemd: tun module and capabilities
- Enable (and limit to) capabilities that require to setup tun/tap interface.
- Ensure that tun module is active.
2019-10-02 00:36:33 +03:00
Neil Alexander
6ead31fb87
Remove RPM spec from contrib as it is now in yggdrasil-network/yggdrasil-package-rpm 2019-09-27 09:44:55 +01:00
Neil Alexander
d6ee20580d
Set TimeoutStopSec for systemd service 2019-09-27 09:37:34 +01:00
Neil Alexander
d44a7faa04
semver: Don't return failure codes when git history is not present 2019-09-18 20:09:53 +01:00
Neil Alexander
5b09b45572
Merge pull request #416 from fifteenthcommotion/yggdrasil-brute-simple
contribute decently fast yggdrasil address generator in C
2019-05-18 12:28:49 +01:00
fifteenthcommotion
080052ce04 remove ygg-brute gitignore 2019-05-18 04:25:57 -07:00
fifteenthcommotion
5bed78c7a7 add CC0 for good measure 2019-05-12 12:40:45 -07:00
fifteenthcommotion
db85a11194 unlicense and spacing perfectionism 2019-05-12 02:18:03 -07:00
fifteenthcommotion
5a3c730097 contribute decently fast yggdrasil address generator in C 2019-05-11 16:31:46 -07:00
Colin Reeder
2465ad0384
Add armel to PKGARCH usage list 2019-04-07 16:14:58 -06:00
Colin Reeder
b5e3b05e77 Add armel support to deb script 2019-04-07 13:07:26 -06:00
Viktor Villainov
f5c6c191ea AppArmor: multiarch support and allow datagram transports 2019-03-09 22:34:26 -05:00
Viktor Villainov
00ad8e594e Add AppArmor profile 2019-03-09 08:15:14 -05:00
William Wennerström
f4ccbe6c94
contrib/busybox-init: add reload and use -useconffile
+ Added reload command.
+ Use -useconffile instead, as it's required for reloading.
2019-03-06 11:30:49 +01:00
William Wennerström
76dd1f6345
contrib/openrc: I like symmetry 2019-03-05 22:27:51 +01:00
William Wennerström
1097c1c0c9
contrib/openrc: add reload command 2019-03-05 20:50:24 +01:00
William Wennerström
26a952aa6c
contrib/openrc: add init file for OpenRC 2019-03-05 20:35:02 +01:00
Neil Alexander
ddd1ac4606
Fix launchd file for macOS to use -useconffile 2019-03-04 08:44:25 +00:00
Neil Alexander
857a33c91b
Revert "Simplifying Dockerfile" 2019-03-02 15:26:55 +00:00
Neil Alexander
46a5c7cccf
Merge pull request #333 from cwinfo/develop
Simplifying Dockerfile
2019-03-02 10:39:39 +00:00
William Wennerstr?m
ef77822897
contrib/busybox-init: add init.d script for busybox init 2019-03-01 17:26:07 +01:00
Neil Alexander
24cf4b9d2b
Add ExecReload for SIGHUP 2019-02-18 22:31:34 +00:00
Christer Warén
2b70f967a8
Merge pull request #14 from cwinfo/new-docker-solution
New-Docker-Solution to Branch Develop
2019-02-11 16:54:45 +02:00
Christer Warén
c2561c90c7
Update Dockerfile
Making easier to install and update, because dont have to download Github repository manually.
2019-02-11 16:50:22 +02:00
Neil Alexander
fe09c234bc
Fix Debian generate.sh 2019-02-10 12:29:04 +00:00
Neil Alexander
9f7609817e
Remove yggdrasil-resume.service from systemd contrib and Debian package 2019-02-10 12:22:39 +00:00
Christer Warén
462af89600
Merge pull request #12 from cwinfo/develop
Branch Develop to New-Docker-Solution
2019-02-04 15:25:37 +02:00
Christer Warén
901333cc99
Update Dockerfile 2019-01-30 13:12:46 +02:00
Arceliar
6ef0e47632 fix merge conflict 2019-01-26 14:27:37 -06:00
Jan Christian Grünhage
2baedc9bcc make ansible key generator a tiny bit faster 2019-01-25 21:28:22 +01:00
Arceliar
c8e1be0f73 link/stream refactoring bugfixes and gofmt 2019-01-19 16:37:45 -06:00
Jan Christian Grünhage
21306532c1
update ansible key generator
It's probably easier to use without it having an ansible folder prefix, if people want to put it into a different dir then they should change their workdir. Apart from that, this fixes a bug where I defined yggdrasil_signing_public_key twice, but never the private key.
2019-01-15 16:48:25 +01:00
Jan Christian Grünhage
88cf6b7684 add ansible key generator 2019-01-15 02:28:27 +01:00
Neil Alexander
8119db10c7
Merge pull request #302 from neilalexander/logo
Logo proposal
2019-01-08 22:17:09 +00:00
Neil Alexander
e6e7f9377f
Move --count parameter 2018-12-27 21:45:30 +00:00
Neil Alexander
8c7b9e2f90
Add a null check to name.sh 2018-12-27 21:44:29 +00:00
Neil Alexander
6fcd8a8dbd
Fix incorrect check 2018-12-27 21:36:50 +00:00
Neil Alexander
7eaee172cf
Replace tests with ifs 2018-12-27 21:22:46 +00:00
Neil Alexander
57894541b7
Check string emptiness 2018-12-27 21:14:23 +00:00
Neil Alexander
e6a246f040
Chop up contrib/semver/version.sh 2018-12-27 20:03:46 +00:00
Neil Alexander
b4a7dab34d
Versioning be damned 2018-12-26 23:50:17 +00:00
darkdrgn2k
f91fb1045c
Downgraded all armhf builds to v6 2018-12-18 12:28:15 -05:00
darkdrgn2k
ace9568981
Added compile support for Arm v6
Support for older raspberry pis and Pi Zero
2018-12-18 11:36:15 -05:00
Neil Alexander
09ea9a166f
More tweaks to semver 2018-12-18 12:14:47 +00:00
Neil Alexander
3ea33c9fa7
Fix build tags maybe? 2018-12-18 12:03:23 +00:00
Neil Alexander
bfdb079b79
Append suffix to master releaser releases if they are not the first merge (package revisions) 2018-12-18 11:52:22 +00:00
Neil Alexander
429d014d1c
Fix addgroup/groupadd 2018-12-18 11:16:27 +00:00
Neil Alexander
a22da8009f
Hopefully fix semver versioning breakage caused by non-master merge commits 2018-12-17 22:07:28 +00:00
Neil Alexander
0a9b34d121
Revert "Merge pull request #259 from neilalexander/semver"
This reverts commit 51b3746df6, reversing
changes made to 6e87791e50.
2018-12-17 19:17:29 +00:00
Christer Warén
fb1d639f6d
Merge pull request #5 from cwinfo/develop
Branch Develop: Branch to Patch
2018-12-17 15:32:29 +02:00
Christer Warén
712ec7d3fb
Update Dockerfile
ENV CGO_ENABLED=0
2018-12-17 15:28:45 +02:00
Neil Alexander
b20c3538b7
Point hjson to master repo following comments merge 2018-12-17 10:50:57 +00:00
Neil Alexander
0ee74a4efd
Update semver 2018-12-17 10:34:26 +00:00
Neil Alexander
e1c7983752
Update debian package to fix systemd disabling (not good for remote systems) and add group yggdrasil for admin socket/conf 2018-12-14 14:25:26 +00:00
Neil Alexander
73ed563dde
Update debian package behavior
It now won't enable itself automatically on install and it will
only start Yggdrasil if enabled in systemd. It also won't break
during install on systems where systemd is not present.
2018-12-12 20:29:56 +00:00
Neil Alexander
08ad163dfe
Add starting point for an RPM spec file 2018-12-09 23:10:12 +00:00
Neil Alexander
3b2044666d
Fix bug in semver version.sh 2018-12-08 11:31:20 +00:00
Neil Alexander
f2d01aa54d
Use bare version in deb/macos packages instead of cut 2018-12-08 10:54:47 +00:00
Neil Alexander
9d0b8ac6f4
Strip v from version during imprint 2018-12-08 10:51:31 +00:00
Neil Alexander
5315bc25c5
Return 1 instead of -1 from semver/deb 2018-12-08 10:33:33 +00:00
Neil Alexander
2da3ef420c
Update documentation, remove stray .DS_Store file 2018-12-08 10:30:43 +00:00
Arceliar
586781b49c convert to go module 2018-12-07 19:56:04 -06:00
Neil Alexander
4bc009d845
Update semver behaviour 2018-12-07 22:17:09 +00:00
Neil Alexander
d0c2ce90bb
Fix semver when git history is not present 2018-12-07 22:03:57 +00:00
Neil Alexander
4532d0e0c8
Merge pull request #219 from neilalexander/semver
Tag releases in master using CI
2018-12-07 19:38:01 +00:00
Jan Christian Grünhage
9f4fc3669b Reduce container image size 2018-12-04 13:04:42 +01:00
Neil Alexander
8a04cbe3c8
Try to fix CircleCI shell error 2018-12-03 17:49:03 +00:00
Neil Alexander
a7f5c427d4
Tag releases in master using CI (also checks for v0.x.0 instead of v0.x when deciding version numbers) 2018-12-03 17:44:26 +00:00
Christer Warén
80b876d21d
Creating entrypoint.sh to /contrib/docker/ 2018-12-03 05:58:24 +02:00
Christer Warén
8b7b3452cf
Creating Dockerfile to /contrib/docker/
- Multiple architectures supported by using Golang's official Debian Stretch image.
- Upgrading os to latest updates
- Adding all files to image
- Creating user for yggdrasil (kinda unused)
- Building from source code
2018-12-03 05:57:00 +02:00
Neil Alexander
953ad0ef59
Update neilalexander's logo proposal 2018-11-14 19:25:35 +00:00
Neil Alexander
9e5f90d0e4
Add neilalexander's logo proposal 2018-11-04 19:15:53 +00:00
Neil Alexander
9f129bc7b0
Backup and normalise config if needed 2018-10-17 12:48:54 +01:00
Neil Alexander
8844dedb8a
Add create-pkg.sh for creating macOS installers 2018-10-17 11:55:01 +01:00
Neil Alexander
980f18b266
Add freebsd service script into contrib 2018-10-06 00:24:07 +01:00
Neil Alexander
438fcdfc5f
Build for arm64 2018-07-20 10:04:04 +01:00
Arceliar
254be42614 gofmt 2018-06-21 10:39:43 -05:00
Neil Alexander
1a60e89ada
Add yggdrasilconf for testing with vyatta-yggdrasil 2018-06-21 16:03:46 +01:00
Neil Alexander
10a66a4edc
Update semver to hopefully avoid squash merges 2018-06-17 18:17:21 +01:00
Neil Alexander
415748d381
Update generate.sh 2018-06-14 15:22:13 +01:00
Neil Alexander
7cc067e3a5
Let's try this again 2018-06-14 15:07:39 +01:00
Neil Alexander
2ab5a1f1c2
Fix debian control file 2018-06-14 14:47:55 +01:00
Neil Alexander
474fdda8ca
Fix launchd script path and amend debian control file 2018-06-14 13:24:37 +01:00
Neil Alexander
77d67a1569
Fix debian normalisation in postinst 2018-05-23 21:31:52 +01:00
Neil Alexander
8a46253c1f
Normalise existing yggdrasil.conf on debian package install/upgrade 2018-05-23 13:26:08 +01:00
Neil Alexander
ab3eb9877a
Fix builds 2018-05-20 23:59:42 +01:00
Neil Alexander
cda7a2abcc
Builds for yggdrasilctl plus usage info and fixes 2018-05-20 23:46:02 +01:00
Neil Alexander
0dc6e24451 Add armhf target for CircleCI 2018-03-16 10:10:44 +00:00
Neil Alexander
55e4c33169 Add launchd script for macOS to contrib 2018-03-11 22:53:55 +00:00
Arceliar
b6dd0c5248 try to fix the pull/N issue with circleci again 2018-03-05 22:59:48 -06:00
Arceliar
9553b1ef8f apparently PRs get a slash in the branch name, which causes problems for the circleci builds 2018-03-05 22:47:50 -06:00
Neil Alexander
b1380baa9f Update versioning to v1.2.3 where derived from the tag and 3 is commits since last tag 2018-03-05 22:14:36 +00:00
Neil Alexander
c57cf73219 Try symbolic-ref to get branch name 2018-03-05 21:54:30 +00:00
Neil Alexander
d58c971559 Fix bugs in CircleCI naming 2018-03-05 20:26:55 +00:00
Neil Alexander
6366558258 Use new semver versioning for CircleCI builds 2018-03-05 20:20:17 +00:00
Neil Alexander
a75ddff9f3 Ignore non-version tags 2018-03-05 20:06:38 +00:00
Neil Alexander
f4aa4f1848 Match v* tags only 2018-03-05 19:54:18 +00:00
Neil Alexander
3e6530c813 Propose semver version script for #45 2018-03-05 19:34:23 +00:00
Neil Alexander
e43776f90e Add version file 2018-03-04 11:09:17 +00:00