[gentoo-user] 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


Re: [gentoo-user] Trying to create nessus-bin-3.2.0 ebuild

2008-03-22 Thread Vladimir Rusinov
On Sat, Mar 22, 2008 at 4:00 AM, Mike Williams [EMAIL PROTECTED] wrote:

 I've taken a slightly different route, going for the debian package.
 Instead
 of looking for an eclass to handle the conversion i just did it manually
 with
 deb2targz.
 Handley debian has openssl-0.9.8, so the dependancies are correct without
 having to resort to ugly symlinks, although nessusd does complain about
 no
 version information available in libssl and libcrypto.


Oh' thanks a lot for the information.
nessus from suse10 does not starts at all for me.

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


Re: [gentoo-user] Trying to create nessus-bin-3.2.0 ebuild

2008-03-21 Thread Mike Williams
On Friday 21 March 2008 10:11:30 Vladimir Rusinov wrote:
 How can I fix this?

Sorry, I can't tell you how, but I can concur with your findings.
I've tried 3 different 3.2.0 release RPMs and rpmoffset/rpm2targz can't parse 
any of them. However the 3.0.5 suse10 RPM does work.

I'm going to look for a newer rpm2targz.

-- 
Mike Williams
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Update portage cache ... horribly slow

2005-09-28 Thread Holly Bostick
Paweł Madej schreef:
 
 My other question is if there is some script which could follow rrs 
 from [1] and run emerge sync and emerge -uND world after there is for
  example 10 ebuild updated comparing to my system, or other way that 
 it will email me that there is 10 ebuilds new and i should run sync 
 manually.

Well, esync might be what you want-- it's part of gentoolkit, and while
it won't do any emerges for you, it will display (or mail you, which is
how I do it) the list of updated packages for the day, with a note as to
whether the package is an upgrade for your system, new to your system,
or the like. Here's an example of the daily mail I get when I run esync
as a cron job and mail myself the output:* Importing old portage tree

 * Doing '/usr/bin/emerge sync' now

 * Doing 'eupdatedb' now


 * esearch-index generated in 4 minute(s) and 23 second(s)
 * indexed 10357 ebuilds
 * size of esearch-index: 1618 kB

 * Importing new portage tree
 * Preparing databases
 * Searching for changes

[ N] dev-ruby/activesupport (1.1.1-r1):  Utility Classes and Extension
to the Standard Library
[MN] net-libs/aqbanking (1.6.0_beta):  Generic Online Banking Interface
[MN] media-sound/ardour (0.99):  multi-track hard disk recording software
[ N] mail-filter/clamsmtp (1.5):  ClamSMTP is an SMTP filter that allows
you to check for viruses using the ClamAV anti-virus software.
[ N] dev-util/cmake (2.0.6-r1):  Cross platform Make
[ N] net-libs/cvm (0.32-r1):  Credential Validation Modules by Bruce Guenter
[ N] dev-java/dom4j (1.6.1):  Easy to use, open source library for
working with XML, XPath and XSLT on the Java platform using the Java
Collections Framework and with full support for DOM, SAX and JAXP.
[ N] net-mail/fetchyahoo (2.9.0):  Perl script that downloads mail from
a Yahoo! webmail account to a local mail spool, an mbox file, or to
procmail.
[ N] net-libs/libmonetra (4.2.2):  library for connecting to a MCVE
Credit Card Processing Daemon via SSL, TCP/IP, and drop-files.
[ N] net-analyzer/libnasl (2.2.5):  A remote security scanner for Linux
(libnasl)
[ U] www-client/mozilla-firefox (1.0.7-r1):  Firefox Web Browser
[ N] net-analyzer/nagios-core (1.2-r3):  Nagios Core - Check daemon,
CGIs, docs
[ N] net-dns/ndu (0.4-r2):  DNS serial number incrementer and reverse
zone builder
[ N] net-analyzer/nessus (2.2.5):  A remote security scanner for Linux
[ N] net-analyzer/nessus-core (2.2.5):  A remote security scanner for
Linux (nessus-core)
[ N] net-analyzer/nessus-libraries (2.2.5):  A remote security scanner
for Linux (nessus-libraries)
[ N] net-analyzer/nessus-plugins (2.2.5):  A remote security scanner for
Linux (nessus-plugins)
[ N] mail-client/nmh (1.1-r1):  New MH mail reader
[MN] x11-misc/openclipart (0.17-r1):  Open Clip Art Library
(openclipart.org)
[MN] app-office/qbankmanager (0.9.29):  Onlinebanking frontend for aqbanking
[MN] x11-misc/service-discovery-applet (0.1):  Service Discovery Applet
[MN] sys-block/unieject (5):  Multiplatform command to eject and load
CD-Rom drives
[MN] media-libs/urt (3.1b):  the Utah Raster Toolkit is a library for
dealing with raster images
[MN] sys-cluster/vzctl (2.7.0.21):  OpenVZ VPS control utility
[ N] x11-plugins/wmail (2.0-r2):  Window Maker dock application showing
incoming mail
[ N] x11-plugins/wmlpq (0.2.1-r1):  Windowmaker dockapp which monitors
up to 5 printqueues
[ N] x11-plugins/wmmenu (1.2-r1):  WindowMaker DockApp: Provides a popup
menu of icons like in AfterStep, as a dockable application.
[ N] x11-plugins/wmnetload (1.3-r2):  Network interface monitor dockapp


The only upgrade (this is from the 27th), is firefox, but I might take a
look at wmail. Nothing else interesting to me on this particular list.

I suppose if you really felt that you wanted to have an emerge of the
new packages done automatically, you could always create a script to run
esync and mail you the output, then run emerge -uD world after esync
completed successfully (doesn't seem much point in using --newuse if
you're not going to be there to look at the output), but I prefer to do
my emerges manually.

Hope this helps,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Trying to create nessus-bin-3.2.0 ebuild

2008-03-21 Thread Vladimir Rusinov
On 3/21/08, Mike Williams [EMAIL PROTECTED] wrote:

 On Friday 21 March 2008 10:11:30 Vladimir Rusinov wrote:
  How can I fix this?


 Sorry, I can't tell you how, but I can concur with your findings.
 I've tried 3 different 3.2.0 release RPMs and rpmoffset/rpm2targz can't
 parse
 any of them. However the 3.0.5 suse10 RPM does work.

 I'm going to look for a newer rpm2targz.


Well, I've noticed that rpm.eclass tries to use rpm2cpio first. I've
installed rpm package and it unpacks and installs now.
I have not yet tested installed packages, but anyway I'll submit the ebuild
and comments to bugzilla after few hours.


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


Re: [gentoo-user] Trying to create nessus-bin-3.2.0 ebuild

2008-03-21 Thread Mike Williams
On Friday 21 March 2008 18:27:27 Vladimir Rusinov wrote:
 Well, I've noticed that rpm.eclass tries to use rpm2cpio first. I've
 installed rpm package and it unpacks and installs now.
 I have not yet tested installed packages, but anyway I'll submit the ebuild
 and comments to bugzilla after few hours.

I was going to suggest you check bugzilla for an existing bug on the matter, 
but I see you've already found it! :)

I've taken a slightly different route, going for the debian package. Instead 
of looking for an eclass to handle the conversion i just did it manually with 
deb2targz.
Handley debian has openssl-0.9.8, so the dependancies are correct without 
having to resort to ugly symlinks, although nessusd does complain about no 
version information available in libssl and libcrypto.

As you, I haven't done any testing as I don't know how to use it. My job is 
just to provide servers for those who do.

-- 
Mike Williams
-- 
gentoo-user@lists.gentoo.org mailing list