diff --git a/srcpkgs/aspell-de/template b/srcpkgs/aspell-de/template index 82e4768add2..6c5f9706ebf 100644 --- a/srcpkgs/aspell-de/template +++ b/srcpkgs/aspell-de/template @@ -11,5 +11,6 @@ short_desc="German dictionary for aspell" homepage="http://aspell.net/" license="GPL-2" maintainer="Christian Neukirchen " +update_pattern='aspell6-de-\K[\d.]+\d+' distfiles="${GNU_SITE}/aspell/dict/de/aspell6-de-${version}-1.tar.bz2" checksum=ba6c94e11bc2e0e6e43ce0f7822c5bba5ca5ac77129ef90c190b33632416e906 diff --git a/srcpkgs/audacity/template b/srcpkgs/audacity/template index 6295325b9b9..c79b014079e 100644 --- a/srcpkgs/audacity/template +++ b/srcpkgs/audacity/template @@ -17,6 +17,8 @@ short_desc="Graphical cross-platform audio editor" maintainer="Christian Neukirchen " license="GPL-2" homepage="http://audacity.sourceforge.net/" +update_site="http://audacity.sourceforge.net/download/source" +update_pattern='audacity-minsrc-\K[\d.]+\d+' distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-minsrc-$version.tar.xz" checksum=3080c190e678e0d682961a36c6e990c572dacd6b5ce499e5cec7362e9fa37d7b diff --git a/srcpkgs/bam/template b/srcpkgs/bam/template index 0bad1f7fec0..17a76121db9 100644 --- a/srcpkgs/bam/template +++ b/srcpkgs/bam/template @@ -7,6 +7,8 @@ short_desc="A fast and flexible build system using Lua" maintainer="Christian Neukirchen " license="custom" homepage="http://github.com/matricks/bam" +update_site="http://matricks.github.io/bam/" +update_pattern='bam-\K[\d.]+\d+' distfiles="https://github.com/downloads/matricks/bam/${pkgname}-${version}.tar.gz" checksum=5e4e4920b4d265da582f66774e9b1ec8ddfbe75ddc028fba86c12f686ea18db3 diff --git a/srcpkgs/cpuburn/template b/srcpkgs/cpuburn/template index 0134ff9e323..76754063327 100644 --- a/srcpkgs/cpuburn/template +++ b/srcpkgs/cpuburn/template @@ -7,6 +7,8 @@ short_desc="Collection of programs to put heavy load on CPU" maintainer="Christian Neukirchen " license="GPL-2" homepage="https://launchpad.net/ubuntu/+source/cpuburn/" +update_site="https://launchpad.net/ubuntu/+source/cpuburn/" +update_pattern='cpuburn/\K[\d.]+\d+' distfiles="https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_${version}.orig.tar.gz" checksum=eb191ce9bfbf453d30c218c3419573df102a3588f96c4a43686c84bb9da4bed6 diff --git a/srcpkgs/cvsps2/template b/srcpkgs/cvsps2/template index 2ef6c72b12d..1ebf41714e1 100644 --- a/srcpkgs/cvsps2/template +++ b/srcpkgs/cvsps2/template @@ -9,6 +9,8 @@ short_desc="Generating 'patchsets' from a CVS repo (for git-cvsimport)" maintainer="Christian Neukirchen " license="GPL-2" homepage="http://www.cobite.com/cvsps/" +update_pattern='cvsps-\K[\d.]+\d+b?\d*' +update_ignore="*b*" distfiles="http://www.cobite.com/cvsps/cvsps-${version}.tar.gz" checksum=91d3198b33463861a581686d5fcf99a5c484e7c4d819384c04fda9cafec1075a diff --git a/srcpkgs/erlang/template b/srcpkgs/erlang/template index d5b40ef7f0a..8dd8ad509cc 100644 --- a/srcpkgs/erlang/template +++ b/srcpkgs/erlang/template @@ -12,6 +12,8 @@ short_desc="Concurrent functional programming language developed by Ericsson" maintainer="Christian Neukirchen " license="custom" homepage="http://www.erlang.org/" +update_site="http://www.erlang.org/download.html" +update_pattern='otp_src_\K[\d.]+\d+' distfiles="http://www.erlang.org/download/otp_src_${version}.tar.gz http://www.erlang.org/download/otp_doc_man_${version}.tar.gz" checksum="d4be03eb346016f4ca95d53eb9437ffaa6106762f153620dd98cd7f7733b76e4 diff --git a/srcpkgs/fingerprint-gui/template b/srcpkgs/fingerprint-gui/template index 946967a6272..dd8bb8991f0 100644 --- a/srcpkgs/fingerprint-gui/template +++ b/srcpkgs/fingerprint-gui/template @@ -11,6 +11,7 @@ short_desc="Fingerprint management GUI" maintainer="Christian Neukirchen " license="GPL-2" homepage="http://www.ullrich-online.cc/fingerprint/" +update_site="http://www.ullrich-online.cc/fingerprint/downloads.php" distfiles="http://www.ullrich-online.cc/fingerprint/download/${pkgname}-${version}.tar.gz" checksum=f5021d4c446b65ce62de63b9b2874b05a62318b386f35577ca0322b722a1920f diff --git a/srcpkgs/fvwm/template b/srcpkgs/fvwm/template index 1d0843ac710..6b4ced9a4f8 100644 --- a/srcpkgs/fvwm/template +++ b/srcpkgs/fvwm/template @@ -12,6 +12,7 @@ short_desc="An extremely powerful ICCCM-compliant window manager" maintainer="Christian Neukirchen " license="GPL-2,custom" homepage="http://fvwm.org/" +update_ignore="2.7.0" distfiles="ftp://ftp.fvwm.org/pub/fvwm/version-${version%%.*}/${pkgname}-${version}.tar.bz2" checksum=21549995c53906be5533746a1cf61b1ecf8dd8ef6816a0b20615d45ff78b48cf diff --git a/srcpkgs/ghc-bin/template b/srcpkgs/ghc-bin/template index 2156989c465..ead8f68f62b 100644 --- a/srcpkgs/ghc-bin/template +++ b/srcpkgs/ghc-bin/template @@ -7,6 +7,7 @@ short_desc="Glorious Haskell Compiler - precompiled binaries" maintainer="Christian Neukirchen " license="custom" homepage="http://www.haskell.org/ghc/" +update_pattern='ghc-bin-\K[\d.]+\d+' only_for_archs="i686 x86_64" case "$XBPS_TARGET_MACHINE" in x86_64*) diff --git a/srcpkgs/gnubg/template b/srcpkgs/gnubg/template index 095f0107b8b..2a1b40d83e4 100644 --- a/srcpkgs/gnubg/template +++ b/srcpkgs/gnubg/template @@ -9,5 +9,7 @@ short_desc="GNU Backgammon game" maintainer="Christian Neukirchen " license="GPL-3" homepage="http://www.gnubg.org" +update_site="http://www.gnubg.org/index.php?itemid=22" +update_pattern='gnubg-release-\K[\d.]+\d+' distfiles="http://www.gnubg.org/media/sources/$pkgname-release-$version-sources.tar.gz" checksum=609f66323dd20fcaa2e1f889b70f8453b5c53999a8c5afda971c131bcfa0e4f0 diff --git a/srcpkgs/ipe/template b/srcpkgs/ipe/template index b542005acb9..64df7d644d5 100644 --- a/srcpkgs/ipe/template +++ b/srcpkgs/ipe/template @@ -9,6 +9,7 @@ short_desc="Drawing editor for creating figures in PDF or EPS formats" maintainer="Christian Neukirchen " license="GPL-3,GPL-2" homepage="http://ipe7.sourceforge.net/" +update_site="http://sourceforge.net/projects/ipe7/rss?limit=200" distfiles="${SOURCEFORGE_SITE}/ipe7/${pkgname}/7.1/${pkgname}-${version}-src.tar.gz ${SOURCEFORGE_SITE}/ipe7/tools/figtoipe-20091205.tar.gz ${SOURCEFORGE_SITE}/ipe7/tools/pdftoipe-20140303-src.tar.gz diff --git a/srcpkgs/iperf/template b/srcpkgs/iperf/template index f2fbeea5a95..2135c4aa1a4 100644 --- a/srcpkgs/iperf/template +++ b/srcpkgs/iperf/template @@ -8,6 +8,7 @@ short_desc="Perform network throughput tests" maintainer="Christian Neukirchen " license="custom" homepage="http://iperf.sourceforge.net" +update_pattern='iperf-\K[\d.]+\d+' distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=636b4eff0431cea80667ea85a67ce4c68698760a9837e1e9d13096d20362265b diff --git a/srcpkgs/jq/template b/srcpkgs/jq/template index 04d1696c576..c1053b1811f 100644 --- a/srcpkgs/jq/template +++ b/srcpkgs/jq/template @@ -7,6 +7,7 @@ short_desc="Command-line JSON processor" maintainer="Christian Neukirchen " license="custom" homepage="http://stedolan.github.io/jq/" +update_site="http://stedolan.github.io/jq/download/" distfiles="http://stedolan.github.io/jq/download/source/${pkgname}-${version}.tar.gz" checksum=998c41babeb57b4304e65b4eb73094279b3ab1e63801b6b4bddd487ce009b39d diff --git a/srcpkgs/kpartx/template b/srcpkgs/kpartx/template index f67bc134f20..2b6a57edd10 100644 --- a/srcpkgs/kpartx/template +++ b/srcpkgs/kpartx/template @@ -10,5 +10,6 @@ short_desc="Create device maps from partition tables" maintainer="Christian Neukirchen " license="GPL-2" homepage="http://christophe.varoqui.free.fr/" +update_pattern='multipath-tools-\K[\d.]+\d+' distfiles="http://christophe.varoqui.free.fr/multipath-tools/multipath-tools-${version}.tar.bz2" checksum=f13cf1eb84e94e83b2019e68f7965526903c13e94246db43965d181668a0a6f9 diff --git a/srcpkgs/netpbm/template b/srcpkgs/netpbm/template index 3a4e7b2c0cf..281e617f8e5 100644 --- a/srcpkgs/netpbm/template +++ b/srcpkgs/netpbm/template @@ -10,6 +10,8 @@ short_desc="Toolkit for manipulation of graphic images" maintainer="Christian Neukirchen " license="BSD,GPL-2,custom" homepage="http://netpbm.sourceforge.net/" +update_site="http://svn.code.sf.net/p/netpbm/code/advanced/doc/HISTORY" +update_pattern='Release.\K[\d.]+' nocross=yes do_fetch() { diff --git a/srcpkgs/nftables/template b/srcpkgs/nftables/template index bd9fcf85f4e..ca35c8aa470 100644 --- a/srcpkgs/nftables/template +++ b/srcpkgs/nftables/template @@ -10,5 +10,6 @@ short_desc="Netfilter nftables userspace tools" maintainer="Christian Neukirchen " license="GPL-2" homepage="http://netfilter.org/projects/nftables/" +update_ignore="0.0*" distfiles="http://www.netfilter.org/projects/${pkgname}/files/${pkgname}-${version}.tar.bz2" checksum=4d372645442d89675c7148b8a0a112c4825b57edf8bad15ddf9a08c220229c2f diff --git a/srcpkgs/openbsd-netcat/template b/srcpkgs/openbsd-netcat/template index f1bc4092d88..a4d4f88ec30 100644 --- a/srcpkgs/openbsd-netcat/template +++ b/srcpkgs/openbsd-netcat/template @@ -12,6 +12,7 @@ license="BSD" homepage="http://packages.debian.org/sid/netcat-openbsd" distfiles="http://ftp.debian.org/debian/pool/main/n/netcat-openbsd/netcat-openbsd_${version%_*}.orig.tar.gz http://ftp.debian.org/debian/pool/main/n/netcat-openbsd/netcat-openbsd_${version/_/-}.debian.tar.gz" +update_pattern='netcat-openbsd_\K[\d.]+\d+' checksum="40653fe66c1516876b61b07e093d826e2a5463c5d994f1b7e6ce328f3edb211e eee759327ffea293e81d0dde67921b7fcfcad279ffd7a2c9d037bbc8f882b363" wrksrc="netcat-openbsd-${version%_*}" diff --git a/srcpkgs/openjdk/template b/srcpkgs/openjdk/template index 2bbb182df89..a80e7968cd3 100644 --- a/srcpkgs/openjdk/template +++ b/srcpkgs/openjdk/template @@ -45,6 +45,8 @@ short_desc="OpenJDK Java Development Kit" maintainer="Christian Neukirchen " license="GPL-3" homepage="http://openjdk.java.net/" +update_site="http://hg.openjdk.java.net/jdk8u/jdk8u/tags" +update_pattern='jdk\K8u\d+' distfiles="http://hg.openjdk.java.net/jdk8u/jdk8u/archive/${_repo_ver}.tar.gz>jdk8u-${_repo_ver}.tar.gz http://hg.openjdk.java.net/jdk8u/jdk8u/corba/archive/${_repo_ver}.tar.gz>corba-${_repo_ver}.tar.gz http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/archive/${_repo_ver}.tar.gz>hotspot-${_repo_ver}.tar.gz diff --git a/srcpkgs/par/template b/srcpkgs/par/template index 402bc7c02f5..d57662cd11b 100644 --- a/srcpkgs/par/template +++ b/srcpkgs/par/template @@ -8,13 +8,14 @@ short_desc="Paragraph reformatter" maintainer="Christian Neukirchen " license="custom" homepage="http://www.nicemice.net/par/" +update_pattern='Par\s\K[\d.]+\d+' distfiles="http://www.nicemice.net/par/Par152-autoconf.tar.gz - http://www.nicemice.net/par/Par152.tar.gz" + http://www.nicemice.net/par/Par152.tar.gz" checksum="034fb943236523629eefee0a33fc6afb5b881648a2fc5c6bef7fd1b89ce44d34 - 33dcdae905f4b4267b4dc1f3efb032d79705ca8d2122e17efdecfd8162067082" + 33dcdae905f4b4267b4dc1f3efb032d79705ca8d2122e17efdecfd8162067082" do_install() { - vinstall par 755 usr/bin - vinstall par.1 644 usr/share/man/man1 - vinstall par.doc 644 usr/share/licenses/$pkgname + vbin par + vman par.1 + vlicense par.doc LICENSE } diff --git a/srcpkgs/pax/template b/srcpkgs/pax/template index 609140aecac..95054616c7a 100644 --- a/srcpkgs/pax/template +++ b/srcpkgs/pax/template @@ -8,6 +8,7 @@ short_desc="pax archiver from MirOS (plus tar and cpio)" maintainer="Christian Neukirchen <chneukirchen@gmail.com>" license="BSD" homepage="https://www.mirbsd.org/MirOS/dist/mir/cpio/" +update_pattern='paxmirabilis-\K[\d.]+\d+' distfiles="https://www.mirbsd.org/MirOS/dist/mir/cpio/paxmirabilis-${version}.cpio.gz" checksum=f464f143f81ff95097eb76e8e7bd9007a3101cbe481a89b09e69bf00e7c95fed diff --git a/srcpkgs/plan9port/template b/srcpkgs/plan9port/template index 12062d21444..773857e4a07 100644 --- a/srcpkgs/plan9port/template +++ b/srcpkgs/plan9port/template @@ -9,6 +9,7 @@ short_desc="Port of many Plan 9 programs to Unix-like operating systems" maintainer="Christian Neukirchen <chneukirchen@gmail.com>" license="GPL-3" homepage="http://swtch.com/plan9port/" +update_site="https://code.google.com/p/plan9port/downloads/list" distfiles="https://$pkgname.googlecode.com/files/$pkgname-$version.tgz" checksum=cbb826cde693abdaa2051c49e7ebf75119bf2a4791fe3b3229f1ac36a408eaeb diff --git a/srcpkgs/puzzles/template b/srcpkgs/puzzles/template index 532d77f71d1..a042e64ca66 100644 --- a/srcpkgs/puzzles/template +++ b/srcpkgs/puzzles/template @@ -8,6 +8,8 @@ short_desc="Simon Tatham's Portable Puzzle Collection" maintainer="Christian Neukirchen <chneukirchen@gmail.com>" license="MIT" homepage="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/" +update_site="http://svn.tartarus.org/sgt/puzzles/" +update_pattern='Revision\s\K\d+(?=.*of)' distfiles="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-${version}.tar.gz" checksum=4c9a160807f72ed3e19eb4ff03055eeab40c250fa674f78c1c7c98f306c509c3 diff --git a/srcpkgs/socklog/template b/srcpkgs/socklog/template index 0b20e34f65d..efa392e5d0b 100644 --- a/srcpkgs/socklog/template +++ b/srcpkgs/socklog/template @@ -7,6 +7,7 @@ short_desc="Small and secure syslogd replacement for use with runit" maintainer="Christian Neukirchen <chneukirchen@gmail.com>" license="custom" homepage="http://smarden.org/socklog/" +update_site="http://smarden.org/socklog/install.html" distfiles="http://smarden.org/socklog/${pkgname}-${version}.tar.gz" checksum=aa869a787ee004da4e5509b5a0031bcc17a4ab4ac650c2ce8d4e488123acb455 diff --git a/srcpkgs/stunnel/template b/srcpkgs/stunnel/template index 1a5f155ddc5..e201ee813e7 100644 --- a/srcpkgs/stunnel/template +++ b/srcpkgs/stunnel/template @@ -9,6 +9,8 @@ short_desc="SSL encryption wrapper" maintainer="Christian Neukirchen <chneukirchen@gmail.com>" license="GPL-2" homepage="https://www.stunnel.org/" +update_site="https://www.stunnel.org/downloads.html" +update_ignore="*b*" distfiles="https://www.stunnel.org/downloads/$pkgname-$version.tar.gz" checksum=098c2b6db0793ea4fa5b6767ce6ef1853e9f6cc2f32133024be55f6a460b1a40 diff --git a/srcpkgs/swi-prolog/template b/srcpkgs/swi-prolog/template index 68b46c35b92..da9af83ae13 100644 --- a/srcpkgs/swi-prolog/template +++ b/srcpkgs/swi-prolog/template @@ -11,6 +11,8 @@ short_desc="A comprehensive free Prolog environment" maintainer="Christian Neukirchen <chneukirchen@gmail.com>" license="LGPL-2.1" homepage="http://www.swi-prolog.org/" +update_site="http://www.swi-prolog.org/download/stable" +update_pattern='pl-\K[\d.]+\d' distfiles="http://www.swi-prolog.org/download/stable/src/pl-${version}.tar.gz" checksum=9f80bb274e2f31fd68b0acbe35982c012d5f8311dbe44ec1d8d04351a776996d nocross=yes diff --git a/srcpkgs/sysstat/template b/srcpkgs/sysstat/template index 161ba4f66a7..db41c997923 100644 --- a/srcpkgs/sysstat/template +++ b/srcpkgs/sysstat/template @@ -11,6 +11,7 @@ short_desc="A collection of performance monitoring tools" maintainer="Christian Neukirchen <chneukirchen@gmail.com>" license="GPL-2" homepage="http://pagesperso-orange.fr/sebastien.godard/" +update_site="http://sebastien.godard.pagesperso-orange.fr/download.html" distfiles="http://pagesperso-orange.fr/sebastien.godard/${pkgname}-${version}.tar.gz" checksum=00c6e91a7a2796a46cde095a9ac943bd35d7247fab23105b73a8a3f4f39fa937 diff --git a/srcpkgs/teeworlds/template b/srcpkgs/teeworlds/template index 4d5d84949a2..ce590e21b43 100644 --- a/srcpkgs/teeworlds/template +++ b/srcpkgs/teeworlds/template @@ -10,6 +10,7 @@ short_desc="A retro multiplayer shooter" maintainer="Christian Neukirchen <chneukirchen@gmail.com>" license="custom" homepage="https://www.teeworlds.com" +update_site="https://www.teeworlds.com/?page=downloads" distfiles="https://www.teeworlds.com/files/${pkgname}-${version}-source.tar.gz" checksum=00061b30377597a61810eda3dc5de0caad439ca851cb8eebbe4152e4f861e2af diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template index d6d36a196f4..3b2cd7862d2 100644 --- a/srcpkgs/trn/template +++ b/srcpkgs/trn/template @@ -11,6 +11,7 @@ short_desc="Text-based threaded Usenet newsreader" maintainer="Christian Neukirchen <chneukirchen@gmail.com>" license="custom" homepage="http://trn.sourceforge.net/" +update_pattern='trn-\S*?(?=.tar.gz)' distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz" checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff diff --git a/srcpkgs/vim-gnupg/template b/srcpkgs/vim-gnupg/template index bac0f49a24b..93f0b891f31 100644 --- a/srcpkgs/vim-gnupg/template +++ b/srcpkgs/vim-gnupg/template @@ -9,6 +9,7 @@ short_desc="Plugin for transparent editing of gpg encrypted files" maintainer="Christian Neukirchen <chneukirchen@gmail.com>" license="GPL-2" homepage="http://www.vim.org/scripts/script.php?script_id=3645" +update_pattern='<b>\K[\d.]+(?=</b>)' distfiles="http://www.vim.org/scripts/download_script.php?src_id=18070>gnupg.vim" checksum=e54935e321941fcb18b98385be48c610f6978d88f616253a12d0e339fb00b5f5 diff --git a/srcpkgs/wpa_gui/template b/srcpkgs/wpa_gui/template index 945fd00dab1..5b50f735dae 100644 --- a/srcpkgs/wpa_gui/template +++ b/srcpkgs/wpa_gui/template @@ -10,6 +10,7 @@ short_desc="WPA/WPA2/IEEE 802.1X Supplicant -- Graphical User Interface" maintainer="Christian Neukirchen <chneukirchen@gmail.com>" license="BSD" homepage="http://hostap.epitest.fi/wpa_supplicant" +update_pattern='wpa_supplicant-\K[\d.]+\d+' distfiles="http://hostap.epitest.fi/releases/wpa_supplicant-${version}.tar.gz" checksum=eaaa5bf3055270e521b2dff64f2d203ec8040f71958b8588269a82c00c9d7b6a