Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281335 - New ebuild: www-server/gorg
Summary: New ebuild: www-server/gorg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 OS X
: High enhancement (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-13 15:39 UTC by Jacob Godserv
Modified: 2009-08-18 15:12 UTC (History)
0 users

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


Attachments
gorg-0.6.3-r2.ebuild (gorg-0.6.3-r2.ebuild,1.46 KB, text/plain)
2009-08-13 15:39 UTC, Jacob Godserv
Details
gorg-0.6.3-r2.ebuild patch (after ecopy) (gorg-0.6.3-r2.ebuild.patch,670 bytes, patch)
2009-08-13 15:41 UTC, Jacob Godserv
Details | Diff
gorg-0.6.3-r2.ebuild (gorg-0.6.3-r2.ebuild,1.82 KB, text/plain)
2009-08-13 16:11 UTC, Jacob Godserv
Details
gorg-0.6.3 eprefixify patch (gorg-0.6.3-prefix.patch,10.03 KB, patch)
2009-08-13 16:13 UTC, Jacob Godserv
Details | Diff
gorg-0.6.3-r2.ebuild (gorg-0.6.3-r2.ebuild,1.74 KB, text/plain)
2009-08-15 15:16 UTC, Jacob Godserv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Godserv 2009-08-13 15:39:20 UTC
This does not work, but it does install. (And it doesn't work because ruby needs to be fixed, so I think gorg works, it just needs ruby.)

Reproducible: Always

Steps to Reproduce:




 $ emerge --info
Portage 2.2.00.13878-prefix (prefix/darwin/macos/10.5/x86, gcc-4.2.1, unavailable, 9.8.0 i386)
=================================================================
System uname: Darwin-9.8.0-i386-32bit
Timestamp of tree: Thu, 13 Aug 2009 02:17:31 +0000
distcc 2.18.5-Apple.1 i386-apple-darwin9.0 (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     4.0_p28
dev-lang/python:     2.6.2-r01.1
dev-python/pycrypto: 2.0.1-r8
sys-devel/autoconf:  2.63-r01.1
sys-devel/automake:  1.9.6-r2, 1.10.2-r00.1, 1.11
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.2.6a-r00.1
ACCEPT_KEYWORDS="~x86-macos"
CBUILD="i686-apple-darwin9"
CFLAGS="-O2 -pipe -march=nocona -msse4.1"
CHOST="i686-apple-darwin9"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=nocona -msse4.1"
DISTDIR="/Users/jacob/Library/Gentoo_x86/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS=""
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/Users/jacob/Library/Gentoo_x86/usr/portage/packages"
PORTAGE_CONFIGROOT="/Users/jacob/Library/Gentoo_x86/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/Users/jacob/Library/Gentoo_x86/var/tmp"
PORTDIR="/Users/jacob/Library/Gentoo_x86/usr/portage"
PORTDIR_OVERLAY="/Users/jacob/Library/Gentoo_x86/usr/local/portage"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="a52 aac aqua bash-completion cjk coreaudio cracklib divx fac jabber mmx mmxext msn ncurses objc objc++ prefix readline sse sse2 ssl theora unicode x86-macos xulrunner xvid yahoo zlib" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jacob Godserv 2009-08-13 15:39:42 UTC
Created attachment 201141 [details]
gorg-0.6.3-r2.ebuild
Comment 2 Jacob Godserv 2009-08-13 15:41:18 UTC
Created attachment 201142 [details, diff]
gorg-0.6.3-r2.ebuild patch (after ecopy)

To get the above ebuild, I and ecopy made the changes described in this patch.
Comment 3 Jacob Godserv 2009-08-13 16:11:36 UTC
Created attachment 201145 [details]
gorg-0.6.3-r2.ebuild

OK, I figured out what was wrong with gorg. It wasn't eprefixified.

So, this is the working ebuild. The previous attachments are all obsolete now. The patch that this ebuild refers to is coming next.
Comment 4 Jacob Godserv 2009-08-13 16:13:23 UTC
Created attachment 201146 [details, diff]
gorg-0.6.3 eprefixify patch

Here's where the magic happens. This replaces absolute paths in all the files with Gentoo Prefix ones, which means gorg runs, and all of gorg's files go to the right places. (The previous ebuild was spitting errors about absolute paths. I had stupidly ignored them before.)
Comment 5 Jacob Godserv 2009-08-15 15:16:36 UTC
Created attachment 201336 [details]
gorg-0.6.3-r2.ebuild

A minor adjustment: instead of one eprefixify call per file, I put all files into one eprefixify call.
Comment 6 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-08-18 15:12:08 UTC
Thanks for your work.

- break lines at 80 chars.
- look at what I did for the prefix conditional code regarding diropts