From owner-freebsd-ports Sat Sep 22 2:20:27 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A5AB737B41C for ; Sat, 22 Sep 2001 02:20:00 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8M9K0L85397; Sat, 22 Sep 2001 02:20:00 -0700 (PDT) (envelope-from gnats) Received: from smtp.noos.fr (descartes.noos.net [212.198.2.74]) by hub.freebsd.org (Postfix) with ESMTP id B16F937B417 for ; Sat, 22 Sep 2001 02:12:48 -0700 (PDT) Received: (qmail 13521953 invoked by uid 0); 22 Sep 2001 09:12:47 -0000 Received: from unknown (HELO gits.dyndns.org) ([212.198.231.187]) (envelope-sender ) by 212.198.2.74 (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 22 Sep 2001 09:12:47 -0000 Received: (from root@localhost) by gits.dyndns.org (8.11.6/8.11.6) id f8M9Cih53154; Sat, 22 Sep 2001 11:12:44 +0200 (CEST) (envelope-from root) Message-Id: <200109220912.f8M9Cih53154@gits.dyndns.org> Date: Sat, 22 Sep 2001 11:12:44 +0200 (CEST) From: Cyrille Lefevre Reply-To: Cyrille Lefevre To: FreeBSD-gnats-submit@freebsd.org Cc: obrien@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/30732: bash2 - pkg-plist fix and sample files added Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 30732 >Category: ports >Synopsis: bash2 - pkg-plist fix and sample files added >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Sep 22 02:20:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Cyrille Lefevre >Release: FreeBSD 4.4-RC i386 >Organization: ACME >Environment: System: FreeBSD gits 4.4-RC FreeBSD 4.4-RC #7: Thu Sep 20 12:40:17 CEST 2001 root@gits:/disk2/4.x-stable/src/sys/compile/CUSTOM i386 >Description: Makefile PORTREVISION bumped WANT_STATIC added DOC_FILES added (w/ FAQ and INTRO) SAMPLE_DIR added post-install splitted (install-sample added) pkg-descr rewritten pkg-plist @comment $FreeBSD$ added %%PORTDOCS%% added sample files added >How-To-Repeat: n/a >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/shells/bash2/Makefile,v retrieving revision 1.49 diff -u -r1.49 Makefile --- Makefile 2001/04/10 10:47:48 1.49 +++ Makefile 2001/09/22 09:10:39 @@ -8,6 +8,7 @@ PORTNAME= bash PORTVERSION= 2.05 +PORTREVISION= 1 CATEGORIES= shells MASTER_SITES= ${MASTER_SITE_GNU} \ ftp://ftp.cwru.edu/pub/bash/ @@ -20,23 +21,40 @@ GNU_CONFIGURE= Yes CONFIGURE_ARGS= --with-installed-readline +.if defined(WANT_STATIC) CONFIGURE_ENV= LDFLAGS=-static +.endif + MAN1= bash.1 bashbug.1 + +DOC_FILES= doc/FAQ doc/INTRO \ + ../doc/article.ps ../doc/bashref.ps ../doc/article.txt +SAMPLE_DIR= ${PREFIX}/share/examples/bash + +post-install: update-shells install-sample install-doc + +update-shells: + @${ECHO_MSG} "updating /etc/shells" + @${CP} /etc/shells /etc/shells.bak + @(${GREP} -v ${PREFIX}/bin/bash /etc/shells.bak; \ + ${ECHO} ${PREFIX}/bin/bash) > /etc/shells + @${RM} /etc/shells.bak + +install-sample: + @${MKDIR} ${SAMPLE_DIR} + @${TAR} cf - -C ${WRKSRC}/examples . | ${TAR} xf - -C ${SAMPLE_DIR} -post-install: - ${CP} /etc/shells /etc/shells.bak - (${GREP} -v ${PREFIX}/bin/bash /etc/shells.bak; ${ECHO} ${PREFIX}/bin/bash) >/etc/shells - ${RM} /etc/shells.bak +install-doc: .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/bash - ${INSTALL_MAN} \ - ${WRKDIR}/doc/article.ps \ - ${WRKDIR}/doc/bashref.ps \ - ${PREFIX}/share/doc/bash - ${INSTALL_MAN} \ - ${WRKDIR}/doc/article.txt \ - ${PREFIX}/share/doc/bash - ${GZIP_CMD} ${PREFIX}/share/doc/bash/*.ps + @${MKDIR} ${DOCSDIR} +.for file in ${DOC_FILES} + @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +# .if ${file:M*.ps} != "" # doesn't work ! + @case "${file}" in *.ps) \ + ${GZIP_CMD} ${DOCSDIR}/${file:T} \ + ;; esac +# .endif +.endfor .endif .include Index: pkg-descr =================================================================== RCS file: /home/ncvs/ports/shells/bash2/pkg-descr,v retrieving revision 1.5 diff -u -r1.5 pkg-descr --- pkg-descr 2001/04/10 10:47:48 1.5 +++ pkg-descr 2001/09/22 09:10:09 @@ -1,11 +1,16 @@ -Bash is the GNU Project's Bourne -Again SHell, an interactive shell with Bourne shell syntax (/bin/sh); -but also with interactive command line editing, job control on -architectures that support it, Csh-like history features and brace -expansion, and a slew of other stuff. For more information on the -features of Bash that are new to this type of shell, see the file -`documentation/features.texi'. There is also a processed DVI file -there, as well as a large man page. +The Free Software Foundation's "Bourne Again SHell" is a Bourne +compatible shell (sh) that incorporates useful features from the +Korn shell (ksh) and C shell (csh). It is intended to conform to +the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard. It +includes the following features: + +editing and completion, history and command re-entry, job control, +shell functions and aliases, arrays, arithmetic, ansi-c quoting, +tilde expansion, brace expansion, substring capabilities, indirect +variable expansion, expanded i/o capabilities, control of builtin +commands, help, shell optional behavior, prompt customization, +security, directory stack, posix mode, internationalization and +command timing. WWW: http://www.gnu.org/software/bash/ http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/shells/bash2/pkg-plist,v retrieving revision 1.16 diff -u -r1.16 pkg-plist --- pkg-plist 1999/12/24 18:50:25 1.16 +++ pkg-plist 2001/09/22 08:26:29 @@ -1,11 +1,206 @@ +@comment $FreeBSD$ bin/bash @exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells @unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells bin/bashbug -@unexec install-info --delete %D/info/bash.info %D/info/dir +share/examples/bash/bashdb/PERMISSION +share/examples/bash/bashdb/README +share/examples/bash/bashdb/bashdb +share/examples/bash/bashdb/bashdb.fns +share/examples/bash/bashdb/bashdb.pre +share/examples/bash/complete/complete-examples +share/examples/bash/complete/complete.freebsd +share/examples/bash/complete/complete.ianmac +share/examples/bash/complete/complete2.ianmac +share/examples/bash/functions/array-stuff +share/examples/bash/functions/array-to-string +share/examples/bash/functions/autoload +share/examples/bash/functions/autoload.v2 +share/examples/bash/functions/autoload.v3 +share/examples/bash/functions/basename +share/examples/bash/functions/basename2 +share/examples/bash/functions/csh-compat +share/examples/bash/functions/dirfuncs +share/examples/bash/functions/dirname +share/examples/bash/functions/emptydir +share/examples/bash/functions/exitstat +share/examples/bash/functions/external +share/examples/bash/functions/fact +share/examples/bash/functions/fstty +share/examples/bash/functions/func +share/examples/bash/functions/gethtml +share/examples/bash/functions/getoptx.bash +share/examples/bash/functions/inetaddr +share/examples/bash/functions/inpath +share/examples/bash/functions/isnum.bash +share/examples/bash/functions/isnum2 +share/examples/bash/functions/jdate.bash +share/examples/bash/functions/jj.bash +share/examples/bash/functions/keep +share/examples/bash/functions/ksh-cd +share/examples/bash/functions/ksh-compat-test +share/examples/bash/functions/kshenv +share/examples/bash/functions/login +share/examples/bash/functions/lowercase +share/examples/bash/functions/manpage +share/examples/bash/functions/mhfold +share/examples/bash/functions/notify.bash +share/examples/bash/functions/pathfuncs +share/examples/bash/functions/recurse +share/examples/bash/functions/repeat2 +share/examples/bash/functions/repeat3 +share/examples/bash/functions/seq +share/examples/bash/functions/seq2 +share/examples/bash/functions/shcat +share/examples/bash/functions/shcat2 +share/examples/bash/functions/sort-pos-params +share/examples/bash/functions/substr +share/examples/bash/functions/substr2 +share/examples/bash/functions/term +share/examples/bash/functions/whatis +share/examples/bash/functions/whence +share/examples/bash/functions/which +share/examples/bash/functions/xalias.bash +share/examples/bash/functions/xfind.bash +share/examples/bash/loadables/Makefile +share/examples/bash/loadables/Makefile.in +share/examples/bash/loadables/README +share/examples/bash/loadables/basename.c +share/examples/bash/loadables/cat.c +share/examples/bash/loadables/cut.c +share/examples/bash/loadables/dirname.c +share/examples/bash/loadables/finfo.c +share/examples/bash/loadables/getconf.c +share/examples/bash/loadables/head.c +share/examples/bash/loadables/hello.c +share/examples/bash/loadables/id.c +share/examples/bash/loadables/ln.c +share/examples/bash/loadables/logname.c +share/examples/bash/loadables/mkdir.c +share/examples/bash/loadables/necho.c +share/examples/bash/loadables/pathchk.c +share/examples/bash/loadables/perl/Makefile +share/examples/bash/loadables/perl/Makefile.in +share/examples/bash/loadables/perl/README +share/examples/bash/loadables/perl/bperl.c +share/examples/bash/loadables/perl/iperl.c +share/examples/bash/loadables/print.c +share/examples/bash/loadables/printenv.c +share/examples/bash/loadables/push.c +share/examples/bash/loadables/realpath.c +share/examples/bash/loadables/rmdir.c +share/examples/bash/loadables/sleep.c +share/examples/bash/loadables/sprintf.c +share/examples/bash/loadables/sync.c +share/examples/bash/loadables/tee.c +share/examples/bash/loadables/template.c +share/examples/bash/loadables/truefalse.c +share/examples/bash/loadables/tty.c +share/examples/bash/loadables/uname.c +share/examples/bash/loadables/unlink.c +share/examples/bash/loadables/whoami.c +share/examples/bash/misc/aliasconv.bash +share/examples/bash/misc/aliasconv.sh +share/examples/bash/misc/cshtobash +share/examples/bash/misc/suncmd.termcap +share/examples/bash/scripts.noah/PERMISSION +share/examples/bash/scripts.noah/README +share/examples/bash/scripts.noah/aref.bash +share/examples/bash/scripts.noah/bash.sub.bash +share/examples/bash/scripts.noah/bash_version.bash +share/examples/bash/scripts.noah/meta.bash +share/examples/bash/scripts.noah/mktmp.bash +share/examples/bash/scripts.noah/number.bash +share/examples/bash/scripts.noah/prompt.bash +share/examples/bash/scripts.noah/remap_keys.bash +share/examples/bash/scripts.noah/require.bash +share/examples/bash/scripts.noah/send_mail.bash +share/examples/bash/scripts.noah/shcat.bash +share/examples/bash/scripts.noah/source.bash +share/examples/bash/scripts.noah/string.bash +share/examples/bash/scripts.noah/stty.bash +share/examples/bash/scripts.noah/y_or_n_p.bash +share/examples/bash/scripts.v2/PERMISSION +share/examples/bash/scripts.v2/README +share/examples/bash/scripts.v2/arc2tarz +share/examples/bash/scripts.v2/bashrand +share/examples/bash/scripts.v2/cal2day.bash +share/examples/bash/scripts.v2/cdhist.bash +share/examples/bash/scripts.v2/corename +share/examples/bash/scripts.v2/fman +share/examples/bash/scripts.v2/frcp +share/examples/bash/scripts.v2/lowercase +share/examples/bash/scripts.v2/ncp +share/examples/bash/scripts.v2/newext +share/examples/bash/scripts.v2/nmv +share/examples/bash/scripts.v2/pages +share/examples/bash/scripts.v2/pf +share/examples/bash/scripts.v2/pmtop +share/examples/bash/scripts.v2/rename +share/examples/bash/scripts.v2/repeat +share/examples/bash/scripts.v2/shprof +share/examples/bash/scripts.v2/untar +share/examples/bash/scripts.v2/uudec +share/examples/bash/scripts.v2/uuenc +share/examples/bash/scripts.v2/vtree +share/examples/bash/scripts.v2/where +share/examples/bash/scripts/adventure.sh +share/examples/bash/scripts/bcsh.sh +share/examples/bash/scripts/cat.sh +share/examples/bash/scripts/center +share/examples/bash/scripts/dd-ex.sh +share/examples/bash/scripts/fixfiles.bash +share/examples/bash/scripts/hanoi.bash +share/examples/bash/scripts/inpath +share/examples/bash/scripts/krand.bash +share/examples/bash/scripts/line-input.bash +share/examples/bash/scripts/nohup.bash +share/examples/bash/scripts/precedence +share/examples/bash/scripts/randomcard.bash +share/examples/bash/scripts/scrollbar +share/examples/bash/scripts/scrollbar2 +share/examples/bash/scripts/showperm.bash +share/examples/bash/scripts/shprompt +share/examples/bash/scripts/spin.bash +share/examples/bash/scripts/timeout +share/examples/bash/scripts/vtree2 +share/examples/bash/scripts/vtree3 +share/examples/bash/scripts/vtree3a +share/examples/bash/scripts/websrv.sh +share/examples/bash/scripts/xterm_title +share/examples/bash/scripts/zprintf +share/examples/bash/startup-files/Bash_aliases +share/examples/bash/startup-files/Bash_profile +share/examples/bash/startup-files/Bashrc.bfox +share/examples/bash/startup-files/README +share/examples/bash/startup-files/apple/README +share/examples/bash/startup-files/apple/aliases +share/examples/bash/startup-files/apple/bash.defaults +share/examples/bash/startup-files/apple/environment +share/examples/bash/startup-files/apple/login +share/examples/bash/startup-files/apple/logout +share/examples/bash/startup-files/apple/rc +share/examples/bash/startup-files/bash-profile +share/examples/bash/startup-files/bashrc +@unexec install-info --quiet --delete %D/info/bash.info %D/info/dir info/bash.info @exec install-info %D/info/bash.info %D/info/dir -share/doc/bash/article.ps.gz -share/doc/bash/bashref.ps.gz -share/doc/bash/article.txt -@dirrm share/doc/bash +%%PORTDOCS%%share/doc/bash/FAQ +%%PORTDOCS%%share/doc/bash/INTRO +%%PORTDOCS%%share/doc/bash/article.ps.gz +%%PORTDOCS%%share/doc/bash/article.txt +%%PORTDOCS%%share/doc/bash/bashref.ps.gz +%%PORTDOCS%%@dirrm share/doc/bash +@dirrm share/examples/bash/startup-files/apple +@dirrm share/examples/bash/startup-files +@dirrm share/examples/bash/scripts.v2 +@dirrm share/examples/bash/scripts.noah +@dirrm share/examples/bash/scripts +@dirrm share/examples/bash/misc +@dirrm share/examples/bash/loadables/perl +@dirrm share/examples/bash/loadables +@dirrm share/examples/bash/functions +@dirrm share/examples/bash/complete +@dirrm share/examples/bash/bashdb +@dirrm share/examples/bash +@dirrm share/examples >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message