parent
3752da19c7
commit
5489764e60
@ -1,3 +1,2 @@
|
|||||||
DIST ne-2.0.3.tar.gz 1102424 SHA256 7ba91b956f9308128236b9e3ded4307e061ad0558f9270eae9845c82951ab34e SHA512 791bafe69e099e4b8767616d3dc6a751c1c7b5c992c512e0abd728bce51f55003048cdc03936a2627a0b845df1e6fe1a932a3a4459f8f8eb6cc699bc0d5bc045 WHIRLPOOL e192c35cb1293c3504e3c6e6eec410fa0a490c26a8ce11c5e11538d5b034935bab3008dd5a357c6c56834cac59130e2df5f7648616bf33b6f96efc77539dc110
|
|
||||||
DIST ne-2.1.tar.gz 1016020 SHA256 e47d00322edd09e3ffc44daf16b322fe56c6430d1bf53f06f7b28f9a5440fed1 SHA512 ea295cca5ad14a9bfde3e98dd98d4cb496e0a7c6ec1fa47eb1c1f800cc4e814c145071f33ea16b3b92e50421b5c275c72a1ae8ab2b18e10a138928134b32cee8 WHIRLPOOL 35a7a883c77c2c57eab9e0f197c94a4adc3b627f5e08a21f5d5013fa3605a865e51aa3cbd3448739716c6a6e6c2a11d103b2b1828f1db3963d52188df6c736ca
|
|
||||||
DIST ne-2.3.tar.gz 1043855 SHA256 d7cf7e85a67a43e48d07fd6de713942a730209e1c5730d2e5b4bce7479aaa31e SHA512 2a02aa2d800ae01df8a707d59f3f5638422e699d09e1e384274be4a4a90b7019c40b5005e3892684f0ca7e3521ca1449af94bb89f0933c17c64aefc8e2c36240 WHIRLPOOL df428f9307186fc497897efc81d889b7d8f52f144ca514adbe97528ce90982ac07562cf0bff839333c6eae9cebff48e195900520bf62321d25e0939faeb517a1
|
DIST ne-2.3.tar.gz 1043855 SHA256 d7cf7e85a67a43e48d07fd6de713942a730209e1c5730d2e5b4bce7479aaa31e SHA512 2a02aa2d800ae01df8a707d59f3f5638422e699d09e1e384274be4a4a90b7019c40b5005e3892684f0ca7e3521ca1449af94bb89f0933c17c64aefc8e2c36240 WHIRLPOOL df428f9307186fc497897efc81d889b7d8f52f144ca514adbe97528ce90982ac07562cf0bff839333c6eae9cebff48e195900520bf62321d25e0939faeb517a1
|
||||||
|
DIST ne-2.5.tar.gz 1106020 SHA256 e11581d84ff855c3fab5c2bddc3a4633a3b28bb2ce89508e4568d3c3fc929f58 SHA512 e93b5da33565c8ef0b3263083bacec46f1867f78950e0bed940b2f18d14eb42bfa6323130eabe0f793f427a5bea5e04df6ef8e4a0276a883822b0842cbd8b5ed WHIRLPOOL 8bf3f9bd0d735bfef656713e9485a74f901c212396a691ee7faf01f4afa2918f03ec053d289e7311a7bae8b3a7d44c928cb109fefa6b1df581ae8da9c6a3d453
|
||||||
|
@ -1,46 +0,0 @@
|
|||||||
# Copyright 1999-2010 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/ne/ne-2.0.3.ebuild,v 1.7 2010/07/03 22:57:20 ssuominen Exp $
|
|
||||||
|
|
||||||
EAPI="2"
|
|
||||||
|
|
||||||
inherit toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="the nice editor, easy to use for the beginner and powerful for the wizard"
|
|
||||||
HOMEPAGE="http://ne.dsi.unimi.it/"
|
|
||||||
SRC_URI="http://ne.dsi.unimi.it/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ppc ppc64 x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND=">=sys-libs/ncurses-5.2"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
dev-lang/perl"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
sed -i -e s/-O3// "${S}"/src/makefile
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake \
|
|
||||||
-j1 \
|
|
||||||
-C src \
|
|
||||||
ne \
|
|
||||||
OPTS="${CFLAGS}" \
|
|
||||||
CC="$(tc-getCC)" \
|
|
||||||
NE_GLOBAL_DIR="/usr/share/ne" \
|
|
||||||
|| die "emake failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin src/ne || die "dobin failed"
|
|
||||||
|
|
||||||
insinto /usr/share/ne/syntax
|
|
||||||
doins syntax/*.jsf || die "doins failed"
|
|
||||||
|
|
||||||
doman doc/ne.1 || die "doman failed"
|
|
||||||
dohtml -r doc/ne/. || die "dohtml failed"
|
|
||||||
dodoc CHANGES README doc/*.{txt,pdf,texinfo} doc/default.* || die "dodoc failed"
|
|
||||||
}
|
|
@ -0,0 +1,493 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/vmware-workstation-10.0.1.1379776-r1.ebuild,v 1.1 2014/01/07 03:44:14 zx2c4 Exp $
|
||||||
|
|
||||||
|
EAPI="4"
|
||||||
|
|
||||||
|
inherit eutils versionator fdo-mime systemd gnome2-utils pam vmware-bundle
|
||||||
|
|
||||||
|
MY_PN="VMware-Workstation"
|
||||||
|
MY_PV=$(get_version_component_range 1-3)
|
||||||
|
PV_MINOR=$(get_version_component_range 3)
|
||||||
|
PV_BUILD=$(get_version_component_range 4)
|
||||||
|
MY_P="${MY_PN}-${MY_PV}-${PV_BUILD}"
|
||||||
|
|
||||||
|
SYSTEMD_UNITS_TAG="gentoo-01"
|
||||||
|
|
||||||
|
DESCRIPTION="Emulate a complete PC on your PC without the usual performance overhead of most emulators"
|
||||||
|
HOMEPAGE="http://www.vmware.com/products/workstation/"
|
||||||
|
BASE_URI="https://softwareupdate.vmware.com/cds/vmw-desktop/ws/${MY_PV}/${PV_BUILD}/linux/core/"
|
||||||
|
SRC_URI="
|
||||||
|
x86? ( ${BASE_URI}${MY_P}.i386.bundle.tar )
|
||||||
|
amd64? ( ${BASE_URI}${MY_P}.x86_64.bundle.tar )
|
||||||
|
https://github.com/akhuettel/systemd-vmware/archive/${SYSTEMD_UNITS_TAG}.tar.gz
|
||||||
|
"
|
||||||
|
LICENSE="vmware GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="-* ~amd64 ~x86"
|
||||||
|
IUSE="cups doc ovftool server vix vmware-tools"
|
||||||
|
RESTRICT="mirror strip"
|
||||||
|
|
||||||
|
# vmware-workstation should not use virtual/libc as this is a
|
||||||
|
# precompiled binary package thats linked to glibc.
|
||||||
|
RDEPEND="dev-cpp/cairomm
|
||||||
|
dev-cpp/glibmm:2
|
||||||
|
dev-cpp/gtkmm:2.4
|
||||||
|
dev-cpp/libgnomecanvasmm
|
||||||
|
dev-cpp/pangomm
|
||||||
|
dev-libs/atk
|
||||||
|
dev-libs/glib:2
|
||||||
|
dev-libs/icu
|
||||||
|
dev-libs/expat
|
||||||
|
dev-libs/libaio
|
||||||
|
dev-libs/libgcrypt
|
||||||
|
dev-libs/libsigc++
|
||||||
|
dev-libs/libxml2
|
||||||
|
=dev-libs/openssl-0.9.8*
|
||||||
|
dev-libs/xmlrpc-c
|
||||||
|
gnome-base/libgnomecanvas
|
||||||
|
gnome-base/libgtop:2
|
||||||
|
gnome-base/librsvg:2
|
||||||
|
gnome-base/orbit
|
||||||
|
media-libs/fontconfig
|
||||||
|
media-libs/freetype
|
||||||
|
media-libs/libart_lgpl
|
||||||
|
=media-libs/libpng-1.2*
|
||||||
|
media-libs/libpng
|
||||||
|
net-misc/curl
|
||||||
|
cups? ( net-print/cups )
|
||||||
|
sys-devel/gcc
|
||||||
|
sys-fs/fuse
|
||||||
|
sys-libs/glibc
|
||||||
|
sys-libs/zlib
|
||||||
|
x11-libs/cairo
|
||||||
|
x11-libs/gtk+:2
|
||||||
|
x11-libs/libgksu
|
||||||
|
x11-libs/libICE
|
||||||
|
x11-libs/libSM
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libXau
|
||||||
|
x11-libs/libxcb
|
||||||
|
x11-libs/libXcomposite
|
||||||
|
x11-libs/libXcursor
|
||||||
|
x11-libs/libXdamage
|
||||||
|
x11-libs/libXdmcp
|
||||||
|
x11-libs/libXext
|
||||||
|
x11-libs/libXfixes
|
||||||
|
x11-libs/libXft
|
||||||
|
x11-libs/libXi
|
||||||
|
x11-libs/libXinerama
|
||||||
|
x11-libs/libXrandr
|
||||||
|
x11-libs/libXrender
|
||||||
|
x11-libs/libXtst
|
||||||
|
x11-libs/pango
|
||||||
|
x11-libs/pangox-compat
|
||||||
|
x11-libs/startup-notification
|
||||||
|
x11-themes/hicolor-icon-theme
|
||||||
|
!app-emulation/vmware-player"
|
||||||
|
PDEPEND="~app-emulation/vmware-modules-279.${PV_MINOR}
|
||||||
|
vmware-tools? ( app-emulation/vmware-tools )"
|
||||||
|
|
||||||
|
S=${WORKDIR}
|
||||||
|
VM_INSTALL_DIR="/opt/vmware"
|
||||||
|
VM_DATA_STORE_DIR="/var/lib/vmware/Shared VMs"
|
||||||
|
VM_HOSTD_USER="root"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
default
|
||||||
|
local bundle
|
||||||
|
use amd64 && bundle=${MY_P}.x86_64.bundle
|
||||||
|
use x86 && bundle=${MY_P}.i386.bundle
|
||||||
|
local component; for component in \
|
||||||
|
vmware-vmx \
|
||||||
|
vmware-player-app \
|
||||||
|
vmware-player-setup \
|
||||||
|
vmware-workstation \
|
||||||
|
vmware-network-editor \
|
||||||
|
vmware-network-editor-ui \
|
||||||
|
vmware-usbarbitrator \
|
||||||
|
vmware-vprobe
|
||||||
|
do
|
||||||
|
vmware-bundle_extract-bundle-component "${bundle}" "${component}" "${S}"
|
||||||
|
done
|
||||||
|
|
||||||
|
if use server; then
|
||||||
|
vmware-bundle_extract-bundle-component "${bundle}" vmware-workstation-server #"${S}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use vix; then
|
||||||
|
vmware-bundle_extract-bundle-component "${bundle}" vmware-vix-core vmware-vix
|
||||||
|
vmware-bundle_extract-bundle-component "${bundle}" vmware-vix-lib-Workstation1000andvSphere550 vmware-vix
|
||||||
|
fi
|
||||||
|
if use ovftool; then
|
||||||
|
vmware-bundle_extract-bundle-component "${bundle}" vmware-ovftool
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
rm -f bin/vmware-modconfig
|
||||||
|
rm -rf lib/modules/binary
|
||||||
|
# Bug 459566
|
||||||
|
mv lib/libvmware-netcfg.so lib/lib/
|
||||||
|
|
||||||
|
if use server; then
|
||||||
|
rm -f vmware-workstation-server/bin/{openssl,configure-hostd.sh}
|
||||||
|
fi
|
||||||
|
|
||||||
|
find "${S}" -name '*.a' -delete
|
||||||
|
|
||||||
|
# clean_bundled_libs
|
||||||
|
}
|
||||||
|
|
||||||
|
clean_bundled_libs() {
|
||||||
|
ebegin 'Removing superfluous libraries'
|
||||||
|
cd lib/lib || die
|
||||||
|
ldconfig -p | \
|
||||||
|
sed 's:^\s\+\([^(]*[^( ]\).*=> /.*$:\1:g;t;d' | \
|
||||||
|
fgrep -vx 'libcrypto.so.0.9.8
|
||||||
|
libssl.so.0.9.8i
|
||||||
|
libgcr.so.0
|
||||||
|
libglib-2.0.so.0' |
|
||||||
|
xargs -d'\n' -r rm -rf
|
||||||
|
eend
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local major_minor=$(get_version_component_range 1-2 "${PV}")
|
||||||
|
local major_minor_revision=$(get_version_component_range 1-3 "${PV}")
|
||||||
|
local build=$(get_version_component_range 4 "${PV}")
|
||||||
|
|
||||||
|
# install the binaries
|
||||||
|
into "${VM_INSTALL_DIR}"
|
||||||
|
dobin bin/*
|
||||||
|
|
||||||
|
# install the libraries
|
||||||
|
insinto "${VM_INSTALL_DIR}"/lib/vmware
|
||||||
|
doins -r lib/*
|
||||||
|
|
||||||
|
# Bug 432918
|
||||||
|
dosym "${VM_INSTALL_DIR}"/lib/vmware/lib/libcrypto.so.0.9.8/libcrypto.so.0.9.8 \
|
||||||
|
"${VM_INSTALL_DIR}"/lib/vmware/lib/libvmwarebase.so.0/libcrypto.so.0.9.8
|
||||||
|
dosym "${VM_INSTALL_DIR}"/lib/vmware/lib/libssl.so.0.9.8/libssl.so.0.9.8 \
|
||||||
|
"${VM_INSTALL_DIR}"/lib/vmware/lib/libvmwarebase.so.0/libssl.so.0.9.8
|
||||||
|
|
||||||
|
# install the ancillaries
|
||||||
|
insinto /usr
|
||||||
|
doins -r share
|
||||||
|
|
||||||
|
if use cups; then
|
||||||
|
exeinto $(cups-config --serverbin)/filter
|
||||||
|
doexe extras/thnucups
|
||||||
|
|
||||||
|
insinto /etc/cups
|
||||||
|
doins -r etc/cups/*
|
||||||
|
fi
|
||||||
|
|
||||||
|
insinto /etc/xdg
|
||||||
|
doins -r etc/xdg/*
|
||||||
|
|
||||||
|
# install documentation
|
||||||
|
doman man/man1/vmware.1.gz
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
dodoc doc/*
|
||||||
|
fi
|
||||||
|
|
||||||
|
insinto "${VM_INSTALL_DIR}"/lib/vmware/setup
|
||||||
|
doins vmware-config
|
||||||
|
|
||||||
|
# install vmware workstation server
|
||||||
|
if use server; then
|
||||||
|
dosbin sbin/*
|
||||||
|
|
||||||
|
cd "${S}"/vmware-workstation-server
|
||||||
|
|
||||||
|
# install binaries
|
||||||
|
into "${VM_INSTALL_DIR}"/lib/vmware
|
||||||
|
dobin bin/*
|
||||||
|
|
||||||
|
dobin "${FILESDIR}"/configure-hostd.sh
|
||||||
|
|
||||||
|
dobin "${FILESDIR}"/configure-hostd.sh
|
||||||
|
|
||||||
|
# install the libraries
|
||||||
|
insinto "${VM_INSTALL_DIR}"/lib/vmware/lib
|
||||||
|
doins -r lib/*
|
||||||
|
|
||||||
|
into "${VM_INSTALL_DIR}"
|
||||||
|
for tool in vmware-{hostd,wssc-adminTool} ; do
|
||||||
|
cat > "${T}/${tool}" <<-EOF
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
. /etc/vmware/bootstrap
|
||||||
|
|
||||||
|
exec "${VM_INSTALL_DIR}/lib/vmware/lib/wrapper-gtk24.sh" \\
|
||||||
|
"${VM_INSTALL_DIR}/lib/vmware/lib" \\
|
||||||
|
"${VM_INSTALL_DIR}/lib/vmware/bin/${tool}" \\
|
||||||
|
"${VM_INSTALL_DIR}/lib/vmware/libconf" "\$@"
|
||||||
|
EOF
|
||||||
|
dobin "${T}/${tool}"
|
||||||
|
done
|
||||||
|
|
||||||
|
insinto "${VM_INSTALL_DIR}"/lib/vmware
|
||||||
|
doins -r hostd
|
||||||
|
|
||||||
|
# create the configuration
|
||||||
|
insinto /etc/vmware/hostd
|
||||||
|
doins -r config/etc/vmware/hostd/*
|
||||||
|
doins -r etc/vmware/hostd/*
|
||||||
|
|
||||||
|
insinto /etc/vmware/ssl
|
||||||
|
doins etc/vmware/ssl/*
|
||||||
|
|
||||||
|
# pam
|
||||||
|
pamd_mimic_system vmware-authd auth account
|
||||||
|
|
||||||
|
# create directory for shared virtual machines.
|
||||||
|
keepdir "${VM_DATA_STORE_DIR}"
|
||||||
|
keepdir /var/log/vmware
|
||||||
|
fi
|
||||||
|
|
||||||
|
# install vmware-vix
|
||||||
|
if use vix; then
|
||||||
|
cd "${S}"/vmware-vix
|
||||||
|
|
||||||
|
# install the binary
|
||||||
|
into "${VM_INSTALL_DIR}"
|
||||||
|
dobin bin/*
|
||||||
|
|
||||||
|
# install the libraries
|
||||||
|
insinto "${VM_INSTALL_DIR}"/lib/vmware-vix
|
||||||
|
doins -r lib/*
|
||||||
|
|
||||||
|
dosym vmware-vix/libvixAllProducts.so "${VM_INSTALL_DIR}"/lib/libbvixAllProducts.so
|
||||||
|
|
||||||
|
# install headers
|
||||||
|
insinto /usr/include/vmware-vix
|
||||||
|
doins include/*
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
dohtml -r doc/*
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# install ovftool
|
||||||
|
if use ovftool; then
|
||||||
|
cd "${S}"
|
||||||
|
|
||||||
|
insinto "${VM_INSTALL_DIR}"/lib/vmware-ovftool
|
||||||
|
doins -r vmware-ovftool/*
|
||||||
|
|
||||||
|
chmod 0755 "${D}${VM_INSTALL_DIR}"/lib/vmware-ovftool/{ovftool,ovftool.bin}
|
||||||
|
dosym "${D}${VM_INSTALL_DIR}"/lib/vmware-ovftool/ovftool "${VM_INSTALL_DIR}"/bin/ovftool
|
||||||
|
fi
|
||||||
|
|
||||||
|
# create symlinks for the various tools
|
||||||
|
local tool ; for tool in thnuclnt vmware vmplayer{,-daemon} licenseTool vmamqpd \
|
||||||
|
vmware-{acetool,enter-serial,gksu,fuseUI,modconfig{,-console},netcfg,tray,unity-helper,zenity} ; do
|
||||||
|
dosym appLoader "${VM_INSTALL_DIR}"/lib/vmware/bin/"${tool}"
|
||||||
|
done
|
||||||
|
dosym "${VM_INSTALL_DIR}"/lib/vmware/bin/vmplayer "${VM_INSTALL_DIR}"/bin/vmplayer
|
||||||
|
dosym "${VM_INSTALL_DIR}"/lib/vmware/bin/vmware "${VM_INSTALL_DIR}"/bin/vmware
|
||||||
|
dosym "${VM_INSTALL_DIR}"/lib/vmware/icu /etc/vmware/icu
|
||||||
|
|
||||||
|
# fix permissions
|
||||||
|
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/bin/{appLoader,fusermount,launcher.sh,mkisofs,vmware-remotemks}
|
||||||
|
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/lib/{wrapper-gtk24.sh,libgksu2.so.0/gksu-run-helper}
|
||||||
|
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/setup/vmware-config
|
||||||
|
fperms 4711 "${VM_INSTALL_DIR}"/bin/vmware-mount
|
||||||
|
fperms 4711 "${VM_INSTALL_DIR}"/lib/vmware/bin/vmware-vmx{,-debug,-stats}
|
||||||
|
if use server; then
|
||||||
|
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/bin/vmware-{hostd,wssc-adminTool}
|
||||||
|
fperms 4711 "${VM_INSTALL_DIR}"/sbin/vmware-authd
|
||||||
|
fperms 1777 "${VM_DATA_STORE_DIR}"
|
||||||
|
fi
|
||||||
|
if use vix; then
|
||||||
|
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware-vix/setup/vmware-config
|
||||||
|
fi
|
||||||
|
|
||||||
|
# create the environment
|
||||||
|
local envd="${T}/90vmware"
|
||||||
|
cat > "${envd}" <<-EOF
|
||||||
|
PATH='${VM_INSTALL_DIR}/bin'
|
||||||
|
ROOTPATH='${VM_INSTALL_DIR}/bin'
|
||||||
|
EOF
|
||||||
|
doenvd "${envd}"
|
||||||
|
|
||||||
|
# create the configuration
|
||||||
|
dodir /etc/vmware
|
||||||
|
|
||||||
|
cat > "${D}"/etc/vmware/bootstrap <<-EOF
|
||||||
|
BINDIR='${VM_INSTALL_DIR}/bin'
|
||||||
|
LIBDIR='${VM_INSTALL_DIR}/lib'
|
||||||
|
EOF
|
||||||
|
|
||||||
|
cat > "${D}"/etc/vmware/config <<-EOF
|
||||||
|
bindir = "${VM_INSTALL_DIR}/bin"
|
||||||
|
libdir = "${VM_INSTALL_DIR}/lib/vmware"
|
||||||
|
initscriptdir = "/etc/init.d"
|
||||||
|
authd.fullpath = "${VM_INSTALL_DIR}/sbin/vmware-authd"
|
||||||
|
gksu.rootMethod = "su"
|
||||||
|
VMCI_CONFED = "yes"
|
||||||
|
VMBLOCK_CONFED = "yes"
|
||||||
|
VSOCK_CONFED = "yes"
|
||||||
|
NETWORKING = "yes"
|
||||||
|
player.product.version = "${major_minor_revision}"
|
||||||
|
product.version = "${major_minor_revision}"
|
||||||
|
product.buildNumber = "${build}"
|
||||||
|
product.name = "VMware Workstation"
|
||||||
|
workstation.product.version = "${major_minor_revision}"
|
||||||
|
EOF
|
||||||
|
|
||||||
|
if use vix; then
|
||||||
|
cat >> "${D}"/etc/vmware/config <<-EOF
|
||||||
|
vmware.fullpath = "${VM_INSTALL_DIR}/bin/vmware"
|
||||||
|
vix.libdir = "${VM_INSTALL_DIR}/lib/vmware-vix"
|
||||||
|
vix.config.version = "1"
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use server; then
|
||||||
|
cat >> "${D}"/etc/vmware/config <<-EOF
|
||||||
|
authd.client.port = "902"
|
||||||
|
authd.proxy.nfc = "vmware-hostd:ha-nfc"
|
||||||
|
authd.soapserver = "TRUE"
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
|
|
||||||
|
# install the init.d script
|
||||||
|
local initscript="${T}/vmware.rc"
|
||||||
|
sed -e "s:@@BINDIR@@:${VM_INSTALL_DIR}/bin:g" \
|
||||||
|
"${FILESDIR}/vmware-${major_minor}.rc" > ${initscript}
|
||||||
|
newinitd "${initscript}" vmware
|
||||||
|
|
||||||
|
if use server; then
|
||||||
|
# install the init.d script
|
||||||
|
local initscript="${T}/vmware-workstation-server.rc"
|
||||||
|
sed -e "s:@@ETCDIR@@:/etc/vmware:g" \
|
||||||
|
-e "s:@@PREFIX@@:${VM_INSTALL_DIR}:g" \
|
||||||
|
-e "s:@@BINDIR@@:${VM_INSTALL_DIR}/bin:g" \
|
||||||
|
-e "s:@@LIBDIR@@:${VM_INSTALL_DIR}/lib/vmware:g" \
|
||||||
|
"${FILESDIR}/vmware-server-${major_minor}.rc" > ${initscript}
|
||||||
|
newinitd "${initscript}" vmware-workstation-server
|
||||||
|
fi
|
||||||
|
|
||||||
|
# fill in variable placeholders
|
||||||
|
sed -e "s:@@LIBCONF_DIR@@:${VM_INSTALL_DIR}/lib/vmware/libconf:g" \
|
||||||
|
-i "${D}${VM_INSTALL_DIR}"/lib/vmware/libconf/etc/{gtk-2.0/{gdk-pixbuf.loaders,gtk.immodules},pango/pango{.modules,rc}}
|
||||||
|
sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmware:g" \
|
||||||
|
-e "/^Encoding/d" \
|
||||||
|
-i "${D}/usr/share/applications/${PN}.desktop"
|
||||||
|
sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmplayer:g" \
|
||||||
|
-e "/^Encoding/d" \
|
||||||
|
-i "${D}/usr/share/applications/vmware-player.desktop"
|
||||||
|
sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmware-netcfg:g" \
|
||||||
|
-e "/^Encoding/d" \
|
||||||
|
-i "${D}/usr/share/applications/vmware-netcfg.desktop"
|
||||||
|
|
||||||
|
if use server; then
|
||||||
|
# Configuration for vmware-workstation-server
|
||||||
|
local hostdUser="${VM_HOSTD_USER:-root}"
|
||||||
|
sed -e "/ACEDataUser/s:root:${hostdUser}:g" \
|
||||||
|
-i "${D}/etc/vmware/hostd/authorization.xml" || die
|
||||||
|
|
||||||
|
# Shared VMs Path: [standard].
|
||||||
|
sed -e "s:##{DS_NAME}##:standard:g" \
|
||||||
|
-e "s:##{DS_PATH}##:${VM_DATA_STORE_DIR}:g" \
|
||||||
|
-i "${D}/etc/vmware/hostd/datastores.xml" || die
|
||||||
|
|
||||||
|
sed -e "s:##{HTTP_PORT}##:-1:g" \
|
||||||
|
-e "s:##{HTTPS_PORT}##:443:g" \
|
||||||
|
-e "s:##{PIPE_PREFIX}##:/var/run/vmware/:g" \
|
||||||
|
-i "${D}/etc/vmware/hostd/proxy.xml" || die
|
||||||
|
|
||||||
|
# See vmware-workstation-server.py for more details.
|
||||||
|
sed -e "s:##{BUILD_CFGDIR}##:/etc/vmware/hostd/:g" \
|
||||||
|
-e "s:##{CFGALTDIR}##:/etc/vmware/hostd/:g" \
|
||||||
|
-e "s:##{CFGDIR}##:/etc/vmware/:g" \
|
||||||
|
-e "s:##{ENABLE_AUTH}##:true:g" \
|
||||||
|
-e "s:##{HOSTDMODE}##:ws:g" \
|
||||||
|
-e "s:##{HOSTD_CFGDIR}##:/etc/vmware/hostd/:g" \
|
||||||
|
-e "s:##{HOSTD_MOCKUP}##:false:g" \
|
||||||
|
-e "s:##{LIBDIR}##:${VM_INSTALL_DIR}/lib/vmware:g" \
|
||||||
|
-e "s:##{LIBDIR_INSTALLED}##:${VM_INSTALL_DIR}/lib/vmware/:g" \
|
||||||
|
-e "s:##{LOGDIR}##:/var/log/vmware/:g" \
|
||||||
|
-e "s:##{LOGLEVEL}##:verbose:g" \
|
||||||
|
-e "s:##{MOCKUP}##:mockup-host-config.xml:g" \
|
||||||
|
-e "s:##{PLUGINDIR}##:./:g" \
|
||||||
|
-e "s:##{SHLIB_PREFIX}##:lib:g" \
|
||||||
|
-e "s:##{SHLIB_SUFFIX}##:.so:g" \
|
||||||
|
-e "s:##{USE_BLKLISTSVC}##:false:g" \
|
||||||
|
-e "s:##{USE_CBRCSVC}##:false:g" \
|
||||||
|
-e "s:##{USE_CIMSVC}##:false:g" \
|
||||||
|
-e "s:##{USE_DIRECTORYSVC}##:false:g" \
|
||||||
|
-e "s:##{USE_DIRECTORYSVC_MOCKUP}##:false:g" \
|
||||||
|
-e "s:##{USE_DYNAMIC_PLUGIN_LOADING}##:false:g" \
|
||||||
|
-e "s:##{USE_DYNAMO}##:false:g" \
|
||||||
|
-e "s:##{USE_DYNSVC}##:false:g" \
|
||||||
|
-e "s:##{USE_GUESTSVC}##:false:g" \
|
||||||
|
-e "s:##{USE_HBRSVC}##:false:g" \
|
||||||
|
-e "s:##{USE_HBRSVC_MOCKUP}##:false:g" \
|
||||||
|
-e "s:##{USE_HOSTSVC_MOCKUP}##:false:g" \
|
||||||
|
-e "s:##{USE_HTTPNFCSVC}##:false:g" \
|
||||||
|
-e "s:##{USE_HTTPNFCSVC_MOCKUP}##:false:g" \
|
||||||
|
-e "s:##{USE_LICENSESVC_MOCKUP}##:false:g" \
|
||||||
|
-e "s:##{USE_NFCSVC}##:true:g" \
|
||||||
|
-e "s:##{USE_NFCSVC_MOCKUP}##:false:g" \
|
||||||
|
-e "s:##{USE_OVFMGRSVC}##:true:g" \
|
||||||
|
-e "s:##{USE_PARTITIONSVC}##:false:g" \
|
||||||
|
-e "s:##{USE_SECURESOAP}##:false:g" \
|
||||||
|
-e "s:##{USE_SNMPSVC}##:false:g" \
|
||||||
|
-e "s:##{USE_SOLO_MOCKUP}##:false:g" \
|
||||||
|
-e "s:##{USE_STATSSVC_MOCKUP}##:false:g" \
|
||||||
|
-e "s:##{USE_VCSVC_MOCKUP}##:false:g" \
|
||||||
|
-e "s:##{USE_VDISKSVC}##:false:g" \
|
||||||
|
-e "s:##{USE_VDISKSVC_MOCKUP}##:false:g" \
|
||||||
|
-e "s:##{USE_VMSVC_MOCKUP}##:false:g" \
|
||||||
|
-e "s:##{VM_INVENTORY}##:vmInventory.xml:g" \
|
||||||
|
-e "s:##{VM_RESOURCES}##:vmResources.xml:g" \
|
||||||
|
-e "s:##{WEBSERVER_PORT_ENTRY}##::g" \
|
||||||
|
-e "s:##{WORKINGDIR}##:./:g" \
|
||||||
|
-i "${D}/etc/vmware/hostd/config.xml" || die
|
||||||
|
|
||||||
|
sed -e "s:##{ENV_LOCATION}##:/etc/vmware/hostd/env/:g" \
|
||||||
|
-i "${D}/etc/vmware/hostd/environments.xml" || die
|
||||||
|
|
||||||
|
# @@VICLIENT_URL@@=XXX
|
||||||
|
sed -e "s:@@AUTHD_PORT@@:902:g" \
|
||||||
|
-i "${D}${VM_INSTALL_DIR}/lib/vmware/hostd/docroot/client/clients.xml" || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# install systemd unit files
|
||||||
|
systemd_dounit "${WORKDIR}/systemd-vmware-${SYSTEMD_UNITS_TAG}/"*.{service,target}
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_config() {
|
||||||
|
"${VM_INSTALL_DIR}"/bin/vmware-networks --postinstall ${PN},old,new
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
gnome2_icon_savelist
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
fdo-mime_desktop_database_update
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
|
||||||
|
ewarn "/etc/env.d was updated. Please run:"
|
||||||
|
ewarn "env-update && source /etc/profile"
|
||||||
|
ewarn ""
|
||||||
|
ewarn "Before you can use vmware workstation, you must configure a default network setup."
|
||||||
|
ewarn "You can do this by running 'emerge --config ${PN}'."
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_prerm() {
|
||||||
|
einfo "Stopping ${PN} for safe unmerge"
|
||||||
|
/etc/init.d/vmware stop
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
fdo-mime_desktop_database_update
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
@ -1,2 +1 @@
|
|||||||
DIST layman-1.4.2.tar.gz 60655 SHA256 a10418aa33f4f849c190b5c15b37abac81058858be3cb107d084057cef56ccfd SHA512 b3e4c706873b594876dfe9664b6debd5e75332ea5016a4eb7a91dfdca116c217dba6fe9235ebfbed148e8f05bda44859a2c145ae59f4d45cf5e59fdb89a7370b WHIRLPOOL 05a0953555617f29213e920cf2449ecc281a23348255362701d32d1c6b46e5b770055c3e588a23d9e3344e6bcdcd126e876275599eb4b017b45ab8b07a98afc5
|
|
||||||
DIST layman-2.0.0.tar.gz 81184 SHA256 5843035ae4cc069693c05cf9821dae3d89d3ea7e2115b8137ea5a4a6c2807f33 SHA512 30756464d71ab1e047036550b6500d7e57999d808ebe3efba1d1ae6c037f8ca777ba704a4981d75a90285133635027a7bc13f1890f34823de33ae991ed99e2da WHIRLPOOL ec362189c4757ee032dc93e079ea0f5b291d5652231a84f1175fb308ca5622882d5008f23fd6a3d5143ff0dc98c91632d19c2e6604dcaa9b6a550bc902d79c1a
|
DIST layman-2.0.0.tar.gz 81184 SHA256 5843035ae4cc069693c05cf9821dae3d89d3ea7e2115b8137ea5a4a6c2807f33 SHA512 30756464d71ab1e047036550b6500d7e57999d808ebe3efba1d1ae6c037f8ca777ba704a4981d75a90285133635027a7bc13f1890f34823de33ae991ed99e2da WHIRLPOOL ec362189c4757ee032dc93e079ea0f5b291d5652231a84f1175fb308ca5622882d5008f23fd6a3d5143ff0dc98c91632d19c2e6604dcaa9b6a550bc902d79c1a
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1,215 +0,0 @@
|
|||||||
From edce984f2c034254af33fd6fe18bc1e2689581bf Mon Sep 17 00:00:00 2001
|
|
||||||
From: Brian Dolbec <brian.dolbec@gmail.com>
|
|
||||||
Date: Fri, 22 Apr 2011 23:53:19 -0700
|
|
||||||
Subject: [PATCH] fix bug 363797 python-2.5 test errors.
|
|
||||||
fixes broken *args for python 2.5 and 2.6+.
|
|
||||||
Passes tests for all python versions supported.
|
|
||||||
|
|
||||||
---
|
|
||||||
bin/layman | 2 +-
|
|
||||||
layman/overlays/bzr.py | 4 ++--
|
|
||||||
layman/overlays/cvs.py | 4 ++--
|
|
||||||
layman/overlays/darcs.py | 4 ++--
|
|
||||||
layman/overlays/git.py | 4 ++--
|
|
||||||
layman/overlays/mercurial.py | 4 ++--
|
|
||||||
layman/overlays/rsync.py | 2 +-
|
|
||||||
layman/overlays/source.py | 4 ++--
|
|
||||||
layman/overlays/svn.py | 4 ++--
|
|
||||||
layman/overlays/tar.py | 2 +-
|
|
||||||
10 files changed, 17 insertions(+), 17 deletions(-)
|
|
||||||
mode change 100644 => 100755 layman/tests/dtest.py
|
|
||||||
mode change 100644 => 100755 layman/tests/external.py
|
|
||||||
|
|
||||||
diff --git a/bin/layman b/bin/layman
|
|
||||||
index b85f4fa..01ee0c8 100755
|
|
||||||
--- a/bin/layman
|
|
||||||
+++ b/bin/layman
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
-#!python
|
|
||||||
+#!/usr/bin/python
|
|
||||||
################################################################################
|
|
||||||
# LAYMAN - A UTILITY TO SELECT AND UPDATE GENTOO OVERLAYS
|
|
||||||
################################################################################
|
|
||||||
diff --git a/layman/overlays/bzr.py b/layman/overlays/bzr.py
|
|
||||||
index e73c2f4..b59cf6c 100644
|
|
||||||
--- a/layman/overlays/bzr.py
|
|
||||||
+++ b/layman/overlays/bzr.py
|
|
||||||
@@ -52,7 +52,7 @@ class BzrOverlay(OverlaySource):
|
|
||||||
|
|
||||||
# bzr get SOURCE TARGET
|
|
||||||
args = ['get', self.src + '/', path([base, self.parent.name])]
|
|
||||||
- return self.run_command(*args)
|
|
||||||
+ return self.run_command(args)
|
|
||||||
|
|
||||||
def sync(self, base, quiet = False):
|
|
||||||
'''Sync overlay.'''
|
|
||||||
@@ -61,7 +61,7 @@ class BzrOverlay(OverlaySource):
|
|
||||||
|
|
||||||
# bzr pull --overwrite SOURCE
|
|
||||||
args = ['pull', '--overwrite', self.src]
|
|
||||||
- return self.run_command(*args, cwd=path([base, self.parent.name]))
|
|
||||||
+ return self.run_command(args, cwd=path([base, self.parent.name]))
|
|
||||||
|
|
||||||
def supported(self):
|
|
||||||
'''Overlay type supported?'''
|
|
||||||
diff --git a/layman/overlays/cvs.py b/layman/overlays/cvs.py
|
|
||||||
index f8fc277..4924ca4 100644
|
|
||||||
--- a/layman/overlays/cvs.py
|
|
||||||
+++ b/layman/overlays/cvs.py
|
|
||||||
@@ -83,7 +83,7 @@ class CvsOverlay(OverlaySource):
|
|
||||||
args.append(self.parent.name)
|
|
||||||
args.append(self.subpath)
|
|
||||||
|
|
||||||
- return self.run_command(*args, cwd=base, env=dict(CVSROOT=self.src))
|
|
||||||
+ return self.run_command(args, cwd=base, env=dict(CVSROOT=self.src))
|
|
||||||
|
|
||||||
def sync(self, base, quiet = False):
|
|
||||||
'''Sync overlay.'''
|
|
||||||
@@ -96,7 +96,7 @@ class CvsOverlay(OverlaySource):
|
|
||||||
args.append('-q')
|
|
||||||
args.append('update')
|
|
||||||
args.append('-d')
|
|
||||||
- return self.run_command(*args, cwd=path([base, self.parent.name]))
|
|
||||||
+ return self.run_command(args, cwd=path([base, self.parent.name]))
|
|
||||||
|
|
||||||
def supported(self):
|
|
||||||
'''Overlay type supported?'''
|
|
||||||
diff --git a/layman/overlays/darcs.py b/layman/overlays/darcs.py
|
|
||||||
index 7d89477..c062543 100644
|
|
||||||
--- a/layman/overlays/darcs.py
|
|
||||||
+++ b/layman/overlays/darcs.py
|
|
||||||
@@ -51,7 +51,7 @@ class DarcsOverlay(OverlaySource):
|
|
||||||
|
|
||||||
# darcs get --partial SOURCE TARGET
|
|
||||||
args = ['get', '--partial', self.src + '/', path([base, self.parent.name])]
|
|
||||||
- return self.run_command(*args)
|
|
||||||
+ return self.run_command(args)
|
|
||||||
|
|
||||||
def sync(self, base, quiet = False):
|
|
||||||
'''Sync overlay.'''
|
|
||||||
@@ -60,7 +60,7 @@ class DarcsOverlay(OverlaySource):
|
|
||||||
|
|
||||||
# darcs pull --all SOURCE
|
|
||||||
args = ['pull', '--all', self.src]
|
|
||||||
- return self.run_command(*args, cwd=path([base, self.parent.name]))
|
|
||||||
+ return self.run_command(args, cwd=path([base, self.parent.name]))
|
|
||||||
|
|
||||||
def supported(self):
|
|
||||||
'''Overlay type supported?'''
|
|
||||||
diff --git a/layman/overlays/git.py b/layman/overlays/git.py
|
|
||||||
index caa73f4..3b2608b 100644
|
|
||||||
--- a/layman/overlays/git.py
|
|
||||||
+++ b/layman/overlays/git.py
|
|
||||||
@@ -60,7 +60,7 @@ class GitOverlay(OverlaySource):
|
|
||||||
args.append('-q')
|
|
||||||
args.append(fix_git_source(self.src))
|
|
||||||
args.append(path([base, self.parent.name]))
|
|
||||||
- return self.run_command(*args)
|
|
||||||
+ return self.run_command(args)
|
|
||||||
|
|
||||||
def sync(self, base, quiet = False):
|
|
||||||
'''Sync overlay.'''
|
|
||||||
@@ -70,7 +70,7 @@ class GitOverlay(OverlaySource):
|
|
||||||
args = ['pull']
|
|
||||||
if quiet:
|
|
||||||
args.append('-q')
|
|
||||||
- return self.run_command(*args, cwd=path([base, self.parent.name]))
|
|
||||||
+ return self.run_command(args, cwd=path([base, self.parent.name]))
|
|
||||||
|
|
||||||
def supported(self):
|
|
||||||
'''Overlay type supported?'''
|
|
||||||
diff --git a/layman/overlays/mercurial.py b/layman/overlays/mercurial.py
|
|
||||||
index 06cf59d..8bf919b 100644
|
|
||||||
--- a/layman/overlays/mercurial.py
|
|
||||||
+++ b/layman/overlays/mercurial.py
|
|
||||||
@@ -51,7 +51,7 @@ class MercurialOverlay(OverlaySource):
|
|
||||||
|
|
||||||
# hg clone SOURCE TARGET
|
|
||||||
args = ['clone', self.src + '/', path([base, self.parent.name])]
|
|
||||||
- return self.run_command(*args)
|
|
||||||
+ return self.run_command(args)
|
|
||||||
|
|
||||||
def sync(self, base, quiet = False):
|
|
||||||
'''Sync overlay.'''
|
|
||||||
@@ -60,7 +60,7 @@ class MercurialOverlay(OverlaySource):
|
|
||||||
|
|
||||||
# hg pull -u SOURCE
|
|
||||||
args = ['pull', '-u', self.src]
|
|
||||||
- return self.run_command(*args, cwd=path([base, self.parent.name]))
|
|
||||||
+ return self.run_command(args, cwd=path([base, self.parent.name]))
|
|
||||||
|
|
||||||
def supported(self):
|
|
||||||
'''Overlay type supported?'''
|
|
||||||
diff --git a/layman/overlays/rsync.py b/layman/overlays/rsync.py
|
|
||||||
index 3a5a342..bf01462 100644
|
|
||||||
--- a/layman/overlays/rsync.py
|
|
||||||
+++ b/layman/overlays/rsync.py
|
|
||||||
@@ -66,7 +66,7 @@ class RsyncOverlay(OverlaySource):
|
|
||||||
args.append(self.src + '/')
|
|
||||||
args.append(path([base, self.parent.name]))
|
|
||||||
|
|
||||||
- return self.run_command(*args)
|
|
||||||
+ return self.run_command(args)
|
|
||||||
|
|
||||||
def supported(self):
|
|
||||||
'''Overlay type supported?'''
|
|
||||||
diff --git a/layman/overlays/source.py b/layman/overlays/source.py
|
|
||||||
index 2c039c9..9e7f974 100644
|
|
||||||
--- a/layman/overlays/source.py
|
|
||||||
+++ b/layman/overlays/source.py
|
|
||||||
@@ -107,9 +107,9 @@ class OverlaySource(object):
|
|
||||||
def command(self):
|
|
||||||
return self.config['%s_command' % self.__class__.type_key]
|
|
||||||
|
|
||||||
- def run_command(self, *args, **kwargs):
|
|
||||||
+ def run_command(self, args, **kwargs):
|
|
||||||
file_to_run = _resolve_command(self.command())[1]
|
|
||||||
- args = (file_to_run, ) + args
|
|
||||||
+ args = [file_to_run] + args
|
|
||||||
assert('pwd' not in kwargs) # Bug detector
|
|
||||||
|
|
||||||
cwd = kwargs.get('cwd', None)
|
|
||||||
diff --git a/layman/overlays/svn.py b/layman/overlays/svn.py
|
|
||||||
index 2a30198..092d786 100644
|
|
||||||
--- a/layman/overlays/svn.py
|
|
||||||
+++ b/layman/overlays/svn.py
|
|
||||||
@@ -56,7 +56,7 @@ class SvnOverlay(OverlaySource):
|
|
||||||
args.append(self.src + '/@')
|
|
||||||
args.append(path([base, self.parent.name]))
|
|
||||||
|
|
||||||
- return self.run_command(*args)
|
|
||||||
+ return self.run_command(args)
|
|
||||||
|
|
||||||
def sync(self, base, quiet = False):
|
|
||||||
'''Sync overlay.'''
|
|
||||||
@@ -77,7 +77,7 @@ class SvnOverlay(OverlaySource):
|
|
||||||
args.append('-q')
|
|
||||||
args.append(checkout_location())
|
|
||||||
|
|
||||||
- return self.run_command(*args)
|
|
||||||
+ return self.run_command(args)
|
|
||||||
|
|
||||||
def supported(self):
|
|
||||||
'''Overlay type supported?'''
|
|
||||||
diff --git a/layman/overlays/tar.py b/layman/overlays/tar.py
|
|
||||||
index 919f4df..612b6b6 100644
|
|
||||||
--- a/layman/overlays/tar.py
|
|
||||||
+++ b/layman/overlays/tar.py
|
|
||||||
@@ -128,7 +128,7 @@ class TarOverlay(OverlaySource):
|
|
||||||
|
|
||||||
# tar -v -x -f SOURCE -C TARGET
|
|
||||||
args = ['-v', '-x', '-f', pkg, '-C', dest_dir]
|
|
||||||
- result = self.run_command(*args)
|
|
||||||
+ result = self.run_command(args)
|
|
||||||
|
|
||||||
os.unlink(pkg)
|
|
||||||
return result
|
|
||||||
diff --git a/layman/tests/dtest.py b/layman/tests/dtest.py
|
|
||||||
old mode 100644
|
|
||||||
new mode 100755
|
|
||||||
diff --git a/layman/tests/external.py b/layman/tests/external.py
|
|
||||||
old mode 100644
|
|
||||||
new mode 100755
|
|
||||||
--
|
|
||||||
1.7.4.1
|
|
||||||
|
|
@ -0,0 +1,57 @@
|
|||||||
|
From 580097d4bc0cd3f07b4ce1b8da33e63f03ef0305 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Brian Dolbec <dolsen@gentoo.org>
|
||||||
|
Date: Mon, 6 Jan 2014 22:01:12 -0800
|
||||||
|
Subject: [PATCH] Update svn's check_upgrade() for newer svn versions.
|
||||||
|
|
||||||
|
Thanks you, Arfrever, for your assistance.
|
||||||
|
---
|
||||||
|
layman/overlays/svn.py | 32 ++++++++++++--------------------
|
||||||
|
1 file changed, 12 insertions(+), 20 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/layman/overlays/svn.py b/layman/overlays/svn.py
|
||||||
|
index 4804925..374a516 100644
|
||||||
|
--- a/layman/overlays/svn.py
|
||||||
|
+++ b/layman/overlays/svn.py
|
||||||
|
@@ -131,27 +131,19 @@ class SvnOverlay(OverlaySource):
|
||||||
|
return
|
||||||
|
|
||||||
|
def check_upgrade(self, target):
|
||||||
|
- '''Code to check the installed svn version and
|
||||||
|
- run "svn upgrade" if needed.'''
|
||||||
|
+ '''Code to run "svn upgrade" it only takes longer
|
||||||
|
+ than checking if it does need an upgrade if it is
|
||||||
|
+ actually needed.
|
||||||
|
+ '''
|
||||||
|
file_to_run = _resolve_command(self.command(), self.output.error)[1]
|
||||||
|
- args = file_to_run + ' -q --version'
|
||||||
|
+ args = " ".join([file_to_run, " upgrade", target])
|
||||||
|
pipe = Popen(args, shell=True, stdout=PIPE)
|
||||||
|
if pipe:
|
||||||
|
- self.output.debug("SVN: check_upgrade()... have a valid pipe", 4)
|
||||||
|
- version = pipe.stdout.readline().strip('\n')
|
||||||
|
- self.output.debug("SVN: check_upgrade()... svn version found: %s"
|
||||||
|
- % version, 4)
|
||||||
|
+ self.output.debug("SVN: check_upgrade()... have a valid pipe, "
|
||||||
|
+ "running upgrade", 4)
|
||||||
|
+ upgrade_output = pipe.stdout.readline().strip('\n')
|
||||||
|
+ if upgrade_output:
|
||||||
|
+ self.output.debug(" output: %s" % upgrade_output, 4)
|
||||||
|
+ self.output.debug("SVN: check_upgrade()... svn upgrade done", 4)
|
||||||
|
pipe.terminate()
|
||||||
|
- if version >= '1.7.0':
|
||||||
|
- self.output.debug("SVN: check_upgrade()... svn upgrade maybe",
|
||||||
|
- 4)
|
||||||
|
- _path = path([target,'.svn/wc.db'])
|
||||||
|
- if not os.path.exists(_path):
|
||||||
|
- self.output.info("An svn upgrade needs to be run...",
|
||||||
|
- 2)
|
||||||
|
- args = ["upgrade"]
|
||||||
|
- return self.run_command(self.command(), args,
|
||||||
|
- cwd=target, cmd="svn upgrade")
|
||||||
|
- return
|
||||||
|
- else:
|
||||||
|
- return
|
||||||
|
+ return
|
||||||
|
--
|
||||||
|
1.8.3.2
|
||||||
|
|
@ -1,102 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/layman-1.4.2-r3.ebuild,v 1.9 2012/11/06 07:17:09 dolsen Exp $
|
|
||||||
|
|
||||||
EAPI="2"
|
|
||||||
PYTHON_DEPEND="2:2.5"
|
|
||||||
SUPPORT_PYTHON_ABIS="1"
|
|
||||||
PYTHON_USE_WITH="xml"
|
|
||||||
|
|
||||||
inherit eutils distutils
|
|
||||||
|
|
||||||
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 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
|
|
||||||
IUSE="bazaar cvs darcs git mercurial subversion test"
|
|
||||||
|
|
||||||
COMMON_DEPS="dev-lang/python"
|
|
||||||
DEPEND="${COMMON_DEPS}
|
|
||||||
test? ( dev-vcs/subversion )"
|
|
||||||
RDEPEND="${COMMON_DEPS}
|
|
||||||
bazaar? ( dev-vcs/bzr )
|
|
||||||
cvs? ( dev-vcs/cvs )
|
|
||||||
darcs? ( dev-vcs/darcs )
|
|
||||||
git? ( dev-vcs/git )
|
|
||||||
mercurial? ( dev-vcs/mercurial )
|
|
||||||
subversion? (
|
|
||||||
|| (
|
|
||||||
>=dev-vcs/subversion-1.5.4[webdav-neon]
|
|
||||||
>=dev-vcs/subversion-1.5.4[webdav-serf]
|
|
||||||
)
|
|
||||||
)"
|
|
||||||
RESTRICT_PYTHON_ABIS="2.4 3.*"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}/${P}-python-compatbility-fix.patch"
|
|
||||||
epatch "${FILESDIR}/${P}-manpage-corrections.patch"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Prevent running make
|
|
||||||
src_compile() {
|
|
||||||
:
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
testing() {
|
|
||||||
for suite in layman/tests/{dtest,external}.py ; do
|
|
||||||
PYTHONPATH="." "$(PYTHON)" ${suite} \
|
|
||||||
|| die "test suite '${suite}' failed"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
python_execute_function testing
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
distutils_src_install
|
|
||||||
|
|
||||||
dodir /etc/layman
|
|
||||||
|
|
||||||
cp etc/* "${D}"/etc/layman/
|
|
||||||
|
|
||||||
doman doc/layman.8
|
|
||||||
dohtml doc/layman.8.html
|
|
||||||
|
|
||||||
keepdir /var/lib/layman
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
distutils_pkg_postinst
|
|
||||||
einfo "You are now ready to add overlays into your system."
|
|
||||||
einfo
|
|
||||||
einfo " layman -L"
|
|
||||||
einfo
|
|
||||||
einfo "will display a list of available overlays."
|
|
||||||
einfo
|
|
||||||
elog "Select an overlay and add it using"
|
|
||||||
elog
|
|
||||||
elog " layman -a overlay-name"
|
|
||||||
elog
|
|
||||||
elog "If this is the very first overlay you add with layman,"
|
|
||||||
elog "you need to append the following statement to your"
|
|
||||||
# This relates to #441902 bug.
|
|
||||||
if [[ -e "${ROOT}"/etc/portage/make.conf ]] ; then
|
|
||||||
elog "/etc/portage/make.conf file:"
|
|
||||||
else
|
|
||||||
elog "/etc/make.conf file:"
|
|
||||||
fi
|
|
||||||
elog
|
|
||||||
elog " source /var/lib/layman/make.conf"
|
|
||||||
elog
|
|
||||||
elog "If you modify the 'storage' parameter in the layman"
|
|
||||||
elog "configuration file (/etc/layman/layman.cfg) you will"
|
|
||||||
elog "need to adapt the path given above to the new storage"
|
|
||||||
elog "directory."
|
|
||||||
elog
|
|
||||||
ewarn "Please add the 'source' statement to make.conf only AFTER "
|
|
||||||
ewarn "you added your first overlay. Otherwise portage will fail."
|
|
||||||
epause 5
|
|
||||||
}
|
|
@ -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-portage/layman/layman-2.0.0-r2.ebuild,v 1.1 2014/01/07 07:18:36 dolsen Exp $
|
||||||
|
|
||||||
|
EAPI="5"
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python{2_6,2_7} pypy2_0 )
|
||||||
|
PYTHON_REQ_USE="xml(+)"
|
||||||
|
|
||||||
|
inherit eutils distutils-r1 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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~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 mercurial 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 )
|
||||||
|
subversion? (
|
||||||
|
|| (
|
||||||
|
>=dev-vcs/subversion-1.5.4[http]
|
||||||
|
>=dev-vcs/subversion-1.5.4[webdav-neon]
|
||||||
|
>=dev-vcs/subversion-1.5.4[webdav-serf]
|
||||||
|
)
|
||||||
|
)
|
||||||
|
virtual/python-argparse[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
local PATCHES=( "${FILESDIR}"/layman-2.0.0.*.patch )
|
||||||
|
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
|
||||||
|
}
|
@ -1,214 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.2_p37.ebuild,v 1.10 2012/09/02 17:49:58 armin76 Exp $
|
|
||||||
|
|
||||||
EAPI="1"
|
|
||||||
|
|
||||||
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 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
|
|
||||||
cd "${S}"
|
|
||||||
|
|
||||||
# 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_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
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="${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
|
|
||||||
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}
|
|
||||||
emake || die
|
|
||||||
|
|
||||||
if use plugins ; then
|
|
||||||
emake -C examples/loadables all others || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake install DESTDIR="${D}" || die
|
|
||||||
|
|
||||||
dodir /bin
|
|
||||||
mv "${D}"/usr/bin/bash "${D}"/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[@]}" \
|
|
||||||
"${D}"/etc/skel/.bashrc \
|
|
||||||
"${D}"/etc/bash/bashrc || die
|
|
||||||
|
|
||||||
if use plugins ; then
|
|
||||||
exeinto /usr/$(get_libdir)/bash
|
|
||||||
doexe $(echo examples/loadables/*.o | sed 's:\.o::g') || die
|
|
||||||
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 ${ROOT}/etc/bashrc ]] && [[ ! -d ${ROOT}/etc/bash ]] ; then
|
|
||||||
mkdir -p "${ROOT}"/etc/bash
|
|
||||||
mv -f "${ROOT}"/etc/bashrc "${ROOT}"/etc/bash/
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ -L ${ROOT}/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 "${ROOT}"/bin/sh)
|
|
||||||
local tmp=$(emktemp "${ROOT}"/bin)
|
|
||||||
ln -sf "${target}" "${tmp}"
|
|
||||||
mv -f "${tmp}" "${ROOT}"/bin/sh
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
# If /bin/sh does not exist, provide it
|
|
||||||
if [[ ! -e ${ROOT}/bin/sh ]]; then
|
|
||||||
ln -sf bash "${ROOT}"/bin/sh
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,218 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.2_p39-r1.ebuild,v 1.1 2012/12/15 01:55:49 vapier Exp $
|
|
||||||
|
|
||||||
EAPI="1"
|
|
||||||
|
|
||||||
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 ~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
|
|
||||||
cd "${S}"
|
|
||||||
|
|
||||||
# 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-speed-up-read-N.patch
|
|
||||||
|
|
||||||
epatch_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
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="${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
|
|
||||||
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}
|
|
||||||
emake || die
|
|
||||||
|
|
||||||
if use plugins ; then
|
|
||||||
emake -C examples/loadables all others || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake install DESTDIR="${D}" || die
|
|
||||||
|
|
||||||
dodir /bin
|
|
||||||
mv "${D}"/usr/bin/bash "${D}"/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[@]}" \
|
|
||||||
"${D}"/etc/skel/.bashrc \
|
|
||||||
"${D}"/etc/bash/bashrc || die
|
|
||||||
|
|
||||||
if use plugins ; then
|
|
||||||
exeinto /usr/$(get_libdir)/bash
|
|
||||||
doexe $(echo examples/loadables/*.o | sed 's:\.o::g') || die
|
|
||||||
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 ${ROOT}/etc/bashrc ]] && [[ ! -d ${ROOT}/etc/bash ]] ; then
|
|
||||||
mkdir -p "${ROOT}"/etc/bash
|
|
||||||
mv -f "${ROOT}"/etc/bashrc "${ROOT}"/etc/bash/
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ -L ${ROOT}/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 "${ROOT}"/bin/sh)
|
|
||||||
local tmp=$(emktemp "${ROOT}"/bin)
|
|
||||||
ln -sf "${target}" "${tmp}"
|
|
||||||
mv -f "${tmp}" "${ROOT}"/bin/sh
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
# If /bin/sh does not exist, provide it
|
|
||||||
if [[ ! -e ${ROOT}/bin/sh ]]; then
|
|
||||||
ln -sf bash "${ROOT}"/bin/sh
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,214 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.2_p39.ebuild,v 1.1 2012/11/02 18:07:22 vapier Exp $
|
|
||||||
|
|
||||||
EAPI="1"
|
|
||||||
|
|
||||||
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 ~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
|
|
||||||
cd "${S}"
|
|
||||||
|
|
||||||
# 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_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
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="${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
|
|
||||||
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}
|
|
||||||
emake || die
|
|
||||||
|
|
||||||
if use plugins ; then
|
|
||||||
emake -C examples/loadables all others || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake install DESTDIR="${D}" || die
|
|
||||||
|
|
||||||
dodir /bin
|
|
||||||
mv "${D}"/usr/bin/bash "${D}"/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[@]}" \
|
|
||||||
"${D}"/etc/skel/.bashrc \
|
|
||||||
"${D}"/etc/bash/bashrc || die
|
|
||||||
|
|
||||||
if use plugins ; then
|
|
||||||
exeinto /usr/$(get_libdir)/bash
|
|
||||||
doexe $(echo examples/loadables/*.o | sed 's:\.o::g') || die
|
|
||||||
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 ${ROOT}/etc/bashrc ]] && [[ ! -d ${ROOT}/etc/bash ]] ; then
|
|
||||||
mkdir -p "${ROOT}"/etc/bash
|
|
||||||
mv -f "${ROOT}"/etc/bashrc "${ROOT}"/etc/bash/
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ -L ${ROOT}/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 "${ROOT}"/bin/sh)
|
|
||||||
local tmp=$(emktemp "${ROOT}"/bin)
|
|
||||||
ln -sf "${target}" "${tmp}"
|
|
||||||
mv -f "${tmp}" "${ROOT}"/bin/sh
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
# If /bin/sh does not exist, provide it
|
|
||||||
if [[ ! -e ${ROOT}/bin/sh ]]; then
|
|
||||||
ln -sf bash "${ROOT}"/bin/sh
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,219 +0,0 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.2_p42.ebuild,v 1.2 2013/01/31 05:25:11 vapier Exp $
|
|
||||||
|
|
||||||
EAPI="1"
|
|
||||||
|
|
||||||
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 ~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
|
|
||||||
cd "${S}"
|
|
||||||
|
|
||||||
# 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-speed-up-read-N.patch
|
|
||||||
|
|
||||||
epatch_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
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="${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}
|
|
||||||
emake || die
|
|
||||||
|
|
||||||
if use plugins ; then
|
|
||||||
emake -C examples/loadables all others || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake install DESTDIR="${D}" || die
|
|
||||||
|
|
||||||
dodir /bin
|
|
||||||
mv "${D}"/usr/bin/bash "${D}"/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[@]}" \
|
|
||||||
"${D}"/etc/skel/.bashrc \
|
|
||||||
"${D}"/etc/bash/bashrc || die
|
|
||||||
|
|
||||||
if use plugins ; then
|
|
||||||
exeinto /usr/$(get_libdir)/bash
|
|
||||||
doexe $(echo examples/loadables/*.o | sed 's:\.o::g') || die
|
|
||||||
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 ${ROOT}/etc/bashrc ]] && [[ ! -d ${ROOT}/etc/bash ]] ; then
|
|
||||||
mkdir -p "${ROOT}"/etc/bash
|
|
||||||
mv -f "${ROOT}"/etc/bashrc "${ROOT}"/etc/bash/
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ -L ${ROOT}/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 "${ROOT}"/bin/sh)
|
|
||||||
local tmp=$(emktemp "${ROOT}"/bin)
|
|
||||||
ln -sf "${target}" "${tmp}"
|
|
||||||
mv -f "${tmp}" "${ROOT}"/bin/sh
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
# If /bin/sh does not exist, provide it
|
|
||||||
if [[ ! -e ${ROOT}/bin/sh ]]; then
|
|
||||||
ln -sf bash "${ROOT}"/bin/sh
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,21 +0,0 @@
|
|||||||
https://bugs.gentoo.org/412867
|
|
||||||
http://lists.gnu.org/archive/html/bug-bash/2012-04/msg00134.html
|
|
||||||
|
|
||||||
From: Andreas Schwab <schwab@linux-m68k.org>
|
|
||||||
To: Mike Frysinger <vapier@gentoo.org>
|
|
||||||
Cc: bug-bash@gnu.org
|
|
||||||
Subject: Re: string replace with multibyte chars and extglob fails with bash-4.2
|
|
||||||
|
|
||||||
diff --git a/subst.c b/subst.c
|
|
||||||
index 9feaa9c..ebd5138 100644
|
|
||||||
--- a/subst.c
|
|
||||||
+++ b/subst.c
|
|
||||||
@@ -4161,7 +4161,7 @@ match_wpattern (wstring, indices, wstrlen, wpat, mtype, sp, ep)
|
|
||||||
simple = (wpat[0] != L'\\' && wpat[0] != L'*' && wpat[0] != L'?' && wpat[0] != L'[');
|
|
||||||
#if defined (EXTENDED_GLOB)
|
|
||||||
if (extended_glob)
|
|
||||||
- simple |= (wpat[1] != L'(' || (wpat[0] != L'*' && wpat[0] != L'?' && wpat[0] != L'+' && wpat[0] != L'!' && wpat[0] != L'@')); /*)*/
|
|
||||||
+ simple &= (wpat[1] != L'(' || (wpat[0] != L'*' && wpat[0] != L'?' && wpat[0] != L'+' && wpat[0] != L'!' && wpat[0] != L'@')); /*)*/
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* If the pattern doesn't match anywhere in the string, go ahead and
|
|
@ -1,30 +0,0 @@
|
|||||||
http://lists.gnu.org/archive/html/bug-bash/2011-04/msg00058.html
|
|
||||||
http://bugs.gentoo.org/363371
|
|
||||||
|
|
||||||
*** ../bash-4.2-patched/print_cmd.c 2010-05-30 18:34:08.000000000 -0400
|
|
||||||
--- print_cmd.c 2011-04-14 10:43:18.000000000 -0400
|
|
||||||
***************
|
|
||||||
*** 316,319 ****
|
|
||||||
--- 317,321 ----
|
|
||||||
skip_this_indent++;
|
|
||||||
make_command_string_internal (command->value.Subshell->command);
|
|
||||||
+ PRINT_DEFERRED_HEREDOCS ("");
|
|
||||||
cprintf (" )");
|
|
||||||
break;
|
|
||||||
***************
|
|
||||||
*** 593,596 ****
|
|
||||||
--- 606,610 ----
|
|
||||||
indentation += indentation_amount;
|
|
||||||
make_command_string_internal (arith_for_command->action);
|
|
||||||
+ PRINT_DEFERRED_HEREDOCS ("");
|
|
||||||
semicolon ();
|
|
||||||
indentation -= indentation_amount;
|
|
||||||
***************
|
|
||||||
*** 654,657 ****
|
|
||||||
--- 668,672 ----
|
|
||||||
|
|
||||||
make_command_string_internal (group_command->command);
|
|
||||||
+ PRINT_DEFERRED_HEREDOCS ("");
|
|
||||||
|
|
||||||
if (inside_function_def)
|
|
||||||
|
|
@ -0,0 +1,33 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-lang/opendylan-bin/opendylan-bin-2013.2.ebuild,v 1.1 2014/01/07 05:28:34 patrick Exp $
|
||||||
|
EAPI=4
|
||||||
|
|
||||||
|
DESCRIPTION="OpenDylan language runtime environment (prebuilt)"
|
||||||
|
|
||||||
|
MY_PN="opendylan"
|
||||||
|
MY_P="${MY_PN}-${PV}"
|
||||||
|
HOMEPAGE="http://opendylan.org"
|
||||||
|
SRC_URI="amd64? ( http://opendylan.org/downloads/${MY_PN}/${PV}/${MY_P}-x86_64-linux.tar.bz2 )
|
||||||
|
x86? ( http://opendylan.org/downloads/${MY_PN}/${PV}/${MY_P}-x86-linux.tar.bz2 )"
|
||||||
|
LICENSE="Opendylan"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~x86 ~amd64"
|
||||||
|
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND="dev-libs/boehm-gc"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
S=${WORKDIR}/${MY_P}
|
||||||
|
|
||||||
|
src_configure() { :; }
|
||||||
|
src_compile() { :; }
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
# this is a precompiled tarball
|
||||||
|
mkdir -p "${D}/opt/${MY_P}"
|
||||||
|
cp -ar "${S}"/* "${D}/opt/${MY_P}" || die "Failed to copy stuff"
|
||||||
|
mkdir -p "${D}/etc/env.d/opendylan"
|
||||||
|
echo "export PATH=/opt/opendylan-2013.2/bin:\$PATH" > "${D}/etc/env.d/opendylan/99-opendylan-bin" || die "Failed to add env settings"
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST opendylan-2013.1-sources.tar.bz2 8441356 SHA256 69cb884d2d07a96a6793ec0f782566924e40aa8660256ddf94f0703c96f1edf5 SHA512 f5168bb9a4d2bcd372667406f2f07ed5972f3e773a5766c5f74421d6ffd10901a43cf9d6604ad2ae14d80f1b84e856f4fdca3e1546a87053939f470005a87a2f WHIRLPOOL ed6a4804c29399e65f3fbc2785f5909f3a649521de798452fb2e5ba34542806fc628383257d9198fa8338d8407c90be321d790ceffa0ee896c6ce0ceb347c528
|
DIST opendylan-2013.1-sources.tar.bz2 8441356 SHA256 69cb884d2d07a96a6793ec0f782566924e40aa8660256ddf94f0703c96f1edf5 SHA512 f5168bb9a4d2bcd372667406f2f07ed5972f3e773a5766c5f74421d6ffd10901a43cf9d6604ad2ae14d80f1b84e856f4fdca3e1546a87053939f470005a87a2f WHIRLPOOL ed6a4804c29399e65f3fbc2785f5909f3a649521de798452fb2e5ba34542806fc628383257d9198fa8338d8407c90be321d790ceffa0ee896c6ce0ceb347c528
|
||||||
|
DIST opendylan-2013.2-sources.tar.bz2 9174284 SHA256 0bac4ca80d25f33a5bb06ebd8f0f1bf1fa6ae0000a8c0748bb5799e65986028d SHA512 f846a1d80f78b887815d2f2983314dbf6b5f424164dba9bc6ac456b40f31ab02aeb073a447df8f02b3fad6bcf6401a889abaac400d58db8e0adebcdd4e177a4d WHIRLPOOL ac6554e51b7e67af4adb13f34c8973a789816008ce071bac564dcc907e7f92e8b74d48d351023c2b80e36ec04e4018227b6dcde4f0e172a4a5debe81708589ac
|
||||||
|
@ -0,0 +1,106 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-lang/opendylan/opendylan-2013.2.ebuild,v 1.1 2014/01/07 06:53:10 patrick Exp $
|
||||||
|
EAPI=4
|
||||||
|
|
||||||
|
inherit autotools
|
||||||
|
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
DESCRIPTION="OpenDylan language runtime environment"
|
||||||
|
|
||||||
|
HOMEPAGE="http://opendylan.org"
|
||||||
|
SRC_URI="http://opendylan.org/downloads/${PN}/${PV}/${P}-sources.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="Opendylan"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
# not tested on x86
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
# the boehm-gc check is "wrong" and reported upstream
|
||||||
|
# but for now static-libs useflag is needed
|
||||||
|
DEPEND="app-arch/unzip
|
||||||
|
dev-libs/boehm-gc
|
||||||
|
dev-lang/perl
|
||||||
|
dev-perl/XML-Parser
|
||||||
|
|| ( dev-lang/opendylan-bin dev-lang/opendylan )
|
||||||
|
x86? ( <dev-libs/mps-1.108 )"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
# on x86 there's a dependency on mps, but the build system is a bit ... hmm ...
|
||||||
|
# let's give it more of a chance to survive then
|
||||||
|
NAUGHTY_FILES=(
|
||||||
|
sources/lib/run-time/collector.c.malloc
|
||||||
|
sources/lib/run-time/collector.c
|
||||||
|
sources/lib/run-time/pentium-win32/buffalo-collector.c
|
||||||
|
sources/lib/run-time/pentium-win32/heap-stats.c
|
||||||
|
sources/lib/run-time/heap-utils.h
|
||||||
|
)
|
||||||
|
|
||||||
|
NAUGHTY_HEADERS=(
|
||||||
|
mps.h
|
||||||
|
mpscmv.h
|
||||||
|
mpscamc.h
|
||||||
|
mpsavm.h
|
||||||
|
)
|
||||||
|
|
||||||
|
S="${WORKDIR}/${PN}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
mkdir -p build-aux
|
||||||
|
elibtoolize && eaclocal || die "Fail"
|
||||||
|
automake --foreign --add-missing # this one dies wrongfully
|
||||||
|
eautoconf || die "Fail"
|
||||||
|
# mps headers, included wrong
|
||||||
|
if use x86; then
|
||||||
|
for i in ${NAUGHTY_FILES[@]}; do
|
||||||
|
for header in ${NAUGHTY_HEADERS[@]}; do
|
||||||
|
sed -i -e "s:\"${header}\":<${header}>:" $i
|
||||||
|
done
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
if has_version =dev-lang/opendylan-bin-2013.2; then
|
||||||
|
PATH=/opt/opendylan-2013.2/bin/:$PATH
|
||||||
|
elif has_version =dev-lang/opendylan-bin-2013.1; then
|
||||||
|
PATH=/opt/opendylan-2013.1/bin/:$PATH
|
||||||
|
elif has_version =dev-lang/opendylan-bin-2012.1; then
|
||||||
|
PATH=/opt/opendylan-2012.1/bin/:$PATH
|
||||||
|
elif has_version =dev-lang/opendylan-bin-2011.1; then
|
||||||
|
PATH=/opt/opendylan-2011.1/bin/:$PATH
|
||||||
|
else
|
||||||
|
PATH=/opt/opendylan/bin:$PATH
|
||||||
|
fi
|
||||||
|
if use amd64; then
|
||||||
|
econf --prefix=/opt/opendylan || die
|
||||||
|
else
|
||||||
|
econf --prefix=/opt/opendylan --with-mps=/usr/include/mps/ || die
|
||||||
|
fi
|
||||||
|
if use x86; then
|
||||||
|
# Includedir, pointing at something wrong
|
||||||
|
sed -i -e 's:-I$(MPS)/code:-I$(MPS):' sources/lib/run-time/pentium-linux/Makefile || die "Couldn't fix mps path"
|
||||||
|
sed -i -e 's~(cd $(MPS)/code; make -f lii4gc.gmk mmdw.a)~:;~' sources/lib/run-time/pentium-linux/Makefile || die "Couldn't fix mps building"
|
||||||
|
sed -i -e 's~(cd $(MPS)/code; make -f lii4gc.gmk mpsplan.a)~:;~' sources/lib/run-time/pentium-linux/Makefile || die "Couldn't fix mps building"
|
||||||
|
sed -i -e 's~$(MPS_LIB)/mpsplan.a~/usr/lib/mpsplan.a~' sources/lib/run-time/pentium-linux/Makefile || die "Couldn't fix mps clone"
|
||||||
|
sed -i -e 's~$(MPS_LIB)/mmdw.a~/usr/lib/mmdw.a~' sources/lib/run-time/pentium-linux/Makefile || die "Couldn't fix mps clone"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
ulimit -s 32000 # this is naughty build system
|
||||||
|
emake -j1 3-stage-bootstrap || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
ulimit -s 32000 # this is naughty build system
|
||||||
|
# because of Makefile weirdness it rebuilds quite a bit here
|
||||||
|
# upstream has been notified
|
||||||
|
emake -j1 DESTDIR="${D}" install
|
||||||
|
mkdir -p "${D}/etc/env.d/opendylan/"
|
||||||
|
echo "export PATH=/opt/opendylan/bin:\$PATH" > "${D}/etc/env.d/opendylan/99-opendylan" || die "Failed to add env settings"
|
||||||
|
}
|
@ -0,0 +1,199 @@
|
|||||||
|
diff --git a/js/src/Makefile.in b/js/src/Makefile.in
|
||||||
|
index 4944d31..4176e14 100644
|
||||||
|
--- a/js/src/Makefile.in
|
||||||
|
+++ b/js/src/Makefile.in
|
||||||
|
@@ -237,12 +237,17 @@ endif
|
||||||
|
# ICU headers need to be available whether we build with the complete
|
||||||
|
# Internationalization API or not - ICU stubs rely on them.
|
||||||
|
|
||||||
|
+ifdef MOZ_NATIVE_ICU
|
||||||
|
+LOCAL_INCLUDES += $(MOZ_ICU_CFLAGS)
|
||||||
|
+else
|
||||||
|
LOCAL_INCLUDES += \
|
||||||
|
-I$(topsrcdir)/../../intl/icu/source/common \
|
||||||
|
-I$(topsrcdir)/../../intl/icu/source/i18n \
|
||||||
|
$(NULL)
|
||||||
|
+endif
|
||||||
|
|
||||||
|
ifdef ENABLE_INTL_API
|
||||||
|
+ifndef MOZ_NATIVE_ICU
|
||||||
|
|
||||||
|
ifeq ($(OS_ARCH),WINNT)
|
||||||
|
# Parallel gmake is buggy on Windows
|
||||||
|
@@ -271,6 +276,7 @@ distclean clean::
|
||||||
|
$(call SUBMAKE,$@,intl/icu)
|
||||||
|
|
||||||
|
endif
|
||||||
|
+endif
|
||||||
|
|
||||||
|
#
|
||||||
|
# END ECMAScript Internationalization API
|
||||||
|
@@ -403,7 +409,11 @@ ifneq (,$(MOZ_ZLIB_LIBS)$(MOZ_GLUE_LDFLAGS))
|
||||||
|
DEFINES += -DUSE_ZLIB
|
||||||
|
endif
|
||||||
|
|
||||||
|
-SHARED_LIBRARY_LIBS += $(ICU_LIBS)
|
||||||
|
+ifdef MOZ_NATIVE_ICU
|
||||||
|
+EXTRA_DSO_LDOPTS += $(MOZ_ICU_LIBS)
|
||||||
|
+else
|
||||||
|
+SHARED_LIBRARY_LIBS += $(MOZ_ICU_LIBS)
|
||||||
|
+endif
|
||||||
|
|
||||||
|
# Prevent floating point errors caused by VC++ optimizations
|
||||||
|
ifdef _MSC_VER
|
||||||
|
diff --git a/js/src/config/Makefile.in b/js/src/config/Makefile.in
|
||||||
|
index 5f60d15..e1fe1f8 100644
|
||||||
|
--- a/js/src/config/Makefile.in
|
||||||
|
+++ b/js/src/config/Makefile.in
|
||||||
|
@@ -59,6 +59,7 @@ export:: \
|
||||||
|
$(call mkdir_deps,system_wrappers_js) \
|
||||||
|
$(NULL)
|
||||||
|
$(PYTHON) $(srcdir)/Preprocessor.py $(DEFINES) $(ACDEFINES) \
|
||||||
|
+ -DMOZ_NATIVE_ICU=$(MOZ_NATIVE_ICU) \
|
||||||
|
$(srcdir)/system-headers | $(PERL) $(srcdir)/make-system-wrappers.pl system_wrappers_js
|
||||||
|
$(INSTALL) system_wrappers_js $(DIST)
|
||||||
|
|
||||||
|
diff --git a/js/src/config/system-headers b/js/src/config/system-headers
|
||||||
|
index b52aed6..1ca7420 100644
|
||||||
|
--- a/js/src/config/system-headers
|
||||||
|
+++ b/js/src/config/system-headers
|
||||||
|
@@ -1132,3 +1132,14 @@ kvm.h
|
||||||
|
spawn.h
|
||||||
|
err.h
|
||||||
|
xlocale.h
|
||||||
|
+#if MOZ_NATIVE_ICU==1
|
||||||
|
+unicode/locid.h
|
||||||
|
+unicode/numsys.h
|
||||||
|
+unicode/ucal.h
|
||||||
|
+unicode/ucol.h
|
||||||
|
+unicode/udat.h
|
||||||
|
+unicode/udatpg.h
|
||||||
|
+unicode/uenum.h
|
||||||
|
+unicode/unum.h
|
||||||
|
+unicode/ustring.h
|
||||||
|
+#endif
|
||||||
|
diff --git a/js/src/configure.in b/js/src/configure.in
|
||||||
|
index 4bccbe3..d535491 100644
|
||||||
|
--- a/js/src/configure.in
|
||||||
|
+++ b/js/src/configure.in
|
||||||
|
@@ -4409,6 +4409,16 @@ fi
|
||||||
|
dnl ========================================================
|
||||||
|
dnl ECMAScript Internationalization API Support (uses ICU)
|
||||||
|
dnl ========================================================
|
||||||
|
+ICU_LIB_NAMES=
|
||||||
|
+MOZ_NATIVE_ICU=
|
||||||
|
+MOZ_ARG_WITH_BOOL(system-icu,
|
||||||
|
+[ --with-system-icu
|
||||||
|
+ Use system icu (located with pkgconfig)],
|
||||||
|
+ MOZ_NATIVE_ICU=1)
|
||||||
|
+
|
||||||
|
+if test -n "$MOZ_NATIVE_ICU"; then
|
||||||
|
+ PKG_CHECK_MODULES(MOZ_ICU, icu-i18n >= 50.1)
|
||||||
|
+fi
|
||||||
|
|
||||||
|
if test -n "$JS_STANDALONE"; then
|
||||||
|
ENABLE_INTL_API=1
|
||||||
|
@@ -4421,37 +4431,34 @@ MOZ_ARG_ENABLE_BOOL(intl-api,
|
||||||
|
dnl Settings for the implementation of the ECMAScript Internationalization API
|
||||||
|
if test -n "$ENABLE_INTL_API"; then
|
||||||
|
AC_DEFINE(ENABLE_INTL_API)
|
||||||
|
- # We build ICU as a static library.
|
||||||
|
- AC_DEFINE(U_STATIC_IMPLEMENTATION)
|
||||||
|
-
|
||||||
|
- case "$OS_TARGET" in
|
||||||
|
- WINNT)
|
||||||
|
- ICU_LIB_NAMES="icuin icuuc icudt"
|
||||||
|
- ;;
|
||||||
|
- Darwin|Linux)
|
||||||
|
- ICU_LIB_NAMES="icui18n icuuc icudata"
|
||||||
|
- ;;
|
||||||
|
- *)
|
||||||
|
- AC_MSG_ERROR([ECMAScript Internationalization API is not yet supported on this platform])
|
||||||
|
- esac
|
||||||
|
-
|
||||||
|
- ICU_LIBS='$(call EXPAND_LIBNAME_PATH,$(ICU_LIB_NAMES),$(DEPTH)/intl/icu/lib)'
|
||||||
|
-else
|
||||||
|
- ICU_LIB_NAMES=
|
||||||
|
- ICU_LIBS=
|
||||||
|
+ if test -z "$MOZ_NATIVE_ICU"; then
|
||||||
|
+ case "$OS_TARGET" in
|
||||||
|
+ WINNT)
|
||||||
|
+ ICU_LIB_NAMES="icuin icuuc icudt"
|
||||||
|
+ ;;
|
||||||
|
+ Darwin|Linux|DragonFly|FreeBSD|NetBSD|OpenBSD)
|
||||||
|
+ ICU_LIB_NAMES="icui18n icuuc icudata"
|
||||||
|
+ ;;
|
||||||
|
+ *)
|
||||||
|
+ AC_MSG_ERROR([ECMAScript Internationalization API is not yet supported on this platform])
|
||||||
|
+ esac
|
||||||
|
+ MOZ_ICU_LIBS='$(call EXPAND_LIBNAME_PATH,$(ICU_LIB_NAMES),$(DEPTH)/intl/icu/lib)'
|
||||||
|
+ fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_SUBST(ENABLE_INTL_API)
|
||||||
|
AC_SUBST(ICU_LIB_NAMES)
|
||||||
|
-AC_SUBST(ICU_LIBS)
|
||||||
|
-
|
||||||
|
-dnl Source files that use ICU should have control over which parts of the ICU
|
||||||
|
-dnl namespace they want to use.
|
||||||
|
-AC_DEFINE(U_USING_ICU_NAMESPACE,0)
|
||||||
|
-
|
||||||
|
+AC_SUBST(MOZ_ICU_LIBS)
|
||||||
|
+AC_SUBST(MOZ_NATIVE_ICU)
|
||||||
|
|
||||||
|
dnl Settings for ICU
|
||||||
|
-if test -n "$ENABLE_INTL_API" ; then
|
||||||
|
+if test -n "$ENABLE_INTL_API" -a -z "$MOZ_NATIVE_ICU"; then
|
||||||
|
+ dnl We build ICU as a static library.
|
||||||
|
+ AC_DEFINE(U_STATIC_IMPLEMENTATION)
|
||||||
|
+
|
||||||
|
+ dnl Source files that use ICU should have control over which parts of the ICU
|
||||||
|
+ dnl namespace they want to use.
|
||||||
|
+ AC_DEFINE(U_USING_ICU_NAMESPACE,0)
|
||||||
|
# Set ICU compile options
|
||||||
|
ICU_CPPFLAGS=""
|
||||||
|
# don't use icu namespace automatically in client code
|
||||||
|
diff --git a/js/src/gdb/Makefile.in b/js/src/gdb/Makefile.in
|
||||||
|
index 288934a..a582dfe 100644
|
||||||
|
--- a/js/src/gdb/Makefile.in
|
||||||
|
+++ b/js/src/gdb/Makefile.in
|
||||||
|
@@ -19,6 +19,10 @@ LIBS = $(DEPTH)/$(LIB_PREFIX)js_static.$(LIB_SUFFIX) $(NSPR_LIBS) $(MOZ_ZLIB_LIB
|
||||||
|
|
||||||
|
LOCAL_INCLUDES += -I$(topsrcdir) -I..
|
||||||
|
|
||||||
|
+ifdef MOZ_NATIVE_ICU
|
||||||
|
+EXTRA_LIBS += $(MOZ_ICU_LIBS)
|
||||||
|
+endif
|
||||||
|
+
|
||||||
|
EXTRA_LIBS += $(MOZ_FFI_LIBS)
|
||||||
|
|
||||||
|
# Place a GDB Python auto-load file next to the gdb-tests executable, both
|
||||||
|
diff --git a/js/src/jsapi-tests/Makefile.in b/js/src/jsapi-tests/Makefile.in
|
||||||
|
index 5f7d594..10d7054 100644
|
||||||
|
--- a/js/src/jsapi-tests/Makefile.in
|
||||||
|
+++ b/js/src/jsapi-tests/Makefile.in
|
||||||
|
@@ -20,6 +20,10 @@ LIBS = $(DEPTH)/$(LIB_PREFIX)js_static.$(LIB_SUFFIX) $(NSPR_LIBS) $(MOZ_ZLI
|
||||||
|
|
||||||
|
LOCAL_INCLUDES += -I$(topsrcdir) -I..
|
||||||
|
|
||||||
|
+ifdef MOZ_NATIVE_ICU
|
||||||
|
+EXTRA_LIBS += $(MOZ_ICU_LIBS)
|
||||||
|
+endif
|
||||||
|
+
|
||||||
|
EXTRA_LIBS += $(MOZ_FFI_LIBS)
|
||||||
|
|
||||||
|
ifdef QEMU_EXE
|
||||||
|
diff --git a/js/src/shell/Makefile.in b/js/src/shell/Makefile.in
|
||||||
|
index 2e1df09..db66c69 100644
|
||||||
|
--- a/js/src/shell/Makefile.in
|
||||||
|
+++ b/js/src/shell/Makefile.in
|
||||||
|
@@ -27,6 +27,9 @@ LIBS = $(NSPR_LIBS) $(EDITLINE_LIBS) $(DEPTH)/$(LIB_PREFIX)js_static.$(LIB_
|
||||||
|
ifdef MOZ_NATIVE_FFI
|
||||||
|
EXTRA_LIBS += $(MOZ_FFI_LIBS)
|
||||||
|
endif
|
||||||
|
+ifdef MOZ_NATIVE_ICU
|
||||||
|
+EXTRA_LIBS += $(MOZ_ICU_LIBS)
|
||||||
|
+endif
|
||||||
|
|
||||||
|
LOCAL_INCLUDES += -I$(topsrcdir) -I..
|
||||||
|
|
@ -1,79 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/spidermonkey-1.8.2.15-r1.ebuild,v 1.2 2012/05/03 02:41:39 jdhore Exp $
|
|
||||||
|
|
||||||
EAPI="3"
|
|
||||||
inherit eutils toolchain-funcs multilib python
|
|
||||||
|
|
||||||
MY_PV="${PV}"
|
|
||||||
MY_PV="${MY_PV/1.8.2/3.6}"
|
|
||||||
DESCRIPTION="Stand-alone JavaScript C library"
|
|
||||||
HOMEPAGE="http://www.mozilla.org/js/spidermonkey/"
|
|
||||||
REL_URI="http://releases.mozilla.org/pub/mozilla.org/firefox/releases"
|
|
||||||
SRC_URI="${REL_URI}/${MY_PV}/source/firefox-${MY_PV}.source.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="NPL-1.1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x64-macos ~x86-macos"
|
|
||||||
IUSE="threadsafe"
|
|
||||||
|
|
||||||
S="${WORKDIR}/mozilla-1.9.2"
|
|
||||||
BUILDDIR="${S}/js/src"
|
|
||||||
|
|
||||||
RDEPEND="threadsafe? ( >=dev-libs/nspr-4.8.6 )"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
app-arch/zip
|
|
||||||
=dev-lang/python-2*[threads]
|
|
||||||
virtual/pkgconfig"
|
|
||||||
|
|
||||||
pkg_setup(){
|
|
||||||
python_set_active_version 2
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}/${PN}-1.9.2.13-as-needed.patch"
|
|
||||||
|
|
||||||
epatch_user
|
|
||||||
|
|
||||||
cd "${S}"
|
|
||||||
if [[ ${CHOST} == *-freebsd* ]]; then
|
|
||||||
# Don't try to be smart, this does not work in cross-compile anyway
|
|
||||||
ln -s "${BUILDDIR}/config/Linux_All.mk" "${S}/config/$(uname -s)$(uname -r).mk"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
cd ${BUILDDIR}
|
|
||||||
|
|
||||||
local myconf
|
|
||||||
|
|
||||||
if use threadsafe ; then
|
|
||||||
myconf="${myconf} --with-system-nspr \
|
|
||||||
--enable-threadsafe"
|
|
||||||
fi
|
|
||||||
# Disable no-print-directory
|
|
||||||
MAKEOPTS=${MAKEOPTS/--no-print-directory/}
|
|
||||||
|
|
||||||
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" PYTHON="$(PYTHON)" econf \
|
|
||||||
${myconf}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
cd ${BUILDDIR}
|
|
||||||
emake -j1 || die "emake failed";
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cd ${BUILDDIR}
|
|
||||||
emake install DESTDIR="${D}" || die
|
|
||||||
dobin shell/js ||die
|
|
||||||
dodoc ../jsd/README
|
|
||||||
dohtml README.html
|
|
||||||
|
|
||||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
|
||||||
# fixup install_name
|
|
||||||
install_name_tool -id "${EPREFIX}"/usr/$(get_libdir)/libmozjs.dylib \
|
|
||||||
"${ED}"/usr/$(get_libdir)/libmozjs.dylib || die
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,78 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/spidermonkey-1.8.2.15.ebuild,v 1.3 2012/05/03 02:41:39 jdhore Exp $
|
|
||||||
|
|
||||||
EAPI="3"
|
|
||||||
inherit eutils toolchain-funcs multilib python
|
|
||||||
|
|
||||||
MY_PV="${PV}"
|
|
||||||
MY_PV="${MY_PV/1.8.2/3.6}"
|
|
||||||
DESCRIPTION="Stand-alone JavaScript C library"
|
|
||||||
HOMEPAGE="http://www.mozilla.org/js/spidermonkey/"
|
|
||||||
REL_URI="http://releases.mozilla.org/pub/mozilla.org/firefox/releases"
|
|
||||||
SRC_URI="${REL_URI}/${MY_PV}/source/firefox-${MY_PV}.source.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="NPL-1.1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="alpha amd64 ~arm ppc ppc64 sparc x86 ~x86-fbsd ~x64-macos ~x86-macos"
|
|
||||||
IUSE="threadsafe"
|
|
||||||
|
|
||||||
S="${WORKDIR}/mozilla-1.9.2"
|
|
||||||
BUILDDIR="${S}/js/src"
|
|
||||||
|
|
||||||
RDEPEND="threadsafe? ( >=dev-libs/nspr-4.8.6 )"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
app-arch/zip
|
|
||||||
=dev-lang/python-2*[threads]
|
|
||||||
virtual/pkgconfig"
|
|
||||||
|
|
||||||
pkg_setup(){
|
|
||||||
python_set_active_version 2
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}/${PN}-1.9.2.13-as-needed.patch"
|
|
||||||
|
|
||||||
epatch_user
|
|
||||||
|
|
||||||
cd "${S}"
|
|
||||||
if [[ ${CHOST} == *-freebsd* ]]; then
|
|
||||||
# Don't try to be smart, this does not work in cross-compile anyway
|
|
||||||
ln -s "${BUILDDIR}/config/Linux_All.mk" "${S}/config/$(uname -s)$(uname -r).mk"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
cd ${BUILDDIR}
|
|
||||||
|
|
||||||
local myconf
|
|
||||||
|
|
||||||
if use threadsafe ; then
|
|
||||||
myconf="${myconf} --with-system-nspr \
|
|
||||||
--enable-threadsafe"
|
|
||||||
fi
|
|
||||||
# Disable no-print-directory
|
|
||||||
MAKEOPTS=${MAKEOPTS/--no-print-directory/}
|
|
||||||
|
|
||||||
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" PYTHON="$(PYTHON)" econf \
|
|
||||||
${myconf}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
cd ${BUILDDIR}
|
|
||||||
emake -j1 || die "emake failed";
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cd ${BUILDDIR}
|
|
||||||
emake install DESTDIR="${D}" || die
|
|
||||||
dodoc ../jsd/README
|
|
||||||
dohtml README.html
|
|
||||||
|
|
||||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
|
||||||
# fixup install_name
|
|
||||||
install_name_tool -id "${EPREFIX}"/usr/$(get_libdir)/libmozjs.dylib \
|
|
||||||
"${ED}"/usr/$(get_libdir)/libmozjs.dylib || die
|
|
||||||
fi
|
|
||||||
}
|
|
@ -0,0 +1,132 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/spidermonkey-24.2.0.ebuild,v 1.1 2014/01/06 20:18:19 axs Exp $
|
||||||
|
|
||||||
|
EAPI="5"
|
||||||
|
WANT_AUTOCONF="2.1"
|
||||||
|
PYTHON_COMPAT=( python2_{6,7} )
|
||||||
|
PYTHON_REQ_USE="threads"
|
||||||
|
inherit autotools eutils toolchain-funcs multilib python-any-r1 versionator pax-utils
|
||||||
|
|
||||||
|
MY_PN="mozjs"
|
||||||
|
MY_P="${MY_PN}-${PV/_/.}"
|
||||||
|
DESCRIPTION="Stand-alone JavaScript C library"
|
||||||
|
HOMEPAGE="http://www.mozilla.org/js/spidermonkey/"
|
||||||
|
SRC_URI="https://ftp.mozilla.org/pub/mozilla.org/js/${MY_P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="NPL-1.1"
|
||||||
|
SLOT="24"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||||
|
IUSE="debug icu jit minimal static-libs +system-icu test"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P%.rc*}"
|
||||||
|
BUILDDIR="${S}/js/src"
|
||||||
|
|
||||||
|
RDEPEND=">=dev-libs/nspr-4.9.4
|
||||||
|
virtual/libffi
|
||||||
|
system-icu? ( >=dev-libs/icu-1.51 )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
app-arch/zip
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
pkg_setup(){
|
||||||
|
if [[ ${MERGE_TYPE} != "binary" ]]; then
|
||||||
|
python-any-r1_pkg_setup
|
||||||
|
export LC_ALL="C"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
epatch "${FILESDIR}"/${PN}-${SLOT}-system-icu.patch
|
||||||
|
epatch_user
|
||||||
|
|
||||||
|
if [[ ${CHOST} == *-freebsd* ]]; then
|
||||||
|
# Don't try to be smart, this does not work in cross-compile anyway
|
||||||
|
ln -sfn "${BUILDDIR}/config/Linux_All.mk" "${S}/config/$(uname -s)$(uname -r).mk" || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd "${BUILDDIR}" || die
|
||||||
|
eautoconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
cd "${BUILDDIR}" || die
|
||||||
|
|
||||||
|
local myopts=""
|
||||||
|
if use icu; then # make sure system-icu flag only affects icu-enabled build
|
||||||
|
myopts+="$(use_with system-icu)"
|
||||||
|
else
|
||||||
|
myopts+="--without-system-icu"
|
||||||
|
fi
|
||||||
|
|
||||||
|
CC="$(tc-getCC)" CXX="$(tc-getCXX)" \
|
||||||
|
AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" \
|
||||||
|
LD="$(tc-getLD)" \
|
||||||
|
econf \
|
||||||
|
${myopts} \
|
||||||
|
--enable-jemalloc \
|
||||||
|
--enable-readline \
|
||||||
|
--enable-threadsafe \
|
||||||
|
--with-system-nspr \
|
||||||
|
--enable-system-ffi \
|
||||||
|
--enable-jemalloc \
|
||||||
|
$(use_enable icu intl-api) \
|
||||||
|
$(use_enable debug) \
|
||||||
|
$(use_enable jit tracejit) \
|
||||||
|
$(use_enable jit methodjit) \
|
||||||
|
$(use_enable static-libs static) \
|
||||||
|
$(use_enable test tests)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
cd "${BUILDDIR}" || die
|
||||||
|
if tc-is-cross-compiler; then
|
||||||
|
make CFLAGS="" CXXFLAGS="" \
|
||||||
|
CC=$(tc-getBUILD_CC) CXX=$(tc-getBUILD_CXX) \
|
||||||
|
AR=$(tc-getBUILD_AR) RANLIB=$(tc-getBUILD_RANLIB) \
|
||||||
|
jscpucfg host_jsoplengen host_jskwgen || die
|
||||||
|
make CFLAGS="" CXXFLAGS="" \
|
||||||
|
CC=$(tc-getBUILD_CC) CXX=$(tc-getBUILD_CXX) \
|
||||||
|
AR=$(tc-getBUILD_AR) RANLIB=$(tc-getBUILD_RANLIB) \
|
||||||
|
-C config nsinstall || die
|
||||||
|
mv {,native-}jscpucfg || die
|
||||||
|
mv {,native-}host_jskwgen || die
|
||||||
|
mv {,native-}host_jsoplengen || die
|
||||||
|
mv config/{,native-}nsinstall || die
|
||||||
|
sed -e 's@./jscpucfg@./native-jscpucfg@' \
|
||||||
|
-e 's@./host_jskwgen@./native-host_jskwgen@' \
|
||||||
|
-e 's@./host_jsoplengen@./native-host_jsoplengen@' \
|
||||||
|
-i Makefile || die
|
||||||
|
sed -e 's@/nsinstall@/native-nsinstall@' -i config/config.mk || die
|
||||||
|
rm -f config/host_nsinstall.o \
|
||||||
|
config/host_pathsub.o \
|
||||||
|
host_jskwgen.o \
|
||||||
|
host_jsoplengen.o || die
|
||||||
|
fi
|
||||||
|
emake
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
cd "${BUILDDIR}/jsapi-tests" || die
|
||||||
|
emake check
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cd "${BUILDDIR}" || die
|
||||||
|
emake DESTDIR="${D}" install
|
||||||
|
|
||||||
|
if ! use minimal; then
|
||||||
|
if use jit; then
|
||||||
|
pax-mark m "${ED}/usr/bin/js${SLOT}"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
rm -f "${ED}/usr/bin/js${SLOT}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! use static-libs; then
|
||||||
|
# We can't actually disable building of static libraries
|
||||||
|
# They're used by the tests and in a few other places
|
||||||
|
find "${D}" -iname '*.a' -delete || die
|
||||||
|
fi
|
||||||
|
}
|
@ -1,103 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/yap/yap-6.3.0.ebuild,v 1.4 2012/06/06 03:17:38 zmedico Exp $
|
|
||||||
|
|
||||||
EAPI=2
|
|
||||||
|
|
||||||
inherit eutils flag-o-matic java-pkg-opt-2 multilib
|
|
||||||
|
|
||||||
PATCHSET_VER="1"
|
|
||||||
|
|
||||||
DESCRIPTION="YAP is a high-performance Prolog compiler."
|
|
||||||
HOMEPAGE="http://www.dcc.fc.up.pt/~vsc/Yap/"
|
|
||||||
SRC_URI="http://www.dcc.fc.up.pt/~vsc/Yap/${P}.tar.gz
|
|
||||||
mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Artistic LGPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~ppc ~x86"
|
|
||||||
IUSE="debug doc examples gmp java mpi mysql odbc readline static threads"
|
|
||||||
|
|
||||||
RDEPEND="sys-libs/zlib
|
|
||||||
gmp? ( dev-libs/gmp )
|
|
||||||
java? ( >=virtual/jdk-1.4 )
|
|
||||||
mpi? ( virtual/mpi )
|
|
||||||
mysql? ( virtual/mysql )
|
|
||||||
odbc? ( dev-db/unixODBC )
|
|
||||||
readline? ( sys-libs/readline sys-libs/ncurses )"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
doc? ( app-text/texi2html )"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
cd "${WORKDIR}"
|
|
||||||
EPATCH_FORCE=yes
|
|
||||||
EPATCH_SUFFIX=patch
|
|
||||||
epatch "${WORKDIR}"/${PV}
|
|
||||||
rm -rf "${S}"/yap || die "failed to remove yap xcode project"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
append-flags -fno-strict-aliasing
|
|
||||||
|
|
||||||
local myddas_conf
|
|
||||||
if use mysql || use odbc; then
|
|
||||||
myddas_conf="--enable-myddas"
|
|
||||||
else
|
|
||||||
myddas_conf="--disable-myddas"
|
|
||||||
fi
|
|
||||||
|
|
||||||
econf \
|
|
||||||
--libdir=/usr/$(get_libdir) \
|
|
||||||
$(use_enable !static dynamic-loading) \
|
|
||||||
$(use_enable threads) \
|
|
||||||
$(use_enable threads pthread-locking) \
|
|
||||||
$(use_enable debug debug-yap) \
|
|
||||||
$(use_enable debug low-level-tracer) \
|
|
||||||
$(use_with gmp) \
|
|
||||||
$(use_with readline) \
|
|
||||||
$(use_with mpi) \
|
|
||||||
$(use_with mpi mpe) \
|
|
||||||
$(use_with java) \
|
|
||||||
${myddas_conf}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake || die "emake failed"
|
|
||||||
|
|
||||||
if use doc ; then
|
|
||||||
emake html || die "emake html failed"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install || die "make install failed."
|
|
||||||
|
|
||||||
dodoc changes*.html README || die
|
|
||||||
|
|
||||||
if use doc ; then
|
|
||||||
dodoc yap.html || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use examples ; then
|
|
||||||
insinto /usr/share/doc/${PF}/examples/chr
|
|
||||||
doins packages/chr/Examples/* || die
|
|
||||||
insinto /usr/share/doc/${PF}/examples/clib
|
|
||||||
doins packages/clib/demo/* || die
|
|
||||||
insinto /usr/share/doc/${PF}/examples/http
|
|
||||||
doins -r packages/http/examples/* || die
|
|
||||||
insinto /usr/share/doc/${PF}/examples/plunit
|
|
||||||
doins packages/plunit/examples/* || die
|
|
||||||
if use java ; then
|
|
||||||
insinto /usr/share/doc/${PF}/examples/jpl/prolog
|
|
||||||
doins packages/jpl/examples/prolog/* || die
|
|
||||||
insinto /usr/share/doc/${PF}/examples/jpl/java
|
|
||||||
doins packages/jpl/examples/java/README || die
|
|
||||||
doins -r packages/jpl/examples/java/*/*.{java,pl} || die
|
|
||||||
fi
|
|
||||||
if use mpi ; then
|
|
||||||
insinto /usr/share/doc/${PF}/examples/mpi
|
|
||||||
doins library/mpi/examples/*.pl || die
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,107 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/yap/yap-6.3.1.ebuild,v 1.1 2012/06/23 07:05:14 keri Exp $
|
|
||||||
|
|
||||||
EAPI=2
|
|
||||||
|
|
||||||
inherit eutils flag-o-matic java-pkg-opt-2 multilib
|
|
||||||
|
|
||||||
PATCHSET_VER="0"
|
|
||||||
|
|
||||||
DESCRIPTION="YAP is a high-performance Prolog compiler."
|
|
||||||
HOMEPAGE="http://www.dcc.fc.up.pt/~vsc/Yap/"
|
|
||||||
SRC_URI="http://www.dcc.fc.up.pt/~vsc/Yap/${P}.tar.gz
|
|
||||||
mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Artistic LGPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~ppc ~x86"
|
|
||||||
IUSE="R debug doc examples gmp java mpi mysql odbc readline static threads"
|
|
||||||
|
|
||||||
RDEPEND="sys-libs/zlib
|
|
||||||
gmp? ( dev-libs/gmp )
|
|
||||||
java? ( >=virtual/jdk-1.4 )
|
|
||||||
mpi? ( virtual/mpi )
|
|
||||||
mysql? ( virtual/mysql )
|
|
||||||
odbc? ( dev-db/unixODBC )
|
|
||||||
readline? ( sys-libs/readline sys-libs/ncurses )
|
|
||||||
R? ( dev-lang/R )"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
doc? ( app-text/texi2html )"
|
|
||||||
|
|
||||||
S="${WORKDIR}"/${PN}-6.3
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
cd "${WORKDIR}"
|
|
||||||
EPATCH_FORCE=yes
|
|
||||||
EPATCH_SUFFIX=patch
|
|
||||||
epatch "${WORKDIR}"/${PV}
|
|
||||||
rm -rf "${S}"/yap || die "failed to remove yap xcode project"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
append-flags -fno-strict-aliasing
|
|
||||||
|
|
||||||
local myddas_conf
|
|
||||||
if use mysql || use odbc; then
|
|
||||||
myddas_conf="--enable-myddas"
|
|
||||||
else
|
|
||||||
myddas_conf="--disable-myddas"
|
|
||||||
fi
|
|
||||||
|
|
||||||
econf \
|
|
||||||
--libdir=/usr/$(get_libdir) \
|
|
||||||
$(use_enable !static dynamic-loading) \
|
|
||||||
$(use_enable threads) \
|
|
||||||
$(use_enable threads pthread-locking) \
|
|
||||||
$(use_enable debug debug-yap) \
|
|
||||||
$(use_enable debug low-level-tracer) \
|
|
||||||
$(use_with gmp) \
|
|
||||||
$(use_with readline) \
|
|
||||||
$(use_with mpi) \
|
|
||||||
$(use_with mpi mpe) \
|
|
||||||
$(use_with java) \
|
|
||||||
$(use_with R) \
|
|
||||||
${myddas_conf}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake || die "emake failed"
|
|
||||||
|
|
||||||
if use doc ; then
|
|
||||||
emake html || die "emake html failed"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install || die "make install failed."
|
|
||||||
|
|
||||||
dodoc changes*.html README || die
|
|
||||||
|
|
||||||
if use doc ; then
|
|
||||||
dodoc yap.html || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use examples ; then
|
|
||||||
insinto /usr/share/doc/${PF}/examples/chr
|
|
||||||
doins packages/chr/Examples/* || die
|
|
||||||
insinto /usr/share/doc/${PF}/examples/clib
|
|
||||||
doins packages/clib/demo/* || die
|
|
||||||
insinto /usr/share/doc/${PF}/examples/http
|
|
||||||
doins -r packages/http/examples/* || die
|
|
||||||
insinto /usr/share/doc/${PF}/examples/plunit
|
|
||||||
doins packages/plunit/examples/* || die
|
|
||||||
if use java ; then
|
|
||||||
insinto /usr/share/doc/${PF}/examples/jpl/prolog
|
|
||||||
doins packages/jpl/examples/prolog/* || die
|
|
||||||
insinto /usr/share/doc/${PF}/examples/jpl/java
|
|
||||||
doins packages/jpl/examples/java/README || die
|
|
||||||
doins -r packages/jpl/examples/java/*/*.{java,pl} || die
|
|
||||||
fi
|
|
||||||
if use mpi ; then
|
|
||||||
insinto /usr/share/doc/${PF}/examples/mpi
|
|
||||||
doins library/mpi/examples/*.pl || die
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,2 +1,2 @@
|
|||||||
DIST libclc-0.0.1_pre20130524.tar.xz 19892 SHA256 bee14b0ab07d681df77130242cea177fc451d5feea0abe7e5ccaa27b6ef98b4c SHA512 035086b2eda58b7de131b532ad3e03b6a1f47e24155d60027e286bd49b7e18f0e8cbe554cce98986d41f88fddee0c33befd445c2c7085d455857da398ea11ddd WHIRLPOOL 4b80255fc5d4b22f09c16b700e2e9fe43b5ed23fde7829bed5653430a1c597612b214da801ca407d94b3bd7b38d285f8ced493f8b3299c9cc6ba93cddaa1492c
|
DIST libclc-0.0.1_pre20131010.tar.xz 24316 SHA256 6bc84cc2fffd49eeaee361071f7c3038384b901ef3d86daf704eede18baa7743 SHA512 f52bff8cd65ddc48d89c3143d2d5f123cb77fa85bd5891be62168735888b66c90d398f7e3a1c37f4c435a581d87b61a885f1bcc0e8932563700d6206d52ba48d WHIRLPOOL 030d41136a1ef25761971a9b484b6003b06e725b77be24202c223d1b80bc0853a4849e3fa68151aad1d21f3abed8c8c41fe2c9bba2fd2c8e01e9dc430696077c
|
||||||
DIST libclc-0.0.1_pre20130819.tar.xz 22576 SHA256 50528ff15ffdc95a4fbae63c25de297afb3151229cb3709b927ab18e1f004d65 SHA512 9faa402155131bf326b8a28194af95292f3fb35c770dce8a5542e5b106cae63377cc8c3f22bf21a1cdd8a05d8d383c3278d9d5c794213bc54b558901c81ce011 WHIRLPOOL a382af3ee92a33a0142965e169cf756a7f507d0e011cf60201cfe5d08a866f5da77eed0a373f6a5dd6330159ded497642c4ae086e17668fbb40e53d227241a17
|
DIST libclc-0.0.1_pre20140101.tar.xz 27528 SHA256 990820e918a14b6ef2941ce44e2dca0c6a4025dda8a299af7da8c75bdc40a409 SHA512 460ff4e0c06116000f5f91e35e6118eb117c91b1678473fd25512924e3095693cdd1024db69f9f361c744254df5c2bf8c209096fbad15f48915f3cdd3159ea84 WHIRLPOOL c0753f27925336b45591d2e5d4cda30a685d85629fdcb5dbb8110f59306bed3cdee701c6312ec7da56e1c943a50bdc301d7c59e6b1155bbc1d6da03fb305e0a7
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libclc/libclc-0.0.1_pre20130819-r1.ebuild,v 1.1 2013/10/13 07:18:48 mgorny Exp $
|
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libclc/libclc-0.0.1_pre20131010.ebuild,v 1.1 2014/01/06 16:49:36 chithanh Exp $
|
||||||
|
|
||||||
EAPI=5
|
EAPI=5
|
||||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
PYTHON_COMPAT=( python{2_6,2_7} )
|
@ -0,0 +1,356 @@
|
|||||||
|
Forward-ported from openssl-1.0.1e-perl-5.18.patch
|
||||||
|
Fixes install with perl-5.18.
|
||||||
|
|
||||||
|
https://bugs.gentoo.org/show_bug.cgi?id=497286
|
||||||
|
|
||||||
|
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
|
||||||
|
|
||||||
|
--- openssl-1.0.1f/doc/apps/cms.pod
|
||||||
|
+++ openssl-1.0.1f/doc/apps/cms.pod
|
||||||
|
@@ -450,28 +450,28 @@
|
||||||
|
|
||||||
|
=over 4
|
||||||
|
|
||||||
|
-=item 0
|
||||||
|
+=item C<0>
|
||||||
|
|
||||||
|
the operation was completely successfully.
|
||||||
|
|
||||||
|
-=item 1
|
||||||
|
+=item C<1>
|
||||||
|
|
||||||
|
an error occurred parsing the command options.
|
||||||
|
|
||||||
|
-=item 2
|
||||||
|
+=item C<2>
|
||||||
|
|
||||||
|
one of the input files could not be read.
|
||||||
|
|
||||||
|
-=item 3
|
||||||
|
+=item C<3>
|
||||||
|
|
||||||
|
an error occurred creating the CMS file or when reading the MIME
|
||||||
|
message.
|
||||||
|
|
||||||
|
-=item 4
|
||||||
|
+=item C<4>
|
||||||
|
|
||||||
|
an error occurred decrypting or verifying the message.
|
||||||
|
|
||||||
|
-=item 5
|
||||||
|
+=item C<5>
|
||||||
|
|
||||||
|
the message was verified correctly but an error occurred writing out
|
||||||
|
the signers certificates.
|
||||||
|
--- openssl-1.0.1f/doc/apps/smime.pod
|
||||||
|
+++ openssl-1.0.1f/doc/apps/smime.pod
|
||||||
|
@@ -308,28 +308,28 @@
|
||||||
|
|
||||||
|
=over 4
|
||||||
|
|
||||||
|
-=item 0
|
||||||
|
+=item C<0>
|
||||||
|
|
||||||
|
the operation was completely successfully.
|
||||||
|
|
||||||
|
-=item 1
|
||||||
|
+=item C<1>
|
||||||
|
|
||||||
|
an error occurred parsing the command options.
|
||||||
|
|
||||||
|
-=item 2
|
||||||
|
+=item C<2>
|
||||||
|
|
||||||
|
one of the input files could not be read.
|
||||||
|
|
||||||
|
-=item 3
|
||||||
|
+=item C<3>
|
||||||
|
|
||||||
|
an error occurred creating the PKCS#7 file or when reading the MIME
|
||||||
|
message.
|
||||||
|
|
||||||
|
-=item 4
|
||||||
|
+=item C<4>
|
||||||
|
|
||||||
|
an error occurred decrypting or verifying the message.
|
||||||
|
|
||||||
|
-=item 5
|
||||||
|
+=item C<5>
|
||||||
|
|
||||||
|
the message was verified correctly but an error occurred writing out
|
||||||
|
the signers certificates.
|
||||||
|
--- openssl-1.0.1f/doc/ssl/SSL_accept.pod
|
||||||
|
+++ openssl-1.0.1f/doc/ssl/SSL_accept.pod
|
||||||
|
@@ -44,13 +44,13 @@
|
||||||
|
|
||||||
|
=over 4
|
||||||
|
|
||||||
|
-=item 0
|
||||||
|
+=item C<0>
|
||||||
|
|
||||||
|
The TLS/SSL handshake was not successful but was shut down controlled and
|
||||||
|
by the specifications of the TLS/SSL protocol. Call SSL_get_error() with the
|
||||||
|
return value B<ret> to find out the reason.
|
||||||
|
|
||||||
|
-=item 1
|
||||||
|
+=item C<1>
|
||||||
|
|
||||||
|
The TLS/SSL handshake was successfully completed, a TLS/SSL connection has been
|
||||||
|
established.
|
||||||
|
--- openssl-1.0.1f/doc/ssl/SSL_clear.pod
|
||||||
|
+++ openssl-1.0.1f/doc/ssl/SSL_clear.pod
|
||||||
|
@@ -56,12 +56,12 @@
|
||||||
|
|
||||||
|
=over 4
|
||||||
|
|
||||||
|
-=item 0
|
||||||
|
+=item C<0>
|
||||||
|
|
||||||
|
The SSL_clear() operation could not be performed. Check the error stack to
|
||||||
|
find out the reason.
|
||||||
|
|
||||||
|
-=item 1
|
||||||
|
+=item C<1>
|
||||||
|
|
||||||
|
The SSL_clear() operation was successful.
|
||||||
|
|
||||||
|
--- openssl-1.0.1f/doc/ssl/SSL_COMP_add_compression_method.pod
|
||||||
|
+++ openssl-1.0.1f/doc/ssl/SSL_COMP_add_compression_method.pod
|
||||||
|
@@ -53,11 +53,11 @@
|
||||||
|
|
||||||
|
=over 4
|
||||||
|
|
||||||
|
-=item 0
|
||||||
|
+=item C<0>
|
||||||
|
|
||||||
|
The operation succeeded.
|
||||||
|
|
||||||
|
-=item 1
|
||||||
|
+=item C<1>
|
||||||
|
|
||||||
|
The operation failed. Check the error queue to find out the reason.
|
||||||
|
|
||||||
|
--- openssl-1.0.1f/doc/ssl/SSL_connect.pod
|
||||||
|
+++ openssl-1.0.1f/doc/ssl/SSL_connect.pod
|
||||||
|
@@ -41,13 +41,13 @@
|
||||||
|
|
||||||
|
=over 4
|
||||||
|
|
||||||
|
-=item 0
|
||||||
|
+=item C<0>
|
||||||
|
|
||||||
|
The TLS/SSL handshake was not successful but was shut down controlled and
|
||||||
|
by the specifications of the TLS/SSL protocol. Call SSL_get_error() with the
|
||||||
|
return value B<ret> to find out the reason.
|
||||||
|
|
||||||
|
-=item 1
|
||||||
|
+=item C<1>
|
||||||
|
|
||||||
|
The TLS/SSL handshake was successfully completed, a TLS/SSL connection has been
|
||||||
|
established.
|
||||||
|
--- openssl-1.0.1f/doc/ssl/SSL_CTX_add_session.pod
|
||||||
|
+++ openssl-1.0.1f/doc/ssl/SSL_CTX_add_session.pod
|
||||||
|
@@ -52,13 +52,13 @@
|
||||||
|
|
||||||
|
=over 4
|
||||||
|
|
||||||
|
-=item 0
|
||||||
|
+=item C<0>
|
||||||
|
|
||||||
|
The operation failed. In case of the add operation, it was tried to add
|
||||||
|
the same (identical) session twice. In case of the remove operation, the
|
||||||
|
session was not found in the cache.
|
||||||
|
|
||||||
|
-=item 1
|
||||||
|
+=item C<1>
|
||||||
|
|
||||||
|
The operation succeeded.
|
||||||
|
|
||||||
|
--- openssl-1.0.1f/doc/ssl/SSL_CTX_load_verify_locations.pod
|
||||||
|
+++ openssl-1.0.1f/doc/ssl/SSL_CTX_load_verify_locations.pod
|
||||||
|
@@ -100,13 +100,13 @@
|
||||||
|
|
||||||
|
=over 4
|
||||||
|
|
||||||
|
-=item 0
|
||||||
|
+=item C<0>
|
||||||
|
|
||||||
|
The operation failed because B<CAfile> and B<CApath> are NULL or the
|
||||||
|
processing at one of the locations specified failed. Check the error
|
||||||
|
stack to find out the reason.
|
||||||
|
|
||||||
|
-=item 1
|
||||||
|
+=item C<1>
|
||||||
|
|
||||||
|
The operation succeeded.
|
||||||
|
|
||||||
|
--- openssl-1.0.1f/doc/ssl/SSL_CTX_set_client_CA_list.pod
|
||||||
|
+++ openssl-1.0.1f/doc/ssl/SSL_CTX_set_client_CA_list.pod
|
||||||
|
@@ -66,13 +66,13 @@
|
||||||
|
|
||||||
|
=over 4
|
||||||
|
|
||||||
|
-=item 0
|
||||||
|
+=item C<0>
|
||||||
|
|
||||||
|
A failure while manipulating the STACK_OF(X509_NAME) object occurred or
|
||||||
|
the X509_NAME could not be extracted from B<cacert>. Check the error stack
|
||||||
|
to find out the reason.
|
||||||
|
|
||||||
|
-=item 1
|
||||||
|
+=item C<1>
|
||||||
|
|
||||||
|
The operation succeeded.
|
||||||
|
|
||||||
|
--- openssl-1.0.1f/doc/ssl/SSL_CTX_set_session_id_context.pod
|
||||||
|
+++ openssl-1.0.1f/doc/ssl/SSL_CTX_set_session_id_context.pod
|
||||||
|
@@ -64,13 +64,13 @@
|
||||||
|
|
||||||
|
=over 4
|
||||||
|
|
||||||
|
-=item 0
|
||||||
|
+=item C<0>
|
||||||
|
|
||||||
|
The length B<sid_ctx_len> of the session id context B<sid_ctx> exceeded
|
||||||
|
the maximum allowed length of B<SSL_MAX_SSL_SESSION_ID_LENGTH>. The error
|
||||||
|
is logged to the error stack.
|
||||||
|
|
||||||
|
-=item 1
|
||||||
|
+=item C<1>
|
||||||
|
|
||||||
|
The operation succeeded.
|
||||||
|
|
||||||
|
--- openssl-1.0.1f/doc/ssl/SSL_CTX_set_ssl_version.pod
|
||||||
|
+++ openssl-1.0.1f/doc/ssl/SSL_CTX_set_ssl_version.pod
|
||||||
|
@@ -42,11 +42,11 @@
|
||||||
|
|
||||||
|
=over 4
|
||||||
|
|
||||||
|
-=item 0
|
||||||
|
+=item C<0>
|
||||||
|
|
||||||
|
The new choice failed, check the error stack to find out the reason.
|
||||||
|
|
||||||
|
-=item 1
|
||||||
|
+=item C<1>
|
||||||
|
|
||||||
|
The operation succeeded.
|
||||||
|
|
||||||
|
--- openssl-1.0.1f/doc/ssl/SSL_CTX_use_psk_identity_hint.pod
|
||||||
|
+++ openssl-1.0.1f/doc/ssl/SSL_CTX_use_psk_identity_hint.pod
|
||||||
|
@@ -96,7 +96,7 @@
|
||||||
|
connection will fail with decryption_error before it will be finished
|
||||||
|
completely.
|
||||||
|
|
||||||
|
-=item 0
|
||||||
|
+=item C<0>
|
||||||
|
|
||||||
|
PSK identity was not found. An "unknown_psk_identity" alert message
|
||||||
|
will be sent and the connection setup fails.
|
||||||
|
--- openssl-1.0.1f/doc/ssl/SSL_do_handshake.pod
|
||||||
|
+++ openssl-1.0.1f/doc/ssl/SSL_do_handshake.pod
|
||||||
|
@@ -45,13 +45,13 @@
|
||||||
|
|
||||||
|
=over 4
|
||||||
|
|
||||||
|
-=item 0
|
||||||
|
+=item C<0>
|
||||||
|
|
||||||
|
The TLS/SSL handshake was not successful but was shut down controlled and
|
||||||
|
by the specifications of the TLS/SSL protocol. Call SSL_get_error() with the
|
||||||
|
return value B<ret> to find out the reason.
|
||||||
|
|
||||||
|
-=item 1
|
||||||
|
+=item C<1>
|
||||||
|
|
||||||
|
The TLS/SSL handshake was successfully completed, a TLS/SSL connection has been
|
||||||
|
established.
|
||||||
|
--- openssl-1.0.1f/doc/ssl/SSL_read.pod
|
||||||
|
+++ openssl-1.0.1f/doc/ssl/SSL_read.pod
|
||||||
|
@@ -86,7 +86,7 @@
|
||||||
|
The read operation was successful; the return value is the number of
|
||||||
|
bytes actually read from the TLS/SSL connection.
|
||||||
|
|
||||||
|
-=item 0
|
||||||
|
+=item C<0>
|
||||||
|
|
||||||
|
The read operation was not successful. The reason may either be a clean
|
||||||
|
shutdown due to a "close notify" alert sent by the peer (in which case
|
||||||
|
--- openssl-1.0.1f/doc/ssl/SSL_session_reused.pod
|
||||||
|
+++ openssl-1.0.1f/doc/ssl/SSL_session_reused.pod
|
||||||
|
@@ -27,11 +27,11 @@
|
||||||
|
|
||||||
|
=over 4
|
||||||
|
|
||||||
|
-=item 0
|
||||||
|
+=item C<0>
|
||||||
|
|
||||||
|
A new session was negotiated.
|
||||||
|
|
||||||
|
-=item 1
|
||||||
|
+=item C<1>
|
||||||
|
|
||||||
|
A session was reused.
|
||||||
|
|
||||||
|
--- openssl-1.0.1f/doc/ssl/SSL_set_fd.pod
|
||||||
|
+++ openssl-1.0.1f/doc/ssl/SSL_set_fd.pod
|
||||||
|
@@ -35,11 +35,11 @@
|
||||||
|
|
||||||
|
=over 4
|
||||||
|
|
||||||
|
-=item 0
|
||||||
|
+=item C<0>
|
||||||
|
|
||||||
|
The operation failed. Check the error stack to find out why.
|
||||||
|
|
||||||
|
-=item 1
|
||||||
|
+=item C<1>
|
||||||
|
|
||||||
|
The operation succeeded.
|
||||||
|
|
||||||
|
--- openssl-1.0.1f/doc/ssl/SSL_set_session.pod
|
||||||
|
+++ openssl-1.0.1f/doc/ssl/SSL_set_session.pod
|
||||||
|
@@ -37,11 +37,11 @@
|
||||||
|
|
||||||
|
=over 4
|
||||||
|
|
||||||
|
-=item 0
|
||||||
|
+=item C<0>
|
||||||
|
|
||||||
|
The operation failed; check the error stack to find out the reason.
|
||||||
|
|
||||||
|
-=item 1
|
||||||
|
+=item C<1>
|
||||||
|
|
||||||
|
The operation succeeded.
|
||||||
|
|
||||||
|
--- openssl-1.0.1f/doc/ssl/SSL_shutdown.pod
|
||||||
|
+++ openssl-1.0.1f/doc/ssl/SSL_shutdown.pod
|
||||||
|
@@ -92,14 +92,14 @@
|
||||||
|
|
||||||
|
=over 4
|
||||||
|
|
||||||
|
-=item 0
|
||||||
|
+=item C<0>
|
||||||
|
|
||||||
|
The shutdown is not yet finished. Call SSL_shutdown() for a second time,
|
||||||
|
if a bidirectional shutdown shall be performed.
|
||||||
|
The output of L<SSL_get_error(3)|SSL_get_error(3)> may be misleading, as an
|
||||||
|
erroneous SSL_ERROR_SYSCALL may be flagged even though no error occurred.
|
||||||
|
|
||||||
|
-=item 1
|
||||||
|
+=item C<1>
|
||||||
|
|
||||||
|
The shutdown was successfully completed. The "close notify" alert was sent
|
||||||
|
and the peer's "close notify" alert was received.
|
||||||
|
--- openssl-1.0.1f/doc/ssl/SSL_write.pod
|
||||||
|
+++ openssl-1.0.1f/doc/ssl/SSL_write.pod
|
||||||
|
@@ -79,7 +79,7 @@
|
||||||
|
The write operation was successful, the return value is the number of
|
||||||
|
bytes actually written to the TLS/SSL connection.
|
||||||
|
|
||||||
|
-=item 0
|
||||||
|
+=item C<0>
|
||||||
|
|
||||||
|
The write operation was not successful. Probably the underlying connection
|
||||||
|
was closed. Call SSL_get_error() with the return value B<ret> to find out,
|
@ -0,0 +1 @@
|
|||||||
|
DIST phpcov-1.1.0.phar 3552394 SHA256 f2294bdbd305486b3c2b85d6a6f0906fcd4ecf125867988607670438db34446f SHA512 690a66afacca15a9851c0d13b7ee449a928a9862dd7e0b88ef4f0da6a9ad9663d087c2225d822f9fbb0afd08a881f44d7bd64c069d29c598293eb423aa6b30cb WHIRLPOOL 8816d9d66fcdc94909649ec8cbcdd883827107432ff58b4ea964f20d648044d3edb66102acc13f0b68e1a55d21fd6d97a36dd18a16cf8d2c173a5dd00cae5c8c
|
@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<herd>php</herd>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,31 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-php/phpcov/phpcov-1.1.0.ebuild,v 1.1 2014/01/06 20:11:43 mabi Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
DESCRIPTION="CLI frontend for PHP_CodeCoverage"
|
||||||
|
HOMEPAGE="https://github.com/sebastianbergmann/phpcov"
|
||||||
|
SRC_URI="https://phar.phpunit.de/${P}.phar"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~hppa ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND="dev-lang/php[phar]
|
||||||
|
dev-php/xdebug"
|
||||||
|
|
||||||
|
S="${WORKDIR}"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto /usr/share/php/${PN}
|
||||||
|
insopts -m755
|
||||||
|
newins "${DISTDIR}"/${P}.phar "${PN}.phar"
|
||||||
|
dosym /usr/share/php/${PN}/${PN}.phar /usr/bin/${PN}
|
||||||
|
}
|
@ -1 +1 @@
|
|||||||
DIST PHPTAL-1.2.1.tar.gz 149448 SHA256 44cd4fc8ae696cb9c68d4dc1f58a592dc3de943b73834b990b9cc18564e1b992 SHA512 460ec50bc91bcfce038134dea1511cd253099b449c9196a02daf81ffa8db238f4edfe8dc9e30961b0f5ef9243a1f3bb742df497e32a5df5f7460616163952d5c WHIRLPOOL b741618b3a2960c7ded4c0cc9a3b6ab1c66c42bd83dd57c988e4de8dc0f09b5d71c7e202cc163371074984d83bbbb77351e5c3b0d62b5ba79ed29544aeb6cb7e
|
DIST PHPTAL-1.2.2.tar.gz 163248 SHA256 3ebe48671ecf183cec47459beba6e2d2ca3ae6ebb296d0ea074bb95e9034bd17 SHA512 7af41180bccbc81481a48f474b1d2c811ba678706f85045611ff1e69c3ee820e27e6cf17ea58ec562120dcdaae1cf3d91f606a13b5c262906ceba7570b092d9b WHIRLPOOL e7aebed0a8e31613655b91161b82b6aad116af6e7564676ab3475d1c478023beabf072164af03e1259a6d50a2fb4fd1811258613439d64d60d1984d07e443cc7
|
||||||
|
@ -1,33 +0,0 @@
|
|||||||
# Copyright 1999-2010 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/phptal/phptal-1.2.1.ebuild,v 1.1 2011/03/05 09:38:39 olemarkus Exp $
|
|
||||||
|
|
||||||
EAPI="2"
|
|
||||||
inherit depend.php
|
|
||||||
|
|
||||||
MY_P="PHPTAL-${PV}"
|
|
||||||
DESCRIPTION="A templating engine for PHP5 that implements Zope Page Templates syntax"
|
|
||||||
HOMEPAGE="http://phptal.org/"
|
|
||||||
SRC_URI="http://phptal.org/files/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND=""
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
need_php_by_category
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
has_php
|
|
||||||
|
|
||||||
insinto /usr/share/php5/${PN}
|
|
||||||
doins -r PHPTAL
|
|
||||||
doins PHPTAL.php phptal_lint.php
|
|
||||||
|
|
||||||
dodoc-php README
|
|
||||||
}
|
|
@ -0,0 +1,29 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-php/phptal/phptal-1.2.2.ebuild,v 1.1 2014/01/06 17:26:14 mabi Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
PHP_LIB_NAME="PHPTAL"
|
||||||
|
|
||||||
|
DESCRIPTION="A templating engine for PHP5 that implements Zope Page Templates syntax"
|
||||||
|
HOMEPAGE="http://phptal.org/"
|
||||||
|
SRC_URI="http://phptal.org/files/${PHP_LIB_NAME}-${PV}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND="dev-lang/php"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${PHP_LIB_NAME}-${PV}"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto /usr/share/php/${PN}
|
||||||
|
doins -r "${PHP_LIB_NAME}"
|
||||||
|
doins PHPTAL.php phptal_lint.php
|
||||||
|
|
||||||
|
dodoc README
|
||||||
|
}
|
@ -0,0 +1,31 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-python/argh/argh-0.24.1.ebuild,v 1.1 2014/01/07 07:29:31 patrick Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="A simple argparse wrapper"
|
||||||
|
HOMEPAGE="http://packages.python.org/argh/"
|
||||||
|
SRC_URI="mirror://pypi/a/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
LICENSE="LGPL-3"
|
||||||
|
IUSE="test"
|
||||||
|
|
||||||
|
RDEPEND="virtual/python-argparse[${PYTHON_USEDEP}]"
|
||||||
|
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
|
test? (
|
||||||
|
dev-python/pytest[${PYTHON_USEDEP}]
|
||||||
|
dev-python/mock[${PYTHON_USEDEP}]
|
||||||
|
${RDEPEND}
|
||||||
|
)"
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
# setup.py tries to install argparse for some reason...
|
||||||
|
py.test || die "Tests fail with ${EPYTHON}"
|
||||||
|
}
|
@ -0,0 +1,26 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-login/flask-login-0.2.9.ebuild,v 1.1 2014/01/07 07:11:41 patrick Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
MY_PN="Flask-Login"
|
||||||
|
MY_P="${MY_PN}-${PV}"
|
||||||
|
|
||||||
|
DESCRIPTION="Login session support for Flask"
|
||||||
|
HOMEPAGE="http://pypi.python.org/pypi/Flask-Login"
|
||||||
|
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND=">=dev-python/flask-0.10[${PYTHON_USEDEP}]"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
@ -0,0 +1,45 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ptrace/python-ptrace-0.6.6.ebuild,v 1.1 2014/01/07 06:58:19 patrick Exp $
|
||||||
|
|
||||||
|
EAPI="3"
|
||||||
|
SUPPORT_PYTHON_ABIS="1"
|
||||||
|
|
||||||
|
inherit distutils eutils
|
||||||
|
|
||||||
|
DESCRIPTION="python-ptrace is a debugger using ptrace (Linux, BSD and Darwin system call to trace processes)."
|
||||||
|
HOMEPAGE="http://bitbucket.org/haypo/python-ptrace/ http://pypi.python.org/pypi/python-ptrace"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="examples"
|
||||||
|
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND="dev-libs/distorm64"
|
||||||
|
RESTRICT_PYTHON_ABIS="2.4"
|
||||||
|
|
||||||
|
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
|
||||||
|
PYTHON_MODNAME="ptrace"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
python_copy_sources
|
||||||
|
|
||||||
|
conversion() {
|
||||||
|
[[ "${PYTHON_ABI}" == 2.* ]] && return
|
||||||
|
|
||||||
|
2to3-${PYTHON_ABI} -w . > /dev/null || die "2to3 failed"
|
||||||
|
2to3-${PYTHON_ABI} -dw . > /dev/null || die "2to3 failed"
|
||||||
|
}
|
||||||
|
python_execute_function --action-message 'Applying patches for Python ${PYTHON_ABI}' --failure-message 'Applying patches for Python ${PYTHON_ABI} failed' -s conversion
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
distutils_src_install
|
||||||
|
|
||||||
|
if use examples; then
|
||||||
|
insinto usr/share/doc/${PF}/examples
|
||||||
|
doins examples/*
|
||||||
|
fi
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
DIST WeasyPrint-0.19.2.tar.gz 324312 SHA256 63fa62b40a5bd3a1f14887950f6f40d73fff752507cd41f0040606b3d5399ba4 SHA512 c491ec6788b164857265f11391148d761a737a47045288258f5584b277d58075e49384a9c0fa93ab849adbc1672684518039e2cc7bcf76b684dbab196f666166 WHIRLPOOL 3490b2724a0212a182eb2e9888f8fbec3b5173b0fcd5917ca51c963ea128c7071b59dd30f5b006628ccb3f8aa2f4e3dcc45eea8698182b77f597aacdfdf87198
|
DIST WeasyPrint-0.19.2.tar.gz 324312 SHA256 63fa62b40a5bd3a1f14887950f6f40d73fff752507cd41f0040606b3d5399ba4 SHA512 c491ec6788b164857265f11391148d761a737a47045288258f5584b277d58075e49384a9c0fa93ab849adbc1672684518039e2cc7bcf76b684dbab196f666166 WHIRLPOOL 3490b2724a0212a182eb2e9888f8fbec3b5173b0fcd5917ca51c963ea128c7071b59dd30f5b006628ccb3f8aa2f4e3dcc45eea8698182b77f597aacdfdf87198
|
||||||
|
DIST WeasyPrint-0.20.2.tar.gz 335787 SHA256 d523c3a7c995b626a64df922e41b5617f09c33434781844acb050841a4ebdeb5 SHA512 77cf029360f9d4eb0f27716db9bff61d2c6eddfa98f3d4727c7b66a0870dcc6b4f7b58c91898980f24bf589a35113a4e8a41e71bb944447117c08b881f529c45 WHIRLPOOL 5d50e726e63667a0397bf8f883eae73d4d096aa3901cf073330dfb1b4b9128085e46031b4fa579f0f49ce464f2fae71ab3587552945af00d1852e3e8d9f4463f
|
||||||
DIST WeasyPrint-0.20.tar.gz 335134 SHA256 2d144be4865046a15a423836209beaeeb93befe334e345ae75da7478c17d5616 SHA512 2ec6bca3b11f0421701bef260f10cb7f9d91dc15086414175192ca439a373f18bae6e54630b7a495368bfce63bd4beb5afcd9a858c7edddef09f6d397bc92df9 WHIRLPOOL a884ce4d4337d9148ed47f6f6a21fd23a6139ef7b5c51911451891c74c4a2a3b75d1e69f230e1dd92fa3cb7672d64f94ed8dc4769b84edf33e08d553bc34adb1
|
DIST WeasyPrint-0.20.tar.gz 335134 SHA256 2d144be4865046a15a423836209beaeeb93befe334e345ae75da7478c17d5616 SHA512 2ec6bca3b11f0421701bef260f10cb7f9d91dc15086414175192ca439a373f18bae6e54630b7a495368bfce63bd4beb5afcd9a858c7edddef09f6d397bc92df9 WHIRLPOOL a884ce4d4337d9148ed47f6f6a21fd23a6139ef7b5c51911451891c74c4a2a3b75d1e69f230e1dd92fa3cb7672d64f94ed8dc4769b84edf33e08d553bc34adb1
|
||||||
|
@ -0,0 +1,34 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-python/weasyprint/weasyprint-0.20.2.ebuild,v 1.1 2014/01/07 07:25:27 patrick Exp $
|
||||||
|
|
||||||
|
EAPI="5"
|
||||||
|
PYTHON_COMPAT=( python{2_7,3_2,3_3} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Visual rendering engine for HTML and CSS that can export to PDF."
|
||||||
|
MY_PN="WeasyPrint"
|
||||||
|
MY_P="${MY_PN}-${PV}"
|
||||||
|
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||||
|
HOMEPAGE="http://weasyprint.org"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="test"
|
||||||
|
|
||||||
|
RDEPEND="x11-libs/cairo
|
||||||
|
x11-libs/pango
|
||||||
|
media-gfx/cairosvg
|
||||||
|
dev-python/cffi[${PYTHON_USEDEP}]
|
||||||
|
dev-python/lxml[${PYTHON_USEDEP}]
|
||||||
|
dev-python/cairocffi[${PYTHON_USEDEP}]
|
||||||
|
dev-python/tinycss[${PYTHON_USEDEP}]
|
||||||
|
dev-python/cssselect[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyphen[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
# x11-libs/gdk-pixbuf # optional dep
|
||||||
|
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
@ -0,0 +1,41 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/maruku/maruku-0.7.0-r1.ebuild,v 1.1 2014/01/07 11:27:26 mrueg Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
USE_RUBY="ruby18 ruby19 ruby20 jruby"
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||||
|
RUBY_FAKEGEM_DOCDIR="doc"
|
||||||
|
RUBY_FAKEGEM_EXTRADOC="docs/div_syntax.md docs/entity_test.md
|
||||||
|
docs/markdown_syntax.md docs/maruku.md docs/math.md docs/other_stuff.md
|
||||||
|
docs/proposal.md"
|
||||||
|
RUBY_FAKEGEM_EXTRAINSTALL="data"
|
||||||
|
|
||||||
|
inherit ruby-fakegem
|
||||||
|
|
||||||
|
DESCRIPTION="A Markdown-superset interpreter written in Ruby."
|
||||||
|
HOMEPAGE="http://maruku.rubyforge.org/"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="highlight test"
|
||||||
|
|
||||||
|
ruby_add_rdepend "highlight? ( dev-ruby/syntax )
|
||||||
|
test? ( dev-ruby/nokogiri-diff )"
|
||||||
|
|
||||||
|
all_ruby_prepare() {
|
||||||
|
sed -i -e '/[Ss]imple[Cc]ov/ s:^:#:' spec/spec_helper.rb || die
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
elog
|
||||||
|
elog "You need to emerge app-text/texlive and dev-texlive/texlive-latexextra if"
|
||||||
|
elog "you want to use --pdf with Maruku. You may also want to emerge"
|
||||||
|
elog "dev-texlive/texlive-latexrecommended to enable LaTeX syntax highlighting."
|
||||||
|
elog
|
||||||
|
}
|
@ -1,4 +1,3 @@
|
|||||||
DIST cairo-1.10.2.gem 85504 SHA256 f5e4574155d29f2f31eec9adcc1ed39c70c82b55df4cc6596e7b6cc637f80af2 SHA512 0bcfefacc620f439570d0d88eaf8609109c280af4066f1a2bd2bdaba1dc55340747e23fdec3b58bcb7423229d034f3af95f3fcb3a5ed9be841fa6b3c60f14111 WHIRLPOOL 24397993793c6ea8cef2b6b2089619e63b50d25680bd338aa07032c504defa4f6e7c5250f40a38aae28c3e717344f733cd243c1776d634c0fdba9c4b1346d528
|
DIST cairo-1.10.2.gem 85504 SHA256 f5e4574155d29f2f31eec9adcc1ed39c70c82b55df4cc6596e7b6cc637f80af2 SHA512 0bcfefacc620f439570d0d88eaf8609109c280af4066f1a2bd2bdaba1dc55340747e23fdec3b58bcb7423229d034f3af95f3fcb3a5ed9be841fa6b3c60f14111 WHIRLPOOL 24397993793c6ea8cef2b6b2089619e63b50d25680bd338aa07032c504defa4f6e7c5250f40a38aae28c3e717344f733cd243c1776d634c0fdba9c4b1346d528
|
||||||
DIST cairo-1.12.3.gem 92672 SHA256 05bdb2ec7aa2c8d1c3c0f22e8f2076ac0773ade9f2ced5f36b6f69c313f86a9c SHA512 a1229a97a460bd0635ee87ffdaf308573e0919d0bea38af4695b93c25b6cdb41544409113b20ad6f0565027d6ded78c8850ef4c86ff93d4e6df2573e1b49de1a WHIRLPOOL e43d30bdba5867cfb5ee75af9c7d21bec015589ecc5d074cb1465ce2fa4c5ab53938c85f4d59804fbc9ea33b0d276892339f91040b0f05eb85279f51c37f3333
|
|
||||||
DIST cairo-1.12.4.gem 91648 SHA256 dfee48624c414cb40b16cff977480b3c0e7a244436c50f4f6f67cf8d1920c824 SHA512 2ecdf4f76b6bc5d7df34781510df3dbf7280eb51b590f725c83a47daf2cca1cdbb75482151da8092fa4a53f0ba5951cc6bcba0cef5b3d2adde5b23695ffda218 WHIRLPOOL 0ff836a9271827845d6bbe047b805c21659cb42001d920e8e355ca34883a0c0e6eaa5dca8e2d0d0692cfc17b3bd7b4b22e05af0f8620c1df6c4ac02b3442aeb7
|
|
||||||
DIST cairo-1.12.6.gem 94720 SHA256 a3eb6b3015e69748505c831bb200f177b7e8bef0113ee687f71d0bc52bf08bfd SHA512 1afd87d7ae34006b7079a87b5c1203974abe43a40aa72b1ccdc22bbd42428f2ff5314f66a6964ce92f7dfe27a816213996f8beb37dbd9155ded664c67487d585 WHIRLPOOL 8acac792335b13fdbab8a2f493e3ac689804db5ba70082b345a506e5559e703b866ab0d27e8d1df833fdc3efc06365f09feaf42300813835a4fa0cae3d7e8677
|
DIST cairo-1.12.6.gem 94720 SHA256 a3eb6b3015e69748505c831bb200f177b7e8bef0113ee687f71d0bc52bf08bfd SHA512 1afd87d7ae34006b7079a87b5c1203974abe43a40aa72b1ccdc22bbd42428f2ff5314f66a6964ce92f7dfe27a816213996f8beb37dbd9155ded664c67487d585 WHIRLPOOL 8acac792335b13fdbab8a2f493e3ac689804db5ba70082b345a506e5559e703b866ab0d27e8d1df833fdc3efc06365f09feaf42300813835a4fa0cae3d7e8677
|
||||||
|
DIST cairo-1.12.8.gem 95744 SHA256 d54bf54a719776b3ac12ce217331eb238f61f0d499d2936d5b2a58fbc2872cfb SHA512 c000a3f2546b6b0ac6d3dfd94321a85c72280284ff239b0c2927ad93ff8f665dbd098a84a7eb6414c9a208324b321a2d0143bc55067518d5e16451b471113906 WHIRLPOOL 6271bd601381d7602e34b8466b96464c6e880ad3444e6892ae4cf26750441999e66904dd07c8bf556d3d536e837fcb775abb2ea6e949b4506362753d34ea9144
|
||||||
|
@ -1,72 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/rcairo-1.12.3.ebuild,v 1.1 2012/12/25 09:15:25 graaff Exp $
|
|
||||||
|
|
||||||
EAPI=4
|
|
||||||
|
|
||||||
# jruby → cannot work, it's a compiled extension
|
|
||||||
USE_RUBY="ruby18 ree18 ruby19"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_NAME="cairo"
|
|
||||||
|
|
||||||
# Documentation depends on files that are not distributed.
|
|
||||||
RUBY_FAKEGEM_TASK_DOC=""
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_TASK_TEST=""
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_DOCDIR="doc"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_EXTRADOC="AUTHORS NEWS"
|
|
||||||
|
|
||||||
inherit multilib ruby-fakegem
|
|
||||||
|
|
||||||
DESCRIPTION="Ruby bindings for cairo"
|
|
||||||
HOMEPAGE="http://cairographics.org/rcairo/"
|
|
||||||
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="|| ( Ruby GPL-2 )"
|
|
||||||
KEYWORDS="~amd64 ~ppc ~x86"
|
|
||||||
|
|
||||||
RDEPEND="${RDEPEND}
|
|
||||||
>=x11-libs/cairo-1.2.0[svg]"
|
|
||||||
DEPEND="${DEPEND}
|
|
||||||
>=x11-libs/cairo-1.2.0[svg]"
|
|
||||||
|
|
||||||
ruby_add_bdepend "
|
|
||||||
dev-ruby/pkg-config
|
|
||||||
dev-ruby/ruby-glib2
|
|
||||||
test? ( >=dev-ruby/test-unit-2.1.0-r1:2 )"
|
|
||||||
|
|
||||||
each_ruby_configure() {
|
|
||||||
${RUBY} -Cext/cairo extconf.rb || die "extconf failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
each_ruby_compile() {
|
|
||||||
emake -Cext/cairo || die "make failed"
|
|
||||||
|
|
||||||
# again, try to make it more standard, to install it more easily.
|
|
||||||
cp ext/cairo/cairo$(get_modname) lib/ || die
|
|
||||||
}
|
|
||||||
|
|
||||||
each_ruby_test() {
|
|
||||||
# don't rely on the Rakefile because it's a mess to load with
|
|
||||||
# their hierarchy, do it manually.
|
|
||||||
${RUBY} -Ilib -r ./test/cairo-test-utils.rb \
|
|
||||||
-e 'gem "test-unit"; require "test/unit"; Dir.glob("test/**/test_*.rb") {|f| load f}' || die "tests failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
each_ruby_install() {
|
|
||||||
each_fakegem_install
|
|
||||||
|
|
||||||
insinto $(ruby_get_hdrdir)
|
|
||||||
doins ext/cairo/rb_cairo.h || die "Cannot install header file."
|
|
||||||
}
|
|
||||||
|
|
||||||
all_ruby_install() {
|
|
||||||
all_fakegem_install
|
|
||||||
|
|
||||||
insinto /usr/share/doc/${PF}/samples
|
|
||||||
doins -r samples/* || die "Cannot install sample files."
|
|
||||||
}
|
|
@ -0,0 +1 @@
|
|||||||
|
DIST gitinspector_0.3.1.zip 235252 SHA256 0081f142e507ff49cb4f5ca1119eb11f66655af1bfb327aa4670c31245e608d0 SHA512 f7ba3b4ebededc8ff80e440de26c3e858c4e413dd02c516aa442c05ef27875e0eb78e6430018717890aa390ef5a1011a33da28e0748a07c59830df6ffeb35c63 WHIRLPOOL 95d80614a5f2c38c9c01e5958f778eb72935f81e3aa44bd831332047f633625587f75f598112c005b0709c7b209a732286c1da578c07c74c22066c65d31d2964
|
@ -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-vcs/gitinspector/gitinspector-0.3.1.ebuild,v 1.1 2014/01/06 22:13:44 jlec Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Statistical analysis tool for git repositories"
|
||||||
|
HOMEPAGE="https://code.google.com/p/gitinspector/"
|
||||||
|
SRC_URI="https://${PN}.googlecode.com/files/${PN}_${PV}.zip"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
IUSE="test"
|
||||||
|
|
||||||
|
RDEPEND="dev-vcs/git"
|
||||||
|
DEPEND="
|
||||||
|
test? ( ${RDEPEND} )"
|
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer>
|
||||||
|
<email>jlec@gentoo.org</email>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
@ -1 +1,2 @@
|
|||||||
DIST subversion-1.7.14.tar.bz2 6045932 SHA256 c4ac8f37eb0ebd38901bfa6f1c7e4d7716d32d7460ee0cee520381ca2f5b120d SHA512 cc7df3a2d258cda65a3fefc1fb9bcc91f78ec817c8d32e561eae7cf59de3d1d5c843594150b63c60c724e4b3df88da319763f814f418d106461adcc78b323840 WHIRLPOOL 21d879775ed0bed15d17b83070eb26269f8d3cc0420be54e0d326b7b6f410b9fee11d2f8d2926f930c66c66a47a6396275ddf20120436b978c0a318bb963f0e0
|
DIST subversion-1.7.14.tar.bz2 6045932 SHA256 c4ac8f37eb0ebd38901bfa6f1c7e4d7716d32d7460ee0cee520381ca2f5b120d SHA512 cc7df3a2d258cda65a3fefc1fb9bcc91f78ec817c8d32e561eae7cf59de3d1d5c843594150b63c60c724e4b3df88da319763f814f418d106461adcc78b323840 WHIRLPOOL 21d879775ed0bed15d17b83070eb26269f8d3cc0420be54e0d326b7b6f410b9fee11d2f8d2926f930c66c66a47a6396275ddf20120436b978c0a318bb963f0e0
|
||||||
|
DIST subversion-1.8.5.tar.bz2 6881572 SHA256 fd522bf1ecda1c09426ed6c436f0744ab95c31702b0904add089864c73ee7564 SHA512 1a7f19c2ea09c16f66cefef2454e8650f92caac0c505b83e52b32d51ccfece07d5623a26ee7b728c1c4c1bc6c5240cc2b5d65f9aab661d1094c04ed13339b1f6 WHIRLPOOL 89c3b5ea9f4bfe70a05d412a87f278ce74fdcb4b1fdad4905c60729f4a4e01c3a895178313a26358b2e5ab280f9fa8fd5c81c68af6f027d313b40ebcbcb5c3e0
|
||||||
|
@ -0,0 +1,16 @@
|
|||||||
|
--- subversion-1.8.0/subversion/libsvn_ra/ra_loader.c
|
||||||
|
+++ subversion-1.8.0/subversion/libsvn_ra/ra_loader.c
|
||||||
|
@@ -141,8 +141,13 @@
|
||||||
|
const char *compat_funcname;
|
||||||
|
apr_status_t status;
|
||||||
|
|
||||||
|
+#if defined(__hpux) && defined(__hppa)
|
||||||
|
+ libname = apr_psprintf(pool, "libsvn_ra_%s-%d.sl.%d",
|
||||||
|
+ ra_name, SVN_VER_MAJOR);
|
||||||
|
+#else
|
||||||
|
libname = apr_psprintf(pool, "libsvn_ra_%s-%d.so.%d",
|
||||||
|
ra_name, SVN_VER_MAJOR, SVN_SOVERSION);
|
||||||
|
+#endif
|
||||||
|
funcname = apr_psprintf(pool, "svn_ra_%s__init", ra_name);
|
||||||
|
compat_funcname = apr_psprintf(pool, "svn_ra_%s_init", ra_name);
|
||||||
|
|
@ -0,0 +1,85 @@
|
|||||||
|
--- subversion-1.8.1/build/ac-macros/berkeley-db.m4
|
||||||
|
+++ subversion-1.8.1/build/ac-macros/berkeley-db.m4
|
||||||
|
@@ -48,7 +48,7 @@
|
||||||
|
AC_ARG_WITH(berkeley-db, [AS_HELP_STRING(
|
||||||
|
[[--with-berkeley-db[=HEADER:INCLUDES:LIB_SEARCH_DIRS:LIBS]]], [
|
||||||
|
The Subversion Berkeley DB based filesystem library
|
||||||
|
- requires Berkeley DB $db_version or $db_alt_version. If you
|
||||||
|
+ requires Berkeley DB $db_version or newer. If you
|
||||||
|
specify `--without-berkeley-db', that library will
|
||||||
|
not be built. If you omit the argument of this option
|
||||||
|
completely, the configure script will use Berkeley DB
|
||||||
|
@@ -126,35 +126,22 @@
|
||||||
|
svn_lib_berkeley_db=no
|
||||||
|
else
|
||||||
|
AC_MSG_CHECKING([for availability of Berkeley DB])
|
||||||
|
- AC_ARG_ENABLE(bdb6,
|
||||||
|
- AS_HELP_STRING([--enable-bdb6],
|
||||||
|
- [Allow building against BDB 6+.
|
||||||
|
- See --with-berkeley-db for specifying the location of
|
||||||
|
- the Berkeley DB installation. Using BDB 6 will fail if
|
||||||
|
- this option is not used.]),
|
||||||
|
- [enable_bdb6=$enableval],[enable_bdb6=unspecified])
|
||||||
|
-
|
||||||
|
- SVN_LIB_BERKELEY_DB_TRY($1, $2, $3, $enable_bdb6)
|
||||||
|
+ SVN_LIB_BERKELEY_DB_TRY($1, $2, $3)
|
||||||
|
if test "$svn_have_berkeley_db" = "yes"; then
|
||||||
|
AC_MSG_RESULT([yes])
|
||||||
|
svn_lib_berkeley_db=yes
|
||||||
|
else
|
||||||
|
- if test "$svn_have_berkeley_db" = "no6"; then
|
||||||
|
- AC_MSG_RESULT([no (found version 6, but --enable-bdb6 not specified)])
|
||||||
|
- # A warning will be printed at the end of configure.ac.
|
||||||
|
- else
|
||||||
|
- AC_MSG_RESULT([no])
|
||||||
|
- fi
|
||||||
|
+ AC_MSG_RESULT([no])
|
||||||
|
svn_lib_berkeley_db=no
|
||||||
|
if test "$bdb_status" = "required"; then
|
||||||
|
- AC_MSG_ERROR([Berkeley DB $db_version or $db_alt_version wasn't found.])
|
||||||
|
+ AC_MSG_ERROR([Berkeley DB $db_version or newer't found.])
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
-dnl SVN_LIB_BERKELEY_DB_TRY(major, minor, patch, enable_bdb6)
|
||||||
|
+dnl SVN_LIB_BERKELEY_DB_TRY(major, minor, patch)
|
||||||
|
dnl
|
||||||
|
dnl A subroutine of SVN_LIB_BERKELEY_DB.
|
||||||
|
dnl
|
||||||
|
@@ -187,7 +174,6 @@
|
||||||
|
svn_check_berkeley_db_major=$1
|
||||||
|
svn_check_berkeley_db_minor=$2
|
||||||
|
svn_check_berkeley_db_patch=$3
|
||||||
|
- enable_bdb6=$4
|
||||||
|
|
||||||
|
if test -z "$SVN_DB_LIBS"; then
|
||||||
|
# We pass --dbm-libs here since Debian has modified apu-config not
|
||||||
|
@@ -245,12 +231,6 @@
|
||||||
|
|| patch != DB_VERSION_PATCH)
|
||||||
|
exit (1);
|
||||||
|
|
||||||
|
- /* Block Berkeley DB 6, because (a) we haven't tested with it, (b) 6.0.20
|
||||||
|
- and newer are under the AGPL, and we want use of AGPL dependencies to be
|
||||||
|
- opt-in. */
|
||||||
|
- if (major >= 6 && strcmp("$enable_bdb6", "yes"))
|
||||||
|
- exit(2);
|
||||||
|
-
|
||||||
|
/* Run-time check: ensure the library claims to be the correct version. */
|
||||||
|
|
||||||
|
if (major < $svn_check_berkeley_db_major)
|
||||||
|
@@ -270,11 +250,7 @@
|
||||||
|
}
|
||||||
|
]])],
|
||||||
|
[svn_have_berkeley_db=yes],
|
||||||
|
- [rc=$?
|
||||||
|
- svn_have_berkeley_db=no
|
||||||
|
- if test $rc = 2; then
|
||||||
|
- svn_have_berkeley_db=no6
|
||||||
|
- fi],
|
||||||
|
+ [svn_have_berkeley_db=no],
|
||||||
|
[svn_have_berkeley_db=yes]
|
||||||
|
)
|
||||||
|
|
@ -0,0 +1,468 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/subversion/subversion-1.8.5.ebuild,v 1.2 2014/01/06 20:44:04 polynomial-c Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||||
|
DISTUTILS_OPTIONAL=1
|
||||||
|
WANT_AUTOMAKE="none"
|
||||||
|
|
||||||
|
inherit autotools bash-completion-r1 db-use depend.apache distutils-r1 elisp-common flag-o-matic java-pkg-opt-2 libtool multilib perl-module eutils
|
||||||
|
|
||||||
|
MY_P="${P/_/-}"
|
||||||
|
DESCRIPTION="Advanced version control system"
|
||||||
|
HOMEPAGE="http://subversion.apache.org/"
|
||||||
|
SRC_URI="mirror://apache/${PN}/${MY_P}.tar.bz2"
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
LICENSE="Subversion GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
IUSE="apache2 berkdb ctypes-python debug doc +dso extras gnome-keyring +http java kde nls perl python ruby sasl test vim-syntax"
|
||||||
|
|
||||||
|
COMMON_DEPEND=">=dev-db/sqlite-3.7.12
|
||||||
|
>=dev-libs/apr-1.3:1
|
||||||
|
>=dev-libs/apr-util-1.3:1
|
||||||
|
dev-libs/expat
|
||||||
|
sys-libs/zlib
|
||||||
|
app-arch/bzip2
|
||||||
|
berkdb? ( >=sys-libs/db-4.0.14 )
|
||||||
|
ctypes-python? ( ${PYTHON_DEPS} )
|
||||||
|
gnome-keyring? ( dev-libs/glib:2 sys-apps/dbus gnome-base/gnome-keyring )
|
||||||
|
kde? ( sys-apps/dbus dev-qt/qtcore:4 dev-qt/qtdbus:4 dev-qt/qtgui:4 >=kde-base/kdelibs-4:4 )
|
||||||
|
perl? ( dev-lang/perl )
|
||||||
|
python? ( ${PYTHON_DEPS} )
|
||||||
|
ruby? ( >=dev-lang/ruby-1.9.3:1.9
|
||||||
|
dev-ruby/rubygems[ruby_targets_ruby19] )
|
||||||
|
sasl? ( dev-libs/cyrus-sasl )
|
||||||
|
http? ( >=net-libs/serf-1.2.1 )"
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
apache2? ( www-servers/apache[apache2_modules_dav] )
|
||||||
|
java? ( >=virtual/jre-1.5 )
|
||||||
|
kde? ( kde-base/kwalletd )
|
||||||
|
nls? ( virtual/libintl )
|
||||||
|
perl? ( dev-perl/URI )"
|
||||||
|
# Note: ctypesgen doesn't need PYTHON_USEDEP, it's used once
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
test? ( ${PYTHON_DEPS} )
|
||||||
|
!!<sys-apps/sandbox-1.6
|
||||||
|
ctypes-python? ( dev-python/ctypesgen )
|
||||||
|
doc? ( app-doc/doxygen )
|
||||||
|
gnome-keyring? ( virtual/pkgconfig )
|
||||||
|
java? ( >=virtual/jdk-1.5 )
|
||||||
|
kde? ( virtual/pkgconfig )
|
||||||
|
nls? ( sys-devel/gettext )
|
||||||
|
http? ( virtual/pkgconfig )"
|
||||||
|
|
||||||
|
REQUIRED_USE="
|
||||||
|
ctypes-python? ( ${PYTHON_REQUIRED_USE} )
|
||||||
|
python? ( ${PYTHON_REQUIRED_USE} )
|
||||||
|
test? ( ${PYTHON_REQUIRED_USE} )"
|
||||||
|
|
||||||
|
want_apache
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
if use berkdb; then
|
||||||
|
local apu_bdb_version="$(${EPREFIX}/usr/bin/apu-1-config --includes \
|
||||||
|
| grep -Eoe '-I${EPREFIX}/usr/include/db[[:digit:]]\.[[:digit:]]' \
|
||||||
|
| sed 's:.*b::')"
|
||||||
|
einfo
|
||||||
|
if [[ -z "${SVN_BDB_VERSION}" ]]; then
|
||||||
|
if [[ -n "${apu_bdb_version}" ]]; then
|
||||||
|
SVN_BDB_VERSION="${apu_bdb_version}"
|
||||||
|
einfo "Matching db version to apr-util"
|
||||||
|
else
|
||||||
|
SVN_BDB_VERSION="$(db_ver_to_slot "$(db_findver sys-libs/db 2>/dev/null)")"
|
||||||
|
einfo "SVN_BDB_VERSION variable isn't set. You can set it to enforce using of specific version of Berkeley DB."
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
einfo "Using: Berkeley DB ${SVN_BDB_VERSION}"
|
||||||
|
einfo
|
||||||
|
|
||||||
|
if [[ -n "${apu_bdb_version}" && "${SVN_BDB_VERSION}" != "${apu_bdb_version}" ]]; then
|
||||||
|
eerror "APR-Util is linked against Berkeley DB ${apu_bdb_version}, but you are trying"
|
||||||
|
eerror "to build Subversion with support for Berkeley DB ${SVN_BDB_VERSION}."
|
||||||
|
eerror "Rebuild dev-libs/apr-util or set SVN_BDB_VERSION=\"${apu_bdb_version}\"."
|
||||||
|
eerror "Aborting to avoid possible run-time crashes."
|
||||||
|
die "Berkeley DB version mismatch"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
depend.apache_pkg_setup
|
||||||
|
|
||||||
|
java-pkg-opt-2_pkg_setup
|
||||||
|
|
||||||
|
if ! use http ; then
|
||||||
|
ewarn "WebDAV support is disabled. You need WebDAV to"
|
||||||
|
ewarn "access repositories through the HTTP protocol."
|
||||||
|
ewarn "Consider enabling \"http\" USE flag"
|
||||||
|
echo -ne "\a"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use debug; then
|
||||||
|
append-cppflags -DSVN_DEBUG -DAP_DEBUG
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Allow for custom repository locations.
|
||||||
|
SVN_REPOS_LOC="${SVN_REPOS_LOC:-${EPREFIX}/var/svn}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
epatch "${FILESDIR}"/${PN}-1.5.4-interix.patch \
|
||||||
|
"${FILESDIR}"/${PN}-1.5.6-aix-dso.patch \
|
||||||
|
"${FILESDIR}"/${PN}-1.8.0-hpux-dso.patch \
|
||||||
|
"${FILESDIR}"/${PN}-fix-parallel-build-support-for-perl-bindings.patch \
|
||||||
|
"${FILESDIR}"/${PN}-1.8.1-revert_bdb6check.patch
|
||||||
|
epatch_user
|
||||||
|
|
||||||
|
fperms +x build/transform_libtool_scripts.sh
|
||||||
|
|
||||||
|
sed -i \
|
||||||
|
-e "s/\(BUILD_RULES=.*\) bdb-test\(.*\)/\1\2/g" \
|
||||||
|
-e "s/\(BUILD_RULES=.*\) test\(.*\)/\1\2/g" configure.ac
|
||||||
|
|
||||||
|
# this bites us in particular on Solaris
|
||||||
|
sed -i -e '1c\#!/usr/bin/env sh' build/transform_libtool_scripts.sh || \
|
||||||
|
die "/bin/sh is not POSIX shell!"
|
||||||
|
|
||||||
|
eautoconf
|
||||||
|
elibtoolize
|
||||||
|
|
||||||
|
sed -e 's/\(libsvn_swig_py\)-\(1\.la\)/\1-$(EPYTHON)-\2/g' \
|
||||||
|
-i build-outputs.mk || die "sed failed"
|
||||||
|
|
||||||
|
if use python; then
|
||||||
|
# XXX: make python_copy_sources accept path
|
||||||
|
S=${S}/subversion/bindings/swig/python python_copy_sources
|
||||||
|
rm -r "${S}"/subversion/bindings/swig/python || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf
|
||||||
|
|
||||||
|
if use python || use perl || use ruby; then
|
||||||
|
myconf+=" --with-swig"
|
||||||
|
else
|
||||||
|
myconf+=" --without-swig"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use java; then
|
||||||
|
myconf+=" --without-junit"
|
||||||
|
fi
|
||||||
|
|
||||||
|
case ${CHOST} in
|
||||||
|
*-aix*)
|
||||||
|
# avoid recording immediate path to sharedlibs into executables
|
||||||
|
append-ldflags -Wl,-bnoipath
|
||||||
|
;;
|
||||||
|
*-interix*)
|
||||||
|
# loader crashes on the LD_PRELOADs...
|
||||||
|
myconf+=" --disable-local-library-preloading"
|
||||||
|
;;
|
||||||
|
*-solaris*)
|
||||||
|
# need -lintl to link
|
||||||
|
use nls && append-libs intl
|
||||||
|
# this breaks installation, on x64 echo replacement is 32-bits
|
||||||
|
myconf+=" --disable-local-library-preloading"
|
||||||
|
;;
|
||||||
|
*-mint*)
|
||||||
|
myconf+=" --enable-all-static --disable-local-library-preloading"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
# inject LD_PRELOAD entries for easy in-tree development
|
||||||
|
myconf+=" --enable-local-library-preloading"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
#workaround for bug 387057
|
||||||
|
has_version =dev-vcs/subversion-1.6* && myconf+=" --disable-disallowing-of-undefined-references"
|
||||||
|
|
||||||
|
#version 1.7.7 again tries to link against the older installed version and fails, when trying to
|
||||||
|
#compile for x86 on amd64, so workaround this issue again
|
||||||
|
#check newer versions, if this is still/again needed
|
||||||
|
myconf+=" --disable-disallowing-of-undefined-references"
|
||||||
|
|
||||||
|
# for build-time scripts
|
||||||
|
if use ctypes-python || use python || use test; then
|
||||||
|
python_export_best
|
||||||
|
fi
|
||||||
|
|
||||||
|
#force ruby-1.8 for bug 399105
|
||||||
|
#allow overriding Python include directory
|
||||||
|
ac_cv_path_RUBY="${EPREFIX}"/usr/bin/ruby19 ac_cv_path_RDOC="${EPREFIX}"/usr/bin/rdoc19 \
|
||||||
|
ac_cv_python_includes='-I$(PYTHON_INCLUDEDIR)' \
|
||||||
|
econf --libdir="${EPREFIX}/usr/$(get_libdir)" \
|
||||||
|
$(use_with apache2 apache-libexecdir) \
|
||||||
|
$(use_with apache2 apxs "${APXS}") \
|
||||||
|
$(use_with berkdb berkeley-db "db.h:${EPREFIX}/usr/include/db${SVN_BDB_VERSION}::db-${SVN_BDB_VERSION}") \
|
||||||
|
$(use_with ctypes-python ctypesgen "${EPREFIX}/usr") \
|
||||||
|
$(use_enable dso runtime-module-search) \
|
||||||
|
$(use_with gnome-keyring) \
|
||||||
|
$(use_enable java javahl) \
|
||||||
|
$(use_with java jdk "${JAVA_HOME}") \
|
||||||
|
$(use_with kde kwallet) \
|
||||||
|
$(use_enable nls) \
|
||||||
|
$(use_with sasl) \
|
||||||
|
$(use_with http serf "${EPREFIX}/usr") \
|
||||||
|
${myconf} \
|
||||||
|
--with-apr="${EPREFIX}/usr/bin/apr-1-config" \
|
||||||
|
--with-apr-util="${EPREFIX}/usr/bin/apu-1-config" \
|
||||||
|
--disable-experimental-libtool \
|
||||||
|
--without-jikes \
|
||||||
|
--disable-mod-activation \
|
||||||
|
--disable-static
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake local-all
|
||||||
|
|
||||||
|
if use ctypes-python; then
|
||||||
|
# pre-generate .py files
|
||||||
|
use ctypes-python && emake ctypes-python
|
||||||
|
|
||||||
|
pushd subversion/bindings/ctypes-python >/dev/null || die
|
||||||
|
distutils-r1_src_compile
|
||||||
|
popd >/dev/null || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use python; then
|
||||||
|
swig_py_compile() {
|
||||||
|
local p=subversion/bindings/swig/python
|
||||||
|
rm -f ${p} || die
|
||||||
|
ln -s "${BUILD_DIR}" ${p} || die
|
||||||
|
|
||||||
|
python_export PYTHON_INCLUDEDIR
|
||||||
|
emake swig-py \
|
||||||
|
swig_pydir="$(python_get_sitedir)/libsvn" \
|
||||||
|
swig_pydir_extra="$(python_get_sitedir)/svn"
|
||||||
|
}
|
||||||
|
|
||||||
|
# this will give us proper BUILD_DIR for symlinking
|
||||||
|
BUILD_DIR=python \
|
||||||
|
python_foreach_impl swig_py_compile
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use perl; then
|
||||||
|
emake swig-pl
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use ruby; then
|
||||||
|
emake swig-rb
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use java; then
|
||||||
|
emake -j1 JAVAC_FLAGS="$(java-pkg_javac-args) -encoding iso8859-1" javahl
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use extras; then
|
||||||
|
emake tools
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
doxygen doc/doxygen.conf || die "Building of Subversion HTML documentation failed"
|
||||||
|
|
||||||
|
if use java; then
|
||||||
|
emake doc-javahl
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
default
|
||||||
|
|
||||||
|
if use ctypes-python; then
|
||||||
|
python_test() {
|
||||||
|
"${PYTHON}" subversion/bindings/ctypes-python/test/run_all.py \
|
||||||
|
|| die "ctypes-python tests fail with ${EPYTHON}"
|
||||||
|
}
|
||||||
|
|
||||||
|
distutils-r1_src_test
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use python; then
|
||||||
|
swig_py_test() {
|
||||||
|
pushd "${BUILD_DIR}" >/dev/null || die
|
||||||
|
"${PYTHON}" tests/run_all.py || die "swig-py tests fail with ${EPYTHON}"
|
||||||
|
popd >/dev/null || die
|
||||||
|
}
|
||||||
|
|
||||||
|
BUILD_DIR=subversion/bindings/swig/python \
|
||||||
|
python_foreach_impl swig_py_test
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake -j1 DESTDIR="${D}" local-install
|
||||||
|
|
||||||
|
if use ctypes-python; then
|
||||||
|
pushd subversion/bindings/ctypes-python >/dev/null || die
|
||||||
|
distutils-r1_src_install
|
||||||
|
popd >/dev/null || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use python; then
|
||||||
|
swig_py_install() {
|
||||||
|
local p=subversion/bindings/swig/python
|
||||||
|
rm -f ${p} || die
|
||||||
|
ln -s "${BUILD_DIR}" ${p} || die
|
||||||
|
|
||||||
|
emake \
|
||||||
|
DESTDIR="${D}" \
|
||||||
|
swig_pydir="$(python_get_sitedir)/libsvn" \
|
||||||
|
swig_pydir_extra="$(python_get_sitedir)/svn" \
|
||||||
|
install-swig-py
|
||||||
|
}
|
||||||
|
|
||||||
|
BUILD_DIR=python \
|
||||||
|
python_foreach_impl swig_py_install
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use perl; then
|
||||||
|
emake DESTDIR="${D}" INSTALLDIRS="vendor" install-swig-pl
|
||||||
|
fixlocalpod
|
||||||
|
find "${ED}" "(" -name .packlist -o -name "*.bs" ")" -delete
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use ruby; then
|
||||||
|
emake DESTDIR="${D}" install-swig-rb
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use java; then
|
||||||
|
emake DESTDIR="${D}" install-javahl
|
||||||
|
java-pkg_regso "${ED}"usr/$(get_libdir)/libsvnjavahl*$(get_libname)
|
||||||
|
java-pkg_dojar "${ED}"usr/$(get_libdir)/svn-javahl/svn-javahl.jar
|
||||||
|
rm -fr "${ED}"usr/$(get_libdir)/svn-javahl/*.jar
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Install Apache module configuration.
|
||||||
|
if use apache2; then
|
||||||
|
keepdir "${APACHE_MODULES_CONFDIR}"
|
||||||
|
insinto "${APACHE_MODULES_CONFDIR}"
|
||||||
|
doins "${FILESDIR}/47_mod_dav_svn.conf"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Install Bash Completion, bug 43179.
|
||||||
|
newbashcomp tools/client-side/bash_completion subversion
|
||||||
|
rm -f tools/client-side/bash_completion
|
||||||
|
|
||||||
|
# Install hot backup script, bug 54304.
|
||||||
|
newbin tools/backup/hot-backup.py svn-hot-backup
|
||||||
|
rm -fr tools/backup
|
||||||
|
|
||||||
|
# Install svnserve init-script and xinet.d snippet, bug 43245.
|
||||||
|
newinitd "${FILESDIR}"/svnserve.initd2 svnserve
|
||||||
|
newconfd "${FILESDIR}"/svnserve.confd svnserve
|
||||||
|
insinto /etc/xinetd.d
|
||||||
|
newins "${FILESDIR}"/svnserve.xinetd svnserve
|
||||||
|
|
||||||
|
#adjust default user and group with disabled apache2 USE flag, bug 381385
|
||||||
|
use apache2 || sed -e "s\USER:-apache\USER:-svn\g" \
|
||||||
|
-e "s\GROUP:-apache\GROUP:-svnusers\g" \
|
||||||
|
-i "${ED}"etc/init.d/svnserve || die
|
||||||
|
use apache2 || sed -e "0,/apache/s//svn/" \
|
||||||
|
-e "s:apache:svnusers:" \
|
||||||
|
-i "${ED}"etc/xinetd.d/svnserve || die
|
||||||
|
|
||||||
|
# Install documentation.
|
||||||
|
dodoc CHANGES COMMITTERS README
|
||||||
|
dodoc tools/xslt/svnindex.{css,xsl}
|
||||||
|
rm -fr tools/xslt
|
||||||
|
|
||||||
|
# Install extra files.
|
||||||
|
if use extras; then
|
||||||
|
cat << EOF > 80subversion-extras
|
||||||
|
PATH="${EPREFIX}/usr/$(get_libdir)/subversion/bin"
|
||||||
|
ROOTPATH="${EPREFIX}/usr/$(get_libdir)/subversion/bin"
|
||||||
|
EOF
|
||||||
|
doenvd 80subversion-extras
|
||||||
|
|
||||||
|
emake DESTDIR="${D}" toolsdir="/usr/$(get_libdir)/subversion/bin" install-tools || die "Installation of tools failed"
|
||||||
|
|
||||||
|
find tools "(" -name "*.bat" -o -name "*.in" -o -name ".libs" ")" -print0 | xargs -0 rm -fr
|
||||||
|
rm -fr tools/client-side/svnmucc
|
||||||
|
rm -fr tools/server-side/{svn-populate-node-origins-index,svnauthz-validate}*
|
||||||
|
rm -fr tools/{buildbot,dev,diff,po}
|
||||||
|
|
||||||
|
insinto /usr/share/${PN}
|
||||||
|
find tools -name '*.py' -exec sed -i -e '1s:python:&2:' {} + || die
|
||||||
|
doins -r tools
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
dohtml -r doc/doxygen/html/*
|
||||||
|
|
||||||
|
if use java; then
|
||||||
|
java-pkg_dojavadoc doc/javadoc
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
find "${ED}" '(' -name '*.la' ')' -print0 | xargs -0 rm -f
|
||||||
|
|
||||||
|
cd "${ED}"usr/share/locale
|
||||||
|
for i in * ; do
|
||||||
|
[[ $i == *$LINGUAS* ]] || { rm -r $i || die ; }
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
# Compare versions of Berkeley DB, bug 122877.
|
||||||
|
if use berkdb && [[ -f "${EROOT}usr/bin/svn" ]]; then
|
||||||
|
OLD_BDB_VERSION="$(scanelf -nq "${EROOT}usr/$(get_libdir)/libsvn_subr-1$(get_libname 0)" | grep -Eo "libdb-[[:digit:]]+\.[[:digit:]]+" | sed -e "s/libdb-\(.*\)/\1/")"
|
||||||
|
NEW_BDB_VERSION="$(scanelf -nq "${ED}usr/$(get_libdir)/libsvn_subr-1$(get_libname 0)" | grep -Eo "libdb-[[:digit:]]+\.[[:digit:]]+" | sed -e "s/libdb-\(.*\)/\1/")"
|
||||||
|
if [[ "${OLD_BDB_VERSION}" != "${NEW_BDB_VERSION}" ]]; then
|
||||||
|
CHANGED_BDB_VERSION="1"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
use perl && perl-module_pkg_postinst
|
||||||
|
|
||||||
|
if [[ -n "${CHANGED_BDB_VERSION}" ]]; then
|
||||||
|
ewarn "You upgraded from an older version of Berkeley DB and may experience"
|
||||||
|
ewarn "problems with your repository. Run the following commands as root to fix it:"
|
||||||
|
ewarn " db4_recover -h ${SVN_REPOS_LOC}/repos"
|
||||||
|
ewarn " chown -Rf apache:apache ${SVN_REPOS_LOC}/repos"
|
||||||
|
fi
|
||||||
|
|
||||||
|
ewarn "If you run subversion as a daemon, you will need to restart it to avoid module mismatches."
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
use perl && perl-module_pkg_postrm
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_config() {
|
||||||
|
# Remember: Don't use ${EROOT}${SVN_REPOS_LOC} since ${SVN_REPOS_LOC}
|
||||||
|
# already has EPREFIX in it
|
||||||
|
einfo "Initializing the database in ${SVN_REPOS_LOC}..."
|
||||||
|
if [[ -e "${SVN_REPOS_LOC}/repos" ]]; then
|
||||||
|
echo "A Subversion repository already exists and I will not overwrite it."
|
||||||
|
echo "Delete \"${SVN_REPOS_LOC}/repos\" first if you're sure you want to have a clean version."
|
||||||
|
else
|
||||||
|
mkdir -p "${SVN_REPOS_LOC}/conf"
|
||||||
|
|
||||||
|
einfo "Populating repository directory..."
|
||||||
|
# Create initial repository.
|
||||||
|
"${EROOT}usr/bin/svnadmin" create "${SVN_REPOS_LOC}/repos"
|
||||||
|
|
||||||
|
einfo "Setting repository permissions..."
|
||||||
|
SVNSERVE_USER="$(. "${EROOT}etc/conf.d/svnserve"; echo "${SVNSERVE_USER}")"
|
||||||
|
SVNSERVE_GROUP="$(. "${EROOT}etc/conf.d/svnserve"; echo "${SVNSERVE_GROUP}")"
|
||||||
|
if use apache2; then
|
||||||
|
[[ -z "${SVNSERVE_USER}" ]] && SVNSERVE_USER="apache"
|
||||||
|
[[ -z "${SVNSERVE_GROUP}" ]] && SVNSERVE_GROUP="apache"
|
||||||
|
else
|
||||||
|
[[ -z "${SVNSERVE_USER}" ]] && SVNSERVE_USER="svn"
|
||||||
|
[[ -z "${SVNSERVE_GROUP}" ]] && SVNSERVE_GROUP="svnusers"
|
||||||
|
fi
|
||||||
|
chmod -Rf go-rwx "${SVN_REPOS_LOC}/conf"
|
||||||
|
chmod -Rf o-rwx "${SVN_REPOS_LOC}/repos"
|
||||||
|
echo "Please create \"${SVNSERVE_GROUP}\" group if it does not exist yet."
|
||||||
|
echo "Afterwards please create \"${SVNSERVE_USER}\" user with homedir \"${SVN_REPOS_LOC}\""
|
||||||
|
echo "and as part of the \"${SVNSERVE_GROUP}\" group if it does not exist yet."
|
||||||
|
echo "Finally, execute \"chown -Rf ${SVNSERVE_USER}:${SVNSERVE_GROUP} ${SVN_REPOS_LOC}/repos\""
|
||||||
|
echo "to finish the configuration."
|
||||||
|
fi
|
||||||
|
}
|
@ -1,2 +1,2 @@
|
|||||||
DIST opensmtpd-201312142054p1.tar.gz 870900 SHA256 1ba9763825373a7fc5eb405117bfb0329cf360ea7839006632f30f144abf4e1c SHA512 cf486957d8c6903ae28c39478edfdf476bd90b18aad9db043b158d3b65d1acb20a39a29486eb900562f083dea8ef78e4abaceb4158cdc7bdd7bdfd0ca28b8b45 WHIRLPOOL aaf83c339773581d77b5e052221fe5c0d09b6f4e7e4ba8fcfb6eac1488c6fad68cce6f64b1ba3b1c114aa2e006b897132cc639fc4c5fd92dea491c01f4a03b9e
|
DIST opensmtpd-201401061555p1.tar.gz 875536 SHA256 702a4d83fc1111f175bb2cd9e5331f6fe9ad8d6a294dd4c5f778d227a981b253 SHA512 29031a6f95871f4d532126eb3d282b8ba5c53cd5c393bed5b52b05c1b1448f093d845f08cb477048bc522c0907798103f8a1969e2a41d4560bd914ba604ec910 WHIRLPOOL 651119ad5c2c894f8e18da48f66b213eaab371a3971fe880e96fc38eeea49baab5a538130ec090bc1d3b59621215a1bba201241bfbc46aac3e275998edd3b637
|
||||||
DIST opensmtpd-5.4.1p1.tar.gz 871745 SHA256 7debbf7e55ff3687617ae2c3b38e1cf30574b96f56b869e597c0e98478e5b5d9 SHA512 29bee238c75b1f6fb6a18398294be0cddfa91b24294a74be1a2d0fc6b80474a2b8367bfa3c241fed22ed24f983cee2d53fb94b26469569014ff6874e460a87f1 WHIRLPOOL dd9f4d4426c073cb05043ba2433d5fda5cd4c28cb891a33a48025f8f5f35b56492d819707b7dbd32325856a985994bb181d98a45d836c3e4ea625d7a9fd4fff2
|
DIST opensmtpd-5.4.1p1.tar.gz 871745 SHA256 7debbf7e55ff3687617ae2c3b38e1cf30574b96f56b869e597c0e98478e5b5d9 SHA512 29bee238c75b1f6fb6a18398294be0cddfa91b24294a74be1a2d0fc6b80474a2b8367bfa3c241fed22ed24f983cee2d53fb94b26469569014ff6874e460a87f1 WHIRLPOOL dd9f4d4426c073cb05043ba2433d5fda5cd4c28cb891a33a48025f8f5f35b56492d819707b7dbd32325856a985994bb181d98a45d836c3e4ea625d7a9fd4fff2
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/opensmtpd-5.4.1.201312142054_p1.ebuild,v 1.1 2013/12/14 23:37:35 zx2c4 Exp $
|
# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/opensmtpd-5.4.1.201401061555_p1.ebuild,v 1.1 2014/01/06 23:26:05 zx2c4 Exp $
|
||||||
|
|
||||||
EAPI=5
|
EAPI=5
|
||||||
|
|
@ -0,0 +1 @@
|
|||||||
|
vdr ALL=NOPASSWD:/bin/mount, /bin/umount
|
@ -0,0 +1,36 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-osdteletext/vdr-osdteletext-0.9.4-r1.ebuild,v 1.1 2014/01/06 22:56:18 hd_brummy Exp ${VDRPLUGIN}/vdr-${VDRPLUGIN}-0.3.1.ebuild,v 1.1 2003/05/13 09:39:19 fow0ryl Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
inherit vdr-plugin-2
|
||||||
|
|
||||||
|
VERSION="1282" # every bump, new version
|
||||||
|
|
||||||
|
DESCRIPTION="VDR Plugin: Osd-Teletext displays the teletext on the OSD"
|
||||||
|
HOMEPAGE="http://projects.vdr-developer.org/projects/show/plg-osdteletext"
|
||||||
|
SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND=">=media-video/vdr-1.7.39"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
VDR_RCADDON_FILE="${FILESDIR}/rc-addon-v2.sh"
|
||||||
|
VDR_CONFD_FILE="${FILESDIR}/confd-v2"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
vdr-plugin-2_src_install
|
||||||
|
|
||||||
|
# create the teletext directory
|
||||||
|
diropts -m755 -ovdr -gvdr
|
||||||
|
keepdir /var/cache/vdr/${VDRPLUGIN}
|
||||||
|
|
||||||
|
insinto /etc/sudoers.d
|
||||||
|
insopts -m440
|
||||||
|
newins "${FILESDIR}/vdr-osdteletext.sudo" vdr-osdteletext
|
||||||
|
}
|
@ -1 +1 @@
|
|||||||
Mon, 06 Jan 2014 16:07:02 +0000
|
Tue, 07 Jan 2014 12:37:00 +0000
|
||||||
|
@ -0,0 +1,57 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
|
||||||
|
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
|
||||||
|
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||||
|
<glsa id="201401-02">
|
||||||
|
<title>Gajim: Information disclosure</title>
|
||||||
|
<synopsis>An error in Gajim causes invalid OpenSSL certificates to be
|
||||||
|
accepted as valid.
|
||||||
|
</synopsis>
|
||||||
|
<product type="ebuild">gajim</product>
|
||||||
|
<announced>January 06, 2014</announced>
|
||||||
|
<revised>January 06, 2014: 1</revised>
|
||||||
|
<bug>442860</bug>
|
||||||
|
<access>remote</access>
|
||||||
|
<affected>
|
||||||
|
<package name="net-im/gajim" auto="yes" arch="*">
|
||||||
|
<unaffected range="ge">0.15.3-r1</unaffected>
|
||||||
|
<vulnerable range="lt">0.15.3-r1</vulnerable>
|
||||||
|
</package>
|
||||||
|
</affected>
|
||||||
|
<background>
|
||||||
|
<p>Gajim is a Jabber/XMPP client which uses GTK+.</p>
|
||||||
|
</background>
|
||||||
|
<description>
|
||||||
|
<p>The _ssl_verify_callback() function in tls_nb.py does not properly
|
||||||
|
validate SSL certificates, causing any certificate to be accepted as
|
||||||
|
valid as long as the root CA is valid.
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
<impact type="low">
|
||||||
|
<p>A remote attacker might employ a specially crafted certificate to
|
||||||
|
conduct man-in-the-middle attacks on SSL connections and potentially
|
||||||
|
disclose sensitive information.
|
||||||
|
</p>
|
||||||
|
</impact>
|
||||||
|
<workaround>
|
||||||
|
<p>There is no known workaround at this time.</p>
|
||||||
|
</workaround>
|
||||||
|
<resolution>
|
||||||
|
<p>All Gajim users should upgrade to the latest version:</p>
|
||||||
|
|
||||||
|
<code>
|
||||||
|
# emerge --sync
|
||||||
|
# emerge --ask --oneshot --verbose ">=net-im/gajim-0.15.3-r1"
|
||||||
|
</code>
|
||||||
|
|
||||||
|
</resolution>
|
||||||
|
<references>
|
||||||
|
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-5524">CVE-2012-5524</uri>
|
||||||
|
</references>
|
||||||
|
<metadata tag="requester" timestamp="Wed, 11 Dec 2013 01:48:29 +0000">
|
||||||
|
creffett
|
||||||
|
</metadata>
|
||||||
|
<metadata tag="submitter" timestamp="Mon, 06 Jan 2014 19:16:07 +0000">
|
||||||
|
creffett
|
||||||
|
</metadata>
|
||||||
|
</glsa>
|
@ -0,0 +1,92 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
|
||||||
|
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
|
||||||
|
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||||
|
<glsa id="201401-04">
|
||||||
|
<title>Python: Multiple vulnerabilities</title>
|
||||||
|
<synopsis>Multiple vulnerabilities have been found in Python, worst of which
|
||||||
|
allows remote attackers to cause a Denial of Service condition.
|
||||||
|
</synopsis>
|
||||||
|
<product type="ebuild">python</product>
|
||||||
|
<announced>January 06, 2014</announced>
|
||||||
|
<revised>January 06, 2014: 1</revised>
|
||||||
|
<bug>325593</bug>
|
||||||
|
<bug>355927</bug>
|
||||||
|
<bug>358663</bug>
|
||||||
|
<bug>396329</bug>
|
||||||
|
<bug>403437</bug>
|
||||||
|
<bug>469988</bug>
|
||||||
|
<access>remote</access>
|
||||||
|
<affected>
|
||||||
|
<package name="dev-lang/python" auto="yes" arch="*">
|
||||||
|
<unaffected range="rge">3.2.5-r1</unaffected>
|
||||||
|
<unaffected range="rge">2.6.8</unaffected>
|
||||||
|
<unaffected range="rge">2.7.3-r1</unaffected>
|
||||||
|
<unaffected range="ge">3.3.2-r1</unaffected>
|
||||||
|
<vulnerable range="lt">3.3.2-r1</vulnerable>
|
||||||
|
</package>
|
||||||
|
</affected>
|
||||||
|
<background>
|
||||||
|
<p>Python is an interpreted, interactive, object-oriented programming
|
||||||
|
language.
|
||||||
|
</p>
|
||||||
|
</background>
|
||||||
|
<description>
|
||||||
|
<p>Multiple vulnerabilities have been discovered in Python. Please review
|
||||||
|
the CVE identifiers referenced below for details.
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
<impact type="normal">
|
||||||
|
<p>A remote attacker could possibly cause a Denial of Service condition or
|
||||||
|
perform man-in-the-middle attack to disclose sensitive information.
|
||||||
|
</p>
|
||||||
|
</impact>
|
||||||
|
<workaround>
|
||||||
|
<p>There is no known workaround at this time.</p>
|
||||||
|
</workaround>
|
||||||
|
<resolution>
|
||||||
|
<p>All Python 3.3 users should upgrade to the latest version:</p>
|
||||||
|
|
||||||
|
<code>
|
||||||
|
# emerge --sync
|
||||||
|
# emerge --ask --oneshot --verbose ">=dev-lang/python-3.3.2-r1"
|
||||||
|
</code>
|
||||||
|
|
||||||
|
<p>All Python 3.2 users should upgrade to the latest version:</p>
|
||||||
|
|
||||||
|
<code>
|
||||||
|
# emerge --sync
|
||||||
|
# emerge --ask --oneshot --verbose ">=dev-lang/python-3.2.5-r1"
|
||||||
|
</code>
|
||||||
|
|
||||||
|
<p>All Python 2.6 users should upgrade to the latest version:</p>
|
||||||
|
|
||||||
|
<code>
|
||||||
|
# emerge --sync
|
||||||
|
# emerge --ask --oneshot --verbose ">=dev-lang/python-2.6.8"
|
||||||
|
</code>
|
||||||
|
|
||||||
|
<p>All Python 2.7 users should upgrade to the latest version:</p>
|
||||||
|
|
||||||
|
<code>
|
||||||
|
# emerge --sync
|
||||||
|
# emerge --ask --oneshot --verbose ">=dev-lang/python-2.7.3-r1"
|
||||||
|
</code>
|
||||||
|
</resolution>
|
||||||
|
<references>
|
||||||
|
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2010-1634">CVE-2010-1634</uri>
|
||||||
|
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2010-2089">CVE-2010-2089</uri>
|
||||||
|
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2010-3492">CVE-2010-3492</uri>
|
||||||
|
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2010-3493">CVE-2010-3493</uri>
|
||||||
|
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-1015">CVE-2011-1015</uri>
|
||||||
|
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-0845">CVE-2012-0845</uri>
|
||||||
|
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-1150">CVE-2012-1150</uri>
|
||||||
|
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-2099">CVE-2013-2099</uri>
|
||||||
|
</references>
|
||||||
|
<metadata tag="requester" timestamp="Wed, 18 Sep 2013 03:32:23 +0000">
|
||||||
|
creffett
|
||||||
|
</metadata>
|
||||||
|
<metadata tag="submitter" timestamp="Mon, 06 Jan 2014 21:13:49 +0000">
|
||||||
|
creffett
|
||||||
|
</metadata>
|
||||||
|
</glsa>
|
@ -0,0 +1,56 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
|
||||||
|
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
|
||||||
|
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||||
|
<glsa id="201401-05">
|
||||||
|
<title>ISC DHCP: Denial of Service</title>
|
||||||
|
<synopsis>A memory exhaustion vulnerability in ISC DHCP could lead to Denial
|
||||||
|
of Service.
|
||||||
|
</synopsis>
|
||||||
|
<product type="ebuild">dhcp</product>
|
||||||
|
<announced>January 06, 2014</announced>
|
||||||
|
<revised>January 06, 2014: 1</revised>
|
||||||
|
<bug>463848</bug>
|
||||||
|
<access>remote</access>
|
||||||
|
<affected>
|
||||||
|
<package name="net-misc/dhcp" auto="yes" arch="*">
|
||||||
|
<unaffected range="ge">4.2.5_p1</unaffected>
|
||||||
|
<vulnerable range="lt">4.2.5_p1</vulnerable>
|
||||||
|
</package>
|
||||||
|
</affected>
|
||||||
|
<background>
|
||||||
|
<p>ISC DHCP is a Dynamic Host Configuration Protocol (DHCP) client/server.</p>
|
||||||
|
</background>
|
||||||
|
<description>
|
||||||
|
<p>ISC DHCP is vulnerable to a memory exhaustion attack involving regular
|
||||||
|
expressions sent by DHCP clients.
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
<impact type="normal">
|
||||||
|
<p>A remote attacker could send a specially crafted request from a
|
||||||
|
malicious or spoofed client, potentially leading to a Denial of Service
|
||||||
|
condition.
|
||||||
|
</p>
|
||||||
|
</impact>
|
||||||
|
<workaround>
|
||||||
|
<p>There is no known workaround at this time.</p>
|
||||||
|
</workaround>
|
||||||
|
<resolution>
|
||||||
|
<p>All ISC DHCP users should upgrade to the latest version:</p>
|
||||||
|
|
||||||
|
<code>
|
||||||
|
# emerge --sync
|
||||||
|
# emerge --ask --oneshot --verbose ">=net-misc/dhcp-4.2.5_p1"
|
||||||
|
</code>
|
||||||
|
|
||||||
|
</resolution>
|
||||||
|
<references>
|
||||||
|
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-2494">CVE-2013-2494</uri>
|
||||||
|
</references>
|
||||||
|
<metadata tag="requester" timestamp="Tue, 03 Sep 2013 16:23:20 +0000">
|
||||||
|
creffett
|
||||||
|
</metadata>
|
||||||
|
<metadata tag="submitter" timestamp="Mon, 06 Jan 2014 21:52:49 +0000">
|
||||||
|
creffett
|
||||||
|
</metadata>
|
||||||
|
</glsa>
|
@ -1 +1 @@
|
|||||||
Mon, 06 Jan 2014 16:07:02 +0000
|
Tue, 07 Jan 2014 12:37:00 +0000
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
DEFINED_PHASES=configure install postinst prepare
|
DEFINED_PHASES=configure install postinst prepare
|
||||||
DEPEND=X? ( imlib? ( media-libs/imlib2 ) lua-cairo? ( >=dev-lua/toluapp-1.0.93 >=dev-lang/lua-5.1.4-r8 x11-libs/cairo[X] ) lua-imlib? ( >=dev-lua/toluapp-1.0.93 >=dev-lang/lua-5.1.4-r8 media-libs/imlib2 ) nvidia? ( media-video/nvidia-settings ) truetype? ( x11-libs/libXft >=media-libs/freetype-2 ) x11-libs/libX11 x11-libs/libXdamage x11-libs/libXext audacious? ( >=media-sound/audacious-1.5 dev-libs/glib ) xmms2? ( media-sound/xmms2 ) ) curl? ( net-misc/curl ) eve? ( net-misc/curl dev-libs/libxml2 ) portmon? ( dev-libs/glib ) lua? ( >=dev-lang/lua-5.1.4-r8 ) ncurses? ( sys-libs/ncurses ) rss? ( dev-libs/libxml2 net-misc/curl dev-libs/glib ) wifi? ( net-wireless/wireless-tools ) weather-metar? ( net-misc/curl ) weather-xoap? ( dev-libs/libxml2 net-misc/curl ) virtual/libiconv virtual/pkgconfig !<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.68 sys-devel/libtool
|
DEPEND=X? ( imlib? ( media-libs/imlib2[X] ) lua-cairo? ( >=dev-lua/toluapp-1.0.93 >=dev-lang/lua-5.1.4-r8 x11-libs/cairo[X] ) lua-imlib? ( >=dev-lua/toluapp-1.0.93 >=dev-lang/lua-5.1.4-r8 media-libs/imlib2[X] ) nvidia? ( media-video/nvidia-settings ) truetype? ( x11-libs/libXft >=media-libs/freetype-2 ) x11-libs/libX11 x11-libs/libXdamage x11-libs/libXext audacious? ( >=media-sound/audacious-1.5 dev-libs/glib ) xmms2? ( media-sound/xmms2 ) ) curl? ( net-misc/curl ) eve? ( net-misc/curl dev-libs/libxml2 ) portmon? ( dev-libs/glib ) lua? ( >=dev-lang/lua-5.1.4-r8 ) ncurses? ( sys-libs/ncurses ) rss? ( dev-libs/libxml2 net-misc/curl dev-libs/glib ) wifi? ( net-wireless/wireless-tools ) weather-metar? ( net-misc/curl ) weather-xoap? ( dev-libs/libxml2 net-misc/curl ) virtual/libiconv virtual/pkgconfig !<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.68 sys-devel/libtool
|
||||||
DESCRIPTION=An advanced, highly configurable system monitor for X
|
DESCRIPTION=An advanced, highly configurable system monitor for X
|
||||||
EAPI=5
|
EAPI=5
|
||||||
HOMEPAGE=http://conky.sourceforge.net/
|
HOMEPAGE=http://conky.sourceforge.net/
|
||||||
IUSE=apcupsd audacious curl debug eve hddtemp imlib iostats lua lua-cairo lua-imlib math moc mpd nano-syntax ncurses nvidia +portmon rss thinkpad truetype vim-syntax weather-metar weather-xoap wifi X xmms2
|
IUSE=apcupsd audacious curl debug eve hddtemp imlib iostats lua lua-cairo lua-imlib math moc mpd nano-syntax ncurses nvidia +portmon rss thinkpad truetype vim-syntax weather-metar weather-xoap wifi X xmms2
|
||||||
KEYWORDS=~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86
|
KEYWORDS=~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86
|
||||||
LICENSE=GPL-3 BSD LGPL-2.1 MIT
|
LICENSE=GPL-3 BSD LGPL-2.1 MIT
|
||||||
RDEPEND=X? ( imlib? ( media-libs/imlib2 ) lua-cairo? ( >=dev-lua/toluapp-1.0.93 >=dev-lang/lua-5.1.4-r8 x11-libs/cairo[X] ) lua-imlib? ( >=dev-lua/toluapp-1.0.93 >=dev-lang/lua-5.1.4-r8 media-libs/imlib2 ) nvidia? ( media-video/nvidia-settings ) truetype? ( x11-libs/libXft >=media-libs/freetype-2 ) x11-libs/libX11 x11-libs/libXdamage x11-libs/libXext audacious? ( >=media-sound/audacious-1.5 dev-libs/glib ) xmms2? ( media-sound/xmms2 ) ) curl? ( net-misc/curl ) eve? ( net-misc/curl dev-libs/libxml2 ) portmon? ( dev-libs/glib ) lua? ( >=dev-lang/lua-5.1.4-r8 ) ncurses? ( sys-libs/ncurses ) rss? ( dev-libs/libxml2 net-misc/curl dev-libs/glib ) wifi? ( net-wireless/wireless-tools ) weather-metar? ( net-misc/curl ) weather-xoap? ( dev-libs/libxml2 net-misc/curl ) virtual/libiconv apcupsd? ( sys-power/apcupsd ) hddtemp? ( app-admin/hddtemp ) moc? ( media-sound/moc ) nano-syntax? ( app-editors/nano ) vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
|
RDEPEND=X? ( imlib? ( media-libs/imlib2[X] ) lua-cairo? ( >=dev-lua/toluapp-1.0.93 >=dev-lang/lua-5.1.4-r8 x11-libs/cairo[X] ) lua-imlib? ( >=dev-lua/toluapp-1.0.93 >=dev-lang/lua-5.1.4-r8 media-libs/imlib2[X] ) nvidia? ( media-video/nvidia-settings ) truetype? ( x11-libs/libXft >=media-libs/freetype-2 ) x11-libs/libX11 x11-libs/libXdamage x11-libs/libXext audacious? ( >=media-sound/audacious-1.5 dev-libs/glib ) xmms2? ( media-sound/xmms2 ) ) curl? ( net-misc/curl ) eve? ( net-misc/curl dev-libs/libxml2 ) portmon? ( dev-libs/glib ) lua? ( >=dev-lang/lua-5.1.4-r8 ) ncurses? ( sys-libs/ncurses ) rss? ( dev-libs/libxml2 net-misc/curl dev-libs/glib ) wifi? ( net-wireless/wireless-tools ) weather-metar? ( net-misc/curl ) weather-xoap? ( dev-libs/libxml2 net-misc/curl ) virtual/libiconv apcupsd? ( sys-power/apcupsd ) hddtemp? ( app-admin/hddtemp ) moc? ( media-sound/moc ) nano-syntax? ( app-editors/nano ) vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
|
||||||
SLOT=0
|
SLOT=0
|
||||||
SRC_URI=mirror://sourceforge/conky/conky-1.9.0.tar.bz2
|
SRC_URI=mirror://sourceforge/conky/conky-1.9.0.tar.bz2
|
||||||
_eclasses_=autotools d76ee21296238133bd2df8dea7f33a05 eutils d04e3933e3ec7e338a0561a6b0ae66b1 libtool bf5062d2ffe64907c251cb7636421070 multilib 892e597faee02a5b94eb02ab512e7622 multiprocessing c2d96fb38f2596209e98fceda58ba1ed toolchain-funcs 51e6c948e72c43bcc8edc7544411c953 user d0a4d0735a6c0183d707ca919bd72f28
|
_eclasses_=autotools d76ee21296238133bd2df8dea7f33a05 eutils d04e3933e3ec7e338a0561a6b0ae66b1 libtool bf5062d2ffe64907c251cb7636421070 multilib 892e597faee02a5b94eb02ab512e7622 multiprocessing c2d96fb38f2596209e98fceda58ba1ed toolchain-funcs 51e6c948e72c43bcc8edc7544411c953 user d0a4d0735a6c0183d707ca919bd72f28
|
||||||
_md5_=1e0bff847ae29fcec2b7d0ff204c71d8
|
_md5_=131882674ba06c46722d515bc47eb0ef
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
DEFINED_PHASES=compile configure install preinst prepare test unpack
|
DEFINED_PHASES=compile configure install preinst prepare test unpack
|
||||||
DEPEND=sys-devel/make >=dev-util/cmake-2.8.9 userland_GNU? ( >=sys-apps/findutils-4.4.0 ) || ( dev-vcs/subversion[webdav-neon] dev-vcs/subversion[webdav-serf] ) net-misc/rsync
|
DEPEND=sys-devel/make >=dev-util/cmake-2.8.9 userland_GNU? ( >=sys-apps/findutils-4.4.0 ) || ( dev-vcs/subversion[http] dev-vcs/subversion[webdav-neon] dev-vcs/subversion[webdav-serf] ) net-misc/rsync
|
||||||
DESCRIPTION=Extremely Fast Compression algorithm
|
DESCRIPTION=Extremely Fast Compression algorithm
|
||||||
EAPI=5
|
EAPI=5
|
||||||
HOMEPAGE=https://code.google.com/p/lz4/
|
HOMEPAGE=https://code.google.com/p/lz4/
|
||||||
LICENSE=BSD-2
|
LICENSE=BSD-2
|
||||||
SLOT=0
|
SLOT=0
|
||||||
_eclasses_=cmake-utils 0ff4fbaea3a849e97cb3e0b87ab99136 eutils d04e3933e3ec7e338a0561a6b0ae66b1 flag-o-matic 62e05953761097ae84a70d6c7a3e2c9c multilib 892e597faee02a5b94eb02ab512e7622 subversion de38ef8c5baf84d80e695a4d6ad26554 toolchain-funcs 51e6c948e72c43bcc8edc7544411c953 user d0a4d0735a6c0183d707ca919bd72f28
|
_eclasses_=cmake-utils 0ff4fbaea3a849e97cb3e0b87ab99136 eutils d04e3933e3ec7e338a0561a6b0ae66b1 flag-o-matic 62e05953761097ae84a70d6c7a3e2c9c multilib 892e597faee02a5b94eb02ab512e7622 subversion c12bdf4fcc82f86ad89b14c8f76c4026 toolchain-funcs 51e6c948e72c43bcc8edc7544411c953 user d0a4d0735a6c0183d707ca919bd72f28
|
||||||
_md5_=98917f084a96725d93b308e39455614f
|
_md5_=98917f084a96725d93b308e39455614f
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
DEFINED_PHASES=compile install prepare
|
|
||||||
DEPEND=>=sys-libs/ncurses-5.2 dev-lang/perl
|
|
||||||
DESCRIPTION=the nice editor, easy to use for the beginner and powerful for the wizard
|
|
||||||
EAPI=2
|
|
||||||
HOMEPAGE=http://ne.dsi.unimi.it/
|
|
||||||
KEYWORDS=amd64 ppc ppc64 x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris
|
|
||||||
LICENSE=GPL-2
|
|
||||||
RDEPEND=>=sys-libs/ncurses-5.2
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=http://ne.dsi.unimi.it/ne-2.0.3.tar.gz
|
|
||||||
_eclasses_=multilib 892e597faee02a5b94eb02ab512e7622 toolchain-funcs 51e6c948e72c43bcc8edc7544411c953
|
|
||||||
_md5_=69358bc76d5db563d480553a0e1c92ed
|
|
@ -1,12 +1,12 @@
|
|||||||
DEFINED_PHASES=compile install prepare
|
DEFINED_PHASES=compile install prepare
|
||||||
DEPEND=>=sys-libs/ncurses-5.2 dev-lang/perl
|
DEPEND=>=sys-libs/ncurses-5.2 dev-lang/perl
|
||||||
DESCRIPTION=the nice editor, easy to use for the beginner and powerful for the wizard
|
DESCRIPTION=the nice editor, easy to use for the beginner and powerful for the wizard
|
||||||
EAPI=2
|
EAPI=5
|
||||||
HOMEPAGE=http://ne.dsi.unimi.it/
|
HOMEPAGE=http://ne.dsi.unimi.it/
|
||||||
KEYWORDS=~amd64 ~ppc ~ppc64 ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris
|
KEYWORDS=~amd64 ~ppc ~ppc64 ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris
|
||||||
LICENSE=GPL-2
|
LICENSE=GPL-2
|
||||||
RDEPEND=>=sys-libs/ncurses-5.2
|
RDEPEND=>=sys-libs/ncurses-5.2
|
||||||
SLOT=0
|
SLOT=0
|
||||||
SRC_URI=http://ne.dsi.unimi.it/ne-2.1.tar.gz
|
SRC_URI=http://ne.dsi.unimi.it/ne-2.5.tar.gz
|
||||||
_eclasses_=eutils d04e3933e3ec7e338a0561a6b0ae66b1 multilib 892e597faee02a5b94eb02ab512e7622 toolchain-funcs 51e6c948e72c43bcc8edc7544411c953 user d0a4d0735a6c0183d707ca919bd72f28
|
_eclasses_=eutils d04e3933e3ec7e338a0561a6b0ae66b1 multilib 892e597faee02a5b94eb02ab512e7622 toolchain-funcs 51e6c948e72c43bcc8edc7544411c953 user d0a4d0735a6c0183d707ca919bd72f28
|
||||||
_md5_=fa3946e33e4051a0d37ae36a75c5aed8
|
_md5_=38cc8d368e8a48d9b11713113ce65f8f
|
@ -0,0 +1,15 @@
|
|||||||
|
DEFINED_PHASES=config install postinst postrm preinst prepare prerm unpack
|
||||||
|
DEPEND=virtual/pkgconfig >=sys-apps/sed-4 dev-libs/libxslt
|
||||||
|
DESCRIPTION=Emulate a complete PC on your PC without the usual performance overhead of most emulators
|
||||||
|
EAPI=4
|
||||||
|
HOMEPAGE=http://www.vmware.com/products/workstation/
|
||||||
|
IUSE=cups doc ovftool server vix vmware-tools
|
||||||
|
KEYWORDS=-* ~amd64 ~x86
|
||||||
|
LICENSE=vmware GPL-2
|
||||||
|
PDEPEND=~app-emulation/vmware-modules-279.1 vmware-tools? ( app-emulation/vmware-tools )
|
||||||
|
RDEPEND=dev-cpp/cairomm dev-cpp/glibmm:2 dev-cpp/gtkmm:2.4 dev-cpp/libgnomecanvasmm dev-cpp/pangomm dev-libs/atk dev-libs/glib:2 dev-libs/icu dev-libs/expat dev-libs/libaio dev-libs/libgcrypt dev-libs/libsigc++ dev-libs/libxml2 =dev-libs/openssl-0.9.8* dev-libs/xmlrpc-c gnome-base/libgnomecanvas gnome-base/libgtop:2 gnome-base/librsvg:2 gnome-base/orbit media-libs/fontconfig media-libs/freetype media-libs/libart_lgpl =media-libs/libpng-1.2* media-libs/libpng net-misc/curl cups? ( net-print/cups ) sys-devel/gcc sys-fs/fuse sys-libs/glibc sys-libs/zlib x11-libs/cairo x11-libs/gtk+:2 x11-libs/libgksu x11-libs/libICE x11-libs/libSM x11-libs/libX11 x11-libs/libXau x11-libs/libxcb x11-libs/libXcomposite x11-libs/libXcursor x11-libs/libXdamage x11-libs/libXdmcp x11-libs/libXext x11-libs/libXfixes x11-libs/libXft x11-libs/libXi x11-libs/libXinerama x11-libs/libXrandr x11-libs/libXrender x11-libs/libXtst x11-libs/pango x11-libs/pangox-compat x11-libs/startup-notification x11-themes/hicolor-icon-theme !app-emulation/vmware-player
|
||||||
|
RESTRICT=mirror strip
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=x86? ( https://softwareupdate.vmware.com/cds/vmw-desktop/ws/10.0.1/1379776/linux/core/VMware-Workstation-10.0.1-1379776.i386.bundle.tar ) amd64? ( https://softwareupdate.vmware.com/cds/vmw-desktop/ws/10.0.1/1379776/linux/core/VMware-Workstation-10.0.1-1379776.x86_64.bundle.tar ) https://github.com/akhuettel/systemd-vmware/archive/gentoo-01.tar.gz
|
||||||
|
_eclasses_=eutils d04e3933e3ec7e338a0561a6b0ae66b1 fdo-mime 0acfe1a88fd8751a1d5dc671168219fa flag-o-matic 62e05953761097ae84a70d6c7a3e2c9c gnome2-utils b66c7c3889d2dd0913e9f3d2ac1c0859 multilib 892e597faee02a5b94eb02ab512e7622 pam 5c1a9ef4892062f9ec25c8ef7c1f1e52 systemd 9f063b2cc19c5e8030911372aa246c4e toolchain-funcs 51e6c948e72c43bcc8edc7544411c953 user d0a4d0735a6c0183d707ca919bd72f28 versionator a8a3963967d6140be9a14b08bb8f047f vmware-bundle 23c070352c2722510704dae8063293e0
|
||||||
|
_md5_=fc056dbaa3fbc24cf63eb817c99de6e3
|
@ -1,10 +1,10 @@
|
|||||||
DEFINED_PHASES=compile configure install preinst prepare setup test unpack
|
DEFINED_PHASES=compile configure install preinst prepare setup test unpack
|
||||||
DEPEND=dev-libs/libxslt dev-libs/libxml2 dev-python/dbus-python sys-devel/gettext app-text/docbook-xsl-stylesheets app-text/docbook-xml-dtd:4.5 dev-python/epydoc =dev-lang/python-2.7* sys-devel/make >=dev-util/cmake-2.8.9 userland_GNU? ( >=sys-apps/findutils-4.4.0 ) || ( dev-vcs/subversion[webdav-neon] dev-vcs/subversion[webdav-serf] ) net-misc/rsync
|
DEPEND=dev-libs/libxslt dev-libs/libxml2 dev-python/dbus-python sys-devel/gettext app-text/docbook-xsl-stylesheets app-text/docbook-xml-dtd:4.5 dev-python/epydoc =dev-lang/python-2.7* sys-devel/make >=dev-util/cmake-2.8.9 userland_GNU? ( >=sys-apps/findutils-4.4.0 ) || ( dev-vcs/subversion[http] dev-vcs/subversion[webdav-neon] dev-vcs/subversion[webdav-serf] ) net-misc/rsync
|
||||||
DESCRIPTION=A framework for custom processing of PO files.
|
DESCRIPTION=A framework for custom processing of PO files.
|
||||||
EAPI=4
|
EAPI=4
|
||||||
HOMEPAGE=http://pology.nedohodnik.net
|
HOMEPAGE=http://pology.nedohodnik.net
|
||||||
LICENSE=GPL-3
|
LICENSE=GPL-3
|
||||||
RDEPEND=dev-libs/libxslt dev-libs/libxml2 dev-python/dbus-python sys-devel/gettext =dev-lang/python-2.7*
|
RDEPEND=dev-libs/libxslt dev-libs/libxml2 dev-python/dbus-python sys-devel/gettext =dev-lang/python-2.7*
|
||||||
SLOT=0
|
SLOT=0
|
||||||
_eclasses_=bash-completion-r1 d339dd40b2014cf1edba8592580eef42 cmake-utils 0ff4fbaea3a849e97cb3e0b87ab99136 eutils d04e3933e3ec7e338a0561a6b0ae66b1 flag-o-matic 62e05953761097ae84a70d6c7a3e2c9c multilib 892e597faee02a5b94eb02ab512e7622 python 305197b0aa1194fa3ef67ca21f6faa7e subversion de38ef8c5baf84d80e695a4d6ad26554 toolchain-funcs 51e6c948e72c43bcc8edc7544411c953 user d0a4d0735a6c0183d707ca919bd72f28
|
_eclasses_=bash-completion-r1 d339dd40b2014cf1edba8592580eef42 cmake-utils 0ff4fbaea3a849e97cb3e0b87ab99136 eutils d04e3933e3ec7e338a0561a6b0ae66b1 flag-o-matic 62e05953761097ae84a70d6c7a3e2c9c multilib 892e597faee02a5b94eb02ab512e7622 python 305197b0aa1194fa3ef67ca21f6faa7e subversion c12bdf4fcc82f86ad89b14c8f76c4026 toolchain-funcs 51e6c948e72c43bcc8edc7544411c953 user d0a4d0735a6c0183d707ca919bd72f28
|
||||||
_md5_=ee2151e07b33c3cfc2b72e44aa86fd67
|
_md5_=ee2151e07b33c3cfc2b72e44aa86fd67
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue