parent
d39bc49fa7
commit
d36015b819
@ -1,77 +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/jail/jail-1.9-r3.ebuild,v 1.5 2012/07/29 16:54:12 armin76 Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils flag-o-matic
|
||||
|
||||
S="${WORKDIR}/${PN}_1-9_stable"
|
||||
DESCRIPTION="a tool that builds a chroot and configures all the required files, directories and libraries"
|
||||
HOMEPAGE="http://www.jmcresearch.com/projects/jail/"
|
||||
SRC_URI="mirror://sourceforge/jail/${PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=sys-apps/sed-4"
|
||||
RDEPEND="dev-lang/perl
|
||||
dev-util/strace"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-gentoo.patch \
|
||||
"${FILESDIR}"/${P}-wrongshell.patch \
|
||||
"${FILESDIR}"/${P}-multiuser-rsa.patch \
|
||||
"${FILESDIR}"/${P}-ldflags.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# configuration files should be installed in /etc not /usr/etc
|
||||
sed -i "s:\$4/etc:\${D}/etc:g" install.sh || die
|
||||
|
||||
# the destination directory should be /usr not /usr/local
|
||||
cd "${S}"/src
|
||||
sed -i -e "s:usr/local:${D}/usr:g" \
|
||||
-e "s:^COPT =.*:COPT = -Wl,-z,no:g" Makefile || die
|
||||
|
||||
# Below didn't work. Don't know why
|
||||
#append-ldflags -Wl,-z,now
|
||||
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}"/src
|
||||
einstall || die
|
||||
|
||||
# remove //var/tmp/portage/jail-1.9/image//usr from files
|
||||
FILES=( "${D}/usr/bin/mkjailenv"
|
||||
"${D}/usr/bin/addjailsw"
|
||||
"${D}/usr/bin/addjailuser"
|
||||
"${D}/etc/jail.conf"
|
||||
"${D}/usr/lib/libjail.pm"
|
||||
"${D}/usr/lib/arch/generic/definitions"
|
||||
"${D}/usr/lib/arch/generic/functions"
|
||||
"${D}/usr/lib/arch/linux/definitions"
|
||||
"${D}/usr/lib/arch/linux/functions"
|
||||
"${D}/usr/lib/arch/freebsd/definitions"
|
||||
"${D}/usr/lib/arch/freebsd/functions"
|
||||
"${D}/usr/lib/arch/irix/definitions"
|
||||
"${D}/usr/lib/arch/irix/functions"
|
||||
"${D}/usr/lib/arch/solaris/definitions"
|
||||
"${D}/usr/lib/arch/solaris/functions" )
|
||||
|
||||
for f in "${FILES[@]}"; do
|
||||
# documentation says funtion 'dosed' is supposed to do this, but didn't know how to make it work :'(
|
||||
# dosed ${file} || die "error in dosed"
|
||||
sed -i "s:/${D}/usr:/usr:g" ${f} || die
|
||||
done
|
||||
|
||||
cd "${D}"/usr/lib
|
||||
sed -i "s:/usr/etc:/etc:" libjail.pm || die
|
||||
|
||||
cd "${S}"/doc
|
||||
dodoc CHANGELOG INSTALL README SECURITY VERSION || die
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
--- mupdf-1.5/source/fitz/load-jpx.c
|
||||
+++ mupdf-1.5/source/fitz/load-jpx.c
|
||||
@@ -116,7 +116,7 @@
|
||||
opj_stream_set_read_function(stream, fz_opj_stream_read);
|
||||
opj_stream_set_skip_function(stream, fz_opj_stream_skip);
|
||||
opj_stream_set_seek_function(stream, fz_opj_stream_seek);
|
||||
- opj_stream_set_user_data(stream, &sb);
|
||||
+ opj_stream_set_user_data(stream, &sb, NULL);
|
||||
/* Set the length to avoid an assert */
|
||||
opj_stream_set_user_data_length(stream, size);
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/hyperdex/hyperdex-1.4.2.ebuild,v 1.1 2014/08/25 06:31:05 patrick Exp $
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7)
|
||||
inherit eutils python-r1 autotools
|
||||
|
||||
DESCRIPTION="A searchable distributed Key-Value Store"
|
||||
|
||||
HOMEPAGE="http://hyperdex.org"
|
||||
SRC_URI="http://hyperdex.org/src/${P}.tar.gz
|
||||
http://dev.gentooexperimental.org/~patrick/autotools-java.tar"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="+python"
|
||||
# need to add ruby and java useflags too
|
||||
|
||||
DEPEND="dev-cpp/glog
|
||||
dev-cpp/sparsehash
|
||||
dev-libs/cityhash
|
||||
dev-libs/libpo6
|
||||
dev-libs/libe
|
||||
dev-libs/busybee
|
||||
dev-libs/popt
|
||||
dev-libs/replicant
|
||||
dev-libs/json-c"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
cp "${WORKDIR}/"*.m4 m4/
|
||||
sed -i -e 's~json/json.h~json-c/json.h~' configure.ac common/datatype_document.cc daemon/index_document.cc || die "Blergh!"
|
||||
eautoreconf
|
||||
}
|
||||
src_configure() {
|
||||
econf --disable-static \
|
||||
$(use_enable python python-bindings)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "Failed to install"
|
||||
newinitd "${FILESDIR}/hyperdex.initd" hyperdex || die "Failed to install init script"
|
||||
newconfd "${FILESDIR}/hyperdex.confd" hyperdex || die "Failed to install config file"
|
||||
find "${D}" -name '*.la' -exec rm {} \; # bad buildsystem! bad!
|
||||
}
|
@ -0,0 +1,125 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-7.1.20.ebuild,v 1.1 2014/08/25 07:33:04 keri Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils flag-o-matic java-pkg-opt-2 multilib
|
||||
|
||||
PATCHSET_VER="0"
|
||||
|
||||
DESCRIPTION="free, small, and standard compliant Prolog compiler"
|
||||
HOMEPAGE="http://www.swi-prolog.org/"
|
||||
SRC_URI="http://www.swi-prolog.org/download/devel/src/pl-${PV}.tar.gz
|
||||
mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="archive debug doc +gmp hardened java minimal odbc +readline ssl static-libs test zlib X"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
archive? ( app-arch/libarchive )
|
||||
zlib? ( sys-libs/zlib )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
readline? ( sys-libs/readline )
|
||||
gmp? ( dev-libs/gmp )
|
||||
ssl? ( dev-libs/openssl )
|
||||
java? ( >=virtual/jdk-1.4 )
|
||||
X? (
|
||||
virtual/jpeg
|
||||
x11-libs/libX11
|
||||
x11-libs/libXft
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXt
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-proto/xproto )
|
||||
java? ( test? ( =dev-java/junit-3.8* ) )"
|
||||
|
||||
S="${WORKDIR}/pl-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE=yes
|
||||
EPATCH_SUFFIX=patch
|
||||
epatch "${WORKDIR}"/${PV}
|
||||
|
||||
# OSX/Intel ld doesn't like an archive without table of contents
|
||||
sed -i -e 's/-cru/-scru/' packages/nlp/libstemmer_c/Makefile.pl || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
use ppc && append-flags -mno-altivec
|
||||
use hardened && append-flags -fno-unit-at-a-time
|
||||
use debug && append-flags -DO_DEBUG
|
||||
|
||||
# ARCH is used in the configure script to figure out host and target
|
||||
# specific stuff
|
||||
export ARCH=${CHOST}
|
||||
|
||||
export CC_FOR_BUILD=$(tc-getBUILD_CC)
|
||||
|
||||
cd "${S}"/src || die
|
||||
econf \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
$(use_enable gmp) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable static-libs static) \
|
||||
--enable-shared \
|
||||
--enable-custom-flags COFLAGS="${CFLAGS}"
|
||||
|
||||
if ! use minimal ; then
|
||||
local jpltestconf
|
||||
if use java && use test ; then
|
||||
jpltestconf="--with-junit=$(java-config --classpath junit)"
|
||||
fi
|
||||
|
||||
cd "${S}/packages" || die
|
||||
econf \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
$(use_with archive) \
|
||||
$(use_with java jpl) \
|
||||
${jpltestconf} \
|
||||
$(use_with odbc) \
|
||||
$(use_with ssl) \
|
||||
$(use_with X xpce) \
|
||||
$(use_with zlib) \
|
||||
COFLAGS='"${CFLAGS}"'
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/src || die
|
||||
emake
|
||||
|
||||
if ! use minimal ; then
|
||||
cd "${S}/packages" || die
|
||||
emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/src" || die
|
||||
emake check
|
||||
|
||||
if ! use minimal ; then
|
||||
cd "${S}/packages" || die
|
||||
emake check
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C src DESTDIR="${D}" install
|
||||
|
||||
if ! use minimal ; then
|
||||
emake -C packages DESTDIR="${D}" install
|
||||
if use doc ; then
|
||||
emake -C packages DESTDIR="${D}" html-install
|
||||
fi
|
||||
fi
|
||||
|
||||
dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue