Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Imspector ebuild
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
josueharos
n00b
n00b


Joined: 25 May 2011
Posts: 4
Location: Mexico

PostPosted: Thu May 26, 2011 3:42 pm    Post subject: Imspector ebuild Reply with quote

Hello, everyone. i am trying to install imspector package on a gentoo box. i know it is not on the portage but i found an ebuild on the internet but gives some errors.

Has anyone being able to install this package.

Sorry if this topic does not sit here.

Thank you
_________________
J H
Back to top
View user's profile Send private message
rh1
Guru
Guru


Joined: 10 Apr 2010
Posts: 501

PostPosted: Thu May 26, 2011 4:05 pm    Post subject: Reply with quote

Would be more helpful if you posted the errors and maybe the ebuild your using.
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Thu May 26, 2011 4:11 pm    Post subject: Reply with quote

Welcome to the forums.

josueharos wrote:
Sorry if this topic does not sit here.

No problems, that's what we're here for :)

Moved from Portage & Programming to Unsupported Software as support for ebuilds that are not in Portage belong in this forum.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
josueharos
n00b
n00b


Joined: 25 May 2011
Posts: 4
Location: Mexico

PostPosted: Fri May 27, 2011 12:57 am    Post subject: Reply with quote

Sorry, this is the ebuild i am using

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit toolchain-funcs

DESCRIPTION="Instant Messenger transparent proxy with logging capabilities."
HOMEPAGE="http://www.imspector.org/"
SRC_URI="http://www.imspector.org/downloads/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND=""
RDEPEND=""

src_unpack() {
unpack ${A}

sed -i -e 's/^CXXFLAGS =.*/CXXFLAGS += -fPIC/' "${S}"/Makefile
sed -i -e '/#define DEFAULT_CONFIG/s:/usr::' "${S}"/main.cpp
}

src_compile() {
emake CXX="$(tc-getCXX)" || die 'emake failed'
}

src_install() {
dosbin imspector || die 'install failed'
dolib.so libimspector.so
insinto /usr/lib/imspector
insopts -m0755
doins *plugin.so
insinto /etc/imspector
insopts -m0644
doins imspector.conf badwords.txt
}

when i do #emerge imspector, this is the error i am getting

sslstate.cpp:31: error: invalid conversion from 'const SSL_METHOD*' to 'SSL_METHOD*'
_________________
J H
Back to top
View user's profile Send private message
josueharos
n00b
n00b


Joined: 25 May 2011
Posts: 4
Location: Mexico

PostPosted: Tue May 31, 2011 3:26 pm    Post subject: Reply with quote

Ok, i finally could compile the package, just changed a declaration on sslstate.h from SSL_METHOD *method to const SSL_METHOD *method. Seems to be running but still finding some errors when people connect.


Redirect address, getsockopt() failed
imspector: Client is connecting to:
imspector: Error: Don't know how to handle connection to
_________________
J H
Back to top
View user's profile Send private message
josueharos
n00b
n00b


Joined: 25 May 2011
Posts: 4
Location: Mexico

PostPosted: Fri Jun 03, 2011 8:19 pm    Post subject: Reply with quote

This seems to be a problem with running imspector in a different computer than my router. And this is my case

http://sourceforge.net/mailarchive/forum.php?thread_name=533EF89F-EC0A-4FFD-BD64-F59BD684C56E%40aslak.net&forum_name=imspector-users
http://rootmanager.com/imspector/gateway-imspector-different-computers.txt

So this should be closed.
_________________
J H
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10212
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Jun 03, 2011 8:24 pm    Post subject: Reply with quote

josueharos,

In response to your request on the reporting thread to close this topic, there's no need for a Moderator to close the topic for you. If you like, you can edit the subject of the original post to include the text [SOLVED] but that's entirely up to you.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum