run-mailcap: update to 3.68

This commit is contained in:
Stefan Mühlinghaus 2021-10-13 10:08:33 +02:00 committed by Leah Neukirchen
parent fbcfe4eab8
commit a51ce878e7
3 changed files with 7 additions and 23 deletions

View File

@ -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);

View File

@ -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 <jazzman@alphabreed.com>"
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"

View File

@ -1,2 +1,2 @@
version="${version}ubuntu1"
pkgname="mime-support"
pkgname="mailcap"