Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83649 - =sys-apps/apcupsd-3.10.16-r3 doesn't obey the new apache fslayout
Summary: =sys-apps/apcupsd-3.10.16-r3 doesn't obey the new apache fslayout
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Highest trivial (vote)
Assignee: Michael Imhof (RETIRED)
URL:
Whiteboard:
Keywords:
: 84382 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-01 02:11 UTC by Wolfram Schlich (RETIRED)
Modified: 2005-03-28 10:34 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for apache paths (apcupsd-3.10.16-r3.patch,1.80 KB, patch)
2005-03-20 21:58 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfram Schlich (RETIRED) gentoo-dev 2005-03-01 02:11:22 UTC
According to http://dev.gentoo.org/~vericgar/doc/apache-package-refresh.html
the apache fslayout has changed.
Please update the apcupsd ebuild(s) accordingly:
--8<--
[root@prometheus(pts/20):apcupsd]$ diff -u /usr/{,local/}portage/sys-apps/apcupsd/apcupsd-3.10.16-r3.ebuild
--- /usr/portage/sys-apps/apcupsd/apcupsd-3.10.16-r3.ebuild     2005-02-21 03:37:49.000000000 +0100
+++ /usr/local/portage/sys-apps/apcupsd/apcupsd-3.10.16-r3.ebuild       2005-03-01 11:06:35.754302498 +0100
@@ -65,10 +65,10 @@

        if use gd
        then
-               use apache2 || insinto /etc/apache/conf/addon-modules
-               use apache2 || newins  ${FILESDIR}/${PV}/apache.conf apcupsd.conf
+               use apache2 || insinto /etc/apache/modules.d
+               use apache2 || newins ${FILESDIR}/${PV}/apache.conf 60_apcupsd.conf

-               use apache2 && insinto /etc/apache2/conf/modules.d
+               use apache2 && insinto /etc/apache2/modules.d
                use apache2 && newins ${FILESDIR}/${PV}/apache.conf 60_apcupsd.conf
        fi

[root@prometheus(pts/20):apcupsd]$
--8<--
If in doubt please contact vericgar@gentoo.org
Comment 1 Benedikt Böhm (RETIRED) gentoo-dev 2005-03-02 00:00:59 UTC
please do not set iuse, paths and depends hardcoded. if you inherit depend.apache you can depend on apache with the need_apache and get a set of read-only variables containing the paths (use $APACHE(1|2)_MODULES_CONFIGDIR here)
Comment 2 Benedikt Böhm (RETIRED) gentoo-dev 2005-03-02 00:01:42 UTC
typo: APACHE(1|2)_MODULES_CONFDIR
Comment 3 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-03-10 01:10:24 UTC
*** Bug 84382 has been marked as a duplicate of this bug. ***
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-03-20 21:58:57 UTC
Created attachment 54020 [details, diff]
Patch for apache paths

The attached patch fixes the problem with apache dependency and installation
paths.

It also add a DISTNAME=gentoo before ./configure so that gentoo/non-linux
systems could use the gentoo layout instead of the default layout for that os.
(Maybe I should cc also bsd@gentoo.org as this fix helps apcupsd working on
those systems).
Comment 5 Michael Imhof (RETIRED) gentoo-dev 2005-03-28 10:34:25 UTC
Fixed in apcupsd-3.10.17
Diego: Thanks for your help.