Re: Update: shells/bash 4.0.10

2009-03-22 Thread Stefan Sperling
On Fri, Mar 20, 2009 at 05:59:40PM +0100, Christian Weisgerber wrote:
 Update shells/bash to new release 4.0, patch level 10.
 This requires bison to build.  With yacc it will fail to parse $()
 command substitutions correctly.
 
 This could use some testing since I use bash only sporadically on
 OpenBSD.

Using it now, seems good. 'make regress' passes, too.

Stefan

 
 Index: Makefile
 ===
 RCS file: /cvs/ports/shells/bash/Makefile,v
 retrieving revision 1.49
 diff -u -p -r1.49 Makefile
 --- Makefile  20 Nov 2008 19:54:37 -  1.49
 +++ Makefile  20 Mar 2009 16:56:09 -
 @@ -2,14 +2,14 @@
  
  COMMENT= GNU Bourne Again Shell
  
 -DISTNAME=bash-3.2
 -PKGNAME= ${DISTNAME}.48
 +DISTNAME=bash-4.0
 +PKGNAME= ${DISTNAME}.10
  CATEGORIES=  shells
  HOMEPAGE=http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html
  
  MAINTAINER=  Christian Weisgerber na...@openbsd.org
  
 -# GPL
 +# GPLv3+
  PERMIT_PACKAGE_CDROM=Yes
  PERMIT_PACKAGE_FTP=  Yes
  PERMIT_DISTFILES_CDROM=  Yes
 @@ -18,14 +18,15 @@ PERMIT_DISTFILES_FTP= Yes
  MASTER_SITES=${MASTER_SITE_GNU:=bash/}
  MASTER_SITES0=   ${MASTER_SITE_GNU:=bash/${DISTNAME}-patches/}
  DIST_SUBDIR= bash
 -.for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 \
 -  21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 \
 -  41 42 43 44 45 46 47 48
 -PATCHFILES+= bash32-0$i:0
 +.for i in 01 02 03 04 05 06 07 08 09 10
 +PATCHFILES+= bash40-0$i:0
  .endfor
  
  MODULES= devel/gettext
  WANTLIB= c termcap 
 +
 +BUILD_DEPENDS=   ::devel/bison
 +YACC=${LOCALBASE}/bin/bison
  
  CONFIGURE_STYLE=gnu
  CONFIGURE_ARGS=  --disable-multibyte # missing wcscoll(3)
 Index: distinfo
 ===
 RCS file: /cvs/ports/shells/bash/distinfo,v
 retrieving revision 1.20
 diff -u -p -r1.20 distinfo
 --- distinfo  20 Nov 2008 19:54:37 -  1.20
 +++ distinfo  20 Mar 2009 16:56:09 -
 @@ -1,245 +1,55 @@
 -MD5 (bash/bash-3.2.tar.gz) = AL+hbVjgNOPCqifzkDkNMA==
 -MD5 (bash/bash32-001) = 2OEMdU9Hfj86WBr1ZriTAQ==
 -MD5 (bash/bash32-002) = 04pSiLLw6myax2tmzHTvfQ==
 -MD5 (bash/bash32-003) = C5DTeRGCfYy5XztDU8wiXg==
 -MD5 (bash/bash32-004) = gGLzpZYx9Y14sYDYN1m2ig==
 -MD5 (bash/bash32-005) = WFtZQ/rfCHXO0kOyRa3eWA==
 -MD5 (bash/bash32-006) = HVcy4B6pOK7tQvPe8TH6TQ==
 -MD5 (bash/bash32-007) = 3NDMXYAWB4J/fIUecrDqvA==
 -MD5 (bash/bash32-008) = uzx90RGYwKuT0Olgvr9iVg==
 -MD5 (bash/bash32-009) = Q0pvKbDKXxq3hLJDeujq7Q==
 -MD5 (bash/bash32-010) = Lv/wTdJG/PY71Lmfd8mggQ==
 -MD5 (bash/bash32-011) = HdEENC9pIN+vXvsxMeki4A==
 -MD5 (bash/bash32-012) = TyS2lqt4vfrk+ct+tZuDXQ==
 -MD5 (bash/bash32-013) = fECt2/EYeiauHINz7Tg0Qg==
 -MD5 (bash/bash32-014) = KOiMn4Z56ZrFkNSkqCJ8Vg==
 -MD5 (bash/bash32-015) = fBfSlnW9DUlHDxYndDhfgA==
 -MD5 (bash/bash32-016) = oe2qmLREn+IgX6dUSLexBQ==
 -MD5 (bash/bash32-017) = iJ7RGbv502NmC5oBJ/Ne+g==
 -MD5 (bash/bash32-018) = p9P4X6aH0sG1oTSDn205XQ==
 -MD5 (bash/bash32-019) = 8DmdpAB+RvxYIM4l0HQluQ==
 -MD5 (bash/bash32-020) = t2YCKBwxBNkE/QZFEP4MIQ==
 -MD5 (bash/bash32-021) = kjN0rkQDySgg9xHmLh0BpQ==
 -MD5 (bash/bash32-022) = yC070U43OHiypoDc4Y0Vlg==
 -MD5 (bash/bash32-023) = mHyUmne0sP/kollxQed2NQ==
 -MD5 (bash/bash32-024) = WiuXbnYauD8Px9quEUUbhg==
 -MD5 (bash/bash32-025) = CGaNwoJfZeztnKxrCc4bRQ==
 -MD5 (bash/bash32-026) = 81srIX8Ij/AJ+VaJRVDUHQ==
 -MD5 (bash/bash32-027) = tf8rlhDGEpD3c8SwLMGjfQ==
 -MD5 (bash/bash32-028) = AW9bVsk0BNMq6gk4Xw/BPg==
 -MD5 (bash/bash32-029) = qBQgYm1NiNDc4v+sCsVjQQ==
 -MD5 (bash/bash32-030) = Efkbr5cMEylJ+Qcu6T8upg==
 -MD5 (bash/bash32-031) = 9rvB6OwCRnQHMcco70dhkQ==
 -MD5 (bash/bash32-032) = gYDsk2dwV5vOafCBbC3YeA==
 -MD5 (bash/bash32-033) = POwzw3EYYMTGt2FK/ux4cA==
 -MD5 (bash/bash32-034) = e8bFtfOLcCcVL42wRYouFA==
 -MD5 (bash/bash32-035) = otth/pDjk3HQ5s0iheySCA==
 -MD5 (bash/bash32-036) = lccMeuneW9NlnIYoS+f7dg==
 -MD5 (bash/bash32-037) = Yrh2o9fNGSzI2yR2+7a3uQ==
 -MD5 (bash/bash32-038) = rKOvw0G9PloNijtMpA27Pw==
 -MD5 (bash/bash32-039) = 4kDDT5ebZLy4PF9lZxELsQ==
 -MD5 (bash/bash32-040) = BubfJjOYgH+gMnB/t7d7Xw==
 -MD5 (bash/bash32-041) = NzrggdZY3IW8EFjEdZ1maQ==
 -MD5 (bash/bash32-042) = nJ68a/wzoCFSd+4XonbrWg==
 -MD5 (bash/bash32-043) = uH+56hamTKQbZnbpp+t6Mw==
 -MD5 (bash/bash32-044) = B+AinOWHm/vSaoFGBw/TZg==
 -MD5 (bash/bash32-045) = GtB5ZaipPzVW7hqxi5fN4g==
 -MD5 (bash/bash32-046) = 97Hhn8rVTCKGvA7WFKrZvw==
 -MD5 (bash/bash32-047) = VQaQdm3ncBFsNNvfdOWRhA==
 -MD5 (bash/bash32-048) = TMWT57eJsjs3pTl+CS05VA==
 -RMD160 (bash/bash-3.2.tar.gz) = pz95CBfZi+N1o23vVnc3SY4zqvE=
 -RMD160 (bash/bash32-001) = Yz9utrK0g0UjTEQrg1q7lNEODa0=
 -RMD160 (bash/bash32-002) = XQ8Nq4WRl3hLFcaD1U56UFqENMM=
 -RMD160 (bash/bash32-003) = 79y0+NbIALWj2re643+Vhhvxhtg=
 -RMD160 (bash/bash32-004) = DsSai0FPKDrvwAxe5j3pE8lqeiE=
 -RMD160 (bash/bash32-005) = hZeyITailNws8RA6XJqxALddFvU=
 -RMD160 (bash/bash32-006) = 

