Bug 29948 - Update port converters/tnef to version 1.1
Summary: Update port converters/tnef to version 1.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-08-22 06:40 UTC by Cyrus Rahman
Modified: 2001-10-14 15:29 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cyrus Rahman 2001-08-22 06:40:02 UTC
 
 The complete port is included below.  The differences are minimal except that
 a patch-aa will be needed until the next release to correct the incorrect
 installation of the new man page into section 3 of the manual.
 
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #	tnef
 #	tnef/pkg-plist
 #	tnef/pkg-descr
 #	tnef/pkg-comment
 #	tnef/distinfo
 #	tnef/Makefile
 #	tnef/files
 #	tnef/files/patch-aa
 #
 echo c - tnef
 mkdir -p tnef > /dev/null 2>&1
 echo x - tnef/pkg-plist
 sed 's/^X//' >tnef/pkg-plist << 'END-of-tnef/pkg-plist'
 Xbin/tnef
 END-of-tnef/pkg-plist
 echo x - tnef/pkg-descr
 sed 's/^X//' >tnef/pkg-descr << 'END-of-tnef/pkg-descr'
 XThis program decodes those annoying application/ms-tnef MIME attachments that
 XMicrosoft mail servers helpfully use to encapsulate your already MIME encoded
 Xattachments.
 X
 XDue to the proliferation of Microsoft Outlook and Exchange mail servers,
 Xmore and more mail is encapsulated into this format.
 X
 XThe TNEF program allows one to unpack the attachments which were encapsulated
 Xinto the TNEF attachment.  Thus alleviating the need to use Microsoft Outlook
 Xto view them.
 X
 XWritten by:		Mark Simpson <damned@world.std.com>
 XBased upon work by:	Thomas Boll <tb@boll.ch>
 X
 XWWW: http://world.std.com/~damned/software.html
 X
 X- Cyrus Rahman
 Xcr@jcmax.com
 END-of-tnef/pkg-descr
 echo x - tnef/pkg-comment
 sed 's/^X//' >tnef/pkg-comment << 'END-of-tnef/pkg-comment'
 XUnpack data encapsulated from Microsoft Outlook's application/ms-tnef format
 END-of-tnef/pkg-comment
 echo x - tnef/distinfo
 sed 's/^X//' >tnef/distinfo << 'END-of-tnef/distinfo'
 XMD5 (tnef-1.1.tar.gz) = 56ab3407c4dedd433669942d6b0f3545
 END-of-tnef/distinfo
 echo x - tnef/Makefile
 sed 's/^X//' >tnef/Makefile << 'END-of-tnef/Makefile'
 X# New ports collection makefile for:	tnef
 X# Date created:		19 September 2000
 X# Whom:			Cyrus Rahman <cr@jcmax.com>
 X#
 X# $FreeBSD: ports/converters/tnef/Makefile,v 1.4 2001/03/19 21:59:12 kris Exp $
 X#
 X
 XPORTNAME=	tnef
 XPORTVERSION=	1.1
 XCATEGORIES=	converters mail
 XMASTER_SITES=	http://world.std.com/~damned/
 X
 XMAINTAINER=	cr@jcmax.com
 X
 XGNU_CONFIGURE=	yes
 X
 XMAN1=		tnef.1
 X
 Xpre-configure:
 X	$(MV) $(WRKSRC)/doc/tnef.3 $(WRKSRC)/doc/tnef.1
 X
 X.include <bsd.port.mk>
 END-of-tnef/Makefile
 echo c - tnef/files
 mkdir -p tnef/files > /dev/null 2>&1
 echo x - tnef/files/patch-aa
 sed 's/^X//' >tnef/files/patch-aa << 'END-of-tnef/files/patch-aa'
 Xdiff -ru ../tnef-1.1.dist/doc/Makefile.am ./doc/Makefile.am
 X--- ../tnef-1.1.dist/doc/Makefile.am	Mon Aug 13 21:46:22 2001
 X+++ ./doc/Makefile.am	Wed Aug 22 01:12:08 2001
 X@@ -1,2 +1,2 @@
 X-man_MANS	=	tnef.3
 X-EXTRA_DIST	=	file-format.tex $(man_MANS)
 X+man_MANS	=	tnef.1
 X+EXTRA_DIST	=	file-format.tex $(man_MANS)
 Xdiff -ru ../tnef-1.1.dist/doc/Makefile.in ./doc/Makefile.in
 X--- ../tnef-1.1.dist/doc/Makefile.in	Mon Aug 13 21:48:56 2001
 X+++ ./doc/Makefile.in	Wed Aug 22 01:12:08 2001
 X@@ -66,12 +66,12 @@
 X RANLIB = @RANLIB@
 X VERSION = @VERSION@
 X 
 X-man_MANS = tnef.3
 X+man_MANS = tnef.1
 X EXTRA_DIST = file-format.tex $(man_MANS)
 X mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 X CONFIG_HEADER = ../config.h
 X CONFIG_CLEAN_FILES = 
 X-man3dir = $(mandir)/man3
 X+man1dir = $(mandir)/man1
 X MANS = $(man_MANS)
 X 
 X NROFF = nroff
 X@@ -92,12 +92,12 @@
 X 	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
 X 
 X 
 X-install-man3:
 X-	$(mkinstalldirs) $(DESTDIR)$(man3dir)
 X-	@list='$(man3_MANS)'; \
 X+install-man1:
 X+	$(mkinstalldirs) $(DESTDIR)$(man1dir)
 X+	@list='$(man1_MANS)'; \
 X 	l2='$(man_MANS)'; for i in $$l2; do \
 X 	  case "$$i" in \
 X-	    *.3*) list="$$list $$i" ;; \
 X+	    *.1*) list="$$list $$i" ;; \
 X 	  esac; \
 X 	done; \
 X 	for i in $$list; do \
 X@@ -106,12 +106,12 @@
 X 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
 X 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
 X 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
 X-	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \
 X-	  $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \
 X+	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
 X+	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
 X 	done
 X 
 X-uninstall-man3:
 X-	@list='$(man3_MANS)'; \
 X+uninstall-man1:
 X+	@list='$(man1_MANS)'; \
 X 	l2='$(man_MANS)'; for i in $$l2; do \
 X 	  case "$$i" in \
 X 	    *.3*) list="$$list $$i" ;; \
 X@@ -121,15 +121,15 @@
 X 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
 X 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
 X 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
 X-	  echo " rm -f $(DESTDIR)$(man3dir)/$$inst"; \
 X-	  rm -f $(DESTDIR)$(man3dir)/$$inst; \
 X+	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
 X+	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
 X 	done
 X install-man: $(MANS)
 X 	@$(NORMAL_INSTALL)
 X-	$(MAKE) $(AM_MAKEFLAGS) install-man3
 X+	$(MAKE) $(AM_MAKEFLAGS) install-man1
 X uninstall-man:
 X 	@$(NORMAL_UNINSTALL)
 X-	$(MAKE) $(AM_MAKEFLAGS) uninstall-man3
 X+	$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
 X tags: TAGS
 X TAGS:
 X 
 X@@ -173,7 +173,7 @@
 X install-strip:
 X 	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
 X installdirs:
 X-	$(mkinstalldirs)  $(DESTDIR)$(mandir)/man3
 X+	$(mkinstalldirs)  $(DESTDIR)$(mandir)/man1
 X 
 X 
 X mostlyclean-generic:
 X@@ -203,7 +203,7 @@
 X 
 X maintainer-clean: maintainer-clean-am
 X 
 X-.PHONY: install-man3 uninstall-man3 install-man uninstall-man tags \
 X+.PHONY: install-man1 uninstall-man1 install-man uninstall-man tags \
 X distdir info-am info dvi-am dvi check check-am installcheck-am \
 X installcheck install-exec-am install-exec install-data-am install-data \
 X install-am install uninstall-am uninstall all-redirect all-am all \
 END-of-tnef/files/patch-aa
 exit
