diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2020-08-13 13:24:16 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2020-08-13 13:24:16 +0000 |
commit | 06046a5a3eb2bb74d7731df490887a78c2fdb0bc (patch) | |
tree | 7b13fd722e64b040bdf722527ff1e569d1eac74b | |
parent | dad2430ef8b7b34db90de8bc10541e5fed08be12 (diff) | |
download | aports-06046a5a3eb2bb74d7731df490887a78c2fdb0bc.tar.gz aports-06046a5a3eb2bb74d7731df490887a78c2fdb0bc.tar.bz2 aports-06046a5a3eb2bb74d7731df490887a78c2fdb0bc.tar.xz |
main/hylafaxplus: upgrade to 7.0.3
-rw-r--r-- | main/hylafaxplus/APKBUILD | 10 | ||||
-rw-r--r-- | main/hylafaxplus/CVE-2020-15396-CVE-2020-15397.patch | 68 |
2 files changed, 4 insertions, 74 deletions
diff --git a/main/hylafaxplus/APKBUILD b/main/hylafaxplus/APKBUILD index 630e8025a7..fe2749f894 100644 --- a/main/hylafaxplus/APKBUILD +++ b/main/hylafaxplus/APKBUILD @@ -2,8 +2,8 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=hylafaxplus _pkgname=hylafax -pkgver=7.0.2 -pkgrel=2 +pkgver=7.0.3 +pkgrel=0 pkgdesc="Making the Premier Open-Source Fax Management System Even Better" url="http://hylafax.sourceforge.net" arch="all" @@ -20,7 +20,6 @@ source="https://downloads.sourceforge.net/hylafax/$_pkgname-$pkgver.tar.gz common-functions-busybox-awk.patch no-locale.patch utf8-dictionary.patch - CVE-2020-15396-CVE-2020-15397.patch " builddir="$srcdir"/$_pkgname-$pkgver @@ -95,10 +94,9 @@ package() { "$pkgdir"/etc/conf.d/$pkgname } -sha512sums="ea68404ad79e798b29450683eaa927e73033e0fa8160b803a3e2c9000df487c81193cc8fc0c1187477f5e1b2e26eec1c065ebc17e0be82e9a3e3758b1b5b5e4e hylafax-7.0.2.tar.gz +sha512sums="938a21e4573fdf12bbc03dfee85e00555e7790a83a26316ac9cd1983501860858175d599c35f3b383cb0748518644587c203fb429966b5de3b615689d856281a hylafax-7.0.3.tar.gz 63f032b4b39dfb03380815a1a6290c5c4338761af8fecc0e55cf6f60bcbcb02e90780659e283d35911504c07d3e7492d19a2b1c08140d2e8f314649872b301f4 hylafaxplus.initd a2117eddc8f0ff70a23a90f2001dcb88c5bddee46ffa021d6d1701cc5cfc3bcb0362ead2b1b1ce2b288992728053c5947466d08916649f45e7dfb1876576e50f hylafaxplus.confd 41ae2055a7781d83fc275aafe18ced0fe75ba79d3ad7d5096eabaeae3a514b564723185dd33820268577174f6c53bfcfddb30922ba50754b15c5c3b0abbec837 common-functions-busybox-awk.patch 4a1243daff9904e6395c3e28aa4a78a74de99f5aa9dbf5055a3781acfcd9b1b3db42b1569409b27e3ef9b0e55272dc99122436a79a08c9a1c140c2547c5a2c15 no-locale.patch -f5f1e33897a91b8297311c033d50e7ea2f9088568264a5b9224285066a504da8cc4296f973dd0a70e09abca538cef26964c6181f4f67f76400783d0697f05e61 utf8-dictionary.patch -ed6a717eb54d9ead7e2122cb2ecb9871343adcbbb615c0b63dfde5c23883c0f10bb2f0d3ae0ea73906522026f73bf743e2abcb54f08f2c75d61a5b87b933bbb8 CVE-2020-15396-CVE-2020-15397.patch" +f5f1e33897a91b8297311c033d50e7ea2f9088568264a5b9224285066a504da8cc4296f973dd0a70e09abca538cef26964c6181f4f67f76400783d0697f05e61 utf8-dictionary.patch" diff --git a/main/hylafaxplus/CVE-2020-15396-CVE-2020-15397.patch b/main/hylafaxplus/CVE-2020-15396-CVE-2020-15397.patch deleted file mode 100644 index b3af03d18a..0000000000 --- a/main/hylafaxplus/CVE-2020-15396-CVE-2020-15397.patch +++ /dev/null @@ -1,68 +0,0 @@ -Upstream: Adapted from upstream, SourceForge has no raw diffs -diff --git a/etc/faxaddmodem.sh.in b/etc/faxaddmodem.sh.in -index dc39917..c4d3ff1 100644 ---- a/etc/faxaddmodem.sh.in -+++ b/etc/faxaddmodem.sh.in -@@ -113,12 +113,14 @@ if [ "$euid" != "root" ]; then - fi - - # security -+o="`umask`" -+umask 077 - TMPDIR=`(mktemp -d /tmp/.faxaddmodem.XXXXXX) 2>/dev/null` -+umask "$o" - if test X$TMPDIR = X; then -- TMPDIR=/tmp/.faxaddmodem$$ -+ echo "Failed to create temporary directory. Cannot continue." -+ exit 1 - fi --@RM@ -rf $TMPDIR --(umask 077 ; mkdir $TMPDIR) || exit 1 - - SH=$SCRIPT_SH # shell for use below - CPATH=$SPOOL/etc/config # prefix of configuration file -diff --git a/etc/faxsetup.sh.in b/etc/faxsetup.sh.in -index 556eef5..794d3d9 100644 ---- a/etc/faxsetup.sh.in -+++ b/etc/faxsetup.sh.in -@@ -922,12 +922,14 @@ if onServer; then - # - - # Setup TMPDIR before anything can trap and rm it -+ o="`umask`" -+ umask 077 - TMPDIR=`(mktemp -d /tmp/.faxsetup.XXXXXX) 2>/dev/null` -+ umask "$o" - if test x$TMPDIR = x; then -- TMPDIR=/tmp/.faxsetup$$ -- fi -- $RM -rf $TMPDIR -- (umask 077 ; mkdir $TMPDIR) || exit 1 -+ echo "Failed to create temporary directory. Cannot continue." -++ exit 1 -++ fi - - JUNK="etc/setup.tmp" - trap "$RM \$JUNK; $RM -r \$TMPDIR; exit 1" 1 2 15 -diff --git a/etc/probemodem.sh.in b/etc/probemodem.sh.in -index 55b5d9b..269c886 100644 ---- a/etc/probemodem.sh.in -+++ b/etc/probemodem.sh.in -@@ -85,12 +85,14 @@ test -f $SPOOL/etc/setup.cache || { - . $SPOOL/etc/setup.cache # common configuration stuff - . $SPOOL/etc/setup.modem # modem-specific stuff - -+o="`umask`" -+umask 077 - TMPDIR=`(mktemp -d /tmp/.probemodem.XXXXXX) 2>/dev/null` -+umask "$o" - if test X$TMPDIR = X; then -- TMPDIR=/tmp/.probemodem$$ -+ echo "Failed to create temporary directory. Cannot continue." -+ exit 1 - fi --@RM@ -fr $TMPDIR --(umask 077 ; mkdir $TMPDIR) || exit 1 - - SH=$SCRIPT_SH # shell for use below - OUT=$TMPDIR/probemodem$$ # temp file in which modem output is recorded |