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

Reply via email to