Re: [EPIC]Bug: ``man installhelp'' fails, EPIC4 version <=4-1.1.7(?)

2002-08-20 Thread Steven Plunkett

Thanks for your quick response Jeremy - I shall certainly download the
help files to check them out, but yes, the main point I was trying to get
across is that the current behaviour for 'make installhelp' (whoops I
typoed in the topic) is not good, and could possibly be used maliciously
(you never know).

Thanks

Steven


On Tue, 20 Aug 2002, Jeremy Nelson wrote:

> >When attempting to install helpfiles (hey, I was curious at the changes
> >with bind(8) because of the keys.c big rewrite), helpfiles do not exist,
> >so line 185 of epic4-1.1.7/Makefile is excutied incorrectly, copying the
> >contents of epic4-1.1.7/ (including subdirectories) to
> >/usr/local/share/epic/help.
>
> The help files are available as a separate package, and can also be fetched
> by way of CVS.  It is certainly not acceptable for 'make installhelp' to
> fail in this manner and you are quite correct that some action should be
> taken to change its behavior.  But 'make installhelp' is provided for those
> who may download the separate help package, and put it into the help/
> directory, and want to have it automatically installed for them.
>
> An excellent place to look up help right now is
> http://www.epicsol.org/~kitambi/help
>
> Jeremy
>


___
List mailing list
[EMAIL PROTECTED]
http://epicsol.org/mailman/listinfo/list



Re: [EPIC]Bug: ``man installhelp'' fails, EPIC4 version <=4-1.1.7 (?)

2002-08-20 Thread Jeremy Nelson

>
>cuz people are always asking _me_ where to get help, and i usually
>say "help.epicsol.org" which is not as current as it should be and
>doesn't reflect the numerous changes made in cvs on a seemingly=20
>daily basis :-)

Oh yea. part two.  

The problem isn't so much the software driving it as much as it is the
help files.  The software (some perl cgi program) has some format
restrictions and the help files are being massaged to be consistant 
and conformant.  I think the work-in-progress right now is paladin's edits
to the help files.

Jeremy
___
List mailing list
[EMAIL PROTECTED]
http://epicsol.org/mailman/listinfo/list



Re: [EPIC]Bug: ``man installhelp'' fails, EPIC4 version <=4-1.1.7 (?)

2002-08-20 Thread Jeremy Nelson

>
>--5mCyUwZo2JvN/JJP
>Content-Type: text/plain; charset=us-ascii
>Content-Disposition: inline
>Content-Transfer-Encoding: quoted-printable
>
>see.. this is VERY cool to know :-)
>
>do you think we could maybe set a vhost for
>help-cvs.epicsol.org or something and put it on the webpage?
>
>"for current bleeding-edge helpfiles, go [here]" or something..
>
>cuz people are always asking _me_ where to get help, and i usually
>say "help.epicsol.org" which is not as current as it should be and
>doesn't reflect the numerous changes made in cvs on a seemingly=20
>daily basis :-)

Well, it's beta/development right now, and I'm pushing paladin (kitambi)
to finish it at which point I'm going to push keerf to make it the official
help gateway.  I've got agreement-in-principle from both of them that this
will become http://epicsol.org/help (aka http://help.epicsol.org) as soon
as paladin says it's finished.

Jeremy
___
List mailing list
[EMAIL PROTECTED]
http://epicsol.org/mailman/listinfo/list



Re: [EPIC]Bug: ``man installhelp'' fails, EPIC4 version <=4-1.1.7 (?)

2002-08-20 Thread William Rockwood

see.. this is VERY cool to know :-)

do you think we could maybe set a vhost for
help-cvs.epicsol.org or something and put it on the webpage?

"for current bleeding-edge helpfiles, go [here]" or something..

cuz people are always asking _me_ where to get help, and i usually
say "help.epicsol.org" which is not as current as it should be and
doesn't reflect the numerous changes made in cvs on a seemingly 
daily basis :-)

cheers..

/wjr

On Tue, Aug 20, 2002 at 10:12:58AM -0500, Jeremy Nelson wrote:
> 
> An excellent place to look up help right now is 
> http://www.epicsol.org/~kitambi/help
> 


-- 
  +--+
  | William Rockwood | Sr. System Administrator
  | [EMAIL PROTECTED]| XO Communications,  Chicago DCO
  +--+



msg00215/pgp0.pgp
Description: PGP signature


Re: [EPIC]Bug: ``man installhelp'' fails, EPIC4 version <=4-1.1.7 (?)

2002-08-20 Thread Jeremy Nelson

>When attempting to install helpfiles (hey, I was curious at the changes
>with bind(8) because of the keys.c big rewrite), helpfiles do not exist,
>so line 185 of epic4-1.1.7/Makefile is excutied incorrectly, copying the
>contents of epic4-1.1.7/ (including subdirectories) to
>/usr/local/share/epic/help.

The help files are available as a separate package, and can also be fetched
by way of CVS.  It is certainly not acceptable for 'make installhelp' to 
fail in this manner and you are quite correct that some action should be
taken to change its behavior.  But 'make installhelp' is provided for those
who may download the separate help package, and put it into the help/ 
directory, and want to have it automatically installed for them.

An excellent place to look up help right now is 
http://www.epicsol.org/~kitambi/help

Jeremy
___
List mailing list
[EMAIL PROTECTED]
http://epicsol.org/mailman/listinfo/list



[EPIC]Bug: ``man installhelp'' fails, EPIC4 version <=4-1.1.7 (?)

2002-08-20 Thread Steven Plunkett

Environment variables: epic4-1.1.7, Debian 3.0, x86.

Bug (At compiler time):

When attempting to install helpfiles (hey, I was curious at the changes
with bind(8) because of the keys.c big rewrite), helpfiles do not exist,
so line 185 of epic4-1.1.7/Makefile is excutied incorrectly, copying the
contents of epic4-1.1.7/ (including subdirectories) to
/usr/local/share/epic/help.

Evidence:

/home/s/steven/epic4-1.1.7# make installman
umask 022; \
./mkinstalldirs /usr/local/share/epic /usr/local/share/epic/script \
/usr/local/share/epic/help /usr/local/bin /usr/local/libexec \
/usr/local/man/man1
./bsdinstall -c -m 644 ./doc/epic.1 //usr/local/man/man1/epic.1
/home/s/steven/epic4-1.1.7# ls /usr/local/share/epic/help
/home/s/steven/epic4-1.1.7# make installhelp
umask 022; \
./mkinstalldirs /usr/local/share/epic /usr/local/share/epic/script \
/usr/local/share/epic/help /usr/local/bin /usr/local/libexec \
/usr/local/man/man1
(cd ./help; tar cf - .) | (cd /usr/local/share/epic/help; tar xf -)
/bin/sh: line 1: cd: ./help: No such file or directory
/home/s/steven/epic4-1.1.7# ls
BUG_FORM   INSTALLMakefile.in  VOTES   config.cache   configure
docmkpatch  script  test.o
COPYRIGHT  KNOWNBUGS  README   acconfig.h  config.log configure.in
includemy_test  source
CVSMakefile   UPDATES  bsdinstall  config.status  contrib
mkinstalldirs  regress  test.c
/home/s/steven/epic4-1.1.7# ls /usr/local/share/epic/help
BUG_FORM   INSTALLMakefile.in  VOTES   config.cache   configure
docmkpatch  script  test.o
COPYRIGHT  KNOWNBUGS  README   acconfig.h  config.log configure.in
includemy_test  source
CVSMakefile   UPDATES  bsdinstall  config.status  contrib
mkinstalldirs  regress  test.c
/home/s/steven/epic4-1.1.7# rm -r /usr/local/share/epic/help/*
/home/s/steven/epic4-1.1.7# make installhelp
umask 022; \
./mkinstalldirs /usr/local/share/epic /usr/local/share/epic/script \
/usr/local/share/epic/help /usr/local/bin /usr/local/libexec \
/usr/local/man/man1
(cd ./help; tar cf - .) | (cd /usr/local/share/epic/help; tar xf -)
/bin/sh: line 1: cd: ./help: No such file or directory
/home/s/steven/epic4-1.1.7# ls /usr/local/share/epic/help
BUG_FORM   INSTALLMakefile.in  VOTES   config.cache   configure
docmkpatch  script  test.o
COPYRIGHT  KNOWNBUGS  README   acconfig.h  config.log configure.in
includemy_test  source
CVSMakefile   UPDATES  bsdinstall  config.status  contrib
mkinstalldirs  regress  test.c
/home/s/steven/epic4-1.1.7#

Workaround:
1) Use (well, test) patch supplied. Will exit ``make installhelp''
gracefully.
2) Hash out line 185 in epic4-1.1.7/Makefile
3) Remove option altogether until helpfiles can be written
4) Supply help files

Versions effected:

I'd assume it effects versions EPIC4pre1.034 and above, but I've only
looked at the source in EPIC4-1.1.4+.

Thanks,

Steven
sisko on efnet, ozorg


--- Makefile2002-08-20 18:30:53.0 +1000
+++ Makefile.fixed  2002-08-20 18:59:58.0 +1000
@@ -182,7 +182,10 @@
 
 helpdir   = $(epicdir)/help
 installhelp: installdirs
-   (cd ./help; tar cf - .) | (cd $(IP)$(helpdir); tar xf -)
+   if ./my_test -d ./help; then \
+   (cd ./help; tar cf - .) | (cd $(IP)$(helpdir); tar xf -); \
+   else echo "No help files to install."; \
+   fi
 
 installman: installdirs
$(INSTALL_DATA) ./doc/epic.1 $(IP)/$(mandir)/man1/$(epic).1