parent
3dd686081b
commit
c4ee9e3cde
@ -1,8 +1,4 @@
|
||||
DIST spideroak-bin-5.0.3_amd64.deb 25230410 SHA256 c83cafcb4d65192d30b8bb99ba1bc53a359a869bcf7bf93cf9edabe806b12947 SHA512 f2a5a943ff2221bafd14d3696302890dbbea2da97fb704e44a94e7ec77b9e0958bf604416e5036e2605b8957353a070e0a317e03ab6ac6220f911e9057026321 WHIRLPOOL 1a5eb5c911eb0c2ecdf051d49f7dfab8e1cbb3f8cce8eaa68cf3306f1d6608137d3c3f27f123101daf5544645a7adfa29f36c8986e820582a296b09e8ca388b0
|
||||
DIST spideroak-bin-5.0.3_x86.deb 24913558 SHA256 6a09cc9b448b8fe808ac0ed0007849c56933ddf91a8d6183348d9204d40db609 SHA512 dd408161f4e3776b2d0ade2582255e3d26b8ba24e1474ba413aa38274a2a9c9d0a418eba9b07c4c4e7dbb20170a712bdc9b8248ebcc2239695effa87ac1bd872 WHIRLPOOL 57de0c3b52db03f7d6d198353639cc02702ea36e6825c58a2266444386bc37d842f91796d3ee00f4977a7550bd458b39e4973d80eb64b4ecd74eb2dd5c10f4e8
|
||||
DIST spideroak-bin-5.1.1_amd64.deb 25226818 SHA256 9c421cd5c97be9f5624c3548e73d4881ac4387b24161f52931401838b2fe0d9a SHA512 0c8f79227eae02ebbd5ad4c9133d774b561f28a7b3e217cb96b5ac3d8791d584b02517e8f088bfdb702b0702497c6211b854240f5f8d9850c44774550dabf386 WHIRLPOOL 4f5304da8c733930b42c9cba11f2718401e2f321b5ccb5483dd244e873bbe4fbdd9c1faf7c34f41346adf08d0e49ffd148439bd1ea5221b609abc977a7483682
|
||||
DIST spideroak-bin-5.1.1_x86.deb 24909618 SHA256 f7c17ed2bd2566d79b764e81ea5632f2dc72a480f849a7ac07fb04c1d608279f SHA512 c62d199c31fa3b05e4eecd28f9424475ba9fc02f5b983de50892d725c60374ea6bfca0c73d475d6e9b0097d0600e69818e6651a13945e22bc9952348686fa6c7 WHIRLPOOL 37853681e51209798d10122900ad4949dd252b6d4fc1066b6687bc14d81555be3f139e4e9369a4007b1b2bbe5d7e05a67eae66adca0ae2a9759baf4be5fe0992
|
||||
DIST spideroak-bin-5.1.3_amd64.deb 25233510 SHA256 2fc6bed28ef0b0929230e86c6222b11e751ee02983f6fc7cb71f03b447e14c23 SHA512 9ff1e68582bb1c6b5be03a7e14b6f20134a6f22630c3e28f71aedc92a0af25879af7608bdcfa7af9acad8e4ff093813de930c04a4907e4eedd8019be0a7634bd WHIRLPOOL bcde128d0eb6e0f9a40619683764df058b4213ba0600c17c91f145025b9b1639bb1bea0ed520b30b459595d551ee3c4484ffbc4b514ea44a3fcc06d993fe0c8a
|
||||
DIST spideroak-bin-5.1.3_x86.deb 24914256 SHA256 0e461d79d43a29e440da7445114988175e1808108774edd02aa3aaa03a82ee2a SHA512 5dff459ecb004c7dc00b53430af6e3ac60907bcb7a36f15e84a28aa01e735b3d482da76cb17dc2d04a5211fb9df0aad05f040176933279c06e6fb792f1d3db78 WHIRLPOOL 038eb3b9f1158e83da7c8409f83ba382ab9edd91cdd56254481bf3ed4b4cb5a1f4a65e782cff5988b247285d7fa0f1f087d7a74087d0f65ba67d1848053c774a
|
||||
DIST spideroak-bin-5.1.8_amd64.deb 20000116 SHA256 b91f3077c2238bbb1123361afc597682a9c224b9ce22422a253fe5212851cfcf SHA512 357e8a45175fd9c92cec733f456452d0e0cd7f369df66a4692d1a9b2c471b4f62c7ee9b72073fc4af5596fa18cf121c690ec960f07f686a78bc7ca4fb76838ca WHIRLPOOL 4721271bef4dbf9563df61ee1d39d1040e9e0cd0528b43753edff995ae9b7a2e67618d39f365b716be1e5a478e2042c3568776ee4077291de28ae92e6953a062
|
||||
DIST spideroak-bin-5.1.8_x86.deb 19361954 SHA256 806aae6ac96cb47443c50bfc3bc3f5f7b00abc0b5d978cc2746d10cb1f6b6742 SHA512 43242b9fcd577fc51b838de72215fa971f385ae1f6ea7c606cc198b2dacd0bbca9b693ea2452c2c957c3af6dc97625d6bd15176067542dfdcbc1505a50c8b42b WHIRLPOOL 5f88e3b699be60151471c71998b2aad2d7e5a42a1c179ccb10a168940dd4ea291f812e6d6e9eb475345b53f403aa3a09cd785759413a0cf50edc9b92300af14f
|
||||
|
@ -1,96 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/spideroak-bin/spideroak-bin-5.1.3.ebuild,v 1.2 2014/08/10 01:54:01 patrick Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils unpacker
|
||||
|
||||
SRC_URI_BASE="https://spideroak.com/getbuild?platform=ubuntu"
|
||||
|
||||
DESCRIPTION="An easy, secure and consolidated free online backup, storage, access and sharing system"
|
||||
HOMEPAGE="https://spideroak.com"
|
||||
SRC_URI="x86? ( ${SRC_URI_BASE}&arch=i386&version=${PV} -> ${P}_x86.deb )
|
||||
amd64? ( ${SRC_URI_BASE}&arch=x86_64&version=${PV} -> ${P}_amd64.deb )"
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
LICENSE="spideroak"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="dbus headless"
|
||||
|
||||
DEPEND="dev-util/patchelf"
|
||||
RDEPEND="
|
||||
app-crypt/mit-krb5[keyutils]
|
||||
dbus? ( sys-apps/dbus )
|
||||
!headless? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
dev-libs/glib:2
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXt
|
||||
)
|
||||
"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_prepare() {
|
||||
use headless && epatch "${FILESDIR}"/${PN}-5.0.1-headless.patch
|
||||
|
||||
# Set RPATH for preserve-libs handling (bug #400979).
|
||||
cd "${S}/opt/SpiderOak/lib" || die
|
||||
local x
|
||||
for x in `find` ; do
|
||||
# Use \x7fELF header to separate ELF executables and libraries
|
||||
[[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue
|
||||
patchelf --set-rpath '$ORIGIN' "${x}" || \
|
||||
die "patchelf failed on ${x}"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
#install the wrapper script
|
||||
exeinto /usr/bin
|
||||
doexe usr/bin/SpiderOak
|
||||
|
||||
# inotify_dir_watcher needs to be marked executable, bug #453266
|
||||
#chmod a+rx opt/SpiderOak/lib/inotify_dir_watcher
|
||||
|
||||
#install the executable
|
||||
exeinto /opt/SpiderOak/lib
|
||||
doexe opt/SpiderOak/lib/SpiderOak
|
||||
doexe opt/SpiderOak/lib/inotify_dir_watcher
|
||||
rm -f opt/SpiderOak/lib/{SpiderOak,inotify_dir_watcher}
|
||||
|
||||
#install the prebundled libraries
|
||||
insinto /opt/SpiderOak
|
||||
doins -r opt/SpiderOak/lib
|
||||
|
||||
#install the config files
|
||||
use dbus || rm -rf etc/dbus-1
|
||||
insinto /
|
||||
doins -r etc
|
||||
|
||||
#install the manpage
|
||||
doman usr/share/man/man1/SpiderOak.1.gz
|
||||
|
||||
if ! use headless ; then
|
||||
domenu usr/share/applications/spideroak.desktop
|
||||
doicon usr/share/pixmaps/SpiderOak.png
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use headless; then
|
||||
einfo "For instructions on running SpiderOak without a GUI, please read the FAQ:"
|
||||
einfo " https://spideroak.com/faq/questions/62/how_do_i_install_spideroak_on_a_headless_linux_server/"
|
||||
einfo " https://spideroak.com/faq/questions/67/how_can_i_use_spideroak_from_the_commandline/"
|
||||
fi
|
||||
}
|
@ -1,96 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/spideroak-bin/spideroak-bin-5.1.8.ebuild,v 1.2 2014/08/31 15:32:18 blueness Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils unpacker
|
||||
|
||||
SRC_URI_BASE="https://spideroak.com/getbuild?platform=ubuntu"
|
||||
|
||||
DESCRIPTION="An easy, secure and consolidated free online backup, storage, access and sharing system"
|
||||
HOMEPAGE="https://spideroak.com"
|
||||
SRC_URI="x86? ( ${SRC_URI_BASE}&arch=i386&version=${PV} -> ${P}_x86.deb )
|
||||
amd64? ( ${SRC_URI_BASE}&arch=x86_64&version=${PV} -> ${P}_amd64.deb )"
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
LICENSE="spideroak"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="dbus headless"
|
||||
|
||||
DEPEND="dev-util/patchelf"
|
||||
RDEPEND="
|
||||
app-crypt/mit-krb5[keyutils]
|
||||
dbus? ( sys-apps/dbus )
|
||||
!headless? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
dev-libs/glib:2
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXt
|
||||
)
|
||||
"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_prepare() {
|
||||
use headless && epatch "${FILESDIR}"/${PN}-5.0.1-headless.patch
|
||||
|
||||
# Set RPATH for preserve-libs handling (bug #400979).
|
||||
cd "${S}/opt/SpiderOak/lib" || die
|
||||
local x
|
||||
for x in `find` ; do
|
||||
# Use \x7fELF header to separate ELF executables and libraries
|
||||
[[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue
|
||||
patchelf --set-rpath '$ORIGIN' "${x}" || \
|
||||
die "patchelf failed on ${x}"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
#install the wrapper script
|
||||
exeinto /usr/bin
|
||||
doexe usr/bin/SpiderOak
|
||||
|
||||
# inotify_dir_watcher needs to be marked executable, bug #453266
|
||||
#chmod a+rx opt/SpiderOak/lib/inotify_dir_watcher
|
||||
|
||||
#install the executable
|
||||
exeinto /opt/SpiderOak/lib
|
||||
doexe opt/SpiderOak/lib/SpiderOak
|
||||
doexe opt/SpiderOak/lib/inotify_dir_watcher
|
||||
rm -f opt/SpiderOak/lib/{SpiderOak,inotify_dir_watcher}
|
||||
|
||||
#install the prebundled libraries
|
||||
insinto /opt/SpiderOak
|
||||
doins -r opt/SpiderOak/lib
|
||||
|
||||
#install the config files
|
||||
use dbus || rm -rf etc/dbus-1
|
||||
insinto /
|
||||
doins -r etc
|
||||
|
||||
#install the manpage
|
||||
doman usr/share/man/man1/SpiderOak.1.gz
|
||||
|
||||
if ! use headless ; then
|
||||
domenu usr/share/applications/spideroak.desktop
|
||||
doicon usr/share/pixmaps/SpiderOak.png
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use headless; then
|
||||
einfo "For instructions on running SpiderOak without a GUI, please read the FAQ:"
|
||||
einfo " https://spideroak.com/faq/questions/31/how_do_i_install_spideroak_on_a_headless_linux_server/"
|
||||
einfo " https://spideroak.com/faq/questions/67/how_can_i_use_spideroak_from_the_commandline/"
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST ssdeep-2.10.tar.gz 377718 SHA256 5b893b8059941476352fa1794c2839b2cc13bc2a09e2f2bb6dea4184217beddc SHA512 971eb681ac6e94fee4cf81c4036a652f196297874ed8e547523a6d104323a4fb08385c2aa9a735e9fe49048a822ab538adfaf3bfe2238cc7520bad83ac700753 WHIRLPOOL b05cab9f8d1d9405e2b6e20738aa0642e317dd8e06cd01b93bf6aa0a582badef99d6c3e392a37a174901631ec76192110e243c10fbccd21a85bdca02d908c469
|
||||
DIST ssdeep-2.11.1.tar.gz 376592 SHA256 a632ac30fca29ad5627e1bf5fae05d9a8873e6606314922479259531e0c19608 SHA512 383639f30ee4728898b33f82865188e5b66edcbac4f9f6c39a990154375d286cccfe6fe3112e555cefb9c1e5f7a3e5644e6d9edcde00ddf91d5ac3d59c07348f WHIRLPOOL f46e553a1fa4d0e4a37f6ca1945477c4fc7b2654672db12020ab156e60e190562d141d76fb4b55959c6dcf942ed7fc0e4ab9df62855ce9bcc7312c45fc3214ad
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/ssdeep/ssdeep-2.11.1.ebuild,v 1.1 2014/09/28 19:33:50 alonbl Exp $
|
||||
|
||||
EAPI=5
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
|
||||
inherit autotools-multilib
|
||||
|
||||
DESCRIPTION="Computes context triggered piecewise hashes (fuzzy hashes)"
|
||||
HOMEPAGE="http://ssdeep.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog FILEFORMAT NEWS README TODO )
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-2.10-shared.patch )
|
@ -1,2 +1,3 @@
|
||||
DIST jre-7u51-linux-i586.tar.gz 48333427 SHA256 f6807069ff45576ffff173a2ee4355bdf5a493e9b463bde9196b942af4f6fcdb SHA512 e5a2d841e7f924b606d3d3e94f75bad273f9952ff94b94f081d73614d0001326a9ac974412840c994e66dcc5d2bf582c193a08cb725f435f2770fb01d9546b3a WHIRLPOOL 5cf27c761ea3c2c8ad395dcb8563dc5e4933552a48d1e64e77071bf84e86bd34aa19f590859a143a9c986fda0b7594f4ef6e27d89fcaef0c52a678bd30a6eaa0
|
||||
DIST jre-7u55-linux-i586.tar.gz 48340455 SHA256 fa674c83c25a65edeca289321c9bb1c0fe9c0eaae64dc1bf3409e2c6a5f46c80 SHA512 f365a2548ea6ff9cf263b0dd71100eb70d842a4abd72d852e7698d9d7dbee97c4da2654795035adbc4519705a3d7eb81031566f2a97eaeeadaa439ca9a8867fa WHIRLPOOL 88abacb65259fd59c89a70e72ff0a258f6b0b178afa826502eb46e7109abe586094d79762148b14c1d97dce2d1b3a9e06736a92d82c839ef2fe8c8e8310918b5
|
||||
DIST jre-7u67-linux-i586.tar.gz 48426207 SHA256 eadec83a54d3a9d09248a8d16b21c03da9afffc7317e775fb8db962620a0781d SHA512 51532bcfc0275aabbfd5f2584f023915acad61f7825c95253a4c38ea35e40fa65cffa0f49feb613ce7470e92a4dae610fcb0d77e006a975b392e478d28d01917 WHIRLPOOL 2275a20c83d32b5ae8c2178a566226a8cc95a594ae726d5a76e6a0c4000e91dd9a770c6b76a11a76f076e7689d16d7263b5e0351391922ef05fe9ed5d73c81bc
|
||||
|
@ -0,0 +1,108 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.7.0.67.ebuild,v 1.1 2014/09/28 16:07:47 ercpe Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit java-vm-2 eutils prefix versionator
|
||||
|
||||
# This URIs need to be updated when bumping!
|
||||
JRE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html"
|
||||
|
||||
MY_PV="$(get_version_component_range 2)u$(get_version_component_range 4)"
|
||||
S_PV="$(replace_version_separator 3 '_')"
|
||||
|
||||
X86_AT="jre-${MY_PV}-linux-i586.tar.gz"
|
||||
|
||||
DESCRIPTION="Oracle's Java SE Runtime Environment (32bit)"
|
||||
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/"
|
||||
SRC_URI="${X86_AT}"
|
||||
|
||||
LICENSE="Oracle-BCLA-JavaSE"
|
||||
SLOT="1.7"
|
||||
KEYWORDS="-* ~amd64"
|
||||
IUSE="+X alsa nsplugin pax_kernel"
|
||||
|
||||
RESTRICT="fetch strip"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
RDEPEND="
|
||||
X? ( app-emulation/emul-linux-x86-xlibs )
|
||||
alsa? ( app-emulation/emul-linux-x86-soundlibs )"
|
||||
# scanelf won't create a PaX header, so depend on paxctl to avoid fallback
|
||||
# marking. #427642
|
||||
DEPEND="
|
||||
pax_kernel? ( sys-apps/paxctl )"
|
||||
|
||||
S="${WORKDIR}/jre${S_PV}"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Due to Oracle no longer providing the distro-friendly DLJ bundles, the package has become fetch restricted again."
|
||||
einfo ""
|
||||
einfo "Please download '${X86_AT}' from:"
|
||||
einfo "'${JRE_URI}'"
|
||||
einfo "and move it to '${DISTDIR}'"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# This needs to be done before CDS - #215225
|
||||
java-vm_set-pax-markings "${S}"
|
||||
|
||||
# see bug #207282
|
||||
einfo "Creating the Class Data Sharing archives"
|
||||
bin/java -client -Xshare:dump || die
|
||||
bin/java -server -Xshare:dump || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest="/opt/${P}"
|
||||
local ddest="${ED}${dest}"
|
||||
|
||||
# We should not need the ancient plugin for Firefox 2 anymore, plus it has
|
||||
# writable executable segments
|
||||
rm -vf lib/i386/libjavaplugin_oji.so \
|
||||
lib/i386/libjavaplugin_nscp*.so
|
||||
rm -vrf plugin/i386
|
||||
# Without nsplugin flag, also remove the new plugin
|
||||
arch=i386;
|
||||
if ! use nsplugin; then
|
||||
rm -vf lib/${arch}/libnpjp2.so \
|
||||
lib/${arch}/libjavaplugin_jni.so
|
||||
fi
|
||||
|
||||
dodir "${dest}"
|
||||
cp -pPR bin lib man "${ddest}" || die
|
||||
|
||||
# Remove empty dirs we might have copied
|
||||
find "${D}" -type d -empty -exec rmdir {} + || die
|
||||
|
||||
dodoc COPYRIGHT README
|
||||
|
||||
if use nsplugin; then
|
||||
install_mozilla_plugin "${dest}"/lib/${arch}/libnpjp2.so
|
||||
fi
|
||||
|
||||
# Install desktop file for the Java Control Panel.
|
||||
# Using ${PN}-${SLOT} to prevent file collision with jre and or other slots.
|
||||
# make_desktop_entry can't be used as ${P} would end up in filename.
|
||||
newicon lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png \
|
||||
sun-jcontrol-${PN}-${SLOT}.png || die
|
||||
sed -e "s#Name=.*#Name=Java Control Panel for Oracle JDK ${SLOT} (${PN})#" \
|
||||
-e "s#Exec=.*#Exec=${dest}/bin/jcontrol#" \
|
||||
-e "s#Icon=.*#Icon=sun-jcontrol-${PN}-${SLOT}#" \
|
||||
-e "s#Application;##" \
|
||||
-e "/Encoding/d" \
|
||||
lib/desktop/applications/sun_java.desktop > \
|
||||
"${T}"/jcontrol-${PN}-${SLOT}.desktop || die
|
||||
domenu "${T}"/jcontrol-${PN}-${SLOT}.desktop
|
||||
|
||||
# http://docs.oracle.com/javase/6/docs/technotes/guides/intl/fontconfig.html
|
||||
rm "${ddest}"/lib/fontconfig.* || die
|
||||
cp "${FILESDIR}"/fontconfig.Gentoo.properties "${T}"/fontconfig.properties || die
|
||||
eprefixify "${T}"/fontconfig.properties
|
||||
insinto "${dest}"/lib/
|
||||
doins "${T}"/fontconfig.properties
|
||||
|
||||
set_java_env "${FILESDIR}/${VMHANDLE}.env-r1"
|
||||
java-vm_revdep-mask
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST anki-2.0.24.tgz 3270350 SHA256 a80ff90991e951d7fa32eb12fe87f00ddbd85d9b541bb6238ce5b420b4a2e31b SHA512 a6e60e31a2333adb0b382716c3fa207757beca0534f8f5b005cc8e77d02b355b84da5197623e0a5c3a3ad149ab982696c8487d4ae6487dd667611d4c7adca0e6 WHIRLPOOL c7c17692e1caee39f3e2949b084496d88928051022469d6b780e423a4489719eb201f704b9c6d0312b39d2ba7cdd30b2898131e9a7550220156f965d14ca9ee7
|
||||
DIST anki-2.0.28.tgz 3314001 SHA256 ba803dfff4f03ab6aa90b722413338de9165d5530012caa640c90fc1681d4336 SHA512 8ee738f724e47a21beba759d4a995e9f014ca2d1f0911a85d8338468f4e369928d1ac3b5bcc2607cb26c7e47e3924d8e9f73383bd4aaa2955bef15272da8deea WHIRLPOOL 57bb05f64844b194e55667708ccfe23b8a6ad0471dad998df8d751b10e81ce3297b2f4d146319883b5f6d668ba79bccd328c9e80dc31c64a1296d49d509cfe14
|
||||
DIST anki-2.0.29.tgz 3324323 SHA256 80381d5dd245faf8e485b9971633ea2329f8dbfd80fa0d2224f03556b4021c8b SHA512 d5917c6f5a70b338c4997c7709abb7474167230107b85b850a558a4f7c581e214a98508cc70f2bceffa872e6745a67a34a246174d8aaea2981e888978bca814e WHIRLPOOL 2b782bd94c3157c67c249cf674689719a7bfef3004848704d4bf72c05e933a63b82203982c238a0d8539964f139ca1e5363c3e2f859c8a1027684397c1e69e3a
|
||||
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/anki/anki-2.0.29.ebuild,v 1.1 2014/09/29 03:54:25 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_6 python2_7 )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
inherit eutils python-single-r1
|
||||
|
||||
DESCRIPTION="A spaced-repetition memory training program (flash cards)"
|
||||
HOMEPAGE="http://ichi2.net/anki/"
|
||||
SRC_URI="http://ankisrs.net/download/mirror/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="latex +recording +sound"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/PyQt4[X,svg,webkit]
|
||||
>=dev-python/httplib2-0.7.4
|
||||
dev-python/beautifulsoup:python-2
|
||||
dev-python/send2trash
|
||||
recording? ( media-sound/lame
|
||||
>=dev-python/pyaudio-0.2.4 )
|
||||
sound? ( media-video/mplayer )
|
||||
latex? ( app-text/texlive
|
||||
app-text/dvipng )"
|
||||
DEPEND=""
|
||||
|
||||
pkg_setup(){
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
rm -r thirdparty || die
|
||||
sed -i -e "s/updates=True/updates=False/" \
|
||||
aqt/profiles.py || die
|
||||
}
|
||||
|
||||
# Nothing to configure or compile
|
||||
src_configure() {
|
||||
true;
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
true;
|
||||
}
|
||||
|
||||
src_install() {
|
||||
doicon ${PN}.png
|
||||
domenu ${PN}.desktop
|
||||
doman ${PN}.1
|
||||
|
||||
dodoc README README.development
|
||||
python_domodule aqt anki
|
||||
python_doscript anki/anki
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<app-misc/anki-2" ; then
|
||||
elog "Anki 2 is a rewrite of Anki with many new features and"
|
||||
elog "a new database format. On the first run your decks are"
|
||||
elog "converted to the new format and a backup of your Anki-1"
|
||||
elog "decks is created. Please read the following:"
|
||||
elog "http://ankisrs.net/anki2.html"
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST layman-2.0.0.tar.gz 81184 SHA256 5843035ae4cc069693c05cf9821dae3d89d3ea7e2115b8137ea5a4a6c2807f33 SHA512 30756464d71ab1e047036550b6500d7e57999d808ebe3efba1d1ae6c037f8ca777ba704a4981d75a90285133635027a7bc13f1890f34823de33ae991ed99e2da WHIRLPOOL ec362189c4757ee032dc93e079ea0f5b291d5652231a84f1175fb308ca5622882d5008f23fd6a3d5143ff0dc98c91632d19c2e6604dcaa9b6a550bc902d79c1a
|
||||
DIST layman-2.1.0.tar.gz 94150 SHA256 cb96306c84da1d49ff54a31f7511c62c859565361bd59164516cd2812c439987 SHA512 1fa21392157c811c7751b8e3a11b858308c48720e377871bdd5afc525ebb50a92772064aa1148a4c20e3019f77b676ff65552439a71361d498952e362398c67f WHIRLPOOL 77643bedb4167eb371357444328d439c8b433cfc22a8bf9e39693feb68b701ec158064db8d22da0e6eb5260f27d5604d8b252a67930b38d8bed5921822f71c29
|
||||
DIST layman-2.2.0.tar.gz 116210 SHA256 4a10cfd3eb354e993886369995ae9b1243418e0370c6aabd4d0ef6c5b387b7a2 SHA512 34cac041d7b64274debdbc42cab079fd3bb3aee511ea9e80db726df0f828207d79a5262788483ced5cbf49924e3aa4f19fe21439c98dceea973d8f83473c2e41 WHIRLPOOL 8c5d3cbbfef35c6294dfac899cb42f49e0761745573721e38b7d6c9ac48031f95bbb961c9d8dd9d309e4672cc1e5b050107ba025a9f28127e5d7d6d9a73a6e9a
|
||||
|
@ -0,0 +1,75 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/layman-2.2.0.ebuild,v 1.1 2014/09/28 22:30:43 twitch153 Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
|
||||
inherit eutils distutils-r1 linux-info prefix
|
||||
|
||||
DESCRIPTION="Tool to manage Gentoo overlays"
|
||||
HOMEPAGE="http://layman.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="bazaar cvs darcs +git g-sorcery mercurial squashfs subversion test"
|
||||
|
||||
DEPEND="test? ( dev-vcs/subversion )"
|
||||
|
||||
RDEPEND="
|
||||
bazaar? ( dev-vcs/bzr )
|
||||
cvs? ( dev-vcs/cvs )
|
||||
darcs? ( dev-vcs/darcs )
|
||||
git? ( dev-vcs/git )
|
||||
mercurial? ( dev-vcs/mercurial )
|
||||
g-sorcery? ( app-portage/g-sorcery )
|
||||
subversion? (
|
||||
|| (
|
||||
>=dev-vcs/subversion-1.5.4[http]
|
||||
>=dev-vcs/subversion-1.5.4[webdav-neon]
|
||||
>=dev-vcs/subversion-1.5.4[webdav-serf]
|
||||
)
|
||||
)
|
||||
sys-apps/portage[${PYTHON_USEDEP}]
|
||||
>=dev-python/ssl-fetch-0.2[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
pkg_pretend() {
|
||||
use squashfs && local CONFIG_CHECK="BLK_DEV_LOOP SQUASHFS"
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
distutils-r1_python_prepare_all
|
||||
eprefixify etc/layman.cfg layman/config.py
|
||||
}
|
||||
|
||||
python_test() {
|
||||
for suite in layman/tests/{dtest,external}.py ; do
|
||||
PYTHONPATH="." "${PYTHON}" ${suite} \
|
||||
|| die "test suite '${suite}' failed"
|
||||
done
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
insinto /etc/layman
|
||||
doins etc/layman.cfg
|
||||
|
||||
doman doc/layman.8
|
||||
dohtml doc/layman.8.html
|
||||
|
||||
keepdir /var/lib/layman
|
||||
keepdir /etc/layman/overlays
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# now run layman's update utility
|
||||
einfo "Running layman-updater..."
|
||||
"${EROOT}"/usr/bin/layman-updater
|
||||
einfo
|
||||
}
|
@ -0,0 +1,146 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-3.1_p20.ebuild,v 1.1 2014/09/28 16:52:30 polynomial-c Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
# Official patchlevel
|
||||
# See ftp://ftp.cwru.edu/pub/bash/bash-3.1-patches/
|
||||
PLEVEL=${PV##*_p}
|
||||
MY_PV=${PV/_p*}
|
||||
MY_PV=${MY_PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
[[ ${PV} != *_p* ]] && PLEVEL=0
|
||||
patches() {
|
||||
local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
|
||||
[[ ${plevel} -eq 0 ]] && return 1
|
||||
eval set -- {1..${plevel}}
|
||||
set -- $(printf "${pn}${pv/\.}-%03d " "$@")
|
||||
if [[ ${opt} == -s ]] ; then
|
||||
echo "${@/#/${DISTDIR}/}"
|
||||
else
|
||||
local u
|
||||
for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
|
||||
printf "${u}/${pn}-${pv}-patches/%s " "$@"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="The standard GNU Bourne again shell"
|
||||
HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
|
||||
SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="${MY_PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="afs +net nls +readline"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2-r2
|
||||
readline? ( >=sys-libs/readline-6.2 )
|
||||
nls? ( virtual/libintl )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
if is-flag -malign-double ; then #7332
|
||||
eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
|
||||
eerror "as it breaks LFS (struct stat64) on x86."
|
||||
die "remove -malign-double from your CFLAGS mr ricer"
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Include official patches
|
||||
[[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
|
||||
|
||||
# Clean out local libs so we know we use system ones
|
||||
rm -rf lib/{readline,termcap}/*
|
||||
touch lib/{readline,termcap}/Makefile.in # for config.status
|
||||
sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[[:alpha:]]*.h::g' Makefile.in || die
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-3.1-gentoo.patch
|
||||
epatch "${FILESDIR}"/autoconf-mktime-2.53.patch #220040
|
||||
epatch "${FILESDIR}"/${PN}-3.1-ulimit.patch
|
||||
epatch "${FILESDIR}"/${PN}-3.0-read-memleak.patch
|
||||
epatch "${FILESDIR}"/${PN}-3.0-trap-fg-signals.patch
|
||||
epatch "${FILESDIR}"/bash-3.1-fix-dash-login-shell.patch #118257
|
||||
epatch "${FILESDIR}"/bash-3.1-dev-fd-test-as-user.patch #131875
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=()
|
||||
|
||||
# Force pgrp synchronization
|
||||
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=81653
|
||||
export bash_cv_pgrp_pipe=yes
|
||||
|
||||
# For descriptions of these, see config-top.h
|
||||
# bashrc/#26952 bash_logout/#90488 ssh/#24762
|
||||
append-cppflags \
|
||||
-DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
|
||||
-DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
|
||||
-DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
|
||||
-DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
|
||||
-DNON_INTERACTIVE_LOGIN_SHELLS \
|
||||
-DSSH_SOURCE_BASHRC
|
||||
|
||||
# Don't even think about building this statically without
|
||||
# reading Bug 7714 first. If you still build it statically,
|
||||
# don't come crying to us with bugs ;).
|
||||
#use static && export LDFLAGS="${LDFLAGS} -static"
|
||||
use nls || myconf+=( --disable-nls )
|
||||
|
||||
# Historically, we always used the builtin readline, but since
|
||||
# our handling of SONAME upgrades has gotten much more stable
|
||||
# in the PM (and the readline ebuild itself preserves the old
|
||||
# libs during upgrades), linking against the system copy should
|
||||
# be safe.
|
||||
# Exact cached version here doesn't really matter as long as it
|
||||
# is at least what's in the DEPEND up above.
|
||||
export ac_cv_rl_version=6.2
|
||||
|
||||
# Force linking with system curses ... the bundled termcap lib
|
||||
# sucks bad compared to ncurses. For the most part, ncurses
|
||||
# is here because readline needs it. But bash itself calls
|
||||
# ncurses in one or two small places :(.
|
||||
|
||||
tc-export AR #444070
|
||||
econf \
|
||||
--with-installed-readline=. \
|
||||
--with-curses \
|
||||
$(use_with afs) \
|
||||
$(use_enable net net-redirections) \
|
||||
--disable-profiling \
|
||||
--without-gnu-malloc \
|
||||
$(use_enable readline) \
|
||||
$(use_enable readline history) \
|
||||
$(use_enable readline bang-history) \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 #102426
|
||||
}
|
||||
|
||||
src_install() {
|
||||
into /
|
||||
newbin bash bash-${SLOT}
|
||||
|
||||
newman doc/bash.1 bash-${SLOT}.1
|
||||
newman doc/builtins.1 builtins-${SLOT}.1
|
||||
|
||||
insinto /usr/share/info
|
||||
newins doc/bashref.info bash-${SLOT}.info
|
||||
dosym bash-${SLOT}.info /usr/share/info/bashref-${SLOT}.info
|
||||
|
||||
dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
|
||||
}
|
@ -0,0 +1,146 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-3.2_p54.ebuild,v 1.1 2014/09/28 16:52:30 polynomial-c Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
# Official patchlevel
|
||||
# See ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/
|
||||
PLEVEL=${PV##*_p}
|
||||
MY_PV=${PV/_p*}
|
||||
MY_PV=${MY_PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
[[ ${PV} != *_p* ]] && PLEVEL=0
|
||||
patches() {
|
||||
local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
|
||||
[[ ${plevel} -eq 0 ]] && return 1
|
||||
eval set -- {1..${plevel}}
|
||||
set -- $(printf "${pn}${pv/\.}-%03d " "$@")
|
||||
if [[ ${opt} == -s ]] ; then
|
||||
echo "${@/#/${DISTDIR}/}"
|
||||
else
|
||||
local u
|
||||
for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
|
||||
printf "${u}/${pn}-${pv}-patches/%s " "$@"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="The standard GNU Bourne again shell"
|
||||
HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
|
||||
SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="${MY_PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="afs +net nls +readline"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2-r2
|
||||
readline? ( >=sys-libs/readline-6.2 )
|
||||
nls? ( virtual/libintl )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
if is-flag -malign-double ; then #7332
|
||||
eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
|
||||
eerror "as it breaks LFS (struct stat64) on x86."
|
||||
die "remove -malign-double from your CFLAGS mr ricer"
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Include official patches
|
||||
[[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
|
||||
|
||||
# Clean out local libs so we know we use system ones
|
||||
rm -rf lib/{readline,termcap}/*
|
||||
touch lib/{readline,termcap}/Makefile.in # for config.status
|
||||
sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[[:alpha:]]*.h::g' Makefile.in || die
|
||||
|
||||
epatch "${FILESDIR}"/autoconf-mktime-2.59.patch #220040
|
||||
epatch "${FILESDIR}"/${PN}-3.1-gentoo.patch
|
||||
epatch "${FILESDIR}"/${PN}-3.2-loadables.patch
|
||||
epatch "${FILESDIR}"/${PN}-3.2-protos.patch
|
||||
epatch "${FILESDIR}"/${PN}-3.2-session-leader.patch #231775
|
||||
epatch "${FILESDIR}"/${PN}-3.2-parallel-build.patch #189671
|
||||
epatch "${FILESDIR}"/${PN}-3.2-ldflags-for-build.patch #211947
|
||||
epatch "${FILESDIR}"/${PN}-3.2-process-subst.patch
|
||||
epatch "${FILESDIR}"/${PN}-3.2-ulimit.patch
|
||||
epatch "${FILESDIR}"/${PN}-3.0-trap-fg-signals.patch
|
||||
epatch "${FILESDIR}"/${PN}-3.2-dev-fd-test-as-user.patch #131875
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=()
|
||||
|
||||
# Force pgrp synchronization
|
||||
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=81653
|
||||
export bash_cv_pgrp_pipe=yes
|
||||
|
||||
# For descriptions of these, see config-top.h
|
||||
# bashrc/#26952 bash_logout/#90488 ssh/#24762
|
||||
append-cppflags \
|
||||
-DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
|
||||
-DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
|
||||
-DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
|
||||
-DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
|
||||
-DNON_INTERACTIVE_LOGIN_SHELLS \
|
||||
-DSSH_SOURCE_BASHRC
|
||||
|
||||
# Don't even think about building this statically without
|
||||
# reading Bug 7714 first. If you still build it statically,
|
||||
# don't come crying to us with bugs ;).
|
||||
#use static && export LDFLAGS="${LDFLAGS} -static"
|
||||
use nls || myconf+=( --disable-nls )
|
||||
|
||||
# Historically, we always used the builtin readline, but since
|
||||
# our handling of SONAME upgrades has gotten much more stable
|
||||
# in the PM (and the readline ebuild itself preserves the old
|
||||
# libs during upgrades), linking against the system copy should
|
||||
# be safe.
|
||||
# Exact cached version here doesn't really matter as long as it
|
||||
# is at least what's in the DEPEND up above.
|
||||
export ac_cv_rl_version=6.2
|
||||
|
||||
# Force linking with system curses ... the bundled termcap lib
|
||||
# sucks bad compared to ncurses. For the most part, ncurses
|
||||
# is here because readline needs it. But bash itself calls
|
||||
# ncurses in one or two small places :(.
|
||||
|
||||
tc-export AR #444070
|
||||
econf \
|
||||
--with-installed-readline=. \
|
||||
--with-curses \
|
||||
$(use_with afs) \
|
||||
$(use_enable net net-redirections) \
|
||||
--disable-profiling \
|
||||
--without-gnu-malloc \
|
||||
$(use_enable readline) \
|
||||
$(use_enable readline history) \
|
||||
$(use_enable readline bang-history) \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
into /
|
||||
newbin bash bash-${SLOT}
|
||||
|
||||
newman doc/bash.1 bash-${SLOT}.1
|
||||
newman doc/builtins.1 builtins-${SLOT}.1
|
||||
|
||||
insinto /usr/share/info
|
||||
newins doc/bashref.info bash-${SLOT}.info
|
||||
dosym bash-${SLOT}.info /usr/share/info/bashref-${SLOT}.info
|
||||
|
||||
dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
|
||||
}
|
@ -0,0 +1,140 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.0_p41.ebuild,v 1.1 2014/09/28 16:52:30 polynomial-c Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
# Official patchlevel
|
||||
# See ftp://ftp.cwru.edu/pub/bash/bash-4.0-patches/
|
||||
PLEVEL=${PV##*_p}
|
||||
MY_PV=${PV/_p*}
|
||||
MY_PV=${MY_PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
[[ ${PV} != *_p* ]] && PLEVEL=0
|
||||
patches() {
|
||||
local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
|
||||
[[ ${plevel} -eq 0 ]] && return 1
|
||||
eval set -- {1..${plevel}}
|
||||
set -- $(printf "${pn}${pv/\.}-%03d " "$@")
|
||||
if [[ ${opt} == -s ]] ; then
|
||||
echo "${@/#/${DISTDIR}/}"
|
||||
else
|
||||
local u
|
||||
for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
|
||||
printf "${u}/${pn}-${pv}-patches/%s " "$@"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="The standard GNU Bourne again shell"
|
||||
HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
|
||||
SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="${MY_PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="afs mem-scramble +net nls +readline"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2-r2
|
||||
readline? ( >=sys-libs/readline-6.2 )
|
||||
nls? ( virtual/libintl )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
if is-flag -malign-double ; then #7332
|
||||
eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
|
||||
eerror "as it breaks LFS (struct stat64) on x86."
|
||||
die "remove -malign-double from your CFLAGS mr ricer"
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Include official patches
|
||||
[[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
|
||||
|
||||
# Clean out local libs so we know we use system ones
|
||||
rm -rf lib/{readline,termcap}/*
|
||||
touch lib/{readline,termcap}/Makefile.in # for config.status
|
||||
sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[[:alpha:]]*.h::g' Makefile.in || die
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-4.0-configure.patch #304901
|
||||
epatch "${FILESDIR}"/${PN}-4.x-deferred-heredocs.patch
|
||||
sed -i '1i#define NEED_FPURGE_DECL' execute_cmd.c # needs fpurge() decl
|
||||
epatch "${FILESDIR}"/${PN}-3.2-parallel-build.patch #189671
|
||||
epatch "${FILESDIR}"/${PN}-4.0-ldflags-for-build.patch #211947
|
||||
epatch "${FILESDIR}"/${PN}-4.0-negative-return.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.0-parallel-build.patch #267613
|
||||
sed -i '/\.o: .*shell\.h/s:$: pathnames.h:' Makefile.in #267613
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=()
|
||||
|
||||
# For descriptions of these, see config-top.h
|
||||
# bashrc/#26952 bash_logout/#90488 ssh/#24762
|
||||
append-cppflags \
|
||||
-DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
|
||||
-DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
|
||||
-DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
|
||||
-DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
|
||||
-DNON_INTERACTIVE_LOGIN_SHELLS \
|
||||
-DSSH_SOURCE_BASHRC
|
||||
|
||||
# Don't even think about building this statically without
|
||||
# reading Bug 7714 first. If you still build it statically,
|
||||
# don't come crying to us with bugs ;).
|
||||
#use static && export LDFLAGS="${LDFLAGS} -static"
|
||||
use nls || myconf+=( --disable-nls )
|
||||
|
||||
# Historically, we always used the builtin readline, but since
|
||||
# our handling of SONAME upgrades has gotten much more stable
|
||||
# in the PM (and the readline ebuild itself preserves the old
|
||||
# libs during upgrades), linking against the system copy should
|
||||
# be safe.
|
||||
# Exact cached version here doesn't really matter as long as it
|
||||
# is at least what's in the DEPEND up above.
|
||||
export ac_cv_rl_version=6.2
|
||||
|
||||
# Force linking with system curses ... the bundled termcap lib
|
||||
# sucks bad compared to ncurses. For the most part, ncurses
|
||||
# is here because readline needs it. But bash itself calls
|
||||
# ncurses in one or two small places :(.
|
||||
|
||||
tc-export AR #444070
|
||||
econf \
|
||||
--with-installed-readline=. \
|
||||
--with-curses \
|
||||
$(use_with afs) \
|
||||
$(use_enable net net-redirections) \
|
||||
--disable-profiling \
|
||||
$(use_enable mem-scramble) \
|
||||
$(use_with mem-scramble bash-malloc) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable readline history) \
|
||||
$(use_enable readline bang-history) \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
into /
|
||||
newbin bash bash-${SLOT}
|
||||
|
||||
newman doc/bash.1 bash-${SLOT}.1
|
||||
newman doc/builtins.1 builtins-${SLOT}.1
|
||||
|
||||
insinto /usr/share/info
|
||||
newins doc/bashref.info bash-${SLOT}.info
|
||||
dosym bash-${SLOT}.info /usr/share/info/bashref-${SLOT}.info
|
||||
|
||||
dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
|
||||
}
|
@ -0,0 +1,137 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.1_p14.ebuild,v 1.1 2014/09/28 16:52:30 polynomial-c Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
# Official patchlevel
|
||||
# See ftp://ftp.cwru.edu/pub/bash/bash-4.1-patches/
|
||||
PLEVEL=${PV##*_p}
|
||||
MY_PV=${PV/_p*}
|
||||
MY_PV=${MY_PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
[[ ${PV} != *_p* ]] && PLEVEL=0
|
||||
patches() {
|
||||
local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
|
||||
[[ ${plevel} -eq 0 ]] && return 1
|
||||
eval set -- {1..${plevel}}
|
||||
set -- $(printf "${pn}${pv/\.}-%03d " "$@")
|
||||
if [[ ${opt} == -s ]] ; then
|
||||
echo "${@/#/${DISTDIR}/}"
|
||||
else
|
||||
local u
|
||||
for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
|
||||
printf "${u}/${pn}-${pv}-patches/%s " "$@"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="The standard GNU Bourne again shell"
|
||||
HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
|
||||
SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="${MY_PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="afs mem-scramble +net nls +readline"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2-r2
|
||||
readline? ( >=sys-libs/readline-6.2 )
|
||||
nls? ( virtual/libintl )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
if is-flag -malign-double ; then #7332
|
||||
eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
|
||||
eerror "as it breaks LFS (struct stat64) on x86."
|
||||
die "remove -malign-double from your CFLAGS mr ricer"
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Include official patches
|
||||
[[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
|
||||
|
||||
# Clean out local libs so we know we use system ones
|
||||
rm -rf lib/{readline,termcap}/*
|
||||
touch lib/{readline,termcap}/Makefile.in # for config.status
|
||||
sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[[:alpha:]]*.h::g' Makefile.in || die
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-4.1-fbsd-eaccess.patch #303411
|
||||
sed -i '1i#define NEED_FPURGE_DECL' execute_cmd.c # needs fpurge() decl
|
||||
epatch "${FILESDIR}"/${PN}-4.1-parallel-build.patch
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=()
|
||||
|
||||
myconf+=( --without-lispdir ) #335896
|
||||
|
||||
# For descriptions of these, see config-top.h
|
||||
# bashrc/#26952 bash_logout/#90488 ssh/#24762
|
||||
append-cppflags \
|
||||
-DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
|
||||
-DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
|
||||
-DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
|
||||
-DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
|
||||
-DNON_INTERACTIVE_LOGIN_SHELLS \
|
||||
-DSSH_SOURCE_BASHRC
|
||||
|
||||
# Don't even think about building this statically without
|
||||
# reading Bug 7714 first. If you still build it statically,
|
||||
# don't come crying to us with bugs ;).
|
||||
#use static && export LDFLAGS="${LDFLAGS} -static"
|
||||
use nls || myconf+=( --disable-nls )
|
||||
|
||||
# Historically, we always used the builtin readline, but since
|
||||
# our handling of SONAME upgrades has gotten much more stable
|
||||
# in the PM (and the readline ebuild itself preserves the old
|
||||
# libs during upgrades), linking against the system copy should
|
||||
# be safe.
|
||||
# Exact cached version here doesn't really matter as long as it
|
||||
# is at least what's in the DEPEND up above.
|
||||
export ac_cv_rl_version=6.2
|
||||
|
||||
# Force linking with system curses ... the bundled termcap lib
|
||||
# sucks bad compared to ncurses. For the most part, ncurses
|
||||
# is here because readline needs it. But bash itself calls
|
||||
# ncurses in one or two small places :(.
|
||||
|
||||
tc-export AR #444070
|
||||
econf \
|
||||
--with-installed-readline=. \
|
||||
--with-curses \
|
||||
$(use_with afs) \
|
||||
$(use_enable net net-redirections) \
|
||||
--disable-profiling \
|
||||
$(use_enable mem-scramble) \
|
||||
$(use_with mem-scramble bash-malloc) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable readline history) \
|
||||
$(use_enable readline bang-history) \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
into /
|
||||
newbin bash bash-${SLOT}
|
||||
|
||||
newman doc/bash.1 bash-${SLOT}.1
|
||||
newman doc/builtins.1 builtins-${SLOT}.1
|
||||
|
||||
insinto /usr/share/info
|
||||
newins doc/bashref.info bash-${SLOT}.info
|
||||
dosym bash-${SLOT}.info /usr/share/info/bashref-${SLOT}.info
|
||||
|
||||
dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
|
||||
}
|
@ -0,0 +1,226 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.2_p50.ebuild,v 1.1 2014/09/28 16:52:30 polynomial-c Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs multilib
|
||||
|
||||
# Official patchlevel
|
||||
# See ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/
|
||||
PLEVEL=${PV##*_p}
|
||||
MY_PV=${PV/_p*}
|
||||
MY_PV=${MY_PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
[[ ${PV} != *_p* ]] && PLEVEL=0
|
||||
patches() {
|
||||
local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
|
||||
[[ ${plevel} -eq 0 ]] && return 1
|
||||
eval set -- {1..${plevel}}
|
||||
set -- $(printf "${pn}${pv/\.}-%03d " "$@")
|
||||
if [[ ${opt} == -s ]] ; then
|
||||
echo "${@/#/${DISTDIR}/}"
|
||||
else
|
||||
local u
|
||||
for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
|
||||
printf "${u}/${pn}-${pv}-patches/%s " "$@"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="The standard GNU Bourne again shell"
|
||||
HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
|
||||
SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="afs bashlogger examples mem-scramble +net nls plugins +readline vanilla"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2-r2
|
||||
readline? ( >=sys-libs/readline-6.2 )
|
||||
nls? ( virtual/libintl )"
|
||||
RDEPEND="${DEPEND}
|
||||
!!<sys-apps/portage-2.1.6.7_p1
|
||||
!!<sys-apps/paludis-0.26.0_alpha5"
|
||||
# we only need yacc when the .y files get patched (bash42-005)
|
||||
DEPEND+=" virtual/yacc"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
if is-flag -malign-double ; then #7332
|
||||
eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
|
||||
eerror "as it breaks LFS (struct stat64) on x86."
|
||||
die "remove -malign-double from your CFLAGS mr ricer"
|
||||
fi
|
||||
if use bashlogger ; then
|
||||
ewarn "The logging patch should ONLY be used in restricted (i.e. honeypot) envs."
|
||||
ewarn "This will log ALL output you enter into the shell, you have been warned."
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Include official patches
|
||||
[[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
|
||||
|
||||
# Clean out local libs so we know we use system ones
|
||||
rm -rf lib/{readline,termcap}/*
|
||||
touch lib/{readline,termcap}/Makefile.in # for config.status
|
||||
sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[[:alpha:]]*.h::g' Makefile.in || die
|
||||
|
||||
# Avoid regenerating docs after patches #407985
|
||||
sed -i -r '/^(HS|RL)USER/s:=.*:=:' doc/Makefile.in || die
|
||||
touch -r . doc/*
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-4.2-execute-job-control.patch #383237
|
||||
epatch "${FILESDIR}"/${PN}-4.2-parallel-build.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.2-no-readline.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.2-read-retry.patch #447810
|
||||
if ! use vanilla ; then
|
||||
epatch "${FILESDIR}"/${PN}-4.2-speed-up-read-N.patch
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=()
|
||||
|
||||
# For descriptions of these, see config-top.h
|
||||
# bashrc/#26952 bash_logout/#90488 ssh/#24762
|
||||
append-cppflags \
|
||||
-DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
|
||||
-DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
|
||||
-DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
|
||||
-DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
|
||||
-DNON_INTERACTIVE_LOGIN_SHELLS \
|
||||
-DSSH_SOURCE_BASHRC \
|
||||
$(use bashlogger && echo -DSYSLOG_HISTORY)
|
||||
|
||||
# Don't even think about building this statically without
|
||||
# reading Bug 7714 first. If you still build it statically,
|
||||
# don't come crying to us with bugs ;).
|
||||
#use static && export LDFLAGS="${LDFLAGS} -static"
|
||||
use nls || myconf+=( --disable-nls )
|
||||
|
||||
# Historically, we always used the builtin readline, but since
|
||||
# our handling of SONAME upgrades has gotten much more stable
|
||||
# in the PM (and the readline ebuild itself preserves the old
|
||||
# libs during upgrades), linking against the system copy should
|
||||
# be safe.
|
||||
# Exact cached version here doesn't really matter as long as it
|
||||
# is at least what's in the DEPEND up above.
|
||||
export ac_cv_rl_version=6.2
|
||||
|
||||
# Force linking with system curses ... the bundled termcap lib
|
||||
# sucks bad compared to ncurses. For the most part, ncurses
|
||||
# is here because readline needs it. But bash itself calls
|
||||
# ncurses in one or two small places :(.
|
||||
|
||||
use plugins && append-ldflags -Wl,-rpath,/usr/$(get_libdir)/bash
|
||||
tc-export AR #444070
|
||||
econf \
|
||||
--with-installed-readline=. \
|
||||
--with-curses \
|
||||
$(use_with afs) \
|
||||
$(use_enable net net-redirections) \
|
||||
--disable-profiling \
|
||||
$(use_enable mem-scramble) \
|
||||
$(use_with mem-scramble bash-malloc) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable readline history) \
|
||||
$(use_enable readline bang-history) \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
if use plugins ; then
|
||||
emake -C examples/loadables all others
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}"
|
||||
|
||||
dodir /bin
|
||||
mv "${ED}"/usr/bin/bash "${ED}"/bin/ || die
|
||||
dosym bash /bin/rbash
|
||||
|
||||
insinto /etc/bash
|
||||
doins "${FILESDIR}"/{bashrc,bash_logout}
|
||||
insinto /etc/skel
|
||||
for f in bash{_logout,_profile,rc} ; do
|
||||
newins "${FILESDIR}"/dot-${f} .${f}
|
||||
done
|
||||
|
||||
local sed_args=(
|
||||
-e "s:#${USERLAND}#@::"
|
||||
-e '/#@/d'
|
||||
)
|
||||
if ! use readline ; then
|
||||
sed_args+=( #432338
|
||||
-e '/^shopt -s histappend/s:^:#:'
|
||||
-e 's:use_color=true:use_color=false:'
|
||||
)
|
||||
fi
|
||||
sed -i \
|
||||
"${sed_args[@]}" \
|
||||
"${ED}"/etc/skel/.bashrc \
|
||||
"${ED}"/etc/bash/bashrc || die
|
||||
|
||||
if use plugins ; then
|
||||
exeinto /usr/$(get_libdir)/bash
|
||||
doexe $(echo examples/loadables/*.o | sed 's:\.o::g')
|
||||
insinto /usr/include/bash-plugins
|
||||
doins *.h builtins/*.h examples/loadables/*.h include/*.h \
|
||||
lib/{glob/glob.h,tilde/tilde.h}
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
for d in examples/{functions,misc,scripts,scripts.noah,scripts.v2} ; do
|
||||
exeinto /usr/share/doc/${PF}/${d}
|
||||
insinto /usr/share/doc/${PF}/${d}
|
||||
for f in ${d}/* ; do
|
||||
if [[ ${f##*/} != PERMISSION ]] && [[ ${f##*/} != *README ]] ; then
|
||||
doexe ${f}
|
||||
else
|
||||
doins ${f}
|
||||
fi
|
||||
done
|
||||
done
|
||||
fi
|
||||
|
||||
doman doc/*.1
|
||||
dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
|
||||
dosym bash.info /usr/share/info/bashref.info
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ -e ${EROOT}/etc/bashrc ]] && [[ ! -d ${EROOT}/etc/bash ]] ; then
|
||||
mkdir -p "${EROOT}"/etc/bash
|
||||
mv -f "${EROOT}"/etc/bashrc "${EROOT}"/etc/bash/
|
||||
fi
|
||||
|
||||
if [[ -L ${EROOT}/bin/sh ]]; then
|
||||
# rewrite the symlink to ensure that its mtime changes. having /bin/sh
|
||||
# missing even temporarily causes a fatal error with paludis.
|
||||
local target=$(readlink "${EROOT}"/bin/sh)
|
||||
local tmp=$(emktemp "${EROOT}"/bin)
|
||||
ln -sf "${target}" "${tmp}"
|
||||
mv -f "${tmp}" "${EROOT}"/bin/sh
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# If /bin/sh does not exist, provide it
|
||||
if [[ ! -e ${EROOT}/bin/sh ]]; then
|
||||
ln -sf bash "${EROOT}"/bin/sh
|
||||
fi
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.3_p26.ebuild,v 1.1 2014/09/27 05:12:25 polynomial-c Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.3_p27.ebuild,v 1.1 2014/09/28 16:52:30 polynomial-c Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
@ -1,6 +1,8 @@
|
||||
DIST INIT.2012-01-01.tgz 376375 SHA256 60d9a57885f2f37affb6ddab6090275d715236058561f333f351566bedcc2cd1 SHA512 ad933982d819b594f1303e31b3040b7c5f6ceaf7099d1203b0b7d0949709adf9e953586c9980e1b1cf311902e8a6c8fe6a6118e982d461ffeceddaf8b6f18bbe WHIRLPOOL 718f7275d51386960227bd04cfa51acaaaa8c2f83e1ad0a9f6a7c57f2066e86450a232dd94085ad3357ccbc044e586b15cda46cdcdf9f855db0521e75f96c766
|
||||
DIST INIT.2012-02-29.tgz 379873 SHA256 da4a886d28f75f8a011d522697272cd196cdcfb406f92d47f8b0a6608d786896 SHA512 2ac9d7ce48f1dc7e0870d87d34fa1688461268140c0747f507f3677a38fba0b8ca2f44020a4c50e0beaed63949dc347ee48c53b6e09bfb0e6c3e51e128a6302e WHIRLPOOL e4e4bc5bebbccb5e8ce3a8fdd73d1e796f9823291eb7980caa06e40bcea1f41d7122c88af50848f3bda58c340884a0a0071b3ba2559248d470e970362b918d4f
|
||||
DIST INIT.2014-06-06.tgz 385532 SHA256 73cc2f6a3edd6ffbfcf5002408f7b35c36000729306c6e60788e1ccbc481886f SHA512 94fd97fa069a2857202f7e12bbd920a1e18be13a3f64a3bb72dfdc78bc5db8d585e4123036f3d12fc8e5ce6ae5469831f7377189daf905debeb07034cf10196a WHIRLPOOL a759f435bba62337badb50f00b3760c0d34ae671868875317452bc53e79baabeaf55a943a8b80dff75b8e501500aa5fc68ed933819fd24af7dffcdb192260beb
|
||||
DIST INIT.2014-06-25.tgz 385531 SHA256 e73302b6ab2854421c960f179c3ac079f9e21f0362cfdec58476bda36c163f14 SHA512 9034cdf5b798c134472d786195d0f5d14e7e7a1f8226dcbccf962880cd59cd59d3a5597307587163f90a9187cce0232235cf79bcd66842044b2c624b335ba730 WHIRLPOOL 9e33c998c90878829e6e3007a3fa1b0b7d3128f4761a75630bb449e9e3e29b49c6c54e509c56a1e73119ff87aabc1a84108f4943928920745156d95abf2b0d20
|
||||
DIST ast-base.2011-02-08.tgz 6111018 SHA256 44ae3913e6c0c8992c6c3cba16864fd4c4a18c6da8e7d87c85a23060cea7cd1a SHA512 f8bfa1104778968dc66cc693da1100b624a7016f6d24281f401aec564ec25047b01473755ed55f19638b7060a7007ae8d1092c521f645147b0babfd359586e95 WHIRLPOOL 6510a55ca151d82e5b7fcb64ba32078fba50ebb70da1362f53052aeb3360cc4741789f6334e4d09731075c3b495c88fad3160653e6de0c6dcb915aedaeb48394
|
||||
DIST ast-base.2012-02-29.tgz 9068922 SHA256 08223dc93da5a8e3d1b46d772be16cdcfc11b6e41c00b696e8fcf7160b48541b SHA512 95cc909ecb5b2bbfae10a44650dfd1aabf2f2461e82f4c77137696a57c41361cded3e3c0697ab5cc9e63fb72645fe442f5fc32ca0a53370b5f43b396595c4d94 WHIRLPOOL f0324fd98b6f14e4001786620ccd56cf81e87dc68397d74fa214025da8cf605fe3f24d3f809aeef8d692287d898b57725769e77ce6f5d52ac24978bf8cd4671b
|
||||
DIST ast-base.2014-06-06.tgz 9605517 SHA256 c08c895f1412d80dc85227d9b9c77dbd55bedb586965972ebe14f6b0e5ac92db SHA512 265cd4763006471e4deb1ee79c6d668f7e56f2a721589054faa7b6fb103d65d963f9101c073f1b748be63d3195ef6dfbda2a3753d06de1d2517f8ed04cad3ff1 WHIRLPOOL 994f416cd9ffd19f3a14f5f6b27be265263541654f793143d896a91c86533928daf44b5154e1bcb01e8456ef3a0e0492f209dc8ca41cf77a110b45cbc3d4a19b
|
||||
DIST ast-base.2014-06-25.tgz 9609090 SHA256 58588b07b076f05dbbd5f4f095d5753309a8356ba1e5475262ce77d6bff42dae SHA512 3006dd187c6042798ffd6da5aad8d6340bf4fbad687338b2b9797556136966b65d90295eb267dba198a83ea5b651a9a339d9ff48179f3d7e25b3de76c41bf737 WHIRLPOOL b07c4809e729359d0ed613310f49fa391c199a225e4a3c589f9015af54d1159e199135ee4eadebd9d09f21f3131103550c1c17badc3a643943e3828df79d98d2
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/ksh/ksh-93.20140625.ebuild,v 1.1 2014/09/29 02:14:32 floppym Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit toolchain-funcs prefix eutils
|
||||
|
||||
DESCRIPTION="The Original Korn Shell, 1993 revision (ksh93)"
|
||||
HOMEPAGE="http://www.kornshell.com/"
|
||||
|
||||
KSH_PV=${PV:3:4}-${PV:7:2}-${PV:9:2}
|
||||
|
||||
SRC_URI="http://dev.gentoo.org/~floppym/distfiles/INIT.${KSH_PV}.tgz
|
||||
http://dev.gentoo.org/~floppym/distfiles/ast-base.${KSH_PV}.tgz"
|
||||
|
||||
LICENSE="CPL-1.0 EPL-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!app-shells/pdksh"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_prepare() {
|
||||
# Bug 238906.
|
||||
sed -i -e 's,cd /tmp,cd "${TMPDIR:-/tmp}",' \
|
||||
bin/package src/cmd/INIT/package.sh || die
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-prefix.patch
|
||||
eprefixify src/cmd/ksh93/data/msg.c
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export AR CC LD NM
|
||||
export CCFLAGS="${CFLAGS}"
|
||||
sh bin/package flat only make ast-ksh SHELL=sh SHOPT_SYSRC=1 || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc lib/package/ast-base.README
|
||||
dohtml lib/package/ast-base.html
|
||||
|
||||
local myhost=$(sh bin/package host)
|
||||
into /
|
||||
dobin bin/ksh
|
||||
dosym ksh /bin/rksh
|
||||
newman man/man1/sh.1 ksh.1
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Data-Structure-Util/Data-Structure-Util-0.150.0.ebuild,v 1.1 2014/09/28 21:43:59 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=ANDYA
|
||||
MODULE_VERSION=0.15
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Change nature of data within a structure"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-Digest-MD5
|
||||
virtual/perl-Scalar-List-Utils
|
||||
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
@ -0,0 +1 @@
|
||||
DIST Data-Structure-Util-0.15.tar.gz 23185 SHA256 4228ad6fcd1081a5193d91b2c394f50a5b1e8a42e25d99fdf79c4153a40186d0 SHA512 0bbc654b1f1cd33fdc91562d751852ec7332efa712bde026548db7f06d5b228c7d2f33f3ec417c30736ba631c41d4f5029345ae14b4bd853aee0070dd07c124a WHIRLPOOL a9d3d6aff4d1cd00ec4a9bbd12197ca93ff9d9de44248a3e3a33696c34909018553c8d596064196f07b1791d59e2bf54fd095398971c16eaa337f62b0c9e6622
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>perl</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/File-Flock/File-Flock-2014.10.0.ebuild,v 1.1 2014/09/28 21:59:32 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=MUIR
|
||||
MODULE_VERSION=2014.01
|
||||
MODULE_SECTION=modules
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="flock() wrapper. Auto-create locks"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/Data-Structure-Util
|
||||
dev-perl/IO-Event
|
||||
dev-perl/AnyEvent
|
||||
dev-perl/Event
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-perl/File-Slurp
|
||||
"
|
@ -1 +1,2 @@
|
||||
DIST File-Flock-2008.01.tar.gz 5622 SHA256 016e6a5a49db81bac4b5dad0bec4806786d24fcb18c304d8b3a70bc17d93feb0 SHA512 f0045e6640387cf06bab0bb5e197cb735239faee4ff2883855d8014c8ac3456d9a4abf650ee8c9b2d56544251bc2fe8ef6dbd800564d0043ac3800d6a41f79c8 WHIRLPOOL d1c2ebb722a76793bbbd50b9cb731d4f9d4c5bdd0ac9f8e816e4ed34b5d1eb7d5e32498105edc9f55aee89a0977baa96546b54952ca6a05453c627e89d63ecaf
|
||||
DIST File-Flock-2014.01.tar.gz 12790 SHA256 5dc5d7890dbeb4f8261f1e47820492a238f56f38c793a8b453d06515f7f241d2 SHA512 3892d9c126c809709e690391396bc349b95b790b2d1be34bf1d24d728dbbe8b9e5dc7a35f5bf17b420b5912aa6b1e2ef1aa6c6b60b48c4e17685eade7b3fae16 WHIRLPOOL 244ba184434b749b9f03c2cfe8e75a69e9780583e748e874cc1407457be610d322d4ec4fb41a464fda4757521555e1538207f01efc425913252525c531d1f8ed
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/IO-Event/IO-Event-0.813.0.ebuild,v 1.1 2014/09/28 21:53:57 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=MUIR
|
||||
MODULE_VERSION=0.813
|
||||
MODULE_SECTION=modules
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Tied Filehandles for Nonblocking IO with Object Callbacks"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/AnyEvent
|
||||
dev-perl/Event
|
||||
dev-perl/List-MoreUtils
|
||||
virtual/perl-Time-HiRes
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
@ -0,0 +1 @@
|
||||
DIST IO-Event-0.813.tar.gz 34477 SHA256 43be65d079156d708bdfb6e0436a20593e6a040125187e577262c85b353f73b7 SHA512 234fe3037e9600b843b7db094b2bb67ff6d573d5a8cf48cec813d5cf6a996ae32bfde0eb35f8593c0cfe4d2d56a56882183e5fa291498df845a3c9fcb0ba7293 WHIRLPOOL 2482c0a2dacaa1598a0c7cb5f39b7dd5375c6bf818cc2c4cf82bf43c4a4eedf27557f53edff07416f9c03f6273fd96569ff83a6e234a999616cc6243231c8906
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>perl</herd>
|
||||
</pkgmetadata>
|
@ -1,2 +1,3 @@
|
||||
DIST Glib-1.280.tar.gz 285478 SHA256 392cf0c1442dc7e2d6e75ad4788e955f939cdbdd2c3441a760c4d650e44df1b9 SHA512 7a1b4c0374da3bf4a83fffe5306241b52cba7f3ca7cd58bed2cc298a5fd4c7a0d1cfd648719ca0440f44a9f1cb1f4fbd7f296617a6e85c27d22c95a4b7cce852 WHIRLPOOL b8aa06cc823af7cd5f2f35b93763d4204120bf5e44e0a9f7b386afa51fc470501314ae9cb8529e897460b5f3b5ed4f2ba6ffad5f7ba67117b2aa85c37d4692a8
|
||||
DIST Glib-1.301.tar.gz 284547 SHA256 1df55a02c4d173ff4e417503b67e6d7896409966a1560d3bb2b4e50f658a9376 SHA512 f69de4bd9d3ecca0018d1f8a2fddb81a88529580ddbede3beaf2d3f9c2867eb127e8c1f7433f5bc2933a6adbe6265390c7e4d46592357a8414efbef6f4d9c2e7 WHIRLPOOL 27fccd60371629ec0d65822e8ada2af3c8d2da24bc4c8482413888303fc9fab41ea167375a783d3dafede75db95c4bcbf03cfbcde0f4e85f094d4d5491da4fb5
|
||||
DIST Glib-1.305.tar.gz 286063 SHA256 2955483a00db4a18953ee7b557e8638415e2aa7e96e75851ba10fbdc68a9108e SHA512 e475ee3ef66d4a9dc3199dbf1ccb4d9d0b12f06ecbb0773f16091f72bfb957dfc24db07ff3b474f93949b0d6028d4078014f1707a63ed32abf39824c99baae49 WHIRLPOOL c3d75a0be528beb1a923ebc75f9dde11575ffcbbe442ae015e6482f950c37c321c6ec5ee2f946f458016e85ccc599ebc058112af561864008a080d669dd378d0
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/glib-perl/glib-perl-1.305.0.ebuild,v 1.1 2014/09/28 16:38:07 zlogene Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PN=Glib
|
||||
MODULE_AUTHOR=XAOC
|
||||
MODULE_VERSION=1.305
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Glib - Perl wrappers for the GLib utility and Object libraries"
|
||||
HOMEPAGE="http://gtk2-perl.sf.net/ ${HOMEPAGE}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
>=dev-perl/extutils-pkgconfig-1.0.0
|
||||
>=dev-perl/extutils-depends-0.300.0
|
||||
"
|
||||
|
||||
SRC_TEST="do"
|
@ -1,3 +1,4 @@
|
||||
DIST django-celery-3.1.10.tar.gz 76323 SHA256 0c724d1c9c01b1f77ca47f84d2a35f63f8ce8e29b85fb578d7465f86eb8a9180 SHA512 de814627978cb014ee8d674fd14097c547d4f4bc2db4b0254aec43caeffcc41f182bcdb529b290004d44cf8cf691544f58211208c54a906d6bfbf279823ed519 WHIRLPOOL 1c981b76a5ee9aa7a74846d273b075d2edf106a89113e9ed611d66a331fd13a9a7dc0789fbcbed7c6ca744e4f63c04c531e375a56ba92515f849c369adbea6e7
|
||||
DIST django-celery-3.1.15.tar.gz 77167 SHA256 c8bc0be4c0ce1d7c798d08526c0f749713b3541a72281543cdfed6dd0f521d92 SHA512 acc09c8dfce28eed857d518f15390d7a65e2eb30a5e85f096a22d601b9f561ec94d1630858c37fc4cdcad608d89b26e860546a191a18f12c2946c6f9057ff37a WHIRLPOOL d08b762807ff627ad51fb4575292ee212833285fa1981d3be5904a46831376bd68c77e5495d10a94c5ebe38012ea917920cce98be51b2c5c522c758347ba80e8
|
||||
DIST django-celery-3.1.16.tar.gz 77411 SHA256 07a9c650a1f20e040cf5fffd0bcd920a81d0734915130d898c0325c5fafb2ec4 SHA512 8bada03237f2b6f45484fe15e985d4763944fe19b3ac7271a6b9d53058c13d903b0aba070cd813741e2a1a2c6c1d17b335f8712ca70c377d45892471ef7a59bc WHIRLPOOL a707ce0e31407e9a452d4930e93207dea31f22365a1c827dc917d9dc34d6a5c48f2bfc0aab41ce3b5a92877200265630e6fc17f7e7c80e0aac2ceb76a272a483
|
||||
DIST django-celery-3.1.9.tar.gz 76015 SHA256 5b6515074df25f265bcfec06ba6d53cc334acae949b776fc936572d84e0b1678 SHA512 ada3cbba58ae432aee6a1e76be0d7fe089f430251f894b645096bcb579a7967757e47c5f506e90ebbf5f25e2e5e45af9d4e267150a7a081fe1fb365501dc29b9 WHIRLPOOL 80d6292b75448aa430f8a56188d2fb351416119c4068ebd10795f6e74150dbc0391fac6bf1805dab20cdd70b276fb45ee52908c1fcd104ef27286057dc6411d6
|
||||
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/django-celery/django-celery-3.1.16.ebuild,v 1.1 2014/09/29 05:17:38 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Celery Integration for Django"
|
||||
HOMEPAGE="http://celeryproject.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples test"
|
||||
|
||||
PY2_USEDEP=$(python_gen_usedep python2_7)
|
||||
RDEPEND=">=dev-python/celery-3.1.15[${PYTHON_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/django-nose[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.0[${PYTHON_USEDEP}]
|
||||
dev-python/nose-cover3[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PY2_USEDEP}]
|
||||
dev-python/python-memcached[${PY2_USEDEP}] )
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/sphinxcontrib-issuetracker[${PY2_USEDEP}]
|
||||
dev-python/python-memcached[${PY2_USEDEP}]
|
||||
)"
|
||||
|
||||
PY27_REQUSE="$(python_gen_useflags 'python2.7')"
|
||||
REQUIRED_USE="
|
||||
doc? ( ${PY27_REQUSE} )"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# https://github.com/celery/django-celery/issues/342
|
||||
"${PYTHON}" tests/manage.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/.build/html/. )
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
https://github.com/mitsuhiko/flask/commit/a2bc61b5ab19e899735f8945f68123b4cea570d5
|
||||
diff --git a/flask/testsuite/helpers.py b/flask/testsuite/helpers.py
|
||||
index 636f67f..7de70c0 100644
|
||||
--- a/flask/testsuite/helpers.py
|
||||
+++ b/flask/testsuite/helpers.py
|
||||
@@ -173,7 +173,33 @@ def index():
|
||||
c = app.test_client()
|
||||
rv = c.get('/')
|
||||
lines = [x.strip() for x in rv.data.strip().decode('utf-8').splitlines()]
|
||||
- self.assert_equal(lines, [
|
||||
+ sorted_by_str = [
|
||||
+ '{',
|
||||
+ '"values": {',
|
||||
+ '"0": "foo",',
|
||||
+ '"1": "foo",',
|
||||
+ '"10": "foo",',
|
||||
+ '"11": "foo",',
|
||||
+ '"12": "foo",',
|
||||
+ '"13": "foo",',
|
||||
+ '"14": "foo",',
|
||||
+ '"15": "foo",',
|
||||
+ '"16": "foo",',
|
||||
+ '"17": "foo",',
|
||||
+ '"18": "foo",',
|
||||
+ '"19": "foo",',
|
||||
+ '"2": "foo",',
|
||||
+ '"3": "foo",',
|
||||
+ '"4": "foo",',
|
||||
+ '"5": "foo",',
|
||||
+ '"6": "foo",',
|
||||
+ '"7": "foo",',
|
||||
+ '"8": "foo",',
|
||||
+ '"9": "foo"',
|
||||
+ '}',
|
||||
+ '}'
|
||||
+ ]
|
||||
+ sorted_by_int = [
|
||||
'{',
|
||||
'"values": {',
|
||||
'"0": "foo",',
|
||||
@@ -198,8 +224,12 @@ def index():
|
||||
'"19": "foo"',
|
||||
'}',
|
||||
'}'
|
||||
- ])
|
||||
+ ]
|
||||
|
||||
+ try:
|
||||
+ self.assert_equal(lines, sorted_by_int)
|
||||
+ except AssertionError:
|
||||
+ self.assert_equal(lines, sorted_by_str)
|
||||
|
||||
class SendfileTestCase(FlaskTestCase):
|
||||
|
@ -0,0 +1,14 @@
|
||||
https://github.com/mitsuhiko/flask/commit/f88cc2d2f9d14d97e33ddd2bbaa4b1885db06e1c.
|
||||
diff --git a/flask/testsuite/signals.py b/flask/testsuite/signals.py
|
||||
index e061932..45ca45d 100644
|
||||
--- a/flask/testsuite/signals.py
|
||||
+++ b/flask/testsuite/signals.py
|
||||
@@ -102,7 +102,7 @@ def test_appcontext_signals(self):
|
||||
def record_push(sender, **kwargs):
|
||||
recorded.append('push')
|
||||
def record_pop(sender, **kwargs):
|
||||
- recorded.append('push')
|
||||
+ recorded.append('pop')
|
||||
|
||||
@app.route('/')
|
||||
def index():
|
@ -1,5 +1,3 @@
|
||||
DIST pyspf-2.0.5.tar.gz 38818 SHA256 a9e143fefc6bafd9f6e39b1b62eaaafae8bf96bdc25961ff1d55d01b173bf0b0 SHA512 9fff69097d3ecc024d69b03acd42faef754e9899a57ffe1b3267a0da2ca99278fe7918c5e10aecca10942948d2ffa38ffabca27acfd9815e24cb2e4bf0ebac9c WHIRLPOOL c020e18a813b6005d485b3dfd8d9ee7f422fee694e5c27cfaf72e4a3f36c01970d098cb00ddf937ddae138c3d46ef741a3dbf90a3e6fa1e1a7b0b047c7778cbd
|
||||
DIST pyspf-2.0.6.tar.gz 43448 SHA256 ed20f35d8c1d60516b195ec08ce7c8479d450be28fd37baaab58dbf570ceb429 SHA512 fd39937ac0da6e9ea34bb3cdd10c33d43d676718ef790752dca21fa1bb94dafcc861e3dfc2c22df28fdef86d361d68f5a2eecc4fa1b2a28fc2532da81cebcd05 WHIRLPOOL 5dd92947c636eb03e8e2fec0dfac99738aee4fa4c6a4db859abbc7290ea9b15469048d942d2f732e743fff3f65842145555068a319e744a45162d837d9d53e86
|
||||
DIST pyspf-2.0.10.tar.gz 62890 SHA256 0a3be1cc1915649ed8960a1b8add4110379c3c348e98e642a53f69d028709de8 SHA512 8a10a82fe5226ffee6376ea19f1fe075bb8676cd7eeadbfec1de95326fb8e6f08ad466e84129c016b62452f26f0552f1a463fc6a53d992c67ae1d8b1a18b3a46 WHIRLPOOL 5cceeda27c6a84f827c1505f7808e371f5eecc95737a98cd77d0b06dcccd58fe0d0971b9ecfadc7c23c69ee921eefe56cbb98974c47ea3b57d1b0bcfae5e050f
|
||||
DIST pyspf-2.0.7.tar.gz 46283 SHA256 d26355f2576ed345971b88bec7a97795112476d022d10b943d8580c3f78b44db SHA512 879bff1904fe189ba1c01f10008f978413d5fcb52a564de6a028bb308985e099362a63c99a8a789b3406b925ab5aa1f911ea5a5bb23df593e0d891d8afda9877 WHIRLPOOL b958fd1318938364a8677948ab644d81dc36befd728496380bdbf49238d6fe53f551af633f2ab73ada829bbd6ccf804e175c513a374a53606669ca280b0ed1a7
|
||||
DIST pyspf-2.0.8.tar.gz 48818 SHA256 b9ff846a7b6c883383451d1d4be526762f1d88de84e89d6de05f73f51c2c3dcf SHA512 2ec54866d1233e7922838b4f62508c02641ad3f6b2ddaadea3bfd848f880b8e8e6cf07db24c961fdabe1f5034a0ff0e691bb526a1c0a4698599e11ab268b3c68 WHIRLPOOL 1ef445386214e4539b12cc805445049a04e8327af6ae4ea32ac1d6e7dfd979a64a0effe1f10bd4b9d866602d74347b04e39532e08fe13acd10928d13a5b58291
|
||||
DIST pyspf-2.0.9.tar.gz 63537 SHA256 e4828f785c935d5d24dcab1e8abe13b57de965219c8e821222e763a27fd423e0 SHA512 af305c3e3a5f4d121bcd07d598e91359c6b9e93c8edd3ca6091c07be961478bb9848ac4942cc60dafe7277bc96ebeaa004d6a48a10f03bbeb36760473928c224 WHIRLPOOL 6319e409c69ef98841b4e0c2c916b644de99224f164c1bed4ddf13c962e2c355c9e4d51c4cce912cf8995a388813adc4de32b77cb21a943c876df684a8acca5a
|
||||
|
@ -1,24 +0,0 @@
|
||||
# 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.5.ebuild,v 1.6 2012/05/09 03:20:55 floppym Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.5 3.*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Python implementation of the Sender Policy Framework (SPF) protocol"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/pyspf"
|
||||
SRC_URI="mirror://sourceforge/pymilter/${P}.tar.gz"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="|| ( dev-python/pydns:2 dev-python/pydns:0 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PYTHON_MODNAME="spf.py"
|
@ -1,24 +0,0 @@
|
||||
# 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.6.ebuild,v 1.3 2012/05/09 03:20:55 floppym Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.5 3.*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Python implementation of the Sender Policy Framework (SPF) protocol"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/pyspf"
|
||||
SRC_URI="mirror://sourceforge/pymilter/${P}.tar.gz"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="|| ( dev-python/pydns:2 dev-python/pydns:0 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PYTHON_MODNAME="spf.py"
|
@ -1,30 +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/pyspf/pyspf-2.0.7-r1.ebuild,v 1.1 2013/04/05 08:31:58 idella4 Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
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[${PYTHON_USEDEP}]
|
||||
|| ( dev-python/pydns:2 dev-python/pydns:0 )"
|
||||
DEPEND="${DEPEND}
|
||||
test? ( dev-python/pyyaml[${PYTHON_USEDEP}] )"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-catch_unicode.patch )
|
||||
|
||||
python_test() {
|
||||
pushd test &> /dev/null
|
||||
"${PYTHON}" testspf.py || die
|
||||
popd &> /dev/null
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyspf/pyspf-2.0.8.ebuild,v 1.1 2014/02/24 06:05:44 patrick Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
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[${PYTHON_USEDEP}]
|
||||
|| ( dev-python/pydns:2 dev-python/pydns:0 )"
|
||||
DEPEND="${DEPEND}
|
||||
test? ( dev-python/pyyaml[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_test() {
|
||||
pushd test &> /dev/null
|
||||
"${PYTHON}" testspf.py || die
|
||||
popd &> /dev/null
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST python-heatclient-0.2.12.tar.gz 99919 SHA256 e9d5b74206b322ce30184a1b132a78b8be1806be85c77361fb72a966c4c48afe SHA512 49d28e63bf9e7c227443cf58c6870900f2fb23d6f4e0457b97cfdf615af01b95c046759c4d763e8c9ab702f5a85fe79925aa19d905bbb2c4e94eea48e4ca066e WHIRLPOOL 712aacc7dae4114cd61e02ab22ff50a61b85ddde35cfcfa26fbe02c46ae63808e0c95a13beb5cec9724e3b0fd3b68970123dc679d6cfb765aa0ec57d5d430c82
|
||||
DIST python-heatclient-0.2.9.tar.gz 81470 SHA256 8cc6d99f86529633b8b5d99417358fd7c023223572f190ae3e1da09ff435420f SHA512 05fc3a5ff8e738fdc3ac2c5d8221c9be932467aa9109e1138c4a96053f7e68d8ba77b13f50968f05a37e94b60bd5ff2e798faf0c5b145ae80c2a0a6f7f68313a WHIRLPOOL 1c77ac1329c6f5dc1c207670d5864ea44046d6a0686b12c373ad2a26560999fc0bdc011b8efaf431f9c6f5379d19eb9bb65b68fb08a7297f12ec6e0313ce1846
|
||||
|
@ -0,0 +1,129 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-heatclient/python-heatclient-0.2.12.ebuild,v 1.1 2014/09/28 23:00:16 alunduil Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_3 )
|
||||
DISTUTILS_IN_SOURCE_BUILD=TRUE # Needed due to versioned test patches
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="OpenStack Orchestration API Client Library"
|
||||
HOMEPAGE="http://www.openstack.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
# NOTE: doc is broken due to pbr requiring a git checkout
|
||||
|
||||
# NOTE: dev-python/discover is not used in tests
|
||||
# dev-python/discover[${PYTHON_USEDEP}]
|
||||
|
||||
CDEPEND="
|
||||
>=dev-python/pbr-0.6[${PYTHON_USEDEP}]
|
||||
!~dev-python/pbr-0.7[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
CRDEPEND="
|
||||
>=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/prettytable-0.7[${PYTHON_USEDEP}]
|
||||
<dev-python/prettytable-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-keystoneclient-0.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-1.2.1[${PYTHON_USEDEP}]
|
||||
!~dev-python/requests-2.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.7.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
${CDEPEND}
|
||||
test? (
|
||||
${CRDEPEND}
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/hacking-0.8.0[${PYTHON_USEDEP}]
|
||||
<dev-python/hacking-0.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/httpretty-0.8.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/httpretty-0.8.1[${PYTHON_USEDEP}]
|
||||
!~dev-python/httpretty-0.8.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/httpretty-0.8.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mox3-0.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
${CRDEPEND}
|
||||
"
|
||||
|
||||
python_test() {
|
||||
# BUG: https://bugs.launchpad.net/python-heatclient/+bug/1313257
|
||||
ebegin 'patching heatclient/tests/test_common_http.py'
|
||||
sed \
|
||||
-e '651,/def/ d' \
|
||||
-i heatclient/tests/test_common_http.py
|
||||
STATUS=$?
|
||||
eend ${STATUS}
|
||||
[[ ${STATUS} -gt 0 ]] && die
|
||||
|
||||
# BUG: https://bugs.launchpad.net/python-heatclient/+bug/1375035
|
||||
ebegin 'patching heatclient/tests/test_shell.py'
|
||||
sed \
|
||||
-e '1953,/def|@/ d' \
|
||||
-i heatclient/tests/test_shell.py
|
||||
STATUS=$?
|
||||
eend ${STATUS}
|
||||
[[ ${STATUS} -gt 0 ]] && die
|
||||
|
||||
if [[ "${EPYTHON}" = "python3.3" ]]; then
|
||||
# BUG: https://bugs.launchpad.net/python-heatclient/+bug/1375047
|
||||
ebegin 'patching heatclient/tests/test_events.py'
|
||||
sed \
|
||||
-e '68,/def/ d' \
|
||||
-i heatclient/tests/test_events.py
|
||||
STATUS=$?
|
||||
eend ${STATUS}
|
||||
[[ ${STATUS} -gt 0 ]] && die
|
||||
|
||||
# BUG: https://bugs.launchpad.net/python-heatclient/+bug/1375049
|
||||
ebegin 'patching heatclient/tests/test_events.py'
|
||||
sed \
|
||||
-e '111,/def/ d' \
|
||||
-e '53,/def/ d' \
|
||||
-i heatclient/tests/test_events.py
|
||||
STATUS=$?
|
||||
eend ${STATUS}
|
||||
[[ ${STATUS} -gt 0 ]] && die
|
||||
|
||||
ebegin 'patching heatclient/tests/test_resources.py'
|
||||
sed \
|
||||
-e '69,/def/ d' \
|
||||
-i heatclient/tests/test_resources.py
|
||||
STATUS=$?
|
||||
eend ${STATUS}
|
||||
[[ ${STATUS} -gt 0 ]] && die
|
||||
|
||||
# BUG: https://bugs.launchpad.net/python-heatclient/+bug/1375051
|
||||
ebegin 'patching heatclient/tests/test_template_utils.py'
|
||||
sed \
|
||||
-e '231,/def/ d' \
|
||||
-i heatclient/tests/test_template_utils.py
|
||||
STATUS=$?
|
||||
eend ${STATUS}
|
||||
[[ ${STATUS} -gt 0 ]] && die
|
||||
fi
|
||||
|
||||
rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPYTHON}"
|
||||
|
||||
testr init || die "testr init failed under ${EPYTHON}"
|
||||
testr run || die "testr run failed under ${EPYTHON}"
|
||||
}
|
@ -1,55 +1,81 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-heatclient/python-heatclient-9999.ebuild,v 1.6 2014/07/06 12:47:58 mgorny Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-heatclient/python-heatclient-9999.ebuild,v 1.7 2014/09/28 23:16:33 alunduil Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_COMPAT=( python2_7 python3_3)
|
||||
|
||||
inherit git-2 distutils-r1
|
||||
inherit distutils-r1 git-2
|
||||
|
||||
DESCRIPTION="This is a client library for Heat built on the Heat orchestration
|
||||
API."
|
||||
HOMEPAGE="https://github.com/openstack/python-heatclient"
|
||||
EGIT_REPO_URI="https://github.com/openstack/python-heatclient.git"
|
||||
DESCRIPTION="OpenStack Orchestration API Client Library"
|
||||
HOMEPAGE="http://www.openstack.org/"
|
||||
EGIT_REPO_URI="https://github.com/openstack/${PN}.git"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-0.6[${PYTHON_USEDEP}]
|
||||
!~dev-python/pbr-0.7[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
|
||||
test? ( >=dev-python/hacking-0.8.0[${PYTHON_USEDEP}]
|
||||
<dev-python/hacking-0.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mox3-0.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] )"
|
||||
RDEPEND=">=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/prettytable-0.7[${PYTHON_USEDEP}]
|
||||
<dev-python/prettytable-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-keystoneclient-0.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.5.2[${PYTHON_USEDEP}]"
|
||||
# NOTE: dev-python/discover is not used in tests
|
||||
# dev-python/discover[${PYTHON_USEDEP}]
|
||||
|
||||
CDEPEND="
|
||||
>=dev-python/pbr-0.6[${PYTHON_USEDEP}]
|
||||
!~dev-python/pbr-0.7[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
CRDEPEND="
|
||||
>=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/prettytable-0.7[${PYTHON_USEDEP}]
|
||||
<dev-python/prettytable-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-keystoneclient-0.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-1.2.1[${PYTHON_USEDEP}]
|
||||
!~dev-python/requests-2.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.7.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
${CDEPEND}
|
||||
test? (
|
||||
${CRDEPEND}
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/hacking-0.8.0[${PYTHON_USEDEP}]
|
||||
<dev-python/hacking-0.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/httpretty-0.8.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/httpretty-0.8.1[${PYTHON_USEDEP}]
|
||||
!~dev-python/httpretty-0.8.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/httpretty-0.8.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mox3-0.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-sphinx-2.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
${CRDEPEND}
|
||||
"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && sphinx-build -b html -c doc/source/ doc/source/ doc/source/html
|
||||
use doc && esetup.py build_sphinx
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" setup.py testr --coverage
|
||||
"${PYTHON}" setup.py testr --slowest
|
||||
rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPYTHON}"
|
||||
|
||||
testr init || die "testr init failed under ${EPYTHON}"
|
||||
testr run || die "testr run failed under ${EPYTYHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/source/html/. )
|
||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
@ -1,3 +1,2 @@
|
||||
DIST stevedore-0.14.1.tar.gz 357881 SHA256 4f298be24399150605b08c1abffd1f5fee01f9ab9362eb6ac865198c7290cbdf SHA512 187b1d89dea2df8f430f2c707c52ab06f2a35dacdbff86f9de9e905c3b66152d529e7f408e7c73144c444d12240957a8deb27aff13538f2ac662975559c4473d WHIRLPOOL 4b6aad355266a63fe4ee6f139da0e974ad1b341d9fb338dc0432804139cd00435a436364ec4d52b9a1b1f399c14337c8c5f37a09fe03fba3f43b60ba735391c6
|
||||
DIST stevedore-0.15.tar.gz 348537 SHA256 bec9269cbfa58de4f0849ec79bb7d54eeeed9df8b5fbfa1637fbc68062822847 SHA512 5a3455b852a0196eee90d71a1440f872fabd37738608337eb36f5ed232e8f3316502f1e6bfb7022a23bc565f09c2e4b2d9e9d58e8f27969ac2950a27e054dac5 WHIRLPOOL 3d9910ce327063f9e0d7bd71f345ce524529fe7c65ee46507f7c5c0e17c831fb48991ac7963f730e0cfe9d61d032963d7f11f69899e56f758f13822ac56fbc37
|
||||
DIST stevedore-1.0.0.tar.gz 351758 SHA256 4e859756bdba71d7cf4eb1313342cde93cfe36d12fb6b6c35378e9101add229f SHA512 c5969a39d20135e19d8edeeb563e6402ad6d322470a19f8020085fd38eec8f14e3a6a14bb8eff225f6e3b8d228e9aedf23dba6823a1f847069ab3f26db395add WHIRLPOOL 27cfd7c7bf6ccde9dc2f878fd31fd0b36fcfde97811ad958e38b25e8a6da845a82e27abd6f9828057b99f0e3e90558245035cf497b61d6b764d73604fb294934
|
||||
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/stevedore/stevedore-0.14.1.ebuild,v 1.3 2014/07/06 12:50:02 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Manage dynamic plugins for Python applications"
|
||||
HOMEPAGE="https://github.com/dreamhost/stevedore"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-0.5.21[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}] )
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
mkdir docs/source/_build || die
|
||||
sphinx-build -b html -c docs/source docs/source/ docs/source/_build
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests -d --with-coverage --cover-inclusive --cover-package stevedore \
|
||||
|| die "Tests failed under ${EPYTHON}"
|
||||
flake8 stevedore setup.py || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/source/_build/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-meta/qt-meta-4.8.ebuild,v 1.3 2013/06/16 23:59:57 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Cross-platform application development framework (meta package)"
|
||||
HOMEPAGE="http://qt-project.org/ http://qt.digia.com/"
|
||||
|
||||
LICENSE="|| ( LGPL-2.1 GPL-3 )"
|
||||
SLOT="4"
|
||||
KEYWORDS="amd64 ~arm ~ia64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="dbus kde opengl openvg qt3support"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
qt3support? ( >=dev-qt/qt3support-${PV}:4 )
|
||||
>=dev-qt/qtcore-${PV}:4
|
||||
dbus? ( >=dev-qt/qtdbus-${PV}:4 )
|
||||
>=dev-qt/qtdeclarative-${PV}:4
|
||||
>=dev-qt/qtgui-${PV}:4
|
||||
>=dev-qt/qthelp-${PV}:4
|
||||
>=dev-qt/qtmultimedia-${PV}:4
|
||||
opengl? ( >=dev-qt/qtopengl-${PV}:4 )
|
||||
openvg? ( >=dev-qt/qtopenvg-${PV}:4 )
|
||||
kde? ( media-libs/phonon )
|
||||
!kde? ( || ( >=dev-qt/qtphonon-${PV}:4 media-libs/phonon ) )
|
||||
>=dev-qt/qtscript-${PV}:4
|
||||
>=dev-qt/qtsql-${PV}:4
|
||||
>=dev-qt/qtsvg-${PV}:4
|
||||
>=dev-qt/qttest-${PV}:4
|
||||
>=dev-qt/qtwebkit-${PV}:4
|
||||
>=dev-qt/qtxmlpatterns-${PV}:4
|
||||
"
|
@ -1,175 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtcore/qtcore-4.8.5-r1.ebuild,v 1.11 2014/07/07 20:03:53 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit qt4-build
|
||||
|
||||
DESCRIPTION="Cross-platform application development framework"
|
||||
SLOT="4"
|
||||
if [[ ${QT4_BUILD_TYPE} == live ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
IUSE="+glib iconv icu qt3support ssl"
|
||||
|
||||
DEPEND="
|
||||
sys-libs/zlib
|
||||
glib? ( dev-libs/glib:2 )
|
||||
icu? ( >=dev-libs/icu-49:= )
|
||||
ssl? ( dev-libs/openssl )
|
||||
!<x11-libs/cairo-1.10.2-r2
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
PDEPEND="
|
||||
qt3support? ( ~dev-qt/qtgui-${PV}[aqua=,debug=,glib=,qt3support] )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.8.5-moc-boost-lexical-cast.patch"
|
||||
"${FILESDIR}/CVE-2013-4549-01-disallow-deep-or-widely-nested-entity-refs.patch"
|
||||
"${FILESDIR}/CVE-2013-4549-02-fully-expand-entities.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
QT4_TARGET_DIRECTORIES="
|
||||
src/tools/bootstrap
|
||||
src/tools/moc
|
||||
src/tools/rcc
|
||||
src/tools/uic
|
||||
src/corelib
|
||||
src/xml
|
||||
src/network
|
||||
src/plugins/codecs
|
||||
tools/linguist/lconvert
|
||||
tools/linguist/lrelease
|
||||
tools/linguist/lupdate"
|
||||
|
||||
QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
|
||||
include
|
||||
src/plugins/plugins.pro
|
||||
src/plugins/qpluginbase.pri
|
||||
src/src.pro
|
||||
src/3rdparty/des
|
||||
src/3rdparty/harfbuzz
|
||||
src/3rdparty/md4
|
||||
src/3rdparty/md5
|
||||
src/3rdparty/sha1
|
||||
src/3rdparty/easing
|
||||
src/3rdparty/zlib_dependency.pri
|
||||
src/declarative
|
||||
src/gui
|
||||
src/script
|
||||
tools/shared
|
||||
tools/linguist/shared
|
||||
translations"
|
||||
|
||||
qt4-build_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Don't pre-strip, bug 235026
|
||||
for i in kr jp cn tw; do
|
||||
echo "CONFIG+=nostrip" >> "${S}"/src/plugins/codecs/${i}/${i}.pro
|
||||
done
|
||||
|
||||
qt4-build_src_prepare
|
||||
|
||||
# bug 172219
|
||||
sed -i -e "s:CXXFLAGS.*=:CXXFLAGS=${CXXFLAGS} :" \
|
||||
"${S}/qmake/Makefile.unix" || die "sed qmake/Makefile.unix CXXFLAGS failed"
|
||||
sed -i -e "s:LFLAGS.*=:LFLAGS=${LDFLAGS} :" \
|
||||
"${S}/qmake/Makefile.unix" || die "sed qmake/Makefile.unix LDFLAGS failed"
|
||||
|
||||
# bug 427782
|
||||
sed -i -e "/^CPPFLAGS/s/-g//" \
|
||||
"${S}/qmake/Makefile.unix" || die "sed qmake/Makefile.unix CPPFLAGS failed"
|
||||
sed -i -e "s/setBootstrapVariable QMAKE_CFLAGS_RELEASE/QMakeVar set QMAKE_CFLAGS_RELEASE/" \
|
||||
-e "s/setBootstrapVariable QMAKE_CXXFLAGS_RELEASE/QMakeVar set QMAKE_CXXFLAGS_RELEASE/" \
|
||||
"${S}/configure" || die "sed configure setBootstrapVariable failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
myconf+="
|
||||
-no-accessibility -no-xmlpatterns -no-multimedia -no-audio-backend -no-phonon
|
||||
-no-phonon-backend -no-svg -no-webkit -no-script -no-scripttools -no-declarative
|
||||
-system-zlib -no-gif -no-libtiff -no-libpng -no-libmng -no-libjpeg
|
||||
-no-cups -no-dbus -no-gtkstyle -no-nas-sound -no-opengl -no-openvg
|
||||
-no-sm -no-xshape -no-xvideo -no-xsync -no-xinerama -no-xcursor -no-xfixes
|
||||
-no-xrandr -no-xrender -no-mitshm -no-fontconfig -no-freetype -no-xinput -no-xkb
|
||||
$(qt_use glib)
|
||||
$(qt_use iconv)
|
||||
$(qt_use icu)
|
||||
$(use ssl && echo -openssl-linked || echo -no-openssl)
|
||||
$(qt_use qt3support)"
|
||||
|
||||
qt4-build_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/{qmake,moc,rcc,uic,lconvert,lrelease,lupdate}
|
||||
|
||||
install_directories src/{corelib,xml,network,plugins/codecs}
|
||||
|
||||
emake INSTALL_ROOT="${D}" install_mkspecs
|
||||
|
||||
# install private headers
|
||||
insinto "${QTHEADERDIR#${EPREFIX}}"/QtCore/private
|
||||
find "${S}"/src/corelib -type f -name "*_p.h" -exec doins {} +
|
||||
|
||||
# use freshly built libraries
|
||||
local DYLD_FPATH=
|
||||
[[ -d "${S}"/lib/QtCore.framework ]] \
|
||||
&& DYLD_FPATH=$(for x in "${S}"/lib/*.framework; do echo -n ":$x"; done)
|
||||
DYLD_LIBRARY_PATH="${S}/lib${DYLD_FPATH}" \
|
||||
LD_LIBRARY_PATH="${S}/lib" \
|
||||
"${S}"/bin/lrelease translations/*.ts \
|
||||
|| die "generating translations failed"
|
||||
insinto "${QTTRANSDIR#${EPREFIX}}"
|
||||
doins translations/*.qm
|
||||
|
||||
setqtenv
|
||||
fix_library_files
|
||||
|
||||
# List all the multilib libdirs
|
||||
local libdirs=
|
||||
for libdir in $(get_all_libdirs); do
|
||||
libdirs+=":${EPREFIX}/usr/${libdir}/qt4"
|
||||
done
|
||||
|
||||
cat <<-EOF > "${T}"/44qt4
|
||||
LDPATH="${libdirs:1}"
|
||||
EOF
|
||||
doenvd "${T}"/44qt4
|
||||
|
||||
dodir "${QTDATADIR#${EPREFIX}}"/mkspecs/gentoo
|
||||
mv "${D}/${QTDATADIR}"/mkspecs/qconfig.pri "${D}${QTDATADIR}"/mkspecs/gentoo \
|
||||
|| die "failed to move qconfig.pri"
|
||||
|
||||
# Framework hacking
|
||||
if use aqua && [[ ${CHOST#*-darwin} -ge 9 ]]; then
|
||||
# TODO: do this better
|
||||
sed -i -e '2a#include <QtCore/Gentoo/gentoo-qconfig.h>\n' \
|
||||
"${D}${QTLIBDIR}"/QtCore.framework/Headers/qconfig.h \
|
||||
|| die "sed for qconfig.h failed."
|
||||
dosym "${QTHEADERDIR#${EPREFIX}}"/Gentoo "${QTLIBDIR#${EPREFIX}}"/QtCore.framework/Headers/Gentoo
|
||||
else
|
||||
sed -i -e '2a#include <Gentoo/gentoo-qconfig.h>\n' \
|
||||
"${D}${QTHEADERDIR}"/QtCore/qconfig.h \
|
||||
"${D}${QTHEADERDIR}"/Qt/qconfig.h \
|
||||
|| die "sed for qconfig.h failed"
|
||||
fi
|
||||
|
||||
QCONFIG_DEFINE="QT_ZLIB"
|
||||
install_qconfigs
|
||||
|
||||
# remove .la files
|
||||
prune_libtool_files
|
||||
|
||||
keepdir "${QTSYSCONFDIR#${EPREFIX}}"
|
||||
|
||||
# Framework magic
|
||||
fix_includes
|
||||
}
|
@ -1,207 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtgui/qtgui-4.8.5-r2.ebuild,v 1.10 2014/06/08 10:51:33 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils qt4-build
|
||||
|
||||
DESCRIPTION="The GUI module for the Qt toolkit"
|
||||
SLOT="4"
|
||||
if [[ ${QT4_BUILD_TYPE} == live ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
IUSE="+accessibility cups egl +glib gtkstyle mng nas nis qt3support tiff trace xinerama +xv"
|
||||
|
||||
REQUIRED_USE="
|
||||
gtkstyle? ( glib )
|
||||
"
|
||||
|
||||
# cairo[-qt4] is needed because of bug 454066
|
||||
RDEPEND="
|
||||
app-admin/eselect-qtgraphicssystem
|
||||
~dev-qt/qtcore-${PV}[aqua=,debug=,glib=,qt3support=]
|
||||
~dev-qt/qtscript-${PV}[aqua=,debug=]
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
virtual/jpeg:0
|
||||
!aqua? (
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
xv? ( x11-libs/libXv )
|
||||
)
|
||||
cups? ( net-print/cups )
|
||||
egl? ( media-libs/mesa[egl] )
|
||||
glib? ( dev-libs/glib:2 )
|
||||
gtkstyle? (
|
||||
x11-libs/cairo[-qt4]
|
||||
x11-libs/gtk+:2[aqua=]
|
||||
)
|
||||
mng? ( >=media-libs/libmng-1.0.9:= )
|
||||
nas? ( >=media-libs/nas-1.5 )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
!<dev-qt/qthelp-4.8.5:4
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
!aqua? (
|
||||
x11-proto/inputproto
|
||||
x11-proto/xextproto
|
||||
xinerama? ( x11-proto/xineramaproto )
|
||||
xv? ( x11-proto/videoproto )
|
||||
)
|
||||
"
|
||||
PDEPEND="qt3support? ( ~dev-qt/qt3support-${PV}[aqua=,debug=] )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.7.3-cups.patch" # bug 323257
|
||||
"${FILESDIR}/${P}-dont-crash-on-broken-GIF-images.patch" # bug 508984
|
||||
"${FILESDIR}/${P}-keyboard-shortcuts.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
QT4_TARGET_DIRECTORIES="
|
||||
src/gui
|
||||
src/scripttools
|
||||
src/plugins/imageformats/gif
|
||||
src/plugins/imageformats/ico
|
||||
src/plugins/imageformats/jpeg
|
||||
src/plugins/imageformats/tga
|
||||
src/plugins/inputmethods"
|
||||
|
||||
QT4_EXTRACT_DIRECTORIES="
|
||||
include
|
||||
src"
|
||||
|
||||
use accessibility && QT4_TARGET_DIRECTORIES+=" src/plugins/accessible/widgets"
|
||||
use mng && QT4_TARGET_DIRECTORIES+=" src/plugins/imageformats/mng"
|
||||
use tiff && QT4_TARGET_DIRECTORIES+=" src/plugins/imageformats/tiff"
|
||||
use trace && QT4_TARGET_DIRECTORIES+=" src/plugins/graphicssystems/trace tools/qttracereplay"
|
||||
|
||||
# mac version does not contain qtconfig?
|
||||
[[ ${CHOST} != *-darwin* ]] && QT4_TARGET_DIRECTORIES+=" tools/qtconfig"
|
||||
|
||||
QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} ${QT4_EXTRACT_DIRECTORIES}"
|
||||
|
||||
qt4-build_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
qt4-build_src_prepare
|
||||
|
||||
# Add -xvideo to the list of accepted configure options
|
||||
sed -i -e 's:|-xinerama|:&-xvideo|:' configure || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
myconf="$(qt_use accessibility)
|
||||
$(qt_use cups)
|
||||
$(qt_use glib)
|
||||
$(qt_use mng libmng system)
|
||||
$(qt_use nas nas-sound system)
|
||||
$(qt_use nis)
|
||||
$(qt_use tiff libtiff system)
|
||||
$(qt_use egl)
|
||||
$(qt_use qt3support)
|
||||
$(qt_use gtkstyle)
|
||||
$(qt_use xinerama)
|
||||
$(qt_use xv xvideo)"
|
||||
|
||||
myconf+="
|
||||
-system-libpng -system-libjpeg -system-zlib
|
||||
-no-sql-mysql -no-sql-psql -no-sql-ibase -no-sql-sqlite -no-sql-sqlite2 -no-sql-odbc
|
||||
-sm -xshape -xsync -xcursor -xfixes -xrandr -xrender -mitshm -xinput -xkb
|
||||
-fontconfig -no-svg -no-webkit -no-phonon -no-opengl"
|
||||
|
||||
# bug 367045
|
||||
[[ ${CHOST} == *86*-apple-darwin* ]] && myconf+=" -no-ssse3"
|
||||
|
||||
qt4-build_src_configure
|
||||
|
||||
if use gtkstyle; then
|
||||
sed -i -e 's:-I/usr/include/qt4 ::' src/gui/Makefile || die "sed failed"
|
||||
fi
|
||||
|
||||
sed -i -e 's:-I/usr/include/qt4/QtGui ::' src/gui/Makefile || die "sed failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
QCONFIG_ADD="
|
||||
mitshm tablet x11sm xcursor xfixes xinput xkb xrandr xrender xshape xsync
|
||||
fontconfig system-freetype gif png system-png jpeg system-jpeg
|
||||
$(usev accessibility)
|
||||
$(usev cups)
|
||||
$(use mng && echo system-mng)
|
||||
$(usev nas)
|
||||
$(usev nis)
|
||||
$(use tiff && echo system-tiff)
|
||||
$(usev xinerama)
|
||||
$(use xv && echo xvideo)"
|
||||
QCONFIG_REMOVE="no-freetype no-gif no-jpeg no-png no-gui"
|
||||
QCONFIG_DEFINE="$(use accessibility && echo QT_ACCESSIBILITY)
|
||||
$(use cups && echo QT_CUPS)
|
||||
$(use egl && echo QT_EGL)
|
||||
QT_FONTCONFIG QT_FREETYPE
|
||||
$(use gtkstyle && echo QT_STYLE_GTK)
|
||||
QT_IMAGEFORMAT_JPEG QT_IMAGEFORMAT_PNG
|
||||
$(use mng && echo QT_IMAGEFORMAT_MNG)
|
||||
$(use nas && echo QT_NAS)
|
||||
$(use nis && echo QT_NIS)
|
||||
$(use tiff && echo QT_IMAGEFORMAT_TIFF)
|
||||
QT_SESSIONMANAGER QT_SHAPE QT_TABLET QT_XCURSOR QT_XFIXES
|
||||
$(use xinerama && echo QT_XINERAMA)
|
||||
QT_XINPUT QT_XKB QT_XRANDR QT_XRENDER QT_XSYNC
|
||||
$(use xv && echo QT_XVIDEO)"
|
||||
|
||||
qt4-build_src_install
|
||||
|
||||
# install private headers
|
||||
if use aqua && [[ ${CHOST##*-darwin} -ge 9 ]]; then
|
||||
insinto "${QTLIBDIR#${EPREFIX}}"/QtGui.framework/Headers/private/
|
||||
else
|
||||
insinto "${QTHEADERDIR#${EPREFIX}}"/QtGui/private
|
||||
fi
|
||||
find "${S}"/src/gui -type f -name '*_p.h' -exec doins {} +
|
||||
|
||||
if use aqua && [[ ${CHOST##*-darwin} -ge 9 ]]; then
|
||||
# rerun to get links to headers right
|
||||
fix_includes
|
||||
fi
|
||||
|
||||
# touch the available graphics systems
|
||||
dodir /usr/share/qt4/graphicssystems
|
||||
echo "default" > "${ED}"/usr/share/qt4/graphicssystems/raster || die
|
||||
echo "" > "${ED}"/usr/share/qt4/graphicssystems/native || die
|
||||
|
||||
newicon tools/qtconfig/images/appicon.png qtconfig.png
|
||||
make_desktop_entry qtconfig 'Qt Configuration Tool' qtconfig 'Qt;Settings;DesktopSettings'
|
||||
|
||||
# bug 388551
|
||||
if use gtkstyle; then
|
||||
local tempfile=${T}/${PN}${SLOT}.sh
|
||||
cat <<-EOF > "${tempfile}"
|
||||
export GTK2_RC_FILES=\${HOME}/.gtkrc-2.0
|
||||
EOF
|
||||
insinto /etc/profile.d
|
||||
doins "${tempfile}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
qt4-build_pkg_postinst
|
||||
|
||||
# raster is the default graphicssystem, set it on first install
|
||||
eselect qtgraphicssystem set raster --use-old
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
--- Tools/qmake/mkspecs/features/features.prf 2014-09-27 11:09:50.010617142 +0100
|
||||
+++ Tools/qmake/mkspecs/features/features.prf 2014-09-27 11:17:10.741678989 +0100
|
||||
@@ -96,14 +96,8 @@
|
||||
use?(3d_graphics): WEBKIT_CONFIG += webgl
|
||||
|
||||
# HTML5 Media Support for builds with GStreamer
|
||||
- unix:!mac:!contains(QT_CONFIG, no-pkg-config) {
|
||||
- packagesExist("glib-2.0 gio-2.0 gstreamer-1.0 gstreamer-plugins-base-1.0") {
|
||||
- WEBKIT_CONFIG += video use_gstreamer
|
||||
- } else: packagesExist("glib-2.0 gio-2.0 \'gstreamer-0.10 >= 0.10.30\' \'gstreamer-plugins-base-0.10 >= 0.10.30\'") {
|
||||
- WEBKIT_CONFIG += video use_gstreamer use_gstreamer010
|
||||
- }
|
||||
+ WEBKIT_CONFIG += video use_gstreamer use_gstreamer010
|
||||
use?(gstreamer): WEBKIT_CONFIG += use_native_fullscreen_video
|
||||
- }
|
||||
|
||||
!enable?(video):qtHaveModule(multimediawidgets) {
|
||||
WEBKIT_CONFIG += video use_qt_multimedia
|
@ -1,220 +0,0 @@
|
||||
# Copyright 1999-2014 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-r2.ebuild,v 1.10 2014/07/21 19:04:56 dilfridge 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-Pod-Parser-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,221 +0,0 @@
|
||||
# Copyright 1999-2014 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-r4.ebuild,v 1.2 2014/07/21 19:04:56 dilfridge 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-Pod-Parser-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_newunit "${FILESDIR}"/${PN}.service-r1 ${PN}.service
|
||||
systemd_install_serviced "${FILESDIR}"/${PN}.service.conf
|
||||
|
||||
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"
|
||||
}
|
@ -0,0 +1,107 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphtft/vdr-graphtft-0.3.7-r1.ebuild,v 1.1 2014/09/28 17:21:03 hd_brummy Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit vdr-plugin-2 flag-o-matic
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DESCRIPTION="VDR plugin: GraphTFT"
|
||||
HOMEPAGE="http://www.vdr-wiki.de/wiki/index.php/Graphtft-plugin"
|
||||
SRC_URI="http://www.jwendel.de/vdr/${P}.tar.bz2"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
|
||||
IUSE_THEMES="+theme_deepblue theme_avp theme_deeppurple theme_poetter"
|
||||
IUSE="${IUSE_THEMES} directfb graphtft-fe imagemagick touchscreen"
|
||||
|
||||
DEPEND=">=media-video/vdr-1.7.27[graphtft]
|
||||
media-libs/imlib2[png,jpeg]
|
||||
gnome-base/libgtop
|
||||
>=virtual/ffmpeg-0.4.8_p20090201
|
||||
imagemagick? ( media-gfx/imagemagick[png,jpeg,cxx] )
|
||||
directfb? ( dev-libs/DirectFB )
|
||||
graphtft-fe? ( media-libs/imlib2[png,jpeg,X] )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PDEPEND="theme_deepblue? ( =x11-themes/vdrgraphtft-deepblue-0.3.1 )
|
||||
theme_avp? ( =x11-themes/vdrgraphtft-avp-0.3.1 )
|
||||
theme_deeppurple? ( =x11-themes/vdrgraphtft-deeppurple-0.3.2 )
|
||||
theme_poetter? ( =x11-themes/vdrgraphtft-poetter-0.3.2 )"
|
||||
|
||||
PATCHES=("${FILESDIR}/${P}_gentoo.diff"
|
||||
"${FILESDIR}/${P}_makefile.diff"
|
||||
"${FILESDIR}/${P}_gcc-4.4.x.diff")
|
||||
|
||||
src_prepare() {
|
||||
|
||||
# remove untranslated Language
|
||||
rm "${S}"/po/{ca_ES,cs_CZ,da_DK,el_GR,es_ES,et_EE,fr_FR,hr_HR,hu_HU,nl_NL,nn_NO,pl_PL,pt_PT,ro_RO,ru_RU,sl_SI,sv_SE,tr_TR}.po
|
||||
|
||||
sed -i Makefile -e "s: WITH_X_COMM = 1:#WITH_X_COMM = 1:"
|
||||
|
||||
! use touchscreen && sed -i Makefile \
|
||||
-e "s:WITH_TOUCH = 1:#WITH_TOUCH = 1:"
|
||||
|
||||
use graphtft-fe && sed -i Makefile \
|
||||
-e "s:#WITH_X_COMM:WITH_X_COMM:"
|
||||
|
||||
# libav9 support
|
||||
sed -i \
|
||||
-e 's:avcodec.h>:avcodec.h>\n#include <libavutil/mem.h>:' \
|
||||
imlibrenderer/dvbrenderer/mpeg2encoder.c || die
|
||||
|
||||
# libav10 support, wrt bug 519448
|
||||
sed -i \
|
||||
-e "s:CODEC_ID_MPEG1VIDEO:AV_CODEC_ID_MPEG1VIDEO:" \
|
||||
imlibrenderer/dvbrenderer/mpeg2encoder.c || die
|
||||
|
||||
vdr-plugin-2_src_prepare
|
||||
|
||||
remove_i18n_include graphtft.h setup.h
|
||||
|
||||
# UINT64_C is needed by ffmpeg headers
|
||||
append-cxxflags -D__STDC_CONSTANT_MACROS
|
||||
|
||||
if has_version ">=media-video/vdr-1.7.33"; then
|
||||
sed -i dspitems.c \
|
||||
-e "s:int timerMatch = 0:eTimerMatch timerMatch = tmNone:"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
vdr-plugin-2_src_compile
|
||||
|
||||
if use graphtft-fe; then
|
||||
cd "${S}"/graphtft-fe
|
||||
emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
vdr-plugin-2_src_install
|
||||
|
||||
dodoc "${S}"/documents/{README,HISTORY,HOWTO.Themes,INSTALL}
|
||||
|
||||
if use graphtft-fe; then
|
||||
cd "${S}"/graphtft-fe && dobin graphtft-fe
|
||||
doinit graphtft-fe
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
vdr-plugin-2_pkg_postinst
|
||||
|
||||
if use graphtft-fe; then
|
||||
echo
|
||||
elog "Graphtft-fe user:"
|
||||
elog "Edit /etc/conf.d/vdr.graphtft"
|
||||
elog "/etc/init.d/graphtft-fe start"
|
||||
echo
|
||||
fi
|
||||
}
|
@ -1 +1 @@
|
||||
Sun, 28 Sep 2014 16:07:03 +0000
|
||||
Mon, 29 Sep 2014 05:37:00 +0000
|
||||
|
@ -1 +1 @@
|
||||
Sun, 28 Sep 2014 16:07:03 +0000
|
||||
Mon, 29 Sep 2014 05:37:01 +0000
|
||||
|
@ -1,12 +1,12 @@
|
||||
DEFINED_PHASES=compile install prepare
|
||||
DEPEND=app-arch/xz-utils:0= dev-db/sqlite:3= >=dev-libs/openssl-1.0.1g:0= dev-libs/expat:0= dev-libs/libbsd:0= dev-libs/libedit:0= dev-libs/libevent:0= >=dev-libs/lzo-2.0:2= >=net-misc/curl-7.15.1:0= sys-libs/zlib:0=
|
||||
DEPEND=app-arch/xz-utils:0= dev-db/sqlite:3= >=dev-libs/openssl-1.0.1g:0=[-bindist] dev-libs/expat:0= dev-libs/libbsd:0= dev-libs/libedit:0= dev-libs/libevent:0= >=dev-libs/lzo-2.0:2= >=net-misc/curl-7.15.1:0=[ssl] sys-libs/zlib:0=
|
||||
DESCRIPTION=High Security, Zero-Knowledge Online Backup
|
||||
EAPI=5
|
||||
HOMEPAGE=https://www.cyphertite.com/
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=ISC
|
||||
RDEPEND=app-arch/xz-utils:0= dev-db/sqlite:3= >=dev-libs/openssl-1.0.1g:0= dev-libs/expat:0= dev-libs/libbsd:0= dev-libs/libedit:0= dev-libs/libevent:0= >=dev-libs/lzo-2.0:2= >=net-misc/curl-7.15.1:0= sys-libs/zlib:0=
|
||||
RDEPEND=app-arch/xz-utils:0= dev-db/sqlite:3= >=dev-libs/openssl-1.0.1g:0=[-bindist] dev-libs/expat:0= dev-libs/libbsd:0= dev-libs/libedit:0= dev-libs/libevent:0= >=dev-libs/lzo-2.0:2= >=net-misc/curl-7.15.1:0=[ssl] sys-libs/zlib:0=
|
||||
SLOT=0
|
||||
SRC_URI=https://www.cyphertite.com/snapshots/source/2.0.2/cyphertite-full-2.0.2.tar.gz
|
||||
_eclasses_=eutils 32548a82e42dc26e3312581476d2f20c multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402
|
||||
_md5_=93bd0e5e2d08812bc86da42e6b020e6f
|
||||
_md5_=a7958b4ade98987a082872059577418d
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=install postinst prepare unpack
|
||||
DEPEND=dev-util/patchelf
|
||||
DESCRIPTION=An easy, secure and consolidated free online backup, storage, access and sharing system
|
||||
EAPI=5
|
||||
HOMEPAGE=https://spideroak.com
|
||||
IUSE=dbus headless
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=spideroak
|
||||
RDEPEND=app-crypt/mit-krb5[keyutils] dbus? ( sys-apps/dbus ) !headless? ( media-libs/fontconfig media-libs/freetype:2 dev-libs/glib:2 x11-libs/libICE x11-libs/libSM x11-libs/libX11 x11-libs/libXext x11-libs/libXmu x11-libs/libXrender x11-libs/libXt )
|
||||
RESTRICT=mirror strip
|
||||
SLOT=0
|
||||
SRC_URI=x86? ( https://spideroak.com/getbuild?platform=ubuntu&arch=i386&version=5.1.1 -> spideroak-bin-5.1.1_x86.deb ) amd64? ( https://spideroak.com/getbuild?platform=ubuntu&arch=x86_64&version=5.1.1 -> spideroak-bin-5.1.1_amd64.deb )
|
||||
_eclasses_=eutils 32548a82e42dc26e3312581476d2f20c multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402 unpacker f300a7ca9131b1024a79762e8edd3c52
|
||||
_md5_=1838c56e032d42a871ef12ce7fffe51e
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=install postinst prepare unpack
|
||||
DEPEND=dev-util/patchelf
|
||||
DESCRIPTION=An easy, secure and consolidated free online backup, storage, access and sharing system
|
||||
EAPI=5
|
||||
HOMEPAGE=https://spideroak.com
|
||||
IUSE=dbus headless
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=spideroak
|
||||
RDEPEND=app-crypt/mit-krb5[keyutils] dbus? ( sys-apps/dbus ) !headless? ( media-libs/fontconfig media-libs/freetype:2 dev-libs/glib:2 x11-libs/libICE x11-libs/libSM x11-libs/libX11 x11-libs/libXext x11-libs/libXmu x11-libs/libXrender x11-libs/libXt )
|
||||
RESTRICT=mirror strip
|
||||
SLOT=0
|
||||
SRC_URI=x86? ( https://spideroak.com/getbuild?platform=ubuntu&arch=i386&version=5.1.3 -> spideroak-bin-5.1.3_x86.deb ) amd64? ( https://spideroak.com/getbuild?platform=ubuntu&arch=x86_64&version=5.1.3 -> spideroak-bin-5.1.3_amd64.deb )
|
||||
_eclasses_=eutils 32548a82e42dc26e3312581476d2f20c multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402 unpacker f300a7ca9131b1024a79762e8edd3c52
|
||||
_md5_=fe3bf0d58b41381faabb54c70f552f9d
|
@ -1,14 +1,14 @@
|
||||
DEFINED_PHASES=install postinst prepare unpack
|
||||
DEFINED_PHASES=install prepare unpack
|
||||
DEPEND=dev-util/patchelf
|
||||
DESCRIPTION=An easy, secure and consolidated free online backup, storage, access and sharing system
|
||||
EAPI=5
|
||||
HOMEPAGE=https://spideroak.com
|
||||
IUSE=dbus headless
|
||||
IUSE=dbus
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=spideroak
|
||||
RDEPEND=app-crypt/mit-krb5[keyutils] dbus? ( sys-apps/dbus ) !headless? ( media-libs/fontconfig media-libs/freetype:2 dev-libs/glib:2 x11-libs/libICE x11-libs/libSM x11-libs/libX11 x11-libs/libXext x11-libs/libXmu x11-libs/libXrender x11-libs/libXt )
|
||||
RDEPEND=app-crypt/mit-krb5[keyutils] dbus? ( sys-apps/dbus ) media-libs/fontconfig media-libs/freetype:2 dev-libs/glib:2 x11-libs/libICE x11-libs/libSM x11-libs/libX11 x11-libs/libXext x11-libs/libXmu x11-libs/libXrender x11-libs/libXt
|
||||
RESTRICT=mirror strip
|
||||
SLOT=0
|
||||
SRC_URI=x86? ( https://spideroak.com/getbuild?platform=ubuntu&arch=i386&version=5.1.8 -> spideroak-bin-5.1.8_x86.deb ) amd64? ( https://spideroak.com/getbuild?platform=ubuntu&arch=x86_64&version=5.1.8 -> spideroak-bin-5.1.8_amd64.deb )
|
||||
_eclasses_=eutils 32548a82e42dc26e3312581476d2f20c multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402 unpacker f300a7ca9131b1024a79762e8edd3c52
|
||||
_md5_=eabae9c8b1e7c15008481347399bfa10
|
||||
_md5_=c7ff3ae7f984790213f39170c245f869
|
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=!<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.14:1.14 ) >=sys-devel/autoconf-2.69 sys-devel/libtool
|
||||
DESCRIPTION=Computes context triggered piecewise hashes (fuzzy hashes)
|
||||
EAPI=5
|
||||
HOMEPAGE=http://ssdeep.sourceforge.net/
|
||||
IUSE=static-libs abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/ssdeep/ssdeep-2.11.1.tar.gz
|
||||
_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 autotools-multilib 037c4046d25f29e78dd44dccabd5d66b autotools-utils 3727db64c7b960903d5033280f108080 eutils 32548a82e42dc26e3312581476d2f20c libtool 52d0e17251d04645ffaa61bfdd858944 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multilib-build 9eb4b5fb858228316d8bb32ada51f6a5 multilib-minimal 5bbdc77877c1aa3c6bd89ca3f9196d11 multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402
|
||||
_md5_=a264d30605fdfc10a4cd99ec4b2fc529
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue