Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135404 - Metasploit 2.6 (version bump)
Summary: Metasploit 2.6 (version bump)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Netmon project
URL: http://www.metasploit.com/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-03 09:35 UTC by Kalidarn
Modified: 2006-06-14 04:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
net-analyzer/metasploit-2.6.ebuild (metasploit-2.6.ebuild,1.08 KB, application/octet-stream)
2006-06-03 09:36 UTC, Kalidarn
Details
metasploit-2.6.ebuild (with the init scripts included) (metasploit-2.6.ebuild,1.21 KB, application/octet-stream)
2006-06-03 22:30 UTC, Kalidarn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kalidarn 2006-06-03 09:35:01 UTC
Hi,

Please find the attached metasploit-2.6.ebuild

The Metasploit Framework is an advanced open-source platform for developing, testing, and using vulnerability exploit code.

The metasploit-2.6.ebuild had the following changes:

###REMOVED 2x lines below###
newinitd ${FILESDIR}/msfweb.initd msfweb || die "newinitd failed"
newconfd ${FILESDIR}/msfweb.confd msfweb || die "newconfd failed"
############################

Kalidarn

Portage 2.1_rc4 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3, 2.6.16-gentoo-r8 i686)
=================================================================
System uname: 2.6.16-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System version 1.12.0
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.filearena.net/pub/gentoo/ ftp://mirror.pacific.net.au/linux/Gentoo ftp://mirror.datapipe.net/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://gentoo.inode.at/source/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt ctype cups dba dri dvd eds elibc_glibc emboss encode esd ethereal exif expat fam fastbuild ffmpeg flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gpm gps gstreamer gtk gtk2 gtkhtml guile hal idn imlib ipv6 isdnlog jpeg kde kdeenablefinal kernel_linux lcms libg++ libwww mad matroska memlimit mikmod mng mod motif mozilla mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png posix pppd python qt quicktime readline reflection samba sdl session simplexml slang soap sockets speex spell spl ssl svg tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev userland_GNU vorbis wifi win32codecs x86 xinerama xml xml2 xmms xorg xsl xv xvid zlib input_devices_keyboard input_devices_mouse input_devices_synaptics video_cards_i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Kalidarn 2006-06-03 09:36:26 UTC
Created attachment 88272 [details]
net-analyzer/metasploit-2.6.ebuild
Comment 2 Marcelo Goes (RETIRED) gentoo-dev 2006-06-03 14:23:12 UTC
Hi, any reason to remove the init script? (I am yet to have a closer look at 2.6).
Comment 3 Kalidarn 2006-06-03 19:02:50 UTC
well with those lines in there i found i was getting this error.

>>> Emerging (1 of 1) net-analyzer/metasploit-2.6 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking framework-2.6.tar.gz ;-)
>>> Unpacking source...
>>> Unpacking framework-2.6.tar.gz to /var/tmp/portage/metasploit-2.6/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/metasploit-2.6/work/framework-2.6 ...
>>> Source compiled.
>>> Test phase [not enabled]: net-analyzer/metasploit-2.6

>>> Install metasploit-2.6 into /var/tmp/portage/metasploit-2.6/image/ category net-analyzer
cp: cannot stat `/usr/local/portage/net-analyzer/metasploit/files/msfweb.initd': No such file or directory

!!! ERROR: net-analyzer/metasploit-2.6 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_install
  ebuild.sh, line 1013:   Called src_install
  metasploit-2.6.ebuild, line 33:   Called die

!!! newinitd failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 4 Marcelo Goes (RETIRED) gentoo-dev 2006-06-03 21:29:12 UTC
Did you by chance forget to copy files/msfweb.initd to your overlay directory? That would explain it :-)
Comment 5 Kalidarn 2006-06-03 22:30:31 UTC
Created attachment 88319 [details]
metasploit-2.6.ebuild (with the init scripts included)

Yes very true. I must have been tired and forgot to do this.

Here is the new ebuild. If it is added to the portage tree i assume when other uses do "emerge metasploit" that those init scripts will automatically be placed in the /usr/portage/net-analyzer/metasploit/files
Comment 6 Peter Volkov (RETIRED) gentoo-dev 2006-06-14 04:14:54 UTC
Kalidarn: Thank you for report! New version is in cvs.