Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6045 - horde-2.1.ebuild (New Package)
Summary: horde-2.1.ebuild (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 6046 6047 6091
  Show dependency tree
 
Reported: 2002-08-05 11:50 UTC by CG
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

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


Attachments
horde-2.1.ebuild (horde.tar.gz,2.67 KB, text/plain)
2002-08-05 11:52 UTC, CG
Details
horde-2.1.ebuild (attached gzip) (horde.tar.gz,2.67 KB, application/gzip)
2002-08-06 09:24 UTC, CG
Details
horde-2.1.ebuild (horde-2.1.ebuild,1.95 KB, application/octet-stream)
2002-10-19 13:27 UTC, CG
Details
Ebuild patch (horde-2.1.patch,2.63 KB, patch)
2002-10-31 03:20 UTC, Ken Brush
Details | Diff
Ebuild Patch rev1 (horde-2.1.patch,2.63 KB, patch)
2002-10-31 03:36 UTC, Ken Brush
Details | Diff
a configuration patch (horde-pkg.patch,414 bytes, patch)
2002-10-31 12:13 UTC, Ken Brush
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description CG 2002-08-05 11:50:21 UTC
Hi!

Please find attached horde.tar.gz containing horde-2.1.ebuild, Changelog and md5
digest.

The Horde Framework is the glue that all Horde applications have in common. It
is many things, including some coding standards, common code, and
inter-application communication. The shared code provides common ways of
handling things like preferences, permissions, browser detection, user help, and
more.

More details: http://www.horde.org

I suggest net-www/horde or net-www/horde-base (because aditionals modules will
become).

Christophe GUILLOUX
Comment 1 CG 2002-08-05 11:52:12 UTC
Created attachment 2832 [details]
horde-2.1.ebuild
Comment 2 CG 2002-08-06 09:24:27 UTC
Created attachment 2869 [details]
horde-2.1.ebuild (attached gzip)
Comment 3 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-10-18 20:08:44 UTC
In general, we try very hard to avoid using pkg_postinst() and pkg_prerm() if at
all possible. Is there any reason why they cannot be removed ?

If you need to do configuration of your package that is at all intrusive (ie,
you can envision one user in the world who would not like you to do it
automatically), it should og into pkg_config and you should put out a notice in
pkg_postinst() that the user must do ebuild <packagename> config for the package
to configured.

Comment 4 CG 2002-10-19 13:27:10 UTC
Created attachment 4825 [details]
horde-2.1.ebuild

pkg_postinst() do not modify the system and pkg_prerm is removed.
Comment 5 Ken Brush 2002-10-31 03:20:30 UTC
Created attachment 5231 [details, diff]
Ebuild patch

This patch makes a few changes.

1. Allows us to change the HTTPD_USER and thereby change things like the
HTTPD_GROUP, and HTTPD_ROOT.

2. Dies if HTTPD_ROOT is undefined.

3. Instead of installing horde as horde-2.1 and then making the user put a
softlink in. I just had it install in $HTTPD_ROOT/horde

4. Changed the chown to make it owned by HTTPD_USER:HTTPD_GROUP rather than
root:HTTPD_GROUP
Comment 6 Ken Brush 2002-10-31 03:36:47 UTC
Created attachment 5233 [details, diff]
Ebuild Patch rev1

I forgot to change one of the paths listed to horde, instead of horde-2.1
This should obsolete attachment #5231 [details, diff]
Comment 7 Ken Brush 2002-10-31 12:13:46 UTC
Created attachment 5241 [details, diff]
a configuration patch

This adds a pkg_config with the recommended quick start from docs/INSTALL.
Comment 8 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-10-31 12:19:05 UTC
Fixed. Available for testing as net-www/horde-2.1. I don't know how to verify
that this actually works nicely, so if any of you could give it a spin and
reopen this bug if it fails, then I'd be very happy. If not, I'll assume it works. 

I'm going to continue with the rest of the horde packages later tonight.
Comment 9 Ken Brush 2002-10-31 16:12:38 UTC
It installs fine. Do you think we need the pkg_config thing? or not?


I'm happy making the user read the INSTALL doc :)