1 |
Jarry wrote: |
2 |
|
3 |
> Hi, |
4 |
> |
5 |
> I tried to emerge mod_security, but it failed with error |
6 |
> (bellow). Apparently, there is no modsecurity-1.8.7.tar.gz |
7 |
> |
8 |
> May I download it from somewhere manually, copy to proper place |
9 |
> and continue? I would really like to have mod_security installed... |
10 |
> |
11 |
> Jarry |
12 |
> |
13 |
> |
14 |
> ========================================================= |
15 |
> obelix ~ # emerge mod_security |
16 |
> Calculating dependencies... done! |
17 |
> >>> Emerging (1 of 1) net-www/mod_security-1.8.7 to / |
18 |
> >>> Downloading |
19 |
> http://distfiles.gentoo.org/distfiles/modsecurity-1.8.7.tar.gz |
20 |
> --16:30:13-- |
21 |
> http://distfiles.gentoo.org/distfiles/modsecurity-1.8.7.tar.gz |
22 |
> => `/usr/portage/distfiles/modsecurity-1.8.7.tar.gz' |
23 |
> Resolving distfiles.gentoo.org... 216.165.129.135, 64.50.236.52, |
24 |
> 64.50.238.52, ... |
25 |
> Connecting to distfiles.gentoo.org|216.165.129.135|:80... connected. |
26 |
> HTTP request sent, awaiting response... 404 Not Found |
27 |
> 16:30:14 ERROR 404: Not Found. |
28 |
> |
29 |
> >>> Downloading |
30 |
> http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/modsecurity-1.8.7.tar.gz |
31 |
> |
32 |
> --16:30:14-- |
33 |
> http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/modsecurity-1.8.7.tar.gz |
34 |
> |
35 |
> => `/usr/portage/distfiles/modsecurity-1.8.7.tar.gz' |
36 |
> Resolving distro.ibiblio.org... 152.2.210.109 |
37 |
> Connecting to distro.ibiblio.org|152.2.210.109|:80... connected. |
38 |
> HTTP request sent, awaiting response... 404 Not Found |
39 |
> 16:30:14 ERROR 404: Not Found. |
40 |
> |
41 |
> >>> Downloading |
42 |
> http://www.modsecurity.org/download/modsecurity-1.8.7.tar.gz |
43 |
> --16:30:14-- |
44 |
> http://www.modsecurity.org/download/modsecurity-1.8.7.tar.gz |
45 |
> => `/usr/portage/distfiles/modsecurity-1.8.7.tar.gz' |
46 |
> Resolving www.modsecurity.org... 82.165.78.202 |
47 |
> Connecting to www.modsecurity.org|82.165.78.202|:80... connected. |
48 |
> HTTP request sent, awaiting response... 302 Found |
49 |
> Location: http://www.modsecurity.org/download/not_found.html [following] |
50 |
> --16:30:15-- http://www.modsecurity.org/download/not_found.html |
51 |
> => `/usr/portage/distfiles/not_found.html.4' |
52 |
> Connecting to www.modsecurity.org|82.165.78.202|:80... connected. |
53 |
> HTTP request sent, awaiting response... 200 OK |
54 |
> Length: 2,876 (2.8K) [text/html] |
55 |
> |
56 |
> 100%[====================================>] 2,876 --.--K/s |
57 |
> |
58 |
> 16:30:15 (82.48 KB/s) - `/usr/portage/distfiles/not_found.html.4' |
59 |
> saved [2876/2876] |
60 |
> !!! Couldn't download modsecurity-1.8.7.tar.gz. Aborting. |
61 |
> obelix ~ # |
62 |
|
63 |
|
64 |
|
65 |
Ok, here is what I did and my thinking behind it. We need to find the |
66 |
home page for this program. The way I do it is emerge -s <name of |
67 |
program> and I get this: |
68 |
|
69 |
> root@smoker / # emerge -s mod_security |
70 |
> Searching... |
71 |
> [ Results for search key : mod_security ] |
72 |
> [ Applications found : 1 ] |
73 |
> |
74 |
> * net-www/mod_security |
75 |
> Latest version available: 1.8.7 |
76 |
> Latest version installed: [ Not Installed ] |
77 |
> Size of files: 305 kB |
78 |
> Homepage: http://www.modsecurity.org |
79 |
> Description: Intrusion Detection System for apache |
80 |
> License: GPL-2 |
81 |
> |
82 |
> |
83 |
> root@smoker / # |
84 |
|
85 |
|
86 |
OK. We have the home page. Copy the address into a browser and go to |
87 |
it. When I get there, I see the download section so that is a great |
88 |
start. To make sure I get the right thing, I go to a console and type |
89 |
in emerge -fp <name of program>. For this one we need |
90 |
mod_security-1.8.7.ebuild. We find it and download it. Since we are |
91 |
not logged into our GUI as root, we need to either copy it over to |
92 |
/usr/portage/distfiles in a console or use another GUI file manager with |
93 |
root access. Copy that over to distfiles and try to emerge it and hope |
94 |
it works. |
95 |
|
96 |
I'm sure there are other ways to do this but this is what I have done a |
97 |
few times. Hope this helps. |
98 |
|
99 |
Dale |
100 |
:-) |
101 |
-- |
102 |
gentoo-user@g.o mailing list |