parent
da07b0beb4
commit
c360618ca3
@ -1 +1,2 @@
|
||||
DIST scim-pinyin-0.5.91.tar.gz 5492055 SHA256 9b6b24af841cbf0353b919df7f56be931850fccf3b914172af7a39b6db726653 SHA512 ec4498c68cc7ef913b890eb881c73ffd790a5d8d8d48a0a2c32ceda942a7f359fc4bd181199b5333156119484d53d17396b48026fc7913105cfa10c92dd4548b WHIRLPOOL 5d334309d6694d1c699c1d2185e57d212691dd2ecad886389c0b3f4c05b41101404025967e5e3cfd00d288bddc8595759a81e21ffb58ee3d6bad850d935113f5
|
||||
DIST scim-pinyin-0.5.92.tar.gz 4769203 SHA256 70727224a642c2f2c7739b82ebd0b4d6a6f444c9ad4311cf2a3c76230dd21d9e SHA512 6af20b925c45ca355e12eeb59285e3327c2195038078a0e1741870395dc5a8f7dae60b8c9cd77919fbad94c27e123b9e58439f7011277439f9914d1a543a805f WHIRLPOOL b1902521d455891451790bce84cdb5d5bd39915d60ae883c4cc102fd6219b94596bc518f9b52efa9d123748a8b5f0f4f8b574a72a2becaa75f0fd613389d07be
|
||||
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-pinyin/scim-pinyin-0.5.92.ebuild,v 1.1 2012/08/15 00:02:07 naota Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="Smart Common Input Method (SCIM) Smart Pinyin Input Method"
|
||||
HOMEPAGE="http://www.scim-im.org/"
|
||||
SRC_URI="mirror://sourceforge/scim/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND="x11-libs/libXt
|
||||
|| ( >=app-i18n/scim-1.1 >=app-i18n/scim-cvs-1.1 )
|
||||
nls? ( virtual/libintl )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.5.91-fixconfigure.patch"
|
||||
)
|
||||
DOCS=( AUTHORS NEWS README ChangeLog )
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable nls)
|
||||
--disable-skim-support
|
||||
--without-arts
|
||||
--disable-static
|
||||
--disable-depedency-tracking
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST scim-tables-0.5.10.tar.gz 8101380 SHA256 0931414996585c5433b5492d5e40e3a0d6f322bebc547c6b10914d103aea2aea SHA512 e58247e2ac2dd08b497ce32648d4f6c173a320cb2d69ef18cc2a24a4be6312e9920b3ac71b82de4412d383f04eaf7e7f667c46e93977638c614a374dc0d0efbb WHIRLPOOL 753dbd4119584477ce87fccbe108b0b77675c1e53f241e1ba3d29137c3c914b6d1d2af726f325a126b1ada09eb1de3228202972fff0bf00793ba19304f039b51
|
||||
DIST scim-tables-0.5.11.tar.gz 6757581 SHA256 e7ce3c3fc73eb37c00385db278050100dc4fd51437bfba828185b7b28a7ab88f SHA512 1dbd34c66c800596971dd57109c648e572de7e4956a95be73638b3ddca970aeeb948325c3f9eaddee58e6925e09849073a72873edc8b3df6d53ae10071494b0d WHIRLPOOL f15b91b6ad17dad5ef2d462709571b788cdba39047bfffae2be4abc84b49c71fe745a04f62ca714a869fafc09704b0383e8e18ff680064ba2a63ff45be73d9d0
|
||||
DIST scim-tables-0.5.8.tar.gz 7214866 SHA256 2710b54f92845510b9db57b46c64a716c256e36585d55d51a62fdd3113572490 SHA512 af3c83cb4116dd5b3acdd81f99cc9705385c7bce4b1911da3acbabd2c5009063d656949642ccaa14d4fedf44d69644df26cd67c4b47a726853b43704fc87943b WHIRLPOOL 10f8dd3a86b3f613fca7b2da73308e881cc2e100f39b0930538b8cf5fae7f9d3ef0f75f3e5b4ac6217e770ffe47cb76fd5d2f306af930f8a46b67b13afcceed5
|
||||
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-tables/scim-tables-0.5.11.ebuild,v 1.1 2012/08/14 13:51:17 naota Exp $
|
||||
|
||||
inherit autotools base eutils
|
||||
|
||||
DESCRIPTION="Smart Common Input Method (SCIM) Generic Table Input Method Server"
|
||||
HOMEPAGE="http://www.scim-im.org/"
|
||||
SRC_URI="mirror://sourceforge/scim/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="nls"
|
||||
LANGS="am ar bn gu hi ja kn ko ml ne pa ru ta te th uk vi zh"
|
||||
for i in ${LANGS} ; do
|
||||
IUSE="${IUSE} linguas_${i}"
|
||||
done
|
||||
|
||||
RDEPEND=">=app-i18n/scim-1.4.7-r2
|
||||
nls? ( virtual/libintl )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-0.5.8+gcc-4.3.patch" )
|
||||
|
||||
pkg_setup() {
|
||||
elog "Not all languages are going to be compiled."
|
||||
elog "Please set LINGUAS to your preferred language(s)."
|
||||
elog "Supported LINGUAS values are:"
|
||||
elog "${LANGS}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
base_src_unpack
|
||||
|
||||
strip-linguas ${LANGS}
|
||||
local use_languages="additional ${LINGUAS}"
|
||||
elog "Languages being compiled are: ${use_languages}"
|
||||
|
||||
cd "${S}"
|
||||
sed -i -e "/^SUBDIRS/s/.*/SUBDIRS = ${use_languages}/g" \
|
||||
tables/Makefile.{am,in} || die "sed ${m} failed"
|
||||
|
||||
AT_NO_RECURSIVE=yes AT_M4DIR=${S}/m4 eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf \
|
||||
--disable-skim-support \
|
||||
$(use_enable nls) \
|
||||
--disable-static \
|
||||
--disable-dependency-tracking \
|
||||
--without-arts || die "econf failed"
|
||||
emake || die "make failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "install failed"
|
||||
dodoc README ChangeLog AUTHORS
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST scim-1.4.11.tar.gz 2741428 SHA256 061a345e885d19d3a67e6d6529f4fa55d4bcc93c52b62b26e7c53dbdcdcf8dba SHA512 849296ec4c8a66db500ffa4fcf5b7626942cdcb00baba853c24bc2e048e7fd3055898da786b725951884e146171ca585abe1cf2c084081e1807e4eb0db4c5e00 WHIRLPOOL 72f97a62b441d49f4dbd1d37def90981402ea4e26b1e069669026db6d7144bbefc0852c38c86d4f91befff24f6f0585a4b96618a2462e61bc4a4154a60e00206
|
||||
DIST scim-1.4.14.tar.gz 1519287 SHA256 e91e4cfed92f3e19d229f702eda03038b3f9a0ce6c4e625b0be51134c19b7678 SHA512 00fe7a1b40b69aae123c0a1e67eb3744ad1e6b1e66726bb011a7426bd28012c52b346c62f08c7ecf0977ac3e88ee416337c9fa89b39142d5eea338d99641f5df WHIRLPOOL cb32326b30ff17ca4815267898de715e50893e77c28a48c55cf708f818fff4aea9e2114f982302c0fd6fd4e1fc45f2ca8490603db0de49ed4159914e1edd516d
|
||||
DIST scim-1.4.9.tar.gz 2928091 SHA256 f72e9779e220565f6002923bf7d6aa9891be2bbddcd91a4e2a2d5e20aefba8d0 SHA512 5b8239e4274dbb896d48d4411012d755ee903f885092edd9943168e535fb78b23c7bc832f22bde1fe6ff715a55a5e2779baea9f1ac9e68257576301541906761 WHIRLPOOL b51b14205985d826ba9d7341a85546c0d1ac2290b99e6814d0f5ff064d6fa24dc07fc5fc2405eb465b45ab7255e969acca914b7989f7cde5b7c50e25cb28a288
|
||||
|
@ -0,0 +1,91 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim/scim-1.4.14.ebuild,v 1.1 2012/08/15 01:21:59 naota Exp $
|
||||
|
||||
EAPI="4"
|
||||
inherit eutils flag-o-matic multilib gnome2-utils autotools-utils
|
||||
|
||||
DESCRIPTION="Smart Common Input Method (SCIM) is an Input Method (IM) development platform"
|
||||
HOMEPAGE="http://www.scim-im.org/"
|
||||
SRC_URI="mirror://sourceforge/scim/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="x11-libs/libX11
|
||||
dev-libs/glib:2
|
||||
x11-libs/gtk+:2
|
||||
>=dev-libs/atk-1
|
||||
>=x11-libs/pango-1
|
||||
!app-i18n/scim-cvs"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen
|
||||
>=app-text/docbook-xsl-stylesheets-1.73.1 )
|
||||
dev-lang/perl
|
||||
virtual/pkgconfig
|
||||
>=dev-util/intltool-0.33
|
||||
sys-devel/libtool"
|
||||
DOCS=(
|
||||
README
|
||||
AUTHORS
|
||||
ChangeLog
|
||||
docs/developers
|
||||
docs/scim.cfg
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
# bug #83625
|
||||
filter-flags -fvisibility-inlines-hidden -fvisibility=hidden
|
||||
local myeconfargs=(
|
||||
$(use_with doc doxygen)
|
||||
--enable-ld-version-script
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && HTML_DOCS=("${AUTOTOOLS_BUILD_DIR}/docs/html/")
|
||||
autotools-utils_src_install
|
||||
|
||||
sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-${PN}" > "${T}/${PN}.conf" || die
|
||||
insinto /etc/X11/xinit/xinput.d
|
||||
doins "${T}/${PN}.conf"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "To use SCIM with both GTK2 and XIM, you should use the following"
|
||||
elog "in your user startup scripts such as .gnomerc or .xinitrc:"
|
||||
elog
|
||||
elog "LANG='your_language' scim -d"
|
||||
elog "export XMODIFIERS=@im=SCIM"
|
||||
elog "export GTK_IM_MODULE=\"scim\""
|
||||
elog "export QT_IM_MODULE=\"scim\""
|
||||
elog
|
||||
elog "where 'your_language' can be zh_CN, zh_TW, ja_JP.eucJP or any other"
|
||||
elog "UTF-8 locale such as en_US.UTF-8 or ja_JP.UTF-8"
|
||||
elog
|
||||
elog "To use Chinese input methods:"
|
||||
elog " # emerge app-i18n/scim-tables app-i18n/scim-pinyin"
|
||||
elog "To use Korean input methods:"
|
||||
elog " # emerge app-i18n/scim-hangul"
|
||||
elog "To use Japanese input methods:"
|
||||
elog " # emerge app-i18n/scim-anthy"
|
||||
elog "To use various input methods (more than 30 languages):"
|
||||
elog " # emerge app-i18n/scim-m17n"
|
||||
elog
|
||||
elog "Please modify ${EPREFIX}/etc/scim/global and add your UTF-8 locale to"
|
||||
elog "/SupportedUnicodeLocales entry."
|
||||
elog
|
||||
ewarn
|
||||
ewarn "If you upgraded from scim-1.2.x or scim-1.0.x, you should remerge all SCIM modules."
|
||||
ewarn
|
||||
|
||||
gnome2_query_immodules_gtk2
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_query_immodules_gtk2
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST omnibook-20090628.tar.gz 74902 SHA256 8ed58d82b3848ee78e012fb0a3faa597f53b0ae26c7586da4d9485763b032a19 SHA512 15dd65091f17b90876a6be1ed72c25f5721251b5f3b5508ddaaff18e70d9189bca3d3b1454641e704a304afe63bf777c53e3566d7e7919be893cbeb09f410465 WHIRLPOOL ebb1f4a83751a8ced4796112811958a5ee9de8b9376d1db0d3b71c224d5838a5547e133fc79e6035eb2e8f32ae6f0c6ca91e3247bc4a134f1e4b9371627b11c0
|
@ -1,32 +0,0 @@
|
||||
diff -ur omnibook-20090628/lcd.c omnibook-20090628-mod/lcd.c
|
||||
--- omnibook-20090628/lcd.c 2009-06-28 13:24:21.000000000 +0100
|
||||
+++ omnibook-20090628-mod/lcd.c 2010-03-27 13:09:16.540833150 +0000
|
||||
@@ -146,8 +146,14 @@
|
||||
}
|
||||
|
||||
#ifdef CONFIG_OMNIBOOK_BACKLIGHT
|
||||
-
|
||||
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,21)
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,34)
|
||||
+ struct backlight_properties props;
|
||||
+ memset (&props, 0, sizeof(struct backlight_properties));
|
||||
+ props.max_brightness = omnibook_max_brightness;
|
||||
+ omnibook_backlight_device =
|
||||
+ backlight_device_register(OMNIBOOK_MODULE_NAME, NULL, (void *)io_op,
|
||||
+ &omnibookbl_ops, &props);
|
||||
+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,21)
|
||||
omnibook_backlight_device =
|
||||
backlight_device_register(OMNIBOOK_MODULE_NAME, NULL, (void *)io_op, &omnibookbl_ops);
|
||||
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20)
|
||||
@@ -161,8 +167,9 @@
|
||||
printk(O_ERR "Unable to register as backlight device.\n");
|
||||
return -ENODEV;
|
||||
}
|
||||
-
|
||||
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,21)
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,34)
|
||||
+ backend_byte_read(io_op, (u8*) &omnibook_backlight_device->props.brightness);
|
||||
+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,21)
|
||||
omnibook_backlight_device->props.max_brightness = omnibook_max_brightness;
|
||||
backend_byte_read(io_op, (u8*) &omnibook_backlight_device->props.brightness);
|
||||
#else /* < 2.6.21 */
|
@ -1,20 +0,0 @@
|
||||
Index: omnibook-20090628/init.c
|
||||
===================================================================
|
||||
--- omnibook-20090628.orig/init.c
|
||||
+++ omnibook-20090628/init.c
|
||||
@@ -102,7 +102,6 @@ static struct platform_driver omnibook_d
|
||||
#endif
|
||||
.driver = {
|
||||
.name = OMNIBOOK_MODULE_NAME,
|
||||
- .owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -291,7 +290,6 @@ static int __init omnibook_init(struct o
|
||||
proc_entry->read_proc = &procfile_read_dispatch;
|
||||
if (feature->write)
|
||||
proc_entry->write_proc = &procfile_write_dispatch;
|
||||
- proc_entry->owner = THIS_MODULE;
|
||||
}
|
||||
list_add_tail(&feature->list, &omnibook_available_feature->list);
|
||||
return 0;
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-laptop/omnibook/omnibook-20090628-r1.ebuild,v 1.3 2010/06/29 09:15:39 fauli Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils linux-mod
|
||||
|
||||
DESCRIPTION="Linux kernel module for (but not limited to) HP Omnibook support"
|
||||
HOMEPAGE="http://www.sourceforge.net/projects/omnibook"
|
||||
# Revision 280 from upstream SVN repository
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 -ppc x86"
|
||||
IUSE=""
|
||||
|
||||
MODULE_NAMES="omnibook(char:)"
|
||||
BUILD_TARGETS=" "
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
BUILD_PARAMS="KERNEL=${KV_MAJOR}.${KV_MINOR} KSRC=${KV_DIR}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/remove_owner.patch"
|
||||
epatch "${FILESDIR}/backlight-2.6.34-${P}.patch"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc doc/*
|
||||
docinto misc
|
||||
dodoc misc/*.patch misc/*.txt
|
||||
docinto hotkeys
|
||||
dodoc misc/hotkeys/*
|
||||
|
||||
linux-mod_src_install
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Tue Aug 14 23:04:03 UTC 2012
|
||||
Subject: build system
|
||||
|
||||
fix build for linkers that don't permit underlinking
|
||||
|
||||
--- configure.ac
|
||||
+++ configure.ac
|
||||
@@ -69,6 +69,8 @@
|
||||
AC_MSG_ERROR([linux/uinput.h]),
|
||||
[#include <linux/input.h>])
|
||||
|
||||
+PKG_CHECK_MODULES([BLUETOOTH], [bluez])
|
||||
+
|
||||
AC_ISC_POSIX
|
||||
|
||||
AC_ARG_WITH(cwiid-config-dir,AC_HELP_STRING([--with-cwiid-config-dir],
|
||||
--- wmdemo/Makefile.in
|
||||
+++ wmdemo/Makefile.in
|
||||
@@ -6,9 +6,9 @@
|
||||
|
||||
SOURCES = wmdemo.c
|
||||
|
||||
-CFLAGS += -I@top_builddir@/libcwiid
|
||||
+CFLAGS += -I@top_builddir@/libcwiid @BLUETOOTH_CFLAGS@
|
||||
LDFLAGS += -L@top_builddir@/libcwiid
|
||||
-LDLIBS += -lcwiid
|
||||
+LDLIBS += -lcwiid @BLUETOOTH_LIBS@
|
||||
INST_DIR = @bindir@
|
||||
|
||||
include $(COMMON)/include/app.mak
|
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/portage-utils-0.11.ebuild,v 1.1 2012/08/14 18:18:20 vapier Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="small and fast portage helper tools written in C"
|
||||
HOMEPAGE="http://www.gentoo.org/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="static"
|
||||
|
||||
src_configure() {
|
||||
use static && append-ldflags -static
|
||||
|
||||
# Avoid slow configure+gnulib+make if on an up-to-date Linux system
|
||||
if use prefix || ! use kernel_linux || \
|
||||
has_version '<sys-libs/glibc-2.10'
|
||||
then
|
||||
econf --with-eprefix="${EPREFIX}"
|
||||
else
|
||||
tc-export CC
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
prepalldocs
|
||||
|
||||
exeinto /etc/portage/bin
|
||||
doexe "${FILESDIR}"/post_sync || die
|
||||
insinto /etc/portage/postsync.d
|
||||
doins "${FILESDIR}"/q-reinitialize || die
|
||||
|
||||
# Portage fixes shebangs, we just need to fix the paths in the files
|
||||
sed -i \
|
||||
-e "s:\(/etc/portage/postsync.d\|/usr/bin/q\):${EPREFIX}&:g" \
|
||||
"${ED}"/etc/portage/bin/post_sync \
|
||||
"${ED}"/etc/portage/postsync.d/q-reinitialize || die
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# preserve +x bit on postsync files #301721
|
||||
local x
|
||||
pushd "${ED}" >/dev/null
|
||||
for x in etc/portage/postsync.d/* ; do
|
||||
[[ -x ${EROOT}/${x} ]] && chmod +x "${x}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "${EPREFIX}/etc/portage/postsync.d/q-reinitialize has been installed for convenience"
|
||||
elog "If you wish for it to be automatically run at the end of every --sync:"
|
||||
elog " # chmod +x ${EPREFIX}/etc/portage/postsync.d/q-reinitialize"
|
||||
elog "Normally this should only take a few seconds to run but file systems"
|
||||
elog "such as ext3 can take a lot longer. To disable, simply do:"
|
||||
elog " # chmod -x ${EPREFIX}/etc/portage/postsync.d/q-reinitialize"
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST muparser_v134.tar.gz 1013841 SHA256 0e3d3dffe2d0bac9c381fc1320ee1e549993aff554d8c16d719caf23653f2276 SHA512 3b698c536d8c640625211d0e962d0763e088a7af30619930745fda7fb15f524da1abaa78a226602e8b5d0bdd95825535e0e80654f9ab58a319d3940614657bb3 WHIRLPOOL 24ef936d3adf5c6cdacbf5b686c8a56d23d522597e8942136fd3debcdeeefbf07cb53216fe85bbf16160dacfae92f56c17b6de0f80b3be4cf9eb8c52af4ad492
|
||||
DIST muparser_v2_1_0.zip 1465893 SHA256 4babb0cf4073943cb369cf78cb7a1b2c3188cdcf5406becf3b229509ce6bd17d SHA512 c7daa3be5544a3a1fe84b109961f1be435c214e5cced894d1e2fcc756687cc4ef4191221ce3bae8d261a9cd8c2945d6ef541f929d0970008fb58e991ca6f33db WHIRLPOOL 86e2ba03d238bd66a1a70b01413366b873cfc20b4a56a845c5bcca3b4f6b497f4988906f410ac21b52c86c98cf55efba436cb8f4efb63e0c7159a0268b391118
|
||||
DIST muparser_v2_2_2.zip 1508675 SHA256 a9c3d50c1092279d2be0d4ba275ff222979da83eb960cbef6b8af1f5bfdccc5e SHA512 e4abe1ba108e928340054834e8efd101b6d0feef672df6ec04cdf27862bc4fea7c3443f0e02dc6dd8cb813e66157879ca1ce1755cecae7d81ac89eccaec29b1d WHIRLPOOL 50d33276f7db353fc0595d095a62b696a1c8d93f813034e2f6ba9ea1a9fa26d836b6637581b3164277d5e10dbc00be87015bb5e4ce8cf52237ccd37cf21dddaf
|
||||
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/muParser/muParser-1.34.ebuild,v 1.5 2011/12/21 08:37:03 phajdan.jr Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils
|
||||
|
||||
MY_PN=${PN/P/p}
|
||||
MY_P=${MY_PN}_v${PV/./}
|
||||
|
||||
DESCRIPTION="Library for parsing mathematical expressions"
|
||||
HOMEPAGE="http://muparser.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="doc test"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-1.32-build.patch \
|
||||
"${FILESDIR}"/${PN}-1.32-parallel-build.patch
|
||||
sed \
|
||||
-e 's:-O2::g' \
|
||||
-i configure || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable test samples)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cat > test.sh <<- EOFTEST
|
||||
LD_LIBRARY_PATH=${S}/lib samples/example1/example1 <<- EOF
|
||||
quit
|
||||
EOF
|
||||
EOFTEST
|
||||
sh ./test.sh || die "test failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc Changes.txt Credits.txt || die "dodoc failed"
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r docs/html || die
|
||||
fi
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/muParser/muParser-2.1.0.ebuild,v 1.3 2011/12/17 05:57:47 grozin Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils
|
||||
|
||||
MY_PN=${PN/P/p}
|
||||
MY_P=${MY_PN}_v${PV/./}
|
||||
|
||||
DESCRIPTION="Library for parsing mathematical expressions"
|
||||
HOMEPAGE="http://muparser.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN/P/p}/${PN/P/p}/Version%20${PV}/${PN/P/p}_v${PV//./_}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}"/${PN/P/p}_v${PV//./_}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-1.32-build.patch \
|
||||
"${FILESDIR}"/${PN}-1.32-parallel-build.patch
|
||||
sed \
|
||||
-e 's:-O2::g' \
|
||||
-i configure || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
chmod +x configure || die
|
||||
econf $(use_enable test samples)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cat > test.sh <<- EOFTEST
|
||||
LD_LIBRARY_PATH=${S}/lib samples/example1/example1 <<- EOF
|
||||
quit
|
||||
EOF
|
||||
EOFTEST
|
||||
sh ./test.sh || die "test failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc Changes.txt
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r docs/html
|
||||
fi
|
||||
}
|
@ -1,4 +1 @@
|
||||
DIST pgpool-II-3.0.4.tar.gz 1211828 SHA256 886e0fa3dec98f4a6c25cc5b4b1fc5aac49258e2669c1ffda178d18711c8b5c1 SHA512 92d646de705685668566fd8a0441d2b0c09e6e51911e3223fbb02954ef1935465fa244ad5aa8402f25b77bd3bb402c50d63b563c635235d4830e2b51e6e06fed WHIRLPOOL e4a9878b4af4d4cde8699406730d391e147b21b12231d06c6d575f2ae72e4bab96ebab1a27948552923f2bda469d2cda9a4203b69abdd380dddedb69137d9ba9
|
||||
DIST pgpool-II-3.0.7.tar.gz 1211828 SHA256 886e0fa3dec98f4a6c25cc5b4b1fc5aac49258e2669c1ffda178d18711c8b5c1 SHA512 92d646de705685668566fd8a0441d2b0c09e6e51911e3223fbb02954ef1935465fa244ad5aa8402f25b77bd3bb402c50d63b563c635235d4830e2b51e6e06fed WHIRLPOOL e4a9878b4af4d4cde8699406730d391e147b21b12231d06c6d575f2ae72e4bab96ebab1a27948552923f2bda469d2cda9a4203b69abdd380dddedb69137d9ba9
|
||||
DIST pgpool-II-3.1.3.tar.gz 1211828 SHA256 886e0fa3dec98f4a6c25cc5b4b1fc5aac49258e2669c1ffda178d18711c8b5c1 SHA512 92d646de705685668566fd8a0441d2b0c09e6e51911e3223fbb02954ef1935465fa244ad5aa8402f25b77bd3bb402c50d63b563c635235d4830e2b51e6e06fed WHIRLPOOL e4a9878b4af4d4cde8699406730d391e147b21b12231d06c6d575f2ae72e4bab96ebab1a27948552923f2bda469d2cda9a4203b69abdd380dddedb69137d9ba9
|
||||
DIST pgpool-II-3.2.0.tar.gz 1211828 RMD160 51572b55e7e7ac1d67269ac2c45a1b8316314fa4 SHA1 dfbc5d8e05f79bbf96725204a0291955194e96d0 SHA256 886e0fa3dec98f4a6c25cc5b4b1fc5aac49258e2669c1ffda178d18711c8b5c1
|
||||
DIST pgpool-II-3.2.0.tar.gz 1599391 SHA256 2e41ce78154fc7e9e13eb34f0b60e352d6183de08c4040bea9fbdd914e3e28e0 SHA512 9c9d56bed525c3d8508cde32cd6ac8b13df6dd28366b90157c46c2900eef93fa90254de49b1b574f83fe76525f27a2e8c23d7dcec02cad566aaeff62a6b3282d WHIRLPOOL 25e8f086ea48300affe7195ffcbeee1faa8cde344a99d6caccb0041db04e8040bd2750148c1fde94342b4c544c328f9f97d0b1cf9394443cf37a0d003ace0a90
|
||||
|
@ -0,0 +1,17 @@
|
||||
# NICE_QUIT ignores new connections and wait for clients to disconnect from
|
||||
# server before shutting down. NICE_TIMEOUT in seconds determines how long to
|
||||
# wait for this to succeed.
|
||||
NICE_TIMEOUT=60
|
||||
|
||||
# Forecfully disconnect clients from server and shut down. This is performed
|
||||
# after NICE_QUIT. Terminated client connections have their open transactions
|
||||
# rolled back.
|
||||
# Set RUDE_QUIT to "NO" to disable. RUDE_TIMEOUT in seconds.
|
||||
RUDE_QUIT="YES"
|
||||
RUDE_TIMEOUT=30
|
||||
|
||||
# If the server still fails to shutdown, you can force it to quit by setting
|
||||
# this to YES.
|
||||
# Set FORCE_QUIT to "YES" to enable. FORCE_TIMEOUT in seconds.
|
||||
FORCE_QUIT="NO"
|
||||
FORCE_TIMEOUT=2
|
@ -1,29 +1,75 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool2/files/pgpool2.initd,v 1.2 2011/03/02 08:52:52 scarabeus Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool2/files/pgpool2.initd,v 1.3 2012/08/14 19:50:17 titanofold Exp $
|
||||
|
||||
extra_started_commands="reload"
|
||||
|
||||
CONFIGFILE="/etc/pgpool2/pgpool.conf"
|
||||
LOGFILE="/var/log/pgpool2.log"
|
||||
PIDFILE=""
|
||||
|
||||
depend() {
|
||||
need net
|
||||
use net
|
||||
use postgresql
|
||||
}
|
||||
|
||||
ARGS="-f /etc/pgpool2/pgpool.conf -a /etc/pgpool2/pool_hba.conf -F /etc/pgpool2/pcp.conf -D"
|
||||
LOGFILE="/var/log/pgpool2.log"
|
||||
get_config() {
|
||||
[ -f ${CONFIGFILE} ] || return 1
|
||||
|
||||
eval echo $(sed -e 's:#.*::' ${CONFIGFILE} | \
|
||||
awk '$1 == "'$1'" { print ($2 == "=" ? $3 : $2) }')
|
||||
}
|
||||
|
||||
PIDFILE="$(get_config pid_file_name)"
|
||||
|
||||
prep() {
|
||||
checkpath -o pgpool:postgres -m 0770 -d $(dirname ${PIDFILE}) || return 1
|
||||
checkpath -o pgpool:postgres -m 0770 -d $(get_config logdir) || return 1
|
||||
checkpath -o pgpool:postgres -m 0660 -f ${LOGFILE} || return 1
|
||||
checkpath -o postgres:postgres -m 0770 -d $(get_config socket_dir) || return 1
|
||||
checkpath -o postgres:postgres -m 0770 -d $(get_config pcp_socket_dir) || return 1
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting pgpool2"
|
||||
/usr/bin/pgpool ${ARGS} >> "${LOGFILE}" 2>&1
|
||||
eend $?
|
||||
prep || return 1
|
||||
|
||||
ebegin "Starting pgpool2"
|
||||
|
||||
start-stop-daemon --start \
|
||||
--user pgpool:postgres \
|
||||
--pidfile ${PIDFILE} \
|
||||
--exec /usr/bin/pgpool
|
||||
|
||||
eend
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping pgpool2"
|
||||
/usr/bin/pgpool -m fast stop >> "${LOGFILE}" 2>&1
|
||||
eend $?
|
||||
local seconds=$(( ${NICE_TIMEOUT} + ${RUDE_TIMEOUT} + ${FORCE_TIMEOUT} ))
|
||||
ebegin "Stopping pgpool (this can take up to ${seconds} seconds)"
|
||||
|
||||
local retval
|
||||
local retries=SIGTERM/${NICE_TIMEOUT}
|
||||
|
||||
if [ "${RUDE_QUIT}" != "NO" ] ; then
|
||||
einfo "RUDE_QUIT enabled."
|
||||
retries="${retries}/SIGINT/${RUDE_TIMEOUT}"
|
||||
fi
|
||||
if [ "${FORCE_QUIT}" = "YES" ] ; then
|
||||
einfo "FORCE_QUIT enabled."
|
||||
ewarn "A recover-run might be executed on next startup."
|
||||
retries="${retries}/SIGQUIT/${FORCE_TIMEOUT}"
|
||||
fi
|
||||
|
||||
# Loops through nice, rude, and force quit in one go.
|
||||
start-stop-daemon --stop \
|
||||
--pidfile ${PIDFILE} \
|
||||
--retry ${retries}
|
||||
|
||||
eend
|
||||
}
|
||||
|
||||
restart() {
|
||||
svc_stop
|
||||
sleep 3
|
||||
svc_start
|
||||
reload() {
|
||||
start-stop-daemon --signal HUP \
|
||||
--pidfile ${PIDFILE}
|
||||
}
|
||||
|
@ -0,0 +1,180 @@
|
||||
diff -Naurw a/pgpool.conf.sample b/pgpool.conf.sample
|
||||
--- a/pgpool.conf.sample 2012-07-19 03:06:21.000000000 -0400
|
||||
+++ b/pgpool.conf.sample 2012-08-14 07:33:39.200695855 -0400
|
||||
@@ -31,10 +31,8 @@
|
||||
port = 9999
|
||||
# Port number
|
||||
# (change requires restart)
|
||||
-socket_dir = '/tmp'
|
||||
+socket_dir = '@PGSQL_SOCKETDIR@'
|
||||
# Unix domain socket path
|
||||
- # The Debian package defaults to
|
||||
- # /var/run/postgresql
|
||||
# (change requires restart)
|
||||
|
||||
|
||||
@@ -43,10 +41,8 @@
|
||||
pcp_port = 9898
|
||||
# Port number for pcp
|
||||
# (change requires restart)
|
||||
-pcp_socket_dir = '/tmp'
|
||||
+pcp_socket_dir = '@PGSQL_SOCKETDIR@'
|
||||
# Unix domain socket path for pcp
|
||||
- # The Debian package defaults to
|
||||
- # /var/run/postgresql
|
||||
# (change requires restart)
|
||||
|
||||
# - Backend Connection Settings -
|
||||
@@ -176,10 +172,10 @@
|
||||
# FILE LOCATIONS
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
-pid_file_name = '/var/run/pgpool/pgpool.pid'
|
||||
+pid_file_name = '@PGPOOL_SOCKETDIR@/pgpool.pid'
|
||||
# PID file name
|
||||
# (change requires restart)
|
||||
-logdir = '/tmp'
|
||||
+logdir = '@PGPOOL_SOCKETDIR@'
|
||||
# Directory of pgPool status file
|
||||
# (change requires restart)
|
||||
|
||||
diff -Naurw a/pgpool.conf.sample-master-slave b/pgpool.conf.sample-master-slave
|
||||
--- a/pgpool.conf.sample-master-slave 2012-07-16 22:56:37.000000000 -0400
|
||||
+++ b/pgpool.conf.sample-master-slave 2012-08-14 07:33:39.201695842 -0400
|
||||
@@ -31,10 +31,8 @@
|
||||
port = 9999
|
||||
# Port number
|
||||
# (change requires restart)
|
||||
-socket_dir = '/tmp'
|
||||
+socket_dir = '@PGSQL_SOCKETDIR@'
|
||||
# Unix domain socket path
|
||||
- # The Debian package defaults to
|
||||
- # /var/run/postgresql
|
||||
# (change requires restart)
|
||||
|
||||
|
||||
@@ -43,10 +41,8 @@
|
||||
pcp_port = 9898
|
||||
# Port number for pcp
|
||||
# (change requires restart)
|
||||
-pcp_socket_dir = '/tmp'
|
||||
+pcp_socket_dir = '@PGSQL_SOCKETDIR@'
|
||||
# Unix domain socket path for pcp
|
||||
- # The Debian package defaults to
|
||||
- # /var/run/postgresql
|
||||
# (change requires restart)
|
||||
|
||||
# - Backend Connection Settings -
|
||||
@@ -176,10 +172,10 @@
|
||||
# FILE LOCATIONS
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
-pid_file_name = '/var/run/pgpool/pgpool.pid'
|
||||
+pid_file_name = '@PGPOOL_SOCKETDIR@/pgpool.pid'
|
||||
# PID file name
|
||||
# (change requires restart)
|
||||
-logdir = '/tmp'
|
||||
+logdir = '@PGPOOL_SOCKETDIR@'
|
||||
# Directory of pgPool status file
|
||||
# (change requires restart)
|
||||
|
||||
diff -Naurw a/pgpool.conf.sample-replication b/pgpool.conf.sample-replication
|
||||
--- a/pgpool.conf.sample-replication 2012-07-16 22:56:37.000000000 -0400
|
||||
+++ b/pgpool.conf.sample-replication 2012-08-14 07:33:39.202695830 -0400
|
||||
@@ -31,10 +31,8 @@
|
||||
port = 9999
|
||||
# Port number
|
||||
# (change requires restart)
|
||||
-socket_dir = '/tmp'
|
||||
+socket_dir = '@PGSQL_SOCKETDIR@'
|
||||
# Unix domain socket path
|
||||
- # The Debian package defaults to
|
||||
- # /var/run/postgresql
|
||||
# (change requires restart)
|
||||
|
||||
|
||||
@@ -43,10 +41,8 @@
|
||||
pcp_port = 9898
|
||||
# Port number for pcp
|
||||
# (change requires restart)
|
||||
-pcp_socket_dir = '/tmp'
|
||||
+pcp_socket_dir = '@PGSQL_SOCKETDIR@'
|
||||
# Unix domain socket path for pcp
|
||||
- # The Debian package defaults to
|
||||
- # /var/run/postgresql
|
||||
# (change requires restart)
|
||||
|
||||
# - Backend Connection Settings -
|
||||
@@ -176,10 +172,10 @@
|
||||
# FILE LOCATIONS
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
-pid_file_name = '/var/run/pgpool/pgpool.pid'
|
||||
+pid_file_name = '@PGPOOL_SOCKETDIR@/pgpool.pid'
|
||||
# PID file name
|
||||
# (change requires restart)
|
||||
-logdir = '/tmp'
|
||||
+logdir = '@PGPOOL_SOCKETDIR@'
|
||||
# Directory of pgPool status file
|
||||
# (change requires restart)
|
||||
|
||||
diff -Naurw a/pgpool.conf.sample-stream b/pgpool.conf.sample-stream
|
||||
--- a/pgpool.conf.sample-stream 2012-07-16 22:56:37.000000000 -0400
|
||||
+++ b/pgpool.conf.sample-stream 2012-08-14 07:33:39.203695818 -0400
|
||||
@@ -31,10 +31,8 @@
|
||||
port = 9999
|
||||
# Port number
|
||||
# (change requires restart)
|
||||
-socket_dir = '/tmp'
|
||||
+socket_dir = '@PGSQL_SOCKETDIR@'
|
||||
# Unix domain socket path
|
||||
- # The Debian package defaults to
|
||||
- # /var/run/postgresql
|
||||
# (change requires restart)
|
||||
|
||||
|
||||
@@ -43,10 +41,8 @@
|
||||
pcp_port = 9898
|
||||
# Port number for pcp
|
||||
# (change requires restart)
|
||||
-pcp_socket_dir = '/tmp'
|
||||
+pcp_socket_dir = '@PGSQL_SOCKETDIR@'
|
||||
# Unix domain socket path for pcp
|
||||
- # The Debian package defaults to
|
||||
- # /var/run/postgresql
|
||||
# (change requires restart)
|
||||
|
||||
# - Backend Connection Settings -
|
||||
@@ -176,10 +172,10 @@
|
||||
# FILE LOCATIONS
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
-pid_file_name = '/var/run/pgpool/pgpool.pid'
|
||||
+pid_file_name = '@PGPOOL_SOCKETDIR@/pgpool.pid'
|
||||
# PID file name
|
||||
# (change requires restart)
|
||||
-logdir = '/tmp'
|
||||
+logdir = '@PGPOOL_SOCKETDIR@'
|
||||
# Directory of pgPool status file
|
||||
# (change requires restart)
|
||||
|
||||
diff -Naurw a/pool.h b/pool.h
|
||||
--- a/pool.h 2012-07-02 00:09:18.000000000 -0400
|
||||
+++ b/pool.h 2012-08-14 07:26:56.005764702 -0400
|
||||
@@ -61,13 +61,13 @@
|
||||
#define HBA_CONF_FILE_NAME "pool_hba.conf"
|
||||
|
||||
/* pid file directory */
|
||||
-#define DEFAULT_LOGDIR "/tmp"
|
||||
+#define DEFAULT_LOGDIR "@PGPOOL_SOCKETDIR@"
|
||||
|
||||
/* Unix domain socket directory */
|
||||
-#define DEFAULT_SOCKET_DIR "/tmp"
|
||||
+#define DEFAULT_SOCKET_DIR "@PGSQL_SOCKETDIR@"
|
||||
|
||||
/* pid file name */
|
||||
-#define DEFAULT_PID_FILE_NAME "/var/run/pgpool/pgpool.pid"
|
||||
+#define DEFAULT_PID_FILE_NAME "@PGPOOL_SOCKETDIR@/pgpool.pid"
|
||||
|
||||
/* status file name */
|
||||
#define STATUS_FILE_NAME "pgpool_status"
|
@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>postgresql</herd>
|
||||
<herd>postgresql</herd>
|
||||
<use>
|
||||
<flag name='memcached'>Use memcached for query caching.</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool2/pgpool2-3.0.4.ebuild,v 1.2 2012/04/23 15:00:44 titanofold Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
[[ ${PV} == 9999 ]] && MY_P=${PN/2/-II} || MY_P="${PN/2/-II}-${PV}"
|
||||
|
||||
ECVS_SERVER="cvs.pgfoundry.org:/cvsroot/pgpool"
|
||||
ECVS_MODULE="pgpool-II"
|
||||
[[ ${PV} == 9999 ]] && SCM_ECLASS="cvs"
|
||||
inherit base autotools ${SCM_ECLASS}
|
||||
unset SCM_ECLASS
|
||||
|
||||
DESCRIPTION="Connection pool server for PostgreSQL"
|
||||
HOMEPAGE="http://pgpool.projects.postgresql.org/"
|
||||
[[ ${PV} == 9999 ]] || SRC_URI="http://pgfoundry.org/frs/download.php/3076/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
[[ ${PV} == 9999 ]] || KEYWORDS="~amd64 ~x86"
|
||||
IUSE="pam ssl static-libs"
|
||||
|
||||
RDEPEND="
|
||||
dev-db/postgresql-base
|
||||
pam? ( sys-auth/pambase )
|
||||
ssl? ( dev-libs/openssl )
|
||||
"
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/bison
|
||||
!!dev-db/pgpool
|
||||
"
|
||||
|
||||
AUTOTOOLS_IN_SOURCE_BUILD="1"
|
||||
|
||||
DOCS=(
|
||||
"NEWS"
|
||||
"doc/where_to_send_queries.pdf"
|
||||
)
|
||||
HTML_DOCS=(
|
||||
"doc/pgpool-en.html"
|
||||
"doc/pgpool.css"
|
||||
"doc/tutorial-en.html"
|
||||
)
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e 's:/tmp/:/var/run/postgresql:g' \
|
||||
pgpool.conf.sample pool.h || die
|
||||
sed -i \
|
||||
-e '/ACLOCAL_AMFLAGS/ d' \
|
||||
Makefile.am || die
|
||||
base_src_prepare
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--sysconfdir="${EROOT}/etc/${PN}" \
|
||||
--disable-rpath \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with pam)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
base_src_install
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
# move misc data to proper folder
|
||||
mv "${ED}/usr/share/${PN/2/-II}" "${ED}/usr/share/${PN}" || die
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
||||
}
|
@ -1,77 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool2/pgpool2-3.0.7.ebuild,v 1.1 2012/04/23 15:00:45 titanofold Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
[[ ${PV} == 9999 ]] && MY_P=${PN/2/-II} || MY_P="${PN/2/-II}-${PV}"
|
||||
|
||||
ECVS_SERVER="cvs.pgfoundry.org:/cvsroot/pgpool"
|
||||
ECVS_MODULE="pgpool-II"
|
||||
[[ ${PV} == 9999 ]] && SCM_ECLASS="cvs"
|
||||
inherit base autotools ${SCM_ECLASS}
|
||||
unset SCM_ECLASS
|
||||
|
||||
DESCRIPTION="Connection pool server for PostgreSQL"
|
||||
HOMEPAGE="http://pgpool.projects.postgresql.org/"
|
||||
[[ ${PV} == 9999 ]] || SRC_URI="http://pgfoundry.org/frs/download.php/3076/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
[[ ${PV} == 9999 ]] || KEYWORDS="~amd64 ~x86"
|
||||
IUSE="pam ssl static-libs"
|
||||
|
||||
RDEPEND="
|
||||
dev-db/postgresql-base
|
||||
pam? ( sys-auth/pambase )
|
||||
ssl? ( dev-libs/openssl )
|
||||
"
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/bison
|
||||
!!dev-db/pgpool
|
||||
"
|
||||
|
||||
AUTOTOOLS_IN_SOURCE_BUILD="1"
|
||||
|
||||
DOCS=(
|
||||
"NEWS"
|
||||
"doc/where_to_send_queries.pdf"
|
||||
)
|
||||
HTML_DOCS=(
|
||||
"doc/pgpool-en.html"
|
||||
"doc/pgpool.css"
|
||||
"doc/tutorial-en.html"
|
||||
)
|
||||
|
||||
# Those turkeys didn't update the directory name!'
|
||||
#S=${WORKDIR}/${MY_P}
|
||||
S="${WORKDIR}/pgpool-II-3.0.4"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e 's:/tmp/:/var/run/postgresql:g' \
|
||||
pgpool.conf.sample pool.h || die
|
||||
sed -i \
|
||||
-e '/ACLOCAL_AMFLAGS/ d' \
|
||||
Makefile.am || die
|
||||
base_src_prepare
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--sysconfdir="${EROOT}/etc/${PN}" \
|
||||
--disable-rpath \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with pam)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
base_src_install
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
# move misc data to proper folder
|
||||
mv "${ED}/usr/share/${PN/2/-II}" "${ED}/usr/share/${PN}" || die
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
||||
}
|
@ -1,77 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool2/pgpool2-3.1.3.ebuild,v 1.1 2012/04/23 15:00:45 titanofold Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
[[ ${PV} == 9999 ]] && MY_P=${PN/2/-II} || MY_P="${PN/2/-II}-${PV}"
|
||||
|
||||
ECVS_SERVER="cvs.pgfoundry.org:/cvsroot/pgpool"
|
||||
ECVS_MODULE="pgpool-II"
|
||||
[[ ${PV} == 9999 ]] && SCM_ECLASS="cvs"
|
||||
inherit base autotools ${SCM_ECLASS}
|
||||
unset SCM_ECLASS
|
||||
|
||||
DESCRIPTION="Connection pool server for PostgreSQL"
|
||||
HOMEPAGE="http://pgpool.projects.postgresql.org/"
|
||||
[[ ${PV} == 9999 ]] || SRC_URI="http://pgfoundry.org/frs/download.php/3076/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
[[ ${PV} == 9999 ]] || KEYWORDS="~amd64 ~x86"
|
||||
IUSE="pam ssl static-libs"
|
||||
|
||||
RDEPEND="
|
||||
dev-db/postgresql-base
|
||||
pam? ( sys-auth/pambase )
|
||||
ssl? ( dev-libs/openssl )
|
||||
"
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/bison
|
||||
!!dev-db/pgpool
|
||||
"
|
||||
|
||||
AUTOTOOLS_IN_SOURCE_BUILD="1"
|
||||
|
||||
DOCS=(
|
||||
"NEWS"
|
||||
"doc/where_to_send_queries.pdf"
|
||||
)
|
||||
HTML_DOCS=(
|
||||
"doc/pgpool-en.html"
|
||||
"doc/pgpool.css"
|
||||
"doc/tutorial-en.html"
|
||||
)
|
||||
|
||||
# Those turkeys didn't update the directory name!'
|
||||
#S=${WORKDIR}/${MY_P}
|
||||
S="${WORKDIR}/pgpool-II-3.0.4"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e 's:/tmp/:/var/run/postgresql:g' \
|
||||
pgpool.conf.sample pool.h || die
|
||||
sed -i \
|
||||
-e '/ACLOCAL_AMFLAGS/ d' \
|
||||
Makefile.am || die
|
||||
base_src_prepare
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--sysconfdir="${EROOT}/etc/${PN}" \
|
||||
--disable-rpath \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with pam)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
base_src_install
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
# move misc data to proper folder
|
||||
mv "${ED}/usr/share/${PN/2/-II}" "${ED}/usr/share/${PN}" || die
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
||||
}
|
@ -0,0 +1,113 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool2/pgpool2-3.2.0-r1.ebuild,v 1.1 2012/08/14 19:50:17 titanofold Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
[[ ${PV} == 9999 ]] && MY_P=${PN/2/-II} || MY_P="${PN/2/-II}-${PV}"
|
||||
|
||||
ECVS_SERVER="cvs.pgfoundry.org:/cvsroot/pgpool"
|
||||
ECVS_MODULE="pgpool-II"
|
||||
[[ ${PV} == 9999 ]] && SCM_ECLASS="cvs"
|
||||
inherit base autotools ${SCM_ECLASS}
|
||||
unset SCM_ECLASS
|
||||
|
||||
DESCRIPTION="Connection pool server for PostgreSQL"
|
||||
HOMEPAGE="http://www.pgpool.net/"
|
||||
[[ ${PV} == 9999 ]] || SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
[[ ${PV} == 9999 ]] || KEYWORDS="~amd64 ~x86"
|
||||
IUSE="memcached pam ssl static-libs"
|
||||
|
||||
RDEPEND="
|
||||
dev-db/postgresql-base
|
||||
memcached? ( dev-libs/libmemcached )
|
||||
pam? ( sys-auth/pambase )
|
||||
ssl? ( dev-libs/openssl )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/bison
|
||||
!!dev-db/pgpool
|
||||
"
|
||||
|
||||
AUTOTOOLS_IN_SOURCE_BUILD="1"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup postgres 70
|
||||
enewuser pgpool -1 -1 -1 postgres
|
||||
|
||||
# We need the postgres user as well so we can set the proper
|
||||
# permissions on the sockets without getting into fights with
|
||||
# PostgreSQL's initialization scripts.
|
||||
enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/pgpool_run_paths.patch"
|
||||
|
||||
local pg_config_manual="$(pg_config --includedir)/pg_config_manual.h"
|
||||
local pgsql_socket_dir=$(grep DEFAULT_PGSOCKET_DIR "${pg_config_manual}" | \
|
||||
sed 's|.*\"\(.*\)\"|\1|g')
|
||||
local pgpool_socket_dir="$(dirname $pgsql_socket_dir)/pgpool"
|
||||
|
||||
sed "s|@PGSQL_SOCKETDIR@|${pgsql_socket_dir}|g" \
|
||||
-i *.conf.sample* pool.h || die
|
||||
|
||||
sed "s|@PGPOOL_SOCKETDIR@|${pgpool_socket_dir}|g" \
|
||||
-i *.conf.sample* pool.h || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use memcached && \
|
||||
myconf="--with-memcached=\"${EROOT%/}/usr/include/libmemcached\""
|
||||
|
||||
econf \
|
||||
--disable-rpath \
|
||||
--sysconfdir="${EROOT%/}/etc/${PN}" \
|
||||
$(use_with pam) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_enable static-libs static) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
cd sql
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
cd sql
|
||||
emake DESTDIR="${D}" install
|
||||
cd "${S}"
|
||||
|
||||
# `contrib' moved to `extension' with PostgreSQL 9.1
|
||||
local pgslot=$(postgresql-config show)
|
||||
if [[ ${pgslot//.} > 90 ]] ; then
|
||||
cd "${ED%/}$(pg_config --sharedir)"
|
||||
mv contrib extension || die
|
||||
cd "${S}"
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd" ${PN}
|
||||
|
||||
# Documentation
|
||||
dodoc NEWS TODO doc/where_to_send_queries.{pdf,odg}
|
||||
dohtml -r doc
|
||||
|
||||
# Examples and extras
|
||||
insinto "/usr/share/${PN}"
|
||||
doins doc/{pgpool_remote_start,basebackup.sh,recovery.conf.sample}
|
||||
mv "${ED%/}/usr/share/${PN/2/-II}" "${ED%/}/usr/share/${PN}" || die
|
||||
|
||||
# One more thing: Evil la files!
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
}
|
@ -1,77 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool2/pgpool2-3.2.0.ebuild,v 1.1 2012/08/04 12:57:24 patrick Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
[[ ${PV} == 9999 ]] && MY_P=${PN/2/-II} || MY_P="${PN/2/-II}-${PV}"
|
||||
|
||||
ECVS_SERVER="cvs.pgfoundry.org:/cvsroot/pgpool"
|
||||
ECVS_MODULE="pgpool-II"
|
||||
[[ ${PV} == 9999 ]] && SCM_ECLASS="cvs"
|
||||
inherit base autotools ${SCM_ECLASS}
|
||||
unset SCM_ECLASS
|
||||
|
||||
DESCRIPTION="Connection pool server for PostgreSQL"
|
||||
HOMEPAGE="http://pgpool.projects.postgresql.org/"
|
||||
[[ ${PV} == 9999 ]] || SRC_URI="http://pgfoundry.org/frs/download.php/3076/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
[[ ${PV} == 9999 ]] || KEYWORDS="~amd64 ~x86"
|
||||
IUSE="pam ssl static-libs"
|
||||
|
||||
RDEPEND="
|
||||
dev-db/postgresql-base
|
||||
pam? ( sys-auth/pambase )
|
||||
ssl? ( dev-libs/openssl )
|
||||
"
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/bison
|
||||
!!dev-db/pgpool
|
||||
"
|
||||
|
||||
AUTOTOOLS_IN_SOURCE_BUILD="1"
|
||||
|
||||
DOCS=(
|
||||
"NEWS"
|
||||
"doc/where_to_send_queries.pdf"
|
||||
)
|
||||
HTML_DOCS=(
|
||||
"doc/pgpool-en.html"
|
||||
"doc/pgpool.css"
|
||||
"doc/tutorial-en.html"
|
||||
)
|
||||
|
||||
# Those turkeys didn't update the directory name!'
|
||||
#S=${WORKDIR}/${MY_P}
|
||||
S="${WORKDIR}/pgpool-II-3.0.4"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e 's:/tmp/:/var/run/postgresql:g' \
|
||||
pgpool.conf.sample pool.h || die
|
||||
sed -i \
|
||||
-e '/ACLOCAL_AMFLAGS/ d' \
|
||||
Makefile.am || die
|
||||
base_src_prepare
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--sysconfdir="${EROOT}/etc/${PN}" \
|
||||
--disable-rpath \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with pam)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
base_src_install
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
# move misc data to proper folder
|
||||
mv "${ED}/usr/share/${PN/2/-II}" "${ED}/usr/share/${PN}" || die
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST attica-0.4.0.tar.bz2 55598 SHA256 18fa5f99846063175f27b38e0c6b3df841a2c38843406e30d3317175d20f4d9c SHA512 6a57eefbabc583fbe88c5136bdfd2e3ba50fe02aa5e164db18cead44035625f9b60664b75b87eda022722f33455c79870856777f7820212a01143c2d447cbf91 WHIRLPOOL 884638130f510886157b55a6717715174d91e37442ceb2156910fb82ce48d5172034f341bdca77c5e3cb5d8979dc3ed9cb80edfa5e8e244efb39813e09df3ad7
|
||||
DIST attica-0.4.1.tar.bz2 58742 SHA256 36d12562c11464e3111df8a36669adcd80c5f3c89ac6b08a708a1bbf8341cde6 SHA512 76d91e66c9661fcd03f61595e9ed4db9fb6972d90e187137ec2ed31e6e329d22a2da08cb23ad10a2385d1da2e60576fd3e743b8fb32c8ab87440f82bef4f99f9 WHIRLPOOL 11f2438e12a59677fbd48eb099e45f3c446949107be98198b04bcea5e3ea2c6534da7fbb7434daceb65627d8ce12ef51413bdc6455ef873523e9bc17dc48048d
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libattica/libattica-0.4.1.ebuild,v 1.1 2012/08/14 21:34:16 johu Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_P="${P#lib}"
|
||||
MY_PN="${PN#lib}"
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="A library providing access to Open Collaboration Services"
|
||||
HOMEPAGE="http://www.kde.org/"
|
||||
SRC_URI="mirror://kde/stable/${MY_PN}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
SLOT="0"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="x11-libs/qt-core:4"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=(AUTHORS ChangeLog README)
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
@ -1,2 +1,2 @@
|
||||
DIST softhsm-1.3.1.tar.gz 409444 SHA256 828f90bd4ff883d903d1fb7051d2c4969ee8ab2c7f11fac25ce9d963d9efacc9 SHA512 2e8bdb2b0d6cd20efe6fbfb24855b4426f6e6da18a3190b595937162125a6fa70d3bb85317f6a3b7e60186ef8ce062b22635166a63e07b50b5cb44f60e5e585a WHIRLPOOL 27c0c89cbe9738bdd38406c7eaf4ca669bf5d6faa19d2c32ede31ad8a342201ca944023b3ae0e4785ba1e9062783b31f122673a5fc09b21270d2363fffc8d111
|
||||
DIST softhsm-1.3.2.tar.gz 409022 SHA256 c559eb85429b72a871a1cb375f69322681a256be20925e3036bfdf237dd0a641 SHA512 e247d2e73ee9243c7cd22976bb03cdf42dc6d2bf34d1e93dd25994854271d20f46cde9be90956bffc098c766d8d27f01fde532a9374f94ecae60608e10ab11cf WHIRLPOOL 375ddd607a371ab91d2a0be4473c4425d67bc9f90d494d28155629e02e83f1d7abf33e2c419b3f79513aafe51008f8d7afd6640d1cba3d9c7e086d2c385c5b5b
|
||||
DIST softhsm-1.3.3.tar.gz 434872 SHA256 da49d971f971ef35f420da7ccf4f3213c7266f61b1fcdf41e09d8886cfb7804c SHA512 76f14264424f34f2bfb131c2d62050bd8df0d74ce9df40bf2ae51301b929e126d27608af331af66b1f1000e85f2ca95c9ef7b72d972c0513c7fbe767630e515d WHIRLPOOL 27b2897feafbdd0b14fcca19f9d20c158dab163b5545eaf79b5509d6fd4270114a1ddb0749a179447c13724c077038ade583a0c13a915103d855c61fd439e2ec
|
||||
|
@ -0,0 +1,16 @@
|
||||
pyamg/amg_core/ruge_stuben.h | 2 ++
|
||||
1 files changed, 2 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/pyamg/amg_core/ruge_stuben.h b/pyamg/amg_core/ruge_stuben.h
|
||||
index 51cec80..d0ff9a9 100644
|
||||
--- a/pyamg/amg_core/ruge_stuben.h
|
||||
+++ b/pyamg/amg_core/ruge_stuben.h
|
||||
@@ -7,6 +7,8 @@
|
||||
#include <cassert>
|
||||
#include <limits>
|
||||
#include <algorithm>
|
||||
+#include "graph.h"
|
||||
+#include "linalg.h"
|
||||
|
||||
/*
|
||||
* Compute a strength of connection matrix using the classical strength
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST bones-3.6.5.gem 38912 SHA256 5607d63c08cb286633f79dc6824f3ec4d09750423cd5abc46169b28df9fcac8f SHA512 40e78f5997f5272c329823b881ac6deca7479ab98df2c69e3c1036f4aca518f509d2d9c95fb2fbe19bfc62222da65a63dd78e820db4c63fd9b1176c55b856f2b WHIRLPOOL 0f5bcd521e6c6958e00d2f0f5bf8ac90abf0da8fcb3bab1aa5af67c5b128c735845a2ebe885073450ec392aedaeb7ab153704bff71f6b3989bbfaf4bdd98fa88
|
||||
DIST bones-3.7.0.gem 38912 SHA256 27348eb4ba459b13d2554636f6a3595ea72796a1c43d8565f0f10b3e5319918d SHA512 cb86812a71fca9c0ae7aeaeaa3eec074c576f423ce37e7b207567474280dcf9a39057cf00a242dc3fbdca6e4a20b5d13efb9a7e37af7875884e8d55bee315990 WHIRLPOOL 7a29754efd7493fd0d9264e8c2b3c6616959e58a3ab75df580cf2ad0a17fd3e5d301dcc1faae552fac0ee05bf94efaff4001f8a2f288a01ed761149c83a6c9f1
|
||||
DIST bones-3.8.0.gem 38912 SHA256 5020aaa34eee696ec4c440f4694d38fe0af775ef9573376d906c63ceeecc6505 SHA512 04fb1e63b3d4b7fab64f37a10b30efeb3cfe189a15062de3b75674ce32d95cc924555178d61371cbd8d7430acfe969e297b00dfc52907a9f5e37cc9ead15225b WHIRLPOOL 1d4694438eaa40f6563f5547fad07d25aeddf06a230d3e2156b0343ed095517b96b510d41ecfdf2450d27b799c0b98c4c3b6064fb237139f38ce4aece6396489
|
||||
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bones/bones-3.8.0.ebuild,v 1.1 2012/08/14 14:32:45 flameeyes Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ruby19 jruby ree18"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="doc:rdoc"
|
||||
RUBY_FAKEGME_DOCDIR="doc"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="default version.txt"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Tool that creates new Ruby projects from a code skeleton"
|
||||
HOMEPAGE="http://github.com/TwP/bones"
|
||||
|
||||
IUSE="test"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/loquacious-1.7.0
|
||||
>=dev-ruby/little-plugger-1.1.2-r1
|
||||
>=dev-ruby/rake-0.8.7"
|
||||
|
||||
each_ruby_test() {
|
||||
if [[ ${RUBY} == *jruby ]]; then
|
||||
ewarn "JRuby up to 1.6.7.2 is known to crash even after passing the tests."
|
||||
return 0
|
||||
fi
|
||||
each_fakegem_test
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1 @@
|
||||
DIST domain_name-0.5.3.gem 61952 SHA256 78419503db6fa727c4731f7d3fc055a4f6fc40ad2339d135e3756fcbb8c4b25c SHA512 b6884153dd041bffd2db111ce35086dd4d6e97e5f6667b0e0fd741fb3dea087aa62ab638deb8f558924de42388df46bfa4a97bf85d76fc69fc0597e460b461f2 WHIRLPOOL 274646e83af3f82f3f5b4ce44b6dd91af73b652235afc02da91e7358f046dfb6d9ad90d1a880d539535341eeb56b0ef4eda1d5c407f6bcbcb7ad4fc2de150f70
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/domain_name/domain_name-0.5.3.ebuild,v 1.1 2012/08/14 17:39:36 flameeyes Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="none"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Domain Name manipulation library for Ruby"
|
||||
HOMEPAGE="https://github.com/knu/ruby-domain_name"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/unf-0.0.5-r1"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/test-unit-2.5.1-r1
|
||||
dev-ruby/shoulda
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/bundler/,/end/ d; i gem "unf"' test/helper.rb || die
|
||||
rm Gemfile* || die
|
||||
|
||||
# Remove development dependencies
|
||||
sed -i -e '/dependency.*\(shoulda\|bundler\|jeweler\|rdoc\)/d' \
|
||||
${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
ruby-ng_testrb-2 -Ilib:test test/test_*.rb
|
||||
}
|
@ -1,9 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>mobile</herd>
|
||||
<maintainer>
|
||||
<email>hwoarang@gentoo.org</email>
|
||||
<name>Markos Chandras</name>
|
||||
</maintainer>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,2 +1 @@
|
||||
DIST htmlentities-4.2.2.gem 31232 SHA256 f160a3406ebe538f99ed91a7a501c769dc3f79b74b999f91f41dd2b1db289653 SHA512 42fc7693f69951bdab006aba94dfc162b62f4a703789534369dbd556ee04157c46533d3f1f09366b42297d0b1b30aa1d3210fb0ff7cb27d8c0d597c3ef5c4824 WHIRLPOOL 68617adb02f315cce75e9977e723da81dea6f0ca33edf02f2f8c865fe614cb3fd66740b0348eca7f1caa2f812d8eaf54be4aee13a5903bc48545bb774d544cc0
|
||||
DIST htmlentities-4.3.1.gem 33280 SHA256 d199741b653ea3e84a55e07f4d8190806465e693b04031c63c2a215b382e0397 SHA512 6da6e1c2903622972ede1633e3d139d41bbe580097301848d9cd89e0f76d1b97ab512e444f7669763e2a4403c774bcbf0333b2b17465801c7c905f8c2acc8df6 WHIRLPOOL fe3fa7a5d9cde399bd3e42f7b6826c66c698346d73eb2434454f05e82f8047a91960c5b60d5442407e883cfbf05bb56cec6e15370821cc050d2c3ef5bd3e7ca7
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/htmlentities/htmlentities-4.2.2.ebuild,v 1.5 2011/01/02 11:39:10 phajdan.jr Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
USE_RUBY="ruby18 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A simple library for encoding/decoding entities in (X)HTML documents."
|
||||
HOMEPAGE="http://htmlentities.rubyforge.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( virtual/ruby-test-unit )"
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib:. test/test_all.rb || die "tests failed"
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,4 +1,2 @@
|
||||
DIST httpclient-2.1.5.2.tar.gz 222819 SHA256 48cae202b8cd00862b16aafb36023481cce63698de9d8e041c696f7e5ba8e601 SHA512 43dafcf9b53592b81dde2369ce56bf4127b094fd0d732bbfb9df07cd75be20b0503df2aba5dd7d05bafd856ce6d984ae398534c50ccf1a09495c74031ded200d WHIRLPOOL 4a2ee32ab34cb2af6bed603088492780414bd87a77a00a195d3d37ad0144ad2b64c0128db5b3fce170e4cb890433a68754a6bc09522d8f144909139360a1c8ec
|
||||
DIST httpclient-2.2.2.tgz 271508 SHA256 0c73fcf16a51785a4ff945b06fd698fcaf9b4dc58f486d18560c575209374e07 SHA512 4d4cd72263d07e76c6948c56008f3e8240d3b1620f677ff01d0cbd316798fe08a0e6e815b6a82938d2a208095335a6e79769421d4c8ba60aad0246f181fe9c1e WHIRLPOOL 9dcf6f283c5574545c34bc6ccb4964f9705ea23ef6fcdd02ae687b1e8d32118e67f49e7663ab81153bbe00d1a25dacab0d934f0c0f689de368420267d8522cd1
|
||||
DIST httpclient-2.2.4.tgz 271756 SHA256 7369647b83dfff9e3962585c8516ed1282446991436e44331fb78e1217cd0ea9 SHA512 90d3cfafdb398601d47662f74890e08292f9fa06680af86ed908b51e1af907c68bd487904a989377db6591e7103ae40c31a7ca72e213b822abdf1eafa4aad896 WHIRLPOOL 9ff6d32cf5b6dcb46d3b8fcbb1471a9bedc655bb825cc78985886b4b6ea7883a93976301e03e20b1dedc9c1cc5627b9723495e4811c4eb2efb331a163ea8d82a
|
||||
DIST httpclient-2.2.5.tgz 273306 SHA256 81a15e45c83416d5d77ebbe2eaa0b346bcd08eb092aa9a1e52be356662baefc2 SHA512 c0fdb174dd90a726332c5749ed89414a831ff32997d3ecfa7cbd2bc78eb5fc901dce0c6a3fc1f8762a3bcf17690f29dabbbd0933717f91f4e24445b1e50def51 WHIRLPOOL 52b5a2c02f2527c5587ce3b0ce715e3ec93d0a13c5ea8a12b28bd73180f4a07db9b720191dd2a53a9c8abb016d5fcbe7b7763429619d47cc375d562258834a79
|
||||
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httpclient/httpclient-2.1.5.2-r1.ebuild,v 1.11 2012/05/01 18:24:15 armin76 Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
USE_RUBY="ruby18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="-Ilib test"
|
||||
RUBY_FAKEGEM_TASK_DOC="-Ilib doc"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.txt"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="'httpclient' gives something like the functionality of libwww-perl (LWP) in Ruby"
|
||||
HOMEPAGE="http://dev.ctor.org/http-access2/"
|
||||
SRC_URI="http://dev.ctor.org/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="Ruby"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
!dev-ruby/http-access2"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
# tests are known to fail, but at least they fail for all
|
||||
# implementations in the same way.
|
||||
ruby_add_bdepend "test? ( virtual/ruby-test-unit )"
|
@ -1,65 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httpclient/httpclient-2.2.4.ebuild,v 1.4 2012/05/01 18:24:15 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ree18 ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="-Ilib test"
|
||||
RUBY_FAKEGEM_TASK_DOC="doc"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.txt"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="'httpclient' gives something like the functionality of libwww-perl (LWP) in Ruby"
|
||||
HOMEPAGE="https://github.com/nahi/httpclient"
|
||||
SRC_URI="https://github.com/nahi/httpclient/tarball/v${PV} -> ${P}.tgz"
|
||||
RUBY_S="nahi-httpclient-*"
|
||||
|
||||
LICENSE="Ruby"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
!dev-ruby/http-access2"
|
||||
|
||||
ruby_add_rdepend "virtual/ruby-ssl"
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/rdoc )"
|
||||
|
||||
all_ruby_prepare () {
|
||||
rm Gemfile || die
|
||||
sed -i -e '/[bB]undler/s:^:#:' Rakefile || die
|
||||
|
||||
# Comment out harmless test failures with ruby 1.8, bug 411191
|
||||
sed -i -e '228,268 s:^:#:' test/test_http-access2.rb || die
|
||||
|
||||
# Comment out test requiring network access that makes assumptions
|
||||
# about the environment, bug 395155
|
||||
sed -i -e '/test_async_error/,/^ end/ s:^:#:' test/test_httpclient.rb || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
# Don't run two tests that are known to fail with jruby. This is a
|
||||
# bug in jruby that won't be fixed until jruby 1.7.
|
||||
# https://github.com/nahi/httpclient/issues/61
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
sed -i -e '/test_get_gzipped_content/,/end/s:^:#:' \
|
||||
-e '/test_socket_local/,/^ end/s:^:#:' \
|
||||
test/test_httpclient.rb
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib -S testrb test/test_*.rb || die
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue