Re: [PATCH] upgrade Bash port to version 4.1.

2010-04-15 Thread Doug Barton
On 04/12/10 15:23, David O'Brien wrote:
 Hi Folks,
 
 Bash 4.1 seems stable enough at PL5 to replace version 4.0 in
 '/usr/ports/shells/bash'.

Agreed, I tested the PL5 with your patch and it seems fine.

Please consider the attached patch as well, that adds OPTIONS generally
for the knobs already in the port, and a new option to use bash's
readline instead of the base version.


hth,

Doug

-- 

... and that's just a little bit of history repeating.
-- Propellerheads

Improve the effectiveness of your Internet presence with
a domain name makeover!http://SupersetSolutions.com/

diff -ur /usr/local/tmp/bash/Makefile ./Makefile
--- /usr/local/tmp/bash/Makefile2010-04-14 22:26:35.0 -0700
+++ ./Makefile  2010-04-14 22:24:48.0 -0700
@@ -31,6 +31,15 @@
 
 IGNOREFILES=   FAQ
 
+OPTIONS=   IMPLICITCD Use directory name alone to cd into it on \
+   COLONBREAKSWORDS Colons break words on \
+   HELP Install the help files on \
+   INST_READL Use readline from base, otherwise bash's on \
+   NLS National Language Support on \
+   STATIC_BASH Compile without shared libs off
+
+.include bsd.port.pre.mk
+
 .if !defined(WITHOUT_IMPLICITCD)
 EXTRA_PATCHES+=${PATCHDIR}/xpatch-implicitcd
 .endif
@@ -87,6 +96,10 @@
 PLIST_SUB+=NLS=
 .endif
 
+.if !defined(WITHOUT_INST_READL)
+CONFIGURE_ARGS+=   --with-installed-readline
+.endif
+
 CPPFLAGS+= ${PTHREAD_CFLAGS} \
-I${LOCALBASE}/include
 LDFLAGS+=  -L${LOCALBASE}/lib
@@ -95,8 +108,6 @@
LDFLAGS=${LDFLAGS} \
YACC=bison -y
 
-.include bsd.port.pre.mk
-
 post-patch:
@${REINPLACE_CMD} -e s|%%PREFIX%%|${PREFIX}|g ${WRKSRC}/doc/bash.1
 
Only in .: work
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Re: [PATCH] upgrade Bash port to version 4.1.

