Add a hotfix to support the "MD5 (file) = IGNORE" case.

This commit is contained in:
Akinori MUSHA 2001-08-11 10:07:05 +00:00
parent 22d14000a5
commit 68b126ec35
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46071
4 changed files with 12 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 20010811
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www.iDaemons.org/distfiles/
@ -36,6 +37,8 @@ MANCOMPRESSED= yes
post-patch:
${RUBY} -i -pe 'sub %r:/usr/local:, "${LOCALBASE}"' ${WRKSRC}/pkgdb.rb
${RUBY} -i~ -ne 'if ~%r:if /\^MD5 : then puts " if /^MD5 \\((.*)\\) = / =~ line"; else puts $$_; end' ${WRKSRC}/portsclean
do-install:
cd ${WRKSRC} && ${RUBY} install.rb

View File

@ -7,6 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 20010811
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www.iDaemons.org/distfiles/
@ -36,6 +37,8 @@ MANCOMPRESSED= yes
post-patch:
${RUBY} -i -pe 'sub %r:/usr/local:, "${LOCALBASE}"' ${WRKSRC}/pkgdb.rb
${RUBY} -i~ -ne 'if ~%r:if /\^MD5 : then puts " if /^MD5 \\((.*)\\) = / =~ line"; else puts $$_; end' ${WRKSRC}/portsclean
do-install:
cd ${WRKSRC} && ${RUBY} install.rb

View File

@ -7,6 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 20010811
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www.iDaemons.org/distfiles/
@ -36,6 +37,8 @@ MANCOMPRESSED= yes
post-patch:
${RUBY} -i -pe 'sub %r:/usr/local:, "${LOCALBASE}"' ${WRKSRC}/pkgdb.rb
${RUBY} -i~ -ne 'if ~%r:if /\^MD5 : then puts " if /^MD5 \\((.*)\\) = / =~ line"; else puts $$_; end' ${WRKSRC}/portsclean
do-install:
cd ${WRKSRC} && ${RUBY} install.rb

View File

@ -7,6 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 20010811
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www.iDaemons.org/distfiles/
@ -36,6 +37,8 @@ MANCOMPRESSED= yes
post-patch:
${RUBY} -i -pe 'sub %r:/usr/local:, "${LOCALBASE}"' ${WRKSRC}/pkgdb.rb
${RUBY} -i~ -ne 'if ~%r:if /\^MD5 : then puts " if /^MD5 \\((.*)\\) = / =~ line"; else puts $$_; end' ${WRKSRC}/portsclean
do-install:
cd ${WRKSRC} && ${RUBY} install.rb