Comment 1 dwcjr 2001-08-25 05:56:31 UTC
We need this in a diff format, not a shar of the new version but a diff 
against the old version.
Comment 2 Cyrus Rahman 2001-08-25 06:57:07 UTC
> We need this in a diff format, not a shar of the new version but a diff 
> against the old version.

Ordinarily I'd have sent it in that way, but I had two problems:

I was running an old version of FreeBSD which didn't have the current port from
which I'd be able to generate the patch; and

No interactive access to the Internet at the moment, from which to cvs a copy.

But in any case, here it is in diff format:


diff -ru tnef.orig/Makefile tnef/Makefile
--- tnef.orig/Makefile  Mon Mar 19 16:59:12 2001
+++ tnef/Makefile       Sat Aug 25 01:46:23 2001
@@ -6,12 +6,17 @@
 #
 
 PORTNAME=      tnef
-PORTVERSION=   1.0
+PORTVERSION=   1.1
 CATEGORIES=    converters mail
 MASTER_SITES=  http://world.std.com/~damned/
 
 MAINTAINER=    cr@jcmax.com
 
 GNU_CONFIGURE= yes
+
+MAN1=          tnef.1
+
+pre-configure:
+       $(MV) $(WRKSRC)/doc/tnef.3 $(WRKSRC)/doc/tnef.1
 
 .include <bsd.port.mk>
diff -ru tnef.orig/distinfo tnef/distinfo
--- tnef.orig/distinfo  Mon Mar 19 16:59:12 2001
+++ tnef/distinfo       Sat Aug 25 01:46:23 2001
@@ -1 +1 @@
-MD5 (tnef-1.0.tar.gz) = 2b50a170b231acc6c853e1ba222caf6b
+MD5 (tnef-1.1.tar.gz) = 56ab3407c4dedd433669942d6b0f3545
diff -ru tnef.orig/files/patch-aa tnef/files/patch-aa
--- tnef.orig/files/patch-aa    Sat Aug 25 01:47:52 2001
+++ tnef/files/patch-aa Sat Aug 25 01:46:23 2001
@@ -0,0 +1,98 @@
+diff -ru ../tnef-1.1.dist/doc/Makefile.am ./doc/Makefile.am
+--- ../tnef-1.1.dist/doc/Makefile.am   Mon Aug 13 21:46:22 2001
++++ ./doc/Makefile.am  Wed Aug 22 01:12:08 2001
+@@ -1,2 +1,2 @@
+-man_MANS      =       tnef.3
+-EXTRA_DIST    =       file-format.tex $(man_MANS)
++man_MANS      =       tnef.1
++EXTRA_DIST    =       file-format.tex $(man_MANS)
+diff -ru ../tnef-1.1.dist/doc/Makefile.in ./doc/Makefile.in
+--- ../tnef-1.1.dist/doc/Makefile.in   Mon Aug 13 21:48:56 2001
++++ ./doc/Makefile.in  Wed Aug 22 01:12:08 2001
+@@ -66,12 +66,12 @@
+ RANLIB = @RANLIB@
+ VERSION = @VERSION@
+ 
+-man_MANS = tnef.3
++man_MANS = tnef.1
+ EXTRA_DIST = file-format.tex $(man_MANS)
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../config.h
+ CONFIG_CLEAN_FILES = 
+-man3dir = $(mandir)/man3
++man1dir = $(mandir)/man1
+ MANS = $(man_MANS)
+ 
+ NROFF = nroff
+@@ -92,12 +92,12 @@
+         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+ 
+ 
+-install-man3:
+-      $(mkinstalldirs) $(DESTDIR)$(man3dir)
+-      @list='$(man3_MANS)'; \
++install-man1:
++      $(mkinstalldirs) $(DESTDIR)$(man1dir)
++      @list='$(man1_MANS)'; \
+       l2='$(man_MANS)'; for i in $$l2; do \
+         case "$$i" in \
+-          *.3*) list="$$list $$i" ;; \
++          *.1*) list="$$list $$i" ;; \
+         esac; \
+       done; \
+       for i in $$list; do \
+@@ -106,12 +106,12 @@
+         ext=`echo $$i | sed -e 's/^.*\\.//'`; \
+         inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+         inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-        echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst"; \
+-        $(INSTALL_DATA) $$file $(DESTDIR)$(man3dir)/$$inst; \
++        echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
++        $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+       done
+ 
+-uninstall-man3:
+-      @list='$(man3_MANS)'; \
++uninstall-man1:
++      @list='$(man1_MANS)'; \
+       l2='$(man_MANS)'; for i in $$l2; do \
+         case "$$i" in \
+           *.3*) list="$$list $$i" ;; \
+@@ -121,15 +121,15 @@
+         ext=`echo $$i | sed -e 's/^.*\\.//'`; \
+         inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+         inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+-        echo " rm -f $(DESTDIR)$(man3dir)/$$inst"; \
+-        rm -f $(DESTDIR)$(man3dir)/$$inst; \
++        echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
++        rm -f $(DESTDIR)$(man1dir)/$$inst; \
+       done
+ install-man: $(MANS)
+       @$(NORMAL_INSTALL)
+-      $(MAKE) $(AM_MAKEFLAGS) install-man3
++      $(MAKE) $(AM_MAKEFLAGS) install-man1
+ uninstall-man:
+       @$(NORMAL_UNINSTALL)
+-      $(MAKE) $(AM_MAKEFLAGS) uninstall-man3
++      $(MAKE) $(AM_MAKEFLAGS) uninstall-man1
+ tags: TAGS
+ TAGS:
+ 
+@@ -173,7 +173,7 @@
+ install-strip:
+       $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
+ installdirs:
+-      $(mkinstalldirs)  $(DESTDIR)$(mandir)/man3
++      $(mkinstalldirs)  $(DESTDIR)$(mandir)/man1
+ 
+ 
+ mostlyclean-generic:
+@@ -203,7 +203,7 @@
+ 
+ maintainer-clean: maintainer-clean-am
+ 
+-.PHONY: install-man3 uninstall-man3 install-man uninstall-man tags \
++.PHONY: install-man1 uninstall-man1 install-man uninstall-man tags \
+ distdir info-am info dvi-am dvi check check-am installcheck-am \
+ installcheck install-exec-am install-exec install-data-am install-data \
+ install-am install uninstall-am uninstall all-redirect all-am all \
Comment 3 dwcjr 2001-09-14 00:18:52 UTC
Your patch has space formatting problems(you are using spaces instead of 
tabs), could you provide a location to the diffs directly, I think gnats 
might have messed up your tabs.
Comment 4 Ying-Chieh Liao freebsd_committer freebsd_triage 2001-10-14 15:29:09 UTC
State Changed
From-To: open->closed

committed, thanks