[gentoo-dev] Trying to create nessus-bin-3.2.0 ebuild

2008-03-21 Thread Vladimir Rusinov
Hello!

I'm trying to create nessus-bin-3.2.0 ebuild.
I've downloaded Nessus-3.2.0-suse10.0.i586.rpm, checked its md5 sum, and
I've done just a `cp nessus-bin-3.0.5.ebuild nessus-bin-3.2.0.ebuild`.

But even scr_unpack() fails:
>>> Unpacking Nessus-3.2.0-suse10.0.i586.rpm to
/tmp/portage/net-analyzer/nessus-bin-3.2.0/work

!!! ERROR: net-analyzer/nessus-bin-3.2.0 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_unpack
  ebuild.sh, line 763:   Called qa_call 'src_unpack'
  ebuild.sh, line 44:   Called src_unpack
  ebuild.sh, line 1328:   Called rpm_src_unpack
  rpm.eclass, line 72:   Called die

!!! failure unpacking Nessus-3.2.0-suse10.0.i586.rpm
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at '/tmp/portage/net-analyzer/nessus-
bin-3.2.0/temp/build.log'.

I've looked into rpm.eclass, and found that problem is in
rpm_unpack() {
.
rpmoff=`rpmoffset < ${rpmfile}`
[ -z "${rpmoff}" ] && return 1


$ rpmoffset < /path/to/Nessus-3.2.0-suse10.0.i586.rpm
$ echo $?
1

$ rpm2targz /usr/portage/distfiles/Nessus-3.2.0-suse10.0.i586.rpm
 /usr/portage/distfiles/Nessus-3.2.0-suse10.0.i586.rpm - no magic
compression identifier found - skipping file

$ emerge -pv rpm2targz

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] app-arch/rpm2targz-9.0-r6  0 kB


How can I fix this?
Thanks.

-- 
Vladimir Rusinov
Voronezh, Russia
UNIX Admin @ Murano Software


[gentoo-dev] Gentoo devmanual translations

2008-11-07 Thread Vladimir Rusinov
Hi.

I'm iterested in devmanual status. And I'd like to spend some time in making
it's translation to Russian as well as adding/fixing bugs on english text.

I don't wanna to improve my xslt skills, so is there any simple way to add
translations to existing xml's?

-- 
Vladimir Rusinov
http://greenmice.info/


Re: [gentoo-dev] Re: Gentoo devmanual translations

2008-11-08 Thread Vladimir Rusinov
On Sat, Nov 8, 2008 at 3:22 AM, Duncan <[EMAIL PROTECTED]> wrote:

> "Vladimir Rusinov" <[EMAIL PROTECTED]> posted
> [EMAIL PROTECTED], excerpted
> below, on  Fri, 07 Nov 2008 21:40:42 +0300:
>
> > Hi.
> >
> > I'm iterested in devmanual status. And I'd like to spend some time in
> > making it's translation to Russian as well as adding/fixing bugs on
> > english text.
> >
> > I don't wanna to improve my xslt skills, so is there any simple way to
> > add translations to existing xml's?
>
> I'm not a translator or a docs dev, but I follow the list.  Why not come
> over to the documentation list?  It's much easier to keep up on. =:^)
>
> And yes, they do have some tools that help.  There's a translator's HOWTO
> and some other what else, /Documentation/ =;^), over on the docs project
> page:
>
> http://www.gentoo.org/proj/en/gdp/index.xml
>
> ... And I see there's at least a URL for Russian documentation, so
> there's likely to already be someone already working on it.  I only "do"
> English and don't know the status of the Russian translation, so I'm not
> going to go farther than that, but it's a start.
>
> http://www.gentoo.org/doc/ru/
>
> Thanks for asking.  I'm sure your services can be put to good use, and
> hope my pointers above are useful too.
>

Thank you for giving me right direction. :)

-- 
Vladimir Rusinov
http://greenmice.info/


Re: [gentoo-dev] New eclass: emul-linux-x86.eclass

2007-11-14 Thread Vladimir Rusinov
On 11/14/07, Marijn Schouten (hkBst) <[EMAIL PROTECTED]> wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> But why is it standard to quote other assignments like in DESCRIPTION and
> HOMEPAGE then?


Probably because WORKDIR would be quoted where it is being used:

...
if [[ -d "${S}"/${dir} ]] ; then
...

and so on.

-- 
Vladimir Rusinov
GreenMice Solutions: IT-решения на базе Linux
http://greenmice.info/


Re: [gentoo-dev] diff /usr/portage

2007-12-13 Thread Vladimir Rusinov
On 12/13/07, smurfd <[EMAIL PROTECTED]> wrote:
>
> So im wondering, and i have not really done any research, if this has been
> up on discussion before..
> but, wouldnt it be a pretty neat thing to do, to make "emerge --sync" do a
> diff on your /usr/portage compared to the remote repository.
>
> Then, just merge the differences.


emerge-delta-webrsync

-- 
Vladimir Rusinov
GreenMice Solutions: IT-решения на базе Linux
http://greenmice.info/