Re: Update: shells/bash 4.0.10

2009-03-22 Thread Stefan Sperling
On Sun, Mar 22, 2009 at 11:49:45PM +, Stefan Sperling wrote:
 On Fri, Mar 20, 2009 at 05:59:40PM +0100, Christian Weisgerber wrote:
  Update shells/bash to new release 4.0, patch level 10.
  This requires bison to build.  With yacc it will fail to parse $()
  command substitutions correctly.
  
  This could use some testing since I use bash only sporadically on
  OpenBSD.
 
 Using it now,

... on i386 with -current as of today.

Stefan



Update: shells/bash 4.0.10

2009-03-20 Thread Christian Weisgerber
Update shells/bash to new release 4.0, patch level 10.
This requires bison to build.  With yacc it will fail to parse $()
command substitutions correctly.

This could use some testing since I use bash only sporadically on
OpenBSD.

Index: Makefile
===
RCS file: /cvs/ports/shells/bash/Makefile,v
retrieving revision 1.49
diff -u -p -r1.49 Makefile
--- Makefile20 Nov 2008 19:54:37 -  1.49
+++ Makefile20 Mar 2009 16:56:09 -
@@ -2,14 +2,14 @@
 
 COMMENT=   GNU Bourne Again Shell
 
-DISTNAME=  bash-3.2
-PKGNAME=   ${DISTNAME}.48
+DISTNAME=  bash-4.0
+PKGNAME=   ${DISTNAME}.10
 CATEGORIES=shells
 HOMEPAGE=  http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html
 
 MAINTAINER=Christian Weisgerber na...@openbsd.org
 