2010-04-13 Thread Jerry
On Mon, 12 Apr 2010 15:23:00 -0700, David O'Brien obr...@freebsd.org
articulated:

 Hi Folks,
 
 Bash 4.1 seems stable enough at PL5 to replace version 4.0 in
 '/usr/ports/shells/bash'.
 
 Does anyone feel that we need a shells/bash40 port?
 (please just let me know if you feel we do, not if you feel we don't)
 
 The patch below is the upgrade to 4.1.  It works on the workstation
 undermydesk, but maybe not the one underyourdesk.  Please let me know
 in the next few days if you will have trouble with the updated Bash
 port.

I don't see any reason to keep it around. In reality, it just clutters
up the ports system with more deprecated software. In any case, 4.1
corrects a few problems in the older version. I believe it is at patch
level 5 now, as your patch indicates.

Just my 2ยข.

-- 
Jerry
freebsd-ports.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

Man is a military animal,
Glories in gunpowder, and loves parade.


P. J. Bailey
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


[PATCH] upgrade Bash port to version 4.1.

2010-04-12 Thread David O'Brien
Hi Folks,

Bash 4.1 seems stable enough at PL5 to replace version 4.0 in
'/usr/ports/shells/bash'.

Does anyone feel that we need a shells/bash40 port?
(please just let me know if you feel we do, not if you feel we don't)

The patch below is the upgrade to 4.1.  It works on the workstation
undermydesk, but maybe not the one underyourdesk.  Please let me know
in the next few days if you will have trouble with the updated Bash port.

thanks,
-- 
-- David  (obr...@freebsd.org)


Index: Makefile
===
RCS file: /home/ncvs/ports/shells/bash/Makefile,v
retrieving revision 1.118
diff -u -p -r1.118 Makefile
--- Makefile14 Nov 2009 12:05:54 -  1.118
+++ Makefile9 Apr 2010 15:43:31 -
@@ -7,8 +7,8 @@
 #
 
 PORTNAME=  bash
-PATCHLEVEL=35
-PORTVERSION=   4.0.${PATCHLEVEL:S/^0//g}
+PATCHLEVEL=5
+PORTVERSION=   4.1.${PATCHLEVEL:S/^0//g}
 PORTREVISION?= 0
 CATEGORIES=shells
 MASTER_SITES=  ${MASTER_SITE_GNU:S/$/:bash/} \
Index: distinfo
===
RCS file: /home/ncvs/ports/shells/bash/distinfo,v
retrieving revision 1.45
diff -u -p -r1.45 distinfo
--- distinfo14 Nov 2009 12:05:54 -  1.45
+++ distinfo9 Apr 2010 15:43:45 -
@@ -1,110 +1,20 @@
-MD5 (bash/bash-4.0.tar.gz) = a90a1b5a6db4838483f05438e05e8eb9
-SHA256 (bash/bash-4.0.tar.gz) = 
9793d394f640a95030c77d5ac989724afe196921956db741bcaf141801c50518
-SIZE (bash/bash-4.0.tar.gz) = 6230779
-MD5 (bash/bash40-001) = bc7f4762443939bd7dccb42370f0d932
-SHA256 (bash/bash40-001) = 
e3b514204e5da7bf1aecf7d0981514b2367d4b529da6d4a45d09dc29e2f0031b
-SIZE (bash/bash40-001) = 5156
-MD5 (bash/bash40-002) = c2a4a4786a83ed4ec366c6a8924369a2
-SHA256 (bash/bash40-002) = 
495117e566019b9cb0ab49504945b30cdda6e5b59597e43e18eae1f06b1d5cf4
-SIZE (bash/bash40-002) = 1220
-MD5 (bash/bash40-003) = 22e8a824eddba21a8fce10d7984c2aba
-SHA256 (bash/bash40-003) = 
e300c40611b1e3775b7d1fb73bd770ad19973c22d7016d126af3304bae797bd8
-SIZE (bash/bash40-003) = 1749
-MD5 (bash/bash40-004) = ed7cbced8c7c964323265522369a37a2
-SHA256 (bash/bash40-004) = 
4b03ed1f8aea99dec4ab3ba930bd126c6b7dbaeebf219e21ce3aa6274c52d2ae
-SIZE (bash/bash40-004) = 1347
-MD5 (bash/bash40-005) = 8ed86b7d31423d71ecf3148251d63512
-SHA256 (bash/bash40-005) = 
420658c026916610a07d40b71eb70f6674b78c3b3da10384c7535c15b3309450
-SIZE (bash/bash40-005) = 2021
-MD5 (bash/bash40-006) = 5f447338cb98ff156cabf1fd9879d5f3
-SHA256 (bash/bash40-006) = 
c78762520f3da5f39319c3143f9eb4f4ca3351a6306cf94b7c42b3b2844d82e4
-SIZE (bash/bash40-006) = 1133
-MD5 (bash/bash40-007) = 96e946cb66a4ca186cba1da44f1ee163
-SHA256 (bash/bash40-007) = 
558d559e24d15a9eedb42951f4706839322c644791d20c11ca5e958cfc0e616d
-SIZE (bash/bash40-007) = 6920
-MD5 (bash/bash40-008) = d3eb7b6f00d525e032478c33f51d46a8
-SHA256 (bash/bash40-008) = 
87db24c00f83db7bdeab585dfecc76cc6ce6fd9269fce0ac7197771f3005d8fc
-SIZE (bash/bash40-008) = 1196
-MD5 (bash/bash40-009) = 340601c997ce569532417a7ae92248b8
-SHA256 (bash/bash40-009) = 
0047c240617a4aa633bb699f93a4fa9caf77051f2bb85fc2e9c6c899d1df7e2b
-SIZE (bash/bash40-009) = 1821
-MD5 (bash/bash40-010) = 0bd5ab96d514ffb1afbb8c7984b15146
-SHA256 (bash/bash40-010) = 
f2416f6b45ff3d9a315e41b3da023eb727f53e7dd6e8a07e88d1f2a005ee4816
-SIZE (bash/bash40-010) = 2152
-MD5 (bash/bash40-011) = 32cb20f339a20e1e9fb37a5d18f18fca
-SHA256 (bash/bash40-011) = 
ffc81429efe88958356684c27a914d832c1cacb16ca6881192832ee3a18354d4
-SIZE (bash/bash40-011) = 1383
-MD5 (bash/bash40-012) = 33fd9e93d30a17988c19554ef26d56e0
-SHA256 (bash/bash40-012) = 
b2c4d6e9c12a8695bc177798b9857b9dbc85a035ad83fce401e668a2de1183f3
-SIZE (bash/bash40-012) = 1459
-MD5 (bash/bash40-013) = a266b42df5e9ed7e8818a8b00d50e00b
-SHA256 (bash/bash40-013) = 
760ccaf9d1f3be5d81e6bc1f8201820b42a2cdcd2a561cb0fb021b4c241e4c3a
-SIZE (bash/bash40-013) = 4629
-MD5 (bash/bash40-014) = 86cac78f191a32cd1404f11264eb9b2a
-SHA256 (bash/bash40-014) = 
13edc4c691768672f680b4f266bdd1c12e7b247349eba4d30d0bd923cca1c39a
-SIZE (bash/bash40-014) = 3709
-MD5 (bash/bash40-015) = bb41963d030bc61a20e8185367b337c5
-SHA256 (bash/bash40-015) = 
7ba0e2bedf54c80b58e0f471e7372c539e5a43d55eb3f1881f5b8fb649758814
-SIZE (bash/bash40-015) = 1914
-MD5 (bash/bash40-016) = f75455048a086528971252fd979b8755
-SHA256 (bash/bash40-016) = 
8f3a936e928fe78ae10df109d226f79207a5418a7eded376e880fe57a571d519
-SIZE (bash/bash40-016) = 3032
-MD5 (bash/bash40-017) = 34b2cd57271a452f4a26b39d77ff908f
-SHA256 (bash/bash40-017) = 
2bee2afe6339b034e3a8d88bfbf922f6f4704abf0fb56041fa693075f530f021
-SIZE (bash/bash40-017) = 1496
-MD5 (bash/bash40-018) = 99318eed8dcc05e10a14ae27043f175d
-SHA256 (bash/bash40-018) = 
1db3bb8db0e386be938ce3ca9d3aff10edee57e696dec353fb134960ddc0e631
-SIZE (bash/bash40-018) = 2614
-MD5 (bash/bash40-019) = af3b9aaeadc71a5007bec2b98c751cde
-SHA256 (bash/bash40-019) =