parent
68cf221677
commit
5214e8728d
@ -1,2 +1,3 @@
|
||||
DIST monit-5.3.2.tar.gz 1192207 SHA256 406a06ac912525c8e76066d07235c848466b331532b2b3de931b61fe455ae915 SHA512 d3c5786fec4097f7997bade8465b6a11d3094f2852253640f185cd266bf0330834d1f3921554c302727dea7ebe876b474c15bcd43eeea0bdfad7284b7a66e623 WHIRLPOOL 069ff2aaa20b0589c133d53a0a0274988c07684e6c14ba7778812e25aa0d0b072bb5bc07a4495abc1fa0d2f05d48e5aecee86ad684bf7999000acaf3ae6cd098
|
||||
DIST monit-5.4.tar.gz 1197209 SHA256 805c6545de2dd7f3d9e6e0c68018b2aadd5fc98b243c8868178f247a60906038 SHA512 eeb0b57fc3b58cbea5ed55399a3dbcae5a6eb66dd14f11300853333ad64bbdcbc7e36f0acc8d3ca383a2cd7da7501b31c72da0e5382585d366c9675ea383209c WHIRLPOOL 7715aaf8606ea9bfa0573f52c10a5150b4894aa48ca42f49345000765511d1b59b21182cd77fac77f34545240b8f95a33a0755468c4df19ee42ac391a7ede88e
|
||||
DIST monit-5.5.tar.gz 1197459 SHA256 8276b060b3f0e6453c9748d421dec044ddae09d3e4c4666e13472aab294d7c53 SHA512 ae5391428417d450d061f4c80f4995f1ea4b83238cd4c1d9813b55cae9e7d6a7b5df22fd97cd73d8a501b3e2e5df7f21caee27aeaf15cadee7bb579c036754b3 WHIRLPOOL 7c7e10b1b9899c8241e0d931cedede2fa302216e691d9523b12bd196f9e1c23d8fd5ad6ec318df9ab75d62c049dc9a078454d7ad40c487b371f69c31c1507d3f
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/monit-5.5.ebuild,v 1.1 2012/10/05 06:06:50 patrick Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
DESCRIPTION="a utility for monitoring and managing daemons or similar programs running on a Unix system."
|
||||
HOMEPAGE="http://mmonit.com/monit/"
|
||||
SRC_URI="http://mmonit.com/monit/dist/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
|
||||
IUSE="pam ssl"
|
||||
|
||||
RDEPEND="ssl? ( dev-libs/openssl )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/flex
|
||||
sys-devel/bison
|
||||
pam? ( virtual/pam )"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/^INSTALL_PROG/s/-s//' Makefile.in || die "sed failed in Makefile.in"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with ssl) $(use_with pam) || die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
dodoc CHANGES.txt README*
|
||||
dohtml -r doc/*
|
||||
|
||||
insinto /etc; insopts -m700; doins monitrc || die "doins monitrc failed"
|
||||
newinitd "${FILESDIR}"/monit.initd-5.0-r1 monit || die "newinitd failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Sample configurations are available at:"
|
||||
elog "http://mmonit.com/monit/documentation/"
|
||||
}
|
@ -0,0 +1,242 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/johntheripper/johntheripper-1.7.9-r5.ebuild,v 1.1 2012/10/05 17:43:57 zerochaos Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs pax-utils multilib
|
||||
|
||||
MY_PN="john"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
JUMBO="jumbo-7"
|
||||
|
||||
DESCRIPTION="fast password cracker"
|
||||
HOMEPAGE="http://www.openwall.com/john/"
|
||||
|
||||
SRC_URI="http://www.openwall.com/john/g/${MY_P}.tar.bz2
|
||||
!minimal? ( http://www.openwall.com/john/g/${MY_P}-${JUMBO}.diff.gz )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
#Remove AltiVec USE flag. Appears to be an upstream issue.
|
||||
IUSE="cuda custom-cflags -minimal mmx mpi opencl openmp sse2"
|
||||
REQUIRED_USE="openmp? ( !minimal )
|
||||
mpi? ( !minimal )
|
||||
cuda? ( !minimal )
|
||||
opencl? ( !minimal )"
|
||||
|
||||
RDEPEND="!minimal? ( >=dev-libs/openssl-0.9.7:0 )
|
||||
mpi? ( virtual/mpi )
|
||||
cuda? ( x11-drivers/nvidia-drivers dev-util/nvidia-cuda-toolkit )
|
||||
opencl? ( virtual/opencl )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
has_xop() {
|
||||
echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __XOP__ 1"
|
||||
}
|
||||
|
||||
has_avx() {
|
||||
echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep -q "#define __AVX__ 1"
|
||||
}
|
||||
|
||||
get_target() {
|
||||
if use alpha; then
|
||||
echo "linux-alpha"
|
||||
elif use amd64; then
|
||||
if has_xop; then
|
||||
echo "linux-x86-64-xop"
|
||||
elif has_avx; then
|
||||
echo "linux-x86-64-avx"
|
||||
else
|
||||
echo "linux-x86-64"
|
||||
fi
|
||||
elif use ppc; then
|
||||
#if use altivec; then
|
||||
# echo "linux-ppc32-altivec"
|
||||
#else
|
||||
echo "linux-ppc32"
|
||||
#fi
|
||||
elif use ppc64; then
|
||||
#if use altivec; then
|
||||
# echo "linux-ppc32-altivec"
|
||||
#else
|
||||
echo "linux-ppc64"
|
||||
#fi
|
||||
# linux-ppc64-altivec is slightly slower than linux-ppc32-altivec for most hash types.
|
||||
# as per the Makefile comments
|
||||
elif use sparc; then
|
||||
echo "linux-sparc"
|
||||
elif use x86; then
|
||||
if has_xop; then
|
||||
echo "linux-x86-xop"
|
||||
elif has_avx; then
|
||||
echo "linux-x86-avx"
|
||||
elif use sse2; then
|
||||
echo "linux-x86-sse2"
|
||||
elif use mmx; then
|
||||
echo "linux-x86-mmx"
|
||||
else
|
||||
echo "linux-x86-any"
|
||||
fi
|
||||
elif use ppc-macos; then
|
||||
# force AltiVec, the non-altivec profile contains ancient compiler cruft
|
||||
# if use altivec; then
|
||||
echo "macosx-ppc32-altivec"
|
||||
# else
|
||||
# echo "macosx-ppc32"
|
||||
# fi
|
||||
# for Tiger this can be macosx-ppc64
|
||||
elif use x86-macos; then
|
||||
if use sse2; then
|
||||
echo "macosx-x86-sse2"
|
||||
else
|
||||
echo "macosx-x86"
|
||||
fi
|
||||
elif use x86-solaris; then
|
||||
echo "solaris-x86-any"
|
||||
elif use x86-fbsd; then
|
||||
if use sse2; then
|
||||
echo "freebsd-x86-sse2"
|
||||
elif use mmx; then
|
||||
echo "freebsd-x86-mmx"
|
||||
else
|
||||
echo "freebsd-x86-any"
|
||||
fi
|
||||
elif use amd64-fbsd; then
|
||||
echo "freebsd-x86-64"
|
||||
else
|
||||
echo "generic"
|
||||
fi
|
||||
}
|
||||
|
||||
get_john_objs() {
|
||||
echo -n '${JOHN_COMMON_OBJS} '
|
||||
if use opencl; then
|
||||
echo -n '${OCL_OBJS} '
|
||||
fi
|
||||
if use cuda; then
|
||||
echo -n '${CUDA_OBJS}'
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use openmp ; then
|
||||
tc-has-openmp || die "Please switch to an openmp compatible compiler"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if ! use minimal; then
|
||||
epatch "${WORKDIR}/${MY_P}-${JUMBO}.diff"
|
||||
|
||||
if use mpi ; then
|
||||
sed -e "s/^#CC = mpicc/CC = mpicc/" \
|
||||
-e "s/^#MPIOBJ =/MPIOBJ =/" \
|
||||
-i src/Makefile || die
|
||||
fi
|
||||
|
||||
# fix typo in jumbo patch
|
||||
sed -i 's:All15:All5:' run/john.conf || die
|
||||
fi
|
||||
|
||||
cd src
|
||||
epatch "${FILESDIR}/${PN}-1.7.6-cflags.patch"
|
||||
epatch "${FILESDIR}/${PN}-1.7.3.1-mkdir-sandbox.patch"
|
||||
|
||||
if ! use minimal; then
|
||||
sed -e "s/LDFLAGS *= */override LDFLAGS += /" -e "/LDFLAGS/s/-s//" \
|
||||
-e "/LDFLAGS/s/-L[^ ]*//g" -e "/CFLAGS/s/-[IL][^ ]*//g" \
|
||||
-i Makefile || die "sed Makefile failed"
|
||||
sed -i 's#/usr/local#/opt#g' Makefile || die
|
||||
fi
|
||||
sed -i 's#JOHN_OBJS = \\#JOHN_COMMON_OBJS = \\#g' Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local OMP
|
||||
|
||||
use custom-cflags || strip-flags
|
||||
echo "#define JOHN_SYSTEMWIDE 1" >> config.gentoo
|
||||
echo "#define JOHN_SYSTEMWIDE_HOME \"${EPREFIX}/etc/john\"" >> config.gentoo
|
||||
echo "#define JOHN_SYSTEMWIDE_EXEC \"${EPREFIX}/usr/libexec/john\"" >> config.gentoo
|
||||
append-flags -fPIC -fPIE
|
||||
gcc-specs-pie && append-ldflags -nopie
|
||||
use openmp && OMP="-fopenmp"
|
||||
|
||||
CPP="$(tc-getCXX)" CC="$(tc-getCC)" AS="$(tc-getCC)" LD="$(tc-getCC)"
|
||||
use mpi && CPP=mpicxx CC=mpicc AS=mpicc LD=mpicc
|
||||
|
||||
#this stuff was all stolen from the Makefile, if build breaks, check this first
|
||||
if use opencl; then
|
||||
GPUCFLAGS="${GPUCFLAGS} -DCL_VERSION_1_0"
|
||||
GPULDFLAGS="${GPULDFLAGS} -lOpenCL"
|
||||
fi
|
||||
if use cuda; then
|
||||
GPUCFLAGS="${GPUCFLAGS} -DHAVE_CUDA"
|
||||
GPULDFLAGS="${GPULDFLAGS} -L/opt/cuda/$(get_libdir) -lcudart"
|
||||
fi
|
||||
|
||||
emake -C src/ \
|
||||
CPP="${CPP}" CC="${CC}" AS="${AS}" LD="${LD}" \
|
||||
CFLAGS="-c -Wall -include \\\"${S}\\\"/config.gentoo ${CFLAGS} ${OMP} ${GPUCFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS} ${GPULDFLAGS}" \
|
||||
OPT_NORMAL="" \
|
||||
OMPFLAGS="${OMP}" \
|
||||
JOHN_OBJS="$(get_john_objs)" \
|
||||
$(get_target)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd run
|
||||
if [[ -f "${EPREFIX}/etc/john/john.conf" || -f "${EPREFIX}/etc/john/john.ini" ]] ; then
|
||||
# This requires that MPI is actually 100% online on your system, which might not
|
||||
# be the case, depending on which MPI implementation you are using.
|
||||
#if use mpi; then
|
||||
# mpirun -np 2 ./john --test || die "self test failed"
|
||||
#else
|
||||
|
||||
./john --test || die 'self test failed'
|
||||
else
|
||||
ewarn "Tests require '${EPREFIX}/etc/john/john.conf' or '${EPREFIX}/etc/john/john.ini'"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# executables
|
||||
dosbin run/john
|
||||
newsbin run/mailer john-mailer
|
||||
|
||||
pax-mark -mr "${ED}usr/sbin/john" || die
|
||||
|
||||
dosym john /usr/sbin/unafs
|
||||
dosym john /usr/sbin/unique
|
||||
dosym john /usr/sbin/unshadow
|
||||
|
||||
# jumbo-patch additions
|
||||
if ! use minimal; then
|
||||
dosym john /usr/sbin/undrop
|
||||
dosbin run/calc_stat
|
||||
dosbin run/genmkvpwd
|
||||
dosbin run/mkvcalcproba
|
||||
dosbin run/tgtsnarf
|
||||
insinto /etc/john
|
||||
doins run/genincstats.rb run/stats
|
||||
doins run/netscreen.py run/sap2john.pl
|
||||
if use opencl; then
|
||||
doins src/opencl/*.cl
|
||||
doins src/opencl_*.h
|
||||
fi
|
||||
fi
|
||||
|
||||
# config files
|
||||
insinto /etc/john
|
||||
doins run/*.chr run/password.lst
|
||||
doins run/*.conf
|
||||
|
||||
# documentation
|
||||
dodoc doc/*
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST focuswriter-1.3.5.2-src.tar.bz2 11387235 SHA256 fa452056d219643e52826d5f09cf8e58aeeb38929a14cbc1ec9dab9c58f197db SHA512 3dce6927ad5c7e8d521962d01d8c646393523e22a9e039aa8a44cb4d10f0fdd4f2858a25a1e108031ce3dd2168b761331f2679d4d4c63ee2f4b43ff843ed04d2 WHIRLPOOL f6c30ccdd08eac37625025e755fd95afef3218aff3b86b1919d05538a7573f698fe7bd8d6f0b7abcf8ef59455b3c5fe4f065c352cefe66ba3d0b908dee8abd72
|
||||
DIST focuswriter-1.3.90-src.tar.bz2 3088651 SHA256 5047fe70b193804d3ee9907db525f5b2ac8f58af92e55093d7ef8af57a36cd49 SHA512 5d793689092b7fe7e7d1c0c43f7afd863207661bd81f5b423e8dab7766fa17307d64b17b685eb58320df32a7c0ed53a9d27e2f85fc170a8e717b21a56deae0a1 WHIRLPOOL f23b66019febaf9d14310169a5575cb354c0ab738aad748988869b274cba9a8fc8af627fe949269c9dcc11e0848fbe952ca9b436de14d07ef13664942931a39e
|
||||
DIST focuswriter-1.4.0-src.tar.bz2 3096917 SHA256 9f56b44f1f7ba9c07786ba6d2a9b93dffd7e3f8bde7747054af433b85ef70ca4 SHA512 1fd3436f5d9e1e12774455a41610e9f8a134698377e3b4bd6d914c5869405d46d865f6e814c5a7a35b3f5d67d04dc41651cb3f43adbf7e51f3d27154c6b4f53e WHIRLPOOL c80c69700746b815a9b6f6abccadc85e9d6c5126dd83e39f48770d08fb20b98fc581c6899d5c6780647a9b2441e5a9270fef0b02bb5d36c49e3fcd583f08d6a5
|
||||
|
@ -0,0 +1,389 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-0.10.2-r1.ebuild,v 1.1 2012/10/05 19:28:29 cardoe Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
BACKPORTS=757dd2d2
|
||||
AUTOTOOLIZE=yes
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
PYTHON_DEPEND="python? 2:2.5"
|
||||
#RESTRICT_PYTHON_ABIS="3.*"
|
||||
#SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit eutils python user autotools linux-info
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://libvirt.org/libvirt.git"
|
||||
AUTOTOOLIZE=yes
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://libvirt.org/sources/${MY_P}.tar.gz
|
||||
ftp://libvirt.org/libvirt/${MY_P}.tar.gz
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
S="${WORKDIR}/${P%_rc*}"
|
||||
|
||||
DESCRIPTION="C toolkit to manipulate virtual machines"
|
||||
HOMEPAGE="http://www.libvirt.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="audit avahi +caps debug iscsi +libvirtd lvm +lxc +macvtap nfs \
|
||||
nls numa openvz parted pcap phyp policykit python qemu rbd sasl \
|
||||
selinux +udev uml +vepa virtualbox virt-network xen elibc_glibc"
|
||||
REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
|
||||
lxc? ( caps libvirtd )
|
||||
openvz? ( libvirtd )
|
||||
qemu? ( libvirtd )
|
||||
uml? ( libvirtd )
|
||||
vepa? ( macvtap )
|
||||
virtualbox? ( libvirtd )
|
||||
xen? ( libvirtd )"
|
||||
|
||||
# gettext.sh command is used by the libvirt command wrappers, and it's
|
||||
# non-optional, so put it into RDEPEND.
|
||||
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
|
||||
# package will use 3 by default. Since we don't have slot pinning in an API,
|
||||
# we must go with the most recent
|
||||
RDEPEND="sys-libs/readline
|
||||
sys-libs/ncurses
|
||||
>=net-misc/curl-7.18.0
|
||||
dev-libs/libgcrypt
|
||||
>=dev-libs/libxml2-2.7.6
|
||||
dev-libs/libnl:3
|
||||
>=net-libs/gnutls-1.0.25
|
||||
sys-apps/dmidecode
|
||||
>=sys-apps/util-linux-2.17
|
||||
sys-devel/gettext
|
||||
>=net-analyzer/netcat6-1.0-r2
|
||||
app-misc/scrub
|
||||
audit? ( sys-process/audit )
|
||||
avahi? ( >=net-dns/avahi-0.6[dbus] )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
iscsi? ( sys-block/open-iscsi )
|
||||
lxc? ( sys-power/pm-utils )
|
||||
lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
|
||||
nfs? ( net-fs/nfs-utils )
|
||||
numa? (
|
||||
>sys-process/numactl-2.0.2
|
||||
sys-process/numad
|
||||
)
|
||||
openvz? ( sys-kernel/openvz-sources )
|
||||
parted? (
|
||||
>=sys-block/parted-1.8[device-mapper]
|
||||
sys-fs/lvm2
|
||||
)
|
||||
pcap? ( >=net-libs/libpcap-1.0.0 )
|
||||
phyp? ( net-libs/libssh2 )
|
||||
policykit? ( >=sys-auth/polkit-0.9 )
|
||||
qemu? (
|
||||
|| ( app-emulation/qemu-kvm >=app-emulation/qemu-0.10.0 )
|
||||
dev-libs/yajl
|
||||
sys-power/pm-utils
|
||||
)
|
||||
rbd? ( sys-cluster/ceph )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
||||
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
|
||||
xen? ( app-emulation/xen-tools app-emulation/xen )
|
||||
udev? ( >=sys-fs/udev-145 >=x11-libs/libpciaccess-0.10.9 )
|
||||
virt-network? ( net-dns/dnsmasq
|
||||
>=net-firewall/iptables-1.4.10
|
||||
net-misc/radvd
|
||||
net-firewall/ebtables
|
||||
sys-apps/iproute2[-minimal] )
|
||||
elibc_glibc? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) )"
|
||||
# one? ( dev-libs/xmlrpc-c )
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
app-text/xhtml1
|
||||
dev-libs/libxslt
|
||||
=dev-lang/python-2*"
|
||||
|
||||
LXC_CONFIG_CHECK="
|
||||
~CGROUPS
|
||||
~CGROUP_FREEZER
|
||||
~CGROUP_DEVICE
|
||||
~CPUSETS
|
||||
~CGROUP_CPUACCT
|
||||
~RESOURCE_COUNTERS
|
||||
~CGROUP_MEM_RES_CTLR
|
||||
~CGROUP_SCHED
|
||||
~BLK_CGROUP
|
||||
~NAMESPACES
|
||||
~UTS_NS
|
||||
~IPC_NS
|
||||
~PID_NS
|
||||
~NET_NS
|
||||
~DEVPTS_MULTIPLE_INSTANCES
|
||||
~VETH
|
||||
~MACVLAN
|
||||
~POSIX_MQUEUE
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS
|
||||
"
|
||||
|
||||
VIRTNET_CONFIG_CHECK="
|
||||
~BRIDGE_NF_EBTABLES
|
||||
~NETFILTER_ADVANCED
|
||||
~NETFILTER_XT_TARGET_CHECKSUM
|
||||
"
|
||||
|
||||
MACVTAP_CONFIG_CHECK="~MACVTAP"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
|
||||
enewgroup qemu 77
|
||||
enewuser qemu 77 -1 -1 qemu kvm
|
||||
|
||||
# Some people used the masked ebuild which was not adding the qemu
|
||||
# user to the kvm group originally. This results in VMs failing to
|
||||
# start for some users. bug #430808
|
||||
egetent group kvm | grep -q qemu
|
||||
if [[ $? -ne 0 ]]; then
|
||||
gpasswd -a qemu kvm
|
||||
fi
|
||||
|
||||
CONFIG_CHECK=""
|
||||
use lxc && CONFIG_CHECK+="${LXC_CONFIG_CHECK}"
|
||||
kernel_is lt 3 5 && use lxc && CONFIG_CHECK+=" ~USER_NS"
|
||||
use macvtap && CONFIG_CHECK+="${MACVTAP}"
|
||||
use virt-network && CONFIG_CHECK+="${VIRTNET_CONFIG_CHECK}"
|
||||
if [[ -n ${CONFIG_CHECK} ]]; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
touch "${S}/.mailmap"
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
|
||||
# git checkouts require bootstrapping to create the configure script.
|
||||
# Additionally the submodules must be cloned to the right locations
|
||||
# bug #377279
|
||||
./bootstrap || die "bootstrap failed"
|
||||
(
|
||||
git submodule status | sed 's/^[ +-]//;s/ .*//'
|
||||
git hash-object bootstrap.conf
|
||||
) >.git-module-status
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
|
||||
[[ -n ${AUTOTOOLIZE} ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
myconf="${myconf} $(use_enable debug)"
|
||||
|
||||
## enable/disable daemon, otherwise client only utils
|
||||
myconf="${myconf} $(use_with libvirtd)"
|
||||
|
||||
## enable/disable the daemon using avahi to find VMs
|
||||
myconf="${myconf} $(use_with avahi)"
|
||||
|
||||
## hypervisors on the local host
|
||||
myconf="${myconf} $(use_with xen) $(use_with xen xen-inotify)"
|
||||
# leave it automagic as it depends on the version of xen used.
|
||||
use xen || myconf+=" --without-libxl"
|
||||
use xen || myconf+=" --without-xenapi"
|
||||
myconf="${myconf} $(use_with openvz)"
|
||||
myconf="${myconf} $(use_with lxc)"
|
||||
if use virtualbox && has_version app-emulation/virtualbox-ose; then
|
||||
myconf="${myconf} --with-vbox=/usr/lib/virtualbox-ose/"
|
||||
else
|
||||
myconf="${myconf} $(use_with virtualbox vbox)"
|
||||
fi
|
||||
myconf="${myconf} $(use_with uml)"
|
||||
myconf="${myconf} $(use_with qemu)"
|
||||
myconf="${myconf} $(use_with qemu yajl)" # Use QMP over HMP
|
||||
myconf="${myconf} $(use_with phyp)"
|
||||
myconf="${myconf} --with-esx"
|
||||
myconf="${myconf} --with-vmware"
|
||||
|
||||
## additional host drivers
|
||||
myconf="${myconf} $(use_with virt-network network)"
|
||||
myconf="${myconf} --with-storage-fs"
|
||||
myconf="${myconf} $(use_with lvm storage-lvm)"
|
||||
myconf="${myconf} $(use_with iscsi storage-iscsi)"
|
||||
myconf="${myconf} $(use_with parted storage-disk)"
|
||||
myconf="${myconf} $(use_with lvm storage-mpath)"
|
||||
myconf="${myconf} $(use_with rbd storage-rbd)"
|
||||
myconf="${myconf} $(use_with numa numactl)"
|
||||
myconf="${myconf} $(use_with numa numad)"
|
||||
myconf="${myconf} $(use_with selinux)"
|
||||
|
||||
# udev for device support details
|
||||
myconf="${myconf} $(use_with udev)"
|
||||
|
||||
# linux capability support so we don't need privileged accounts
|
||||
myconf="${myconf} $(use_with caps capng)"
|
||||
|
||||
## auth stuff
|
||||
myconf="${myconf} $(use_with policykit polkit)"
|
||||
myconf="${myconf} $(use_with sasl)"
|
||||
|
||||
# network bits
|
||||
myconf="${myconf} $(use_with macvtap)"
|
||||
myconf="${myconf} $(use_with pcap libpcap)"
|
||||
myconf="${myconf} $(use_with vepa virtualport)"
|
||||
|
||||
## other
|
||||
myconf="${myconf} $(use_enable nls)"
|
||||
myconf="${myconf} $(use_with python)"
|
||||
|
||||
# user privilege bits fir qemu/kvm
|
||||
if use caps; then
|
||||
myconf="${myconf} --with-qemu-user=qemu"
|
||||
myconf="${myconf} --with-qemu-group=qemu"
|
||||
else
|
||||
myconf="${myconf} --with-qemu-user=root"
|
||||
myconf="${myconf} --with-qemu-group=root"
|
||||
fi
|
||||
|
||||
# audit support
|
||||
myconf="${myconf} $(use_with audit)"
|
||||
|
||||
## stuff we don't yet support
|
||||
myconf="${myconf} --without-netcf"
|
||||
|
||||
# we use udev over hal
|
||||
myconf="${myconf} --without-hal"
|
||||
|
||||
# locking support
|
||||
myconf="${myconf} --without-sanlock"
|
||||
|
||||
# this is a nasty trick to work around the problem in bug
|
||||
# #275073. The reason why we don't solve this properly is that
|
||||
# it'll require us to rebuild autotools (and we don't really want
|
||||
# to do that right now). The proper solution has been sent
|
||||
# upstream and should hopefully land in 0.7.7, in the mean time,
|
||||
# mime the same functionality with this.
|
||||
case ${CHOST} in
|
||||
*cygwin* | *mingw* )
|
||||
;;
|
||||
*)
|
||||
ac_cv_prog_WINDRES=no
|
||||
;;
|
||||
esac
|
||||
|
||||
econf \
|
||||
${myconf} \
|
||||
--disable-static \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--with-remote \
|
||||
--localstatedir=/var
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Restore gnulib's config.sub and config.guess
|
||||
# bug #377279
|
||||
(cd .gnulib && git reset --hard > /dev/null)
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Explicitly allow parallel build of tests
|
||||
HOME="${T}" emake check || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install \
|
||||
DESTDIR="${D}" \
|
||||
HTML_DIR=/usr/share/doc/${PF}/html \
|
||||
DOCS_DIR=/usr/share/doc/${PF}/python \
|
||||
EXAMPLE_DIR=/usr/share/doc/${PF}/python/examples \
|
||||
|| die "emake install failed"
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
newinitd "${FILESDIR}/libvirtd.init-r9" libvirtd || die
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r3" libvirtd || die
|
||||
|
||||
keepdir /var/lib/libvirt/images
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# we only ever want to generate this once
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
# We really don't want to use or support old PolicyKit cause it
|
||||
# screws with the new polkit integration
|
||||
if has_version sys-auth/policykit; then
|
||||
rm -rf "${D}"/usr/share/PolicyKit/policy/org.libvirt.unix.policy
|
||||
fi
|
||||
|
||||
# Only sysctl files ending in .conf work
|
||||
mv "${D}"/etc/sysctl.d/libvirtd "${D}"/etc/sysctl.d/libvirtd.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use python && python_mod_optimize libvirt.py
|
||||
|
||||
# support for dropped privileges
|
||||
if use qemu; then
|
||||
fperms 0750 "${EROOT}/var/lib/libvirt/qemu"
|
||||
fperms 0750 "${EROOT}/var/cache/libvirt/qemu"
|
||||
fi
|
||||
|
||||
if use caps && use qemu; then
|
||||
fowners -R qemu:qemu "${EROOT}/var/lib/libvirt/qemu"
|
||||
fowners -R qemu:qemu "${EROOT}/var/cache/libvirt/qemu"
|
||||
elif use qemu; then
|
||||
fowners -R root:root "${EROOT}/var/lib/libvirt/qemu"
|
||||
fowners -R root:root "${EROOT}/var/cache/libvirt/qemu"
|
||||
fi
|
||||
|
||||
if ! use policykit; then
|
||||
elog "To allow normal users to connect to libvirtd you must change the"
|
||||
elog "unix sock group and/or perms in /etc/libvirt/libvirtd.conf"
|
||||
fi
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
elog
|
||||
elog "For the basic networking support (bridged and routed networks)"
|
||||
elog "you don't need any extra software. For more complex network modes"
|
||||
elog "including but not limited to NATed network, you can enable the"
|
||||
elog "'virt-network' USE flag."
|
||||
elog
|
||||
if has_version net-dns/dnsmasq; then
|
||||
ewarn "If you have a DNS server setup on your machine, you will have"
|
||||
ewarn "to configure /etc/dnsmasq.conf to enable the following settings: "
|
||||
ewarn " bind-interfaces"
|
||||
ewarn " interface or except-interface"
|
||||
ewarn
|
||||
ewarn "Otherwise you might have issues with your existing DNS server."
|
||||
fi
|
||||
|
||||
if use caps && use qemu; then
|
||||
elog "libvirt will now start qemu/kvm VMs with non-root privileges."
|
||||
elog "Ensure any resources your VMs use are accessible by qemu:qemu"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use python && python_mod_cleanup libvirt.py
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-forensics/examiner/examiner-0.5-r2.ebuild,v 1.2 2012/10/06 10:00:30 ago Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Application that utilizes the objdump command to disassemble and comment foreign executable binaries"
|
||||
HOMEPAGE="http://www.academicunderground.org/examiner/"
|
||||
SRC_URI="http://www.academicunderground.org/examiner/${P}.tar.gz"
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="dev-lang/perl"
|
||||
|
||||
src_prepare() {
|
||||
# Do not install docs through Makefile wrt bug #241256
|
||||
sed -i -e '/$(DOC)/d' Makefile || die 'sed failed'
|
||||
epatch "${FILESDIR}"/${P}-perl.patch
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
dodir /usr/bin /usr/share/${PN} /usr/share/man/man1
|
||||
|
||||
emake \
|
||||
MAN="${D}/usr/share/man/man1" \
|
||||
BIN="${D}/usr/bin" \
|
||||
SHARE="${D}/usr/share/examiner" \
|
||||
install
|
||||
|
||||
dodoc docs/{README*,BUGS,CHANGELOG,TODO,TUTORIAL}
|
||||
dodoc -r utils
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST thinkfan-0.8.0.tar.gz 38396 SHA256 aa4062bdb1114224c372afc3796ffd5b0ae40d4442fc17e15af8876d0e7885ed SHA512 0d014b74a0fa43e02ecc139e5f1a49febaa6ca101cb095d96ac7cb994de4979eab96608ee9decdaa55959884e4976518b5e17267afd2944781c121fca49f902f WHIRLPOOL dc367d788861744d08788db9aeff3a0742b222d16eaffb7f7630bda8509bad6c2f1034ba72081afefd9e2a30b231a185f2de9658a7edfd3b038d0af4e829f506
|
||||
DIST thinkfan-0.8.1.tar.gz 38417 SHA256 ba630fdcdefa238b2c87f050f6fcbd5a4828527497d52d410761a26c8ca25311 SHA512 6e5c7df599ca6f1c99cf61bfafb752f5886a7eeff9166a43006ea8d86f82ff8c4d5eb6ddc2e62dc5d01235038b4606fbbfc849f81b971388ccbe6417ee9f3208 WHIRLPOOL 975eee0b64db52bbd5552a540aff035abe36bd8a602ec6f966ec30a9ffd1bc9ef30481b91f37c6c3f771a2ba0b38850d7d4dc40387c475deffa7850288d122b4
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-laptop/thinkfan/thinkfan-0.8.1.ebuild,v 1.1 2012/10/06 09:46:11 xmw Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="simple fan control program for thinkpads"
|
||||
HOMEPAGE="http://thinkfan.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin ${PN}
|
||||
|
||||
newinitd rcscripts/thinkfan.gentoo ${PN}
|
||||
|
||||
doman ${PN}.1
|
||||
dodoc ChangeLog NEWS README \
|
||||
examples/${PN}.conf.{complex,sysfs,thinkpad}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Please read the documentation and copy an"
|
||||
elog "appropriate file to /etc/thinkfan.conf."
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/colordiff/colordiff-1.0.9.ebuild,v 1.11 2011/02/15 11:03:32 gmsoft Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit prefix
|
||||
|
||||
DESCRIPTION="Colorizes output of diff"
|
||||
HOMEPAGE="http://colordiff.sourceforge.net/"
|
||||
#SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
# Hasn't been copied to mirrors yet
|
||||
SRC_URI="http://${PN}.sourceforge.net/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 sparc x86 ~ppc-aix ~x86-fbsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="sys-apps/diffutils"
|
||||
|
||||
src_prepare() {
|
||||
# set proper etcdir for Gentoo Prefix
|
||||
sed -i -e "s:'/etc:'@GENTOO_PORTAGE_EPREFIX@/etc:" "${S}/colordiff.pl" \
|
||||
|| die "sed etcdir failed"
|
||||
eprefixify "${S}"/colordiff.pl
|
||||
}
|
||||
|
||||
# This package has a makefile, but we don't want to run it
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
newbin colordiff.pl colordiff || die
|
||||
newbin cdiff.sh cdiff || die
|
||||
insinto /etc
|
||||
doins colordiffrc colordiffrc-lightbg || die
|
||||
dodoc BUGS CHANGES README TODO || die
|
||||
doman {cdiff,colordiff}.1 || die
|
||||
}
|
@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/tdl/tdl-1.5.2-r1.ebuild,v 1.8 2012/09/30 18:24:33 armin76 Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Command line To Do List manager"
|
||||
HOMEPAGE="http://www.rc0.org.uk/tdl/"
|
||||
SRC_URI="
|
||||
http://www.rpcurnow.force9.co.uk/tdl/${P}.tar.gz
|
||||
http://dev.gentoo.org/~jlec/distfiles/${PN}-screenshot.png.tar"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="doc readline"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/ncurses
|
||||
sys-libs/readline"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/texinfo
|
||||
sys-apps/sed
|
||||
doc? ( virtual/texi2dvi )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PV}-ldflags.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
local myconf="--prefix=${EPREFIX}/usr"
|
||||
|
||||
if ! use readline; then
|
||||
myconf="${myconf} --without-readline"
|
||||
|
||||
sed -i 's#\($(LIB_READLINE)\)#\1 -lncurses##g' "${S}"/Makefile.in
|
||||
fi
|
||||
sed -i 's#-ltermcap#-lncurses#g' "${S}"/configure || die
|
||||
|
||||
# XXX: do not replace with econf.
|
||||
"${S}"/configure ${myconf} || die "configure failed, sorry!"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake all tdl.info tdl.html tdl.txt || die
|
||||
if use doc; then
|
||||
emake tdl.dvi tdl.ps tdl.pdf || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local i
|
||||
|
||||
dodoc README NEWS tdl.txt "${WORKDIR}"/screenshot.png || die
|
||||
doinfo tdl.info || die
|
||||
dohtml tdl.html || die
|
||||
|
||||
dobin tdl || die
|
||||
doman tdl.1 || die
|
||||
|
||||
for i in tdl{a,l,d,g}
|
||||
do
|
||||
dosym tdl /usr/bin/${i} || die
|
||||
dosym tdl.1 /usr/share/man/man1/${i}.1 || die
|
||||
done
|
||||
|
||||
if use doc; then
|
||||
dodoc tdl.dvi tdl.ps tdl.pdf || die
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST LanguageTool-1.8.oxt 25127949 SHA256 3d219bba608c70baf0606992625d57164cb228ea44ac0423ed20708e47bc79dc SHA512 b40877fcb1303cbbc1fd53b5b6e5e45b38a1caffdcb2b2db6a6f890c59dad7983ca7e3960deb996e211a33b1e4e7e585c1b32b6d7d19be42f2a142bf905c3dbf WHIRLPOOL 1467b4955c78e4f73eb734ef2f85680ef4eb5b22582fa91eacb0d9613fbfa470898c5ac591062e5357d14c61f530d4cbecad980fa072a2affb17bf8ccc437e06
|
||||
DIST LanguageTool-1.9.oxt 33681427 SHA256 9bf64916caddc4bea126f456d89c8085328efb43db80aa6c47163302d2eec49b SHA512 0a2f7b38fc0e10cdcba1c8b632a61ca115d9d6d1b72a293d9f1d9d0ae576d48c428c2cd78e0b23fd9b474f251af40ead034178aafcf4568a871a2921f25ee8b5 WHIRLPOOL 0fb4b4d073830ca3eeceeb65053fdfb18df81079f19c5b7fe8a3cd82f7ada11ea52fe366defaf4c07ea002adee257bfbae0eeeede6ce5b7fc772059bd8aaa0ad
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-officeext/languagetool/languagetool-1.9.ebuild,v 1.1 2012/10/05 11:34:44 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_P="LanguageTool-${PV}"
|
||||
|
||||
OO_EXTENSIONS=(
|
||||
"${MY_P}.oxt"
|
||||
)
|
||||
|
||||
inherit office-ext
|
||||
|
||||
DESCRIPTION="Style and Grammar Checker for libreoffice"
|
||||
HOMEPAGE="http://www.languagetool.org/"
|
||||
SRC_URI="http://www.languagetool.org/download/${MY_P}.oxt"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
virtual/ooo[java]
|
||||
"
|
@ -0,0 +1,11 @@
|
||||
--- a/gentoo
|
||||
+++ b/gentoo
|
||||
@@ -21,7 +21,7 @@ have()
|
||||
_portdir()
|
||||
{
|
||||
(
|
||||
- source @GENTOO_PORTAGE_EPREFIX@/etc/make.globals 2>/dev/null
|
||||
+ source @GENTOO_PORTAGE_EPREFIX@/usr/share/portage/config/make.globals 2>/dev/null
|
||||
source @GENTOO_PORTAGE_EPREFIX@/etc/make.conf 2>/dev/null
|
||||
|
||||
echo ${PORTDIR}
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/gentoo-bashcomp/gentoo-bashcomp-20101217-r1.ebuild,v 1.2 2012/10/06 14:36:40 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils prefix
|
||||
|
||||
DESCRIPTION="Gentoo-specific bash command-line completions (emerge, ebuild, equery, repoman, layman, etc)"
|
||||
HOMEPAGE="http://www.gentoo.org/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2
|
||||
http://dev.gentoo.org/~darkside/tmp/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-shells/bash-completion"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-make_globals.patch" #431034
|
||||
eprefixify gentoo
|
||||
}
|
||||
|
||||
src_compile() { :; } # There is a useless Makefile in the distfile
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/bash-completion
|
||||
doins gentoo || die "failed to install gentoo module"
|
||||
doins repoman || die "failed to install repoman module"
|
||||
doins layman || die "failed to install layman module"
|
||||
dodoc AUTHORS ChangeLog TODO
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# can't use bash-completion.eclass.
|
||||
elog "To enable command-line completion for ${PN}, run:"
|
||||
elog
|
||||
elog " eselect bashcomp enable gentoo"
|
||||
elog
|
||||
elog "to install locally, or"
|
||||
elog
|
||||
elog " eselect bashcomp enable --global gentoo"
|
||||
elog
|
||||
elog "to install system-wide. (and/or repoman instead of gentoo if you use"
|
||||
elog "repoman frequently)"
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST calibre-0.8.62.tar.xz 25090932 SHA256 5da54282959e86f288dbb3e275ab403db5a66c74c7ab384adeeb24c459612159 SHA512 2d129b49b3b6daa2a5c85c02a57e70c8ac1ca8b102bca6f708c9094b9f04fb97abed62b4b00e2876473e887492cffbda3247be6021dfb6fe869f878b335c213d WHIRLPOOL c2b90f76b21dda70902dfcdda7fc698f1dcdb5397724f409745530be3f891e556806aab10a3d9328ad695455a6e0ad04084182f63af55fb4328ba60fab228cfc
|
||||
DIST calibre-0.8.70.tar.xz 26931608 SHA256 2f1cc5270f19d9912b73467f7356fb3a27a52714ad3e3198e1d93293d1e55b89 SHA512 d816e00409a77237bbbf88fddc6688047a9486d75800d3e8ca27dcca0595e3b098332395f8f6a70bb2cc2f2ba264e60e6464f320ac18854e17d2f215980f599e WHIRLPOOL 88b5cc612988854543aa1846369e9bf34572099919f4ff014c3971c1acf3d0a89d1fb1248838ef770c761e7b64ab11a65950a1322413512fc206763299008c80
|
||||
DIST calibre-0.9.0.tar.xz 26954808 SHA256 2eef13a1b2857883bc552ce3b45bbd58135cdbae9a37bc162f4bf6cbaeed9b07 SHA512 32017f16c24dc14151d4b1e64a6e5da88210aa7b8ac6ca5501878ddcb216e07f0248888ac31c8cdddf14cccc9fa51cfd1059fb0270308d0ec370664a8e37a359 WHIRLPOOL 546d45922180d85de846cc177d00daccf96223642d6b6964feaa4d48abbea36c50dfc9040c5fd87ca525864c4dae567d05c0640de26d0f2dc20b754f1145c184
|
||||
DIST calibre-0.9.1.tar.xz 27084512 SHA256 c4d32577133769dd8db7a75d1293c2762a8dd876f1203557d33be7a61fed89b3 SHA512 7d770a1e1793a7110c59995c12497092e214662bf47a2196feab296c147f538a0dc19617919cdb8606fb43fb10668f7c8d7009ff1a96f9221a36ab0b363877f5 WHIRLPOOL c51914f30995a0b740e2a67bf77893ac676310c37844175f1aaff717bbc4b24dedd70183bf84d0742a470a302ce8f6965cffd4d39b1ee71ce263a46552a90add
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.8.70.ebuild,v 1.1 2012/09/22 04:26:18 zmedico Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.9.1.ebuild,v 1.1 2012/10/05 16:53:07 zmedico Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_DEPEND=2:2.7
|
@ -1,4 +1,3 @@
|
||||
DIST dos2unix-5.3.3.tar.gz 58085 SHA256 60f62dc6536a22252204bc7cba8b411d5303859cd8b7eff27443445b0fc056ba SHA512 2e5ebe3568a756a02b8d8ed9c1f3dc46b133c18818b11099f3e5afbe3b244921a451282502156f74c99c3b4e018e25b1f28ba4581f72e92040a994eb44fa852e WHIRLPOOL b67386cd78468c5474d2fe6abf4336dae8a8f9aa8ea2630b24a0ed72c6685a4b6793e3aefa000d1be6a44a2576c389c580e796b6e0166b91eda789ed228de968
|
||||
DIST dos2unix-6.0.1.tar.gz 70487 SHA256 d96096041ac6f8d1e641aeb0f7e6e7d2e0e4cc8fd13817d70610c4f89d53e749 SHA512 d19ca2fe880be5c7309ea63e55b150dffb95796d9ce26601c887b91686743ce19cf3b0b9be4c6a9581cf11afaee811c8331265df824759acdc1ef5a9e380e9cd WHIRLPOOL c443da06dd3cbcf8ae3038b1c737277fe19410b50b0975a5f3dd0f09ae2d62b164869f58d1adbb79d1507323560b8a2eaf5f0c68a5afe63b6b85453a1f226884
|
||||
DIST dos2unix-6.0.2.tar.gz 73801 SHA256 6a46e4e2e0cb2ed2b609a11f9c7245aa45ac57ea75a3452b1bca8960184441be SHA512 261e544032cff7fc1d518ccca4096b41b59155545aff6a5f840925d8c7a93a604a8f7c41b31d97dd205bef830fdde28e7a3d70a4aaa42181bc4433c1b06a38e6 WHIRLPOOL 79f88962bf51b88706037f1ec7dabb4076003706f3b8f711d50f923425a8aada557fbecf22a2c9b881c04337138db6548b26506a06fbc0fe9e6791242ec763e7
|
||||
DIST dos2unix-6.0.tar.gz 67666 SHA256 0a3dafe5ca3dc6f640a73197322975a4cb20e9bba699ebfecaaecc15f962389e SHA512 7be4bd090cf0399572cd5c4bad01b005dfa2294bc6d02382852770c4bb197b480cbfea95b9646618bedf8fcb8c491e0939656361ed12b92289d72dd62e762dec WHIRLPOOL 64ddbc80ecfd400ae96cd67b5ecdcd6a686ec90117977340eec8e679ab9df30618cfe9bef4a30c8239078c90bcf6be38f8d3b93ed220090f79fd5ff89b56ea6f
|
||||
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/dos2unix/dos2unix-5.3.3.ebuild,v 1.8 2012/06/17 18:52:19 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Convert DOS or MAC text files to UNIX format or vice versa"
|
||||
HOMEPAGE="http://www.xs4all.nl/~waterlan/dos2unix.html http://sourceforge.net/projects/dos2unix/"
|
||||
SRC_URI="
|
||||
http://www.xs4all.nl/~waterlan/${PN}/${P}.tar.gz
|
||||
mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
|
||||
IUSE="debug nls"
|
||||
|
||||
RDEPEND="
|
||||
!app-text/hd2u
|
||||
!app-text/unix2dos
|
||||
virtual/libintl"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-lang/perl"
|
||||
|
||||
src_prepare() {
|
||||
sed \
|
||||
-e '/^LDFLAGS/s|=|+=|' \
|
||||
-e '/^CC/s|=|?=|' \
|
||||
-e '/CFLAGS_OS \+=/d' \
|
||||
-e '/LDFLAGS_EXTRA \+=/d' \
|
||||
-e "/^CFLAGS/s|-O2|${CFLAGS}|" \
|
||||
-i Makefile || die
|
||||
|
||||
if use debug ; then
|
||||
sed -e "/^DEBUG/s:0:1:" \
|
||||
-e "/EXTRA_CFLAGS +=/s:-g::" \
|
||||
-i Makefile || die
|
||||
fi
|
||||
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
lintl() {
|
||||
# same logic as from virtual/libintl
|
||||
use !elibc_glibc && use !elibc_uclibc && echo "-lintl"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake prefix="${EPREFIX}/usr" \
|
||||
$(use nls && echo "LDFLAGS_EXTRA=$(lintl)" || echo "ENABLE_NLS=")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" prefix="${EPREFIX}/usr" \
|
||||
$(use nls || echo "ENABLE_NLS=") install
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST highlight-3.12.tar.bz2 679786 SHA256 32f22fc63243c48ee7499c7834af50de4ed0ec84b12bd9acfaf7649e36083000 SHA512 850f59ebab9da6f38b0e42bdcdee1dd182cac31fcb8523ef88d0600cc44b682230e365918d3b97fd06ad167fcaaf69fbc0315bc848d485bcb071ff8009b10bf5 WHIRLPOOL 8fdb8eaa64ec16cc51d41dded86f0da833b7e07d92b697c0b6580f89a1cefbb9b102fe113e1f45b1289b09ad422d41f4282e4f2b3a241e7041d409456fa81353
|
||||
DIST highlight-3.3.tar.bz2 740651 SHA256 96c415d62488c6522e9933ecdfce447eb8eecd3b88a1064f42908c936ea02d87 SHA512 10530f485e57aa8068edddca3b0f75fcdd1c756d45740e7dd4eeaeb8b87cebd022f6283ecd37a057ef18f30e8cb56eeb412e8ba0c0542320a751b8b9c3dbf1c9 WHIRLPOOL 8b0ccfa97d5343b0edb2cf11d92116df4ebdac5d7157569d758c8eb2a113dd07612438ef9eeeda9138a7aa9d64c027ba5dab31054700acbc6823b6868ff4a77c
|
||||
DIST highlight-3.7.tar.bz2 653672 SHA256 8828930af8058723cafe04b07c5aa5cc9a36e4174f6d7c2c9403700ac00bb5bd SHA512 800d7b56520116a96c802626f10179116f6aaa94ee4d266cdd3bcfb826392c40fcda822923d3e7808180eff601668c60f50aeedbb5fb4632881a91eb40b6f467 WHIRLPOOL b36c19a32e54770166f588ec78f9f633aafe04a68b56fa0adaf7b081ee3987a25cdb22820fdb4cba0992cc60318817ec926b46455c7be0c949d6791da4f3c9b7
|
||||
DIST highlight-3.8.tar.bz2 655164 SHA256 5aac5277a94863a05cb89624002b5467bc68ad1a6ffe2d4a2c0317093b635499 SHA512 f87f080af799c1269c830e7cea36c253ad14ab7bba316b54a8ef03435f451e2cc490cd85fe700acbebd7f214e794d3ac42d91f3b97494c3b66237d4c633d1ea7 WHIRLPOOL fece4c024f386a2075bb7f134507e061c2fce0ea58672a019bc3f4b347786f5d43f7748c396be5057debe5c7ff5fe87d6985287052188230c3a2165b5f83491e
|
||||
DIST highlight-3.9.tar.bz2 683718 SHA256 4ae69795e3ca4ffef47355a7b6dc371e2d781735efd44fa12ff3a1ffc990daef SHA512 4f75232eae5f18f37666e04467993eab8ba983ec86ba6fbef4fbd6fea1e4b2a388beff75a72cfb00c1a90a6fa6dcab9cd68d40cde940f6aaff5174304102cada WHIRLPOOL 1d0ab7fa034fa16cf07318a1140d261942ad98b73108b1b83c578e98f836c9d933ad731320b8aa183f958572e10f3970f64b822954fe5065f8ec6692290f6e9a
|
||||
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/highlight/highlight-3.7.ebuild,v 1.3 2012/01/28 05:07:37 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit toolchain-funcs qt4-r2
|
||||
|
||||
DESCRIPTION="converts source code to formatted text ((X)HTML, RTF, (La)TeX, XSL-FO, XML) with syntax highlight"
|
||||
HOMEPAGE="http://www.andre-simon.de/"
|
||||
SRC_URI="http://www.andre-simon.de/zip/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="examples qt4"
|
||||
|
||||
DEPEND="dev-lang/lua
|
||||
dev-libs/boost
|
||||
qt4? ( x11-libs/qt-gui:4
|
||||
x11-libs/qt-core:4 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
myhlopts=(
|
||||
"CXX=$(tc-getCXX)"
|
||||
"AR=$(tc-getAR)"
|
||||
"LDFLAGS=${LDFLAGS}"
|
||||
"CFLAGS=${CXXFLAGS}"
|
||||
"DESTDIR=${D}"
|
||||
"PREFIX=${EPREFIX}/usr"
|
||||
"LUA_CFLAGS="
|
||||
"HL_CONFIG_DIR=${EPREFIX}/etc/highlight/"
|
||||
"HL_DATA_DIR=${EPREFIX}/usr/share/highlight/"
|
||||
"doc_dir=${EPREFIX}/usr/share/doc/${PF}/"
|
||||
"conf_dir=${EPREFIX}/etc/highlight/"
|
||||
)
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "/LSB_DOC_DIR/s:doc/${PN}:doc/${PF}:" \
|
||||
src/core/datadir.cpp || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -f makefile "${myhlopts[@]}"
|
||||
if use qt4 ; then
|
||||
cd src/gui-qt
|
||||
eqmake4 'DEFINES+=DATA_DIR=\\\"'"${EPREFIX}"'/usr/share/${PN}/\\\" CONFIG_DIR=\\\"'"${EPREFIX}"'/etc/${PN}/\\\" DOC_DIR=\\\"'"${EPREFIX}"'/usr/share/doc/${PF}/\\\"'
|
||||
emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -f makefile "${myhlopts[@]}" install
|
||||
use qt4 && emake -f makefile "${myhlopts[@]}" install-gui
|
||||
|
||||
if use examples ; then
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
else
|
||||
rm -rf "${ED}"/usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/utrac/utrac-0.3.0.ebuild,v 1.3 2009/09/23 16:42:36 patrick Exp $
|
||||
|
||||
IUSE=""
|
||||
DESCRIPTION="Universal Text Recognizer and Converter"
|
||||
HOMEPAGE="http://utrac.sourceforge.net/"
|
||||
SRC_URI="http://utrac.sourceforge.net/download/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86"
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND} sys-apps/sed"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd ${S}
|
||||
sed -i \
|
||||
-e "s:^CFLAGS = .*$:CFLAGS = ${CFLAGS}:" \
|
||||
-e "s:^PREFIX_PATH = .*$:PREFIX_PATH = ${DESTTREE}:" \
|
||||
Makefile \
|
||||
|| die "sed failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die "make failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin utrac
|
||||
doman utrac.1
|
||||
dodoc README CHANGES CREDITS
|
||||
dodir ${DESTTREE}/share/utrac
|
||||
dolib.a libutrac.a
|
||||
insinto ${DESTTREE}/share/utrac
|
||||
doins charsets.dat
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST wdiff-1.1.0.tar.gz 1384900 SHA256 b154bba7f5a6b76c9eff1ddd5d5850b0a6dc2332d2a1eda29444c68ecea7e5d1 SHA512 09cf6284dd306db1d0ddf4911a178f2ef6bd5565e0b6627bcef67f0db5bc4284c562b94170ba1d508d2cbc611b4bbf2a044202a3f1c1302242d6b7b8874d2d76 WHIRLPOOL e64f51f6833c5d159f08c9fb46da17b13b84a3e3867bed01c2cefe4cad5adec35602b276b71825ee5fdd2d62d6767bb1897a4eaef3464c8e2f2a7782e3a3a6de
|
||||
DIST wdiff-1.1.1.tar.gz 1396989 SHA256 68a1cf7bda4fcf1e967f92b9e7918c3dc1efe85760f5f4047147d44de0198b65 SHA512 c8378fc3bab2ae4051ca9c7bea0cc4c3e4ba411f5c1d31141d9b9929ec83c18f26cd9210c95c934c32239981256d616757ebf22321b878fe30f5a2c86efda30f WHIRLPOOL bd8dbbc3d8b08339d2ed825e0cfeaecb6ee6a2299811228fd006f3c3d1b5853dc2a6a09f628182472e399d67565591277d55248c8f10317051e642307a486a66
|
||||
DIST wdiff-1.1.2.tar.gz 1397234 SHA256 12cd30af53ad3ebfe4ec5e094c2b855a186f15bf8b46fce3d655cacd55f1e860 SHA512 58ffb7075b1f39e2e6df803817340920fe537b289575cb8eed60ee3086276c2557dbc3ca404238a4661b87d27bfc6d76f18ef925cba0d448ae0ca15ab60d90c2 WHIRLPOOL 741bf56417b4ad5ea8bcf1cfdd96d8444ce15c56e3c276ed72255f05fb88650261d1efca772d8c839d2c6e93209b0e4acf5507bcfdfa52e7850ec12076275c7d
|
||||
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/wdiff/wdiff-1.1.0.ebuild,v 1.6 2012/02/12 18:33:45 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Create a diff disregarding formatting"
|
||||
HOMEPAGE="http://www.gnu.org/software/wdiff/"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE="experimental test"
|
||||
|
||||
RDEPEND="sys-apps/diffutils
|
||||
sys-apps/less"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( app-misc/screen )"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable experimental)
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/wdiff/wdiff-1.1.1.ebuild,v 1.1 2012/05/23 16:53:09 jer Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Create a diff disregarding formatting"
|
||||
HOMEPAGE="http://www.gnu.org/software/wdiff/"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE="experimental test"
|
||||
|
||||
RDEPEND="sys-apps/diffutils
|
||||
sys-apps/less"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( app-misc/screen )"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable experimental)
|
||||
}
|
@ -1,12 +1,9 @@
|
||||
DIST otp_doc_html_R13B04.tar.gz 27440785 SHA256 fdad0db55ab9339703e7cd61626b5cca95f187084d1dabf07ac97f528b4f47aa SHA512 293fc334eeba9fede99c7c2b46334ed037ea02139121dff48bd29f6437b9ae9d1850ea755f101e3e36789b00090e2f768897a556d382eef7dda8b6e796143557 WHIRLPOOL 047639b4554a8b1bf362c369604ada2dd314eb4400f943681da69516b6b733156a9792193525390c0ff7fa8c9fe22b158391e2c1ea9384c27376142219950d1f
|
||||
DIST otp_doc_html_R14B04.tar.gz 28816088 SHA256 3b066d23d82667e2d0477856b22ea94262d65baf7366babe1c10d8bddc28ab5a SHA512 412afa4680216ed0e1405f2e439c35d5bfa98f66fea81bcb8ae825c034c095b2868df8833e089f0dde2be20c5f9175f0526098877703b38bc67af5803eec973d WHIRLPOOL 05515c5079544855f25655e200236f3bf5ccdf013b22c5bc13d00b03d63a0aa90487fe05b9edbaa8e33217d7c15306ea3c1a4f6b5be0c363383c8cbeea845c6b
|
||||
DIST otp_doc_html_R15B.tar.gz 28996680 SHA256 40504ad983b450a2c6f7611b3be88ebd6349079764520cca050e9c8f6e79dc93 SHA512 ddb6c143c9eb315d9bc2672e96dd91b33e011825fe340ee34a42341eb8f519381e87e77ef5252e35f8dcb21804e03ccb22d9b06b4c64fb3e08f001790b98bb5a WHIRLPOOL b9a6a0a9371e1b898b3e99a76d70447d481fcb89fd9e8d8bd32c53c714610bc6b8c9fc599aa059927c336b46168d4be216e8fc3be91ba17fdeda6ec74d04b1bb
|
||||
DIST otp_doc_html_R15B01.tar.gz 30235738 SHA256 0b6eb18855b451882ff5be07d3c25b497b256ead14d6be98791bf056b958a8e7 SHA512 f531a9e9b65e1eaf47727569dafbc9da19d6f2064be14abc5598218345b5a15b82813f997c9a636115de6e59b65c09c31a411560d7eeacb5be8a06ac36a0f604 WHIRLPOOL 173c612e30e693b98469965a61996a454e2e2c801a1de238fcc76e36fdd29a37edb377db507b865b9ff1bfa975f3aa6d1d8d64f975c81885d6123615a22da2d3
|
||||
DIST otp_doc_man_R13B04.tar.gz 1033584 SHA256 3646198b64bbea0f3760987d20d3392b0b5b2955394a917b92a2c6664a310dd6 SHA512 938afb93fa66d010f822a5071166e5659711d39caf860a72f2d7043a2585a54c20cf51d3ddb4a96b569dff7e6f6487ef4171653f08381c94585512440262ba06 WHIRLPOOL e27d923742f52d4dac31331dd2d54619aab4689acf5a8a2cd85ec08a6567dd5a13c471c70fecb047d534cb64f0dd9df664e8e25177d3efebc810b8a09963e169
|
||||
DIST otp_doc_man_R14B04.tar.gz 1117663 SHA256 8514511e8a8ac3f3f67db06f333548edf283d9a8afcbc9e9eeca7b1af9a107da SHA512 fb1a150217c8fe644fae44c28955bcd8e433f89811a0d2ef2d7db308998d150ef727478c77d4e2dab4d1c71602000f2a1cd537b0895195ec402c52a71d6fa1f2 WHIRLPOOL a34468624a51318e057238d93ff73679dd92fb5246d572e921525fda893b4c6b0ef7f23c2c80dbdfe79d5666c4701989870f641596fc6187f1cc9e2520e8e06d
|
||||
DIST otp_doc_html_R15B02.tar.gz 30385932 SHA256 be166976a651da4ea2588b9d277a6684a2d4318b37e8fc029365e992ec404518 SHA512 5cb08b0e13e621738f4b4c44376eaf728593a0e2288ecf5b0c8d47c237ca9549f9d6f0a4d689b5939d9c2066800182da921e04fc541a6176de253e4bde4f2c9f WHIRLPOOL 1dec3112e258d83f9f8df223b1d62949ece384c1ecdae54c84dcf0ce521c7d2e17895c8d7b45b4dc18f06dffee6de42ead83093799399ade49c1d792c2a3636a
|
||||
DIST otp_doc_man_R15B.tar.gz 1122044 SHA256 1839cc4cab3120401989e0e1d7ad6872a59e2fd9d3cd82f05ca8c4ebef18eb6b SHA512 226c67e8edfccba607b717f5af65efc537bd9352a5622ec5083ffe41d12b19740bc351d7d23aa4d7d22f05febe8aee805b413d197652077b5529351e5058f07b WHIRLPOOL 45f2644506f7c6220ddc468ea5b12844f548b897d95d3763561ddf78f069cf4654191f02ed7d8773e4becfa0ee5929a9061a03b48f2a284dc9c7b2f0a4019deb
|
||||
DIST otp_doc_man_R15B01.tar.gz 1287293 SHA256 5032bcb992369543139136896ba67b4f8fa58fd3d223941a01a39063b221212c SHA512 cb63350583418f5c988cdeff485771d0fceb55d649ec8af745c24fc3c2179fa8d4cb7cca362e8e17090d501ca1fd0a9487fc926bd44e1ea10f4dd3a088b4d548 WHIRLPOOL 4388e68341ab2d958babef47b2e1d6159f74347fdd74d239dea1b72cce110d70f69e40cf5183ceed153926be338db837acb3e666e4cff9f154d2c2b63de1ced9
|
||||
DIST otp_src_R13B04.tar.gz 59060560 SHA256 e2694383b3857f5edfc242b8c3acbfba4683e448387fa124d8e587cba234af43 SHA512 d7e6612594030c738cda28104d0c91e420cb1ba9eb65919befa29fa269955c124356f5a5b6e1affd92630fd4d29270a3c5d7f65862b5c85a1fd1ac6fde15f600 WHIRLPOOL f82786a4fb47eea41316fe0077a4eed34731f2902edb2bd883d0d1b4e2aaf7f92625337e744435c0418898980263c1f37981eaaffcc7fde883158b2b4753350f
|
||||
DIST otp_src_R14B04.tar.gz 70773703 SHA256 099b35910e635b9148ac90f70fd9dd592920ed02406eb26c349efd8d1e959b6e SHA512 e6049e6954f88149a9313dd1100c5d4bbec07bbfc6b88a2d684b7580052e70c4c030247f4ddafa43d68fb3fd213c91cf906a8ac3d0ee76d8cdff8cb530c44f76 WHIRLPOOL 77843b54ba1331e63a3d867bc8392079eb4bacf26a05b323fd90d2c9b90c95e995a456c2b0a7840678bc8f312e231beb755489264528aa4ef11728bd44bb0d61
|
||||
DIST otp_doc_man_R15B02.tar.gz 1298793 SHA256 e27ed26259a2560b81e02b89190ae2a3bf0a777dc2e875f9615adab0a5388f95 SHA512 f76bfadb543f3fa6b0fb2362a230e285a232f0239f97f599c980221015e98cbd0fac5b5cb3bc7d1ac0fbf13e121d4e8d374d75218cc4ed6dbc945731c74c19cc WHIRLPOOL 0894810921fb54f962363d0fd362861f25f86281d757cfb7a4f6529a537dc474dbc365164599c8fc817392df8a1d97558016312b560907a16fb090340ff187ae
|
||||
DIST otp_src_R15B.tar.gz 74100507 SHA256 5bc34fc34fc890f84bae7ff1f7c81fbec2c9aa28a0ef51a57d7a8192204d8aa2 SHA512 1817cd49c9b1a192aed209a14321ad9525e7a9b59e4fa0a318a33a7382af41226c3c9bf7c522a24020be2591fd17236616305515f0ae7ce8bc76a285c066da07 WHIRLPOOL 5b78d0f6d911c091b6531a1961a3ae5e84b4851d711e0db654794202197b14c33d080b1609f47602ad768e72927fcf0bf009345cba6046ec080c8f7b9ab4d1c1
|
||||
DIST otp_src_R15B01.tar.gz 75592537 SHA256 f94f7de7328af3c0cdc42089c1a4ecd03bf98ec680f47eb5e6cddc50261cabde SHA512 feda81b71ef31268c57ad63d9eba3990f127938185c928dab6d213d1f6147515830e0a1e2f87b6df52e283e6ff18360fb0575b2101ab52c6c715c7fe532dc755 WHIRLPOOL e3a962552ddcb3039befb473103e95149b17b4e50dbf645cd3e780d49d685ef612cf4d4c8d45330f97b3961b30c0d84ed9d3f6535e2d53d35681c2b8b1055b11
|
||||
DIST otp_src_R15B02.tar.gz 75959087 SHA256 03eb0bd640916666ff83df1330912225fbf555e0c8cf58bb35d8307a314f1158 SHA512 65efaa986c6764e6e6db8a9f19eda6ea3920962ec4274979ffc267b0b25a69261265474fb6c25ad7df9e77e0545bf8cb211b3fd10699000285b56f9dc68fb76c WHIRLPOOL b3953e89097b0de8464f1bba03b91063bde98fb80fc4f6f657cbfceddec15feb78673f56adda13aa685c21e417be20fbeaa25b86e86f3174ebc5c7c045589621
|
||||
|
@ -1,174 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/erlang/erlang-13.2.4.ebuild,v 1.14 2011/12/07 17:44:39 ulm Exp $
|
||||
|
||||
EAPI=3
|
||||
WX_GTK_VER="2.8"
|
||||
|
||||
inherit autotools elisp-common eutils multilib versionator wxwidgets
|
||||
|
||||
# NOTE: If you need symlinks for binaries please tell maintainers or
|
||||
# open up a bug to let it be created.
|
||||
|
||||
# erlang uses a really weird versioning scheme which caused quite a few problems
|
||||
# already. Thus we do a slight modification converting all letters to digits to
|
||||
# make it more sane (see e.g. #26420)
|
||||
|
||||
# the next line selects the right source.
|
||||
ERL_VER=($(get_version_components))
|
||||
MY_PV="R$(get_major_version)B0${ERL_VER[2]}"
|
||||
|
||||
# ATTN!! Take care when processing the C, etc version!
|
||||
MY_P=otp_src_${MY_PV}
|
||||
|
||||
DESCRIPTION="Erlang programming language, runtime environment, and large collection of libraries"
|
||||
HOMEPAGE="http://www.erlang.org/"
|
||||
SRC_URI="http://www.erlang.org/download/${MY_P}.tar.gz
|
||||
http://erlang.org/download/otp_doc_man_${MY_PV}.tar.gz
|
||||
doc? ( http://erlang.org/download/otp_doc_html_${MY_PV}.tar.gz )"
|
||||
|
||||
LICENSE="ErlPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~arm ~ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris"
|
||||
IUSE="doc emacs hipe java kpoll odbc smp sctp ssl tk wxwidgets"
|
||||
|
||||
RDEPEND=">=dev-lang/perl-5.6.1
|
||||
ssl? ( >=dev-libs/openssl-0.9.7d )
|
||||
emacs? ( virtual/emacs )
|
||||
java? ( >=virtual/jdk-1.2 )
|
||||
odbc? ( dev-db/unixODBC )"
|
||||
DEPEND="${RDEPEND}
|
||||
wxwidgets? ( x11-libs/wxGTK:2.8[opengl] )
|
||||
sctp? ( net-misc/lksctp-tools )
|
||||
tk? ( dev-lang/tk )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
SITEFILE=50${PN}-gentoo.el
|
||||
|
||||
pkg_setup() {
|
||||
use wxwidgets && wxwidgets_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
use odbc || sed -i 's: odbc : :' lib/Makefile
|
||||
|
||||
if ! use wxwidgets; then
|
||||
sed -i 's: wx : :' lib/Makefile
|
||||
rm -rf lib/wx
|
||||
fi
|
||||
|
||||
if use hipe; then
|
||||
ewarn
|
||||
ewarn "You enabled High performance Erlang. Be aware that this extension"
|
||||
ewarn "can break the compilation in many ways, especially on hardened systems."
|
||||
ewarn "Don't cry, don't file bugs, just disable it! If you have a fix, tell us though on Bugzilla."
|
||||
ewarn
|
||||
fi
|
||||
|
||||
# prevent configure from injecting -m32 by default on Darwin, bug #334155
|
||||
sed -i -e 's/Darwin-i386/Darwin-NO/' configure.in || die
|
||||
sed -i -e '/\<\(LD\|C\)FLAGS="-m32/s/-m32//' erts/configure.in || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use java || export JAVAC=false
|
||||
|
||||
econf \
|
||||
--enable-threads \
|
||||
--enable-shared-zlib \ \
|
||||
$(use_enable sctp) \
|
||||
$(use_enable hipe) \
|
||||
$(use_with ssl ssl "${EPREFIX}"/usr) \
|
||||
$(use_enable ssl dynamic-ssl-lib) \
|
||||
$(use_enable kpoll kernel-poll) \
|
||||
$(use_enable smp smp-support) \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use java || export JAVAC=false
|
||||
emake -j1 || die
|
||||
|
||||
if use emacs ; then
|
||||
pushd lib/tools/emacs
|
||||
elisp-compile *.el || die
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
extract_version() {
|
||||
sed -n -e "/^$2 = \(.*\)$/s::\1:p" "${S}/$1/vsn.mk"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local ERL_LIBDIR=/usr/$(get_libdir)/erlang
|
||||
local ERL_INTERFACE_VER=$(extract_version lib/erl_interface EI_VSN)
|
||||
local ERL_ERTS_VER=$(extract_version erts VSN)
|
||||
|
||||
emake -j1 INSTALL_PREFIX="${D}" install || die
|
||||
dodoc AUTHORS README.md
|
||||
|
||||
dosym "${ERL_LIBDIR}/bin/erl" /usr/bin/erl
|
||||
dosym "${ERL_LIBDIR}/bin/erlc" /usr/bin/erlc
|
||||
dosym "${ERL_LIBDIR}/bin/escript" /usr/bin/escript
|
||||
dosym \
|
||||
"${ERL_LIBDIR}/lib/erl_interface-${ERL_INTERFACE_VER}/bin/erl_call" \
|
||||
/usr/bin/erl_call
|
||||
dosym "${ERL_LIBDIR}/erts-${ERL_ERTS_VER}/bin/beam" /usr/bin/beam
|
||||
use smp && dosym "${ERL_LIBDIR}/erts-${ERL_ERTS_VER}/bin/beam.smp" /usr/bin/beam.smp
|
||||
|
||||
## Remove ${D} from the following files
|
||||
sed -e "s:${D}::g" -i "${ED}${ERL_LIBDIR}/bin/erl" || die
|
||||
sed -e "s:${D}::g" -i "${ED}${ERL_LIBDIR}/bin/start" || die
|
||||
grep -rle "${D}" "${ED}/${ERL_LIBDIR}/erts-${ERL_ERTS_VER}" | xargs sed -i -e "s:${D}::g"
|
||||
|
||||
## Clean up the no longer needed files
|
||||
rm "${ED}/${ERL_LIBDIR}/Install"||die
|
||||
|
||||
for i in "${WORKDIR}"/man/man* ; do
|
||||
dodir "${ERL_LIBDIR}/${i##${WORKDIR}}"
|
||||
done
|
||||
for file in "${WORKDIR}"/man/man*/*.[1-9]; do
|
||||
# doman sucks so we can't use it
|
||||
cp ${file} "${ED}/${ERL_LIBDIR}"/man/man${file##*.}/
|
||||
done
|
||||
# extend MANPATH, so the normal man command can find it
|
||||
# see bug 189639
|
||||
dodir /etc/env.d/
|
||||
echo "MANPATH=\"${EPREFIX}${ERL_LIBDIR}/man\"" > "${ED}/etc/env.d/90erlang"
|
||||
|
||||
if use doc ; then
|
||||
dohtml -A README,erl,hrl,c,h,kwc,info -r \
|
||||
"${WORKDIR}"/doc "${WORKDIR}"/lib "${WORKDIR}"/erts-*
|
||||
fi
|
||||
|
||||
if use emacs ; then
|
||||
pushd "${S}"
|
||||
elisp-install erlang lib/tools/emacs/*.{el,elc}
|
||||
sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \
|
||||
"${FILESDIR}"/${SITEFILE} > "${T}"/${SITEFILE}
|
||||
elisp-site-file-install "${T}"/${SITEFILE}
|
||||
popd
|
||||
fi
|
||||
|
||||
# prepare erl for SMP, fixes bug #188112
|
||||
use smp && sed -i -e 's:\(exec.*erlexec\):\1 -smp:' \
|
||||
"${ED}/${ERL_LIBDIR}/bin/erl"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
elog
|
||||
elog "If you need a symlink to one of Erlang's binaries,"
|
||||
elog "please open a bug on http://bugs.gentoo.org/"
|
||||
elog
|
||||
elog "Gentoo's versioning scheme differs from the author's, so please refer to this version as ${MY_PV}"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
https://github.com/erlang/otp/commit/c302809fbe5b3873d5c459da11ed49ea73a6739f
|
||||
--- lib/erl_interface/src/legacy/erl_timeout.c
|
||||
+++ lib/erl_interface/src/legacy/erl_timeout.c
|
||||
@@ -43,6 +43,7 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
+#include "erl_interface.h"
|
||||
#include "erl_timeout.h"
|
||||
|
||||
typedef struct jmp_s {
|
@ -1 +1,3 @@
|
||||
DIST niecza-20.zip 1878083 SHA256 2ca2542c563130c5d4b45d5bd251601472695457568fc63cab6b6cbe3969c0e7 SHA512 2d587029a1037fca3901c0c1caadd6f6e5d9951d6804c54ef0262b69a7429c13458bd4e6eeb83a823ecb02afe93a3e9d0364065f1ca37412c674533a290363a6 WHIRLPOOL 580a62dbfdec49546c19b567b477727f3ff41a355b5d8cf50afa0418feda7768012049bf86737e97eb489b7871432835169b007a7ec7f65d3ed1ef487a7d0c09
|
||||
DIST niecza-21.zip 1895049 SHA256 4d91aa902e876f8477879356e7a5d3c4c2f5dba07a3bd87c39bf95d5b0fce438 SHA512 3ade8b851271ce6b422b3b1c64f44640e436f179a6cbbcda97b76ceeb60b73541799323a48e55fc30f09c0fe303aad7d9fa3090be3ca6a5a66e682ae6eb591b2 WHIRLPOOL afa42432602cad86720c838cc6b37d9423accbc8499acad5cc7cc446cb47a83fa445ce82cc392116b2d3c37424c7c4aa3443f8dd5a04c5a5fd70537943b5f520
|
||||
DIST niecza-22.zip 1909281 SHA256 b4220bf2d12505ea576405e84b2402a9532af3e6e953d5f3f0b576f21114e6b0 SHA512 decfa04d7614f3d335e8991a0938821fe0ca26f2892a2d6d9d498ab8c84c11f2b6b620101633c7b27faf65e100775baefa23cb5c0072a34037803caa5dc4d800 WHIRLPOOL 67275813b182434853290d4abe2546c26691b67747b6be681fd9276310b720d36a86ab2a4f1ade23c5b3f551ca0e399c64242896e6bd7f332659f3821b1df302
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/niecza-bin/niecza-bin-21.ebuild,v 1.1 2012/10/05 05:20:03 patrick Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="A Perl 6 compiler targetting the CLR with an experimental focus on optimizations."
|
||||
HOMEPAGE="https://github.com/sorear/niecza"
|
||||
|
||||
MY_PN="niecza"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
SRC_URI="https://github.com/downloads/sorear/${MY_PN}/${MY_P}.zip"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/mono"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
mkdir ${D}/opt/niecza-bin -p
|
||||
cp -r ${WORKDIR}/* ${D}/opt/niecza-bin || die "Failed to copy"
|
||||
einfo "The binary is installed to /opt/niecza-bin/run/Niecza.exe"
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/niecza-bin/niecza-bin-22.ebuild,v 1.1 2012/10/05 05:20:03 patrick Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="A Perl 6 compiler targetting the CLR with an experimental focus on optimizations."
|
||||
HOMEPAGE="https://github.com/sorear/niecza"
|
||||
|
||||
MY_PN="niecza"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
SRC_URI="https://github.com/downloads/sorear/${MY_PN}/${MY_P}.zip"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/mono"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
mkdir ${D}/opt/niecza-bin -p
|
||||
cp -r ${WORKDIR}/* ${D}/opt/niecza-bin || die "Failed to copy"
|
||||
einfo "The binary is installed to /opt/niecza-bin/run/Niecza.exe"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST niecza-19.zip 728618 SHA256 b320a72e77531515bafb2c1e1588572f39f24e9c38305eb4cbe60569e87845e9 SHA512 3be02a89f9698724fd4a5d8aad0dd2946a5cb4ace9bf519d0ddb52d159596beeeb162884a8b98b4fcdf8b322149ae222b3dd11caeb369218d73afe3194ab186c WHIRLPOOL 5e627ce9d885ed059bda2a898518bce551d82ca7801f5239b010316d5ce2aaf7c70ca063c73b204f06b72825158650a30653092ba86156e25021ad4bc67569b5
|
||||
DIST niecza-21.zip 737733 SHA256 b4d01a79137134d25e22c8085212571cdadcd7ea519bede42f161acd1d1dfdba SHA512 34c29fb8d427c5dc98ead5acd1e49becf5b67a4c34478b431975d975047c9601a5a7192d400088ff36cd907543bc0e32457000cfd565078d8c4c48c810d23c53 WHIRLPOOL 1b319fa101b93778b25e1d60a44462f026def9a0f3d0f7572c24abb6075e90da179c310f61e6d6c52a37bc13e201a79a11a99e65dae8b225e063cd75acde7251
|
||||
DIST niecza-22.zip 740724 SHA256 4c3be30c7df4d02318ad2da95180e69f07a36d6157aa6b9d08173bc785e30a20 SHA512 0e583fd9b20e872f2bb07066f5a770b2d53b44dedeac7e7e92cb482ed9b5ffa898221a1a856f8692be1e2aa5488a4685c3933d4d6c37003227fb88e5e913a329 WHIRLPOOL 477a396aba393b6397d093fa4aac42ef817c61101fdc328d8ce1f4db2c4d2ab4f36f4081d4c19d9e8682fb1889fecc1e337d14e4e17e66fdd9a6358d4a14309b
|
||||
|
@ -0,0 +1,13 @@
|
||||
--- Makefile 2012-06-25 22:30:16.000000000 +0800
|
||||
+++ Makefile.new 2012-08-22 10:55:22.879717085 +0800
|
||||
@@ -41,10 +41,6 @@
|
||||
$(RUN_CLR) run/Kernel.dll -gen-app Niecza boot/obj
|
||||
|
||||
.fetch-stamp: FETCH_URL
|
||||
- -rm -rf boot/
|
||||
- mkdir boot
|
||||
- $(WGET_O) boot/niecza.zip $$(cat FETCH_URL)
|
||||
- cd boot && unzip niecza.zip
|
||||
NIECZA_KEEP_IL=1 $(RUN_CLR) boot/run/Niecza.exe --obj-dir=boot/obj -C $(libunits)
|
||||
$(CP) boot/run/Kernel.dll boot/obj/
|
||||
touch .fetch-stamp
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/niecza/niecza-22.ebuild,v 1.1 2012/10/05 05:47:31 patrick Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
GITHUB_CRAP="sorear-niecza-8d7386f"
|
||||
|
||||
DESCRIPTION="A Perl 6 compiler targetting the CLR with an experimental focus on optimizations."
|
||||
HOMEPAGE="https://github.com/sorear/niecza"
|
||||
SRC_URI="https://github.com/sorear/niecza/zipball/v${PV} -> niecza-${PV}.zip"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/mono"
|
||||
DEPEND="${RDEPEND}
|
||||
|| ( dev-lang/niecza-bin dev-lang/niecza )"
|
||||
|
||||
S=${WORKDIR}/${GITHUB_CRAP}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/fix-bootstrap-${PV}.patch || die "Failed to fix"
|
||||
cd "${S}"
|
||||
# bootstrap only works from git dirs? sigh :)
|
||||
sed -i -e 's:@git describe --tags:echo "v${PV}":' Makefile
|
||||
# silly workaround for stuff trying to write everywhere: copy the installed niecza here (sigh)
|
||||
# since we have different installation paths for the bin version we need to check here
|
||||
mkdir boot -p
|
||||
if has_version dev-lang/niecza; then
|
||||
cp -r /opt/niecza/* boot/
|
||||
else
|
||||
cp -r /opt/niecza-bin/* boot/
|
||||
fi
|
||||
mkdir -p boot/obj
|
||||
}
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() {
|
||||
export XDG_DATA_HOME="${S}"
|
||||
emake -j1 || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mkdir -p "${D}"/opt/niecza
|
||||
for i in docs lib obj run README.pod; do
|
||||
cp -r "${S}"/$i "${D}"/opt/niecza/ || die "Failed to install"
|
||||
done
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ml</herd>
|
||||
<herd>ml</herd>
|
||||
</pkgmetadata>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue