Subject: pkg/18727: print/teTeX-sharesrc and print/teTeX-share should not use GNU tar
To: None <gnats-bugs@gnats.netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: netbsd-bugs
Date: 10/19/2002 16:20:18
>Number:         18727
>Category:       pkg
>Synopsis:       print/teTeX-sharesrc and print/teTeX-share should not use GNU tar
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 19 13:21:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Greg A. Woods
>Release:        pkgsrc-current 2002/10/18
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Environment:
System: NetBSD

>Description:

	print/teTeX-sharesrc and print/teTeX-share should not use GNU tar

>How-To-Repeat:

>Fix:

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: