Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75037 - bump www-apache/mod_survey
Summary: bump www-apache/mod_survey
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-20 05:15 UTC by Joel Palmius
Modified: 2006-01-07 09:12 UTC (History)
5 users (show)

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


Attachments
mod_survey-3.2.1.ebuild (mod_survey-3.2.1.ebuild,2.06 KB, text/plain)
2004-12-20 05:20 UTC, Joel Palmius
Details
mod_survey-3.2.1.ebuild (mod_survey-3.2.1.ebuild,2.11 KB, text/plain)
2004-12-20 14:29 UTC, Joel Palmius
Details
diff against 3.2.0 ebuild (ebuild.diff,1.59 KB, patch)
2004-12-20 14:30 UTC, Joel Palmius
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Palmius 2004-12-20 05:15:43 UTC
Version bump, www-apache/mod_survey has a new stable release.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Joel Palmius 2004-12-20 05:20:07 UTC
Created attachment 46427 [details]
mod_survey-3.2.1.ebuild

This is essentially a copy of the 3.2.0 ebuild, with some minor comments added
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2004-12-20 05:37:07 UTC
Joel: please attach as plain text (a diff if indicated) and have a look at http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=3
Comment 3 Joel Palmius 2004-12-20 14:29:14 UTC
Created attachment 46481 [details]
mod_survey-3.2.1.ebuild

Whups... Clear case of RTFM I guess..
Comment 4 Joel Palmius 2004-12-20 14:30:13 UTC
Created attachment 46482 [details, diff]
diff against 3.2.0 ebuild

I'll post a diff too, just in case
Comment 5 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-02-05 11:17:34 UTC
3.2.2 (stable) has been released, btw.  Testing it with the attached ebuild now.
Comment 6 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-02-17 17:35:12 UTC
Hi Joel,

Apologies for the delay.  Your changes are cool, bar the KEYWORDS change because it's not guaranteed to be platform dependant.

Updated ebuilds will be in the tree soon.
Comment 7 Joel Palmius 2005-02-17 23:51:36 UTC
There was no keywords change. The KEYWORDS line is as copied from the previous ebuild. I only changed the comment above the line with a discussion about where the ebuild would likely work.

There have been no installer script changes in 3.2.2, so in theory simply bumping 3.2.1 ebuild should work, but I have not tested this. 
Comment 8 George Clark 2005-03-11 16:51:58 UTC
I downloaded the attached ebuild, renamed it for 3.2.2 and applied it to my test system.  I've noticed that the mod_survey code is installed directly into /var/lib/mod_survey, without any versioning.  The new ebuild replaces the old version resulting in unexpected changes to the other slotted versions.  

Shouldn't the code either be slotted into /usr/lib/mod_survey/<version>,  or installed into /usr/share/webapps/mod_survey/<version>/... and then hard-linked into the virtual host path?

# Where mod_survey is installed
PerlSetEnv   _SURVEY_HOME           "/usr/lib/mod_survey/"
Comment 9 Andy Dustman 2006-01-04 13:05:32 UTC
As it stands, the current ebuild will not work with mod_survey-3.2.2, because the package categories have changed. Additionally, 3.2.2 does not work with mod_perl-2*, so the dependencies need to change:

RDEPEND="${DEPEND}
                apache2? ( >=net-www/apache-2 =www-apache/mod_perl-1.99* )
                !apache2? ( >=net-www/apache-1 >=www-apache/mod_perl-1.27 )
                postgres? ( >=dev-perl/DBI-1.38 dev-perl/DBD-Pg )
                mysql? ( >=dev-perl/DBI-1.38 dev-perl/DBD-mysql )
                >=perl-core/CGI-3.0.0"

However, further testing indicates that mod_perl-1.99.11 (the last unmasked 1.99 version in portage) seems to be not very happy with the current apache2 builds, and it installs into /usr/lib/apache2-extramodules instead of /usr/lib/apache2/modules.

The mod_survey-3.2.3_pre2 release claims to be compatible with mod_perl-2+ and also with older versions, but the install seems to have changed so that the current ebuild doesn't work, and I don't have the time to check into it right now. I sincerely doubt that the current 3.2.0 ebuild works right now for same reasons as above.
Comment 10 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-01-04 17:52:39 UTC
web-apps herd:
this package uses the webapp eclass, and it's not really an apache module.
perhaps you guys would like to take it over?

placing in maintainer-needed for now
Comment 11 Renat Lumpau (RETIRED) gentoo-dev 2006-01-05 06:29:28 UTC
we'll take it
Comment 12 Renat Lumpau (RETIRED) gentoo-dev 2006-01-07 09:12:05 UTC
3.2.3_pre2 in CVS.