Re: new: shells/perlsh 1.8

2005-10-11 Thread steven mestdagh
On Mon, Oct 10, 2005 at 07:28:17PM +0200, Jasper Lievisse Adriaanse wrote:
  systrace: deny user: root, prog: /bin/cp, pid: 26483(0)[10776], 
  policy: /usr/bin/env, filters: 144, syscall: native-fswrite(136), 
  filename: /usr/local/share/psh
  cp: /usr/local/share/psh/: Operation not permitted
  
  Cheers,
  
  Alek
 
 Well, I just can reproduce your errors. 
 Here it installs without any complaints or errors. Can anyone else 
 reproduce
 Alek's output?

Yes. Set USE_SYSTRACE=Yes in /etc/mk.conf
   Hmm, yes now I see them messages too. Do you happen to know how to solve 
   it?
  
  You can disable the postinstall.pl script by patching Makefile.PL, then
  install what postinstall.pl does by adding a post-install target to the
  port's Makefile.
 
 Okido, no more errors (with USE_SYSTRACT=Yes too). New tarball is at:
 http://nedbsd.nl/~jasper/obsd/ports/perlsh.tar.gz

this would be better:

post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/psh/themes
${INSTALL_DATA_DIR} ${PREFIX}/share/psh/complete
${INSTALL_DATA} ${WRKSRC}/share/themes/* ${PREFIX}/share/psh/themes
${INSTALL_DATA} ${WRKSRC}/share/complete/* ${PREFIX}/share/psh/complete

and maybe you can skip the debian completion :)

-- 
steven

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm



Re: new: shells/perlsh 1.8

2005-10-11 Thread Jasper Lievisse Adriaanse
On Tue, 11 Oct 2005 08:20:26 +0200
steven mestdagh [EMAIL PROTECTED] wrote:

 On Mon, Oct 10, 2005 at 07:28:17PM +0200, Jasper Lievisse Adriaanse wrote:
   systrace: deny user: root, prog: /bin/cp, pid: 26483(0)[10776], 
   policy: /usr/bin/env, filters: 144, syscall: native-fswrite(136), 
   filename: /usr/local/share/psh
   cp: /usr/local/share/psh/: Operation not permitted
   
   Cheers,
   
   Alek
  
  Well, I just can reproduce your errors. 
  Here it installs without any complaints or errors. Can anyone else 
  reproduce
  Alek's output?
 
 Yes. Set USE_SYSTRACE=Yes in /etc/mk.conf
Hmm, yes now I see them messages too. Do you happen to know how to 
solve it?
   
   You can disable the postinstall.pl script by patching Makefile.PL, then
   install what postinstall.pl does by adding a post-install target to the
   port's Makefile.
  
  Okido, no more errors (with USE_SYSTRACT=Yes too). New tarball is at:
  http://nedbsd.nl/~jasper/obsd/ports/perlsh.tar.gz
 
 this would be better:
 
 post-install:
 ${INSTALL_DATA_DIR} ${PREFIX}/share/psh/themes
 ${INSTALL_DATA_DIR} ${PREFIX}/share/psh/complete
 ${INSTALL_DATA} ${WRKSRC}/share/themes/* ${PREFIX}/share/psh/themes
 ${INSTALL_DATA} ${WRKSRC}/share/complete/* 
 ${PREFIX}/share/psh/complete

Well, it gives an error on 29 and 32, these are the first and last line of this
code.

 
 and maybe you can skip the debian completion :)
@comment added.

 
 -- 
 steven
 
 Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
 


-- 
Security is decided by quality -- Theo de Raadt



Re: new: shells/perlsh 1.8

2005-10-11 Thread Jasper Lievisse Adriaanse
On Tue, 11 Oct 2005 08:34:16 +0200
steven mestdagh [EMAIL PROTECTED] wrote:

 On Tue, Oct 11, 2005 at 08:33:23AM +0200, Jasper Lievisse Adriaanse wrote:
   post-install:
   ${INSTALL_DATA_DIR} ${PREFIX}/share/psh/themes
   ${INSTALL_DATA_DIR} ${PREFIX}/share/psh/complete
   ${INSTALL_DATA} ${WRKSRC}/share/themes/* 
   ${PREFIX}/share/psh/themes
   ${INSTALL_DATA} ${WRKSRC}/share/complete/* 
   ${PREFIX}/share/psh/complete
  
  Well, it gives an error on 29 and 32, these are the first and last line of 
  this
  code.
 
 do you have tabs and not spaces in front of every ${INSTALL... line ?
Now I do, thanks. Tarball is a the usual place.

Jasper
 
 Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
 


-- 
Security is decided by quality -- Theo de Raadt



Re: new: shells/perlsh 1.8

2005-10-11 Thread Jasper Lievisse Adriaanse
On Tue, 11 Oct 2005 08:34:16 +0200
steven mestdagh [EMAIL PROTECTED] wrote:

 On Tue, Oct 11, 2005 at 08:33:23AM +0200, Jasper Lievisse Adriaanse wrote:
   post-install:
   ${INSTALL_DATA_DIR} ${PREFIX}/share/psh/themes
   ${INSTALL_DATA_DIR} ${PREFIX}/share/psh/complete
   ${INSTALL_DATA} ${WRKSRC}/share/themes/* 
   ${PREFIX}/share/psh/themes
   ${INSTALL_DATA} ${WRKSRC}/share/complete/* 
   ${PREFIX}/share/psh/complete
  
  Well, it gives an error on 29 and 32, these are the first and last line of 
  this
  code.
 
 do you have tabs and not spaces in front of every ${INSTALL... line ?
Now I do, thanks. Tarball is at the usual place:
http://nedbsd.nl/~jasper/obsd/ports/perlsh.tar.gz

Jasper
 
 Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
 


-- 
Security is decided by quality -- Theo de Raadt



Re: new: shells/perlsh 1.8

2005-10-11 Thread Aleksander Piotrowski
Jasper Lievisse Adriaanse [EMAIL PROTECTED] wrote:

 Now I do, thanks. Tarball is at the usual place:
 http://nedbsd.nl/~jasper/obsd/ports/perlsh.tar.gz

- ===  Installing perlsh-1.8 from
  /usr/ports/packages/powerpc/all/perlsh-1.8.tgz
  perlsh-1.8: complete  


  Couldn't find subject in old manpage 
/usr/local/man/man3p/Psh::StrategyBunch.3p
  Unknown manpage type /usr/local/man/man3p/Psh::StrategyBunch.3p
- Please use make update-patches to generate patches/patch* files.
- perlsh is pure perl code, right?  Then please add PKG_ARCH=* to
  Makefile
- IMHO last sentence in pkg/DESCR is not needed.  Who cares why you have
  added Term::ReadLine:Gnu to RUN_DEPENDS?
- Please remove second line from Makefile

Alek
-- 
- Z mechanistycznych karteli przybywają ci najbardziej wyczerpani, żeby umrzeć
z rozkoszy - ciągnął Riumin - Za odpowiednią cenę Geisha Bank proponuje shinju:
podwójne samobójstwo, w towarzystwie jednego z członków personelu. Bo wie pan,
klienci bardzo się cieszą, kiedy nie muszą umierać samotnie.
 -- Bruce Sterling, Schismatrix



Re: new: shells/perlsh 1.8

2005-10-11 Thread Jasper Lievisse Adriaanse
On Tue, 11 Oct 2005 21:07:35 +0200
Aleksander Piotrowski [EMAIL PROTECTED] wrote:

 Jasper Lievisse Adriaanse [EMAIL PROTECTED] wrote:
 
  Now I do, thanks. Tarball is at the usual place:
  http://nedbsd.nl/~jasper/obsd/ports/perlsh.tar.gz
 
 - ===  Installing perlsh-1.8 from
   /usr/ports/packages/powerpc/all/perlsh-1.8.tgz
   perlsh-1.8: complete
   
 
   Couldn't find subject in old manpage 
 /usr/local/man/man3p/Psh::StrategyBunch.3p
   Unknown manpage type /usr/local/man/man3p/Psh::StrategyBunch.3p
 - Please use make update-patches to generate patches/patch* files.
 - perlsh is pure perl code, right?  Then please add PKG_ARCH=* to
   Makefile
 - IMHO last sentence in pkg/DESCR is not needed.  Who cares why you have
   added Term::ReadLine:Gnu to RUN_DEPENDS?
 - Please remove second line from Makefile
It's all done. Ok?

 
 Alek
Cheers,
Jasper

 -- 
 - Z mechanistycznych karteli przybywaj



Re: new: shells/perlsh 1.8

2005-10-10 Thread Jasper Lievisse Adriaanse
On Fri, 7 Oct 2005 23:01:51 +0200
Aleksander Piotrowski [EMAIL PROTECTED] wrote:

 Jasper Lievisse Adriaanse [EMAIL PROTECTED] wrote:
 
  On Wed, 28 Sep 2005 17:46:36 +0200
  Jasper Lievisse Adriaanse [EMAIL PROTECTED] wrote:
  
  snip
i get this error upon installing the package
Couldn't find subject in old manpage
/usr/local/man/man3p/Psh::StrategyBunch.3p
Unknown manpage type /usr/local/man/man3p/Psh::StrategyBunch.3p
   
   I noticed, that too. But I just can't seem to find the source of that 
   error.
   Does anybody have a clue?
  
  Well, it's finally fixed. Thanks to the help of alek@, jmc@ and [EMAIL 
  PROTECTED] The
  updated tarball containing the port, which is working on i386, alpha and
  sparc64, is at http://nedbsd.nl/~jasper/obsd/ports/perlsh.tar.gz
 
 What about this (it's make install output):
 
 [...]
 Installing /mnt/wd0i/obj/ports/perlsh-1.8/fake-i386/usr/local/bin/psh
 Writing 
 /mnt/wd0i/obj/ports/perlsh-1.8/fake-i386/usr/local/libdata/perl5/site_perl/i386-openbsd/auto/psh/.packlist
 Appending installation info to 
 /mnt/wd0i/obj/ports/perlsh-1.8/fake-i386/usr/./libdata/perl5/i386-openbsd/perllocal.pod
 /usr/bin/perl postinstall.pl /usr/local /usr/local
 Installing share files to /usr/local/share/psh
 systrace: deny user: root, prog: /bin/mkdir, pid: 28858(0)[10776], policy: 
 /usr/bin/env, filters: 144, syscall: native-fswrite(136), filename: 
 /usr/local/share/psh
 mkdir: /usr/local/share/psh: Operation not permitted
 systrace: deny user: root, prog: /bin/cp, pid: 25329(0)[10776], policy: 
 /usr/bin/env, filters: 144, syscall: native-fswrite(136), filename: 
 /usr/local/share/psh
 cp: /usr/local/share/psh/: Operation not permitted
 systrace: deny user: root, prog: /bin/cp, pid: 26483(0)[10776], policy: 
 /usr/bin/env, filters: 144, syscall: native-fswrite(136), filename: 
 /usr/local/share/psh
 cp: /usr/local/share/psh/: Operation not permitted
 
 Cheers,
 
 Alek

Well, I just can reproduce your errors. 
Here it installs without any complaints or errors. Can anyone else reproduce
Alek's output?

Cheers,
Jasper

 -- 
 Maybe were victims of fate / Remember when we'd celebrate
 We'd drink and get high until late / And now were all alone
 Wedding bells ain't gonna chime / With both of us guilty of crime
 And both of us sentenced to time / And now were all alone
  -- Placebo, Protect me from what i want
 


-- 
Security is decided by quality -- Theo de Raadt



Re: new: shells/perlsh 1.8

2005-10-10 Thread Jasper Lievisse Adriaanse
On Mon, 10 Oct 2005 16:32:45 +0200
steven mestdagh [EMAIL PROTECTED] wrote:

 On Mon, Oct 10, 2005 at 03:49:28PM +0200, Jasper Lievisse Adriaanse wrote:
Well, it's finally fixed. Thanks to the help of alek@, jmc@ and [EMAIL 
PROTECTED] The
updated tarball containing the port, which is working on i386, alpha and
sparc64, is at http://nedbsd.nl/~jasper/obsd/ports/perlsh.tar.gz
   
   What about this (it's make install output):
   
   [...]
   Installing /mnt/wd0i/obj/ports/perlsh-1.8/fake-i386/usr/local/bin/psh
   Writing 
   /mnt/wd0i/obj/ports/perlsh-1.8/fake-i386/usr/local/libdata/perl5/site_perl/i386-openbsd/auto/psh/.packlist
   Appending installation info to 
   /mnt/wd0i/obj/ports/perlsh-1.8/fake-i386/usr/./libdata/perl5/i386-openbsd/perllocal.pod
   /usr/bin/perl postinstall.pl /usr/local /usr/local
   Installing share files to /usr/local/share/psh
   systrace: deny user: root, prog: /bin/mkdir, pid: 28858(0)[10776], 
   policy: /usr/bin/env, filters: 144, syscall: native-fswrite(136), 
   filename: /usr/local/share/psh
   mkdir: /usr/local/share/psh: Operation not permitted
   systrace: deny user: root, prog: /bin/cp, pid: 25329(0)[10776], policy: 
   /usr/bin/env, filters: 144, syscall: native-fswrite(136), filename: 
   /usr/local/share/psh
   cp: /usr/local/share/psh/: Operation not permitted
   systrace: deny user: root, prog: /bin/cp, pid: 26483(0)[10776], policy: 
   /usr/bin/env, filters: 144, syscall: native-fswrite(136), filename: 
   /usr/local/share/psh
   cp: /usr/local/share/psh/: Operation not permitted
   
   Cheers,
   
   Alek
  
  Well, I just can reproduce your errors. 
  Here it installs without any complaints or errors. Can anyone else reproduce
  Alek's output?
 
 Yes. Set USE_SYSTRACE=Yes in /etc/mk.conf
Hmm, yes now I see them messages too. Do you happen to know how to solve it?

Jasper
 
 -- 
 steven
 
 Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
 


-- 
Security is decided by quality -- Theo de Raadt



Re: new: shells/perlsh 1.8

2005-10-10 Thread steven mestdagh
On Mon, Oct 10, 2005 at 04:47:21PM +0200, Jasper Lievisse Adriaanse wrote:
systrace: deny user: root, prog: /bin/cp, pid: 26483(0)[10776], policy: 
/usr/bin/env, filters: 144, syscall: native-fswrite(136), filename: 
/usr/local/share/psh
cp: /usr/local/share/psh/: Operation not permitted

Cheers,

Alek
   
   Well, I just can reproduce your errors. 
   Here it installs without any complaints or errors. Can anyone else 
   reproduce
   Alek's output?
  
  Yes. Set USE_SYSTRACE=Yes in /etc/mk.conf
 Hmm, yes now I see them messages too. Do you happen to know how to solve it?

You can disable the postinstall.pl script by patching Makefile.PL, then
install what postinstall.pl does by adding a post-install target to the
port's Makefile.

-- 
steven

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm



Re: new: shells/perlsh 1.8

2005-10-10 Thread Jasper Lievisse Adriaanse
On Mon, 10 Oct 2005 17:37:15 +0200
steven mestdagh [EMAIL PROTECTED] wrote:

 On Mon, Oct 10, 2005 at 04:47:21PM +0200, Jasper Lievisse Adriaanse wrote:
 systrace: deny user: root, prog: /bin/cp, pid: 26483(0)[10776], 
 policy: /usr/bin/env, filters: 144, syscall: native-fswrite(136), 
 filename: /usr/local/share/psh
 cp: /usr/local/share/psh/: Operation not permitted
 
 Cheers,
 
 Alek

Well, I just can reproduce your errors. 
Here it installs without any complaints or errors. Can anyone else 
reproduce
Alek's output?
   
   Yes. Set USE_SYSTRACE=Yes in /etc/mk.conf
  Hmm, yes now I see them messages too. Do you happen to know how to solve it?
 
 You can disable the postinstall.pl script by patching Makefile.PL, then
 install what postinstall.pl does by adding a post-install target to the
 port's Makefile.

Okido, no more errors (with USE_SYSTRACT=Yes too). New tarball is at:
http://nedbsd.nl/~jasper/obsd/ports/perlsh.tar.gz

Cheers,
Jasper
 
 -- 
 steven
 
 Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
 


-- 
Security is decided by quality -- Theo de Raadt



Re: new: shells/perlsh 1.8

2005-10-07 Thread Jasper Lievisse Adriaanse
On Wed, 28 Sep 2005 17:46:36 +0200
Jasper Lievisse Adriaanse [EMAIL PROTECTED] wrote:

snip
  i get this error upon installing the package
  Couldn't find subject in old manpage
  /usr/local/man/man3p/Psh::StrategyBunch.3p
  Unknown manpage type /usr/local/man/man3p/Psh::StrategyBunch.3p
 
 I noticed, that too. But I just can't seem to find the source of that error.
 Does anybody have a clue?

Well, it's finally fixed. Thanks to the help of alek@, jmc@ and [EMAIL 
PROTECTED] The
updated tarball containing the port, which is working on i386, alpha and
sparc64, is at http://nedbsd.nl/~jasper/obsd/ports/perlsh.tar.gz


Jasper

snip


-- 
Security is decided by quality -- Theo de Raadt



Re: new: shells/perlsh 1.8

2005-10-07 Thread Aleksander Piotrowski
Jasper Lievisse Adriaanse [EMAIL PROTECTED] wrote:

 On Wed, 28 Sep 2005 17:46:36 +0200
 Jasper Lievisse Adriaanse [EMAIL PROTECTED] wrote:
 
 snip
   i get this error upon installing the package
   Couldn't find subject in old manpage
   /usr/local/man/man3p/Psh::StrategyBunch.3p
   Unknown manpage type /usr/local/man/man3p/Psh::StrategyBunch.3p
  
  I noticed, that too. But I just can't seem to find the source of that error.
  Does anybody have a clue?
 
 Well, it's finally fixed. Thanks to the help of alek@, jmc@ and [EMAIL 
 PROTECTED] The
 updated tarball containing the port, which is working on i386, alpha and
 sparc64, is at http://nedbsd.nl/~jasper/obsd/ports/perlsh.tar.gz

What about this (it's make install output):

[...]
Installing /mnt/wd0i/obj/ports/perlsh-1.8/fake-i386/usr/local/bin/psh
Writing 
/mnt/wd0i/obj/ports/perlsh-1.8/fake-i386/usr/local/libdata/perl5/site_perl/i386-openbsd/auto/psh/.packlist
Appending installation info to 
/mnt/wd0i/obj/ports/perlsh-1.8/fake-i386/usr/./libdata/perl5/i386-openbsd/perllocal.pod
/usr/bin/perl postinstall.pl /usr/local /usr/local
Installing share files to /usr/local/share/psh
systrace: deny user: root, prog: /bin/mkdir, pid: 28858(0)[10776], policy: 
/usr/bin/env, filters: 144, syscall: native-fswrite(136), filename: 
/usr/local/share/psh
mkdir: /usr/local/share/psh: Operation not permitted
systrace: deny user: root, prog: /bin/cp, pid: 25329(0)[10776], policy: 
/usr/bin/env, filters: 144, syscall: native-fswrite(136), filename: 
/usr/local/share/psh
cp: /usr/local/share/psh/: Operation not permitted
systrace: deny user: root, prog: /bin/cp, pid: 26483(0)[10776], policy: 
/usr/bin/env, filters: 144, syscall: native-fswrite(136), filename: 
/usr/local/share/psh
cp: /usr/local/share/psh/: Operation not permitted

Cheers,

Alek
-- 
Maybe were victims of fate / Remember when we'd celebrate
We'd drink and get high until late / And now were all alone
Wedding bells ain't gonna chime / With both of us guilty of crime
And both of us sentenced to time / And now were all alone
 -- Placebo, Protect me from what i want



Re: new: shells/perlsh 1.8

2005-09-28 Thread steven mestdagh
On Wed, Sep 28, 2005 at 04:03:55PM +0200, Jasper Lievisse Adriaanse wrote:
 Hello,
 
 I'd like to submit a perlsh port to be tested, it's pretty much based on
 NetBSD's port, so credit them and blaim on me :) I have tested it with 
 OpenBSD-
 current on i386, Alpha and Sparc64 and it works fine here.
 
 You can find the tarball here:
 http://nedbsd.nl/~jasper/obsd/ports/perlsh-1.8.tar.gz

maybe it is a candidate for @shell in PLIST ?

this message suggest psh wants to depend on devel/p5-BSD-Resource:
The 'ulimit' command in psh will not work, unless you install
BSD::Resource

i get this error upon installing the package
Couldn't find subject in old manpage
/usr/local/man/man3p/Psh::StrategyBunch.3p
Unknown manpage type /usr/local/man/man3p/Psh::StrategyBunch.3p

also, is there a reason to call it perlsh instead of psh?

cheers,

-- 
steven


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm