Skip to content

Commit

Permalink
Merge pull request #74 from gonicus/debian12
Browse files Browse the repository at this point in the history
Updates for Debian 12
  • Loading branch information
markuslindenberg authored Apr 16, 2024
2 parents 851a868 + 1a1ea89 commit 2336e37
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 10 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ After you created the api token you can continue with adding the repository

```
TOKEN=YOURSIGNALWIRETOKEN
apt-get update && apt-get install -y gnupg2 wget lsb-release
wget --http-user=signalwire --http-password=$TOKEN -O /usr/share/keyrings/signalwire-freeswitch-repo.gpg https://freeswitch.signalwire.com/repo/deb/debian-release/signalwire-freeswitch-repo.gpg
echo "machine freeswitch.signalwire.com login signalwire password $TOKEN" > /etc/apt/auth.conf
echo "deb [signed-by=/usr/share/keyrings/signalwire-freeswitch-repo.gpg] https://freeswitch.signalwire.com/repo/deb/debian-release/ `lsb_release -sc` main" > /etc/apt/sources.list.d/freeswitch.list
echo "deb-src [signed-by=/usr/share/keyrings/signalwire-freeswitch-repo.gpg] https://freeswitch.signalwire.com/repo/deb/debian-release/ `lsb_release -sc` main" >> /etc/apt/sources.list.d/freeswitch.list
apt-get update
```

Expand Down Expand Up @@ -117,7 +117,7 @@ To have `faxstat` show modem/channel usage in it's status output, a modem config
If `/etc/gofax.conf` is configured to manage 5 (virtual) modems, you have to create the (empty) configuration files manually:

```
sudo touch /var/spool/hylafax/etc/config.freeswitch{0..4}
sudo touch /etc/hylafax/config.freeswitch{0..4}
```

## Operation
Expand All @@ -139,7 +139,7 @@ As the _virtual modems_ visible in HylaFAX are not tied to preconfigured lines b
### DynamicConfig for incoming faxes

`DynamicConfig` as used and documented in HylaFAX can be used by GOfax.IP.
One option per line can be set, comments are not allowed.
One option per line can be set, comments are not allowed.

**Parameters**
The following arguments are provided to the `DynamicConfig` script for incoming faxes:
Expand Down
9 changes: 9 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
gofaxip (1.4-1) unstable; urgency=medium

* allow extraction of recipient from SIP Diversion Header
* improve logging
* adapt to hylafax changes from Debian 12
* allow configuration of final hangupcauses

-- Sebastian Denz <[email protected]> Fri, 15 Mar 2024 09:03:57 +0100

gofaxip (1.3-1) unstable; urgency=medium

* allow prefix overriding from dynamicconfigoutgoing
Expand Down
1 change: 0 additions & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Uploaders: Markus Lindenberg <[email protected]>
Build-Depends: debhelper (>= 9),
dh-golang,
golang-go,
dh-systemd (>= 1.5)
Standards-Version: 3.9.7
Homepage: https://github.com/gonicus/gofaxip
XS-Go-Import-Path: github.com/gonicus/gofaxip
Expand Down
1 change: 1 addition & 0 deletions debian/service
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ After=network.target local-fs.target
[Service]
User=uucp
ExecStart=/usr/bin/gofaxd
BindPaths=/etc/hylafax:/var/spool/hylafax/etc
Restart=always

[Install]
Expand Down
3 changes: 1 addition & 2 deletions packaging/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
FROM debian:buster
MAINTAINER Markus Lindenberg <[email protected]>
FROM debian:bookworm

ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_PRIORITY critical
Expand Down
2 changes: 1 addition & 1 deletion packaging/generate_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ else
version="master"
fi

docker pull debian:buster
docker pull debian:bookworm
docker build -t gofaxip_build .
docker run --rm -v $PWD/..:/input -v $PWD:/output -e VERSION=$version gofaxip_build

0 comments on commit 2336e37

Please sign in to comment.