Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 26114 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-4 / +12 lines)
Line  Link Here
0
-- cvsweb-1.112.ebuild.orig    2003-08-07 17:23:58.000000000 +0100
0
++ cvsweb-1.112.ebuild 2003-08-07 17:52:56.000000000 +0100
Lines 12-17 Link Here
12
S="${WORKDIR}/cvsweb"
12
S="${WORKDIR}/cvsweb"
13
RDEPEND=">=dev-lang/perl-5 >=app-text/rcs-5.7"
13
RDEPEND=">=dev-lang/perl-5 >=app-text/rcs-5.7"
14
inherit webapp-apache
15
webapp-detect
16
17
pkg_setup() {
18
       webapp-pkg_setup
19
       einfo "Installing for ${WEBAPP_SERVER}"
20
}
21
14
src_unpack() {
22
src_unpack() {
15
       unpack ${P}.tar.gz
23
       unpack ${P}.tar.gz
16
       cd ${S}
24
       cd ${S}
Lines 19-33 Link Here
19
       for x in cvsweb.cgi cvsweb.conf
27
       for x in cvsweb.cgi cvsweb.conf
20
       do
28
       do
21
               cp ${x} ${x}.orig
29
               cp ${x} ${x}.orig
22
               sed -e "s:/usr/local/web/apache/conf/:/etc/apache/conf/:g" ${x}.orig > ${x}
30
               sed -e "s:/usr/local/web/apache/conf/:${APACHECONF_DIR}:g" ${x}.orig > ${x}
23
       done
31
       done
24
}
32
}
25
src_install() {
33
src_install() {
26
    cd ${S}
34
    cd ${S}
27
    insinto /etc/apache/conf
35
    insinto ${APACHECONF_DIR}
28
    doins cvsweb.conf
36
    doins cvsweb.conf
29
    insinto /home/httpd/cgi-bin
37
    insinto ${HTTPD_CGIBIN}
30
    insopts -m755
38
    insopts -m755
31
    doins cvsweb.cgi
39
    doins cvsweb.cgi
32
    dodoc README TODO
40
    dodoc README TODO

Return to bug 26114