diff options
Diffstat (limited to 'network/transmission/transmission.SlackBuild')
-rw-r--r-- | network/transmission/transmission.SlackBuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/network/transmission/transmission.SlackBuild b/network/transmission/transmission.SlackBuild index 16cc72e598d6..bec348a1737a 100644 --- a/network/transmission/transmission.SlackBuild +++ b/network/transmission/transmission.SlackBuild @@ -24,6 +24,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20180116 bkw: security fix, BUILD=2. See" +# https://github.com/transmission/transmission/pull/468 +# Thanks to Freenode user lord_ for pointing this out. + # 20170621 bkw: fix build on -current. # 20150204 bkw: allow user to disable the various components. @@ -33,7 +37,7 @@ PRGNAM=transmission VERSION=${VERSION:-2.92} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -99,6 +103,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Fix CVE-2018-5702 for transmission-2.92. Patch came from: +# https://github.com/transmission/transmission/files/1624507/transmission-fix-dns-rebinding-vuln.patch.txt +patch -p1 < $CWD/transmission-fix-dns-rebinding-vuln.diff + sed -i -e 's%-g -O3 -funroll-loops %%g' configure.ac sed -i -e 's%-ggdb3 %%g' configure.ac |