summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2009-10-17 06:53:40 +0000
committerUlrich Müller <ulm@gentoo.org>2009-10-17 06:53:40 +0000
commit64a71a5c444fe1694e721fd2b225f011ec3a78b7 (patch)
treeb11340867413cdeeed24eb7cb0ac12ef429e4a09 /sys-apps/miscfiles
parentVersion bump. (diff)
downloadgentoo-2-64a71a5c444fe1694e721fd2b225f011ec3a78b7.tar.gz
gentoo-2-64a71a5c444fe1694e721fd2b225f011ec3a78b7.tar.bz2
gentoo-2-64a71a5c444fe1694e721fd2b225f011ec3a78b7.zip
Update unicode file from unicode.org, add unicode to LICENSE, bug 257352.
(Portage version: 2.2_rc46/cvs/Linux i686)
Diffstat (limited to 'sys-apps/miscfiles')
-rw-r--r--sys-apps/miscfiles/ChangeLog8
-rw-r--r--sys-apps/miscfiles/miscfiles-1.4.2-r1.ebuild54
-rw-r--r--sys-apps/miscfiles/miscfiles-1.4.2.ebuild6
3 files changed, 64 insertions, 4 deletions
diff --git a/sys-apps/miscfiles/ChangeLog b/sys-apps/miscfiles/ChangeLog
index 9b90749175a8..6b578e9caf74 100644
--- a/sys-apps/miscfiles/ChangeLog
+++ b/sys-apps/miscfiles/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/miscfiles
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/miscfiles/ChangeLog,v 1.23 2009/04/27 05:38:29 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/miscfiles/ChangeLog,v 1.24 2009/10/17 06:53:40 ulm Exp $
+
+*miscfiles-1.4.2-r1 (17 Oct 2009)
+
+ 17 Oct 2009; Ulrich Mueller <ulm@gentoo.org> miscfiles-1.4.2.ebuild,
+ +miscfiles-1.4.2-r1.ebuild:
+ Update unicode file from unicode.org, add unicode to LICENSE, bug 257352.
27 Apr 2009; Mike Frysinger <vapier@gentoo.org> miscfiles-1.4.2:
Check for create-cracklib-dict in PATH before trying to run it #265932 by
diff --git a/sys-apps/miscfiles/miscfiles-1.4.2-r1.ebuild b/sys-apps/miscfiles/miscfiles-1.4.2-r1.ebuild
new file mode 100644
index 000000000000..5dac4c91652a
--- /dev/null
+++ b/sys-apps/miscfiles/miscfiles-1.4.2-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/miscfiles/miscfiles-1.4.2-r1.ebuild,v 1.1 2009/10/17 06:53:40 ulm Exp $
+
+inherit eutils
+
+UNI_PV=5.2.0
+DESCRIPTION="Miscellaneous files"
+HOMEPAGE="http://www.gnu.org/directory/miscfiles.html"
+# updated unicode data file from:
+# http://www.unicode.org/Public/${UNI_PV}/ucd/UnicodeData.txt
+SRC_URI="mirror://gnu/miscfiles/${P}.tar.gz
+ mirror://gentoo/UnicodeData-${UNI_PV}.txt.bz2"
+
+LICENSE="GPL-2 unicode"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="minimal"
+
+DEPEND=""
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ mv "${WORKDIR}"/UnicodeData-${UNI_PV}.txt unicode || die
+ epatch "${FILESDIR}"/miscfiles-1.3-Makefile.diff
+}
+
+src_install() {
+ emake install prefix="${D}/usr" || die
+ dodoc GNU* NEWS ORIGIN README dict-README
+ rm -f "${D}"/usr/share/dict/README
+
+ if use minimal ; then
+ cd "${D}"/usr/share/dict
+ rm -f words extra.words
+ gzip -9 *
+ ln -s web2.gz words
+ ln -s web2a.gz extra.words
+ ln -s connectives{.gz,}
+ ln -s propernames{.gz,}
+ cd ..
+ rm -r misc rfc
+ fi
+}
+
+pkg_postinst() {
+ if [[ ${ROOT} == "/" ]] && type -P create-cracklib-dict >/dev/null ; then
+ ebegin "Regenerating cracklib dictionary"
+ create-cracklib-dict /usr/share/dict/* > /dev/null
+ eend $?
+ fi
+}
diff --git a/sys-apps/miscfiles/miscfiles-1.4.2.ebuild b/sys-apps/miscfiles/miscfiles-1.4.2.ebuild
index 642c68dcabbb..9e99d721a936 100644
--- a/sys-apps/miscfiles/miscfiles-1.4.2.ebuild
+++ b/sys-apps/miscfiles/miscfiles-1.4.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/miscfiles/miscfiles-1.4.2.ebuild,v 1.6 2009/04/27 05:38:29 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/miscfiles/miscfiles-1.4.2.ebuild,v 1.7 2009/10/17 06:53:40 ulm Exp $
inherit eutils
@@ -8,7 +8,7 @@ DESCRIPTION="Miscellaneous files"
HOMEPAGE="http://www.gnu.org/directory/miscfiles.html"
SRC_URI="mirror://gnu/miscfiles/${P}.tar.gz"
-LICENSE="GPL-2"
+LICENSE="GPL-2 unicode"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
IUSE="minimal"