parent
c6e752d58e
commit
7841b2b863
@ -0,0 +1 @@
|
||||
DIST salt-0.9.8.tar.gz 1641495 RMD160 236fb3d5e514127067ae381aad9061afd6bbb741 SHA1 0b25385f23ccb24b41bf26f0767c55eaf871aaca SHA256 a00cb012b8caca3ce30ecf37a8bc9e0ba3048d5158ff6914918a913aae07ed15
|
@ -0,0 +1,5 @@
|
||||
# /etc/conf.d/salt-master: config file for /etc/init.d/salt-master
|
||||
|
||||
# see man pages for salt-minion or run `salt-master --help`
|
||||
# for valid cmdline options
|
||||
SALT_OPTS="--log-level=warning"
|
@ -0,0 +1,13 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/salt/files/master-initd-1,v 1.1 2012/04/24 23:37:27 chutzpah Exp $
|
||||
|
||||
command="/usr/bin/salt-master"
|
||||
command_args="--daemon ${SALT_OPTS}"
|
||||
pidfile="/var/run/salt-master.pid"
|
||||
name="SALT master daemon"
|
||||
|
||||
depend() {
|
||||
use net
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
# /etc/conf.d/salt-minion: config file for /etc/init.d/salt-minion
|
||||
|
||||
# see man pages for salt-minion or run `salt-minion --help`
|
||||
# for valid cmdline options
|
||||
SALT_OPTS="--log-level=warning"
|
@ -0,0 +1,13 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/salt/files/minion-initd-1,v 1.1 2012/04/24 23:37:27 chutzpah Exp $
|
||||
|
||||
command="/usr/bin/salt-minion"
|
||||
command_args="--daemon ${SALT_OPTS}"
|
||||
pidfile="/var/run/salt-minion.pid"
|
||||
name="SALT minion daemon"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
From 6c25bb24a250eaa41df02a0fe0ea696f227e8d18 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas S Hatch <thatch45@gmail.com>
|
||||
Date: Sat, 24 Mar 2012 11:51:24 -0600
|
||||
Subject: [PATCH] fix issue with syndic resolution of master 1p
|
||||
|
||||
---
|
||||
salt/__init__.py | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/salt/__init__.py b/salt/__init__.py
|
||||
index 61b98e3..bce0065 100644
|
||||
--- a/salt/__init__.py
|
||||
+++ b/salt/__init__.py
|
||||
@@ -223,7 +223,7 @@ class Syndic(object):
|
||||
# Some of the opts need to be changed to match the needed opts
|
||||
# in the minion class.
|
||||
opts['master'] = opts['syndic_master']
|
||||
- opts['master_ip'] = salt.config.dns_check(opts['master'])
|
||||
+ opts['master_ip'] = salt.utils.dns_check(opts['master'])
|
||||
|
||||
opts['master_uri'] = ('tcp://' + opts['master_ip'] +
|
||||
':' + str(opts['master_port']))
|
||||
--
|
||||
1.7.8.5
|
||||
|
@ -0,0 +1,5 @@
|
||||
# /etc/conf.d/salt-minion: config file for /etc/init.d/salt-minion
|
||||
|
||||
# see man pages for salt-minion or run `salt-minion --help`
|
||||
# for valid cmdline options
|
||||
SALT_OPTS="--log-level=warning"
|
@ -0,0 +1,13 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/salt/files/syndic-initd-1,v 1.1 2012/04/24 23:37:27 chutzpah Exp $
|
||||
|
||||
command="/usr/bin/salt-syndic"
|
||||
command_args="--daemon ${SALT_OPTS}"
|
||||
pidfile="/var/run/salt-syndic.pid"
|
||||
name="SALT syndic daemon"
|
||||
|
||||
depend() {
|
||||
use net
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>chutzpah@gentoo.org</email>
|
||||
<name>Patrick McLean</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Salt is a powerful remote execution manager that can be used to administer
|
||||
servers in a fast and efficient way.
|
||||
|
||||
Salt allows commands to be executed across large groups of servers. This means
|
||||
systems can be easily managed, but data can also be easily gathered. Quick
|
||||
introspection into running systems becomes a reality.
|
||||
|
||||
Remote execution is usually used to set up a certain state on a remote system.
|
||||
Salt addresses this problem as well, the salt state system uses salt state
|
||||
files to define the state a server needs to be in.
|
||||
|
||||
Between the remote execution system, and state management Salt addresses the
|
||||
backbone of cloud and data center management.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="jinja">Add support to use dev-python/jinja to parse Salt
|
||||
states.</flag>
|
||||
<flag name="libvirt">Support managing virtual machines with
|
||||
app-emulation/libvirt.</flag>
|
||||
<flag name="mongodb">Support returning data to a mongodb server.</flag>
|
||||
<flag name="redis">Support returning data to a redis database.</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/salt/salt-0.9.8.ebuild,v 1.1 2012/04/24 23:37:27 chutzpah Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_COMPAT="python2_6 python2_7 python3_1 python3_2"
|
||||
|
||||
inherit eutils python-distutils-ng
|
||||
|
||||
DESCRIPTION="Salt is a remote execution and configuration manager."
|
||||
HOMEPAGE="http://saltstack.org/"
|
||||
SRC_URI="mirror://github/saltstack/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="+jinja libvirt mongodb mysql redis"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-python/pyzmq-2.1.9
|
||||
dev-python/msgpack
|
||||
dev-python/pyyaml
|
||||
dev-python/m2crypto
|
||||
dev-python/pycrypto
|
||||
dev-python/pycryptopp
|
||||
jinja? ( dev-python/jinja )
|
||||
libvirt? ( app-emulation/libvirt[python] )
|
||||
mongodb? ( dev-python/pymongo )
|
||||
mysql? ( dev-python/mysql-python )
|
||||
redis? ( dev-python/redis-py )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-syndic-resolution-of-master.patch
|
||||
sed -i '/install_requires=/ d' setup.py || die "sed failed"
|
||||
|
||||
python-distutils-ng_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python-distutils-ng_src_install
|
||||
|
||||
for s in minion master syndic; do
|
||||
newinitd "${FILESDIR}"/${s}-initd-1 salt-${s}
|
||||
newconfd "${FILESDIR}"/${s}-confd-1 salt-${s}
|
||||
done
|
||||
|
||||
# rename the config templates to the actual config names
|
||||
for c in "${D}"/etc/${PN}/*.template; do
|
||||
mv -f "${c}" "${c%.template}"
|
||||
sed -i '1 d' "${c%.template}"
|
||||
done
|
||||
|
||||
dodoc README.rst AUTHORS
|
||||
}
|
||||
|
||||
python_test() {
|
||||
./setup.py test || die
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST myspell-cs-20110224.zip 1440618 RMD160 5a4fb0802dc6bbad3dabb71f75b46928fdf7abb4 SHA1 fd8177d63c7ca7bdca9080e4b28dd1f49b43ac75 SHA256 5315491a315a5380326458a228f7cda304eb3b14c3f61bf9792efc8061925462
|
||||
DIST myspell-cs_CZ-20070926.zip 612736 RMD160 817b7bbcdd465841b12817b4861fcd9be950a54e SHA1 9bee527b20a2ed1ee4f9eae3f01b67d324f9af02 SHA256 88f8689532a53c38b8e88751d49ab44fa3faa01bcddddebd3f65e31dc69f856e
|
||||
DIST myspell-hyph_cs_CZ-20070926.zip 11193 RMD160 dbd49af06ef3d74a4e61a35c17c87134e1c0142b SHA1 3c8aad401b960b7bc952504cf3697a6267831ebb SHA256 fa8dc0c93af0bdd71eb507d0097a3c5ad4f17ad99b1df247426665fb1ff7fd7b
|
||||
DIST myspell-thes_cs_CZ_v2-20070926.zip 260389 RMD160 b9f34221657cb8619ad1b5b6d27dcb789384fb4f SHA1 9629a4326b6f10a6ae274513a4adee53e48cc0f7 SHA256 2b5660c2dd375a5475b5c2e24828e43ee001c9755e24b50a877d92aba6eb2728
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/myspell-cs/myspell-cs-20110224.ebuild,v 1.1 2012/04/24 12:48:18 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MYSPELL_DICT=(
|
||||
"cs_CZ.dic"
|
||||
"cs_CZ.aff"
|
||||
)
|
||||
|
||||
MYSPELL_HYPH=(
|
||||
"hyph_cs_CZ.dic"
|
||||
)
|
||||
|
||||
MYSPELL_THES=(
|
||||
"th_cs_CZ_v3.dat"
|
||||
"th_cs_CZ_v3.idx"
|
||||
)
|
||||
|
||||
inherit myspell-r2
|
||||
|
||||
DESCRIPTION="Czech dictionaries for myspell/hunspell"
|
||||
HOMEPAGE="http://www.liberix.cz/doplnky/slovniky/ooo/"
|
||||
SRC_URI="${HOMEPAGE}/dict-cs-2.oxt -> ${P}.zip"
|
||||
|
||||
LICENSE="GPL-2 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
@ -1,3 +1,4 @@
|
||||
DIST myspell-hyph_sk_SK-20060316.zip 7544 RMD160 5be2d2e40678d59ee5aa5af00d79354f68d70753 SHA1 89adc1078321da7dee8383a54ad2466d0a70c14e SHA256 488ad858c719e596f056537103ee6b21cfdd90e9b8619f65d9f9ed76ba2725b8
|
||||
DIST myspell-sk-20110224.zip 1351228 RMD160 2f34fa1059d67ef0fc68c11614c413b1e9e4f87e SHA1 f49a8cbb8e0c4e1e2125cfb43955abe759422546 SHA256 31b0ec1ca0c27776b2af27f48e15d70a4607e9d94f06a7e1b56110fb48083711
|
||||
DIST myspell-sk_SK-20060316.zip 600579 RMD160 07dda1ea47f7efc11673736b7e2fd1de19b9830c SHA1 a5a703b2da40a16db166718372a2a6842f6671e2 SHA256 a6d59feafeceeb8be99cbf48385e3ff0940ecde54596bee5cad2b0ae4e78d568
|
||||
DIST myspell-thes_sk_SK-20060316.zip 126852 RMD160 ad4802beab0432c2f73af259c487fa86f804b483 SHA1 f6a0c1be5a9bac0bf4830ddc5564aa8c9ee2a959 SHA256 bb8e0c7eec76a8cd56eb76c956811cd163d02b2644ad7c4e41c63095ac99fd6e
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/myspell-sk/myspell-sk-20110224.ebuild,v 1.1 2012/04/24 13:05:38 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MYSPELL_DICT=(
|
||||
"sk_SK/sk_SK.dic"
|
||||
"sk_SK/sk_SK.aff"
|
||||
)
|
||||
|
||||
MYSPELL_HYPH=(
|
||||
"hyph_sk_SK/hyph_sk_SK.dic"
|
||||
)
|
||||
|
||||
MYSPELL_THES=(
|
||||
"thes_sk_SK_v2/th_sk_SK_v2.dat"
|
||||
"thes_sk_SK_v2/th_sk_SK_v2.idx"
|
||||
)
|
||||
|
||||
inherit myspell-r2
|
||||
|
||||
DESCRIPTION="Slovak dictionaries for myspell/hunspell"
|
||||
HOMEPAGE="http://www.liberix.cz/doplnky/slovniky/ooo/"
|
||||
SRC_URI="${HOMEPAGE}/dict-sk.oxt -> ${P}.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/cooledit/cooledit-3.17.17.ebuild,v 1.8 2010/04/05 04:04:43 abcd Exp $
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="Cooledit is a full featured multiple window text editor"
|
||||
HOMEPAGE="http://freshmeat.net/projects/cooledit/"
|
||||
SRC_URI="ftp://ftp.ibiblio.org/pub/Linux/apps/editors/X/cooledit/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ppc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND="x11-libs/libX11
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libXau
|
||||
app-text/ispell"
|
||||
DEPEND="${RDEPEND}
|
||||
x11-libs/libXpm"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${P}-gcc4.patch \
|
||||
"${FILESDIR}"/${P}-asneeded.patch \
|
||||
"${FILESDIR}"/${P}-implicit_declarations.patch \
|
||||
"${FILESDIR}"/${P}-interix.patch \
|
||||
"${FILESDIR}"/${P}-interix5.patch
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
[[ ${CHOST} == *-interix* ]] && export ac_cv_header_wchar_h=no
|
||||
|
||||
# Fix for bug 40152 (04 Feb 2004 agriffis)
|
||||
addwrite /dev/ptym/clone:/dev/ptmx
|
||||
econf $(use_enable nls)
|
||||
emake || die "emake failed."
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed."
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST tea-31.2.0.tar.bz2 262806 RMD160 11514eebed9d789ca56d8289e32e2639821cbee0 SHA1 78986b8447eab21be136dc18a2e1afca39a442bb SHA256 81bb3d02a776a4a02fdb94751562194a32e6f8794ccf981d11db422cc44f836b
|
||||
DIST tea-32.0.0.tar.bz2 308209 RMD160 1a78b08366fe66eee7952984b79be319b9bda820 SHA1 3bcc62337512cce9886cb696cbe49e447ece8af4 SHA256 e72475f830a7df76b629fe57855fd4febf8b13bf25546cabc104f4eaec7d7545
|
||||
DIST tea-32.0.1.tar.bz2 308616 RMD160 fe29f3bf97fdeccab2ddba873837ba285f636a18 SHA1 6152788dfa9f5a772bca484fe3946fafa870fcb4 SHA256 930cc05893b059170adc0b5bcc48d0f80bcb47b43789ba600ec086c853c93027
|
||||
DIST tea-32.0.2.tar.bz2 308005 RMD160 06f1a08dccaa25fcb53aa1449e3fbdc0ec6700c8 SHA1 67d60c1d6e31efbe5d64551bee111be5d3d87120 SHA256 e6447af2978279cc4c1dba096ee5e42c7353702ef940897ad6e9631e09c48413
|
||||
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/tea/tea-32.0.0.ebuild,v 1.1 2012/03/16 10:23:30 patrick Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils qt4-r2
|
||||
|
||||
DESCRIPTION="Small, lightweight Qt text editor"
|
||||
HOMEPAGE="http://tea-editor.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/tea-editor/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~x86 ~x86-fbsd"
|
||||
IUSE="aspell hunspell"
|
||||
|
||||
RDEPEND="sys-libs/zlib
|
||||
x11-libs/qt-core:4
|
||||
x11-libs/qt-gui:4
|
||||
aspell? ( app-text/aspell )
|
||||
hunspell? ( app-text/hunspell )"
|
||||
DEPEND="${RDEPEND}
|
||||
hunspell? ( dev-util/pkgconfig )"
|
||||
|
||||
src_configure() {
|
||||
local myopts
|
||||
if use aspell ; then
|
||||
myopts="USE_ASPELL=true"
|
||||
else
|
||||
myopts="USE_ASPELL=false"
|
||||
fi
|
||||
|
||||
if use hunspell ; then
|
||||
myopts="${myopts} USE_HUNSPELL=true"
|
||||
else
|
||||
myopts="${myopts} USE_HUNSPELL=false"
|
||||
fi
|
||||
|
||||
eqmake4 src.pro PREFIX="/usr/bin" ${myopts}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/tea
|
||||
dodoc AUTHORS ChangeLog NEWS NEWS-RU TODO
|
||||
doicon icons/tea_icon_v2.png
|
||||
|
||||
make_desktop_entry tea Tea tea_icon_v2 Utility
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST esearch-0.7.2.tar.bz2 11747 RMD160 91daf94ed15ece77f0020b6269906b93a526af6a SHA1 a973679704b036a2d15876694534541410d9c273 SHA256 7e47e8f180b1fe2a00468012b38d6f6d75a629b89294d52d08b97dbc1cc2e08e
|
||||
DIST esearch-1.0.tar.gz 18071 RMD160 6ffc724b3979cc322f73369331372eb8cd34002b SHA1 a25795d5b092b8eb9716135c4578994a2a2dc550 SHA256 456ece57d9b55e8d9c70920904770c858701d56b7fbb56af32536a5fdd3c8832
|
||||
DIST esearch-1.1.tar.gz 18855 RMD160 c3eb634caa93473416b9777322e5c3e8a7acf31c SHA1 4f4f0b903a5a940479baba280cf24bc86ea833e0 SHA256 2c9234d9ecdbe1460a58140fd0c25cf6b7fe2e894e2f880dd26c6d03dca7be16
|
||||
|
@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/esearch-0.7.2-r2.ebuild,v 1.6 2012/02/26 08:57:59 patrick Exp $
|
||||
|
||||
EAPI=3
|
||||
PYTHON_DEPEND=2:2.5
|
||||
PYTHON_USE_WITH=readline
|
||||
RESTRICT_PYTHON_ABIS="*-jython 2.7-pypy-*"
|
||||
|
||||
inherit base eutils multilib python
|
||||
|
||||
DESCRIPTION="Replacement for 'emerge --search' with search-index"
|
||||
HOMEPAGE="http://david-peter.de/esearch.html"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2 http://dev.gentoo.org/~fuzzyray/distfiles/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE="linguas_fr linguas_it"
|
||||
|
||||
RDEPEND="sys-apps/portage"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PV}-esync-quiet.patch
|
||||
"${FILESDIR}"/${PV}-make-prefix-aware.patch
|
||||
"${FILESDIR}"/${PV}-update-shebang-lines.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
dodir /usr/bin/ /usr/sbin/ || die "dodir failed"
|
||||
|
||||
exeinto /usr/$(get_libdir)/esearch
|
||||
doexe eupdatedb.py esearch.py esync.py common.py || die "doexe failed"
|
||||
|
||||
dosym ../$(get_libdir)/esearch/esearch.py /usr/bin/esearch || die "dosym failed"
|
||||
dosym ../$(get_libdir)/esearch/eupdatedb.py /usr/sbin/eupdatedb || die "dosym failed"
|
||||
dosym ../$(get_libdir)/esearch/esync.py /usr/sbin/esync || die "dosym failed"
|
||||
|
||||
doman en/{esearch,eupdatedb,esync}.1 || die "doman failed"
|
||||
dodoc ChangeLog "${FILESDIR}/eupdatedb.cron" || die "dodoc failed"
|
||||
|
||||
if use linguas_it ; then
|
||||
insinto /usr/share/man/it/man1
|
||||
doins it/{esearch,eupdatedb,esync}.1 || die "doins failed"
|
||||
fi
|
||||
|
||||
if use linguas_fr ; then
|
||||
insinto /usr/share/man/fr/man1
|
||||
doins fr/{esearch,eupdatedb,esync}.1 || die "doins failed"
|
||||
fi
|
||||
|
||||
python_convert_shebangs -r 2 "${ED}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize /usr/$(get_libdir)/esearch
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup /usr/$(get_libdir)/esearch
|
||||
}
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/esearch-1.1-r1.ebuild,v 1.1 2012/04/16 19:56:55 fuzzyray Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.[45] 2.7-pypy-* *-jython"
|
||||
PYTHON_USE_WITH="readline"
|
||||
PYTHON_NONVERSIONED_EXECUTABLES=(".*")
|
||||
|
||||
inherit base distutils python
|
||||
|
||||
DESCRIPTION="Replacement for 'emerge --search' with search-index"
|
||||
HOMEPAGE="http://david-peter.de/esearch.html"
|
||||
SRC_URI="mirror://github/fuzzyray/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="linguas_fr linguas_it"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
|
||||
|
||||
DEPEND="sys-apps/portage"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# Populate the patches array for any patches for -rX releases
|
||||
# It is an array of patch file names of the form:
|
||||
# "${FILESDIR}"/${PV}-fix-EPREFIX-capability.patch
|
||||
PATCHES=( "${FILESDIR}"/${PV}-Reprint-warnings-detected-during-layman-sync-API.patch )
|
||||
|
||||
distutils_src_compile_pre_hook() {
|
||||
echo VERSION="${PVR}" "$(PYTHON)" setup.py set_version
|
||||
VERSION="${PVR}" "$(PYTHON)" setup.py set_version \
|
||||
|| die "setup.py set_version failed"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
distutils_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_convert_shebangs -r "" build-*/scripts-*
|
||||
distutils_src_install
|
||||
dodoc eupdatedb.cron || die "dodoc failed"
|
||||
|
||||
# Remove unused man pages according to the linguas flags
|
||||
if ! use linguas_fr ; then
|
||||
rm -rf "${ED}"/usr/share/man/fr
|
||||
fi
|
||||
|
||||
if ! use linguas_it ; then
|
||||
rm -rf "${ED}"/usr/share/man/it
|
||||
fi
|
||||
}
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/esearch-1.1.ebuild,v 1.1 2012/04/13 21:49:41 fuzzyray Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.[45] 2.7-pypy-* *-jython"
|
||||
PYTHON_USE_WITH="readline"
|
||||
PYTHON_NONVERSIONED_EXECUTABLES=(".*")
|
||||
|
||||
inherit base distutils python
|
||||
|
||||
DESCRIPTION="Replacement for 'emerge --search' with search-index"
|
||||
HOMEPAGE="http://david-peter.de/esearch.html"
|
||||
SRC_URI="mirror://github/fuzzyray/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="linguas_fr linguas_it"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
|
||||
|
||||
DEPEND="sys-apps/portage"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# Populate the patches array for any patches for -rX releases
|
||||
# It is an array of patch file names of the form:
|
||||
# "${FILESDIR}"/${PV}-fix-EPREFIX-capability.patch"
|
||||
PATCHES=()
|
||||
|
||||
distutils_src_compile_pre_hook() {
|
||||
echo VERSION="${PVR}" "$(PYTHON)" setup.py set_version
|
||||
VERSION="${PVR}" "$(PYTHON)" setup.py set_version \
|
||||
|| die "setup.py set_version failed"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
distutils_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_convert_shebangs -r "" build-*/scripts-*
|
||||
distutils_src_install
|
||||
dodoc eupdatedb.cron || die "dodoc failed"
|
||||
|
||||
# Remove unused man pages according to the linguas flags
|
||||
if ! use linguas_fr ; then
|
||||
rm -rf "${ED}"/usr/share/man/fr
|
||||
fi
|
||||
|
||||
if ! use linguas_it ; then
|
||||
rm -rf "${ED}"/usr/share/man/it
|
||||
fi
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
commit a1e10395afeb138df9c8f39fb3c9c1f53897239f
|
||||
Author: dol-sen <brian.dolbec@gmail.com>
|
||||
Date: Sun Jul 31 20:33:31 2011 -0700
|
||||
|
||||
re-add quiet options to getopt, bug 377119
|
||||
|
||||
diff --git a/esync.py b/esync.py
|
||||
index f74a0f8..eda504f 100755
|
||||
--- a/esync.py
|
||||
+++ b/esync.py
|
||||
@@ -70,7 +70,10 @@ def usage():
|
||||
sys.exit(0)
|
||||
|
||||
try:
|
||||
- opts = getopt(sys.argv[1:], "hwdmnvs", ["help", "webrsync", "delta-webrsync", "nocolor", "verbose", "metadata", "nospinner"])
|
||||
+ opts = getopt(sys.argv[1:], "hwdmnqvs",
|
||||
+ ["help", "webrsync", "delta-webrsync",
|
||||
+ "nocolor", "verbose", "metadata", "nospinner",
|
||||
+ "quiet"])
|
||||
except GetoptError, error:
|
||||
print red(" * Error:"), error, "(see", darkgreen("--help"), "for all options)"
|
||||
print
|
@ -1,152 +0,0 @@
|
||||
From 8def0d5c01ba121c9952a987a721db59e2396261 Mon Sep 17 00:00:00 2001
|
||||
From: Paul Varner <fuzzyray@gentoo.org>
|
||||
Date: Wed, 24 Aug 2011 17:17:32 -0500
|
||||
Subject: [PATCH] Make prefix aware.
|
||||
|
||||
---
|
||||
esearch.py | 12 +++++++++---
|
||||
esync.py | 27 ++++++++++++++++-----------
|
||||
eupdatedb.py | 13 +++++++++----
|
||||
3 files changed, 34 insertions(+), 18 deletions(-)
|
||||
|
||||
diff --git a/esearch.py b/esearch.py
|
||||
index 68c311d..1f15ee9 100755
|
||||
--- a/esearch.py
|
||||
+++ b/esearch.py
|
||||
@@ -9,9 +9,15 @@
|
||||
|
||||
from getopt import *
|
||||
import sys
|
||||
+import os
|
||||
|
||||
-sys.path.insert(0, "/usr/lib/portage/pym")
|
||||
-sys.path.insert(0, "/usr/lib/esearch")
|
||||
+try:
|
||||
+ from portage.const import EPREFIX
|
||||
+except ImportError:
|
||||
+ EPREFIX = ''
|
||||
+
|
||||
+sys.path.insert(0, EPREFIX + "/usr/lib/portage/pym")
|
||||
+sys.path.insert(0, EPREFIX + "/usr/lib/esearch")
|
||||
|
||||
try:
|
||||
from portage.output import bold, red, green, darkgreen, turquoise, nocolor
|
||||
@@ -22,7 +28,7 @@ import re
|
||||
|
||||
from common import needdbversion
|
||||
|
||||
-esearchdbdir = "/var/cache/edb/"
|
||||
+esearchdbdir = EPREFIX + "/var/cache/edb/"
|
||||
|
||||
def usage():
|
||||
print "esearch (0.7.1) - Replacement for 'emerge search' with search-index"
|
||||
diff --git a/esync.py b/esync.py
|
||||
index eda504f..2fcc6be 100755
|
||||
--- a/esync.py
|
||||
+++ b/esync.py
|
||||
@@ -15,7 +15,12 @@ import os
|
||||
import sys
|
||||
from getopt import *
|
||||
|
||||
-sys.path.insert(0, "/usr/lib/portage/pym")
|
||||
+try:
|
||||
+ from portage.const import EPREFIX
|
||||
+except ImportError:
|
||||
+ EPREFIX = ''
|
||||
+
|
||||
+sys.path.insert(0, EPREFIX + "/usr/lib/portage/pym")
|
||||
|
||||
import portage
|
||||
try:
|
||||
@@ -25,11 +30,11 @@ except ImportError:
|
||||
|
||||
from common import needdbversion
|
||||
|
||||
-syncprogram = "EMERGE_DEFAULT_OPTS=\"\" /usr/bin/emerge --sync"
|
||||
-logfile_sync = "/var/log/emerge-sync.log"
|
||||
-tmp_prefix = "/tmp/esync"
|
||||
+syncprogram = "EMERGE_DEFAULT_OPTS=\"\" " + EPREFIX + "/usr/bin/emerge --sync"
|
||||
+logfile_sync = EPREFIX + "/var/log/emerge-sync.log"
|
||||
+tmp_prefix = EPREFIX + "/tmp/esync"
|
||||
|
||||
-sys.path.append("/tmp")
|
||||
+sys.path.append(EPREFIX + "/tmp")
|
||||
|
||||
eoptions = ""
|
||||
eupdatedb_extra_options = ""
|
||||
@@ -85,11 +90,11 @@ for a in opts[0]:
|
||||
if arg in ("-h", "--help"):
|
||||
usage()
|
||||
elif arg in ("-w", "--webrsync"):
|
||||
- syncprogram = "EMERGE_DEFAULT_OPTS=\"\" /usr/sbin/emerge-webrsync"
|
||||
+ syncprogram = "EMERGE_DEFAULT_OPTS=\"\" " + EPREFIX + "/usr/sbin/emerge-webrsync"
|
||||
elif arg in ("-d", "--delta-webrsync"):
|
||||
- syncprogram = "EMERGE_DEFAULT_OPTS=\"\" /usr/bin/emerge-delta-webrsync -u"
|
||||
+ syncprogram = "EMERGE_DEFAULT_OPTS=\"\" " + EPREFIX + "/usr/bin/emerge-delta-webrsync -u"
|
||||
elif arg in ("-m", "--metadata"):
|
||||
- syncprogram = "EMERGE_DEFAULT_OPTS=\"\" /usr/bin/emerge --metadata"
|
||||
+ syncprogram = "EMERGE_DEFAULT_OPTS=\"\" " + EPREFIX + "/usr/bin/emerge --metadata"
|
||||
elif arg in ("-n", "--nocolor"):
|
||||
eoptions = "-n"
|
||||
nocolor()
|
||||
@@ -123,7 +128,7 @@ def gettree(tree):
|
||||
target = tmp_prefix + tree + "tree.pyc"
|
||||
if os.path.exists(target):
|
||||
os.unlink(target)
|
||||
- os.symlink("/var/cache/edb/esearchdb.pyc", target)
|
||||
+ os.symlink(EPREFIX + "/var/cache/edb/esearchdb.pyc", target)
|
||||
except OSError, e:
|
||||
if e.errno != 17:
|
||||
print e
|
||||
@@ -166,7 +171,7 @@ if not quiet:
|
||||
emsg("Doing 'eupdatedb' now")
|
||||
print ""
|
||||
|
||||
-if os.system("/usr/sbin/eupdatedb " + eoptions + " " + eupdatedb_extra_options) != 0:
|
||||
+if os.system(EPREFIX + "/usr/sbin/eupdatedb " + eoptions + " " + eupdatedb_extra_options) != 0:
|
||||
print ""
|
||||
print red(" * Error:"), "eupdatedb failed"
|
||||
sys.exit(1)
|
||||
@@ -198,7 +203,7 @@ haspkg = False
|
||||
|
||||
for (pkg, version) in items:
|
||||
if (pkg not in old_keys) or (old[pkg] != new[pkg]):
|
||||
- os.system("/usr/bin/esearch " + eoptions + " -Fc ^" + pkg + "$ | head -n1")
|
||||
+ os.system(EPREFIX + "/usr/bin/esearch " + eoptions + " -Fc ^" + pkg + "$ | head -n1")
|
||||
haspkg = True
|
||||
|
||||
if not haspkg:
|
||||
diff --git a/eupdatedb.py b/eupdatedb.py
|
||||
index 6619b92..e423ea0 100755
|
||||
--- a/eupdatedb.py
|
||||
+++ b/eupdatedb.py
|
||||
@@ -17,8 +17,13 @@ from os.path import exists
|
||||
from shutil import copyfile
|
||||
from getopt import *
|
||||
|
||||
-sys.path.insert(0, "/usr/lib/portage/pym")
|
||||
-sys.path.insert(0, "/usr/lib/esearch")
|
||||
+try:
|
||||
+ from portage.const import EPREFIX
|
||||
+except ImportError:
|
||||
+ EPREFIX = ''
|
||||
+
|
||||
+sys.path.insert(0, EPREFIX + "/usr/lib/portage/pym")
|
||||
+sys.path.insert(0, EPREFIX + "/usr/lib/esearch")
|
||||
|
||||
import portage
|
||||
try:
|
||||
@@ -32,8 +37,8 @@ except ImportError:
|
||||
|
||||
from common import needdbversion, version
|
||||
|
||||
-esearchdbdir = "/var/cache/edb/"
|
||||
-tmpfile = "/tmp/esearchdb.py.tmp"
|
||||
+esearchdbdir = EPREFIX + "/var/cache/edb/"
|
||||
+tmpfile = EPREFIX + "/tmp/esearchdb.py.tmp"
|
||||
|
||||
vartree = portage.vartree()
|
||||
|
||||
--
|
||||
1.7.6
|
||||
|
@ -1,33 +0,0 @@
|
||||
From adb18c5758f533a56c228c2c772b4c34a6be2dc2 Mon Sep 17 00:00:00 2001
|
||||
From: Paul Varner <fuzzyray@gentoo.org>
|
||||
Date: Wed, 24 Aug 2011 18:27:11 -0500
|
||||
Subject: [PATCH] Update shebang lines to work with prefix
|
||||
|
||||
---
|
||||
common.py | 2 +-
|
||||
esync.py | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/common.py b/common.py
|
||||
index 197bd21..e121927 100755
|
||||
--- a/common.py
|
||||
+++ b/common.py
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/python
|
||||
+#!/usr/bin/env python
|
||||
#
|
||||
# Some functions for esearch,
|
||||
# eupdatedb and esync.
|
||||
diff --git a/esync.py b/esync.py
|
||||
index 2fcc6be..b9e77b6 100755
|
||||
--- a/esync.py
|
||||
+++ b/esync.py
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/python -u
|
||||
+#!/usr/bin/env python
|
||||
#
|
||||
# 'python -u' for unbuffered output, so you can call
|
||||
# $ esync | tee esync.log
|
||||
--
|
||||
1.7.6
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST clojure-1.2.0.zip 3586231 RMD160 80a87879beb0dcd6751ec4f6800cde1eca41d7b6 SHA1 4b0cf4d5d31816c1b7a616f4b74b136b62bd4e35 SHA256 1334773cb13793bdc0588de0fe5b5aec602bb98ca84858d7374b4e063864d207
|
||||
DIST clojure-1.3.0.tar.gz 489200 RMD160 9a8eef118152a0057b44b9859a076e1ae272d250 SHA1 4b541ad2de3ebc2a7a8944197688cd3d3593eed0 SHA256 da719ca8600f75001362fefa6427ef14d0a64c3ddc220c79695c44abecdc4a18
|
||||
DIST clojure-1.4.0.tar.gz 501302 RMD160 9d6a098d143b2205a958911fcde05271b7edc78b SHA1 87f01d016b42f9a64a87d7c6be9292c10008850f SHA256 72e9b69367e5f825fe501629a7bf25d70632a6007751d2a9520be133879f42cd
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/clojure/clojure-1.4.0.ebuild,v 1.1 2012/04/24 15:40:54 mr_bones_ Exp $
|
||||
|
||||
EAPI=2
|
||||
JAVA_PKG_IUSE="source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Clojure is a dynamic programming language that targets the Java Virtual Machine"
|
||||
HOMEPAGE="http://clojure.org/"
|
||||
SRC_URI="https://github.com/clojure/clojure/tarball/clojure-1.4.0 -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="EPL-1.0"
|
||||
SLOT="1.4"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
DEPEND=">=virtual/jdk-1.5"
|
||||
|
||||
S=${WORKDIR}/clojure-clojure-8306949
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar ${P/_/-}.jar
|
||||
java-pkg_dolauncher ${PN}-${SLOT} --main clojure.main
|
||||
dodoc changes.md readme.txt || die
|
||||
}
|
@ -0,0 +1,141 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.8w.ebuild,v 1.1 2012/04/24 14:54:31 vapier Exp $
|
||||
|
||||
# this ebuild is only for the libcrypto.so.0.9.8 and libssl.so.0.9.8 SONAME for ABI compat
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1"
|
||||
HOMEPAGE="http://www.openssl.org/"
|
||||
SRC_URI="mirror://openssl/source/${P}.tar.gz"
|
||||
|
||||
LICENSE="openssl"
|
||||
SLOT="0.9.8"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="bindist gmp kerberos sse2 test zlib"
|
||||
|
||||
RDEPEND="gmp? ( dev-libs/gmp )
|
||||
zlib? ( sys-libs/zlib )
|
||||
kerberos? ( app-crypt/mit-krb5 )
|
||||
!=dev-libs/openssl-0.9.8*:0"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/diffutils
|
||||
>=dev-lang/perl-5
|
||||
test? ( sys-devel/bc )"
|
||||
|
||||
pkg_setup() {
|
||||
# avoid collisions with openssl-1 (preserve lib)
|
||||
if ! has_version dev-libs/openssl:${SLOT} ; then
|
||||
ewarn "Removing lib{crypto,ssl}.so.0.9.8 to avoid collision with openssl-1"
|
||||
rm -f "${ROOT}"/usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.8
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.9.8e-bsd-sparc64.patch
|
||||
epatch "${FILESDIR}"/${PN}-0.9.8h-ldflags.patch #181438
|
||||
epatch "${FILESDIR}"/${PN}-0.9.8m-binutils.patch #289130
|
||||
|
||||
# disable fips in the build
|
||||
# make sure the man pages are suffixed #302165
|
||||
# don't bother building man pages if they're disabled
|
||||
sed -i \
|
||||
-e '/DIRS/s: fips : :g' \
|
||||
-e '/^MANSUFFIX/s:=.*:=ssl:' \
|
||||
-e '/^MAKEDEPPROG/s:=.*:=$(CC):' \
|
||||
-e $(has noman FEATURES \
|
||||
&& echo '/^install:/s:install_docs::' \
|
||||
|| echo '/^MANDIR=/s:=.*:=/usr/share/man:') \
|
||||
Makefile{,.org} \
|
||||
|| die
|
||||
# show the actual commands in the log
|
||||
sed -i '/^SET_X/s:=.*:=set -x:' Makefile.shared
|
||||
# update the enginedir path
|
||||
sed -i \
|
||||
-e "/foo.*engines/s|/lib/engines|/$(get_libdir)/engines|" \
|
||||
Configure || die
|
||||
|
||||
# allow openssl to be cross-compiled
|
||||
cp "${FILESDIR}"/gentoo.config-0.9.8 gentoo.config || die "cp cross-compile failed"
|
||||
chmod a+rx gentoo.config
|
||||
|
||||
append-flags -fno-strict-aliasing
|
||||
append-flags -Wa,--noexecstack
|
||||
|
||||
sed -i '1s,^:$,#!/usr/bin/perl,' Configure #141906
|
||||
sed -i '/^"debug-steve/d' Configure # 0.9.8k shipped broken
|
||||
./config --test-sanity || die "I AM NOT SANE"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
unset APPS #197996
|
||||
unset SCRIPTS #312551
|
||||
|
||||
tc-export CC AR RANLIB
|
||||
|
||||
# Clean out patent-or-otherwise-encumbered code
|
||||
# Camellia: Royalty Free http://en.wikipedia.org/wiki/Camellia_(cipher)
|
||||
# IDEA: Expired http://en.wikipedia.org/wiki/International_Data_Encryption_Algorithm
|
||||
# EC: ????????? ??/??/2015 http://en.wikipedia.org/wiki/Elliptic_Curve_Cryptography
|
||||
# MDC2: Expired http://en.wikipedia.org/wiki/MDC-2
|
||||
# RC5: 5,724,428 03/03/2015 http://en.wikipedia.org/wiki/RC5
|
||||
|
||||
use_ssl() { use $1 && echo "enable-${2:-$1} ${*:3}" || echo "no-${2:-$1}" ; }
|
||||
echoit() { echo "$@" ; "$@" ; }
|
||||
|
||||
local krb5=$(has_version app-crypt/mit-krb5 && echo "MIT" || echo "Heimdal")
|
||||
|
||||
local sslout=$(./gentoo.config)
|
||||
einfo "Use configuration ${sslout:-(openssl knows best)}"
|
||||
local config="Configure"
|
||||
[[ -z ${sslout} ]] && config="config"
|
||||
echoit \
|
||||
./${config} \
|
||||
${sslout} \
|
||||
$(use sse2 || echo "no-sse2") \
|
||||
enable-camellia \
|
||||
$(use_ssl !bindist ec) \
|
||||
enable-idea \
|
||||
enable-mdc2 \
|
||||
$(use_ssl !bindist rc5) \
|
||||
enable-tlsext \
|
||||
$(use_ssl gmp gmp -lgmp) \
|
||||
$(use_ssl kerberos krb5 --with-krb5-flavor=${krb5}) \
|
||||
$(use_ssl zlib) \
|
||||
--prefix=/usr \
|
||||
--openssldir=/etc/ssl \
|
||||
shared threads \
|
||||
|| die "Configure failed"
|
||||
|
||||
# Clean out hardcoded flags that openssl uses
|
||||
local CFLAG=$(grep ^CFLAG= Makefile | LC_ALL=C sed \
|
||||
-e 's:^CFLAG=::' \
|
||||
-e 's:-fomit-frame-pointer ::g' \
|
||||
-e 's:-O[0-9] ::g' \
|
||||
-e 's:-march=[-a-z0-9]* ::g' \
|
||||
-e 's:-mcpu=[-a-z0-9]* ::g' \
|
||||
-e 's:-m[a-z0-9]* ::g' \
|
||||
)
|
||||
sed -i \
|
||||
-e "/^LIBDIR=/s|=.*|=$(get_libdir)|" \
|
||||
-e "/^CFLAG/s|=.*|=${CFLAG} ${CFLAGS}|" \
|
||||
-e "/^SHARED_LDFLAGS=/s|$| ${LDFLAGS}|" \
|
||||
Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# depend is needed to use $confopts
|
||||
emake -j1 depend || die "depend failed"
|
||||
emake -j1 build_libs || die "make build_libs failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 test || die "make test failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dolib.so lib{crypto,ssl}.so.0.9.8 || die
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
DIST authres-0.3.tar.gz 12755 RMD160 167395587366a7273b0916bfae7cf06c2799e203 SHA1 0334f6855e4fd2139042db2be017500beaddfab5 SHA256 94342a0a0f1d95468e5d58769ba8aeaf0c887571014f8274649f93bfd9250700
|
||||
DIST authres-0.401.tar.gz 15278 RMD160 35ee7a3b700cda3afc44a5a0a57da668b2b1d2d4 SHA1 649fd706e6103b428676bb71a3f9a755749e583d SHA256 1da49151c1326805cd12b9ca47895310f646187763211d4e52f6b86862fd9cd0
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/authres/authres-0.3.ebuild,v 1.2 2012/04/24 11:32:18 xarthisius Exp $
|
||||
|
||||
EAPI=4
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.5"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Authentication Results Header Module"
|
||||
HOMEPAGE="https://launchpad.net/authentication-results-python http://pypi.python.org/pypi/authres"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
PYTHON_MODNAME=${PN}.py
|
||||
DOCS="CHANGES README"
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" ${PN}.py || die
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/authres/authres-0.401.ebuild,v 1.1 2012/04/24 17:06:55 xarthisius Exp $
|
||||
|
||||
EAPI=4
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.5"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Authentication Results Header Module"
|
||||
HOMEPAGE="https://launchpad.net/authentication-results-python http://pypi.python.org/pypi/authres"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
PYTHON_MODNAME=${PN}.py
|
||||
DOCS="CHANGES README"
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" \
|
||||
-c "import sys, ${PN}, doctest; f, t = doctest.testfile('${PN}/tests'); \
|
||||
sys.exit(bool(f))" || return
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<longdescription>
|
||||
RFC 5451 Authentication-Results Headers generation and parsing for Python.
|
||||
It also supports Authentication Results extensions:
|
||||
RFC 5617 DKIM/ADSP
|
||||
RFC 6008 DKIM signature identification (header.b)
|
||||
RFC 6212 Vouch By Reference (VBR)
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="pypi">authres</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,4 +1,5 @@
|
||||
DIST ipython-0.10.1.tar.gz 5837840 RMD160 c4f0177f466f6bfb32d98e73b5235885bc470871 SHA1 1e5cfde5ba6d704e0ccd414e633116e4199d0d7a SHA256 227607ce3768ff84c2d7a272e50200f7ad180267bf735633e1e2d85fc4cbfca3
|
||||
DIST ipython-0.10.2.tar.gz 5842688 RMD160 365a4eb9b534df1a9aa8717f173e9a032224ea01 SHA1 d45b97b0f458fd517cb2bfa9ebb3c671c46a21c0 SHA256 9ed5fe693d92e6ba9ecc3e367ae5607b80d66db53b0a636fa39fe15ae3df8c47
|
||||
DIST ipython-0.10.tar.gz 5829939 RMD160 819609298bb000aa01c3af6ad2717d91d46e39d8 SHA1 175bbacf74d94336e3fe06e390e04ad2bfff6fd4 SHA256 60d602637dc5f078b083a4ca5ab64364ba816bd72439844012ed11a30f88228c
|
||||
DIST ipython-0.12.1.tar.gz 4272666 RMD160 66abc9df5034d84cf199c96608ce03a887554f18 SHA1 c4af9009d67460a894274cd80fb1d15251822f32 SHA256 f5cadf0e24c997be47d3ac562a87b546be4a893d58ac8fdf63141bc353812ef5
|
||||
DIST ipython-0.12.tar.gz 9316219 RMD160 7086a8a5ebb5717091d1868907f6ae80abc9c7ab SHA1 49f6397d2957bb0a4492d0b35f3898dc161871de SHA256 261fb1ad6e8e60b19efbcde76636b71dd83cf894096c49b84f303963a60f95d8
|
||||
|
@ -0,0 +1,146 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ipython-0.12.1.ebuild,v 1.1 2012/04/24 17:07:42 bicatali Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
# python eclass cruft
|
||||
PYTHON_USE_DEPEND="readline? sqlite?"
|
||||
PYTHON_MODNAME="IPython"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.[45] *-jython"
|
||||
|
||||
inherit distutils elisp-common eutils virtualx
|
||||
|
||||
DESCRIPTION="Advanced interactive shell for Python"
|
||||
HOMEPAGE="http://ipython.org/"
|
||||
SRC_URI="http://archive.ipython.org/release/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc emacs examples matplotlib mongodb notebook qt4 readline +smp
|
||||
sqlite test wxwidgets"
|
||||
|
||||
CDEPEND="dev-python/decorator
|
||||
|| ( dev-python/argparse =dev-lang/python-2.7* >=dev-lang/python-3.2 )
|
||||
dev-python/pexpect
|
||||
dev-python/pyparsing
|
||||
dev-python/simplegeneric
|
||||
emacs? ( app-emacs/python-mode virtual/emacs )
|
||||
matplotlib? ( dev-python/matplotlib )
|
||||
mongodb? ( dev-python/pymongo )
|
||||
smp? ( dev-python/pyzmq )
|
||||
wxwidgets? ( dev-python/wxpython )"
|
||||
RDEPEND="${CDEPEND}
|
||||
notebook? ( >=www-servers/tornado-2.1
|
||||
dev-python/pygments
|
||||
dev-python/pyzmq )
|
||||
qt4? ( || ( dev-python/PyQt4 dev-python/pyside )
|
||||
dev-python/pygments
|
||||
dev-python/pyzmq )"
|
||||
DEPEND="${CDEPEND}
|
||||
test? ( dev-python/nose )"
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
epatch "${FILESDIR}"/${PN}-0.12-globalpath.patch
|
||||
|
||||
# fix for gentoo python scripts
|
||||
sed -i \
|
||||
-e "/ipython_cmd/s/ipython3/ipython/g" \
|
||||
IPython/frontend/terminal/console/tests/test_console.py \
|
||||
IPython/lib/irunner.py \
|
||||
IPython/testing/tools.py || die
|
||||
|
||||
sed -i \
|
||||
-e "s/find_scripts(True, suffix='3')/find_scripts(True)/" \
|
||||
setup3.py || die
|
||||
|
||||
# failing tests
|
||||
sed -i \
|
||||
-e 's/test_smoketest_aimport/_&/' \
|
||||
-e 's/test_smoketest_autoreload/_&/' \
|
||||
IPython/extensions/tests/test_autoreload.py || die
|
||||
sed -i \
|
||||
-e 's/test_pylab_import_all_disabled/_&/' \
|
||||
-e 's/test_pylab_import_all_enabled/_&/' \
|
||||
IPython/lib/tests/test_irunner_pylab_magic.py || die
|
||||
sed -i \
|
||||
-e '/test_startup_py/i\\@dec.known_failure_py3' \
|
||||
-e '/test_startup_ipy/i\\@dec.known_failure_py3' \
|
||||
IPython/core/tests/test_profile.py || die
|
||||
sed -i \
|
||||
-e '/test_tclass/i\\ @dec.known_failure_py3' \
|
||||
IPython/core/tests/test_run.py || die
|
||||
|
||||
# installation directory for documentation
|
||||
sed -i \
|
||||
-e "/docdirbase = pjoin/s/ipython/${PF}/" \
|
||||
-e "/pjoin(docdirbase,'manual')/s/manual/html/" \
|
||||
setupbase.py || die "sed failed"
|
||||
|
||||
rm -rf docs/html/{.buildinfo,_sources,objects.inv} || die
|
||||
|
||||
if ! use doc; then
|
||||
sed -i \
|
||||
-e "/(pjoin(docdirbase, 'extensions'), igridhelpfiles),/d" \
|
||||
-e 's/ + manual_files//' \
|
||||
setupbase.py || die
|
||||
fi
|
||||
|
||||
if ! use examples; then
|
||||
sed -i \
|
||||
-e 's/+ example_files//' \
|
||||
setupbase.py || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
use emacs && elisp-compile docs/emacs/ipython.el
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use mongodb; then
|
||||
mkdir -p "${T}/mongo.db"
|
||||
mongod --dbpath "${T}/mongo.db" --fork --logpath "${T}/mongo.log"
|
||||
fi
|
||||
|
||||
testing() {
|
||||
"$(PYTHON)" setup.py \
|
||||
build -b "build-${PYTHON_ABI}" \
|
||||
install --root="${T}/tests-${PYTHON_ABI}" > /dev/null || die
|
||||
# Initialize ~/.ipython directory.
|
||||
PATH="${T}/tests-${PYTHON_ABI}${EPREFIX}/usr/bin:${PATH}" \
|
||||
PYTHONPATH="${T}/tests-${PYTHON_ABI}${EPREFIX}$(python_get_sitedir)" \
|
||||
ipython <<< "" > /dev/null || return 1
|
||||
# Run tests (-v for more verbosity).
|
||||
PATH="${T}/tests-${PYTHON_ABI}${EPREFIX}/usr/bin:${PATH}" \
|
||||
PYTHONPATH="${T}/tests-${PYTHON_ABI}${EPREFIX}$(python_get_sitedir)" \
|
||||
iptest -v || return 1
|
||||
}
|
||||
VIRTUALX_COMMAND="python_execute_function" virtualmake testing
|
||||
|
||||
use mongodb && killall -u "$(id -nu)" mongod
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
if use emacs; then
|
||||
pushd docs/emacs > /dev/null
|
||||
elisp-install ${PN} ${PN}.el*
|
||||
elisp-site-file-install "${FILESDIR}"/62ipython-gentoo.el
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
distutils_pkg_postrm
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST pyspf-2.0.5.tar.gz 38818 RMD160 83fa42570bffbf1ec1934db2d534fad1f4b3b8c6 SHA1 8401e96afe6a141a24286f24108f40adcdd3b4f8 SHA256 a9e143fefc6bafd9f6e39b1b62eaaafae8bf96bdc25961ff1d55d01b173bf0b0
|
||||
DIST pyspf-2.0.6.tar.gz 43448 RMD160 920847c0166c0ae1c4ac8a992128d6cd3dcaf372 SHA1 6d678e6e31eaa59c00cb19d4a28e4b59f7cf6792 SHA256 ed20f35d8c1d60516b195ec08ce7c8479d450be28fd37baaab58dbf570ceb429
|
||||
DIST pyspf-2.0.7.tar.gz 46283 RMD160 05a484910109f83b76ce57ef852f9ea96f1d5ed5 SHA1 04b1fbb2f28aa0f5faf206be4c6d03ec80525365 SHA256 d26355f2576ed345971b88bec7a97795112476d022d10b943d8580c3f78b44db
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyspf/pyspf-2.0.7.ebuild,v 1.1 2012/04/24 11:40:13 xarthisius Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Python implementation of the Sender Policy Framework (SPF) protocol"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/pyspf"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-python/authres
|
||||
|| ( dev-python/pydns:2 dev-python/pydns:0 )"
|
||||
DEPEND="${DEPEND}
|
||||
test? ( dev-python/pyyaml )"
|
||||
|
||||
PYTHON_MODNAME="spf.py"
|
||||
|
||||
src_test() {
|
||||
pushd test &> /dev/null
|
||||
testing() {
|
||||
PYTHONPATH="$(ls -d ../build-${PYTHON_ABI}/lib*)" "$(PYTHON)" testspf.py || die
|
||||
}
|
||||
python_execute_function testing
|
||||
popd &> /dev/null
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/expect-lite/expect-lite-4.3.0.ebuild,v 1.1 2012/04/25 04:18:26 vapier Exp $
|
||||
|
||||
DESCRIPTION="quick and easy command line automation tool built on top of expect"
|
||||
HOMEPAGE="http://expect-lite.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug examples"
|
||||
|
||||
RDEPEND="dev-tcltk/expect
|
||||
debug? ( dev-tcltk/tclx )"
|
||||
|
||||
S=${WORKDIR}/${PN}.proj
|
||||
|
||||
src_install() {
|
||||
dobin ${PN} || die
|
||||
doman man/* || die
|
||||
dodoc bashrc ChangeLog README
|
||||
dohtml Docs/*
|
||||
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc Examples/* || die
|
||||
fi
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue