Re: [gentoo-user] emerge mod_security: ERROR 404: Not Found.

2006-06-24 Thread Teresa and Dale
Teresa and Dale wrote:

Jarry wrote:

  

Teresa and Dale wrote:



http://www.gentoo-portage.com/net-www/mod_security  It's in the list on
the bottom.  I guess the others are masked still.
  

Again bad luck. It is a link only to ebuild.
And there is again link to homepage, which does not work:

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
/var/cvsroot/gentoo-x86/net-www/mod_security/mod_security-1.8.7.ebuild,v
1.6 2006/04/18 23:07:50 weeve Exp $
inherit eutils apache-module
MY_P=${P/_/}
S=${WORKDIR}/${MY_P}
DESCRIPTION=Intrusion Detection System for apache
HOMEPAGE=http://www.modsecurity.org;
SRC_URI=http://www.modsecurity.org/download/${MY_P}.tar.gz;
snip

But thanks anyway... ;-)

Jarry




Then comes my next friend, Google.  What I did to find it: 
http://www.google.com/search?hl=enq=modsecurity-1.8.7.tar.gz+downloadbtnG=Google+Search
 
Then a link to the pages I picked: 
http://www.gotroot.com/downloads/ftp/modsecurity/  or 
http://mirror.trouble-free.net/sources/ should work.

That should help.  Now to go uninstall apache and the others it emerged
while I was figuring this thing out.

Dale
:-)  :-)
  


Did that work for you?  Are you having trouble still?  Just curious.

Dale
:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge mod_security: ERROR 404: Not Found.

2006-06-24 Thread Jarry

Teresa and Dale wrote:


Did that work for you?  Are you having trouble still?


Yes, it did, thanks. I just downladed that archive manually
and moved it into /usr/portage/distfiles.

Anyway, I am still surprised a little. I thought sources
of portage-packages are mirrored on gentoo-mirrors...

It seems to me to be a little insecure, to download
mod_security from somewhere from wild instead of
gentoo-mirrors or homepage. One can not be sure those
sources have not been modified...

Jarry
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge mod_security: ERROR 404: Not Found.

2006-06-24 Thread Teresa and Dale
Jarry wrote:

 Teresa and Dale wrote:

 Did that work for you?  Are you having trouble still?


 Yes, it did, thanks. I just downladed that archive manually
 and moved it into /usr/portage/distfiles.

 Anyway, I am still surprised a little. I thought sources
 of portage-packages are mirrored on gentoo-mirrors...

 It seems to me to be a little insecure, to download
 mod_security from somewhere from wild instead of
 gentoo-mirrors or homepage. One can not be sure those
 sources have not been modified...

 Jarry


I agree to some degree.  I think it should be gotten from the home page
when not avaiable from a Gentoo mirror.  However, portage has the
checksum so if someone messed with it, you would get a error saying it
didn't match.  It should be safe.

Glad you got it going.  I got those 6 packages unmerged too.

Dale
:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge mod_security: ERROR 404: Not Found.

2006-06-24 Thread Bo Ørsted Andresen
On Saturday 24 June 2006 18:51, Jarry wrote:
 Anyway, I am still surprised a little. I thought sources
 of portage-packages are mirrored on gentoo-mirrors...

They are. If the package has just been added to the tree they may not have 
reached your mirror yet. If that is not the reason then it is probably a bug. 
The official mirror should be in the ebuild to tell the mirrors where to 
fetch it from and as a backup if it cannot be found on the Gentoo mirrors.

 It seems to me to be a little insecure, to download
 mod_security from somewhere from wild instead of
 gentoo-mirrors or homepage. One can not be sure those
 sources have not been modified...

As long as you don't override a digest verification error you are safe. Beware 
of those who tell you to override a digest verification error by running:

# ebuild $ebuild digest

or:

# emerge --digest $pkg

-- 
Bo Andresen


pgp0hCifAVI0N.pgp
Description: PGP signature


Re: [gentoo-user] emerge mod_security: ERROR 404: Not Found.

2006-06-24 Thread Teresa and Dale
Bo Ørsted Andresen wrote:

On Saturday 24 June 2006 18:51, Jarry wrote:
  

Anyway, I am still surprised a little. I thought sources
of portage-packages are mirrored on gentoo-mirrors...



They are. If the package has just been added to the tree they may not have 
reached your mirror yet. If that is not the reason then it is probably a bug. 
The official mirror should be in the ebuild to tell the mirrors where to 
fetch it from and as a backup if it cannot be found on the Gentoo mirrors.

  

It seems to me to be a little insecure, to download
mod_security from somewhere from wild instead of
gentoo-mirrors or homepage. One can not be sure those
sources have not been modified...



As long as you don't override a digest verification error you are safe. Beware 
of those who tell you to override a digest verification error by running:

# ebuild $ebuild digest

or:

# emerge --digest $pkg

  


Very true.  I have seen people on this list tell people just that.

Dale
:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] emerge mod_security: ERROR 404: Not Found.

2006-06-23 Thread Jarry

Hi,

I tried to emerge mod_security, but it failed with error
(bellow). Apparently, there is no modsecurity-1.8.7.tar.gz

May I download it from somewhere manually, copy to proper place
and continue? I would really like to have mod_security installed...

Jarry


=
obelix ~ # emerge mod_security
Calculating dependencies... done!
 Emerging (1 of 1) net-www/mod_security-1.8.7 to /
 Downloading 
http://distfiles.gentoo.org/distfiles/modsecurity-1.8.7.tar.gz

--16:30:13--  http://distfiles.gentoo.org/distfiles/modsecurity-1.8.7.tar.gz
   = `/usr/portage/distfiles/modsecurity-1.8.7.tar.gz'
Resolving distfiles.gentoo.org... 216.165.129.135, 64.50.236.52, 
64.50.238.52, ...

Connecting to distfiles.gentoo.org|216.165.129.135|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
16:30:14 ERROR 404: Not Found.

 Downloading 
http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/modsecurity-1.8.7.tar.gz
--16:30:14-- 
http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/modsecurity-1.8.7.tar.gz

   = `/usr/portage/distfiles/modsecurity-1.8.7.tar.gz'
Resolving distro.ibiblio.org... 152.2.210.109
Connecting to distro.ibiblio.org|152.2.210.109|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
16:30:14 ERROR 404: Not Found.

 Downloading 
http://www.modsecurity.org/download/modsecurity-1.8.7.tar.gz

--16:30:14--  http://www.modsecurity.org/download/modsecurity-1.8.7.tar.gz
   = `/usr/portage/distfiles/modsecurity-1.8.7.tar.gz'
Resolving www.modsecurity.org... 82.165.78.202
Connecting to www.modsecurity.org|82.165.78.202|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://www.modsecurity.org/download/not_found.html [following]
--16:30:15--  http://www.modsecurity.org/download/not_found.html
   = `/usr/portage/distfiles/not_found.html.4'
Connecting to www.modsecurity.org|82.165.78.202|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,876 (2.8K) [text/html]

100%[] 2,876 --.--K/s

16:30:15 (82.48 KB/s) - `/usr/portage/distfiles/not_found.html.4' saved 
[2876/2876]

!!! Couldn't download modsecurity-1.8.7.tar.gz. Aborting.
obelix ~ #
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge mod_security: ERROR 404: Not Found.

2006-06-23 Thread Teresa and Dale
Jarry wrote:

 Hi,

 I tried to emerge mod_security, but it failed with error
 (bellow). Apparently, there is no modsecurity-1.8.7.tar.gz

 May I download it from somewhere manually, copy to proper place
 and continue? I would really like to have mod_security installed...

 Jarry


 =
 obelix ~ # emerge mod_security
 Calculating dependencies... done!
  Emerging (1 of 1) net-www/mod_security-1.8.7 to /
  Downloading
 http://distfiles.gentoo.org/distfiles/modsecurity-1.8.7.tar.gz
 --16:30:13-- 
 http://distfiles.gentoo.org/distfiles/modsecurity-1.8.7.tar.gz
= `/usr/portage/distfiles/modsecurity-1.8.7.tar.gz'
 Resolving distfiles.gentoo.org... 216.165.129.135, 64.50.236.52,
 64.50.238.52, ...
 Connecting to distfiles.gentoo.org|216.165.129.135|:80... connected.
 HTTP request sent, awaiting response... 404 Not Found
 16:30:14 ERROR 404: Not Found.

  Downloading
 http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/modsecurity-1.8.7.tar.gz

 --16:30:14--
 http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/modsecurity-1.8.7.tar.gz

= `/usr/portage/distfiles/modsecurity-1.8.7.tar.gz'
 Resolving distro.ibiblio.org... 152.2.210.109
 Connecting to distro.ibiblio.org|152.2.210.109|:80... connected.
 HTTP request sent, awaiting response... 404 Not Found
 16:30:14 ERROR 404: Not Found.

  Downloading
 http://www.modsecurity.org/download/modsecurity-1.8.7.tar.gz
 --16:30:14-- 
 http://www.modsecurity.org/download/modsecurity-1.8.7.tar.gz
= `/usr/portage/distfiles/modsecurity-1.8.7.tar.gz'
 Resolving www.modsecurity.org... 82.165.78.202
 Connecting to www.modsecurity.org|82.165.78.202|:80... connected.
 HTTP request sent, awaiting response... 302 Found
 Location: http://www.modsecurity.org/download/not_found.html [following]
 --16:30:15--  http://www.modsecurity.org/download/not_found.html
= `/usr/portage/distfiles/not_found.html.4'
 Connecting to www.modsecurity.org|82.165.78.202|:80... connected.
 HTTP request sent, awaiting response... 200 OK
 Length: 2,876 (2.8K) [text/html]

 100%[] 2,876 --.--K/s

 16:30:15 (82.48 KB/s) - `/usr/portage/distfiles/not_found.html.4'
 saved [2876/2876]
 !!! Couldn't download modsecurity-1.8.7.tar.gz. Aborting.
 obelix ~ #



Ok, here is what I did and my thinking behind it.  We need to find the
home page for this program.  The way I do it is emerge -s name of
program and I get this:

 [EMAIL PROTECTED] / # emerge -s mod_security
 Searching...
 [ Results for search key : mod_security ]
 [ Applications found : 1 ]

 *  net-www/mod_security
   Latest version available: 1.8.7
   Latest version installed: [ Not Installed ]
   Size of files: 305 kB
   Homepage:  http://www.modsecurity.org
   Description:   Intrusion Detection System for apache
   License:   GPL-2


 [EMAIL PROTECTED] / #


OK.  We have the home page.  Copy the address into a browser and go to
it.  When I get there, I see the download section so that is a great
start.  To make sure I get the right thing, I go to a console and type
in emerge -fp name of program.  For this one we need
mod_security-1.8.7.ebuild.  We find it and download it.  Since we are
not logged into our GUI as root, we need to either copy it over to
/usr/portage/distfiles in a console or use another GUI file manager with
root access.  Copy that over to distfiles and try to emerge it and hope
it works.

I'm sure there are other ways to do this but this is what I have done a
few times.  Hope this helps.

Dale
:-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge mod_security: ERROR 404: Not Found.

2006-06-23 Thread Jarry

Teresa and Dale wrote:

snip

...We have the home page.  Copy the address into a browser and go to
it.  When I get there, I see the download section so that is a great
start.