-# GPL
+# GPLv3+
 PERMIT_PACKAGE_CDROM=  Yes
 PERMIT_PACKAGE_FTP=Yes
 PERMIT_DISTFILES_CDROM=Yes
@@ -18,14 +18,15 @@ PERMIT_DISTFILES_FTP=   Yes
 MASTER_SITES=  ${MASTER_SITE_GNU:=bash/}
 MASTER_SITES0= ${MASTER_SITE_GNU:=bash/${DISTNAME}-patches/}
 DIST_SUBDIR=   bash
-.for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 \
-  21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 \
-  41 42 43 44 45 46 47 48
-PATCHFILES+=   bash32-0$i:0
+.for i in 01 02 03 04 05 06 07 08 09 10
+PATCHFILES+=   bash40-0$i:0
 .endfor
 
 MODULES=   devel/gettext
 WANTLIB=   c termcap 
+
+BUILD_DEPENDS= ::devel/bison
+YACC=  ${LOCALBASE}/bin/bison
 
 CONFIGURE_STYLE=gnu
 CONFIGURE_ARGS=--disable-multibyte # missing wcscoll(3)
Index: distinfo
===
RCS file: /cvs/ports/shells/bash/distinfo,v
retrieving revision 1.20
diff -u -p -r1.20 distinfo
--- distinfo20 Nov 2008 19:54:37 -  1.20
+++ distinfo20 Mar 2009 16:56:09 -
@@ -1,245 +1,55 @@
-MD5 (bash/bash-3.2.tar.gz) = AL+hbVjgNOPCqifzkDkNMA==
-MD5 (bash/bash32-001) = 2OEMdU9Hfj86WBr1ZriTAQ==
-MD5 (bash/bash32-002) = 04pSiLLw6myax2tmzHTvfQ==
-MD5 (bash/bash32-003) = C5DTeRGCfYy5XztDU8wiXg==
-MD5 (bash/bash32-004) = gGLzpZYx9Y14sYDYN1m2ig==
-MD5 (bash/bash32-005) = WFtZQ/rfCHXO0kOyRa3eWA==
-MD5 (bash/bash32-006) = HVcy4B6pOK7tQvPe8TH6TQ==
-MD5 (bash/bash32-007) = 3NDMXYAWB4J/fIUecrDqvA==
-MD5 (bash/bash32-008) = uzx90RGYwKuT0Olgvr9iVg==
-MD5 (bash/bash32-009) = Q0pvKbDKXxq3hLJDeujq7Q==
-MD5 (bash/bash32-010) = Lv/wTdJG/PY71Lmfd8mggQ==
-MD5 (bash/bash32-011) = HdEENC9pIN+vXvsxMeki4A==
-MD5 (bash/bash32-012) = TyS2lqt4vfrk+ct+tZuDXQ==
-MD5 (bash/bash32-013) = fECt2/EYeiauHINz7Tg0Qg==
-MD5 (bash/bash32-014) = KOiMn4Z56ZrFkNSkqCJ8Vg==
-MD5 (bash/bash32-015) = fBfSlnW9DUlHDxYndDhfgA==
-MD5 (bash/bash32-016) = oe2qmLREn+IgX6dUSLexBQ==
-MD5 (bash/bash32-017) = iJ7RGbv502NmC5oBJ/Ne+g==
-MD5 (bash/bash32-018) = p9P4X6aH0sG1oTSDn205XQ==
-MD5 (bash/bash32-019) = 8DmdpAB+RvxYIM4l0HQluQ==
-MD5 (bash/bash32-020) = t2YCKBwxBNkE/QZFEP4MIQ==
-MD5 (bash/bash32-021) = kjN0rkQDySgg9xHmLh0BpQ==
-MD5 (bash/bash32-022) = yC070U43OHiypoDc4Y0Vlg==
-MD5 (bash/bash32-023) = mHyUmne0sP/kollxQed2NQ==
-MD5 (bash/bash32-024) = WiuXbnYauD8Px9quEUUbhg==
-MD5 (bash/bash32-025) = CGaNwoJfZeztnKxrCc4bRQ==
-MD5 (bash/bash32-026) = 81srIX8Ij/AJ+VaJRVDUHQ==
-MD5 (bash/bash32-027) = tf8rlhDGEpD3c8SwLMGjfQ==
-MD5 (bash/bash32-028) = AW9bVsk0BNMq6gk4Xw/BPg==
-MD5 (bash/bash32-029) = qBQgYm1NiNDc4v+sCsVjQQ==
-MD5 (bash/bash32-030) = Efkbr5cMEylJ+Qcu6T8upg==
-MD5 (bash/bash32-031) = 9rvB6OwCRnQHMcco70dhkQ==
-MD5 (bash/bash32-032) = gYDsk2dwV5vOafCBbC3YeA==
-MD5 (bash/bash32-033) = POwzw3EYYMTGt2FK/ux4cA==
-MD5 (bash/bash32-034) = e8bFtfOLcCcVL42wRYouFA==
-MD5 (bash/bash32-035) = otth/pDjk3HQ5s0iheySCA==
-MD5 (bash/bash32-036) = lccMeuneW9NlnIYoS+f7dg==
-MD5 (bash/bash32-037) = Yrh2o9fNGSzI2yR2+7a3uQ==
-MD5 (bash/bash32-038) = rKOvw0G9PloNijtMpA27Pw==
-MD5 (bash/bash32-039) = 4kDDT5ebZLy4PF9lZxELsQ==
-MD5 (bash/bash32-040) = BubfJjOYgH+gMnB/t7d7Xw==
-MD5 (bash/bash32-041) = NzrggdZY3IW8EFjEdZ1maQ==
-MD5 (bash/bash32-042) = nJ68a/wzoCFSd+4XonbrWg==
-MD5 (bash/bash32-043) = uH+56hamTKQbZnbpp+t6Mw==
-MD5 (bash/bash32-044) = B+AinOWHm/vSaoFGBw/TZg==
-MD5 (bash/bash32-045) = GtB5ZaipPzVW7hqxi5fN4g==
-MD5 (bash/bash32-046) = 97Hhn8rVTCKGvA7WFKrZvw==
-MD5 (bash/bash32-047) = VQaQdm3ncBFsNNvfdOWRhA==
-MD5 (bash/bash32-048) = TMWT57eJsjs3pTl+CS05VA==
-RMD160 (bash/bash-3.2.tar.gz) = pz95CBfZi+N1o23vVnc3SY4zqvE=
-RMD160 (bash/bash32-001) = Yz9utrK0g0UjTEQrg1q7lNEODa0=
-RMD160 (bash/bash32-002) = XQ8Nq4WRl3hLFcaD1U56UFqENMM=
-RMD160 (bash/bash32-003) = 79y0+NbIALWj2re643+Vhhvxhtg=
-RMD160 (bash/bash32-004) = DsSai0FPKDrvwAxe5j3pE8lqeiE=
-RMD160 (bash/bash32-005) = hZeyITailNws8RA6XJqxALddFvU=
-RMD160 (bash/bash32-006) = 2Bk6aZVgZOn7TmThMTKxwbLLjUM=
-RMD160 (bash/bash32-007) = Myy5NoUeFWySMSNlQbeOZR/Uq1o=
-RMD160 (bash/bash32-008) = RFWMq61rBaUyF8F0GcJHeinr59o=
-RMD160 (bash/bash32-009) = WiC8htBKFWzbyyLza2xoxzGOm6s=
-RMD160 (bash/bash32-010) =