pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mime-support: update to 3.62



Module Name:	pkgsrc-wip
Committed By:	Silas <silas_nfm21%nocafe.net@localhost>
Pushed By:	silasdb
Date:		Mon Apr 12 23:55:05 2021 -0300
Changeset:	f2d6c87398706df43252269bde581f58f2fabe40

Modified Files:
	mime-support/Makefile
	mime-support/distinfo
	mime-support/patches/patch-aa
	mime-support/patches/patch-ab

Log Message:
mime-support: update to 3.62

For the changelog, which has a lot of things since 3.9, please see
https://metadata.ftp-master.debian.org/changelogs//main/m/mime-support/mime-support_3.66_changelog

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f2d6c87398706df43252269bde581f58f2fabe40

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 mime-support/Makefile         | 22 +++++---------------
 mime-support/distinfo         | 11 +++++-----
 mime-support/patches/patch-aa | 48 +++++++++++--------------------------------
 mime-support/patches/patch-ab | 27 ++++++------------------
 4 files changed, 29 insertions(+), 79 deletions(-)

diffs:
diff --git a/mime-support/Makefile b/mime-support/Makefile
index 61f3e06c70..1fad504c03 100644
--- a/mime-support/Makefile
+++ b/mime-support/Makefile
@@ -1,32 +1,20 @@
 # $NetBSD: Makefile,v 1.2 2012/10/03 14:14:57 asau Exp $
 #
 
-DISTNAME=		mime-support_3.9-1.3
-PKGNAME=		mime-support-3.9
+DISTNAME=		mime-support_3.62
+PKGNAME=		mime-support-3.62
 CATEGORIES=		mail
-MASTER_SITES=		http://security.debian.org/pool/updates/main/m/mime-support/
+MASTER_SITES=		http://deb.debian.org/debian/pool/main/m/mime-support/
 
-MAINTAINER=		bsd%cs.ubc.ca@localhost
+MAINTAINER=		silas_nfm21%nocafe.net@localhost
 COMMENT=		Support commands for manipulating files using MIME and mailcap
 
 USE_TOOLS+=		perl:run
-WRKSRC=			${WRKDIR}/${PKGNAME_NOREV}
+WRKSRC=			${WRKDIR}/mime-support
 NO_BUILD=		yes
 
 REPLACE_PERL+=		run-mailcap
 
-SUBST_CLASSES+=			fix-paths
-SUBST_MESSAGE.fix-paths=	Fixing path references
-SUBST_STAGE.fix-paths=		pre-configure
-SUBST_FILES.fix-paths=		run-mailcap.man
-SUBST_VARS.fix-paths=		PREFIX
-
-SUBST_CLASSES+=		fix-x11
-SUBST_MESSAGE.fix-x11=	Fixing X11 references
-SUBST_STAGE.fix-x11=	pre-configure
-SUBST_FILES.fix-x11=	run-mailcap
-SUBST_SED.fix-x11=	-e 's,/usr/bin/X11,${X11BASE},g'
-
 INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1
 
 # Note: the mime-support provides other commands for managing /etc/mailcap:
diff --git a/mime-support/distinfo b/mime-support/distinfo
index a2c6f57f53..aaaefc60a9 100644
--- a/mime-support/distinfo
+++ b/mime-support/distinfo
@@ -1,7 +1,8 @@
 $NetBSD: distinfo,v 1.1.1.1 2007/02/20 19:59:08 briandealwis Exp $
 
-SHA1 (mime-support_3.9-1.3.tar.gz) = 1f7424b5335c8641cc9a949285daaa74bea327d3
-RMD160 (mime-support_3.9-1.3.tar.gz) = dde9f51ac7e3d212affe5c78d0367bb57d96d28e
-Size (mime-support_3.9-1.3.tar.gz) = 91820 bytes
-SHA1 (patch-aa) = 73662cf469fcc4710154eeb18a1b50de56e7d0ba
-SHA1 (patch-ab) = 3cbe66882e2236c940c0ac14868ef115c39d28b5
+SHA1 (mime-support_3.62.tar.gz) = 4e812139179856be82ae87ad86b13d82456010a5
+RMD160 (mime-support_3.62.tar.gz) = b89a413937f7c9364703cd3ebdec118c46378d8b
+SHA512 (mime-support_3.62.tar.gz) = 9fc3be41c8858b9ef6da02208035af4efaca0569cdd4e3a75d74e4fb6d23da41d1885583319f160265f973c80d020eec05e9fe733d6b70a06b3e8e17216d54c5
+Size (mime-support_3.62.tar.gz) = 37130 bytes
+SHA1 (patch-aa) = 31eb86d27a543b837fe3d3547f179975a228aebb
+SHA1 (patch-ab) = 7dcf993e8746814f52c270f9805cbf857d64b38c
diff --git a/mime-support/patches/patch-aa b/mime-support/patches/patch-aa
index 7f8978def1..0c6b1b9983 100644
--- a/mime-support/patches/patch-aa
+++ b/mime-support/patches/patch-aa
@@ -1,40 +1,16 @@
-$NetBSD: patch-aa,v 1.1.1.1 2007/02/20 19:59:08 briandealwis Exp $
+$NetBSD$
 
---- run-mailcap.orig	2003-04-25 08:12:02.000000000 -0600
+--- run-mailcap.orig	2018-05-30 11:43:15.000000000 +0000
 +++ run-mailcap
