Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47963 - [new ebuild] ettercap 0.7.0_pre1
Summary: [new ebuild] ettercap 0.7.0_pre1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-15 13:11 UTC by Alberto Ornaghi
Modified: 2004-04-26 13:29 UTC (History)
1 user (show)

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


Attachments
the new ebuild (ettercap-0.7.0_pre1.ebuild,1.40 KB, text/plain)
2004-04-15 13:13 UTC, Alberto Ornaghi
Details
ettercap-0.7.0_pre1.ebuild (ettercap-0.7.0_pre1.ebuild,1.37 KB, text/plain)
2004-04-18 13:25 UTC, Daniel Fullmer
Details
updated ettercap-0.7.0_pre1.ebuild (ettercap-0.7.0_pre1.ebuild,1.37 KB, text/plain)
2004-04-19 07:44 UTC, Eric Harney
Details
added some options (ettercap-0.7.0_pre1.ebuild,1.44 KB, application/octet-stream)
2004-04-26 01:32 UTC, Alberto Ornaghi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alberto Ornaghi 2004-04-15 13:11:05 UTC
a new version is available :)

please see the attached ebuild, since the requirements were changed from the 0.6.x series.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Alberto Ornaghi 2004-04-15 13:13:07 UTC
Created attachment 29362 [details]
the new ebuild

please review the ebuild, since I'm not a gentoo developer :)))
Comment 2 Daniel Black (RETIRED) gentoo-dev 2004-04-15 19:51:16 UTC
Michael do you want to maintain this one?
Comment 3 Daniel Fullmer 2004-04-18 13:24:23 UTC
The ebuild installs all the executables/libraries into /usr/local because exec-prefix is set to /usr/local.

$ ./configure --help
<snip>
Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/usr/local]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [PREFIX]
<snip>

Here it looks like exec-prefix defaults to whatever prefix is set to. configure.in shows differently:

if test "$prefix" = "NONE"; then
   prefix="/usr/local"
fi
if test "$exec_prefix" = "NONE"; then
   exec_prefix="/usr/local"
fi

The second to last line should be: exec_prefix="$prefix".


My ebuild patches that in src_unpack(), because i think this is more of an ettercap problem. It also cleans up the econf line.
Comment 4 Daniel Fullmer 2004-04-18 13:25:50 UTC
Created attachment 29571 [details]
ettercap-0.7.0_pre1.ebuild
Comment 5 Eric Harney 2004-04-19 07:44:44 UTC
Created attachment 29621 [details]
updated ettercap-0.7.0_pre1.ebuild

Two small fixes:
doesn't need dep on unstable libtool-1.5 (stable 1.4.3 works fine)
should use the gtk USE flag, not gtk2
Comment 6 Alberto Ornaghi 2004-04-20 00:30:20 UTC
ok, I'll fix the $prefix issue for the 0.7.0_pre2 version. thank you for pointing this out.

bye
Comment 7 Alberto Ornaghi 2004-04-26 01:32:02 UTC
Created attachment 30065 [details]
added some options

added the debug, ncurses and ssl options to src_compile()
Comment 8 Daniel Fullmer 2004-04-26 12:21:05 UTC
Can we get this into portage? Is it missing a maintainer?

Thanks
Daniel
Comment 9 Jon Hood (RETIRED) gentoo-dev 2004-04-26 13:29:32 UTC
sure can ;)