Compare commits
No commits in common. "3d39fa8c048e5c390f764ff5887e4c9c98bf8ec4" and "c0b7fbd0c917d54e7f24f5d9d19f4ed904ddf368" have entirely different histories.
3d39fa8c04
...
c0b7fbd0c9
4 changed files with 0 additions and 39 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +0,0 @@
|
||||||
*~
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
This is a repository of small sysadmin related tools.
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
This is a script to build tailscale from source and create a corresponding debian package.
|
|
||||||
|
|
||||||
To run:
|
|
||||||
|
|
||||||
```
|
|
||||||
git clone https://github.com/tailscale/tailscale/
|
|
||||||
cd tailscale
|
|
||||||
git checkout SOME_VERSION # eg v1.90.0
|
|
||||||
bash ../mk-tailscale-deb.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
A file named `conservancy-tailscale_VERSION_amd64.deb` should be created in the current directory.
|
|
||||||
|
|
@ -1,25 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
eval "$(./build_dist.sh shellvars)"
|
|
||||||
ARCH=amd64
|
|
||||||
NAME=conservancy-tailscale
|
|
||||||
|
|
||||||
echo "[ ] packaging ${NAME}_${VERSION_SHORT}_${ARCH}.deb"
|
|
||||||
|
|
||||||
./build_dist.sh tailscale.com/cmd/tailscale
|
|
||||||
./build_dist.sh tailscale.com/cmd/tailscaled
|
|
||||||
|
|
||||||
go run ./cmd/mkpkg \
|
|
||||||
--out=${NAME}_${VERSION_SHORT}_${ARCH}.deb \
|
|
||||||
--name=${NAME} \
|
|
||||||
--version=${VERSION_SHORT} \
|
|
||||||
--type=deb \
|
|
||||||
--arch=${ARCH} \
|
|
||||||
--postinst=./release/deb/debian.postinst.sh \
|
|
||||||
--postrm=./release/deb/debian.postrm.sh \
|
|
||||||
--prerm=./release/deb/debian.prerm.sh \
|
|
||||||
--description="The easiest, most secure, cross platform way to use WireGuard + oauth2 + 2FA/SSO" \
|
|
||||||
--configs=./cmd/tailscaled/tailscaled.defaults:/etc/default/tailscaled \
|
|
||||||
--files=./tailscale:/usr/bin/tailscale,./tailscaled:/usr/sbin/tailscaled,./cmd/tailscaled/tailscaled.service:/lib/systemd/system/tailscaled.service
|
|
||||||
Loading…
Add table
Reference in a new issue