-@@ -120,7 +120,11 @@ sub TempFile {
- #	$tmpfile = POSIX::tmpnam($name);
- #	unlink($tmpfile);
- 
--	$tmpfile = `tempfile --mode=600`;
-+#	$tmpfile = `tempfile --mode=600`;
-+#	chomp($tmpfile);
-+
-+	# XXX: -t doesn't like having directories -- consider not using -t
-+	$tmpfile = `mktemp -t "$tmpfile"`;
- 	chomp($tmpfile);
- 
- #	$tmpfile = $ENV{TMPDIR};
-@@ -330,14 +334,14 @@ foreach (@ARGV) {
- }
- 
- unless ($action) {
--	   if ($0 =~ m!(^|/)view$!)		{ $action="view";	}
--	elsif ($0 =~ m!(^|/)edit$!)		{ $action="edit";	}
--	elsif ($0 =~ m!(^|/)compose$!)	{ $action="compose";}
--	elsif ($0 =~ m!(^|/)print$!)	{ $action="print";	}
--	elsif ($0 =~ m!(^|/)see$!)		{ $action="view";	}
--	elsif ($0 =~ m!(^|/)change$!)	{ $action="edit";	}
--	elsif ($0 =~ m!(^|/)create$!)	{ $action="compose";}
--	else							{ $action="view";	}
-+	   if ($0 =~ m!(^|/)(mime-)?view$!)	{ $action="view";	}
-+	elsif ($0 =~ m!(^|/)(mime-)?edit$!)	{ $action="edit";	}
-+	elsif ($0 =~ m!(^|/)(mime-)?compose$!)	{ $action="compose";}
-+	elsif ($0 =~ m!(^|/)(mime-)?print$!)	{ $action="print";	}
-+	elsif ($0 =~ m!(^|/)(mime-)?see$!)	{ $action="view";	}
-+	elsif ($0 =~ m!(^|/)(mime-)?change$!)	{ $action="edit";	}
-+	elsif ($0 =~ m!(^|/)(mime-)?create$!)	{ $action="compose";}
-+	else					{ $action="view";	}
- }
+@@ -141,9 +141,8 @@ sub TempFile {
+ #   $tmpfile = POSIX::tmpnam($name);
+ #   unlink($tmpfile);
  
+-    $cmd  = "tempfile --mode=600";
+-    $cmd .= " --prefix $head" if $head;
+-    $cmd .= " --suffix $tail" if $tail;
++    # XXX: -t doesn't like having directories -- consider not using -t
++    $cmd  = "mktemp -t $tmpfile";
  
+     $tmpfile = `$cmd`;
+     chomp($tmpfile);
diff --git a/mime-support/patches/patch-ab b/mime-support/patches/patch-ab
index a9c62a9252..43302eca93 100644
--- a/mime-support/patches/patch-ab
+++ b/mime-support/patches/patch-ab
@@ -1,18 +1,18 @@
-$NetBSD: patch-ab,v 1.1.1.1 2007/02/20 19:59:08 briandealwis Exp $
+$NetBSD$
 
---- run-mailcap.man.orig	1999-07-20 18:51:14.000000000 -0600
+--- run-mailcap.man.orig	2021-04-13 02:22:56.127340940 +0000
 +++ run-mailcap.man
 @@ -4,7 +4,7 @@
  .\"
- .TH RUN-MAILCAP 1 "14th Mar 1998" "Debian Project" "Run Mailcap Programs"
+ .TH RUN-MAILCAP 1 "1st Jan 2008" "Debian Project" "Run Mailcap Programs"
  .SH NAME
--run-mailcap, see, edit, compose, print \- execute programs via entries in the
-+run-mailcap, mime-see, mime-edit, mime-compose, mime-print \- execute programs via entries in the
+-run-mailcap, view, see, edit, compose, print \- execute programs via entries in the
++run-mailcap, mime-view, mime-see, mime-edit, mime-compose, mime-print \- execute programs via entries in the
  .I mailcap
  file
  .SH SYNOPSIS
 @@ -13,11 +13,11 @@ file
- [<mime-type>:[<encoding>:]]<filename>  [...]
+ [MIME-TYPE:[ENCODING:]]FILE [...]
  
  The
 -.BR see ,
@@ -27,18 +27,3 @@ $NetBSD: patch-ab,v 1.1.1.1 2007/02/20 19:59:08 briandealwis Exp $
  versions are just aliases that default to the view, edit, compose, and
  print actions (respectively).
  
-@@ -26,10 +26,10 @@ following to your shell startup:
- 
-   shell  file        line(s) to add
-   ~~~~~  ~~~~~~~~~~  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--  sh     ~/.profile  PAGER=/usr/bin/see; export PAGER
--                     EDITOR=/usr/bin/edit; export EDITOR
--  csh    ~/.login    setenv PAGER /usr/bin/see
--                     setenv EDITOR /usr/bin/edit
-+  sh     ~/.profile  PAGER=@PREFIX@/bin/mime-see; export PAGER
-+                     EDITOR=@PREFIX@/bin/mime-edit; export EDITOR
-+  csh    ~/.login    setenv PAGER @PREFIX@/bin/mime-see
-+                     setenv EDITOR @PREFIX@/bin/mime-edit
- 
- .SH DESCRIPTION
- .PP


Home | Main Index | Thread Index | Old Index