summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Redaelli <drizzt@gentoo.org>2006-12-26 14:24:50 +0000
committerTimothy Redaelli <drizzt@gentoo.org>2006-12-26 14:24:50 +0000
commit9582d26e245d7a9d57e82c6c904108f7fad9a4ae (patch)
tree3e65ef5413209a95fbef798c85daac98139d3668
parentAdded PDEPENDS (suggested by zmedico) (diff)
downloaddrizzt-9582d26e245d7a9d57e82c6c904108f7fad9a4ae.tar.gz
drizzt-9582d26e245d7a9d57e82c6c904108f7fad9a4ae.tar.bz2
drizzt-9582d26e245d7a9d57e82c6c904108f7fad9a4ae.zip
Added paludis for G/FBSD
svn path=/; revision=73
-rw-r--r--sys-apps/paludis/ChangeLog7
-rw-r--r--sys-apps/paludis/Manifest30
-rw-r--r--sys-apps/paludis/files/digest-paludis-0.12.03
-rw-r--r--sys-apps/paludis/files/paludis-0.12.0-getfsize.patch48
-rw-r--r--sys-apps/paludis/files/paludis-0.12.0-tests.patch13
-rw-r--r--sys-apps/paludis/paludis-0.12.0.ebuild141
6 files changed, 242 insertions, 0 deletions
diff --git a/sys-apps/paludis/ChangeLog b/sys-apps/paludis/ChangeLog
new file mode 100644
index 0000000..b59f61b
--- /dev/null
+++ b/sys-apps/paludis/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for sys-apps/paludis
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 26 Dec 2006; Timothy Redaelli <drizzt@gentoo.org> ChangeLog:
+ Added paludis for G/FBSD
+
diff --git a/sys-apps/paludis/Manifest b/sys-apps/paludis/Manifest
new file mode 100644
index 0000000..8a35fb2
--- /dev/null
+++ b/sys-apps/paludis/Manifest
@@ -0,0 +1,30 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX paludis-0.12.0-getfsize.patch 1859 RMD160 e4681ef1e7ce80f2849a782995034b2e2a5551b5 SHA1 e58e2f1a5b7e854a08103974b52a46a69aa8c28f SHA256 95306a82243a7a440f5c63a5841a8748e7245d1ec9f407ea64a26b12e3bf3be2
+MD5 b5421769d2bbb63930e3609b3761676b files/paludis-0.12.0-getfsize.patch 1859
+RMD160 e4681ef1e7ce80f2849a782995034b2e2a5551b5 files/paludis-0.12.0-getfsize.patch 1859
+SHA256 95306a82243a7a440f5c63a5841a8748e7245d1ec9f407ea64a26b12e3bf3be2 files/paludis-0.12.0-getfsize.patch 1859
+AUX paludis-0.12.0-tests.patch 519 RMD160 97c1dfda93fff70b60b7d86ea02cfb16fd2d6214 SHA1 231dfe51c20713bb389a0771838fbd068b3ab2fe SHA256 923479ac673779e42828f43343d387f65681f63d34ffe87345e9dac7f398d3a7
+MD5 f53f7ec8243707976c7f25f8b65ed924 files/paludis-0.12.0-tests.patch 519
+RMD160 97c1dfda93fff70b60b7d86ea02cfb16fd2d6214 files/paludis-0.12.0-tests.patch 519
+SHA256 923479ac673779e42828f43343d387f65681f63d34ffe87345e9dac7f398d3a7 files/paludis-0.12.0-tests.patch 519
+DIST paludis-0.12.0.tar.bz2 1144668 RMD160 a75b08a1387354a4e629539ad0884bf2fd585611 SHA1 5f84a6a022518946f00986df32619e381b3c3f13 SHA256 b108439321b17c315b567dc7d5a01eaaa58cff0c79723c10f2489fd09381f639
+EBUILD paludis-0.12.0.ebuild 3346 RMD160 3066b33971e4360caf7e3d734729d3533bbd39fc SHA1 632cbd43762d413db6bc47dd7a5df35a8e20ed65 SHA256 47739dca0690b2630bdb8c624e511fea6da30242560c7e8eb5399a18b1be477c
+MD5 36e02753a7baeb3566f99dd112f9b0bb paludis-0.12.0.ebuild 3346
+RMD160 3066b33971e4360caf7e3d734729d3533bbd39fc paludis-0.12.0.ebuild 3346
+SHA256 47739dca0690b2630bdb8c624e511fea6da30242560c7e8eb5399a18b1be477c paludis-0.12.0.ebuild 3346
+MISC ChangeLog 208 RMD160 4eb0d80722b1e835789f87e50db18cc3e3a36188 SHA1 353c793513a39a2c6768ea8a387cd7209ef741cc SHA256 532effe51897f41c958885936fc8c7b8c1c76ab576dae366d1be7b8da9be69c8
+MD5 0c47dfef333ee46f28a17c563d1f5e70 ChangeLog 208
+RMD160 4eb0d80722b1e835789f87e50db18cc3e3a36188 ChangeLog 208
+SHA256 532effe51897f41c958885936fc8c7b8c1c76ab576dae366d1be7b8da9be69c8 ChangeLog 208
+MD5 fab076b4a9aee28a44fc4d83a74e36e8 files/digest-paludis-0.12.0 250
+RMD160 72a48588a66832250b5abc68369e496e5cf879d3 files/digest-paludis-0.12.0 250
+SHA256 40bd137f46fa64dd6c938d572c1c7d232fe9e6c0d52f02181cafc3e511b10b5a files/digest-paludis-0.12.0 250
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.6 (GNU/Linux)
+
+iD8DBQFFkTD1GDyatLGpTbYRAgysAKCZ2tAxa42HMeE3Xe1KeeGYb3AfRQCaAjqe
+1zHY0+ifmHw124juk/4k7p4=
+=uAhG
+-----END PGP SIGNATURE-----
diff --git a/sys-apps/paludis/files/digest-paludis-0.12.0 b/sys-apps/paludis/files/digest-paludis-0.12.0
new file mode 100644
index 0000000..75724d3
--- /dev/null
+++ b/sys-apps/paludis/files/digest-paludis-0.12.0
@@ -0,0 +1,3 @@
+MD5 4e28736cbdca12619765937fe159108c paludis-0.12.0.tar.bz2 1144668
+RMD160 a75b08a1387354a4e629539ad0884bf2fd585611 paludis-0.12.0.tar.bz2 1144668
+SHA256 b108439321b17c315b567dc7d5a01eaaa58cff0c79723c10f2489fd09381f639 paludis-0.12.0.tar.bz2 1144668
diff --git a/sys-apps/paludis/files/paludis-0.12.0-getfsize.patch b/sys-apps/paludis/files/paludis-0.12.0-getfsize.patch
new file mode 100644
index 0000000..d6e0858
--- /dev/null
+++ b/sys-apps/paludis/files/paludis-0.12.0-getfsize.patch
@@ -0,0 +1,48 @@
+Index: ebuild/builtin_fetch_bin.bash
+===================================================================
+--- ebuild/builtin_fetch_bin.bash (revision 1970)
++++ ebuild/builtin_fetch_bin.bash (working copy)
+@@ -26,7 +26,7 @@
+ local aa=${a##*/}
+ hasq "${aa}" ${unique_aa} || unique_aa="${unique_aa} ${aa}"
+
+- if [[ -f "${PKGDIR}/${aa}" ]] && [[ "0" != $(stat -c '%s' "${PKGDIR}/${aa}" ) ]] ; then
++ if [[ -f "${PKGDIR}/${aa}" ]] && [[ "0" != $(getfsize "${PKGDIR}/${aa}") ]] ; then
+ if [[ "${old_aa}" != "${aa}" ]] ; then
+ ebuild_section "Already have ${aa}"
+ old_aa="${aa}"
+Index: ebuild/builtin_fetch.bash
+===================================================================
+--- ebuild/builtin_fetch.bash (revision 1970)
++++ ebuild/builtin_fetch.bash (working copy)
+@@ -26,7 +26,7 @@
+ local aa=${a##*/}
+ hasq "${aa}" ${unique_aa} || unique_aa="${unique_aa} ${aa}"
+
+- if [[ -f "${DISTDIR}/${aa}" ]] && [[ "0" != $(stat -c '%s' "${DISTDIR}/${aa}" ) ]] ; then
++ if [[ -f "${DISTDIR}/${aa}" ]] && [[ "0" != $(getfsize "${DISTDIR}/${aa}") ]] ; then
+ if [[ "${old_aa}" != "${aa}" ]] ; then
+ ebuild_section "Already have ${aa}"
+ old_aa="${aa}"
+Index: ebuild/utils/getfsize
+===================================================================
+--- ebuild/utils/getfsize (revision 0)
++++ ebuild/utils/getfsize (revision 0)
+@@ -0,0 +1,5 @@
++#!/bin/bash
++case $(uname -s) in
++ FreeBSD) stat -f '%z' $@ ;;
++ *) stat -c '%s' $@ ;;
++esac
+Index: ebuild/utils/Makefile.am
+===================================================================
+--- ebuild/utils/Makefile.am (revision 1970)
++++ ebuild/utils/Makefile.am (working copy)
+@@ -33,6 +33,7 @@
+ fowners \
+ fperms \
+ getmtime \
++ getfsize \
+ newbin \
+ newconfd \
+ newdoc \ \ No newline at end of file
diff --git a/sys-apps/paludis/files/paludis-0.12.0-tests.patch b/sys-apps/paludis/files/paludis-0.12.0-tests.patch
new file mode 100644
index 0000000..d831a51
--- /dev/null
+++ b/sys-apps/paludis/files/paludis-0.12.0-tests.patch
@@ -0,0 +1,13 @@
+Index: paludis/args/Makefile.am
+===================================================================
+--- paludis/args/Makefile.am (revision 1970)
++++ paludis/args/Makefile.am (working copy)
+@@ -33,7 +33,7 @@
+ libpaludisargs_la_LIBADD = \
+ $(top_builddir)/paludis/util/libpaludisutil.la
+
+-TESTS_ENVIRONMENT = env -u PALUDIS_OPTIONS \
++TESTS_ENVIRONMENT = env PALUDIS_OPTIONS="" \
+ TEST_SCRIPT_DIR="$(srcdir)/" \
+ PALUDIS_REPOSITORY_SO_DIR="$(top_builddir)/paludis/repositories" \
+ bash $(top_srcdir)/test/run_test.sh \ No newline at end of file
diff --git a/sys-apps/paludis/paludis-0.12.0.ebuild b/sys-apps/paludis/paludis-0.12.0.ebuild
new file mode 100644
index 0000000..a637d93
--- /dev/null
+++ b/sys-apps/paludis/paludis-0.12.0.ebuild
@@ -0,0 +1,141 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/paludis-0.12.0.ebuild,v 1.1 2006/12/02 20:30:22 hansmi Exp $
+
+WANT_AUTOMAKE=1.9
+
+inherit bash-completion flag-o-matic eutils autotools
+
+DESCRIPTION="paludis, the other package mangler"
+HOMEPAGE="http://paludis.berlios.de/"
+SRC_URI="http://download.berlios.de/paludis/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86"
+IUSE="doc pink selinux qa ruby glsa"
+
+DEPEND="
+ dev-cpp/libebt
+ >=dev-cpp/libwrapiter-1.0.0
+ >=app-shells/bash-3
+ >=sys-devel/autoconf-2.59
+ =sys-devel/automake-1.9*
+ doc? ( app-doc/doxygen )
+ selinux? ( sys-libs/libselinux )
+ qa? (
+ dev-libs/pcre++
+ >=dev-libs/libxml2-2.6
+ app-crypt/gnupg
+ dev-util/pkgconfig )
+ glsa? (
+ >=dev-libs/libxml2-2.6
+ dev-util/pkgconfig )
+ ruby? ( >=dev-lang/ruby-1.8 )"
+
+RDEPEND="
+ >=app-admin/eselect-1.0.2
+ >=app-shells/bash-3
+ net-misc/wget
+ net-misc/rsync
+ qa? (
+ dev-libs/pcre++
+ >=dev-libs/libxml2-2.6
+ app-crypt/gnupg )
+ glsa? ( >=dev-libs/libxml2-2.6 )
+ !mips? ( !x86-fbsd? ( sys-apps/sandbox ) )
+ selinux? ( sys-libs/libselinux )
+ ruby? ( >=dev-lang/ruby-1.8 )"
+
+PROVIDE="virtual/portage"
+
+pkg_setup() {
+ use amd64 && replace-flags -Os -O2
+ if is-ldflagq -Wl,--as-needed || is-ldflagq --as-needed ; then
+ echo
+ ewarn "Stripping as-needed from LDFLAGS."
+ ewarn "You should not set this variable globally. Please read:"
+ ewarn " http://ciaranm.org/show_post.pl?post_id=13"
+ echo
+ epause 10
+ fi
+ filter-ldflags -Wl,--as-needed --as-needed
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-tests.patch
+ epatch "${FILESDIR}"/${P}-getfsize.patch
+
+ eautomake
+}
+
+src_compile() {
+ local myconf=""
+ if use mips || use x86-fbsd; then
+ myconf="--disable-sandbox"
+ else
+ myconf="--enable-sandbox"
+ fi
+
+ econf \
+ $(use_enable doc doxygen ) \
+ ${myconf} \
+ $(use_enable pink) \
+ $(use_enable selinux) \
+ $(use_enable glsa) \
+ $(use_enable qa) \
+ $(use_enable ruby) \
+ --disable-gtk --disable-gtk-tests \
+ || die "econf failed"
+
+ emake || die "emake failed"
+ if use doc ; then
+ make doxygen || die "make doxygen failed"
+ fi
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "install failed"
+ dodoc AUTHORS README ChangeLog NEWS
+
+ BASH_COMPLETION_NAME="adjutrix" dobashcompletion bash-completion/adjutrix
+ BASH_COMPLETION_NAME="paludis" dobashcompletion bash-completion/paludis
+ use qa && \
+ BASH_COMPLETION_NAME="qualudis" dobashcompletion bash-completion/qualudis
+
+ if use doc ; then
+ dohtml -r -V doc/html/
+ fi
+}
+
+src_test() {
+ # Work around Portage bugs
+ export PALUDIS_DO_NOTHING_SANDBOXY="portage sucks"
+ export BASH_ENV=/dev/null
+
+ emake check || die "Make check failed"
+}
+
+pkg_postinst() {
+ if use bash-completion ; then
+ echo
+ einfo "The following bash completion scripts have been installed:"
+ einfo " paludis"
+ einfo " adjutrix"
+ use qa && einfo " qualudis"
+ einfo
+ einfo "To enable these scripts, run:"
+ einfo " eselect bashcomp enable <scriptname>"
+ fi
+
+ echo
+ einfo "Before using Paludis and before reporting issues, you should read:"
+ einfo " http://paludis.berlios.de/KnownIssues.html"
+ echo
+ einfo "Paludis 0.12.0 has various new cache options. Read:"
+ einfo " http://paludis.berlios.de/CacheFiles.html"
+ echo
+}
+