summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authortonio <tonio@pkgsrc.org>2005-10-17 20:59:27 +0000
committertonio <tonio@pkgsrc.org>2005-10-17 20:59:27 +0000
commit7246e5ce8ff9ee6fb8668d6155bfc9b61fba1b0a (patch)
tree69239b7fdd3e59b99736aecf7a2b9544e0dd740f /converters
parent9e8ddb79a71daf32c5642d19ec2e8fbce77ff6e8 (diff)
downloadpkgsrc-7246e5ce8ff9ee6fb8668d6155bfc9b61fba1b0a.tar.gz
Distfiles comes with a strange encoding.
Updated checksum, it is just an encoding problem Add ${TR} magic to fix encoding This fixes PR 31639
Diffstat (limited to 'converters')
-rw-r--r--converters/chef/Makefile7
-rw-r--r--converters/chef/distinfo6
2 files changed, 8 insertions, 5 deletions
diff --git a/converters/chef/Makefile b/converters/chef/Makefile
index cb274bbb1a5..63ebeb1d74b 100644
--- a/converters/chef/Makefile
+++ b/converters/chef/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2005/04/11 21:45:08 tv Exp $
+# $NetBSD: Makefile,v 1.8 2005/10/17 20:59:27 tonio Exp $
#
DISTNAME= chef.l
@@ -21,7 +21,10 @@ MAKE_ENV+= BINDIR=${PREFIX}/bin BINOWN=${BINOWN} BINGRP=${BINGRP}
INSTALLATION_DIRS= bin
do-extract:
- ${CP} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${WRKDIR}/chef.l
+ # deal with the dos encoding of the file
+ ${CP} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${WRKDIR}/chef.l.tmp
+ cd ${WRKSRC} && ${TR} '\015' '\n' < chef.l.tmp > chef.l
+ cd ${WRKSRC} && ${RM} chef.l.tmp
do-build:
cd ${WRKSRC} && ${LEX} chef.l
diff --git a/converters/chef/distinfo b/converters/chef/distinfo
index f9f0342fb45..57ec52c7cd2 100644
--- a/converters/chef/distinfo
+++ b/converters/chef/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 16:12:33 agc Exp $
+$NetBSD: distinfo,v 1.3 2005/10/17 20:59:27 tonio Exp $
-SHA1 (chef.l.txt) = 6bb58b4b42b08dbbbeb4649cf7f057e8aa74f1e1
-RMD160 (chef.l.txt) = 02855be02fcb40427d3f3e32dd60ea17ae974e16
+SHA1 (chef.l.txt) = 87d95cb4e0a7110a6aa11d02ba454a93c811e8c3
+RMD160 (chef.l.txt) = 0a659d431391e54cfa1779481af953f41d0697d7
Size (chef.l.txt) = 2428 bytes