Compare commits

...

6 Commits

Author SHA1 Message Date
Erik Ekman 3a4a69f50d Add git, pkgconf to freebsd action 2023-04-20 14:02:52 +02:00
Erik Ekman ba3f0cacb5 Update freebsd check pkg name 2023-04-20 13:50:17 +02:00
Erik Ekman d28e8f76ae Add freebsd github action 2023-04-20 13:42:51 +02:00
Erik Ekman b20b4f6fae Update changelog 2023-04-20 13:32:20 +02:00
Erik Ekman 8b78300e99
Merge pull request #86 from spmzt/tzsetwall-freebsd
Build Issue on FreeBSD: tzsetwall() is deprecated, use tzset() instead.
2023-04-20 13:20:21 +02:00
Pouria Mousavizadeh Tehrani 9262863cae
tzsetwall() is deprecated, use tzset() instead.
/usr/ports/net/iodine/work/iodine-0.8.0/src/iodined.c:2757: warning: warning: tzsetwall() is deprecated, use tzset() instead.
2023-04-19 00:21:08 +03:30
3 changed files with 31 additions and 2 deletions

25
.github/workflows/freebsd.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: freebsd
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: macos-12
steps:
- uses: actions/checkout@v2
- name: make
uses: vmactions/freebsd-vm@v0
with:
prepare: |
pkg install -y \
devel/check \
devel/git \
devel/pkgconf
run: |
make
make test

View File

@ -1,10 +1,14 @@
iodine - https://code.kryo.se/iodine
***********************************
************************************
CHANGES:
master:
- Changed deprecated tzsetwall() to tzset() (only used by FreeBSD),
patch by Pouria Mousavizadeh Tehrani.
2023-04-17: 0.8.0 "Burning Snowman"
- Mac OS X: Support native utun VPN devices. Patch by
Peter Sagerson, ported from OpenVPN by Catalin Patulea.

View File

@ -2754,7 +2754,7 @@ main(int argc, char **argv)
do_pidfile(pidfile);
#ifdef FREEBSD
tzsetwall();
tzset();
#endif
#ifndef WINDOWS32
openlog(__progname, LOG_NDELAY, LOG_DAEMON);