parent
69587153c4
commit
fdf79fe193
@ -1,15 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>proxy-maintainers</herd>
|
||||
<maintainer>
|
||||
<email>nullishzero@gmail.com</email>
|
||||
<email>nullishzero@gentoo.org</email>
|
||||
<name>Pavel Kazakov</name>
|
||||
<description>Maintainer. Assign bugs to him</description>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>pinkbyte@gentoo.org</email>
|
||||
<name>Sergey Popov</name>
|
||||
<description>Proxy maintainer. CC him on bugs</description>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- syslog-ng-3.4.1.orig/modules/afmongodb/libmongo-client/configure.ac
|
||||
+++ syslog-ng-3.4.1/modules/afmongodb/libmongo-client/configure.ac
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
||||
-AM_CONFIG_HEADER(config.h)
|
||||
+AC_CONFIG_HEADERS(config.h)
|
||||
|
||||
AC_ARG_WITH([versioned-symbols], AC_HELP_STRING([--with-versioned-symbols],[Use versioned symbols]),[dnl
|
||||
vsymldflags="-Wl,--version-script,\${srcdir}/libmongo-client.ver -Wl,-O1"
|
@ -0,0 +1,105 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/syslog-ng-3.4.4.ebuild,v 1.1 2013/10/17 16:08:09 mr_bones_ Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils multilib systemd
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
DESCRIPTION="syslog replacement with advanced filtering features"
|
||||
HOMEPAGE="http://www.balabit.com/network-security/syslog-ng"
|
||||
SRC_URI="http://www.balabit.com/downloads/files/syslog-ng/sources/${MY_PV}/source/syslog-ng_${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="caps dbi geoip ipv6 json mongodb +pcre smtp spoof-source ssl systemd tcpd"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
pcre? ( dev-libs/libpcre )
|
||||
spoof-source? ( net-libs/libnet:1.1 )
|
||||
ssl? ( dev-libs/openssl:= )
|
||||
smtp? ( net-libs/libesmtp )
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
|
||||
>=dev-libs/eventlog-0.2.12
|
||||
>=dev-libs/glib-2.10.1:2
|
||||
json? ( >=dev-libs/json-c-0.9 )
|
||||
caps? ( sys-libs/libcap )
|
||||
geoip? ( >=dev-libs/geoip-1.5.0 )
|
||||
dbi? ( >=dev-db/libdbi-0.8.3 )
|
||||
systemd? ( sys-apps/systemd )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
sys-devel/flex"
|
||||
|
||||
S=${WORKDIR}/${PN}-${MY_PV}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PV%.*}/${P}-autotools.patch
|
||||
mv configure.in configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-ivykis=internal \
|
||||
--with-libmongo-client=internal \
|
||||
--sysconfdir=/etc/syslog-ng \
|
||||
--localstatedir=/var/lib/syslog-ng \
|
||||
--with-pidfile-dir=/var/run \
|
||||
--with-module-dir=/usr/$(get_libdir)/syslog-ng \
|
||||
$(systemd_with_unitdir) \
|
||||
$(use_enable systemd) \
|
||||
$(use_enable caps linux-caps) \
|
||||
$(use_enable geoip) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable json) \
|
||||
$(use_enable mongodb) \
|
||||
$(use_enable pcre) \
|
||||
$(use_enable smtp) \
|
||||
$(use_enable spoof-source) \
|
||||
$(use_enable dbi sql) \
|
||||
$(use_enable ssl) \
|
||||
$(use_enable tcpd tcp-wrapper)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# -j1 for bug #484470
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
|
||||
dodoc AUTHORS NEWS contrib/syslog-ng.conf* contrib/syslog2ng \
|
||||
"${FILESDIR}/${PV%.*}/syslog-ng.conf.gentoo.hardened" \
|
||||
"${FILESDIR}/syslog-ng.logrotate.hardened" \
|
||||
"${FILESDIR}/README.hardened"
|
||||
|
||||
# Install default configuration
|
||||
insinto /etc/syslog-ng
|
||||
if use userland_BSD ; then
|
||||
newins "${FILESDIR}/${PV%.*}/syslog-ng.conf.gentoo.fbsd" syslog-ng.conf
|
||||
else
|
||||
newins "${FILESDIR}/${PV%.*}/syslog-ng.conf.gentoo" syslog-ng.conf
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/syslog-ng.logrotate" syslog-ng
|
||||
|
||||
newinitd "${FILESDIR}/${PV%.*}/syslog-ng.rc6" syslog-ng
|
||||
newconfd "${FILESDIR}/${PV%.*}/syslog-ng.confd" syslog-ng
|
||||
keepdir /etc/syslog-ng/patterndb.d /var/lib/syslog-ng
|
||||
prune_libtool_files --modules
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "For detailed documentation please see the upstream website:"
|
||||
elog "http://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.4-guides/en/syslog-ng-ose-v3.4-guide-admin/html/index.html"
|
||||
|
||||
# bug #355257
|
||||
if ! has_version app-admin/logrotate ; then
|
||||
echo
|
||||
elog "It is highly recommended that app-admin/logrotate be emerged to"
|
||||
elog "manage the log files. ${PN} installs a file in /etc/logrotate.d"
|
||||
elog "for logrotate to use."
|
||||
echo
|
||||
fi
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST rear-1.15.tar.gz 258153 SHA256 77c257a692c5e8c9e6deadf194d092718fd90e727ad3df9ed525b3a2e42f0cef SHA512 dc953c33b82f221de6c2acd7ffbb26c34b86aebcd7f8a4d7d520a1d08c15c723fed75326b8e19614f5e09f6436d392091b362b350ffad06caf10c711eb97fcb2 WHIRLPOOL e9811925d0e4a4e5d155be09f1ab212b5d70b687031c53d7c599dbbdd89d2d8aa0edb96550b9999dc7ed0ae1975b586a13eb3c666752e82bfa678fc02f84bee4
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>proxy-maintainers</herd>
|
||||
<maintainer>
|
||||
<email>morlix@morlix.de</email>
|
||||
<name>Timo Eissler</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Relax and Recover (Rear) is the leading Open Source disaster recovery solution, and successor to mkcdrec. It comprises of a modular framework and ready-to-go workflows for many common situations to produce a bootable image and restore from backup using this image. As a benefit, it allows to restore to different hardware and can therefore be used as a migration tool as well.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name='udev'>Have ReaR start backup when attaching your USB drive.</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/rear/rear-1.15.ebuild,v 1.1 2013/10/17 18:48:39 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
DESCRIPTION="Fully automated disaster recovery supporting a broad variety of backup strategies and scenarios."
|
||||
HOMEPAGE="http://relax-and-recover.org/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="udev"
|
||||
|
||||
RDEPEND="dev-libs/openssl
|
||||
net-dialup/mingetty
|
||||
net-fs/nfs-utils
|
||||
sys-apps/iproute2
|
||||
sys-apps/lsb-release
|
||||
sys-apps/util-linux
|
||||
sys-block/parted
|
||||
sys-boot/syslinux
|
||||
virtual/cdrtools
|
||||
udev? ( virtual/udev )
|
||||
"
|
||||
|
||||
src_compile () { :; }
|
||||
|
||||
src_install () {
|
||||
# Deploy udev USB rule and udev will autostart ReaR workflows in case a USB
|
||||
# drive with the label 'REAR_000' is connected, which in turn is the
|
||||
# default label when running the `rear format` command.
|
||||
if use udev ; then
|
||||
insinto /lib/udev/rules.d
|
||||
doins etc/udev/rules.d/62-${PN}-usb.rules
|
||||
fi
|
||||
|
||||
# Copy main script-file and documentation.
|
||||
dosbin usr/sbin/${PN}
|
||||
doman doc/${PN}.8
|
||||
dodoc README
|
||||
|
||||
# Copy configurations files.
|
||||
insinto /etc
|
||||
doins -r etc/${PN}/
|
||||
|
||||
insinto /usr/share/
|
||||
doins -r usr/share/${PN}/
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
# HG changeset patch
|
||||
# User Antoine Pitrou <solipsis@pitrou.net>
|
||||
# Date 1375388712 -7200
|
||||
# Node ID 0f17aed78168e63ec058c219d03cea7240f83dd6
|
||||
# Parent bb546f6d8ab4f513804d7a420657963881e5b447
|
||||
Fix tkinter regression introduced by the security fix in #16248.
|
||||
|
||||
diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py
|
||||
--- a/Lib/lib-tk/Tkinter.py
|
||||
+++ b/Lib/lib-tk/Tkinter.py
|
||||
@@ -1736,7 +1736,7 @@ class Tk(Misc, Wm):
|
||||
# ensure that self.tk is always _something_.
|
||||
self.tk = None
|
||||
if baseName is None:
|
||||
- import sys, os
|
||||
+ import os
|
||||
baseName = os.path.basename(sys.argv[0])
|
||||
baseName, ext = os.path.splitext(baseName)
|
||||
if ext not in ('.py', '.pyc', '.pyo'):
|
@ -0,0 +1,19 @@
|
||||
# HG changeset patch
|
||||
# User Georg Brandl <georg@python.org>
|
||||
# Date 1379142489 -7200
|
||||
# Node ID c18c18774e240377d47638fb23e8276c1ac2e606
|
||||
# Parent b9b521efeba385af0142988899a55de1c1c805c7
|
||||
Fix tkinter regression introduced by the security fix in #16248.
|
||||
|
||||
diff --git a/Lib/tkinter/__init__.py b/Lib/tkinter/__init__.py
|
||||
--- a/Lib/tkinter/__init__.py
|
||||
+++ b/Lib/tkinter/__init__.py
|
||||
@@ -1722,7 +1722,7 @@ class Tk(Misc, Wm):
|
||||
# ensure that self.tk is always _something_.
|
||||
self.tk = None
|
||||
if baseName is None:
|
||||
- import sys, os
|
||||
+ import os
|
||||
baseName = os.path.basename(sys.argv[0])
|
||||
baseName, ext = os.path.splitext(baseName)
|
||||
if ext not in ('.py', '.pyc', '.pyo'):
|
@ -0,0 +1,132 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.28.6-r55.ebuild,v 1.1 2013/10/17 18:05:46 mgorny Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit autotools eutils gnome2 python-r1 virtualx
|
||||
|
||||
DESCRIPTION="GLib's GObject library bindings for Python"
|
||||
HOMEPAGE="http://www.pygtk.org/"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="examples libffi test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
COMMON_DEPEND=">=dev-libs/glib-2.24.0:2
|
||||
dev-python/python-exec:2
|
||||
libffi? ( virtual/libffi:= )
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/gtk-doc-am
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
media-fonts/font-cursor-misc
|
||||
media-fonts/font-misc-misc )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!<dev-python/pygtk-2.23"
|
||||
|
||||
src_prepare() {
|
||||
# Fix FHS compliance, see upstream bug #535524
|
||||
epatch "${FILESDIR}/${PN}-2.28.3-fix-codegen-location.patch"
|
||||
|
||||
# Do not build tests if unneeded, bug #226345
|
||||
epatch "${FILESDIR}/${PN}-2.28.3-make_check.patch"
|
||||
|
||||
# Support installation for multiple Python versions, upstream bug #648292
|
||||
epatch "${FILESDIR}/${PN}-2.28.3-support_multiple_python_versions.patch"
|
||||
|
||||
# Disable tests that fail
|
||||
epatch "${FILESDIR}/${P}-disable-failing-tests.patch"
|
||||
|
||||
# Disable introspection tests when we build with --disable-introspection
|
||||
epatch "${FILESDIR}/${P}-tests-no-introspection.patch"
|
||||
|
||||
# Fix warning spam
|
||||
epatch "${FILESDIR}/${P}-set_qdata.patch"
|
||||
epatch "${FILESDIR}/${P}-gio-types-2.32.patch"
|
||||
|
||||
# Fix glib-2.36 compatibility, bug #486602
|
||||
epatch "${FILESDIR}/${P}-glib-2.36-class_init.patch"
|
||||
|
||||
sed -i \
|
||||
-e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
|
||||
-e 's:AM_PROG_CC_STDC:AC_PROG_CC:' \
|
||||
configure.ac || die
|
||||
|
||||
eautoreconf
|
||||
gnome2_src_prepare
|
||||
|
||||
python_copy_sources
|
||||
|
||||
prepare_shebangs() {
|
||||
# Make a backup with unconverted shebangs to keep python_doscript happy
|
||||
cp codegen/codegen.py pygobject-codegen-2.0
|
||||
sed -e "s%#! \?/usr/bin/env python%#!${PYTHON}%" \
|
||||
-i codegen/*.py || die "shebang convertion failed"
|
||||
}
|
||||
python_foreach_impl run_in_build_dir prepare_shebangs
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
DOCS="AUTHORS ChangeLog* NEWS README"
|
||||
# --disable-introspection and --disable-cairo because we use pygobject:3
|
||||
# for introspection support
|
||||
G2CONF="${G2CONF}
|
||||
--disable-introspection
|
||||
--disable-cairo
|
||||
$(use_with libffi ffi)"
|
||||
|
||||
python_foreach_impl run_in_build_dir gnome2_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl run_in_build_dir gnome2_src_compile
|
||||
}
|
||||
|
||||
# FIXME: With python multiple ABI support, tests return 1 even when they pass
|
||||
src_test() {
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
export GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs
|
||||
|
||||
testing() {
|
||||
export XDG_CACHE_HOME="${T}/${EPYTHON}"
|
||||
run_in_build_dir Xemake -j1 check
|
||||
unset XDG_CACHE_HOME
|
||||
}
|
||||
python_foreach_impl testing
|
||||
unset GIO_USE_VFS
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installing() {
|
||||
local f prefixed_sitedir
|
||||
|
||||
gnome2_src_install
|
||||
|
||||
python_doscript pygobject-codegen-2.0
|
||||
|
||||
# Don't keep multiple copies of pygobject-codegen-2.0 script
|
||||
prefixed_sitedir=$(python_get_sitedir)
|
||||
dosym "${prefixed_sitedir#${EPREFIX}}/gtk-2.0/codegen/codegen.py" "/usr/lib/python-exec/${EPYTHON}/pygobject-codegen-2.0"
|
||||
}
|
||||
python_foreach_impl run_in_build_dir installing
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
fi
|
||||
}
|
||||
|
||||
run_in_build_dir() {
|
||||
pushd "${BUILD_DIR}" > /dev/null || die
|
||||
"$@"
|
||||
popd > /dev/null
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST pymongo-2.5.2.tar.gz 303234 SHA256 84ac1da67d0dabc711fa8259324d4e94b26a85411bcf0c12dc80a427d9f93ecc SHA512 6137bfcd60776b819a4ca4eb09ba3058a62696ab3533646c5f735ec4d336aa888cf0b8b1975acf1522bbd04416ff4337bf8481a0506421730dfdf712232c75c7 WHIRLPOOL 65c9ef69dd75af13ec7e05e77d2f9afc19c32723901bdf28488121770f53dec340721cb6e891d8cd9009547d95957f61dbf9bef72e725f79bcab38a41d94fba7
|
||||
DIST pymongo-2.6.1.tar.gz 322608 SHA256 1ed87e7b297f4dfbf9a40176ffeb7faf1ac0b0952d290380f7e632a8fb93694c SHA512 f2163d1d871ad0f982263ff04277a89c25d3efa4bc9d723844b85c18ca643615057eee3e5c215f8e6f0c636cd17a76eb708ee68e94ac4f1a63febe04aabafb2b WHIRLPOOL 7f1813388edc8b56fd9d5a1de7bfdb96540f7f9509c8dd2bcd0dc1c5093b510b4718cefd1ca5d202147ced6440273614f6e4204129e73305b91c95d540370565
|
||||
DIST pymongo-2.6.2.tar.gz 322913 SHA256 091d584f7b5d8de60bf6152d9269ec9a29ae7fa34415862b2f092af393233c4e SHA512 786119c788d716bb78a2e40f4a98f1d9be2e5945162ea7b24b5b39535872ba509f75aaeff535ba9cdc483147a4498ffbdf0d483a78464c6075b76bc0816a0cf1 WHIRLPOOL afac43b7d567ab3a629aad3a26ffb5583a1d1a12e4477f6826992ee71431e1947591918895f0dcf0ec48c261c583823534f1e0d1c31746d1651bb273b0f75617
|
||||
DIST pymongo-2.6.3.tar.gz 324241 SHA256 cabe1d785ad5db6ed8ff70dcb9c987958fc75400f066ec78911ca3f37184a4e2 SHA512 6da3cbf035b52379c24df37b76e1eb743b12c1026116e28e4e7b6450e2674d730f9c8c2dd85f352c6ee4c9f604decaffc2dbc57fe64268bd7522d8ce155cca9e WHIRLPOOL ac36dd88c4311237ecda66a6008fa0d89d0670e331df6c49a08a1d3bc4ddcafe72e8e003009c206d3ac12afb1b14afe2d3615834a5a8df5ce30442f7b49fdbf2
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/pymongo-2.6.1.ebuild,v 1.2 2013/09/05 18:47:15 mgorny Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/pymongo-2.6.3.ebuild,v 1.1 2013/10/17 10:47:13 ultrabug Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1,2 +1 @@
|
||||
DIST python-magic-0.4.3.tar.gz 2775 SHA256 d49a5f1b51dce2b0313bf147a1ff96da25037fe2279cab386731e05f3b232937 SHA512 79816b620f3124739f6b4f04eca7b7e770ee4c09c1371b3c53a3e9fe5ad7ba1a23c52c15ae90a897ace4768f345bab207a62b3a2d0aafd8db5bbc2410705ee35 WHIRLPOOL e29ac701f3bb64efc25180cb2bd5a7aa367b54bdd30d59ce491ef0c39d5125baba643568be4d07e524d2a10ba8692dc0a693ca81e12bcb9139615d2ed8792621
|
||||
DIST python-magic-0.4.6.tar.gz 3462 SHA256 903d3d3c676e2b1244892954e2bbbe27871a633385a9bfe81f1a81a7032df2fe SHA512 66c3a7a3120ea360422fe422c373a403a21be674f8df213a80ce83b02051cc1f0d0a2aaa7b4d512194e6914d801062036bdfa5155ead350dde154725808944f6 WHIRLPOOL 03fdb881140bdc4cb985fe5854245f067fdfcfa8bf0c8e7d7984ac0708d4978298b69ccb54401038c3c14049ba2e9293db66c48bf025607e139bcf194406fbbe
|
||||
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-magic/python-magic-0.4.3.ebuild,v 1.3 2013/09/05 18:46:42 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Access the libmagic file type identification library"
|
||||
HOMEPAGE="https://github.com/ahupp/python-magic"
|
||||
SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="sys-apps/file"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,89 @@
|
||||
# Description: Fix python2.6 deprecation warnings
|
||||
# Origin: Ubuntu
|
||||
# Author: Alessio Treglia <quadrispro@ubuntu.com>
|
||||
# Bug-Ubuntu: https://bugs.launchpad.net/bugs/394775
|
||||
diff -Nur -x '*.orig' -x '*~' pyzor-0.5.0/lib/pyzor/client.py pyzor-0.5.0.new/lib/pyzor/client.py
|
||||
--- pyzor-0.5.0/lib/pyzor/client.py 2009-04-29 22:53:50.000000000 +0200
|
||||
+++ pyzor-0.5.0.new/lib/pyzor/client.py 2009-08-01 12:27:55.749263645 +0200
|
||||
@@ -10,7 +10,7 @@
|
||||
import tempfile
|
||||
import mimetools
|
||||
import multifile
|
||||
-import sha
|
||||
+import hashlib
|
||||
|
||||
import pyzor
|
||||
from pyzor import *
|
||||
@@ -402,12 +402,12 @@
|
||||
del p2
|
||||
|
||||
saltfile = open(randfile)
|
||||
- salt = saltfile.read(sha.digest_size)
|
||||
+ salt = saltfile.read(hashlib.sha1().digest_size)
|
||||
del saltfile
|
||||
|
||||
- salt_digest = sha.new(salt)
|
||||
+ salt_digest = hashlib.sha1(salt)
|
||||
|
||||
- pass_digest = sha.new()
|
||||
+ pass_digest = hashlib.sha1()
|
||||
pass_digest.update(salt_digest.digest())
|
||||
pass_digest.update(p1)
|
||||
sys.stdout.write("salt,key:\n")
|
||||
@@ -498,7 +498,7 @@
|
||||
if len(offsets) == 0:
|
||||
return
|
||||
|
||||
- self._digest = sha.new()
|
||||
+ self._digest = hashlib.sha1()
|
||||
|
||||
if len(offsets) <= self.atomic_num_lines:
|
||||
self.handle_atomic(fp)
|
||||
diff -Nur -x '*.orig' -x '*~' pyzor-0.5.0/lib/pyzor/__init__.py pyzor-0.5.0.new/lib/pyzor/__init__.py
|
||||
--- pyzor-0.5.0/lib/pyzor/__init__.py 2009-04-29 22:53:50.000000000 +0200
|
||||
+++ pyzor-0.5.0.new/lib/pyzor/__init__.py 2009-08-01 12:28:20.268413580 +0200
|
||||
@@ -8,7 +8,7 @@
|
||||
import os.path
|
||||
import re
|
||||
import sys
|
||||
-import sha
|
||||
+import hashlib
|
||||
import tempfile
|
||||
import random
|
||||
import ConfigParser
|
||||
@@ -114,7 +114,7 @@
|
||||
|
||||
class DataDigest(str):
|
||||
# hex output doubles digest size
|
||||
- value_size = sha.digest_size * 2
|
||||
+ value_size = hashlib.sha1().digest_size * 2
|
||||
|
||||
def __init__(self, value):
|
||||
if len(value) != self.value_size:
|
||||
@@ -285,7 +285,7 @@
|
||||
"""returns a digest object"""
|
||||
typecheck(msg, Message)
|
||||
|
||||
- return sha.new(str(msg))
|
||||
+ return hashlib.sha1(str(msg))
|
||||
|
||||
hash_msg = staticmethod(hash_msg)
|
||||
|
||||
@@ -295,7 +295,7 @@
|
||||
typecheck(key, long)
|
||||
typecheck(user, Username)
|
||||
|
||||
- return sha.new("%s:%x" % (Username, key)).hexdigest().lower()
|
||||
+ return hashlib.sha1("%s:%x" % (Username, key)).hexdigest().lower()
|
||||
|
||||
hash_key = staticmethod(hash_key)
|
||||
|
||||
@@ -316,7 +316,7 @@
|
||||
|
||||
h_msg = self.hash_msg(msg)
|
||||
|
||||
- return sha.new("%s:%d:%s" % (h_msg.digest(), ts, hashed_key)).hexdigest().lower()
|
||||
+ return hashlib.sha1("%s:%d:%s" % (h_msg.digest(), ts, hashed_key)).hexdigest().lower()
|
||||
|
||||
sign_msg = classmethod(sign_msg)
|
||||
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyzor/pyzor-0.5.0-r2.ebuild,v 1.1 2013/10/16 21:46:22 hanno Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
PYTHON_USE_WITH="gdbm"
|
||||
PYTHON_USE_WITH_OPT="pyzord"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
DESCRIPTION="A distributed, collaborative spam detection and filtering network"
|
||||
HOMEPAGE="http://pyzor.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="pyzord"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
DOCS="THANKS UPGRADING"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/pyzord_getopt.patch"
|
||||
epatch "${FILESDIR}/${P}-python26_warnings.patch"
|
||||
|
||||
# rfc822BodyCleanerTest doesn't work fine.
|
||||
# Remove it until it's fixed.
|
||||
sed -i \
|
||||
-e '/rfc822BodyCleanerTest/,/self\.assertEqual/d' \
|
||||
unittests.py || die "sed in unittest.py failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" unittests.py
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install () {
|
||||
distutils_src_install
|
||||
|
||||
dohtml docs/usage.html
|
||||
rm -rf "${ED}usr/share/doc/pyzor"
|
||||
|
||||
if use pyzord; then
|
||||
dodir /usr/sbin
|
||||
mv "${ED}"usr/bin/pyzord* "${ED}usr/sbin"
|
||||
else
|
||||
rm "${ED}"usr/bin/pyzord*
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
|
||||
if use pyzord; then
|
||||
ewarn "/usr/bin/pyzord has been moved to /usr/sbin"
|
||||
fi
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/simplejson/simplejson-3.3.1.ebuild,v 1.1 2013/10/17 06:49:16 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_3} pypy2_0 )
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="Simple, fast, extensible JSON encoder/decoder for Python"
|
||||
HOMEPAGE="http://undefined.org/python/#simplejson http://pypi.python.org/pypi/simplejson"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( MIT AFL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
|
||||
python_compile() {
|
||||
if [[ ${EPYTHON} == python2* ]]; then
|
||||
local CFLAGS=${CFLAGS}
|
||||
append-cflags -fno-strict-aliasing
|
||||
fi
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/actionmailer-3.2.15.ebuild,v 1.1 2013/10/17 06:36:47 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Framework for designing email-service layers"
|
||||
HOMEPAGE="http://rubyforge.org/projects/actionmailer/"
|
||||
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/actionpack-${PV}
|
||||
>=dev-ruby/mail-2.5.4:2.5"
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/test-unit:2
|
||||
dev-ruby/mocha:0.13
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
||||
sed -i -e '/\/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
|
||||
|
||||
# Make sure we use the test-unit gem since ruby18 does not provide
|
||||
# all the test-unit features needed.
|
||||
sed -i -e '1igem "test-unit"' test/abstract_unit.rb || die
|
||||
}
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-3.2.15.ebuild,v 1.1 2013/10/17 06:36:21 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
# The default test task tries to test activerecord with SQLite as well.
|
||||
RUBY_FAKEGEM_TASK_TEST="test_action_pack"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Eases web-request routing, handling, and response."
|
||||
HOMEPAGE="http://rubyforge.org/projects/actionpack/"
|
||||
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activemodel-${PV}
|
||||
~dev-ruby/activesupport-${PV}
|
||||
>=dev-ruby/rack-cache-1.2
|
||||
>=dev-ruby/builder-3.0.0:3
|
||||
>=dev-ruby/rack-1.4.5:1.4
|
||||
>=dev-ruby/rack-test-0.6.1:0.6
|
||||
>=dev-ruby/journey-1.0.4:1.0
|
||||
>=dev-ruby/sprockets-2.2.1:2.2
|
||||
>=dev-ruby/erubis-2.7.0"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/mocha:0.13
|
||||
dev-ruby/bundler
|
||||
~dev-ruby/activerecord-${PV}
|
||||
~dev-ruby/actionmailer-${PV}
|
||||
>=dev-ruby/tzinfo-0.3.29:0
|
||||
>=dev-ruby/uglifier-1.0.3
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\)/d" ../Gemfile || die
|
||||
|
||||
sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
|
||||
sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
|
||||
|
||||
sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die
|
||||
|
||||
# Avoid fragile tests depending on hash ordering
|
||||
sed -i -e '/cookie_3=chocolate/ s:^:#:' test/controller/integration_test.rb || die
|
||||
sed -i -e '/test_to_s/,/end/ s:^:#:' test/template/html-scanner/tag_node_test.rb || die
|
||||
sed -i -e '/"name":"david"/ s:^:#:' test/controller/mime_responds_test.rb || die
|
||||
sed -i -e '/test_option_html_attributes_with_multiple_element_hash/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die
|
||||
sed -i -e '/test_option_html_attributes_with_multiple_hashes/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die
|
||||
|
||||
# Avoid fragile test that gets more output than it expects.
|
||||
sed -i -e '/test_locals_option_to_assert_template_is_not_supported/,/end/ s:^:#:' test/controller/render_test.rb || die
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST rails-3.1.12.tgz 3394369 SHA256 2321d18cd5b5c4929f09472d17fd05e21cc6470d7efd2886bfcf52bb89dbdfcc SHA512 49b886bf05c1c51b67cdf4a7ad688e633bdd0b180ef328f18c942cd13095668ed70cfe3b40ed2d77a2c8ca8c3d8474413dfa25c282afabe21ce790567874716f WHIRLPOOL 66e9d9709b7e8b00b096c43a5c5703fd20addf020c10df5764457ebf6ac515451f9e6db93a4925da9ab88e6942427f5a7fc0d20cf6381e8530f830605db7503e
|
||||
DIST rails-3.2.13.tgz 3555972 SHA256 2dfc2f80d40854c765da07306dfca6a7a4db34588d1fa2265e2312bcd00df1b8 SHA512 8123838a8bb169a78aeebf3cb85df7f1a8e99b04656354c6270a3251b92c9fee62e030052d829322cad5d85b093b1b6114718ea00bb5e37e98a10eac74dad23c WHIRLPOOL 5ee2200082abc36729d4343e0620eb24298260c80ec6f3fef07766a273ada6603b7885a9ada0cefbf5b2435fb4b1484ca60fda0a26e945318d20f9812ed834b2
|
||||
DIST rails-3.2.14.tgz 3565569 SHA256 1acc8b591d72488c5171f059ae08b201db754bc9d65c95ce9cdd956fd59e038e SHA512 a5c4f0ff326e048b7c3ed3b45278141787c352959602330f4028d74b517634fcd2d2fc9928c350a39a8c42bd98b21271f51a9b306ce26dcbd078c29d0dea4c56 WHIRLPOOL 9117d9cb0e03116c322f13738532c2412a895c1681c305510ec4f20a15b12c5f89e15b0bab2497d01b8b68994efc9946466f02ff828911e2da8b8be853e09db1
|
||||
DIST rails-3.2.15.tgz 3566493 SHA256 6fc98f28742e6423efd151d4a0005c10cdf83bf1cef3350042f305d15474b286 SHA512 c2fa25a81b5c77a9054fc8b42a9fdc0733ef175a981ccdbff77eb33a08aa299c3a3ca9469ab80234b01fbc4eef7ccf09c4b3f55dd04e81bf4f8cbfc7eaf58719 WHIRLPOOL 18e8f8b2b90886bca4572efe24508fb77f5a227fd3f3d4732da68f52baea9a2fdf7b620023c8cf229354e4fca85eb9f28886b7b27f862693dbd383a063e961cd
|
||||
DIST rails-4.0.0.tgz 3705371 SHA256 644601ae66881313346ffeacd9ea372d249df55aa7abe853acdcb231fffe6bbf SHA512 3e03f25de83ff894a7affdebe948fd151cff81c8ec906692119036633d891c9ba5cbb312e3ab32f1e62f4a383fcfc2e878daeb62fc04336e932b2e2bda63f7cf WHIRLPOOL 792513f2fdfcbc2a57633e3ef344943948e5614c638b06cae1245fd84716d84b5391a7906123a94a1a325ad789bdc465a4f7e2b774924bd0f18d341c29109a82
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activemodel/activemodel-3.2.15.ebuild,v 1.1 2013/10/17 06:34:40 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activemodel.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="A toolkit for building modeling frameworks like Active Record and Active Resource."
|
||||
HOMEPAGE="http://github.com/rails/rails"
|
||||
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
>=dev-ruby/builder-3.0.0:3
|
||||
>=dev-ruby/bcrypt-ruby-3.0.0"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/test-unit:2
|
||||
>=dev-ruby/mocha-0.13.0:0.13
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
||||
sed -i -e '/load_paths/d' test/cases/helper.rb || die "Unable to remove load paths"
|
||||
|
||||
# Make sure we use the test-unit gem since ruby18 does not provide
|
||||
# all the test-unit features needed.
|
||||
sed -i -e '1igem "test-unit"' test/cases/helper.rb || die
|
||||
|
||||
# Fix bcrypt dependency since bcrypt uses semantic versioning.
|
||||
sed -i -e '/bcrypt-ruby/ s/3.0.0/3.0/' lib/active_model/secure_password.rb || die
|
||||
}
|
@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-3.2.15.ebuild,v 1.1 2013/10/17 06:37:26 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
# this is not null so that the dependencies will actually be filled
|
||||
RUBY_FAKEGEM_TASK_TEST="test"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
|
||||
HOMEPAGE="http://rubyforge.org/projects/activerecord/"
|
||||
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="mysql postgres sqlite3"
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/activesupport-${PV}
|
||||
~dev-ruby/activemodel-${PV}
|
||||
>=dev-ruby/arel-3.0.2:3.0
|
||||
>=dev-ruby/tzinfo-0.3.29:0
|
||||
sqlite3? ( >=dev-ruby/sqlite3-1.3.5 )
|
||||
mysql? ( >=dev-ruby/mysql2-0.3.10:0.3 )
|
||||
postgres? ( >=dev-ruby/pg-0.11.0 )"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/bundler
|
||||
~dev-ruby/actionpack-${PV}
|
||||
>=dev-ruby/sqlite3-1.3.5
|
||||
dev-ruby/mocha:0.13
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\)/d" ../Gemfile || die
|
||||
sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
|
||||
sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
|
||||
|
||||
sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die
|
||||
|
||||
# Avoid tests depending on hash ordering
|
||||
sed -i -e '/test_should_automatically_build_new_associated/,/ end/ s:^:#:' test/cases/nested_attributes_test.rb || die
|
||||
|
||||
# Avoid test depending on mysql adapter which we don't support for
|
||||
# this Rails version to simplify our dependencies.
|
||||
rm test/cases/connection_specification/resolver_test.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
;;
|
||||
*rubyee18)
|
||||
# Turn on travis support to avoid tripping bugs in ree18.
|
||||
TRAVIS=true ${RUBY} -S rake test_sqlite3
|
||||
;;
|
||||
*)
|
||||
if use sqlite3; then
|
||||
${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activeresource/activeresource-3.2.15.ebuild,v 1.1 2013/10/17 06:35:02 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activeresource.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Think Active Record for web resources.."
|
||||
HOMEPAGE="http://rubyforge.org/projects/activeresource/"
|
||||
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/activesupport-${PV}
|
||||
dev-ruby/builder:3"
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/test-unit:2
|
||||
>=dev-ruby/mocha-0.13.0:0.13
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
||||
sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
|
||||
|
||||
# Make sure we use the test-unit gem since ruby18 does not provide
|
||||
# all the test-unit features needed.
|
||||
sed -i -e '1igem "test-unit"' test/abstract_unit.rb || die
|
||||
}
|
@ -0,0 +1,75 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activesupport/activesupport-3.2.15.ebuild,v 1.1 2013/10/17 06:33:48 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby18 ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
|
||||
|
||||
RUBY_FAKEGEM_BINWRAP=""
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Utility Classes and Extension to the Standard Library"
|
||||
HOMEPAGE="http://rubyforge.org/projects/activesupport/"
|
||||
SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/multi_json-1.0
|
||||
>=dev-ruby/i18n-0.6.4:0.6
|
||||
!!<dev-ruby/activesupport-3.0.11-r1:3.0"
|
||||
|
||||
# memcache-client, nokogiri, and builder are not strictly
|
||||
# needed, but there are tests using this code.
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/test-unit:2
|
||||
>=dev-ruby/memcache-client-1.5.8
|
||||
dev-ruby/nokogiri
|
||||
>=dev-ruby/builder-3.0.3:3
|
||||
>=dev-ruby/tzinfo-0.3.29
|
||||
)"
|
||||
|
||||
# libxml is not strictly needed, there are tests using this code. jruby
|
||||
# uses a different xml implementation.
|
||||
USE_RUBY=${USE_RUBY/jruby/} ruby_add_bdepend "test? ( >=dev-ruby/libxml-2.0.0 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
# rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
||||
sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
|
||||
|
||||
# Make sure we use the test-unit gem since ruby18 does not provide
|
||||
# all the test-unit features needed.
|
||||
sed -i -e '1igem "test-unit"' test/abstract_unit.rb || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
case ${RUBY} in
|
||||
*ruby18)
|
||||
# Skip failing ruby18 tests related to JSON serialization
|
||||
rm test/message_encryptor_test.rb test/message_verifier_test.rb || die
|
||||
;;
|
||||
*jruby)
|
||||
# Ignore failing tests on jruby in the interest of a security update
|
||||
sed -i -e '/test_not_allowed_to_expand_parameter_entities_to_files/,/^ end/ s:^:#:' \
|
||||
-e '/test_exception_thrown_on_expansion_attack/,/^ end/ s:^:#:' \
|
||||
test/xml_mini/jdom_engine_test.rb || die
|
||||
sed -i \
|
||||
-e '/test_exception_thrown_on_expansion_attack/,/^ end/ s:^:#:' \
|
||||
test/xml_mini/nokogiri_engine_test.rb || die
|
||||
;;
|
||||
esac
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/rails-3.2.15.ebuild,v 1.1 2013/10/17 06:38:26 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_BINWRAP=""
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="ruby on rails is a web-application and persistance framework"
|
||||
HOMEPAGE="http://www.rubyonrails.org"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
IUSE="+asset-pipeline"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/actionmailer-${PV}
|
||||
~dev-ruby/actionpack-${PV}
|
||||
~dev-ruby/activerecord-${PV}
|
||||
~dev-ruby/activeresource-${PV}
|
||||
~dev-ruby/activesupport-${PV}
|
||||
=dev-ruby/bundler-1*
|
||||
~dev-ruby/railties-${PV}
|
||||
asset-pipeline? (
|
||||
dev-ruby/jquery-rails
|
||||
>=dev-ruby/sass-rails-3.2.3:3.2
|
||||
>=dev-ruby/uglifier-1.0.3
|
||||
>=dev-ruby/coffee-rails-3.2.1:3.2
|
||||
)"
|
@ -1,4 +1,5 @@
|
||||
DIST rails-3.1.12.tgz 3394369 SHA256 2321d18cd5b5c4929f09472d17fd05e21cc6470d7efd2886bfcf52bb89dbdfcc SHA512 49b886bf05c1c51b67cdf4a7ad688e633bdd0b180ef328f18c942cd13095668ed70cfe3b40ed2d77a2c8ca8c3d8474413dfa25c282afabe21ce790567874716f WHIRLPOOL 66e9d9709b7e8b00b096c43a5c5703fd20addf020c10df5764457ebf6ac515451f9e6db93a4925da9ab88e6942427f5a7fc0d20cf6381e8530f830605db7503e
|
||||
DIST rails-3.2.13.tgz 3555972 SHA256 2dfc2f80d40854c765da07306dfca6a7a4db34588d1fa2265e2312bcd00df1b8 SHA512 8123838a8bb169a78aeebf3cb85df7f1a8e99b04656354c6270a3251b92c9fee62e030052d829322cad5d85b093b1b6114718ea00bb5e37e98a10eac74dad23c WHIRLPOOL 5ee2200082abc36729d4343e0620eb24298260c80ec6f3fef07766a273ada6603b7885a9ada0cefbf5b2435fb4b1484ca60fda0a26e945318d20f9812ed834b2
|
||||
DIST rails-3.2.14.tgz 3565569 SHA256 1acc8b591d72488c5171f059ae08b201db754bc9d65c95ce9cdd956fd59e038e SHA512 a5c4f0ff326e048b7c3ed3b45278141787c352959602330f4028d74b517634fcd2d2fc9928c350a39a8c42bd98b21271f51a9b306ce26dcbd078c29d0dea4c56 WHIRLPOOL 9117d9cb0e03116c322f13738532c2412a895c1681c305510ec4f20a15b12c5f89e15b0bab2497d01b8b68994efc9946466f02ff828911e2da8b8be853e09db1
|
||||
DIST rails-3.2.15.tgz 3566493 SHA256 6fc98f28742e6423efd151d4a0005c10cdf83bf1cef3350042f305d15474b286 SHA512 c2fa25a81b5c77a9054fc8b42a9fdc0733ef175a981ccdbff77eb33a08aa299c3a3ca9469ab80234b01fbc4eef7ccf09c4b3f55dd04e81bf4f8cbfc7eaf58719 WHIRLPOOL 18e8f8b2b90886bca4572efe24508fb77f5a227fd3f3d4732da68f52baea9a2fdf7b620023c8cf229354e4fca85eb9f28886b7b27f862693dbd383a063e961cd
|
||||
DIST rails-4.0.0.tgz 3705371 SHA256 644601ae66881313346ffeacd9ea372d249df55aa7abe853acdcb231fffe6bbf SHA512 3e03f25de83ff894a7affdebe948fd151cff81c8ec906692119036633d891c9ba5cbb312e3ab32f1e62f4a383fcfc2e878daeb62fc04336e932b2e2bda63f7cf WHIRLPOOL 792513f2fdfcbc2a57633e3ef344943948e5614c638b06cae1245fd84716d84b5391a7906123a94a1a325ad789bdc465a4f7e2b774924bd0f18d341c29109a82
|
||||
|
@ -0,0 +1,82 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/railties-3.2.15.ebuild,v 1.1 2013/10/17 06:37:54 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test:regular"
|
||||
RUBY_FAKEGEM_TASK_DOC="generate_guides"
|
||||
RUBY_FAKEGEM_DOCDIR="guides/output"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="railties.gemspec"
|
||||
|
||||
RUBY_FAKEGEM_BINWRAP=""
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Tools for creating, working with, and running Rails applications."
|
||||
HOMEPAGE="http://github.com/rails/rails"
|
||||
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
# The test suite has many failures, most likely due to a mismatch in
|
||||
# exact dependencies or environment specifics. Needs further
|
||||
# investigation.
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND+=">=app-admin/eselect-rails-0.18"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
~dev-ruby/actionpack-${PV}
|
||||
>=dev-ruby/rdoc-3.4
|
||||
>=dev-ruby/thor-0.14.6
|
||||
>=dev-ruby/rack-ssl-1.3.2:1.3
|
||||
>=dev-ruby/rake-0.8.7"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/mocha:0.13
|
||||
)
|
||||
doc? (
|
||||
>=dev-ruby/redcloth-4.1.1
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e '/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\)/d' ../Gemfile || die
|
||||
|
||||
# Also allow rdoc 4.x
|
||||
sed -i -e 's/~> 3.4/>= 3.4/' ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
if use doc ; then
|
||||
mv guides/output guides/guides || die
|
||||
dohtml -r guides/guides
|
||||
fi
|
||||
|
||||
ruby_fakegem_binwrapper rails rails-${PV}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "To select between slots of rails, use:"
|
||||
elog "\teselect rails"
|
||||
|
||||
eselect rails update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect rails update
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST latex-beamer-3.26.zip 4344322 SHA256 c61f5b8dc02ef2584ddba707de49f8e58b2533350109154ef79d91f07cd83a8e SHA512 fc419e61943d3bdf6230d4d3822bc53322551f07394a9a703e0ffc82c942155a591776af7d0396559d20325c4211b09a363eb770cad002d0b292e7ba97e3d6de WHIRLPOOL 29d0fb6193458a497fe79b9ed79a55f41139f20f751c38bf48c6416e741b2fa32da4501c1ae4850f5b652bd9af8223beb61a13deae60442525aec1bba96a6cf3
|
||||
DIST latex-beamer-3.27.zip 4345327 SHA256 4899fbd783154c9ac2f8dd43f62da24b753ea09ef2637c74c80209ebf7fdad02 SHA512 435877b1c70ded101bbaea4fdd91c25a9ef75bf709113b834a4d8ecf890364d4f11e045cb62f307c50265ed0671934652262cc6dfcb32c9a01f4fdf91c7c72db WHIRLPOOL cc75ad9929ec0635ccd44396aa584c41cbcfc3c2e36298d7145c7164b902c9689e40d9353c83105b9ef492e025245f164444beaa3fd06f124c8145fa2bd39117
|
||||
DIST latex-beamer-3.30.zip 4330808 SHA256 c77a317b76c28b95af8120e645d869ca2fd6e455a4f4ded53ed67c5f7ea0f5b8 SHA512 3fa3b8a57ac912edb77eefaeeb5bdebc6f77c84ee5ef264c85bb3a8377ea69f2705de71cb61002b8c349f809b272961a7274a3428366c7afda24113a7f0e5d3d WHIRLPOOL 999889b5032c22baeb952644bb087d8ce69be46f859d50e9af0ca4657248763138237aa55711205c2d298e36c37396afba2000a58bd3e74d4f75247d1ed022a4
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex-beamer/latex-beamer-3.30.ebuild,v 1.1 2013/10/17 07:29:58 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit latex-package
|
||||
|
||||
DESCRIPTION="LaTeX class for creating presentations using a video projector"
|
||||
HOMEPAGE="http://bitbucket.org/rivanvx/beamer/wiki/Home"
|
||||
SRC_URI="http://dev.gentoo.org/~radhermit/dist/${P}.zip"
|
||||
|
||||
LICENSE="GPL-2 FDL-1.2 LPPL-1.3c"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc examples"
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
dev-texlive/texlive-latex"
|
||||
RDEPEND=">=dev-tex/pgf-1.10
|
||||
dev-tex/xcolor
|
||||
!dev-tex/translator"
|
||||
|
||||
S=${WORKDIR}/beamer
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/texmf-site/tex/latex/beamer
|
||||
doins -r base
|
||||
|
||||
dodoc AUTHORS ChangeLog README TODO doc/licenses/LICENSE
|
||||
|
||||
if use doc ; then
|
||||
docinto doc
|
||||
dodoc -r doc/*
|
||||
fi
|
||||
|
||||
use examples && dodoc -r examples solutions
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
# upstream issue: https://sourceforge.net/tracker/?func=detail&aid=3615092&group_id=180858&atid=894869
|
||||
|
||||
--- a/lxsession-edit/Makefile.am 2012-10-25 14:20:04.000000000 -0400
|
||||
+++ b/lxsession-edit/Makefile.am 2013-10-14 21:30:56.627684026 -0400
|
||||
@@ -5,7 +5,7 @@
|
||||
bin_PROGRAMS = lxsession-edit
|
||||
|
||||
lxsession_edit_CFLAGS = \
|
||||
- -I$(topsrcdir) \
|
||||
+ -I$(top_srcdir) \
|
||||
$(GTK_CFLAGS) \
|
||||
$(ADDITIONAL_FLAGS) \
|
||||
-DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
|
@ -0,0 +1,220 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin/spamassassin-3.3.2-r3.ebuild,v 1.1 2013/10/17 11:44:13 zlogene Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit perl-module toolchain-funcs eutils systemd
|
||||
|
||||
MY_P=Mail-SpamAssassin-${PV//_/-}
|
||||
S=${WORKDIR}/${MY_P}
|
||||
DESCRIPTION="SpamAssassin is an extensible email filter which is used to identify spam"
|
||||
HOMEPAGE="http://spamassassin.apache.org/"
|
||||
SRC_URI="mirror://apache/spamassassin/source/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
|
||||
# need keyword request for Mail-SPF ppc ppc64
|
||||
IUSE="berkdb qmail ssl doc ldap mysql postgres sqlite ipv6"
|
||||
|
||||
DEPEND=">=dev-lang/perl-5.8.8-r8
|
||||
virtual/perl-MIME-Base64
|
||||
>=virtual/perl-PodParser-1.32
|
||||
virtual/perl-Storable
|
||||
virtual/perl-Time-HiRes
|
||||
>=dev-perl/HTML-Parser-3.43
|
||||
>=dev-perl/Mail-DKIM-0.37
|
||||
>=dev-perl/Net-DNS-0.53
|
||||
dev-perl/Digest-SHA1
|
||||
dev-perl/libwww-perl
|
||||
>=virtual/perl-Archive-Tar-1.26
|
||||
app-crypt/gnupg
|
||||
>=virtual/perl-IO-Zlib-1.04
|
||||
>=dev-util/re2c-0.12.0
|
||||
dev-perl/Mail-SPF
|
||||
dev-perl/NetAddr-IP
|
||||
ssl? (
|
||||
dev-perl/IO-Socket-SSL
|
||||
dev-libs/openssl
|
||||
)
|
||||
berkdb? (
|
||||
virtual/perl-DB_File
|
||||
)
|
||||
ldap? ( dev-perl/perl-ldap )
|
||||
mysql? (
|
||||
dev-perl/DBI
|
||||
dev-perl/DBD-mysql
|
||||
)
|
||||
postgres? (
|
||||
dev-perl/DBI
|
||||
dev-perl/DBD-Pg
|
||||
)
|
||||
sqlite? (
|
||||
dev-perl/DBI
|
||||
dev-perl/DBD-SQLite
|
||||
)
|
||||
ipv6? (
|
||||
dev-perl/IO-Socket-INET6
|
||||
)"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
src_prepare() {
|
||||
# http://old.nabble.com/Migrating-bayes-to-mysql-fails-with-parsing-errors-td31889789i20.html
|
||||
|
||||
# https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6624
|
||||
epatch "${FILESDIR}/${P}-mysql_count_rows.patch"
|
||||
|
||||
#https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6625
|
||||
epatch "${FILESDIR}/${P}-binary_token.patch"
|
||||
|
||||
# https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6626
|
||||
epatch "${FILESDIR}/${P}-innodb.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# - Set SYSCONFDIR explicitly so we can't get bitten by bug 48205 again
|
||||
# (just to be sure, nobody knows how it could happen in the first place).
|
||||
myconf="SYSCONFDIR=${EPREFIX}/etc DATADIR=${EPREFIX}/usr/share/spamassassin"
|
||||
|
||||
# If ssl is enabled, spamc can be built with ssl support
|
||||
if use ssl; then
|
||||
myconf+=" ENABLE_SSL=yes"
|
||||
else
|
||||
myconf+=" ENABLE_SSL=no"
|
||||
fi
|
||||
|
||||
# Set the path to the Perl executable explictly. This will be used to
|
||||
# create the initial sharpbang line in the scripts and might cause
|
||||
# a versioned app name end in there, see
|
||||
# <http://bugs.gentoo.org/show_bug.cgi?id=62276>
|
||||
myconf+=" PERL_BIN=${EPREFIX}/usr/bin/perl"
|
||||
|
||||
# Add Gentoo tag to make it easy for the upstream devs to spot
|
||||
# possible modifications or patches.
|
||||
#version_tag="g${PV:6}${PR}"
|
||||
#version_str="${PV//_/-}-${version_tag}"
|
||||
|
||||
# Create the Gentoo config file before Makefile.PL is called so it
|
||||
# is copied later on.
|
||||
#echo "version_tag ${version_tag}" > rules/11_gentoo.cf
|
||||
|
||||
# Setting the following env var ensures that no questions are asked.
|
||||
perl-module_src_configure
|
||||
# Configure spamc
|
||||
emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" spamc/Makefile
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export PERL_MM_USE_DEFAULT=1
|
||||
|
||||
# Now compile all the stuff selected.
|
||||
perl-module_src_compile
|
||||
|
||||
if use qmail; then
|
||||
emake spamc/qmail-spamc
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
src_install () {
|
||||
perl-module_src_install
|
||||
|
||||
# Create the stub dir used by sa-update and friends
|
||||
keepdir /var/lib/spamassassin
|
||||
|
||||
# Move spamd to sbin where it belongs.
|
||||
dodir /usr/sbin
|
||||
mv "${ED}"/usr/bin/spamd "${ED}"/usr/sbin/spamd || die "move spamd failed"
|
||||
|
||||
if use qmail; then
|
||||
dobin spamc/qmail-spamc
|
||||
fi
|
||||
|
||||
ln -s mail/spamassassin "${ED}"/etc/spamassassin || die
|
||||
|
||||
# Disable plugin by default
|
||||
sed -i -e 's/^loadplugin/\#loadplugin/g' "${ED}"/etc/mail/spamassassin/init.pre || die
|
||||
|
||||
# Add the init and config scripts.
|
||||
newinitd "${FILESDIR}"/3.3.1-spamd.init spamd
|
||||
newconfd "${FILESDIR}"/3.0.0-spamd.conf spamd
|
||||
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||
|
||||
if use postgres; then
|
||||
sed -i -e 's:@USEPOSTGRES@::' "${ED}/etc/init.d/spamd"
|
||||
|
||||
dodoc sql/*_pg.sql
|
||||
else
|
||||
sed -i -e '/@USEPOSTGRES@/d' "${ED}/etc/init.d/spamd"
|
||||
fi
|
||||
|
||||
if use mysql; then
|
||||
sed -i -e 's:@USEMYSQL@::' "${ED}/etc/init.d/spamd"
|
||||
|
||||
dodoc sql/*_mysql.sql
|
||||
else
|
||||
sed -i -e '/@USEMYSQL@/d' "${ED}/etc/init.d/spamd"
|
||||
fi
|
||||
|
||||
dodoc NOTICE TRADEMARK CREDITS INSTALL.VMS UPGRADE USAGE \
|
||||
sql/README.bayes sql/README.awl procmailrc.example sample-nonspam.txt \
|
||||
sample-spam.txt spamd/PROTOCOL spamd/README.vpopmail \
|
||||
spamd-apache2/README.apache
|
||||
|
||||
# Rename some docu files so they don't clash with others
|
||||
newdoc spamd/README README.spamd
|
||||
newdoc sql/README README.sql
|
||||
newdoc ldap/README README.ldap
|
||||
|
||||
if use qmail; then
|
||||
dodoc spamc/README.qmail
|
||||
fi
|
||||
|
||||
cp "${FILESDIR}"/secrets.cf "${ED}"/etc/mail/spamassassin/secrets.cf.example || die
|
||||
fperms 0400 /etc/mail/spamassassin/secrets.cf.example
|
||||
|
||||
cat <<-EOF > "${T}/local.cf.example"
|
||||
# Sensitive data, such as database connection info, should be stored in
|
||||
# /etc/mail/spamassassin/secrets.cf with appropriate permissions
|
||||
EOF
|
||||
|
||||
insinto /etc/mail/spamassassin/
|
||||
doins "${T}/local.cf.example"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
perl-module_pkg_postinst
|
||||
elog "If you plan on using the -u flag to spamd, please read the notes"
|
||||
elog "in /etc/conf.d/spamd regarding the location of the pid file.\n"
|
||||
elog "If you build ${PN} with optional dependancy support,"
|
||||
elog "you can enable them in /etc/mail/spamassassin/init.pre\n"
|
||||
elog "You need to configure your database to be able to use Bayes filter"
|
||||
elog "with database backend, otherwise it will still use (and need) the"
|
||||
elog "Berkeley DB support."
|
||||
elog "Look at the sql/README.bayes file in the documentation directory"
|
||||
elog "for how to configure it.\n"
|
||||
elog "If you plan to use Vipul's Razor, note that versions up to and"
|
||||
elog "including version 2.82 include a bug that will slow down the entire"
|
||||
elog "perl interpreter. Version 2.83 or later fixes this."
|
||||
elog "If you do not plan to use this plugin, be sure to comment out"
|
||||
elog "its loadplugin line in /etc/mail/spamassassin/v310.pre.\n"
|
||||
elog "The DKIM plugin is now enabled by default for new installs,"
|
||||
elog "if the perl module Mail::DKIM is installed."
|
||||
elog "However, installation of SpamAssassin will not overwrite existing"
|
||||
elog ".pre configuration files, so to use DKIM when upgrading from a"
|
||||
elog "previous release that did not use DKIM, a directive:\n"
|
||||
elog "loadplugin Mail::SpamAssassin::Plugin::DKIM"
|
||||
elog "will need to be uncommented in file 'v312.pre', or added"
|
||||
elog "to some other .pre file, such as local.pre.\n"
|
||||
ewarn "Rules are no longer included with SpamAssassin out of the box".
|
||||
ewarn "You will need to immediately run sa-update, or download"
|
||||
ewarn "the additional rules .tgz package and run sa-update --install"
|
||||
ewarn "with it, to get a ruleset.\n"
|
||||
elog "If when you run sa-update and receive a GPG validation error."
|
||||
elog "Then you need to import an updated sa-update key."
|
||||
elog "sa-update --import /usr/share/spamassassin/sa-update-pubkey.txt\n"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST flrig-1.3.12.tar.gz 571812 SHA256 8a7c0f1d0dcc34e0c925334cdf23cc23b7be902d269e2ea0679d3191412cfbed SHA512 77d096b5890de14a23b2453bba82d4a055d065fd4a6a4c0c4244b7bff44fa9dac3429e06cb69a67a31ec2b5ed6563b4b925f2758bf450f462749cb77be1a131d WHIRLPOOL e9445e66435e8bde748aff28830c3e2f56fd780c43032ebeaf0dff2f06a260728663883a2622f263ae5b808bc893483adee932a5ea4758d883117a4f97b24651
|
||||
DIST flrig-1.3.13.tar.gz 578415 SHA256 c5238bc72dc04a2b2ba741e093672990ec9ceecc7bfc4137b76d9e01a89dfdbb SHA512 be2460237745cb35687a3a982ad3f286ffeae437d3189848e648e2d4b144faa8e5dadef0a7c89787be5f380e31ac68c773955cf00487b185010d71c8d9f14c28 WHIRLPOOL 68e7686c71368adbec11b55de490c8d28b80ebd5b49f81992c0d2aeb463945809665cd47b329750294649ec055cd7adcdb5a9f2383bfa5ac625516cc1652b66f
|
||||
DIST flrig-1.3.14.tar.gz 578452 SHA256 d4f5d5028800de2caf678621ab3a0c917197a0365220a21a1a54610033001a3c SHA512 0b4dfc4c7f9a410114ee31937306610408fd8e75ebd6674c2cbe60c4a78b6397f034a44da0087ccec7c0e27445ac17fe54385c8a3e84e20cb7155ed28827fdb1 WHIRLPOOL dfda9a885f97dd47121a5586074185d69fb2ec98ecadeb6edb5094a92ef023192c945c87cfceaf414d06ca165b46af8d0b0a0865dfe788b2fb7195f0b4a8db62
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-radio/flrig/flrig-1.3.14.ebuild,v 1.1 2013/10/17 17:28:25 tomjbe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Transceiver control program for Amateur Radio use"
|
||||
HOMEPAGE="http://www.w1hkj.com/flrig-help/index.html"
|
||||
SRC_URI="http://www.w1hkj.com/downloads/flrig/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND="x11-libs/libX11
|
||||
x11-libs/fltk:1
|
||||
x11-misc/xdg-utils"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext"
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
nonfatal dodoc AUTHORS ChangeLog README
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST abcMIDI-2013-05-10.zip 496011 SHA256 232c84d5d75b446f12804ad9021577b8c9843b6e51f94e6ea2d7af566a7f871a SHA512 ba075519d06761bfbcf1cb22283af6f180527ea2ee29f0814091a6a072ef79afb8de2b77e700dfe2b5980ce49e33ec7ec1f37a7238614bac580ae4c4274ac753 WHIRLPOOL 009886fe0018b88795ed3b224657439af08fac58928aa2acec672b9ffca37fa99cdb16711f839ec2b0cac7b7610b943bb87e98b44179c9e37ba483aa7adbc457
|
||||
DIST abcMIDI-2013-06-09.zip 496621 SHA256 53b877acb968c270419e70efa61fa2ef47d5aad3ba2d481eb64ac2b35d52d19b SHA512 8e4e39fe98eb70ce415eb37a3a97e5a4b101bbf32476636e9469615d62fac33e1f894b2f5a41eee4c862ccdff6d91245ea3b6618aff1228a2db685976a266064 WHIRLPOOL eb43225bf6d8a1cbcde0552d8f68450a4a8c0c2be935d66cd59cde2cb46e445dcab628b9ebe2585dbe1a71679a3a3f7b9d66f16a1d67960ad5fe4ff70cf31f4b
|
||||
DIST abcMIDI-2013-09-15.zip 498862 SHA256 dec459f74e16539c83c77686e58907eaaa1bbaf76864136ddc6424b88699e7f7 SHA512 229d8a2a097437794ed4225bea05db19ca458fdc3d575b8a5c6676990e7edd7e596353a068353e4581d26b944ca34dec0b8f57e40c92ec8475558779c8878445 WHIRLPOOL 6e492d423cbc4438a5a33b7f22e2372f47006b27bad9732e349e3d44babb2ab6048452bbfa9f74b6f1c4fe779024ee929d8e252b2abc9cfecb1110c50435c5b6
|
||||
DIST abcMIDI-2013-10-01.zip 499153 SHA256 88fcb87304d1d8c70679a6a8dc97d95fbcda29c200394e9be9d95b7a8e991dea SHA512 959df93338729b35b01f3bf4cf96bd2e59e5b954a62ecd022eca375954efdf8185539d463349de22cec1b82c2938c717b298520c33984afd6726f3692b2711bd WHIRLPOOL 24f06af174a93b9fed50daaf4fa4a952ee7c2e144efa8732214e77a57eb302ad646575bc6c6cfec334741eb3e546623b6cab08e31051e8f6e272699110abd2df
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/abcmidi/abcmidi-2013.10.01.ebuild,v 1.1 2013/10/17 03:47:48 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils versionator autotools
|
||||
|
||||
MY_P="abcMIDI-$(replace_all_version_separators '-')"
|
||||
DESCRIPTION="Programs for processing ABC music notation files"
|
||||
HOMEPAGE="http://abc.sourceforge.net/abcMIDI/"
|
||||
SRC_URI="http://ifdo.pugmarks.com/~seymour/runabc/${MY_P}.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2011.10.19-install.patch
|
||||
rm configure makefile || die
|
||||
sed -i "s:-O2::" configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc doc/{AUTHORS,CHANGES,abcguide.txt,abcmatch.txt,history.txt,readme.txt,yapshelp.txt}
|
||||
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc samples/*.abc
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST frescobaldi-2.0.10.tar.gz 2997537 SHA256 b30808a2377836b5fb6269c5fd61cd9e52bdfd49c1923c562adc79b9f97c80e5 SHA512 eb290678f019398ad9a6123d3065a7a126f76d84f0f012bc88e9c54514ab3043cb4549209780e89385e9c2bcafc8710c3b93010aa571419a9bd54d6d7c263252 WHIRLPOOL f70cfecca758215c42cfa8298e5eb1a38679a5225f5317ba58cdfd158eec68463f65d213fe81009294dae099e3c2ec49b44a91252cfd8e5acf95843f9fd0425e
|
||||
DIST frescobaldi-2.0.11.tar.gz 3315637 SHA256 5701838b0704fae90a3fd68ea2ada672ef3b5556a44c87f294552650a21bf321 SHA512 d54bdacdf8cd96deb19909a5ad44fc4bf5413cd61d083cbf482b30fb0deae2532db960e9bcc8e36fb2f2d281cfae358ba0772eeb333067a39af828fa4eaf619b WHIRLPOOL 87460a510f1bde66ba7a3bf94eb23abcf92e3790a40caab431f5a4c878aaf9b262f956ff7e624d87307d492f97365dee85d7f30ac52e471846734021949a7f2b
|
||||
DIST frescobaldi-2.0.9.tar.gz 2973552 SHA256 02870d8207884daab0e725945316b2ca6168460ec9ce2af9627403f4e4bce7ed SHA512 8d1c4a1929c732eeaf1433a7a33221ffe3a1b8c5cddb3a34a49b5b113c0468c5a85efbdf77ab9831827790ead826f3d142d0c58a4dccbfab81e4358dc861512a WHIRLPOOL 7aeedbe88098869cbc7a7bab71828d8a266a538a917871df21b2f450e6a83da866c501ff19d042a174ccd2501025c8878c060067bb9ffcdbc9851bab126a0878
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/frescobaldi/frescobaldi-2.0.11.ebuild,v 1.1 2013/10/17 03:44:07 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1 gnome2-utils
|
||||
|
||||
DESCRIPTION="A LilyPond sheet music text editor"
|
||||
HOMEPAGE="http://www.frescobaldi.org/"
|
||||
SRC_URI="https://github.com/wbsoft/${PN}/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 public-domain" # public-domain is for bundled Tango icons
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="portmidi"
|
||||
|
||||
RDEPEND="dev-python/python-poppler-qt4[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt4[X,${PYTHON_USEDEP}]
|
||||
>=media-sound/lilypond-2.14.2
|
||||
portmidi? ( media-libs/portmidi )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,5 +1,4 @@
|
||||
DIST fate-0.8.2.tar.xz 443503168 SHA256 4c16212e4d99194e670227ccf93d54c9bb4b6f27c515626a536b87deb610d850 SHA512 eca7783af7afc567ed226942b1318b1874b2487c7dc65406fe2097cf2318d722bb4c45ed14363bc3653f948f7cdac5967162e1f4fbd5cbec1adc244886800bb1 WHIRLPOOL abe5faa67444c3edaf5ae9a57a701ba0fccd3e313941d0f7662b8dc2b3a8886578d7bcbd6ed4abfc62abe3b7a36ea216529710e28d1c9cff8f3bb2b9804707bf
|
||||
DIST fate-9.tar.xz 467671500 SHA256 27d10fd49267452ac787c3f43501a4a21d0ccaccc5ddd6d79d8a6150ee276532 SHA512 8e45539f2512ef915b37c857226c0243940259f269b8f99393b9defa3352d7b8c1fcc5078f4f0d40dc0509737f0c915e179cedcc77f71fe5d96b1b956169a202 WHIRLPOOL d280ac32c6d84f121be8d733774e72a4df3f2e84d71051aea509ef5ca3289c94fd548bf03ff12215e045bf20c83426c547e6b5eb446429d167f38af7c7aa9803
|
||||
DIST libav-0.8.7.tar.xz 3763180 SHA256 8be6cbee4066ea031110d0f1cf8f9fecda8bc36d868aafdc7e0d34b59e6d5f3d SHA512 34b23bc61b4755b7d9aa078b77571641a167da0fb356c549ee48fa61fcedd4e9dcd7965ac65487606ef18edb3512f08a565de901f1927f11a18c1864da4ec83a WHIRLPOOL 3896adac36dc789a74e3839061e466f6277d225ecc13e9f6f96953b353fe6e15cd76b0464704240eb97c4c0fec230b21d7e4aa684869e367bb489ddee938bada
|
||||
DIST libav-9.8.tar.xz 4069732 SHA256 e3e568d79f9a3102cc105e4aff55144f24a0c215cea8fb79d5b2b3f1787af064 SHA512 46ebd1a9a71fbe98bd6722251423d037e0740c68bac18b010589cd31dd4f3400abd9d15ae7a876a6e894b0175174cf662a74b0b788edb63d68cd02db4bf13f1a WHIRLPOOL 8049fbf80826ef1deeffbb4510f409328cd02d90e1fa8b0334aa5ab24b32d89463343444f4954667eb0db585dccfa0fd05bab6caca6c58de742722ef7e17149f
|
||||
DIST libav-9.9.tar.xz 4071992 SHA256 69b65af3307854dc69a8edae46da36a4d5d6a2ecdc130fc4f59f30b1b08797e7 SHA512 540f9ab4f93636ec7b3b520f3860fb7f0f10a6d4d402f90ebb2f415fd3fde412a64ab7bb86c051c48cf57b13576d22beee9b981adefdae1fc4f9e620c57e3006 WHIRLPOOL c21549bf63a8d5d269b8b80901571051b2f5affe84f7b15e661b10865112267e7cfa797577aedb4736d1d62b2f8aae6677aea48fc0618030be34a0c55fa96b10
|
||||
DIST libav-9.10.tar.xz 4074176 SHA256 83dbe640779da1c1e8d8836c99575f57f749d18407494ebca451578afee9300d SHA512 ba43d999237bd656169e320df87827d08444297010b3448dfa20eaa47d51b8736f8cd7c650a3327f4c68c34b06813700afabb3f68e2f799004ddfa5556fc3561 WHIRLPOOL 6fbd67a024e723d93208c42f3b4f1f85bb7b2e9532c15952a076b82cb1be0c17870da87cb6a83b9d83d3874280158b8e60eccd7dcc4927c389a8241ccde0582d
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/libav/libav-9.8.ebuild,v 1.2 2013/08/11 23:17:55 aballier Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/libav/libav-9.10.ebuild,v 1.1 2013/10/16 17:38:03 scarabeus Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1,316 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/libav/libav-9.9.ebuild,v 1.1 2013/09/13 10:05:41 lu_zero Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
SCM="git-2"
|
||||
EGIT_REPO_URI="git://git.libav.org/libav.git"
|
||||
[[ ${PV%9999} != "" ]] && EGIT_BRANCH="release/${PV%.9999}"
|
||||
fi
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs ${SCM}
|
||||
|
||||
DESCRIPTION="Complete solution to record, convert and stream audio and video."
|
||||
HOMEPAGE="http://libav.org/"
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
SRC_URI=""
|
||||
elif [[ ${PV%_p*} != ${PV} ]] ; then # Gentoo snapshot
|
||||
SRC_URI="http://dev.gentoo.org/~lu_zero/libav/${P}.tar.xz"
|
||||
else # Official release
|
||||
SRC_URI="http://${PN}.org/releases/${P}.tar.xz"
|
||||
fi
|
||||
|
||||
SRC_URI+=" test? ( http://dev.gentoo.org/~lu_zero/libav/fate-9.tar.xz )"
|
||||
|
||||
LICENSE="LGPL-2.1 gpl? ( GPL-3 )"
|
||||
SLOT="0/9"
|
||||
|
||||
# Don't move KEYWORDS on the previous line or ekeyword won't work # 399061
|
||||
[[ ${PV} == *9999 ]] || \
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
|
||||
IUSE="aac alsa amr bindist +bzip2 cdio cpudetection custom-cflags debug doc
|
||||
+encode faac fdk frei0r +gpl gsm +hardcoded-tables ieee1394 jack jpeg2k mp3
|
||||
network openssl opus oss pic pulseaudio rtmp schroedinger sdl speex ssl
|
||||
static-libs test theora threads tools truetype v4l vaapi vdpau vorbis vpx X
|
||||
x264 xvid +zlib"
|
||||
|
||||
# String for CPU features in the useflag[:configure_option] form
|
||||
# if :configure_option isn't set, it will use 'useflag' as configure option
|
||||
CPU_FEATURES="3dnow:amd3dnow 3dnowext:amd3dnowext altivec avx mmx mmxext neon ssse3 vis"
|
||||
for i in ${CPU_FEATURES} ; do
|
||||
IUSE+=" ${i%:*}"
|
||||
done
|
||||
|
||||
TOOLS="aviocat graph2dot ismindex pktdumper qt-faststart trasher"
|
||||
|
||||
RDEPEND="
|
||||
!media-video/ffmpeg:0
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
amr? ( media-libs/opencore-amr )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdio? (
|
||||
|| (
|
||||
dev-libs/libcdio-paranoia
|
||||
<dev-libs/libcdio-0.90[-minimal]
|
||||
)
|
||||
)
|
||||
encode? (
|
||||
aac? ( media-libs/vo-aacenc )
|
||||
amr? ( media-libs/vo-amrwbenc )
|
||||
faac? ( media-libs/faac )
|
||||
fdk? ( media-libs/fdk-aac )
|
||||
mp3? ( >=media-sound/lame-3.98.3 )
|
||||
theora? (
|
||||
>=media-libs/libtheora-1.1.1[encode]
|
||||
media-libs/libogg
|
||||
)
|
||||
vorbis? ( media-libs/libvorbis media-libs/libogg )
|
||||
x264? ( >=media-libs/x264-0.0.20111017:= )
|
||||
xvid? ( >=media-libs/xvid-1.1.0 )
|
||||
)
|
||||
frei0r? ( media-plugins/frei0r-plugins )
|
||||
gsm? ( >=media-sound/gsm-1.0.12-r1 )
|
||||
ieee1394? (
|
||||
media-libs/libdc1394
|
||||
sys-libs/libraw1394
|
||||
)
|
||||
jack? ( media-sound/jack-audio-connection-kit )
|
||||
jpeg2k? ( >=media-libs/openjpeg-1.3-r2:0 )
|
||||
opus? ( media-libs/opus )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
rtmp? ( >=media-video/rtmpdump-2.2f )
|
||||
ssl? (
|
||||
openssl? ( dev-libs/openssl )
|
||||
!openssl? ( net-libs/gnutls )
|
||||
)
|
||||
sdl? ( >=media-libs/libsdl-1.2.13-r1[audio,video] )
|
||||
schroedinger? ( media-libs/schroedinger )
|
||||
speex? ( >=media-libs/speex-1.2_beta3 )
|
||||
truetype? ( media-libs/freetype:2 )
|
||||
vaapi? ( x11-libs/libva )
|
||||
vdpau? ( x11-libs/libvdpau )
|
||||
vpx? ( >=media-libs/libvpx-0.9.6 )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
)
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/make-3.81
|
||||
doc? ( app-text/texi2html )
|
||||
ieee1394? ( virtual/pkgconfig )
|
||||
mmx? ( dev-lang/yasm )
|
||||
rtmp? ( virtual/pkgconfig )
|
||||
schroedinger? ( virtual/pkgconfig )
|
||||
ssl? ( virtual/pkgconfig )
|
||||
test? ( sys-devel/bc )
|
||||
truetype? ( virtual/pkgconfig )
|
||||
v4l? ( sys-kernel/linux-headers )
|
||||
"
|
||||
|
||||
# faac can't be binary distributed
|
||||
# openssl support marked as nonfree
|
||||
# faac and aac are concurent implementations
|
||||
# amr and aac require at least lgpl3
|
||||
# x264 requires gpl2
|
||||
REQUIRED_USE="bindist? ( !faac !openssl !fdk )
|
||||
rtmp? ( network )
|
||||
amr? ( gpl ) aac? ( gpl ) x264? ( gpl ) X? ( gpl ) cdio? ( gpl )
|
||||
test? ( encode zlib )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# if we have snapshot then we need to hardcode the version
|
||||
if [[ ${PV%_p*} != ${PV} ]]; then
|
||||
sed -i -e "s/UNKNOWN/DATE-${PV#*_pre}/" "${S}/version.sh" || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="${EXTRA_LIBAV_CONF}"
|
||||
local uses i
|
||||
|
||||
use zlib && TOOLS+=" cws2fws"
|
||||
|
||||
myconf+="
|
||||
$(use_enable gpl)
|
||||
$(use_enable gpl version3)
|
||||
--enable-avfilter
|
||||
"
|
||||
|
||||
# enabled by default
|
||||
uses="debug doc network zlib"
|
||||
for i in ${uses}; do
|
||||
use ${i} || myconf+=" --disable-${i}"
|
||||
done
|
||||
use bzip2 || myconf+=" --disable-bzlib"
|
||||
use sdl || myconf+=" --disable-avplay"
|
||||
|
||||
if use ssl; then
|
||||
use openssl && myconf+=" --enable-openssl --enable-nonfree" \
|
||||
|| myconf+=" --enable-gnutls"
|
||||
fi
|
||||
|
||||
use custom-cflags && myconf+=" --disable-optimizations"
|
||||
use cpudetection && myconf+=" --enable-runtime-cpudetect"
|
||||
|
||||
use vdpau || myconf+=" --disable-vdpau"
|
||||
|
||||
use vaapi && myconf+=" --enable-vaapi"
|
||||
|
||||
# Encoders
|
||||
if use encode; then
|
||||
use faac && myconf+=" --enable-nonfree"
|
||||
use fdk && myconf+=" --enable-nonfree --enable-libfdk-aac"
|
||||
use mp3 && myconf+=" --enable-libmp3lame"
|
||||
use amr && myconf+=" --enable-libvo-amrwbenc"
|
||||
use aac && myconf+=" --enable-libvo-aacenc"
|
||||
uses="faac theora vorbis x264 xvid"
|
||||
for i in ${uses}; do
|
||||
use ${i} && myconf+=" --enable-lib${i}"
|
||||
done
|
||||
else
|
||||
myconf+=" --disable-encoders"
|
||||
fi
|
||||
|
||||
# libavdevice options
|
||||
use cdio && myconf+=" --enable-libcdio"
|
||||
use ieee1394 && myconf+=" --enable-libdc1394"
|
||||
use pulseaudio && myconf+=" --enable-libpulse"
|
||||
|
||||
# Indevs
|
||||
# v4l1 is gone since linux-headers-2.6.38
|
||||
myconf+=" --disable-indev=v4l"
|
||||
use v4l || myconf+=" --disable-indev=v4l2"
|
||||
for i in alsa oss jack; do
|
||||
use ${i} || myconf+=" --disable-indev=${i}"
|
||||
done
|
||||
use X && myconf+=" --enable-x11grab"
|
||||
# Outdevs
|
||||
for i in alsa oss ; do
|
||||
use ${i} || myconf+=" --disable-outdev=${i}"
|
||||
done
|
||||
# libavfilter options
|
||||
use frei0r && myconf+=" --enable-frei0r"
|
||||
use truetype && myconf+=" --enable-libfreetype"
|
||||
|
||||
# Threads; we only support pthread for now
|
||||
use threads && myconf+=" --enable-pthreads"
|
||||
|
||||
# Decoders
|
||||
use amr && myconf+=" --enable-libopencore-amrwb --enable-libopencore-amrnb"
|
||||
uses="gsm opus rtmp schroedinger speex vpx"
|
||||
for i in ${uses}; do
|
||||
use ${i} && myconf+=" --enable-lib${i}"
|
||||
done
|
||||
use jpeg2k && myconf+=" --enable-libopenjpeg"
|
||||
|
||||
# CPU features
|
||||
for i in ${CPU_FEATURES}; do
|
||||
use ${i%:*} || myconf+=" --disable-${i#*:}"
|
||||
done
|
||||
|
||||
# pass the right -mfpu as extra
|
||||
use neon && myconf+=" --extra-cflags=-mfpu=neon"
|
||||
|
||||
# disable mmx accelerated code if PIC is required
|
||||
# as the provided asm decidedly is not PIC for x86.
|
||||
if use pic && use x86 ; then
|
||||
myconf+=" --disable-mmx --disable-mmxext"
|
||||
fi
|
||||
|
||||
# Option to force building pic
|
||||
use pic && myconf+=" --enable-pic"
|
||||
|
||||
# cross compile support
|
||||
if tc-is-cross-compiler ; then
|
||||
myconf+=" --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}-"
|
||||
case ${CHOST} in
|
||||
*freebsd*)
|
||||
myconf+=" --target-os=freebsd"
|
||||
;;
|
||||
mingw32*)
|
||||
myconf+=" --target-os=mingw32"
|
||||
;;
|
||||
*linux*)
|
||||
myconf+=" --target-os=linux"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Misc stuff
|
||||
use hardcoded-tables && myconf+=" --enable-hardcoded-tables"
|
||||
|
||||
# Specific workarounds for too-few-registers arch...
|
||||
if [[ $(tc-arch) == "x86" ]]; then
|
||||
filter-flags -fforce-addr -momit-leaf-frame-pointer
|
||||
append-flags -fomit-frame-pointer
|
||||
is-flag -O? || append-flags -O2
|
||||
if use debug; then
|
||||
# no need to warn about debug if not using debug flag
|
||||
ewarn ""
|
||||
ewarn "Debug information will be almost useless as the frame pointer is omitted."
|
||||
ewarn "This makes debugging harder, so crashes that has no fixed behavior are"
|
||||
ewarn "difficult to fix. Please have that in mind."
|
||||
ewarn ""
|
||||
fi
|
||||
fi
|
||||
|
||||
cd "${S}"
|
||||
./configure \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--shlibdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--mandir="${EPREFIX}"/usr/share/man \
|
||||
--enable-shared \
|
||||
--cc="$(tc-getCC)" \
|
||||
--ar="$(tc-getAR)" \
|
||||
--optflags="${CFLAGS}" \
|
||||
--extra-cflags="${CFLAGS}" \
|
||||
$(use_enable static-libs static) \
|
||||
${myconf} || die
|
||||
|
||||
MAKEOPTS+=" V=1"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local i
|
||||
|
||||
emake
|
||||
|
||||
if use tools; then
|
||||
tc-export CC
|
||||
|
||||
for i in ${TOOLS}; do
|
||||
emake tools/${i}
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local i
|
||||
|
||||
emake DESTDIR="${D}" install install-man
|
||||
|
||||
dodoc Changelog README INSTALL
|
||||
dodoc doc/*.txt
|
||||
use doc && dodoc doc/*.html
|
||||
|
||||
if use tools; then
|
||||
for i in ${TOOLS}; do
|
||||
dobin tools/${i}
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo ${WORKDIR}/fate
|
||||
LD_LIBRARY_PATH="${S}/libswscale:${S}/libavcodec:${S}/libavdevice:${S}/libavfilter:${S}/libavformat:${S}/libavresample:${S}/libavutil" \
|
||||
emake -j1 fate SAMPLES="${WORKDIR}/fate"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST mpv-0.1.6.tar.gz 1650956 SHA256 dc9dda1e340e32f3af155fea4f626378008405df36af21d244cedd90a790d569 SHA512 4f27f3028d421cd234202a2abc50bc5ebaddabf345cf13b924f240d2bad195ebfd097e64212ebdcb6e5572d32ab355da550f6af2174f55bb5d9800eb5077ef7b WHIRLPOOL 0a85384dc7374d75b8972ee957cdd6e8346b628ac569291f870af2508d9f745130e0597b7c9ca166b951bc9db73f6b9ae1474653901ea05b7425c80c3e04d277
|
||||
DIST mpv-0.1.7.tar.gz 1651651 SHA256 989cb7518baf3ee641748bf1f7f335cf68730943b0dd77490170a5ceb36a63e1 SHA512 17a9a98f4cf47f604851cedd74bb86f8b3d6553b1906d198bcc430419b27cf038729b091df318c6db3fbf4b64f40758c4f79da7212c585d878aff77a25105790 WHIRLPOOL 21ea955e0e212536ae7e76c2f03bdc057b4cf4c4214df80ea9ab8ec6f6ffcae1fa4cdb4bb7f6ece85aa6c0a4430c2d0255f79bf9bec51ad919c508c7fdcdafb7
|
||||
DIST mpv-0.2.0.tar.gz 2475493 SHA256 574293d341cbeeeeea1ad9d425d8e6ae319c31c985c5386fa03be6037c673bf1 SHA512 a68ebd5f001bffb14b56f941563742212b60d55ce57ae2db0f2f065992fd6459c5e897910231e2e0ee2e48b837d5895aac3814b15008cb902e991e7d2ea65df1 WHIRLPOOL c6248c4176a97c6a9d6648e7b1e74145559b6ff55b954eabe6c8e1854c2de0604103c6e829e8ceedaa91b96cd793c41dd83020d4c745f06b5144d67e9e00de7b
|
||||
|
@ -0,0 +1,315 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/mpv/mpv-0.2.0.ebuild,v 1.3 2013/10/17 19:36:21 tomwij Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
EGIT_REPO_URI="git://github.com/mpv-player/mpv.git"
|
||||
|
||||
inherit toolchain-funcs flag-o-matic multilib base pax-utils
|
||||
[[ ${PV} == *9999* ]] && inherit git-2
|
||||
|
||||
DESCRIPTION="Video player based on MPlayer/mplayer2"
|
||||
HOMEPAGE="http://mpv.io/"
|
||||
[[ ${PV} == *9999* ]] || \
|
||||
SRC_URI="https://github.com/mpv-player/mpv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
[[ ${PV} == *9999* ]] || \
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux"
|
||||
IUSE="+alsa bluray bs2b +cdio doc-pdf dvb +dvd +enca encode +iconv jack joystick
|
||||
jpeg ladspa lcms +libass libcaca libguess lirc lua luajit mng +mp3 -openal +opengl oss
|
||||
portaudio +postproc pulseaudio pvr +quvi radio samba +shm +threads v4l vaapi
|
||||
vcd vdpau vf-dlopen wayland +X xinerama +xscreensaver +xv"
|
||||
|
||||
REQUIRED_USE="
|
||||
enca? ( iconv )
|
||||
lcms? ( opengl )
|
||||
libguess? ( iconv )
|
||||
luajit? ( lua )
|
||||
opengl? ( || ( wayland X ) )
|
||||
portaudio? ( threads )
|
||||
pvr? ( v4l )
|
||||
radio? ( v4l || ( alsa oss ) )
|
||||
v4l? ( threads )
|
||||
vaapi? ( X )
|
||||
vdpau? ( X )
|
||||
wayland? ( opengl )
|
||||
xinerama? ( X )
|
||||
xscreensaver? ( X )
|
||||
xv? ( X )
|
||||
"
|
||||
|
||||
RDEPEND+="
|
||||
|| (
|
||||
>=media-video/libav-9:=[encode?,threads?,vaapi?,vdpau?]
|
||||
>=media-video/ffmpeg-1.2:0=[encode?,threads?,vaapi?,vdpau?]
|
||||
)
|
||||
sys-libs/ncurses
|
||||
sys-libs/zlib
|
||||
X? (
|
||||
x11-libs/libXext
|
||||
x11-libs/libXxf86vm
|
||||
opengl? ( virtual/opengl )
|
||||
lcms? ( media-libs/lcms:2 )
|
||||
vaapi? ( x11-libs/libva[X(+)] )
|
||||
vdpau? ( x11-libs/libvdpau )
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
xscreensaver? ( x11-libs/libXScrnSaver )
|
||||
xv? ( x11-libs/libXv )
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
bluray? ( media-libs/libbluray )
|
||||
bs2b? ( media-libs/libbs2b )
|
||||
cdio? (
|
||||
|| (
|
||||
dev-libs/libcdio-paranoia
|
||||
<dev-libs/libcdio-0.90[-minimal]
|
||||
)
|
||||
)
|
||||
dvb? ( virtual/linuxtv-dvb-headers )
|
||||
dvd? ( >=media-libs/libdvdread-4.1.3 )
|
||||
enca? ( app-i18n/enca )
|
||||
iconv? ( virtual/libiconv )
|
||||
jack? ( media-sound/jack-audio-connection-kit )
|
||||
jpeg? ( virtual/jpeg )
|
||||
ladspa? ( media-libs/ladspa-sdk )
|
||||
libass? (
|
||||
>=media-libs/libass-0.9.10[enca?,fontconfig]
|
||||
virtual/ttf-fonts
|
||||
)
|
||||
libcaca? ( media-libs/libcaca )
|
||||
libguess? ( >=app-i18n/libguess-1.0 )
|
||||
lirc? ( app-misc/lirc )
|
||||
lua? (
|
||||
!luajit? ( >=dev-lang/lua-5.1 )
|
||||
luajit? ( dev-lang/luajit:2 )
|
||||
)
|
||||
mng? ( media-libs/libmng )
|
||||
mp3? ( media-sound/mpg123 )
|
||||
openal? ( >=media-libs/openal-1.13 )
|
||||
portaudio? ( >=media-libs/portaudio-19_pre20111121 )
|
||||
postproc? (
|
||||
|| (
|
||||
media-libs/libpostproc
|
||||
>=media-video/ffmpeg-1.2:0[encode?,threads?,vaapi?,vdpau?]
|
||||
)
|
||||
)
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
quvi? ( >=media-libs/libquvi-0.4.1:= )
|
||||
samba? ( net-fs/samba )
|
||||
wayland? (
|
||||
>=dev-libs/wayland-1.0.0
|
||||
media-libs/mesa[egl,wayland]
|
||||
>=x11-libs/libxkbcommon-0.3.0
|
||||
)
|
||||
"
|
||||
ASM_DEP="dev-lang/yasm"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
>=dev-lang/perl-5.8
|
||||
dev-python/docutils
|
||||
doc-pdf? (
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-latexrecommended
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-tex/xcolor
|
||||
)
|
||||
X? (
|
||||
x11-proto/videoproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
xinerama? ( x11-proto/xineramaproto )
|
||||
xscreensaver? ( x11-proto/scrnsaverproto )
|
||||
)
|
||||
amd64? ( ${ASM_DEP} )
|
||||
x86? ( ${ASM_DEP} )
|
||||
x86-fbsd? ( ${ASM_DEP} )
|
||||
"
|
||||
DOCS=( Copyright README.md etc/example.conf etc/input.conf etc/encoding-example-profiles.conf )
|
||||
|
||||
pkg_setup() {
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
elog
|
||||
elog "This is a live ebuild which installs the latest from upstream's"
|
||||
elog "git repository, and is unsupported by Gentoo."
|
||||
elog "Everything but bugs in the ebuild itself will be ignored."
|
||||
elog
|
||||
fi
|
||||
|
||||
if use !libass; then
|
||||
ewarn
|
||||
ewarn "You've disabled the libass flag. No OSD or subtitles will be displayed."
|
||||
fi
|
||||
|
||||
if use openal; then
|
||||
ewarn
|
||||
ewarn "You've enabled the openal flag. OpenAL is disabled by default,"
|
||||
ewarn "because it supposedly inteferes with some other configure tests"
|
||||
ewarn "and makes them fail silently."
|
||||
fi
|
||||
|
||||
einfo "For additional format support you need to enable the support on your"
|
||||
einfo "libavcodec/libavformat provider:"
|
||||
einfo " media-video/libav or media-video/ffmpeg"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# fix path to bash executable in configure scripts
|
||||
sed -i -e "1c\#!${EPREFIX}/bin/bash" \
|
||||
configure version.sh || die
|
||||
|
||||
base_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
local uses i
|
||||
|
||||
# ebuild uses "use foo || --disable-foo" to forcibly disable
|
||||
# compilation in almost every situation. The reason for this is
|
||||
# because if --enable is used, it will force the build of that option,
|
||||
# regardless of whether the dependency is available or not.
|
||||
|
||||
#####################
|
||||
# Optional features #
|
||||
#####################
|
||||
# SDL output is fallback for platforms where nothing better is available
|
||||
myconf+=" --disable-sdl --disable-sdl2"
|
||||
use encode || myconf+=" --disable-encoding"
|
||||
myconf+=" $(use_enable joystick)"
|
||||
uses="bluray vcd"
|
||||
for i in ${uses}; do
|
||||
use ${i} || myconf+=" --disable-${i}"
|
||||
done
|
||||
use quvi || myconf+=" --disable-libquvi4 --disable-libquvi9"
|
||||
use samba || myconf+=" --disable-smb"
|
||||
use lirc || myconf+=" --disable-lirc --disable-lircc"
|
||||
use lua || myconf+=" --disable-lua"
|
||||
use luajit && myconf+=" --lua=luajit"
|
||||
use doc-pdf || myconf+=" --disable-pdf"
|
||||
|
||||
########
|
||||
# CDDA #
|
||||
########
|
||||
use cdio || myconf+=" --disable-libcdio"
|
||||
|
||||
############
|
||||
# DVD read #
|
||||
############
|
||||
use dvd || myconf+=" --disable-dvdread"
|
||||
|
||||
#############
|
||||
# Subtitles #
|
||||
#############
|
||||
uses="enca iconv libass libguess"
|
||||
for i in ${uses}; do
|
||||
use ${i} || myconf+=" --disable-${i}"
|
||||
done
|
||||
|
||||
#####################################
|
||||
# DVB / Video4Linux / Radio support #
|
||||
#####################################
|
||||
use dvb || myconf+=" --disable-dvb"
|
||||
use pvr || myconf+=" --disable-pvr"
|
||||
use v4l || myconf+=" --disable-tv --disable-tv-v4l2"
|
||||
if use radio; then
|
||||
myconf+=" --enable-radio --enable-radio-capture"
|
||||
else
|
||||
myconf+=" --disable-radio-v4l2"
|
||||
fi
|
||||
|
||||
##########
|
||||
# Codecs #
|
||||
##########
|
||||
use mp3 || myconf+=" --disable-mpg123"
|
||||
uses="jpeg mng"
|
||||
for i in ${uses}; do
|
||||
use ${i} || myconf+=" --disable-${i}"
|
||||
done
|
||||
|
||||
################
|
||||
# Video Output #
|
||||
################
|
||||
use libcaca || myconf+=" --disable-caca"
|
||||
use postproc || myconf+=" --disable-libpostproc"
|
||||
|
||||
################
|
||||
# Audio Output #
|
||||
################
|
||||
myconf+=" --disable-rsound" # media-sound/rsound is in pro-audio overlay only
|
||||
uses="alsa jack ladspa portaudio"
|
||||
for i in ${uses}; do
|
||||
use ${i} || myconf+=" --disable-${i}"
|
||||
done
|
||||
use bs2b || myconf+=" --disable-libbs2b"
|
||||
use openal && myconf+=" --enable-openal"
|
||||
use oss || myconf+=" --disable-ossaudio"
|
||||
use pulseaudio || myconf+=" --disable-pulse"
|
||||
|
||||
####################
|
||||
# Advanced Options #
|
||||
####################
|
||||
# keep build reproducible
|
||||
myconf+=" --disable-build-date"
|
||||
# do not add -g to CFLAGS
|
||||
myconf+=" --disable-debug"
|
||||
use threads || myconf+=" --disable-pthreads"
|
||||
|
||||
# Platform specific flags, hardcoded on amd64 (see below)
|
||||
use shm || myconf+=" --disable-shm"
|
||||
|
||||
if use x86 && gcc-specs-pie; then
|
||||
filter-flags -fPIC -fPIE
|
||||
append-ldflags -nopie
|
||||
fi
|
||||
|
||||
###########################
|
||||
# X enabled configuration #
|
||||
###########################
|
||||
use X || myconf+=" --disable-x11"
|
||||
uses="vaapi vdpau wayland xinerama xv"
|
||||
for i in ${uses}; do
|
||||
use ${i} || myconf+=" --disable-${i}"
|
||||
done
|
||||
use opengl || myconf+=" --disable-gl"
|
||||
use lcms || myconf+=" --disable-lcms2"
|
||||
use xscreensaver || myconf+=" --disable-xss"
|
||||
|
||||
CFLAGS= LDFLAGS= ./configure \
|
||||
--cc="$(tc-getCC)" \
|
||||
--extra-cflags="${CFLAGS}" \
|
||||
--extra-ldflags="${LDFLAGS}" \
|
||||
--pkg-config="$(tc-getPKG_CONFIG)" \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--bindir="${EPREFIX}"/usr/bin \
|
||||
--confdir="${EPREFIX}"/etc/${PN} \
|
||||
--mandir="${EPREFIX}"/usr/share/man \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
--localedir="${EPREFIX}"/usr/share/locale \
|
||||
${myconf} || die
|
||||
|
||||
MAKEOPTS+=" V=1"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
base_src_compile
|
||||
|
||||
if use vf-dlopen; then
|
||||
tc-export CC
|
||||
emake -C TOOLS/vf_dlopen
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
base_src_install
|
||||
|
||||
if use luajit; then
|
||||
pax-mark -m "${ED}"usr/bin/mpv
|
||||
fi
|
||||
|
||||
if use vf-dlopen; then
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
doexe TOOLS/vf_dlopen/*.so
|
||||
fi
|
||||
}
|
@ -1 +1 @@
|
||||
Wed, 16 Oct 2013 16:36:58 +0000
|
||||
Thu, 17 Oct 2013 20:06:58 +0000
|
||||
|
@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
|
||||
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201310-10">
|
||||
<title>PolarSSL: Multiple vulnerabilities</title>
|
||||
<synopsis>Multiple vulnerabilities have been found in PolarSSL, the worst of
|
||||
which might allow a remote attacker to cause a Denial of Service condition.
|
||||
</synopsis>
|
||||
<product type="ebuild">PolarSSL</product>
|
||||
<announced>October 17, 2013</announced>
|
||||
<revised>October 17, 2013: 1</revised>
|
||||
<bug>358783</bug>
|
||||
<bug>416399</bug>
|
||||
<bug>455562</bug>
|
||||
<bug>464206</bug>
|
||||
<bug>480882</bug>
|
||||
<bug>487170</bug>
|
||||
<access>remote</access>
|
||||
<affected>
|
||||
<package name="net-libs/polarssl" auto="yes" arch="*">
|
||||
<unaffected range="ge">1.3.0</unaffected>
|
||||
<vulnerable range="lt">1.3.0</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>PolarSSL is a cryptographic library for embedded systems.</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>Multiple vulnerabilities have been discovered in PolarSSL. Please review
|
||||
the CVE identifiers referenced below for details.
|
||||
</p>
|
||||
</description>
|
||||
<impact type="normal">
|
||||
<p>A remote attacker might be able to cause Denial of Service, conduct a
|
||||
man-in-the middle attack, compromise an encrypted communication channel,
|
||||
or obtain sensitive information.
|
||||
</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All PolarSSL users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=net-libs/polarssl-1.3.0"
|
||||
</code>
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-1923">CVE-2011-1923</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-2130">CVE-2012-2130</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-0169">CVE-2013-0169</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-1621">CVE-2013-1621</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-4623">CVE-2013-4623</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-5915">CVE-2013-5915</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="Sat, 08 Oct 2011 22:30:33 +0000">craig</metadata>
|
||||
<metadata tag="submitter" timestamp="Thu, 17 Oct 2013 08:18:11 +0000">craig</metadata>
|
||||
</glsa>
|
@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
|
||||
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201310-11">
|
||||
<title>Perl Parallel-ForkManager Module: Insecure temporary file usage</title>
|
||||
<synopsis>An insecure temporary file usage has been reported in the Perl
|
||||
Parallel-ForkManager module, possibly allowing symlink attacks.
|
||||
</synopsis>
|
||||
<product type="ebuild">Parallel-ForkManager</product>
|
||||
<announced>October 17, 2013</announced>
|
||||
<revised>October 17, 2013: 1</revised>
|
||||
<bug>389839</bug>
|
||||
<access>local</access>
|
||||
<affected>
|
||||
<package name="dev-perl/Parallel-ForkManager" auto="yes" arch="*">
|
||||
<unaffected range="ge">1.20.0</unaffected>
|
||||
<vulnerable range="lt">1.20.0</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>Parallel-ForkManager is a simple parallel processing fork manager for
|
||||
Perl.
|
||||
</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>The Perl Parallel-ForkManager module does not handle temporary files
|
||||
securely.
|
||||
</p>
|
||||
</description>
|
||||
<impact type="normal">
|
||||
<p>A local attacker could perform symlink attacks to overwrite arbitrary
|
||||
files with the privileges of the user running the application.
|
||||
</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All Parallel-ForkManager users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose
|
||||
">=dev-perl/Parallel-ForkManager-1.20.0"
|
||||
</code>
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-4115">CVE-2011-4115</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="Wed, 02 Jan 2013 18:47:58 +0000">
|
||||
underling
|
||||
</metadata>
|
||||
<metadata tag="submitter" timestamp="Thu, 17 Oct 2013 08:42:08 +0000">ackle</metadata>
|
||||
</glsa>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue