Subject: pkg/18683: fixes to avoid silly uses of non-portable "tar" options in print/teTeX
To: None <gnats-bugs@gnats.netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: netbsd-bugs
Date: 10/17/2002 14:06:07
>Number:         18683
>Category:       pkg
>Synopsis:       fixes to avoid silly uses of non-portable "tar" options in print/teTeX
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 17 11:07:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Greg A. Woods
>Release:        pkgsrc-current 2002-10-15
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Environment:
System: NetBSD

>Description:

	here are some fixes to help avoid silly uses of non-portable
	"tar" options in print/teTeX

>How-To-Repeat:

>Fix:

Index: print/teTeX/Makefile
===================================================================
RCS file: /cvs/master/m-NetBSD/main/pkgsrc/print/teTeX/Makefile,v
retrieving revision 1.30
diff -c -r1.30 Makefile
*** print/teTeX/Makefile	21 Sep 2002 01:57:35 -0000	1.30
--- print/teTeX/Makefile	4 Oct 2002 15:02:02 -0000
***************
*** 9,15 ****
  
  MAINTAINER=	hubertf@netbsd.org
  HOMEPAGE=	http://www.tug.org/tetex/
! COMMENT=	Thomas Esser's TeX distribution for UNIX compatible systems
  
  DEPENDS+=	teTeX-bin>=1.0.7nb2:../teTeX-bin
  DEPENDS+=	teTeX-sharesrc>=1.0.1nb1:../teTeX-sharesrc
--- 9,15 ----
  
  MAINTAINER=	hubertf@netbsd.org
  HOMEPAGE=	http://www.tug.org/tetex/
! COMMENT=	"Thomas Esser's TeX distribution for UNIX compatible systems"
  
  DEPENDS+=	teTeX-bin>=1.0.7nb2:../teTeX-bin
  DEPENDS+=	teTeX-sharesrc>=1.0.1nb1:../teTeX-sharesrc
Index: print/teTeX-sharesrc/Makefile
===================================================================
RCS file: /cvs/master/m-NetBSD/main/pkgsrc/print/teTeX-sharesrc/Makefile,v
retrieving revision 1.12
diff -c -r1.12 Makefile
*** print/teTeX-sharesrc/Makefile	21 Sep 2002 01:51:36 -0000	1.12
--- print/teTeX-sharesrc/Makefile	4 Oct 2002 15:02:15 -0000
***************
*** 27,40 ****
  EXTRA_PATCH=	${FILESDIR}/latex.ltx.diff
  
  do-install:
- 	@${ECHO} ""
- 	@${ECHO} "Extracting ${DISTFILES} to ${PREFIX}/share/texmf/source"
- 	@${ECHO} "  Get yourself a shower and a mug of coffee, this will take long!"
- 	@${ECHO} ""
  	${INSTALL_DATA_DIR} ${PREFIX}/share/texmf
! 	${GTAR} -plzx \
! 		-C ${PREFIX}/share/texmf \
! 		-f ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES}
  	@cd ${PREFIX}/share/texmf/source/latex/base && \
  	  ${PATCH} ${_PATCH_BACKUP_ARG} .orig < ${EXTRA_PATCH} && \
  	  ${RM} latex.ltx.orig
--- 27,37 ----
  EXTRA_PATCH=	${FILESDIR}/latex.ltx.diff
  
  do-install:
  	${INSTALL_DATA_DIR} ${PREFIX}/share/texmf
! 	cd ${PREFIX}/share/texmf; ${TAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES}
! 	cd ${PREFIX}/share/texmf; ${RM} -f ${FILESDIR}/exclude
! 
! post-install:
  	@cd ${PREFIX}/share/texmf/source/latex/base && \
  	  ${PATCH} ${_PATCH_BACKUP_ARG} .orig < ${EXTRA_PATCH} && \
  	  ${RM} latex.ltx.orig
Index: print/teTeX-share/Makefile
===================================================================
RCS file: /cvs/master/m-NetBSD/main/pkgsrc/print/teTeX-share/Makefile,v
retrieving revision 1.13
diff -c -r1.13 Makefile
*** print/teTeX-share/Makefile	21 Sep 2002 00:46:32 -0000	1.13
--- print/teTeX-share/Makefile	4 Oct 2002 15:02:15 -0000
***************
*** 23,39 ****
  EXTRA_PATCH=	${FILESDIR}/latex.ltx.diff
  
  do-install:
- 	@${ECHO} ""
- 	@${ECHO} "Extracting ${DISTFILES} to ${PREFIX}/share/texmf"
- 	@${ECHO} ""
- 	@${ECHO} "  ** Get yourself a shower and a big mug of coffee,"
- 	@${ECHO} "  ** this will take _very_ long!"
- 	@${ECHO} ""
  	${INSTALL_DATA_DIR} ${PREFIX}/share/texmf
! 	${GTAR} -plzx \
! 		-C ${PREFIX}/share/texmf \
! 		-X ${FILESDIR}/exclude \
! 		-f ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES}
  	@cd ${PREFIX}/share/texmf/tex/latex/base && \
  	  ${PATCH} ${_PATCH_BACKUP_ARG} .orig < ${EXTRA_PATCH} && \
  	  ${RM} latex.ltx.orig
--- 23,33 ----
  EXTRA_PATCH=	${FILESDIR}/latex.ltx.diff
  
  do-install:
  	${INSTALL_DATA_DIR} ${PREFIX}/share/texmf
! 	cd ${PREFIX}/share/texmf; ${TAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES}
! 	cd ${PREFIX}/share/texmf; ${RM} -f ${FILESDIR}/exclude
! 
! post-install:
  	@cd ${PREFIX}/share/texmf/tex/latex/base && \
  	  ${PATCH} ${_PATCH_BACKUP_ARG} .orig < ${EXTRA_PATCH} && \
  	  ${RM} latex.ltx.orig
>Release-Note:
>Audit-Trail:
>Unformatted: