ChangeLog

# ChangeLog for games-misc/fortune-mod
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod/ChangeLog,v 1.24 2008/01/14 19:43:25 grobian Exp $

14 Jan 2008; Fabian Groffen
fortune-mod-1.99.1-r2.ebuild:
Dropped ppc-macos keyword, see you in prefix

06 Jul 2007; Roy Marples
fortune-mod-1.99.1-r2.ebuild:
link against -lintl on non glibc systems when app-text/recode is built with
nls, #184399.

20 Jul 2006; Michael Sterrett
fortune-mod-1.99.1-r2.ebuild:
Fix lame logic (bug #141129)

19 Jul 2006; Diego Pettenò
fortune-mod-1.99.1-r2.ebuild:
Link to libcompat in FreeBSD or it won't build, add ~x86-fbsd.

11 Mar 2006; +files/01_all_fortune_all-fix.patch,
fortune-mod-1.99.1-r2.ebuild:
Fix for Bug #103071 (breaks with LC_ALL/LANG set). Thanks to Jordan for report

*fortune-mod-1.99.1-r2 (13 Oct 2005)

13 Oct 2005; Mike Frysinger
files/fortune-mod-1.99.1-gentoo.patch, +fortune-mod-1.99.1-r2.ebuild:
Clean up misc crap.

27 Aug 2005; Markus Rothe
fortune-mod-1.99.1-r1.ebuild:
Stable on ppc64

31 Jul 2005; Markus Rothe
fortune-mod-1.99.1-r1.ebuild:
Added ~ppc64 (bug #100217)

15 Jun 2005; Chris Gianelloni
fortune-mod-1.99.1-r1.ebuild:
Removed INSTALL file.

03 Feb 2005; Mike Frysinger
-files/fortune-mod-1.99.1-gentoo.diff,
+files/fortune-mod-1.99.1-gentoo.patch, fortune-mod-1.99.1-r1.ebuild,
-fortune-mod-1.99.1.ebuild:
Fix #78928 again since OS X broke it.

*fortune-mod-1.99.1-r1 (01 Feb 2005)

01 Feb 2005; Kito +files/fortune-mod-1.99.1-gentoo.diff,
+fortune-mod-1.99.1-r1.ebuild:
added patch from Dave Vasilevsky and the Fink project. Fixes error when no
charset in envvars. Other minor bug fixes.

29 Dec 2004; Ciaran McCreesh :
Change encoding to UTF-8 for GLEP 31 compliance

16 Sep 2004; Gustavo Zacarias
fortune-mod-1.99.1.ebuild:
Stable on sparc

15 Sep 2004; Guy Martin fortune-mod-1.99.1.ebuild:
Stable on hppa.

12 Sep 2004; Michael Sterrett
fortune-mod-1.99.1.ebuild:
stable for x86

31 Aug 2004; Michael Sterrett
fortune-mod-1.99.1.ebuild:
fix path in fortune man page (bug #60843)

01 Jul 2004; Jeremy Huddleston
fortune-mod-1.0.9708-r1.ebuild, fortune-mod-1.99.1.ebuild:
virtual/glibc -> virtual/libc

13 May 2004; Michael Sterrett
fortune-mod-1.99.1.ebuild:
off into function; error check sed; E_CFLAGS; error messages

13 May 2004; Michael Sterrett
fortune-mod-1.0.9708-r1.ebuild:
correct S; use flag fixing; error messages; tidy

13 May 2004; Joshua Kinard
fortune-mod-1.0.9708-r1.ebuild, fortune-mod-1.99.1.ebuild:
Fixed the ebuild so S gets set properly, otherwise the ebuild will fail to cd
to the right dir and apply patches. Also added ~sparc and ~mips to the newer
1.99 ebuild.

*fortune-mod-1.99.1 (12 May 2004)

12 May 2004; Chris Gianelloni
+fortune-mod-1.0.9708-r1.ebuild, +fortune-mod-1.99.1.ebuild,
-fortune-mod-9708-r1.ebuild:
Moved fortune-mod-9708 to fortune-mod-1.0.9708 and added fortune-mod-1.99.1 as
~x86. This should solve the version change in the upstream packaging. It will
require a downgrade for all stable arches, and will even show up as a
downgrade on ~arch machines due to the nature of the old versioning. This
closes bug #43906.

*fortune-mod-9708-r1 (20 Jul 2002)

26 Aug 2003; Joshua Kinard fortune-mod-9708-r1.ebuild:
Added ~mips to KEYWORDS

28 Jun 2003; Mike Frysinger :
Added patches to fix #19842 and clean up.

05 Jun 2003; Martin Holzer fortune-mod-9708-r1.ebuild:
Added Manpage fix. Closes #20145.

03 Jun 2003; Tavis Ormandy fortune-mod-9708-r1.ebuild:
marking alpha.

07 Dec 2002; Jack Morgan fortune-mod-9708-r1.ebuild :
Changed sparc64 to sparc keyword

19 Sept 2002; Mike Frysinger :
Found the proper 'home' for fortune-mod

23 Aug 2002; J. Alberto Suárez López fortune-mod-9708-r1.ebuild:
Added advisory about how enable offensive fortune.

20 Jul 2002; Jose Alberto Suárez López fortune-mod-9708-r1.ebuild:
Fixed problem with fortune-offensive. If you want it, need edit the
ebuild and change $offensive= to $offensive=1

*fortune-mod-9708 (1 Feb 2002)

19 Sept 2002; Mike Frysinger :
Found the proper 'home' for fortune-mod

17 jul 2002; Jose Alberto Suárez López fortune-mod-9708.ebuild :
Added LICENSE.

15 Jul 2002; Owen Stampflee :

Added KEYWORDS.


1 Feb 2002; G.Bevin ChangeLog :

Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

Manifest

AUX 01_all_fortune_all-fix.patch 783 RMD160 b9e0958d5f2ac3a6cd6404dfb70513077266ae0f SHA1 3845fecaf5c109d2f2eaafd1c49ac8868844bb20 SHA256 2208361d950999f14d59eda8f7b07e1fbef500d1424dd54bee7ad2082dee62c1
AUX fortune-mod-1.99.1-gentoo.patch 2699 RMD160 01c0e6a534933841dd5529cb36bcc24874861275 SHA1 4733ec91baf87a2d96a285287e6943d0778861ea SHA256 840c56ee0128d118a861dd33c3aa04e635d20af5febc626864cdc22943223490
DIST fortune-mod-1.99.1.tar.gz 1812089 RMD160 020e597bde43ebd58ea82171d0e69222dc26b566 SHA1 53aa354025094d7c0e544bb1662714815fa63918 SHA256 fc51aee1f73c936c885f4e0f8b6b48f4f68103e3896eaddc6a45d2b71e14eace
EBUILD fortune-mod-1.99.1-r2.ebuild 1409 RMD160 ada520a8264c8421f314bcc7b2856932f17ecd4a SHA1 0d5ecbd836f549662b0dac717b21f9c6a63ec180 SHA256 e6a58e98bbe466a5078f64ff85d83d2e0abf551458642eccc81d06934f1f33f7
MISC ChangeLog 5500 RMD160 312bd5223341c9d2579171cd07592bd5bee9b83e SHA1 d401ae3f9653c25d2c2781bbbf933f897a666e87 SHA256 0eff32210a992234a0918648a4b3b75f77fec2b548d5c468e9c8dd09bec3e304
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3

files

fortune-mod-1.99.1-r2.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod/fortune-mod-1.99.1-r2.ebuild,v 1.7 2008/01/14 19:43:25 grobian Exp $

inherit eutils toolchain-funcs

DESCRIPTION="The notorious fortune program"
HOMEPAGE="http://www.redellipse.net/code/fortune"
SRC_URI="http://www.redellipse.net/code/downloads/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE="offensive elibc_glibc"

DEPEND="app-text/recode"

src_unpack() {
unpack ${A}
cd "${S}"

epatch "${FILESDIR}"/${P}-gentoo.patch \
"${FILESDIR}"/01_all_fortune_all-fix.patch

sed -i \
-e 's:/games::' \
-e 's:/fortunes:/fortune:' \
-e '/^FORTDIR=/s:=.*:=$(prefix)/usr/bin:' \
-e '/^all:/s:$: fortune/fortune.man:' \
-e "/^OFFENSIVE=/s:=.*:=`use offensive && echo 1 || echo 0`:" \
Makefile || die "sed Makefile failed"

if ! use elibc_glibc ; then
local reglibs="-lcompat"
built_with_use app-text/recode nls && reglibs="${reglibs} -lintl"
sed -i \
-e "/^REGEXLIBS=/s:=.*:= ${reglibs}:" \
Makefile \
|| die "sed REGEXLIBS failed"
fi
}

src_compile() {
emake CC="$(tc-getCC)" || die "emake failed"
}

src_install() {
make prefix="${D}" install || die "make install failed"
dodoc ChangeLog INDEX Notes Offensive README TODO cookie-files
}

metadata.xml




games