Thanks, but the problem is, that this version is really no more on
homepage. There is only modsecurity-apache_1.9.4.tar.gz, but that
is masked as ~x86/~amd64 in our portage. And I do not want
to experiment with ~ packages on my server...  :-(

Maybe someone has modsecurity-apache_1.8.7.tar.gz it somewhere,
locally saved...

Jarry
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge mod_security: ERROR 404: Not Found.

2006-06-23 Thread Teresa and Dale
Jarry wrote:

 Teresa and Dale wrote:

 snip

 ...We have the home page.  Copy the address into a browser and go to
 it.  When I get there, I see the download section so that is a great
 start.


 Thanks, but the problem is, that this version is really no more on
 homepage. There is only modsecurity-apache_1.9.4.tar.gz, but that
 is masked as ~x86/~amd64 in our portage. And I do not want
 to experiment with ~ packages on my server...  :-(

 Maybe someone has modsecurity-apache_1.8.7.tar.gz it somewhere,
 locally saved...

 Jarry


It's there.  Try here: 
http://www.gentoo-portage.com/net-www/mod_security  It's in the list on
the bottom.  I guess the others are masked still.

Dale
:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge mod_security: ERROR 404: Not Found.

2006-06-23 Thread Jarry

Teresa and Dale wrote:


http://www.gentoo-portage.com/net-www/mod_security  It's in the list on
the bottom.  I guess the others are masked still.


Again bad luck. It is a link only to ebuild.
And there is again link to homepage, which does not work:

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-www/mod_security/mod_security-1.8.7.ebuild,v 
1.6 2006/04/18 23:07:50 weeve Exp $

inherit eutils apache-module
MY_P=${P/_/}
S=${WORKDIR}/${MY_P}
DESCRIPTION=Intrusion Detection System for apache
HOMEPAGE=http://www.modsecurity.org;
SRC_URI=http://www.modsecurity.org/download/${MY_P}.tar.gz;
snip

But thanks anyway... ;-)

Jarry
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge mod_security: ERROR 404: Not Found.

2006-06-23 Thread Daniel da Veiga

On 6/23/06, Jarry [EMAIL PROTECTED] wrote:

Teresa and Dale wrote:

 http://www.gentoo-portage.com/net-www/mod_security  It's in the list on
 the bottom.  I guess the others are masked still.

Again bad luck. It is a link only to ebuild.
And there is again link to homepage, which does not work:

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
/var/cvsroot/gentoo-x86/net-www/mod_security/mod_security-1.8.7.ebuild,v
1.6 2006/04/18 23:07:50 weeve Exp $
inherit eutils apache-module
MY_P=${P/_/}
S=${WORKDIR}/${MY_P}
DESCRIPTION=Intrusion Detection System for apache
HOMEPAGE=http://www.modsecurity.org;
SRC_URI=http://www.modsecurity.org/download/${MY_P}.tar.gz;
snip

But thanks anyway... ;-)

Jarry
--


Try:
http://mirror.trouble-free.net/sources/

BTW: link got by simply searching google for modsecurity-1.8.7.tar.gz.

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge mod_security: ERROR 404: Not Found.

2006-06-23 Thread Teresa and Dale
Jarry wrote:

 Teresa and Dale wrote:

 http://www.gentoo-portage.com/net-www/mod_security  It's in the list on
 the bottom.  I guess the others are masked still.


 Again bad luck. It is a link only to ebuild.
 And there is again link to homepage, which does not work:

 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header:
 /var/cvsroot/gentoo-x86/net-www/mod_security/mod_security-1.8.7.ebuild,v
 1.6 2006/04/18 23:07:50 weeve Exp $
 inherit eutils apache-module
 MY_P=${P/_/}
 S=${WORKDIR}/${MY_P}
 DESCRIPTION=Intrusion Detection System for apache
 HOMEPAGE=http://www.modsecurity.org;
 SRC_URI=http://www.modsecurity.org/download/${MY_P}.tar.gz;
 snip

 But thanks anyway... ;-)

 Jarry


Then comes my next friend, Google.  What I did to find it: 
http://www.google.com/search?hl=enq=modsecurity-1.8.7.tar.gz+downloadbtnG=Google+Search
 
Then a link to the pages I picked: 
http://www.gotroot.com/downloads/ftp/modsecurity/  or 
http://mirror.trouble-free.net/sources/ should work.

That should help.  Now to go uninstall apache and the others it emerged
while I was figuring this thing out.

Dale
:-)  :-)
-- 
gentoo-user@gentoo.org mailing list