public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] cracklib
@ 2002-04-20  9:04 Pieter Van den Abeele
  2002-04-20 12:27 ` Thilo Bangert
  0 siblings, 1 reply; 5+ messages in thread
From: Pieter Van den Abeele @ 2002-04-20  9:04 UTC (permalink / raw
  To: gentoo-dev

Hi,

Is there a special reason why precompiled dict files are needed for cracklib? 
Wouldn't it be better if we just added a sys-libs/words ebuild that installs 
word-files that are used by the cracklib installation to compile its own dict 
files, instead of including precompiled dict files for all platforms?

PPC is currently using this solution:
http://ftp.sunsite.dk/projects/gentooppc/portage/sys-libs/cracklib
http://ftp.sunsite.dk/projects/gentooppc/portage/sys-libs/words

Best Regards 

Pieter

-- 
Pieter Van den Abeele
pvdabeel@gentoo.org


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] cracklib
  2002-04-20  9:04 [gentoo-dev] cracklib Pieter Van den Abeele
@ 2002-04-20 12:27 ` Thilo Bangert
  2002-04-27 12:38   ` Pieter Van den Abeele
  0 siblings, 1 reply; 5+ messages in thread
From: Thilo Bangert @ 2002-04-20 12:27 UTC (permalink / raw
  To: gentoo-dev

On Saturday, 20. April 2002 11:04, you wrote:
> Hi,
>
> Is there a special reason why precompiled dict files are needed for
> cracklib? Wouldn't it be better if we just added a sys-libs/words
> ebuild that installs word-files that are used by the cracklib
> installation to compile its own dict files, instead of including
> precompiled dict files for all platforms?
>
> PPC is currently using this solution:
> http://ftp.sunsite.dk/projects/gentooppc/portage/sys-libs/cracklib
> http://ftp.sunsite.dk/projects/gentooppc/portage/sys-libs/words
>

oh man - if been looking for this. what other package provides 
/usr/dict/words?
perhaps (i'm not sure) the app-dict category is better suited for 
this...

> Best Regards
>
> Pieter

-- 
regards
Thilo



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] cracklib
  2002-04-20 12:27 ` Thilo Bangert
@ 2002-04-27 12:38   ` Pieter Van den Abeele
  2002-04-27 13:28     ` Thilo Bangert
  0 siblings, 1 reply; 5+ messages in thread
From: Pieter Van den Abeele @ 2002-04-27 12:38 UTC (permalink / raw
  To: gentoo-dev

On Saturday 20 April 2002 14:27, you wrote:
> On Saturday, 20. April 2002 11:04, you wrote:
> > Hi,
> >
> > Is there a special reason why precompiled dict files are needed for
> > cracklib? Wouldn't it be better if we just added a sys-libs/words
> > ebuild that installs word-files that are used by the cracklib
> > installation to compile its own dict files, instead of including
> > precompiled dict files for all platforms?
> >
> > PPC is currently using this solution:
> > http://ftp.sunsite.dk/projects/gentooppc/portage/sys-libs/cracklib
> > http://ftp.sunsite.dk/projects/gentooppc/portage/sys-libs/words
>
> oh man - if been looking for this. what other package provides
> /usr/dict/words?

sys-apps/miscfiles provides /usr/share/words 

I would like to know if it is ok if I replace gentoo-x86/sys-libs/cracklib 
with gentoo-ppc/sys-libs/cracklib...

Gentoo PPC's cracklib can be found here: 
http://ftp.sunsite.dk/projects/gentooppc/portage/sys-libs/cracklib/

What we're doing is removing the procompiled dict files in ${FILESDIR} and 
have cracklib compile it's own dict files using the word lists provided by 
sys-apps/miscfiles.

Cracklib is a critical ebuild, so I would like some reviewing first. Anyone 
care to comment on this?

Pieter

-- 
Pieter Van den Abeele
pvdabeel@gentoo.org - pvdabeel@vub.ac.be


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] cracklib
  2002-04-27 12:38   ` Pieter Van den Abeele
@ 2002-04-27 13:28     ` Thilo Bangert
  2002-04-27 14:32       ` Pieter Van den Abeele
  0 siblings, 1 reply; 5+ messages in thread
From: Thilo Bangert @ 2002-04-27 13:28 UTC (permalink / raw
  To: gentoo-dev

Hi,

> > oh man - if been looking for this. what other package provides
> > /usr/dict/words?
>
> sys-apps/miscfiles provides /usr/share/words
>
> I would like to know if it is ok if I replace
> gentoo-x86/sys-libs/cracklib with gentoo-ppc/sys-libs/cracklib...
>

i think the idea is very good, but the ebuild needs some cleaning

  1) the ln -s /usr/shar/dict /usr/dict can not be in src_compile - that
     would among other things be a sandbox violation!
     if that symlink is necessary, then we would have to wait for a new
     baselayout to clean that up for us. Az?
     also use dosym for that.

  2) make all || die

  3) preplib - i have never used that one, but doesn't prelib /usr/lib
     work?

  4) use dosym for the ln -s - those are sandbox violations again

now, I am no cracklib expert, so i can not comment on whether it works, 
but it looks alright...

> Gentoo PPC's cracklib can be found here:
> http://ftp.sunsite.dk/projects/gentooppc/portage/sys-libs/cracklib/
>
> What we're doing is removing the procompiled dict files in
> ${FILESDIR} and have cracklib compile it's own dict files using the
> word lists provided by sys-apps/miscfiles.
>
> Cracklib is a critical ebuild, so I would like some reviewing first.
> Anyone care to comment on this?

it is important that also the sparc gang tests this, but i would expect 
that this is pretty platform independant...
good job there!

>
> Pieter

-- 
regards
Thilo


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] cracklib
  2002-04-27 13:28     ` Thilo Bangert
@ 2002-04-27 14:32       ` Pieter Van den Abeele
  0 siblings, 0 replies; 5+ messages in thread
From: Pieter Van den Abeele @ 2002-04-27 14:32 UTC (permalink / raw
  To: gentoo-dev

On Saturday 27 April 2002 15:28, you wrote:
> i think the idea is very good, but the ebuild needs some cleaning
>
>   1) the ln -s /usr/shar/dict /usr/dict can not be in src_compile - that
>      would among other things be a sandbox violation!
>      if that symlink is necessary, then we would have to wait for a new
>      baselayout to clean that up for us. Az?
>      also use dosym for that.
>   2) make all || die
>   3) preplib - i have never used that one, but doesn't prelib /usr/lib
>      work?
>   4) use dosym for the ln -s - those are sandbox violations again
>
> now, I am no cracklib expert, so i can not comment on whether it works,
> but it looks alright...

I looked at the cracklib problem more in detail. It seemed the 
gentoo-patch.diff was outdated, I updated the patch and I guess everything 
works now. (testing it as we speak)

-- 
Pieter Van den Abeele
pvdabeel@vub.ac.be


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-04-27 14:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-20  9:04 [gentoo-dev] cracklib Pieter Van den Abeele
2002-04-20 12:27 ` Thilo Bangert
2002-04-27 12:38   ` Pieter Van den Abeele
2002-04-27 13:28     ` Thilo Bangert
2002-04-27 14:32       ` Pieter Van den Abeele

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox