summaryrefslogtreecommitdiff
path: root/source/l/netpbm/svn-checkout.sh
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2018-11-13 05:15:29 +0000
committerEric Hameleers <alien@slackware.com>2018-11-13 17:59:46 +0100
commit2520b90f18ab408818b967f77ef38c1be85de634 (patch)
treec07e9cf84c06eb9e4a8981d21cfc66fab58416d5 /source/l/netpbm/svn-checkout.sh
parentcb1323a95c7d3275677760efd96a3eb9824c8aa8 (diff)
downloadcurrent-2520b90f18ab408818b967f77ef38c1be85de634.tar.gz
Tue Nov 13 05:15:29 UTC 201820181113051529
d/python-setuptools-40.6.1-x86_64-1.txz: Upgraded. l/M2Crypto-0.31.0-x86_64-1.txz: Upgraded. l/SDL2-2.0.9-x86_64-2.txz: Rebuilt. Fixed use of SDL_syswm.h with SDL_PROTOTYPES_ONLY in C++ mode. Thanks to orbea. l/libtiff-4.0.10-x86_64-1.txz: Upgraded. This update fixes some denial of service security issues. For more information, see: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7456 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8905 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10779 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10963 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-18661 (* Security fix *) l/netpbm-10.84.02-x86_64-1.txz: Upgraded. n/net-snmp-5.8-x86_64-2.txz: Rebuilt. Recompiled to link the perl modules to the new libraries. Thanks to th_r.
Diffstat (limited to 'source/l/netpbm/svn-checkout.sh')
-rwxr-xr-xsource/l/netpbm/svn-checkout.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/source/l/netpbm/svn-checkout.sh b/source/l/netpbm/svn-checkout.sh
new file mode 100755
index 00000000..89cb8ae2
--- /dev/null
+++ b/source/l/netpbm/svn-checkout.sh
@@ -0,0 +1,23 @@
+# Clear the download area:
+rm -rf netpbm
+
+# Stable (aka obsolete) version:
+#svn checkout http://svn.code.sf.net/p/netpbm/code/stable netpbm
+
+# Advanced version:
+svn checkout https://svn.code.sf.net/p/netpbm/code/advanced netpbm
+svn checkout https://svn.code.sf.net/p/netpbm/code/userguide netpbm/userguide
+( cd netpbm && find -name "\.svn" -type d -print0 | xargs -0 rm -rf )
+# Dropped due to patent issues:
+rm -rf netpbm/converter/ppm/ppmtompeg/
+
+# Tar it up:
+eval $(cat netpbm/version.mk | tr -d ' ')
+NETPBM_MAJOR_RELEASE=$(printf "%02d" $NETPBM_MAJOR_RELEASE)
+NETPBM_MINOR_RELEASE=$(printf "%02d" $NETPBM_MINOR_RELEASE)
+NETPBM_POINT_RELEASE=$(printf "%02d" $NETPBM_POINT_RELEASE)
+rm -rf netpbm-${NETPBM_MAJOR_RELEASE}.${NETPBM_MINOR_RELEASE}.${NETPBM_POINT_RELEASE} netpbm-${NETPBM_MAJOR_RELEASE}.${NETPBM_MINOR_RELEASE}.${NETPBM_POINT_RELEASE}.tar netpbm-${NETPBM_MAJOR_RELEASE}.${NETPBM_MINOR_RELEASE}.${NETPBM_POINT_RELEASE}.tar.lz
+mv netpbm netpbm-${NETPBM_MAJOR_RELEASE}.${NETPBM_MINOR_RELEASE}.${NETPBM_POINT_RELEASE}
+tar cf netpbm-${NETPBM_MAJOR_RELEASE}.${NETPBM_MINOR_RELEASE}.${NETPBM_POINT_RELEASE}.tar netpbm-${NETPBM_MAJOR_RELEASE}.${NETPBM_MINOR_RELEASE}.${NETPBM_POINT_RELEASE}
+plzip -9 netpbm-${NETPBM_MAJOR_RELEASE}.${NETPBM_MINOR_RELEASE}.${NETPBM_POINT_RELEASE}.tar
+rm -r netpbm-${NETPBM_MAJOR_RELEASE}.${NETPBM_MINOR_RELEASE}.${NETPBM_POINT_RELEASE}