From fd1b88abaef12dd7950f58fe467eedf24b335ea8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20M=C3=BChlinghaus?= Date: Sat, 9 Oct 2021 09:42:31 +0200 Subject: [PATCH] run-mailcap: update to 3.68 --- srcpkgs/run-mailcap/patches/tempfile.patch | 16 ---------------- srcpkgs/run-mailcap/template | 12 ++++++------ srcpkgs/run-mailcap/update | 2 +- 3 files changed, 7 insertions(+), 23 deletions(-) delete mode 100644 srcpkgs/run-mailcap/patches/tempfile.patch diff --git a/srcpkgs/run-mailcap/patches/tempfile.patch b/srcpkgs/run-mailcap/patches/tempfile.patch deleted file mode 100644 index 435074a43dd2..000000000000 --- a/srcpkgs/run-mailcap/patches/tempfile.patch +++ /dev/null @@ -1,16 +0,0 @@ -Replace unknown "tempfile" tool with "mktemp" from coreutils - ---- a/run-mailcap 2017-02-21 20:26:27.367144678 +0100 -+++ b/run-mailcap 2017-02-21 20:25:51.576143081 +0100 -@@ -141,9 +141,9 @@ - # $tmpfile = POSIX::tmpnam($name); - # unlink($tmpfile); - -- $cmd = "tempfile --mode=600"; -- $cmd .= " --prefix $head" if $head; -+ $cmd = "mktemp"; - $cmd .= " --suffix $tail" if $tail; -+ $cmd .= " $head" if $head; - - $tmpfile = `$cmd`; - chomp($tmpfile); diff --git a/srcpkgs/run-mailcap/template b/srcpkgs/run-mailcap/template index 8eb80e3b58ed..aef16fa059a5 100644 --- a/srcpkgs/run-mailcap/template +++ b/srcpkgs/run-mailcap/template @@ -1,15 +1,15 @@ # Template file for 'run-mailcap' pkgname=run-mailcap -version=3.64 -revision=2 -wrksrc="mime-support-${version}ubuntu1" +version=3.68 +revision=1 +wrksrc="mailcap-${version}ubuntu1" depends="perl" short_desc="Execute programs via entries in the mailcap file" maintainer="Stefan Mühlinghaus " license="custom:ad-hoc, custom:Bellcore" -homepage="http://packages.ubuntu.com/disco/mime-support" -distfiles="${UBUNTU_SITE}/main/m/mime-support/mime-support_${version}ubuntu1.tar.xz" -checksum=5007d2ebc25935bfca6d4bdac0efdfc089a38c1be49d19f0422559f666e4f2c4 +homepage="https://packages.ubuntu.com/hirsute/mailcap" +distfiles="${UBUNTU_SITE}/main/m/mailcap/mailcap_${version}ubuntu1.tar.xz" +checksum=d5567fef2d81ecdc6b98f7a5a052375cbff000b2255567abe261c0b8371444f0 do_install() { local _aliases="see edit compose print" diff --git a/srcpkgs/run-mailcap/update b/srcpkgs/run-mailcap/update index 2e0c92d172bf..9533db4bca88 100644 --- a/srcpkgs/run-mailcap/update +++ b/srcpkgs/run-mailcap/update @@ -1,2 +1,2 @@ version="${version}ubuntu1" -pkgname="mime-support" +pkgname="mailcap"