diff options
author | salo <salo@pkgsrc.org> | 2005-11-17 17:24:24 +0000 |
---|---|---|
committer | salo <salo@pkgsrc.org> | 2005-11-17 17:24:24 +0000 |
commit | edb673309ad307ad017a57d6e1a4a4e889fec298 (patch) | |
tree | 851f26caa689e6c66993287fa3d98692680adefd | |
parent | b28f24a98cd4378dd25fb7901dc9cc59224a2e3d (diff) | |
download | pkgsrc-edb673309ad307ad017a57d6e1a4a4e889fec298.tar.gz |
Pullup ticket 870 - requested by Min Sik Kim
distfile fixes for chef
Revisions pulled up:
- pkgsrc/converters/chef/Makefile 1.8, 1.9, 1.10
- pkgsrc/converters/chef/distinfo 1.3, 1.4
Module Name: pkgsrc
Committed By: tonio
Date: Mon Oct 17 20:59:27 UTC 2005
Modified Files:
pkgsrc/converters/chef: Makefile distinfo
Log Message:
Distfiles comes with a strange encoding.
Updated checksum, it is just an encoding problem
Add ${TR} magic to fix encoding
This fixes PR 31639
---
Module Name: pkgsrc
Committed By: tonio
Date: Mon Oct 31 11:25:14 UTC 2005
Modified Files:
pkgsrc/converters/chef: Makefile distinfo
Log Message:
Add DIST_SUBDIR=${PKGNAME_NOREV} to change distfile path, as checksum
was updated.
Thanks Min Sik Kim for pointing the problem
---
Module Name: pkgsrc
Committed By: minskim
Date: Thu Nov 17 17:12:05 UTC 2005
Modified Files:
pkgsrc/converters/chef: Makefile
Log Message:
Correct a distfile path. Noted by salo@.
-rw-r--r-- | converters/chef/Makefile | 8 | ||||
-rw-r--r-- | converters/chef/distinfo | 8 |
2 files changed, 10 insertions, 6 deletions
diff --git a/converters/chef/Makefile b/converters/chef/Makefile index cb274bbb1a5..f96d8a65e83 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.7.4.1 2005/11/17 17:24:24 salo Exp $ # DISTNAME= chef.l @@ -15,13 +15,17 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews NO_CONFIGURE= yes WRKSRC= ${WRKDIR} +DIST_SUBDIR= ${PKGNAME_NOREV} 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}/${DIST_SUBDIR}/${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..89193690a5b 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.2.6.1 2005/11/17 17:24:24 salo Exp $ -SHA1 (chef.l.txt) = 6bb58b4b42b08dbbbeb4649cf7f057e8aa74f1e1 -RMD160 (chef.l.txt) = 02855be02fcb40427d3f3e32dd60ea17ae974e16 -Size (chef.l.txt) = 2428 bytes +SHA1 (chef-19920415/chef.l.txt) = 87d95cb4e0a7110a6aa11d02ba454a93c811e8c3 +RMD160 (chef-19920415/chef.l.txt) = 0a659d431391e54cfa1779481af953f41d0697d7 +Size (chef-19920415/chef.l.txt) = 2428 bytes |