parent
c092ad156f
commit
afc27c073f
@ -1 +1,2 @@
|
||||
DIST mktwpol-0.2.0.tar.gz 41786 SHA256 f388d3c1a8d82e9612653ed1bc38ed548fae1f8c007476a86927ca478a31ad9f SHA512 66e8760763af033483eeb9a893ca3a7fa4f9f6edbe09b0b93981ec93515c8d7835654ce8dd4ab29b75e1c3e9c16151ceca670187375a1a897fb149dc27e80ef1 WHIRLPOOL 22eb74fce3996dd85e9a99268fbfc7af03c6997c4f36131d1a054ea65c4e7690ffb1185e85ff424304f875dec056ec146e34f989c53469149f4da0dc43378440
|
||||
DIST mktwpol-0.2.2.tar.gz 48574 SHA256 211d677a5ad8c81a993b8a763c8a1a4e7e5d383b31d962c6fe3249215eee7fd1 SHA512 d1acfe21b526febcac8468d4c74993ae44764b5f33efb2efe43d91b0db42838df25381ca73d1675ec97c7df55d9ded583f8a637168b8aad4dfc1986287d5128e WHIRLPOOL b4eb25e6e3714b83ea591b2c4b398b6638544636103d222246240d4db0ee9521d64c6c8b110b88cef28e17531b153926037a4466e67a05109adb0f319041ef58
|
||||
|
@ -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/app-admin/mktwpol/mktwpol-0.2.2.ebuild,v 1.1 2014/02/04 09:50:46 nimiux Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Bash scripts to install tripwire and generate tripwire policy files"
|
||||
HOMEPAGE="https://sourceforge.net/projects/mktwpol"
|
||||
SRC_URI="mirror://sourceforge/mktwpol/${P}.tar.gz"
|
||||
|
||||
LICENSE="CC-BY-SA-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-admin/tripwire"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's|/usr/local|/usr|' Makefile || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Installation and setup of tripwire ..."
|
||||
elog " - Run: \`twsetup.sh\`"
|
||||
elog
|
||||
elog "Maintenance of tripwire as packages are added and/or deleted ..."
|
||||
elog " - Run: \`mktwpol.sh -u\` to update tripwire policy and database"
|
||||
elog
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST r10k-1.1.0.gem 23552 SHA256 3b6bb90fd0a767f0f3412b3f940781d3071804118baccacc618da39c4009247d SHA512 7bb33894c582e82c173d4f3e725663b2a6c30824795a1b188ced89719a3184d65c00a0f059e8558f07d97a6728ca293e2949ebc4ca6656b007dcd0b93b76324f WHIRLPOOL 5d517f08541298f2966315e16c3c673c014e9aa4c31c0a9a7488341f4e5e044f6bf08417a063a4985ad2421dfd09eadf4c3746d2bac1200b7b85743bbf432bfe
|
||||
DIST r10k-1.1.1.gem 24576 SHA256 ef10b1b3224c314bba02ecaaf368c5de4efbe91d4b5190accbc515da0f054bd8 SHA512 6fb587c94a3fad35a86c900c462e8a6cf56e9d03edefe5c7fc502cbebb2f4414a895d8478a7670072cbe613158f01aede116ce6bf83a22f844201ad0eae435fa WHIRLPOOL 5a684227f3647584a5c75ee886aec28d395cb49bd7cf5851f087ea275a2f7744c572546bafa66d8bfe7366dcb4ea755e5e90ae01796cb5db2237f540a827a2d6
|
||||
DIST r10k-1.1.3.gem 30720 SHA256 4b4732046a7478f28668dd3db08ce2527bb45c6da83ec0c604f16d09fce9b91a SHA512 9ddb06c3535c4d5f4f0d8156ddf7671f248283874ef7fab4a2e9d00534e6d165e1b7a32937ecef8043a7fb8ff1143a9dd7bc388f0d7c810de86bc369a22fb502 WHIRLPOOL ea9b3a291cc581c719c2852a0d5f268be2389ed783368a0b20c6dc81b047d5725c60956de3282a353dfefd034a4be2eadaceba1a79ee9c0c16b3afaca3be2ac8
|
||||
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/r10k/r10k-1.1.3.ebuild,v 1.1 2014/02/05 02:03:28 vikraman Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Puppet environment and module deployment"
|
||||
HOMEPAGE="http://github.com/adrienthebo/r10k"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+git"
|
||||
|
||||
ruby_add_bdepend "test? ( =dev-ruby/rspec-2.14* )"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/colored-1.2
|
||||
=dev-ruby/cri-2.4*
|
||||
>=dev-ruby/systemu-2.5.2
|
||||
<dev-ruby/systemu-2.6.0
|
||||
>=dev-ruby/log4r-1.1.10
|
||||
dev-ruby/json"
|
||||
|
||||
RDEPEND="${RDEPEND} git? ( >=dev-vcs/git-1.6.6 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i 's/json_pure/json/' "${WORKDIR}/all/metadata" || die "metadata fix failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn
|
||||
ewarn "If you are upgrading from 1.1.0 and are using multiple sources, please read"
|
||||
ewarn "this. (If not, feel free to continue with your regularly scheduled day.)"
|
||||
ewarn
|
||||
ewarn "GH-48 (https://github.com/adrienthebo/r10k/issues/48) introduced the ability"
|
||||
ewarn "for environments to be prefixed with the source name so that multiple sources"
|
||||
ewarn "installed into the same directory would not overwrite each other. However"
|
||||
ewarn "prefixing was automatically enabled and would break existing setups where"
|
||||
ewarn "multiple sources were cloned into different directories."
|
||||
ewarn
|
||||
ewarn "Because this introduced a breaking change, SemVer dictates that the automatic"
|
||||
ewarn "prefixing has to be rolled back. Prefixing can be enabled but always defaults"
|
||||
ewarn "to off. If you are relying on this behavior you will need to update your r10k.yaml"
|
||||
ewarn "to enable prefixing on a per-source basis."
|
||||
ewarn
|
||||
ewarn "Please see the issue (https://github.com/adrienthebo/r10k/issues/48) for more"
|
||||
ewarn "information."
|
||||
}
|
@ -0,0 +1,164 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/setools-3.3.8-r4.ebuild,v 1.1 2014/02/04 21:51:12 swift Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit autotools java-pkg-opt-2 python-r1 eutils
|
||||
|
||||
DESCRIPTION="SELinux policy tools"
|
||||
HOMEPAGE="http://www.tresys.com/selinux/selinux_policy_tools.shtml"
|
||||
SRC_URI="http://oss.tresys.com/projects/setools/chrome/site/dists/${P}/${P}.tar.bz2
|
||||
http://dev.gentoo.org/~swift/patches/setools/${P}-01-fedora-patches.tar.gz
|
||||
http://dev.gentoo.org/~swift/patches/setools/${P}-02-gentoo-patches.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="X debug java python"
|
||||
|
||||
DEPEND=">=sys-libs/libsepol-2.1.4
|
||||
sys-libs/libselinux
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
>=dev-db/sqlite-3.2:3
|
||||
dev-libs/libxml2:2
|
||||
virtual/pkgconfig
|
||||
java? (
|
||||
dev-lang/swig:1
|
||||
>=virtual/jdk-1.4
|
||||
)
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
dev-lang/swig:1
|
||||
)
|
||||
X? (
|
||||
>=dev-lang/tk-8.4.9
|
||||
>=gnome-base/libglade-2.0
|
||||
>=x11-libs/gtk+-2.8:2
|
||||
)"
|
||||
|
||||
RDEPEND=">=sys-libs/libsepol-2.1.4
|
||||
sys-libs/libselinux
|
||||
>=dev-db/sqlite-3.2:3
|
||||
dev-libs/libxml2:2
|
||||
java? ( >=virtual/jre-1.4 )
|
||||
X? (
|
||||
>=dev-lang/tk-8.4.9
|
||||
>=dev-tcltk/bwidget-1.8
|
||||
>=gnome-base/libglade-2.0
|
||||
>=x11-libs/gtk+-2.8:2
|
||||
)"
|
||||
|
||||
RESTRICT="test"
|
||||
# setools dirs that contain python code to build
|
||||
PYTHON_DIRS="libapol/swig/python libpoldiff/swig/python libqpol/swig/python libseaudit/swig/python libsefs/swig/python python"
|
||||
|
||||
pkg_setup() {
|
||||
local myld=$(tc-getLD)
|
||||
|
||||
if use java; then
|
||||
java-pkg-opt-2_pkg_setup
|
||||
fi
|
||||
|
||||
${myld} -v | grep -q "GNU gold" && \
|
||||
ewarn "Bug #467136 shows us that the gold linker doesn't work with setools for now."
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_MULTI_MSG="Applying various (Fedora-provided) setools fixes... " \
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_SOURCE="${WORKDIR}" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch
|
||||
|
||||
EPATCH_MULTI_MSG="Applying various (Gentoo) setool fixes... " \
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch
|
||||
|
||||
# Disable broken check for SWIG version.
|
||||
sed -e "s/AC_PROG_SWIG(2.0.0)/AC_PROG_SWIG/" -i configure.ac || die "sed failed"
|
||||
# Use swig1.3
|
||||
sed -e 's/AC_PATH_PROG(\[SWIG\],\[swig\])/AC_PATH_PROG([SWIG],[swig1.3])/' -i m4/ac_pkg_swig.m4 || die "failed to set swig1.3"
|
||||
# Fix build failure due to double __init__.py installation
|
||||
sed -e "s/^wrappedpy_DATA = qpol.py \$(pkgpython_PYTHON)/wrappedpy_DATA = qpol.py/" -i libqpol/swig/python/Makefile.am || die
|
||||
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
# Python bindings are built/installed manually.
|
||||
sed -e "s/MAYBE_PYSWIG = python/MAYBE_PYSWIG =/" -i ${dir%python}Makefile.am || die "sed failed"
|
||||
# Make PYTHON_LDFLAGS replaceable during running `make`.
|
||||
sed -e "/^AM_LDFLAGS =/s/@PYTHON_LDFLAGS@/\$(PYTHON_LDFLAGS)/" -i ${dir}/Makefile.am || die "sed failed"
|
||||
done
|
||||
|
||||
# temporary work around bug #424581 until automake-1.12 is stable (then
|
||||
# depend on it). Need to use MKDIR_P in the mean time for 1.12+.
|
||||
has_version ">=sys-devel/automake-1.12.1" && { find . -name 'Makefile.*' -exec sed -i -e 's:mkdir_p:MKDIR_P:g' {} + || die; }
|
||||
|
||||
eautoreconf
|
||||
|
||||
# Disable byte-compilation of Python modules.
|
||||
echo '#!/bin/sh' > py-compile
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-java-prefix=${JAVA_HOME} \
|
||||
--disable-selinux-check \
|
||||
--disable-bwidget-check \
|
||||
$(use_enable python swig-python) \
|
||||
$(use_enable java swig-java) \
|
||||
$(use_enable X swig-tcl) \
|
||||
$(use_enable X gui) \
|
||||
$(use_enable debug)
|
||||
|
||||
# work around swig c99 issues. it does not require
|
||||
# c99 anyway.
|
||||
sed -i -e 's/-std=gnu99//' "${S}/libseaudit/swig/python/Makefile"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake LD="$(tc-getLD).bfd" || die "Failed to build setools"
|
||||
|
||||
if use python; then
|
||||
building() {
|
||||
python_export PYTHON_INCLUDEDIR
|
||||
python_export PYTHON_SITEDIR
|
||||
python_export PYTHON_LIBS
|
||||
emake LD="$(tc-getLD).bfd" \
|
||||
SWIG_PYTHON_CPPFLAGS="-I${PYTHON_INCLUDEDIR}" \
|
||||
PYTHON_LDFLAGS="${PYTHON_LIBS}" \
|
||||
pyexecdir="${PYTHON_SITEDIR}" \
|
||||
pythondir="${PYTHON_SITEDIR}" \
|
||||
-C ${1};
|
||||
}
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
python_foreach_impl building ${dir};
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
if use python; then
|
||||
installation() {
|
||||
python_export PYTHON_SITEDIR
|
||||
emake DESTDIR="${D}" \
|
||||
pyexecdir="${PYTHON_SITEDIR}" \
|
||||
pythondir="${PYTHON_SITEDIR}" \
|
||||
-C ${1} install
|
||||
}
|
||||
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
python_foreach_impl installation ${dir};
|
||||
done
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST focuswriter-1.4.1-src.tar.bz2 3138335 SHA256 ad256fcd85b67c4953c822c617fb93e739cfdc758c6efb2f8902bf8723f94b21 SHA512 67b38151aae7480ae3f3c084599cfcdeffc9cb33ec1b9ca69f9d1829f392c1cb23dab5e0957d8aa8e94e1683671165d8db2eb71ab7602f6f0b6502b56fd81bec WHIRLPOOL e6d71d1bd4d214a55e925241042f7b3898a79acc352808de4ace059b84755f32966290cf3cbec8121aa7a7d1f975525e8b6f9c9a9a97e29045d621b1d86d33f6
|
||||
DIST focuswriter-1.4.2-src.tar.bz2 3149160 SHA256 f41ccf226cb5e4181162d37b2a4b5598be202bb184e2f7c26412dc371c9ef328 SHA512 4b6f503fb6624eea12372fbee169e21df3e728420ffede73bc5895ba451c80910f7f68ebba67a914fe380634d868e7d5a5d196218e255d15155ba397805a63d6 WHIRLPOOL 705694be03e514c2f432d014dbafc1a8a55d0025bdfbfd697dfe416dc2beee3ddd337f8ea50eea8737af59015a6d15e64d55f53afa80c62b5f640fefc3e7b2e9
|
||||
DIST focuswriter-1.4.4-src.tar.bz2 3361062 SHA256 b574d6b76609078e36c38dd3b632cdfe1360bfb3a71221c3afc89b1c01d7670f SHA512 2206022f4de9878629e6bb1c8c64870b73c604496d116c8a692181dedf05b9a975d845f64997e2ca3d762c49a52cfbce56167b9ec512fee64a12eb93a513df00 WHIRLPOOL 8727d83dd24830496b149a912fd351687e4fcdc63353448fa29220e909b9b78856e4d21263ddb4d7b856dc72d9aa7a1106633590597f9fed7ed0d3d934edd953
|
||||
|
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/focuswriter/focuswriter-1.4.4.ebuild,v 1.1 2014/02/04 13:43:40 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
PLOCALES="ca cs da de el en es es_MX fi fr he hu id it ja nl pl pt pt_BR ro ru
|
||||
sk sv tr uk zh_CN"
|
||||
PLOCALE_BACKUP="en"
|
||||
inherit fdo-mime gnome2-utils qt4-r2 l10n readme.gentoo
|
||||
|
||||
DESCRIPTION="A fullscreen and distraction-free word processor"
|
||||
HOMEPAGE="http://gottcode.org/focuswriter/"
|
||||
SRC_URI="http://gottcode.org/${PN}/${P}-src.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="app-text/enchant
|
||||
dev-libs/libzip
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=( ChangeLog CREDITS README )
|
||||
DOC_CONTENTS="Focuswriter has optional sound support if media-libs/sdl-mixer is
|
||||
installed with wav useflag enabled."
|
||||
|
||||
src_prepare() {
|
||||
l10n_for_each_disabled_locale_do rm_loc
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake4 PREFIX="${EPREFIX}/usr"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
readme.gentoo_create_doc
|
||||
qt4-r2_src_install
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
rm_loc() {
|
||||
sed -e "s|translations/${PN}_${1}.ts||" -i ${PN}.pro || die 'sed failed'
|
||||
rm translations/${PN}_${1}.{ts,qm} || die "removing ${1} locale failed"
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST tmux-1.6.tar.gz 388633 SHA256 faee08ba1bd8c22537cd5b7458881d1bdb4985df88ed6bc5967c56881a7efbd6 SHA512 5c7b311d011f2f2027926a615d4300e97fd22f3ae32b0c364fdf935ff02124c59d1d0c48e7e9d572229c7600b6583fd679f4b960a5af872305f005d27350ad9c WHIRLPOOL 5acbd3ed4b6e60a8a08f1ab4117ac9002108d37a13cb3f64925fc2a986fd86b83037cfa1a7016bb65099a0bb00cb37329ad338b8913d48590f2ab8b3ee1755cd
|
||||
DIST tmux-1.7.tar.gz 407164 SHA256 68346bda11cf7d86591e663b94b98576332ac88c2890df26acb080f4440f9e7b SHA512 d2002858ab6c974e6a6c7dc31db20cd6271170cba9e7314216dfcea6670ae09c5112a4313b77bd21d14a906c89723fc9f6c20cea528e7320e2857ec4d71c725b WHIRLPOOL 8a40e42f3e3a3da4b32be32d65c4eb1e1e68e74482d039af6faef1669a349b0667d388d711bed0a1b3e6daf71b97ae1210718fd12a8f3dfdae8cf7f190805fc8
|
||||
DIST tmux-1.8.tar.gz 417537 SHA256 f265401ca890f8223e09149fcea5abcd6dfe75d597ab106e172b01e9d0c9cd44 SHA512 555c7cdc51bfbaa1c90fa0dc820e7ad89d8a4eb818e62d8ccf4637cc96e985ffd9c242b9ba092820c3fb96d09d65c46064ce361062e59ef2586b122e624bbbbb WHIRLPOOL 1513e1ba45d25625e2bf28c384efc91207e866a979ff33921877eae407b845286c385eaf4103a6409c92b4f1db5a43d1155c42fef5a6084861519db74cf23ad2
|
||||
|
@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/tmux-1.6.ebuild,v 1.11 2013/02/04 19:48:14 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit bash-completion-r1
|
||||
|
||||
DESCRIPTION="Terminal multiplexer"
|
||||
HOMEPAGE="http://tmux.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/tmux/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~mips ppc ~ppc64 ~s390 ~sh x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="vim-syntax"
|
||||
|
||||
DEPEND="
|
||||
|| ( >=dev-libs/libevent-2.0.10 <dev-libs/libevent-2 )
|
||||
sys-libs/ncurses"
|
||||
RDEPEND="${DEPEND}
|
||||
vim-syntax? ( || (
|
||||
app-editors/vim
|
||||
app-editors/gvim ) )"
|
||||
|
||||
DOCS=( CHANGES FAQ NOTES TODO )
|
||||
|
||||
pkg_setup() {
|
||||
if has_version "<app-misc/tmux-1.3"; then
|
||||
echo
|
||||
ewarn "Commands 'up-pane', 'down-pane' and 'select-prompt' were removed in version 1.3."
|
||||
ewarn "You may want to update your configuration file accordingly to avoid errors on"
|
||||
ewarn "tmux startup."
|
||||
ewarn
|
||||
ewarn "For the full Changelog, together with details on what replaced the above"
|
||||
ewarn "commands, visit http://tmux.svn.sourceforge.net/viewvc/tmux/trunk/CHANGES"
|
||||
ewarn
|
||||
ewarn "WARNING: after updating to ${P} you will _not_ be able to connect to any"
|
||||
ewarn "running 1.2 tmux server instances. You'll have to use an existing client to"
|
||||
ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
|
||||
ewarn "to temporarily downgrade to tmux 1.2 to access them."
|
||||
echo
|
||||
elif has_version "<app-misc/tmux-1.6"; then
|
||||
echo
|
||||
ewarn "Some configuration options changed in this release."
|
||||
ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/"
|
||||
ewarn "or visit http://tmux.svn.sourceforge.net/viewvc/tmux/trunk/CHANGES"
|
||||
ewarn "for more details."
|
||||
echo
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# look for config file in the prefix
|
||||
sed -i -e '/SYSTEM_CFG/s:"/etc:"'"${EPREFIX}"'/etc:' tmux.h || die
|
||||
# and don't just add some includes
|
||||
sed -i -e 's:-I/usr/local/include::' Makefile.in || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
newbashcomp examples/bash_completion_tmux.sh ${PN}
|
||||
|
||||
docinto examples
|
||||
dodoc examples/*.conf
|
||||
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles/syntax
|
||||
doins examples/tmux.vim
|
||||
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
doins "${FILESDIR}"/tmux.vim
|
||||
fi
|
||||
}
|
@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/tmux-1.7-r1.ebuild,v 1.2 2013/02/04 19:48:14 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit bash-completion-r1
|
||||
|
||||
DESCRIPTION="Terminal multiplexer"
|
||||
HOMEPAGE="http://tmux.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/tmux/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="vim-syntax"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/libevent-2.0.10
|
||||
sys-libs/ncurses"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
vim-syntax? ( || (
|
||||
app-editors/vim
|
||||
app-editors/gvim ) )"
|
||||
|
||||
DOCS=( CHANGES FAQ NOTES TODO )
|
||||
|
||||
pkg_setup() {
|
||||
if has_version "<app-misc/tmux-1.7"; then
|
||||
echo
|
||||
ewarn "Some configuration options changed in this release."
|
||||
ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/"
|
||||
ewarn
|
||||
ewarn "WARNING: after updating to ${P} you will _not_ be able to connect to any"
|
||||
ewarn "running 1.6 tmux server instances. You'll have to use an existing client to"
|
||||
ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
|
||||
ewarn "to temporarily downgrade to tmux 1.6 to access them."
|
||||
echo
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# look for config file in the prefix
|
||||
sed -i -e '/SYSTEM_CFG/s:"/etc:"'"${EPREFIX}"'/etc:' tmux.h || die
|
||||
# and don't just add some includes
|
||||
sed -i -e 's:-I/usr/local/include::' Makefile.in || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
newbashcomp examples/bash_completion_tmux.sh ${PN}
|
||||
|
||||
docinto examples
|
||||
dodoc examples/*.conf
|
||||
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles/syntax
|
||||
doins examples/tmux.vim
|
||||
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
doins "${FILESDIR}"/tmux.vim
|
||||
fi
|
||||
}
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/tmux-1.7-r2.ebuild,v 1.2 2013/02/04 19:48:14 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit bash-completion-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="Terminal multiplexer"
|
||||
HOMEPAGE="http://tmux.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/tmux/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="vim-syntax"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/libevent-2.0.10
|
||||
sys-libs/ncurses"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
vim-syntax? ( || (
|
||||
app-editors/vim
|
||||
app-editors/gvim ) )"
|
||||
|
||||
DOCS=( CHANGES FAQ NOTES TODO )
|
||||
|
||||
pkg_setup() {
|
||||
if has_version "<app-misc/tmux-1.7"; then
|
||||
echo
|
||||
ewarn "Some configuration options changed in this release."
|
||||
ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/"
|
||||
ewarn
|
||||
ewarn "WARNING: after updating to ${P} you will _not_ be able to connect to any"
|
||||
ewarn "running 1.6 tmux server instances. You'll have to use an existing client to"
|
||||
ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
|
||||
ewarn "to temporarily downgrade to tmux 1.6 to access them."
|
||||
echo
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# look for config file in the prefix
|
||||
sed -i -e '/SYSTEM_CFG/s:"/etc:"'"${EPREFIX}"'/etc:' tmux.h || die
|
||||
# and don't just add some includes
|
||||
sed -i -e 's:-I/usr/local/include::' Makefile.in || die
|
||||
|
||||
# bug 438558
|
||||
# 1.7 segfaults when entering copy mode if compiled with -Os
|
||||
replace-flags -Os -O2
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
newbashcomp examples/bash_completion_tmux.sh ${PN}
|
||||
|
||||
docinto examples
|
||||
dodoc examples/*.conf
|
||||
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles/syntax
|
||||
doins examples/tmux.vim
|
||||
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
doins "${FILESDIR}"/tmux.vim
|
||||
fi
|
||||
}
|
@ -1,76 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/tmux-1.7-r3.ebuild,v 1.1 2013/02/13 09:35:36 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=true
|
||||
|
||||
inherit autotools-utils bash-completion-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="Terminal multiplexer"
|
||||
HOMEPAGE="http://tmux.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/tmux/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="vim-syntax"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/libevent-2.0.10
|
||||
sys-libs/ncurses"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
vim-syntax? ( || (
|
||||
app-editors/vim
|
||||
app-editors/gvim ) )"
|
||||
|
||||
DOCS=( CHANGES FAQ NOTES TODO )
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-terminfo.patch )
|
||||
|
||||
pkg_setup() {
|
||||
if has_version "<app-misc/tmux-1.7"; then
|
||||
echo
|
||||
ewarn "Some configuration options changed in this release."
|
||||
ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/"
|
||||
ewarn
|
||||
ewarn "WARNING: after updating to ${P} you will _not_ be able to connect to any"
|
||||
ewarn "running 1.6 tmux server instances. You'll have to use an existing client to"
|
||||
ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
|
||||
ewarn "to temporarily downgrade to tmux 1.6 to access them."
|
||||
echo
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# look for config file in the prefix
|
||||
sed -i -e '/SYSTEM_CFG/s:"/etc:"'"${EPREFIX}"'/etc:' tmux.h || die
|
||||
# and don't just add some includes
|
||||
sed -i -e 's:-I/usr/local/include::' Makefile.am || die
|
||||
|
||||
# bug 438558
|
||||
# 1.7 segfaults when entering copy mode if compiled with -Os
|
||||
replace-flags -Os -O2
|
||||
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
|
||||
newbashcomp examples/bash_completion_tmux.sh ${PN}
|
||||
|
||||
docinto examples
|
||||
dodoc examples/*.conf
|
||||
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles/syntax
|
||||
doins examples/tmux.vim
|
||||
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
doins "${FILESDIR}"/tmux.vim
|
||||
fi
|
||||
}
|
@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/tmux-1.7.ebuild,v 1.5 2013/02/04 19:48:14 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit bash-completion-r1
|
||||
|
||||
DESCRIPTION="Terminal multiplexer"
|
||||
HOMEPAGE="http://tmux.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/tmux/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="vim-syntax"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/libevent-2.0.10
|
||||
sys-libs/ncurses"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
vim-syntax? ( || (
|
||||
app-editors/vim
|
||||
app-editors/gvim ) )"
|
||||
|
||||
DOCS=( CHANGES FAQ NOTES TODO )
|
||||
|
||||
pkg_setup() {
|
||||
if has_version "<app-misc/tmux-1.7"; then
|
||||
echo
|
||||
ewarn "Some configuration options changed in this release."
|
||||
ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/"
|
||||
ewarn
|
||||
ewarn "WARNING: after updating to ${P} you will _not_ be able to connect to any"
|
||||
ewarn "running 1.6 tmux server instances. You'll have to use an existing client to"
|
||||
ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
|
||||
ewarn "to temporarily downgrade to tmux 1.6 to access them."
|
||||
echo
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# look for config file in the prefix
|
||||
sed -i -e '/SYSTEM_CFG/s:"/etc:"'"${EPREFIX}"'/etc:' tmux.h || die
|
||||
# and don't just add some includes
|
||||
sed -i -e 's:-I/usr/local/include::' Makefile.in || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
newbashcomp examples/bash_completion_tmux.sh ${PN}
|
||||
|
||||
docinto examples
|
||||
dodoc examples/*.conf
|
||||
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles/syntax
|
||||
doins examples/tmux.vim
|
||||
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
doins "${FILESDIR}"/tmux.vim
|
||||
fi
|
||||
}
|
@ -1,26 +1,14 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/uptimed/files/uptimed.init,v 1.8 2013/01/14 18:08:59 polynomial-c Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/uptimed/files/uptimed.init,v 1.9 2014/02/04 09:06:02 polynomial-c Exp $
|
||||
|
||||
description="uptimed - a daemon to record uptime records"
|
||||
pidfile="/var/run/uptimed/uptimed.pid"
|
||||
pidfile="/run/uptimed/uptimed.pid"
|
||||
command="/usr/sbin/uptimed"
|
||||
command_args="-p ${pidfile}"
|
||||
start_stop_daemon_args="-u uptimed"
|
||||
|
||||
start_pre() {
|
||||
checkpath -d -o uptimed ${pidfile%/*}
|
||||
|
||||
# Initialize bootid for uptimed < 0.3.17
|
||||
local udver=$(${command} -v | head -n 1 | sed 's@.*[[:space:]]\([[:digit:]\.]\+\)[[:space:]].*@\1@;s@\.@@g')
|
||||
local bootid="/var/spool/uptimed/bootid"
|
||||
if [ "${udver}" -lt "0317" ] ; then
|
||||
${command} -b || eend $?
|
||||
checkpath -f -o uptimed ${bootid}
|
||||
else
|
||||
if [ -f "${bootid}" ] ; then
|
||||
rm ${bootid}
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST gst-element-check-0.10.m4.xz 420 SHA256 805f798eb9fcd79fdd7a937e321a7a61b7a1ff54aa1191270ae48e84f062d7f9 SHA512 07f59b8cdd65263b7f861cafcadbc22620ac66c80ae526dbfb4b305c64680dc353c18b18f347dcf8858dfd996802690b48ab3a539c42c5a75cf4d981ae61811c WHIRLPOOL 13c237320eb684a665e0c386aee4824bb7b1799fd9fc2afcb9b3825cca575ccf8e29e022856b29571f3332cdea5f9304dccc787b3621a402e9215df2b3cb4de5
|
||||
DIST gtkpod-2.1.3.tar.gz 3712898 SHA256 2b98352fe670a3d757c2b9cc4f8b910ca7fe8b8d9441764055075cfff16e4691 SHA512 6d59d1a2cce76d89ef7a47244de0edd7965916324c3681cba751316727fd6026c98128948a06db5778d889e582e200d29645e1beeb566ade865631a4c36ba5e5 WHIRLPOOL 02228c644292a2170c3bc11c2bbc6f56d63f5e7e074ddbc2a77c86ce225cbd1bafbedbc38c9e9e8df8569275a1da35b897b4d2e69b04eb55327c66d1a455bfe9
|
||||
DIST gtkpod-2.1.4.tar.gz 3721445 SHA256 ba12b35f3f24a155b68f0ffdaf4d3c5c7d1b8df04843a53306e1c83fc811dfaa SHA512 803e37729e8d0bb2e9f6a4bb00c89bdfb4a2dfeffe713808ce9a88af68dc0d017a30159a532e74dcf6b05ee50028b854d4358d84752a52d6ca4f259060501a8a WHIRLPOOL 43c8b301846caee00a01d2c8e990d431c5dfbd748796c724ea035218ffe56224f69db6c3ad01e354a6f1f83a579e169aa6f7e57345ce050fde4e22f2a0b1235c
|
||||
DIST gtkpod-2.1.4~8f833a3.tar.gz 3714942 SHA256 1a3852aaecdc18ea88ff03a12b60a2a0a2673dec5b5feb6aae15c94a0e1e0a14 SHA512 7910213266aca8c733fccf6d360d09d215e15852b658ee32f5f6179ac42e70177f42419791b6c3810bff390eafbc48f218224e4d5e2cc1c3762b777abbe2d612 WHIRLPOOL 7c874aeec86a361fdb21afe14cfa26de4b1dd3d98cee33d892a628ab274b563f91e6a4458cf3e4f616d2d8f0db4e9997e49fba0e824d244e48ef6b3bcbecd802
|
||||
|
@ -0,0 +1,78 @@
|
||||
From 9ac32aa3cb2ed5242c0fe3c58ef5f571bf2b95d7 Mon Sep 17 00:00:00 2001
|
||||
From: Nikias Bassen
|
||||
Date: Sun, 24 Mar 2013 01:45:23 +0000
|
||||
Subject: Updated for libimobiledevice >= 1.1.5
|
||||
|
||||
---
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 85d131a..ca518ff 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -17,6 +17,10 @@ PKG_CHECK_MODULES(libimobiledevice11, libimobiledevice-1.0 >= 1.1.0, libimobiled
|
||||
if test x"$libimobiledevice_1_1" = xyes; then
|
||||
AC_DEFINE([HAVE_LIBIMOBILEDEVICE_1_1], 1, [Define if libimobiledevice is using 1.1.0 API])
|
||||
fi
|
||||
+PKG_CHECK_MODULES(libimobiledevice11, libimobiledevice-1.0 >= 1.1.5, libimobiledevice_1_1_5=yes, libimobiledevice_1_1_5=no)
|
||||
+if test x"$libimobiledevice_1_1_5" = xyes; then
|
||||
+ AC_DEFINE([HAVE_LIBIMOBILEDEVICE_1_1_5], 1, [Define if libimobiledevice is using 1.1.5 API])
|
||||
+fi
|
||||
libimobiledevice_VERSION=`$PKG_CONFIG --modversion "libimobiledevice-1.0" 2>&1`
|
||||
PKG_CHECK_MODULES(libfuse, fuse >= 2.7.0)
|
||||
PKG_CHECK_MODULES(libplist, libplist)
|
||||
diff --git a/src/ifuse.c b/src/ifuse.c
|
||||
index b5735ee..9fafb47 100644
|
||||
--- a/src/ifuse.c
|
||||
+++ b/src/ifuse.c
|
||||
@@ -71,7 +71,11 @@ static struct {
|
||||
char *appid;
|
||||
#endif
|
||||
char *service_name;
|
||||
+#ifdef HAVE_LIBIMOBILEDEVICE_1_1_5
|
||||
+ lockdownd_service_descriptor_t service;
|
||||
+#else
|
||||
uint16_t port;
|
||||
+#endif
|
||||
} opts;
|
||||
|
||||
enum {
|
||||
@@ -402,7 +406,11 @@ void *ifuse_init(struct fuse_conn_info *conn)
|
||||
afc_client_new_from_house_arrest_client(house_arrest, &afc);
|
||||
} else {
|
||||
#endif
|
||||
+#ifdef HAVE_LIBIMOBILEDEVICE_1_1_5
|
||||
+ afc_client_new(phone, opts.service, &afc);
|
||||
+#else
|
||||
afc_client_new(phone, opts.port, &afc);
|
||||
+#endif
|
||||
#ifdef HAVE_LIBIMOBILEDEVICE_1_1
|
||||
}
|
||||
#endif
|
||||
@@ -744,7 +752,13 @@ int main(int argc, char *argv[])
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
- if ((lockdownd_start_service(control, opts.service_name, &opts.port) != LOCKDOWN_E_SUCCESS) || !opts.port) {
|
||||
+ if (
|
||||
+#ifdef HAVE_LIBIMOBILEDEVICE_1_1_5
|
||||
+ (lockdownd_start_service(control, opts.service_name, &opts.service) != LOCKDOWN_E_SUCCESS) || !opts.service
|
||||
+#else
|
||||
+ (lockdownd_start_service(control, opts.service_name, &opts.port) != LOCKDOWN_E_SUCCESS) || !opts.port
|
||||
+#endif
|
||||
+ ) {
|
||||
lockdownd_client_free(control);
|
||||
idevice_free(phone);
|
||||
fprintf(stderr, "Failed to start AFC service '%s' on the device.\n", opts.service_name);
|
||||
@@ -757,7 +771,11 @@ int main(int argc, char *argv[])
|
||||
|
||||
#ifdef HAVE_LIBIMOBILEDEVICE_1_1
|
||||
if (!strcmp(opts.service_name, HOUSE_ARREST_SERVICE_NAME)) {
|
||||
+#ifdef HAVE_LIBIMOBILEDEVICE_1_1_5
|
||||
+ house_arrest_client_new(phone, opts.service, &house_arrest);
|
||||
+#else
|
||||
house_arrest_client_new(phone, opts.port, &house_arrest);
|
||||
+#endif
|
||||
if (!house_arrest) {
|
||||
fprintf(stderr, "Could not start document sharing service!\n");
|
||||
return EXIT_FAILURE;
|
||||
--
|
||||
cgit v0.9.1-1-gc6f5
|
@ -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/app-pda/ifuse/ifuse-1.1.2-r1.ebuild,v 1.1 2014/02/04 07:13:44 ssuominen Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools readme.gentoo
|
||||
|
||||
DESCRIPTION="Mount Apple iPhone/iPod Touch file systems for backup purposes"
|
||||
HOMEPAGE="http://www.libimobiledevice.org/"
|
||||
SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-pda/libimobiledevice-1.1.4:=
|
||||
>=app-pda/libplist-1.8:=
|
||||
>=sys-fs/fuse-2.7.0"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS="AUTHORS NEWS README"
|
||||
|
||||
DOC_CONTENTS="Only use this filesystem driver to create backups of your data.
|
||||
The music database is hashed, and attempting to add files will cause the
|
||||
iPod/iPhone to consider your database unauthorised.
|
||||
It will respond by wiping all media files, requiring a restore through iTunes."
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-libimobiledevice115.patch
|
||||
eautoreconf
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST bibletime-2.10.0.tar.xz 3252312 SHA256 89763b17e91b6fe8a791c69d9357bcaf548abb7c1007a1c47efd834a2ec9f1fc SHA512 7c3e7a60d0d8bdcfab4f90eefd9b1dcff5b57c35e4a7224b2eec094a0bf9b9ca9757d9b37317689e4cf0283a132a274ec81a3ba5fea0feb6dd2735e2378c3098 WHIRLPOOL f342e21223cc911f8c80de9a8ecd521aa38a8aeee08238522a389f28a02d3c71580e2ebc9642a042607fbb8219344ddc9c29cacf6f9ef4df1dd78dc379224699
|
||||
DIST bibletime-2.9.1.tar.bz2 5968979 SHA256 308a86d4a1f63203e01438e75be8306377927498b5d0ae8769a4df3c828013b5 SHA512 6099e48fc3d54cb8362ec1a3965b372e60fd136d036dfd8d94b5e443ee5f27eb092162b653160bfc71d5366f79af35e22ee40d64ecd681f184bc4e90c1cd9e0a WHIRLPOOL 0677646ce099297321c4a519364b41254544f6d8660d72f9e76b6a8eafd08205915f40aef5bbc6463199ca0d272e28b926b13b0637ecdef1bc822256363cecf2
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/bibletime/bibletime-2.10.0.ebuild,v 1.1 2014/02/03 23:57:03 creffett Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Qt4 Bible study application using the SWORD library."
|
||||
HOMEPAGE="http://www.bibletime.info/"
|
||||
SRC_URI="mirror://sourceforge/project/bibletime/BibleTime%202/BibleTime%202%20source%20code/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
# bug 313657
|
||||
# RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
>=app-text/sword-1.6.0
|
||||
>=dev-cpp/clucene-2.3.3.4
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtdbus:4
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtwebkit:4
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-libs/boost
|
||||
dev-libs/icu:=
|
||||
net-misc/curl
|
||||
sys-libs/zlib
|
||||
dev-qt/qttest:4
|
||||
"
|
||||
|
||||
DOCS=( ChangeLog README )
|
||||
|
||||
src_prepare() {
|
||||
sed -e "s:Dictionary;Qt:Dictionary;Office;TextTools;Utility;Qt;:" \
|
||||
-i cmake/platforms/linux/bibletime.desktop.cmake || die "fixing .desktop file failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DUSE_QT_WEBKIT=ON
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST flpsed-0.7.0.tar.gz 119159 SHA256 aedb5c96dfdcbe260d133f9b674a98d9948a1614d76ce623acb57503f2850b38 SHA512 0d5112f4e4f4401a1942767d0de1b38cffbc37e0f798b59e9371c37892c6d2e2448146baff2737e416ab9ec5d96963728918d4a49fc059ac1119d8ac946db59e WHIRLPOOL a52dd393b2a1aef829ce8d1f6ef7b9a9c95f08da39c4dec261943ea37abf2bb319cbb53bd76642d0b6d1e47f520b4236995528be1010ebc2ffa41b4aaa850edd
|
||||
DIST flpsed-0.7.2.tar.gz 146678 SHA256 c8c5b54fd21d0b2af2c11bcd7e68f0533c183ba0e9b24f8923dd64ab1eb56284 SHA512 d0e2f7d34e48555d74f58e9df16fa6d29e8fda1fb4c6e58ccdda512f25d7f7ee0e3657e11564cdb9dec483c14f42078636430e5ec987165cc7c6c5de8990984d WHIRLPOOL e7e713070463a99301fbceba62700c3b09ec8131a96d569305cffeb26664148254b84ace75a61a91672e939e568436821b0c054e9d70d7f4a3f4463699887007
|
||||
|
@ -0,0 +1,8 @@
|
||||
--- flpsed-0.7.2/flpsed.desktop
|
||||
+++ flpsed-0.7.2/flpsed.desktop
|
||||
@@ -11,4 +11,4 @@
|
||||
StartupNotify=true
|
||||
Categories=Graphics;
|
||||
MimeType=application/postscript;application/pdf;
|
||||
-Keywords=flpsed;pdf annotator;fltk
|
||||
+Keywords=flpsed;pdf annotator;fltk;
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/flpsed/flpsed-0.7.2.ebuild,v 1.1 2014/02/04 05:04:36 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Pseudo PostScript editor"
|
||||
HOMEPAGE="http://www.ecademix.com/JohannesHofmann/"
|
||||
SRC_URI="http://www.ecademix.com/JohannesHofmann/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXft
|
||||
>=x11-libs/fltk-1.3.0:1
|
||||
app-text/ghostscript-gpl[X]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-desktop.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
doicon ${PN}.png
|
||||
doicon -s scalable ${PN}.svg
|
||||
domenu ${PN}.desktop
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST sword-1.6.2.tar.gz 1965427 SHA256 af76c7d54135c444b09eeaafb49229ef5201a4e1d44539d9341dceaeb60a87b9 SHA512 3a62364ce528540a338a163d5fe48ce4a0263c8af6d5a955ab6b5182f122a65130683d6cc6a8eb9fe3a41661d3bd3fe5bf830aa8329c2b8a6d47f010461b32b4 WHIRLPOOL 50fc2cc6a18a269c7f1eca16ed2f659b84ed0a53d520b4e7935bf0af10c96e9c0b2f26c7e3088edf8311564620fb778fc1f63c0b78c449ad165fee9843fb753d
|
||||
DIST sword-1.7.2.tar.gz 2127944 SHA256 ac7aace0ecb7a405d4b4b211ee1ae5b2250bb5c57c9197179747c9e830787871 SHA512 1ee9565f36d113c9b21883a78004e895ab2f74d9c9f1909058c204e38647a96938de2e544a68858d2c4b048b67ba868049c1c09f0067bc9819a5a85f75285ebe WHIRLPOOL 894e4d96b2ff61ac19de853ff6b17aa2279fb7b5b571c1030ba18daefbea8997bd61d386ff3a1dff49d997c69d6acf2a83094ad6ec5c593acca3dc7fb1d488a0
|
||||
|
@ -0,0 +1,78 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/sword/sword-1.7.2.ebuild,v 1.1 2014/02/03 23:56:26 creffett Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="Library for Bible reading software."
|
||||
HOMEPAGE="http://www.crosswire.org/sword/"
|
||||
SRC_URI="http://www.crosswire.org/ftpmirror/pub/${PN}/source/v${PV%.*}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~ppc-macos"
|
||||
IUSE="curl debug doc icu static-libs"
|
||||
|
||||
RDEPEND="sys-libs/zlib
|
||||
curl? ( net-misc/curl )
|
||||
icu? ( dev-libs/icu:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
DOCS="AUTHORS CODINGSTYLE ChangeLog README"
|
||||
|
||||
RESTRICT="test" #Restricting for now, see bug 313207
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e '/FLAGS/s:-g3::' -e '/FLAGS/s:-O0::' \
|
||||
-e '/FLAGS/s:-O2::' -e '/FLAGS/s:-O3::' \
|
||||
configure || die
|
||||
|
||||
sed -i -e '/FLAGS/s:-Werror::' configure || die #408289
|
||||
sed -i -e '/^#inc.*curl.*types/d' src/mgr/curl*.cpp || die #378055
|
||||
|
||||
cat <<-EOF > "${T}"/${PN}.conf
|
||||
[Install]
|
||||
DataPath=${EPREFIX}/usr/share/${PN}/
|
||||
EOF
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# TODO: Why is this here and can we remove it?
|
||||
strip-flags
|
||||
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable debug) \
|
||||
--with-zlib \
|
||||
$(use_with icu) \
|
||||
--with-conf \
|
||||
$(use_with curl)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
|
||||
if use doc; then
|
||||
rm -rf examples/.cvsignore
|
||||
rm -rf examples/cmdline/.cvsignore
|
||||
rm -rf examples/cmdline/.deps
|
||||
cp -R samples examples "${ED}"/usr/share/doc/${PF}/
|
||||
fi
|
||||
|
||||
insinto /etc
|
||||
doins "${T}"/${PN}.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Check out http://www.crosswire.org/sword/modules/"
|
||||
elog "to download modules that you would like to use with SWORD."
|
||||
elog "Follow module installation instructions found on"
|
||||
elog "the web or in ${EROOT}/usr/share/doc/${PF}/"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST xiphos-3.1.5.tar.gz 6720533 SHA256 2887426908e269f25d2d191be445112027b2b7e80356823d4942b1803a359d8c SHA512 2183125a1076660cf0448ee5f2df3ded9ee58c389716a8ceefe0185989d6c8267f19082add3fa8a7a9da57693f82b47e26c0fe77154e961b84234afbdf5b3a1d WHIRLPOOL 6a66671ab99cc62f0beb6bdfffcec2ff1048cae66ad6304fd788d005c0d0bf81273856af6373eba0bdf5fd6df0176894e1a99fe633fcd1fbad46c78b89848bbf
|
||||
DIST xiphos-3.1.6.tar.gz 6873107 SHA256 21f0024d57b3976526093279ef7ab7f3ed8afe07436ab983bd3049a14c3bdfe5 SHA512 5c25850ba549723993c7574c8629cfa75f4152a46173bfbbed9b62205041edebb34671e8aa5baade7b0aa8fbb218ff7b24292dc0e63ee2bb7e0219a8512feda9 WHIRLPOOL 3d1741e0d07983edfaacb3de85fac1f01352ffa5cb80596eb23b21c6b68a76069eae65d2892a9b987cb8ea41818bd3e92731929cb1c698a37d7886364339241f
|
||||
|
@ -0,0 +1,91 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/xiphos/xiphos-3.1.6.ebuild,v 1.1 2014/02/04 23:59:22 creffett Exp $
|
||||
|
||||
# TODO: waf-utils.eclass ?
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
inherit flag-o-matic gnome2-utils python-single-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="A bible study frontend for Sword (formerly known as GnomeSword)"
|
||||
HOMEPAGE="http://xiphos.org/"
|
||||
SRC_URI="mirror://sourceforge/gnomesword/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 FDL-1.1 LGPL-2 MIT MPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="dbus debug webkit"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
>=app-text/sword-1.7.2
|
||||
>=dev-libs/glib-2
|
||||
dev-libs/libxml2
|
||||
gnome-base/gconf
|
||||
gnome-extra/gtkhtml:4.0
|
||||
>=gnome-extra/libgsf-1.14
|
||||
x11-libs/gtk+:3
|
||||
dbus? ( dev-libs/dbus-glib )
|
||||
webkit? ( net-libs/webkit-gtk:3 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/docbook2X
|
||||
app-text/gnome-doc-utils
|
||||
app-text/rarian
|
||||
dev-libs/libxslt
|
||||
dev-util/intltool
|
||||
virtual/pkgconfig
|
||||
sys-devel/gettext
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e '/FLAGS_DEBUG/s:-g:-Wall:' \
|
||||
-e '/FLAGS_RELEASE/s:-O2:-Wall:' \
|
||||
wscript || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-cppflags -DNO_SWORD_SET_RENDER_NOTE_NUMBERS=1
|
||||
|
||||
tc-export AR CC CPP CXX RANLIB
|
||||
|
||||
local backend=gtkhtml
|
||||
use webkit && backend=webkit
|
||||
|
||||
CCFLAGS="${CFLAGS}" \
|
||||
LINKFLAGS="${LDFLAGS}" \
|
||||
SGML2MAN="$(type -P docbook2man.pl)" \
|
||||
./waf -v \
|
||||
--prefix=/usr \
|
||||
--gtk=3 \
|
||||
--debug-level=$(use debug && echo debug || echo release) \
|
||||
$(use dbus || echo --disable-dbus) \
|
||||
configure || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
./waf -v build || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
./waf -v --destdir="${D}" install || die
|
||||
|
||||
doman ${PN}.1
|
||||
dodoc AUTHORS ChangeLog NEWS README RELEASE-NOTES TODO
|
||||
|
||||
dodoc Xiphos.ogg
|
||||
docompress -x /usr/share/doc/${PF}/Xiphos.ogg
|
||||
|
||||
rm -rf "${ED}"/usr/share/doc/${PN}
|
||||
}
|
||||
|
||||
pkg_preinst() { gnome2_icon_savelist; }
|
||||
pkg_postinst() { gnome2_icon_cache_update; }
|
||||
pkg_postrm() { gnome2_icon_cache_update; }
|
@ -1 +1,2 @@
|
||||
DIST reflectasm-1.05.zip 490426 SHA256 758ae79e429c18523eab1dbef3dcdbb2caf401a7b984251d949dbd1488a959c1 SHA512 256632ad1049394d021919784554b9bdf353a329fb32566922978a35a4345bad73f67aa27b3e459facc1f6e2309c0afb2fea2b1e73050bcdee2a5a47c275f9f5 WHIRLPOOL 852348adc18918c51da323e7a1ddffea97fbbbd2ceeb2b5abeebe763e8dbfbce76413e74829601f01c3895641ac35b234df2e849ab2b9b88998d2f2147369f83
|
||||
DIST reflectasm-1.09.tar.gz 252335 SHA256 622246d7a686cd8ba7ff3ab2037063f5f32329efa13758c2c3681988a428eab6 SHA512 ca4347a67ad408c8bd273eda2557e1686ddf3780439682d5ce9072b72a7e1b8ad35374b8600d5665a6c473c6ee16870a6ab27bb103fe41a27d00b2f222d75f61 WHIRLPOOL c58594400270911b009874e9253e59d0a71393458106e52a5d925a6d128366eaf18035dd59f8cb2c5549b8c8a4539b76bff6686de775f3621629452ab3fdef10
|
||||
|
@ -0,0 +1,247 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
|
||||
<!-- ====================================================================== -->
|
||||
<!-- -->
|
||||
<!-- Any modifications will be overwritten. -->
|
||||
<!-- -->
|
||||
<!-- Generated by Maven Ant Plugin on 2/4/14 12:38 AM -->
|
||||
<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
|
||||
<!-- -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<project name="reflectasm-from-maven" default="package" basedir=".">
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Build environment properties -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<property file="${user.home}/.m2/maven.properties"/>
|
||||
<property file="maven-build.properties"/>
|
||||
|
||||
<property name="maven.build.finalName" value="reflectasm-1.09"/>
|
||||
<property name="maven.build.dir" value="target"/>
|
||||
<property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
|
||||
<property name="maven.build.srcDir.0" value="src"/>
|
||||
<property name="maven.build.resourceDir.0" value="src/main/resources"/>
|
||||
<property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
|
||||
<property name="maven.build.testDir.0" value="test"/>
|
||||
<property name="maven.build.testResourceDir.0" value="src/test/resources"/>
|
||||
<property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
|
||||
<property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
|
||||
|
||||
<property name="maven.repo.local" value="${user.home}/.m2/repository"/>
|
||||
<property name="maven.settings.offline" value="false"/>
|
||||
<property name="maven.settings.interactiveMode" value="true"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Defining classpaths -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<path id="build.classpath">
|
||||
<pathelement location="${maven.repo.local}/org/ow2/asm/asm/4.0/asm-4.0.jar"/>
|
||||
</path>
|
||||
<path id="build.test.classpath">
|
||||
<pathelement location="${maven.repo.local}/org/ow2/asm/asm/4.0/asm-4.0.jar"/>
|
||||
<pathelement location="${maven.repo.local}/junit/junit/4.8.2/junit-4.8.2.jar"/>
|
||||
</path>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Cleaning up target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="clean" description="Clean the output directory">
|
||||
<delete dir="${maven.build.dir}"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile" depends="get-deps" description="Compile the code">
|
||||
<mkdir dir="${maven.build.outputDir}"/>
|
||||
<javac destdir="${maven.build.outputDir}"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.5"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.5">
|
||||
<src>
|
||||
<pathelement location="${maven.build.srcDir.0}"/>
|
||||
</src>
|
||||
<classpath refid="build.classpath"/>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Test-compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile-tests"
|
||||
depends="compile"
|
||||
description="Compile the test code"
|
||||
unless="maven.test.skip">
|
||||
<mkdir dir="${maven.build.testOutputDir}"/>
|
||||
<javac destdir="${maven.build.testOutputDir}"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.5"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.5">
|
||||
<src>
|
||||
<pathelement location="${maven.build.testDir.0}"/>
|
||||
</src>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
</classpath>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Run all tests -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test"
|
||||
depends="compile-tests, junit-missing"
|
||||
unless="junit.skipped"
|
||||
description="Run the test cases">
|
||||
<mkdir dir="${maven.test.reports}"/>
|
||||
<junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
|
||||
<sysproperty key="basedir" value="."/>
|
||||
<formatter type="xml"/>
|
||||
<formatter type="plain" usefile="false"/>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
<pathelement location="${maven.build.testOutputDir}"/>
|
||||
</classpath>
|
||||
<batchtest todir="${maven.test.reports}" unless="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/Test*.java"/>
|
||||
<include name="**/*Test.java"/>
|
||||
<include name="**/*TestCase.java"/>
|
||||
<exclude name="**/*Abstract*Test.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
<batchtest todir="${maven.test.reports}" if="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/${test}.java"/>
|
||||
<exclude name="**/*Abstract*Test.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
</junit>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-present">
|
||||
<available classname="junit.framework.Test" property="junit.present"/>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-status"
|
||||
depends="test-junit-present">
|
||||
<condition property="junit.missing">
|
||||
<and>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<isfalse value="${maven.test.skip}"/>
|
||||
</and>
|
||||
</condition>
|
||||
<condition property="junit.skipped">
|
||||
<or>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<istrue value="${maven.test.skip}"/>
|
||||
</or>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="junit-missing"
|
||||
depends="test-junit-status"
|
||||
if="junit.missing">
|
||||
<echo>=================================== WARNING ===================================</echo>
|
||||
<echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo>
|
||||
<echo>===============================================================================</echo>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Javadoc target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="javadoc" description="Generates the Javadoc of the application">
|
||||
<javadoc sourcepath="${maven.build.srcDir.0}"
|
||||
packagenames="*"
|
||||
destdir="${maven.reporting.outputDirectory}/apidocs"
|
||||
access="protected"
|
||||
old="false"
|
||||
verbose="false"
|
||||
version="true"
|
||||
use="true"
|
||||
author="true"
|
||||
splitindex="false"
|
||||
nodeprecated="false"
|
||||
nodeprecatedlist="false"
|
||||
notree="false"
|
||||
noindex="false"
|
||||
nohelp="false"
|
||||
nonavbar="false"
|
||||
serialwarn="false"
|
||||
charset="ISO-8859-1"
|
||||
linksource="false"
|
||||
breakiterator="false"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Package target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="package" depends="compile,test" description="Package the application">
|
||||
<jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
|
||||
compress="true"
|
||||
index="false"
|
||||
basedir="${maven.build.outputDir}"
|
||||
excludes="**/package.html"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- A dummy target for the package named after the type it creates -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="jar" depends="package" description="Builds the jar for the application"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Download dependencies target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test-offline">
|
||||
<condition property="maven.mode.offline">
|
||||
<equals arg1="${maven.settings.offline}" arg2="true"/>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="get-deps"
|
||||
depends="test-offline"
|
||||
description="Download all dependencies"
|
||||
unless="maven.mode.offline">
|
||||
<mkdir dir="${maven.repo.local}"/>
|
||||
<mkdir dir="${maven.repo.local}/org/ow2/asm/asm/4.0"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/org/ow2/asm/asm/4.0/asm-4.0.jar"
|
||||
dest="${maven.repo.local}/org/ow2/asm/asm/4.0/asm-4.0.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<mkdir dir="${maven.repo.local}/junit/junit/4.8.2"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/junit/junit/4.8.2/junit-4.8.2.jar"
|
||||
dest="${maven.repo.local}/junit/junit/4.8.2/junit-4.8.2.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
</target>
|
||||
|
||||
</project>
|
@ -0,0 +1,16 @@
|
||||
Remove test that unloads the current class loader. If this is enabled, the
|
||||
testAutoUnloadClassloaders testcase will fail if it's run after
|
||||
testRemoveClassloaders. Since junit generally runs tests in an arbitrary order
|
||||
this causes random testsuite failures.
|
||||
|
||||
--- reflectasm-1.09/test/com/esotericsoftware/reflectasm/ClassLoaderTest.java
|
||||
+++ reflectasm-1.09/test/com/esotericsoftware/reflectasm/ClassLoaderTest.java
|
||||
@@ -104,8 +104,6 @@
|
||||
assertEquals(initialCount+1, AccessClassLoader.activeAccessClassLoaders());
|
||||
AccessClassLoader.remove(testObject2.getClass().getClassLoader());
|
||||
assertEquals(initialCount+0, AccessClassLoader.activeAccessClassLoaders());
|
||||
- AccessClassLoader.remove(this.getClass().getClassLoader());
|
||||
- assertEquals(initialCount-1, AccessClassLoader.activeAccessClassLoaders());
|
||||
}
|
||||
|
||||
static public class Test {
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/reflectasm/reflectasm-1.09.ebuild,v 1.1 2014/02/04 02:11:26 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 eutils
|
||||
|
||||
DESCRIPTION="High performance Java reflection"
|
||||
HOMEPAGE="https://github.com/EsotericSoftware/reflectasm/"
|
||||
SRC_URI="https://github.com/EsotericSoftware/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
COMMON_DEPEND="dev-java/asm:4"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=virtual/jre-1.5"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=virtual/jdk-1.5
|
||||
test? (
|
||||
dev-java/junit:4
|
||||
dev-java/ant-junit4:0
|
||||
)"
|
||||
|
||||
EANT_GENTOO_CLASSPATH="asm-4"
|
||||
EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4"
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_EXTRA_ARGS="-Dmaven.build.finalName=${PN}"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/${P}-maven-build.xml build.xml || die
|
||||
find . -name '*.jar' -delete
|
||||
|
||||
epatch "${FILESDIR}"/${P}-parallel-tests.patch
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar target/${PN}.jar
|
||||
use doc && java-pkg_dojavadoc target/site/apidocs
|
||||
use source && java-pkg_dosrc src
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST slf4j-1.7.5.tar.gz 2862186 SHA256 e83f1f22f22dabce0a78bd8191fb2d6fab71dc9dc4c8bfbd7939a87b1237c92e SHA512 2ef078f505b626273bd22fe683b4a2527ce2d97b345ffb8cd9f23e7375cb11588623e67e15de90ceacfa02689e40c59749f22e5e0b44b8a9fd7492d3f120d9d7 WHIRLPOOL 4a396c81b50b186d8e582f30331f7d0a21c85bb2cc293bdc8eff8a8bc49ae7382b6b37e1b3f585d0f14e716b1b889ac17ae1acdc03799b93180539e488170820
|
@ -0,0 +1,269 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
|
||||
<!-- ====================================================================== -->
|
||||
<!-- -->
|
||||
<!-- Any modifications will be overwritten. -->
|
||||
<!-- -->
|
||||
<!-- Generated by Maven Ant Plugin on 2/3/14 11:52 PM -->
|
||||
<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
|
||||
<!-- -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<project name="slf4j-log4j12-from-maven" default="package" basedir=".">
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Build environment properties -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<property file="${user.home}/.m2/maven.properties"/>
|
||||
<property file="maven-build.properties"/>
|
||||
|
||||
<property name="maven.build.finalName" value="slf4j-log4j12-1.7.5"/>
|
||||
<property name="maven.build.dir" value="target"/>
|
||||
<property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
|
||||
<property name="maven.build.srcDir.0" value="src/main/java"/>
|
||||
<property name="maven.build.resourceDir.0" value="src/main/resources"/>
|
||||
<property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
|
||||
<property name="maven.build.testDir.0" value="src/test/java"/>
|
||||
<property name="maven.build.testResourceDir.0" value="src/test/resources"/>
|
||||
<property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
|
||||
<property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
|
||||
|
||||
<property name="maven.repo.local" value="${user.home}/.m2/repository"/>
|
||||
<property name="maven.settings.offline" value="false"/>
|
||||
<property name="maven.settings.interactiveMode" value="true"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Defining classpaths -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<path id="build.classpath">
|
||||
<pathelement location="${maven.repo.local}/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar"/>
|
||||
<pathelement location="${maven.repo.local}/log4j/log4j/1.2.17/log4j-1.2.17.jar"/>
|
||||
</path>
|
||||
<path id="build.test.classpath">
|
||||
<pathelement location="${maven.repo.local}/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar"/>
|
||||
<pathelement location="${maven.repo.local}/log4j/log4j/1.2.17/log4j-1.2.17.jar"/>
|
||||
<pathelement location="${maven.repo.local}/junit/junit/4.10/junit-4.10.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"/>
|
||||
</path>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Cleaning up target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="clean" description="Clean the output directory">
|
||||
<delete dir="${maven.build.dir}"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile" depends="get-deps" description="Compile the code">
|
||||
<mkdir dir="${maven.build.outputDir}"/>
|
||||
<javac destdir="${maven.build.outputDir}"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.5"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.5">
|
||||
<src>
|
||||
<pathelement location="${maven.build.srcDir.0}"/>
|
||||
</src>
|
||||
<classpath refid="build.classpath"/>
|
||||
</javac>
|
||||
<copy todir="${maven.build.outputDir}">
|
||||
<fileset dir="${maven.build.resourceDir.0}"/>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Test-compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile-tests"
|
||||
depends="compile"
|
||||
description="Compile the test code"
|
||||
unless="maven.test.skip">
|
||||
<mkdir dir="${maven.build.testOutputDir}"/>
|
||||
<javac destdir="${maven.build.testOutputDir}"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.5"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.5">
|
||||
<src>
|
||||
<pathelement location="${maven.build.testDir.0}"/>
|
||||
</src>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
</classpath>
|
||||
</javac>
|
||||
<copy todir="${maven.build.testOutputDir}">
|
||||
<fileset dir="${maven.build.testResourceDir.0}"/>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Run all tests -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test"
|
||||
depends="compile-tests, junit-missing"
|
||||
unless="junit.skipped"
|
||||
description="Run the test cases">
|
||||
<mkdir dir="${maven.test.reports}"/>
|
||||
<junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
|
||||
<sysproperty key="basedir" value="."/>
|
||||
<formatter type="xml"/>
|
||||
<formatter type="plain" usefile="false"/>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
<pathelement location="${maven.build.testOutputDir}"/>
|
||||
</classpath>
|
||||
<batchtest todir="${maven.test.reports}" unless="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/Test*.java"/>
|
||||
<include name="**/*Test.java"/>
|
||||
<include name="**/*TestCase.java"/>
|
||||
<exclude name="**/AllTest.java"/>
|
||||
<exclude name="**/PackageTest.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
<batchtest todir="${maven.test.reports}" if="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/${test}.java"/>
|
||||
<exclude name="**/AllTest.java"/>
|
||||
<exclude name="**/PackageTest.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
</junit>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-present">
|
||||
<available classname="junit.framework.Test" property="junit.present"/>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-status"
|
||||
depends="test-junit-present">
|
||||
<condition property="junit.missing">
|
||||
<and>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<isfalse value="${maven.test.skip}"/>
|
||||
</and>
|
||||
</condition>
|
||||
<condition property="junit.skipped">
|
||||
<or>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<istrue value="${maven.test.skip}"/>
|
||||
</or>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="junit-missing"
|
||||
depends="test-junit-status"
|
||||
if="junit.missing">
|
||||
<echo>=================================== WARNING ===================================</echo>
|
||||
<echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo>
|
||||
<echo>===============================================================================</echo>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Javadoc target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="javadoc" description="Generates the Javadoc of the application">
|
||||
<javadoc sourcepath="${maven.build.srcDir.0}"
|
||||
packagenames="*"
|
||||
destdir="${maven.reporting.outputDirectory}/apidocs"
|
||||
access="protected"
|
||||
old="false"
|
||||
verbose="false"
|
||||
version="true"
|
||||
use="true"
|
||||
author="true"
|
||||
splitindex="false"
|
||||
nodeprecated="false"
|
||||
nodeprecatedlist="false"
|
||||
notree="false"
|
||||
noindex="false"
|
||||
nohelp="false"
|
||||
nonavbar="false"
|
||||
serialwarn="false"
|
||||
charset="ISO-8859-1"
|
||||
linksource="false"
|
||||
breakiterator="false"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Package target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="package" depends="compile,test" description="Package the application">
|
||||
<jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
|
||||
compress="true"
|
||||
index="false"
|
||||
manifest="${maven.build.resourceDir.0}/META-INF/MANIFEST.MF"
|
||||
basedir="${maven.build.outputDir}"
|
||||
excludes="**/package.html"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- A dummy target for the package named after the type it creates -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="jar" depends="package" description="Builds the jar for the application"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Download dependencies target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test-offline">
|
||||
<condition property="maven.mode.offline">
|
||||
<equals arg1="${maven.settings.offline}" arg2="true"/>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="get-deps"
|
||||
depends="test-offline"
|
||||
description="Download all dependencies"
|
||||
unless="maven.mode.offline">
|
||||
<mkdir dir="${maven.repo.local}"/>
|
||||
<mkdir dir="${maven.repo.local}/org/slf4j/slf4j-api/1.7.5"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar"
|
||||
dest="${maven.repo.local}/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<mkdir dir="${maven.repo.local}/log4j/log4j/1.2.17"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/log4j/log4j/1.2.17/log4j-1.2.17.jar"
|
||||
dest="${maven.repo.local}/log4j/log4j/1.2.17/log4j-1.2.17.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<mkdir dir="${maven.repo.local}/junit/junit/4.10"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/junit/junit/4.10/junit-4.10.jar"
|
||||
dest="${maven.repo.local}/junit/junit/4.10/junit-4.10.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<mkdir dir="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"
|
||||
dest="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
</target>
|
||||
|
||||
</project>
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/slf4j-log4j12/slf4j-log4j12-1.7.5.ebuild,v 1.1 2014/02/04 00:29:06 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Simple Logging Facade for Java (SLF4J) log4j bindings"
|
||||
HOMEPAGE="http://www.slf4j.org/"
|
||||
SRC_URI="http://www.slf4j.org/dist/${P/-log4j12/}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-java/log4j:0
|
||||
~dev-java/slf4j-api-${PV}:0"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=virtual/jre-1.5"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=virtual/jdk-1.5
|
||||
test? (
|
||||
dev-java/hamcrest-core:0
|
||||
dev-java/junit:4
|
||||
dev-java/ant-junit4:0
|
||||
)"
|
||||
|
||||
S=${WORKDIR}/${P/-log4j12/}/${PN}
|
||||
|
||||
EANT_GENTOO_CLASSPATH="log4j,slf4j-api"
|
||||
EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},hamcrest-core,junit-4"
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_EXTRA_ARGS="-Dmaven.build.finalName=${PN}"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/${P}-maven-build.xml build.xml || die
|
||||
find "${WORKDIR}" -iname '*.jar' -delete
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar target/${PN}.jar
|
||||
use doc && java-pkg_dojavadoc target/site/apidocs
|
||||
use source && java-pkg_dosrc src/main/java/org
|
||||
}
|
@ -1,7 +1,2 @@
|
||||
DIST libgcrypt-1.4.6.tar.bz2 1151877 SHA256 3e4b30da6b357b565333d0222133b64a0414be99ba72733081165c8ea9bc6b85 SHA512 d219b23b36870a526d378a4ce784abc044bcb3a547a5e667b8185f2aceffab707918a6be6420d8473fc0c4d293968be5824b5dcf0cc5f0ef0866490f250b101c WHIRLPOOL 1725c87e68aee064488a6abd2be5a8541a0dc98a191c708a39f7f13faca02d92748d87b1ba9a0a499711632ddb484a23b72fe7cac2a2d11ea30c9b9b2a6986ae
|
||||
DIST libgcrypt-1.5.0-idea.patch.bz2 4291 SHA256 c6facb5733454cbd5ab0caf76b9ffe32a95973853a67cc422697f5f1cb354ad9 SHA512 1368ccf6bf8c78717fbfd1e6c05526d209a9e5c714ca5063cd2996fcf043cf15a12f0798385a6321b0525b52fcc9fa87c52be7101ac37e656dfaec2f093e34f1 WHIRLPOOL ffd011522b782cbaaac1b38f44a943956cb2275518119bf4df73fa914a473469db90c0220c81293fb8da3be43f34b89591ad47c6d09a144cb7059f963e1be414
|
||||
DIST libgcrypt-1.5.0.tar.bz2 1433506 SHA256 4b62fc516004940a0571025401a0581d49199f1a76dfb5ce6fd63f50db8173fa SHA512 1422ca739d41952b71ea4512d6c7f2a76924867671bec35f92e573a7f02a9569938daf109d7ecaf6b1cfd45425511d2bae068d6945e5792dfd1bb15434ff27a8 WHIRLPOOL c1beb69a508108c8ea6463cbcff54b85abab1ff43fb338c8f029fccd93711c6d81c1e7c1764e6574b769803b0a3e810ad73220ca9e5abeeac3081fcf00c20a03
|
||||
DIST libgcrypt-1.5.1.tar.bz2 1503471 SHA256 ad9eb15808e769998c0bd8c181ac881423919f4f105586913dccbc0dfbfae527 SHA512 e7ae8ed5080e9168ff2e9061b333f7de0e9dcba7dea2702aeb7f38d8b5cfefb7efbdd57f6fb0f7b53e26cb95779711415c7e458dfb4091b9b24953fca049a48a WHIRLPOOL e3812694791da36af16f0d910f9318c8a64e4c2e596dc091551fb93478d205a20e35f129ad579fa26ebf2550ec7b082e926f0e3a1bf80f1b96eccb06e63841f5
|
||||
DIST libgcrypt-1.5.2.tar.bz2 1507418 SHA256 e41a4339f50294f3c925f2f71aaf2427eb162d2994da91666dfc32621afe963f SHA512 2e9e2edb2f216f3b25622bba994780cb592d115d9b41643ef2b9e11fb8cbe097636340dfbdcb263b8627b02479507ba20b74aacfdbfd14d12886467b72e1dffb WHIRLPOOL 4a99852a3885716219415ad271cb49fdbc98b63307a87c2770666296e9fb2864d221edff4651e2f1f372d2c215db2468f1980944de248f692532b050663bdfdd
|
||||
DIST libgcrypt-1.5.3.tar.bz2 1508530 SHA256 bcf5334e7da352c45de6aec5d2084ce9a1d30029ff4a4a5da13f1848874759d1 SHA512 2fc2771d00d5fef9a7158790a8914da10154a5fac9124bf21ee43edd08b43dd4452f38a3aee12deb46d86f574ffdd0688c5829e978f4de2fa3e07be486e99723 WHIRLPOOL da8b354e772ba830d3fbecc2c707c96f8b0f65f98d4af9d5b79ac639a9029bc364688836e0af1d9f7810c5df2679f8d4ba61d9afa775530c4b0f755ac88049fe
|
||||
DIST libgcrypt-1.6.0.tar.bz2 2499149 SHA256 662d508600ad94cc334e665b7016137feedfcca5226998c65ddd56bdfca29708 SHA512 e2e8ef6eacc67cc575bf592192db253a7174218a69e217d05870c8f4a85541209b392e21bebafcf9d7f062300ccf65fa2aabeb1b6ef28821813c8f9ff659fe80 WHIRLPOOL 86655f7f632939ea13a62aa093194806c0574732649a6cd82848e8a85b552f896257f48bd3e8de510aa65e972ab0598b97c0634b9e70b4b4fb08b78e6f33f07e
|
||||
DIST libgcrypt-1.6.1.tar.bz2 2470885 SHA256 a1c3efea69f8ffe769f488b300ce190eeeb0c30de24a53f1c1b6e4202fdc2070 SHA512 83d502cf998736a5920df7324b7ff658041c34b2cfddccd8b96744ff940c0c84fe91fe7bfe03a69b10b9697a6f04f3007134bbc3c288b0fed78b60fc6ff15bc2 WHIRLPOOL 693de77590ea2da423e43e832f809183a50fa0e5d02d2fe46b860c6e6295d879730a300353d71e63671f498a1041b7b072af6bf4124a1a45eda787fee636a248
|
||||
|
@ -1,35 +0,0 @@
|
||||
From a96974de734beb51a733a89b3283bcf7b433b54c Mon Sep 17 00:00:00 2001
|
||||
From: Werner Koch <wk@gnupg.org>
|
||||
Date: Wed, 21 Nov 2012 10:35:28 +0100
|
||||
Subject: [PATCH] Fix segv with AES-NI on some platforms.
|
||||
|
||||
* cipher/rijndael.c (RIJNDAEL_context): Align on 16 bytes.
|
||||
--
|
||||
|
||||
The trigger for this problem is the allocation of the context in the
|
||||
selftest functions. The other code paths use a 16 byte alignment
|
||||
anyway by means of the allocation of the context in cipher.c
|
||||
Thanks to Gentoo hacker Joakim Tjernlund for figuring out the reason
|
||||
of this problem.
|
||||
|
||||
GnuPG-bug-id: 1452
|
||||
---
|
||||
cipher/rijndael.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/cipher/rijndael.c b/cipher/rijndael.c
|
||||
index d9a95cb..a2aedf0 100644
|
||||
--- a/cipher/rijndael.c
|
||||
+++ b/cipher/rijndael.c
|
||||
@@ -126,7 +126,7 @@ typedef struct
|
||||
#ifdef USE_AESNI
|
||||
int use_aesni; /* AES-NI shall be used. */
|
||||
#endif /*USE_AESNI*/
|
||||
-} RIJNDAEL_context;
|
||||
+} RIJNDAEL_context ATTR_ALIGNED_16;
|
||||
|
||||
/* Macros defining alias for the keyschedules. */
|
||||
#define keyschenc u1.keyschedule
|
||||
--
|
||||
1.8.0
|
||||
|
@ -1,10 +0,0 @@
|
||||
http://lists.gnupg.org/pipermail/gcrypt-devel/2012-September/001979.html
|
||||
https://bugs.gentoo.org/427726
|
||||
|
||||
--- mpi/amd64/mpi-asm-defs.h
|
||||
+++ mpi/amd64/mpi-asm-defs.h
|
||||
@@ -0,0 +1,4 @@
|
||||
+/* This file defines some basic constants for the MPI machinery. We
|
||||
+ * need to define the types on a per-CPU basis, so it is done with
|
||||
+ * this file here. */
|
||||
+#define BYTES_PER_MPI_LIMB 8
|
@ -1,76 +0,0 @@
|
||||
From 04cda6b7cc16f3f52c12d9d3e46c56701003496e Mon Sep 17 00:00:00 2001
|
||||
From: Milan Broz <gmazyland@gmail.com>
|
||||
Date: Mon, 13 Jan 2014 21:30:42 +0100
|
||||
Subject: [PATCH] PBKDF2: Use gcry_md_reset to speed up calculation.
|
||||
|
||||
* cipher/kdf.c (_gcry_kdf_pkdf2): Use gcry_md_reset
|
||||
to speed up calculation.
|
||||
--
|
||||
|
||||
Current PBKDF2 implementation uses gcry_md_set_key in every iteration
|
||||
which is extremely slow (even in comparison with other implementations).
|
||||
|
||||
Use gcry_md_reset instead and set key only once.
|
||||
|
||||
With this test program:
|
||||
|
||||
char input[32000], salt[8], key[16];
|
||||
gcry_kdf_derive(input, sizeof(input), GCRY_KDF_PBKDF2,
|
||||
gcry_md_map_name("sha1"),
|
||||
salt, sizeof(salt), 100000, sizeof(key), key);
|
||||
|
||||
running time without patch:
|
||||
real 0m11.165s
|
||||
user 0m11.136s
|
||||
sys 0m0.000s
|
||||
|
||||
and with patch applied
|
||||
real 0m0.230s
|
||||
user 0m0.184s
|
||||
sys 0m0.024s
|
||||
|
||||
(The problem was found when cryptsetup started to use gcrypt internal PBKDF2
|
||||
and for very long keyfiles unlocking time increased drastically.
|
||||
See https://bugzilla.redhat.com/show_bug.cgi?id=1051733)
|
||||
|
||||
Signed-off-by: Milan Broz <gmazyland@gmail.com>
|
||||
---
|
||||
cipher/kdf.c | 16 +++++++++-------
|
||||
1 file changed, 9 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/cipher/kdf.c b/cipher/kdf.c
|
||||
index 503f068..af0dc48 100644
|
||||
--- a/cipher/kdf.c
|
||||
+++ b/cipher/kdf.c
|
||||
@@ -175,19 +175,21 @@ _gcry_kdf_pkdf2 (const void *passphrase, size_t passphraselen,
|
||||
return ec;
|
||||
}
|
||||
|
||||
+ ec = _gcry_md_setkey (md, passphrase, passphraselen);
|
||||
+ if (ec)
|
||||
+ {
|
||||
+ _gcry_md_close (md);
|
||||
+ xfree (sbuf);
|
||||
+ return ec;
|
||||
+ }
|
||||
+
|
||||
/* Step 3 and 4. */
|
||||
memcpy (sbuf, salt, saltlen);
|
||||
for (lidx = 1; lidx <= l; lidx++)
|
||||
{
|
||||
for (iter = 0; iter < iterations; iter++)
|
||||
{
|
||||
- ec = _gcry_md_setkey (md, passphrase, passphraselen);
|
||||
- if (ec)
|
||||
- {
|
||||
- _gcry_md_close (md);
|
||||
- xfree (sbuf);
|
||||
- return ec;
|
||||
- }
|
||||
+ _gcry_md_reset (md);
|
||||
if (!iter) /* Compute U_1: */
|
||||
{
|
||||
sbuf[saltlen] = (lidx >> 24);
|
||||
--
|
||||
1.7.10.4
|
||||
|
@ -0,0 +1,26 @@
|
||||
The version taken from GnuPG 1.4 assumes any cross-compiled package have
|
||||
prefixed underscores, which is not the case; by using libtool's own macro,
|
||||
we can avoid the whole issue.
|
||||
|
||||
--- libgcrypt-1.6.1/configure.ac
|
||||
+++ libgcrypt-1.6.1/configure.ac
|
||||
@@ -1022,7 +1022,7 @@
|
||||
# Check whether underscores in symbols are required. This needs to be
|
||||
# done before setting up the assembler stuff.
|
||||
#
|
||||
-GNUPG_SYS_SYMBOL_UNDERSCORE()
|
||||
+LT_SYS_SYMBOL_USCORE
|
||||
|
||||
|
||||
#################################
|
||||
--- libgcrypt-1.6.1/mpi/config.links
|
||||
+++ libgcrypt-1.6.1/mpi/config.links
|
||||
@@ -362,7 +362,7 @@
|
||||
|
||||
# Make sysdep.h
|
||||
echo '/* created by config.links - do not edit */' >./mpi/sysdep.h
|
||||
-if test x$ac_cv_sys_symbol_underscore = xyes; then
|
||||
+if test x$sys_symbol_underscore = xyes; then
|
||||
cat <<EOF >>./mpi/sysdep.h
|
||||
#if __STDC__
|
||||
#define C_SYMBOL_NAME(name) _##name
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.4.6-r1.ebuild,v 1.1 2011/04/06 18:37:54 c1pher Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="General purpose crypto library based on the code used in GnuPG"
|
||||
HOMEPAGE="http://www.gnupg.org/"
|
||||
SRC_URI="mirror://gnupg/libgcrypt/${P}.tar.bz2
|
||||
ftp://ftp.gnupg.org/gcrypt/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND=">=dev-libs/libgpg-error-1.5"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# Fix build failure with non-bash /bin/sh.
|
||||
eautoreconf
|
||||
|
||||
epunt_cxx
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# --disable-padlock-support for bug #201917
|
||||
econf \
|
||||
--disable-padlock-support \
|
||||
--disable-dependency-tracking \
|
||||
--with-pic \
|
||||
--enable-noexecstack \
|
||||
--disable-O-flag-munging \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc AUTHORS ChangeLog NEWS README* THANKS TODO || die "dodoc failed"
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.4.6.ebuild,v 1.12 2011/01/29 17:32:34 arfrever Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="General purpose crypto library based on the code used in GnuPG"
|
||||
HOMEPAGE="http://www.gnupg.org/"
|
||||
SRC_URI="mirror://gnupg/libgcrypt/${P}.tar.bz2
|
||||
ftp://ftp.gnupg.org/gcrypt/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND=">=dev-libs/libgpg-error-1.5"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# Fix build failure with non-bash /bin/sh.
|
||||
eautoreconf
|
||||
|
||||
epunt_cxx
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# --disable-padlock-support for bug #201917
|
||||
econf \
|
||||
--disable-padlock-support \
|
||||
--disable-dependency-tracking \
|
||||
--with-pic \
|
||||
--enable-noexecstack \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc AUTHORS ChangeLog NEWS README* THANKS TODO || die "dodoc failed"
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.5.0-r1.ebuild,v 1.2 2012/05/21 18:52:09 xarthisius Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="General purpose crypto library based on the code used in GnuPG"
|
||||
HOMEPAGE="http://www.gnupg.org/"
|
||||
SRC_URI="mirror://gnupg/libgcrypt/${P}.tar.bz2
|
||||
ftp://ftp.gnupg.org/gcrypt/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND=">=dev-libs/libgpg-error-1.8"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-uscore.patch
|
||||
epatch "${FILESDIR}"/${PN}-multilib-syspath.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# --disable-padlock-support for bug #201917
|
||||
econf \
|
||||
--disable-padlock-support \
|
||||
--disable-dependency-tracking \
|
||||
--enable-noexecstack \
|
||||
--disable-O-flag-munging \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
use static-libs || find "${D}" -name '*.la' -delete
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.5.0-r2.ebuild,v 1.10 2012/09/23 22:28:11 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="General purpose crypto library based on the code used in GnuPG"
|
||||
HOMEPAGE="http://www.gnupg.org/"
|
||||
SRC_URI="mirror://gnupg/libgcrypt/${P}.tar.bz2
|
||||
ftp://ftp.gnupg.org/gcrypt/${PN}/${P}.tar.bz2
|
||||
mirror://gentoo/${P}-idea.patch.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND=">=dev-libs/libgpg-error-1.8"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-uscore.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.5.0-x32.patch
|
||||
epatch "${FILESDIR}"/${PN}-multilib-syspath.patch
|
||||
epatch "${WORKDIR}"/${P}-idea.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# --disable-padlock-support for bug #201917
|
||||
econf \
|
||||
--disable-padlock-support \
|
||||
--disable-dependency-tracking \
|
||||
--enable-noexecstack \
|
||||
--disable-O-flag-munging \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
use static-libs || find "${D}" -name '*.la' -delete
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.5.0-r3.ebuild,v 1.1 2012/11/04 17:36:12 c1pher Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="General purpose crypto library based on the code used in GnuPG"
|
||||
HOMEPAGE="http://www.gnupg.org/"
|
||||
SRC_URI="mirror://gnupg/libgcrypt/${P}.tar.bz2
|
||||
ftp://ftp.gnupg.org/gcrypt/${PN}/${P}.tar.bz2
|
||||
mirror://gentoo/${P}-idea.patch.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND=">=dev-libs/libgpg-error-1.8"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-uscore.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.5.0-x32.patch
|
||||
epatch "${FILESDIR}"/${PN}-multilib-syspath.patch
|
||||
epatch "${WORKDIR}"/${P}-idea.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# --disable-padlock-support for bug #201917
|
||||
# --disable-asm: http://trac.videolan.org/vlc/ticket/620
|
||||
econf \
|
||||
--disable-padlock-support \
|
||||
--disable-dependency-tracking \
|
||||
--enable-noexecstack \
|
||||
--disable-O-flag-munging \
|
||||
$(use_enable static-libs static) \
|
||||
$([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
use static-libs || find "${ED}" -name '*.la' -delete
|
||||
}
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.5.0-r4.ebuild,v 1.3 2013/02/20 22:58:31 zmedico Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="General purpose crypto library based on the code used in GnuPG"
|
||||
HOMEPAGE="http://www.gnupg.org/"
|
||||
SRC_URI="mirror://gnupg/libgcrypt/${P}.tar.bz2
|
||||
ftp://ftp.gnupg.org/gcrypt/${PN}/${P}.tar.bz2
|
||||
mirror://gentoo/${P}-idea.patch.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND=">=dev-libs/libgpg-error-1.8"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-uscore.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.5.0-x32.patch
|
||||
epatch "${FILESDIR}"/${PN}-multilib-syspath.patch
|
||||
epatch "${WORKDIR}"/${P}-idea.patch
|
||||
epatch "${FILESDIR}"/${P}-aesni.patch
|
||||
epatch_user
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# --disable-padlock-support for bug #201917
|
||||
# --disable-asm: http://trac.videolan.org/vlc/ticket/620
|
||||
# --disable-asm: causes bus-errors on sparc64-solaris
|
||||
econf \
|
||||
--disable-padlock-support \
|
||||
--disable-dependency-tracking \
|
||||
--enable-noexecstack \
|
||||
--disable-O-flag-munging \
|
||||
$(use_enable static-libs static) \
|
||||
$([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm") \
|
||||
$([[ ${CHOST} == sparcv9-*-solaris* ]] && echo "--disable-asm")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.5.0.ebuild,v 1.3 2012/05/21 18:52:09 xarthisius Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="General purpose crypto library based on the code used in GnuPG"
|
||||
HOMEPAGE="http://www.gnupg.org/"
|
||||
SRC_URI="mirror://gnupg/libgcrypt/${P}.tar.bz2
|
||||
ftp://ftp.gnupg.org/gcrypt/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND=">=dev-libs/libgpg-error-1.8"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-uscore.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# --disable-padlock-support for bug #201917
|
||||
econf \
|
||||
--disable-padlock-support \
|
||||
--disable-dependency-tracking \
|
||||
--with-pic \
|
||||
--enable-noexecstack \
|
||||
--disable-O-flag-munging \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc AUTHORS ChangeLog NEWS README* THANKS TODO || die "dodoc failed"
|
||||
}
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.5.1.ebuild,v 1.2 2013/04/25 19:23:12 radhermit Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="General purpose crypto library based on the code used in GnuPG"
|
||||
HOMEPAGE="http://www.gnupg.org/"
|
||||
SRC_URI="mirror://gnupg/libgcrypt/${P}.tar.bz2
|
||||
ftp://ftp.gnupg.org/gcrypt/${PN}/${P}.tar.bz2
|
||||
mirror://gentoo/${PN}-1.5.0-idea.patch.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1 MIT"
|
||||
SLOT="0/11" # subslot = soname major version
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND=">=dev-libs/libgpg-error-1.8"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.5.0-uscore.patch
|
||||
epatch "${FILESDIR}"/${PN}-multilib-syspath.patch
|
||||
epatch "${WORKDIR}"/${PN}-1.5.0-idea.patch
|
||||
|
||||
# bug 466938
|
||||
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac || die
|
||||
|
||||
epatch_user
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# --disable-padlock-support for bug #201917
|
||||
# --disable-asm: http://trac.videolan.org/vlc/ticket/620
|
||||
# --disable-asm: causes bus-errors on sparc64-solaris
|
||||
econf \
|
||||
--disable-padlock-support \
|
||||
--disable-dependency-tracking \
|
||||
--enable-noexecstack \
|
||||
--disable-O-flag-munging \
|
||||
$(use_enable static-libs static) \
|
||||
$([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm") \
|
||||
$([[ ${CHOST} == sparcv9-*-solaris* ]] && echo "--disable-asm")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.5.2-r1.ebuild,v 1.11 2013/08/06 13:08:07 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="General purpose crypto library based on the code used in GnuPG"
|
||||
HOMEPAGE="http://www.gnupg.org/"
|
||||
SRC_URI="mirror://gnupg/libgcrypt/${P}.tar.bz2
|
||||
ftp://ftp.gnupg.org/gcrypt/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1 MIT"
|
||||
SLOT="0/11" # subslot = soname major version
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND=">=dev-libs/libgpg-error-1.8"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.5.0-uscore.patch
|
||||
"${FILESDIR}"/${PN}-multilib-syspath.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-padlock-support # bug 201917
|
||||
--disable-dependency-tracking
|
||||
--enable-noexecstack
|
||||
--disable-O-flag-munging
|
||||
$(use_enable static-libs static)
|
||||
|
||||
# disabled due to various applications requiring privileges
|
||||
# after libgcrypt drops them (bug #468616)
|
||||
--without-capabilities
|
||||
|
||||
# http://trac.videolan.org/vlc/ticket/620
|
||||
# causes bus-errors on sparc64-solaris
|
||||
$([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm")
|
||||
$([[ ${CHOST} == sparcv9-*-solaris* ]] && echo "--disable-asm")
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
@ -1,7 +1,6 @@
|
||||
DIST gcl-2.6.7.tar.gz 8193901 SHA256 2aa134bc03f12ad03f40666ad00db78b8b9c195cf2cf0b3db4d176158f722c06 SHA512 6af54cebae121c482fd465214d3959041df447139eea6a6a3547a6fdddb28ff4c426fbf185f118085a179235e75a790f769bb4da167620c9db87f9b7a8670247 WHIRLPOOL 5470dc588a2cf5638db4c0a25e6a3b237feb7b29937468dc9da2f1e2eb3f7fab44e9708bf303f194b59f603d74806181beced3abbd67c29dd062ab1acbb6c082
|
||||
DIST gcl-2.6.8_pre20120805.tar.bz2 4350186 SHA256 61115c9e0bcda847b1ca58b9bcef629c6c1c55513c14b90b35b06b7ef7ef1a2f SHA512 5dc6c0083f9995f5387800fdeccfeb144b6887512bcc4b68e688d651182d811a2223f835b05b03dd1314886652d1d1adf76c87cdbdc5172b92cf8a4fc587044e WHIRLPOOL 01de8aad62d60de1ffd7b4ddb2d9c000d4d10cb4a58ea1659fa52f5b907e2a851b135005fc6b48fdf2f1a83a179d1e0f18158a1532dd48a0417bbc11968d3d63
|
||||
DIST gcl-2.6.10-fedora.tar.bz2 695718 SHA256 629da9f8288585d088017140da96de09d82a12ed0cf2f139f4fe9d9b5957ad96 SHA512 3e0ffaec859783443a8941a29302c7a17c9538ef2177d449ad34e24292c174de7bb8760a6d327e08f012773032f0d0a5230b79c7e4b4f5bad8354bf10a28af4c WHIRLPOOL 35dd9239ac27f99b98e8b1eb822f39e18b0ea1edcb991ff7b1b441408475148ac684a96ae2df6ea83e979297269c10520fdbdbf4f5b4377a26e7b071d6c26fd1
|
||||
DIST gcl-2.6.10.tar.gz 5490689 SHA256 79a1fb2f92b5e86f24988448db3e34116ab6ef7c93ad839848edd01ad06651ef SHA512 bbaacce712f15130550bcdf7e53edf4df9ab955e84ec701087034115df1c1e657d956853d5db85d7e88709981f9b7fd4c9df7acf6c8588a8ccf5f05e4e666aed WHIRLPOOL 8253507a02bd3adcf313e359fb346b19a2cc207c5a137b461addc117f00516cdd6ca28e0a7b5c0f3a48b72ba8f0bf2a3d6098297875db3281c0ef53ece474dfa
|
||||
DIST gcl-2.6.8_pre20130314.tar.bz2 4428151 SHA256 1aa08fe2d1aad5313daa8895f0986e5e19ddef58a865470b1d9fb6449caa6adf SHA512 909a9b0b73230c67ac06953162daa72b4cae8903e5adcc3c6863ff2306f89ad35d74ac645fdc0515eace53b9b6a635bbfc6b37cb4b8eac656fed5465247b3641 WHIRLPOOL 5d16c165f598c8aadc8659e9324c1d6bd60ba5eef56f7d9ff35c137a0d07ac6b0d813d664622b765ecae506ff52f9267237f6602c9ba83ead78ef7ec5e5f8df7
|
||||
DIST gcl.info.tgz 678468 SHA256 06e60fcc99b09ffb66364569d0331b1f2549804d5d09582c6e18fd27f29bcb57 SHA512 ebeb293f12db145e9a3a0802946314cd3e3bdeaefb53ca66ee69423417f7a93e3a84571d9f6c65f019ce09c93559d229da642feb722d193952f462402973bab8 WHIRLPOOL dd1ed04c312a995a6818d934220e025c80a12c05c01b8f2124d809157f0bd9d52db145021602736e4cdd3dde623098ef28b7eda5b9912819514397d5dd71a649
|
||||
DIST gcl_2.6.7-32.diff.gz 14463119 SHA256 5041b40bd96a0c73b70022831e6a697e00b64f572bca66d5a6c24978a879678e SHA512 aad44b6ee51a2598e86538905f3c00d253fbbf7c8f51452f2ece4ba060712f622a76814a2434e39d1585b5ea4b032a32c0601572dc737cd9b5852658897c2b6d WHIRLPOOL 6548733a982f2df96233e1542364902e4bdd739dba73d970bf70e9c9c78b3839cc9d83ede6653d5e686d421d80acf96e2e597a6790b95d2f2ae2b4818cf3bc1e
|
||||
DIST gcl_2.6.7-34.diff.gz 14493530 SHA256 f8b57b98348e8c8f303756dea1e02fd9ff6aa2d4308e4e7189ab6fab5f216e65 SHA512 5e96c9498c532cd095ae320db06f5accb1173dd4bade552e1a1b9eecf2f4848bf7064a3b7a77019eefc5cb58ea42082a5c8da2fad0eb8b150567b233fc4d2305 WHIRLPOOL 694860592a6504e4ed40e0f32a67d5d9cb0128a391ff3440b1196ff21a685faff5b55298168ac42089abf4f83f0fa4d950d98e984aa57a9795b171fac59061fa
|
||||
DIST gcl_2.6.7.orig.tar.gz 8193901 SHA256 2aa134bc03f12ad03f40666ad00db78b8b9c195cf2cf0b3db4d176158f722c06 SHA512 6af54cebae121c482fd465214d3959041df447139eea6a6a3547a6fdddb28ff4c426fbf185f118085a179235e75a790f769bb4da167620c9db87f9b7a8670247 WHIRLPOOL 5470dc588a2cf5638db4c0a25e6a3b237feb7b29937468dc9da2f1e2eb3f7fab44e9708bf303f194b59f603d74806181beced3abbd67c29dd062ab1acbb6c082
|
||||
|
@ -1,42 +0,0 @@
|
||||
diff -ur gcl-2.6.7.orig/configure.in gcl-2.6.7/configure.in
|
||||
--- gcl-2.6.7.orig/configure.in 2005-01-15 13:17:17.000000000 -0600
|
||||
+++ gcl-2.6.7/configure.in 2006-01-12 15:10:46.000000000 -0600
|
||||
@@ -526,26 +526,26 @@
|
||||
AC_CHECK_PROGS(MAKEINFO,makeinfo,"false")
|
||||
AC_SUBST(MAKEINFO)
|
||||
|
||||
-if test -f /usr/lib/NextStep/software_version; then
|
||||
- system=NEXTSTEP-`${AWK} '/3/,/3/' /usr/lib/NextStep/software_version`
|
||||
-else
|
||||
+dnl if test -f /usr/lib/NextStep/software_version; then
|
||||
+dnl system=NEXTSTEP-`${AWK} '/3/,/3/' /usr/lib/NextStep/software_version`
|
||||
+dnl else
|
||||
system=`uname -s`-`uname -r`
|
||||
if test "$?" -ne 0 ; then
|
||||
AC_MSG_RESULT([unknown (can't find uname command)])
|
||||
system=unknown
|
||||
else
|
||||
- # Special check for weird MP-RAS system (uname returns weird
|
||||
- # results, and the version is kept in special file).
|
||||
+dnl # Special check for weird MP-RAS system (uname returns weird
|
||||
+dnl # results, and the version is kept in special file).
|
||||
|
||||
- if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then
|
||||
- system=MP-RAS-`${AWK} '{print $3}' /etc/.relid'`
|
||||
- fi
|
||||
- if test "`uname -s`" = "AIX" ; then
|
||||
- system=AIX-`uname -v`.`uname -r`
|
||||
- fi
|
||||
+dnl if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then
|
||||
+dnl system=MP-RAS-`${AWK} '{print $3}' /etc/.relid'`
|
||||
+dnl fi
|
||||
+dnl if test "`uname -s`" = "AIX" ; then
|
||||
+dnl system=AIX-`uname -v`.`uname -r`
|
||||
+dnl fi
|
||||
AC_MSG_RESULT($system)
|
||||
fi
|
||||
-fi
|
||||
+dnl fi
|
||||
|
||||
# sysconf
|
||||
|
@ -0,0 +1,5 @@
|
||||
;; site-init for dev-lisp/gcl
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(autoload 'run "gcl" "Run GCL." t)
|
||||
(autoload 'gcl-mode "gcl" "GCL mode." t)
|
||||
(autoload 'dbl "dbl" "GCL debugger." t)
|
@ -1,50 +0,0 @@
|
||||
diff -Naur gcl-2.6.7.orig/configure.in gcl-2.6.7/configure.in
|
||||
--- gcl-2.6.7.orig/configure.in 2005-01-15 20:17:17.000000000 +0100
|
||||
+++ gcl-2.6.7/configure.in 2007-02-13 20:40:40.000000000 +0100
|
||||
@@ -788,9 +788,9 @@
|
||||
int main() {symbol_info t; return 0;}],
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_DEFINE(NEED_CONST),
|
||||
- AC_MSG_RESULT(cannot use bfd) exit 1;,
|
||||
- AC_MSG_RESULT(cannot use bfd) exit 1;),
|
||||
- AC_MSG_RESULT(cannot use bfd) exit 1;)
|
||||
+ AC_MSG_RESULT(cannot use bfd); exit 1;,
|
||||
+ AC_MSG_RESULT(cannot use bfd); exit 1;),
|
||||
+ AC_MSG_RESULT(cannot use bfd); exit 1;)
|
||||
,,-liberty))
|
||||
|
||||
AC_DEFINE(HAVE_LIBBFD)
|
||||
@@ -1252,8 +1252,14 @@
|
||||
return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1;
|
||||
}],
|
||||
AC_DEFINE(HAVE_IEEEFP) AC_MSG_RESULT(yes),
|
||||
- HAVE_IEEEFP=0 AC_MSG_RESULT(no),HAVE_IEEEFP=0 AC_MSG_RESULT(no))
|
||||
- ,HAVE_ISNORMAL=0 AC_MSG_RESULT(no),HAVE_ISNORMAL=0 AC_MSG_RESULT(no))
|
||||
+ HAVE_IEEEFP=0
|
||||
+ AC_MSG_RESULT(no),
|
||||
+ HAVE_IEEEFP=0
|
||||
+ AC_MSG_RESULT(no)),
|
||||
+ HAVE_ISNORMAL=0
|
||||
+ AC_MSG_RESULT(no),
|
||||
+ HAVE_ISNORMAL=0
|
||||
+ AC_MSG_RESULT(no))
|
||||
|
||||
AC_MSG_CHECKING([for isfinite])
|
||||
AC_TRY_RUN([#define _GNU_SOURCE
|
||||
@@ -1271,8 +1277,14 @@
|
||||
return finite(f) || !finite(f) ? 0 : 1;
|
||||
}],
|
||||
AC_DEFINE(HAVE_FINITE) AC_MSG_RESULT(yes),
|
||||
- HAVE_FINITE=0 AC_MSG_RESULT(no),HAVE_FINITE=0 AC_MSG_RESULT(no))
|
||||
- ,HAVE_ISFINITE=0 AC_MSG_RESULT(no),HAVE_ISFINITE=0 AC_MSG_RESULT(no))
|
||||
+ HAVE_FINITE=0
|
||||
+ AC_MSG_RESULT(no),
|
||||
+ HAVE_FINITE=0
|
||||
+ AC_MSG_RESULT(no))
|
||||
+ ,HAVE_ISFINITE=0
|
||||
+ AC_MSG_RESULT(no),
|
||||
+ HAVE_ISFINITE=0
|
||||
+ AC_MSG_RESULT(no))
|
||||
|
||||
|
||||
|
@ -1,33 +0,0 @@
|
||||
diff -r -U2 gcl-2.6.8_pre20090419.orig/configure gcl-2.6.8_pre20090419/configure
|
||||
--- gcl-2.6.8_pre20090419.orig/configure 2009-02-24 04:12:22.000000000 +0100
|
||||
+++ gcl-2.6.8_pre20090419/configure 2009-04-20 01:26:40.000000000 +0200
|
||||
@@ -118,4 +118,14 @@
|
||||
mandir='${prefix}/man'
|
||||
|
||||
+# NLS nuisances.
|
||||
+# Only set these to C if already set. These must not be set unconditionally
|
||||
+# because not all systems understand e.g. LANG=C (notably SCO).
|
||||
+# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
|
||||
+# Non-C LC_CTYPE values break the ctype check.
|
||||
+if test "${LANG+set}" = set; then LANG=C; export LANG; fi
|
||||
+if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
|
||||
+if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
|
||||
+if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
|
||||
+
|
||||
# Initialize some other variables.
|
||||
subdirs=
|
||||
@@ -506,14 +516,4 @@
|
||||
done
|
||||
|
||||
-# NLS nuisances.
|
||||
-# Only set these to C if already set. These must not be set unconditionally
|
||||
-# because not all systems understand e.g. LANG=C (notably SCO).
|
||||
-# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
|
||||
-# Non-C LC_CTYPE values break the ctype check.
|
||||
-if test "${LANG+set}" = set; then LANG=C; export LANG; fi
|
||||
-if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
|
||||
-if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
|
||||
-if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
|
||||
-
|
||||
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
||||
rm -rf conftest* confdefs.h
|
@ -1,15 +0,0 @@
|
||||
--- configure~ 2011-06-20 22:41:48.000000000 +0700
|
||||
+++ configure 2011-12-21 16:15:49.000000000 +0700
|
||||
@@ -7359,8 +7359,2 @@
|
||||
$as_echo_n "checking emacs default.el... " >&6; }
|
||||
-if [ "$EMACS" != "" ] ; then
|
||||
- EMACS_DEFAULT_EL=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d `
|
||||
-else
|
||||
- EMACS_DEFAULT_EL=""
|
||||
-fi
|
||||
-if test -f "${EMACS_DEFAULT_EL}" ; then true;else
|
||||
if test -d $EMACS_SITE_LISP ; then
|
||||
@@ -7368,3 +7362,2 @@
|
||||
fi
|
||||
-fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $EMACS_DEFAULT_EL" >&5
|
@ -0,0 +1,68 @@
|
||||
diff -r -U2 gcl.orig/gcl-tk/tkMain.c gcl/gcl-tk/tkMain.c
|
||||
--- gcl.orig/gcl-tk/tkMain.c 2013-11-11 21:55:48.000000000 +0700
|
||||
+++ gcl/gcl-tk/tkMain.c 2014-02-05 00:09:38.821981358 +0700
|
||||
@@ -122,5 +122,5 @@
|
||||
char *x;
|
||||
{char buf[300] ;
|
||||
- sprintf("error %s",x);
|
||||
+ snprintf(buf,300,"error %s",x);
|
||||
Tcl_Eval(interp,buf);
|
||||
dfprintf(stderr,x);
|
||||
@@ -207,5 +207,5 @@
|
||||
if (Tk_ParseArgv(interp, (Tk_Window) NULL, &argc, (const char **)argv, argTable, 0)
|
||||
!= TCL_OK) {
|
||||
- fprintf(stderr, "%s\n", interp->result);
|
||||
+ fprintf(stderr, "%s\n", Tcl_GetStringResult(interp));
|
||||
exit(1);
|
||||
}
|
||||
@@ -291,5 +291,5 @@
|
||||
|
||||
if (Tcl_AppInit(interp) != TCL_OK) {
|
||||
- fprintf(stderr, "Tcl_AppInit failed: %s\n", interp->result);
|
||||
+ fprintf(stderr, "Tcl_AppInit failed: %s\n", Tcl_GetStringResult(interp));
|
||||
}
|
||||
|
||||
@@ -301,5 +301,5 @@
|
||||
code = Tcl_VarEval(interp, "wm geometry . ", geometry, (char *) NULL);
|
||||
if (code != TCL_OK) {
|
||||
- fprintf(stderr, "%s\n", interp->result);
|
||||
+ fprintf(stderr, "%s\n", Tcl_GetStringResult(interp));
|
||||
}
|
||||
}
|
||||
@@ -331,5 +331,5 @@
|
||||
fullName = Tcl_TildeSubst(interp, tcl_RcFileName, &buffer);
|
||||
if (fullName == NULL) {
|
||||
- fprintf(stderr, "%s\n", interp->result);
|
||||
+ fprintf(stderr, "%s\n", Tcl_GetStringResult(interp));
|
||||
} else {
|
||||
f = fopen(fullName, "r");
|
||||
@@ -337,5 +337,5 @@
|
||||
code = Tcl_EvalFile(interp, fullName);
|
||||
if (code != TCL_OK) {
|
||||
- fprintf(stderr, "%s\n", interp->result);
|
||||
+ fprintf(stderr, "%s\n", Tcl_GetStringResult(interp));
|
||||
}
|
||||
fclose(f);
|
||||
@@ -372,5 +372,5 @@
|
||||
msg = Tcl_GetVar(interp, "errorInfo", TCL_GLOBAL_ONLY);
|
||||
if (msg == NULL) {
|
||||
- msg = interp->result;
|
||||
+ msg = Tcl_GetStringResult(interp);
|
||||
}
|
||||
dfprintf(stderr, "%s\n", msg);
|
||||
@@ -497,12 +497,11 @@
|
||||
{
|
||||
char buf[4];
|
||||
- char *p = buf;
|
||||
+ char *p = buf, *string;
|
||||
/*header */
|
||||
*p++ = (code ? '1' : '0');
|
||||
bcopy(msg->msg_id,p,3);
|
||||
/* end header */
|
||||
- if(sock_write_str2(dsfd, m_reply, buf, 4 ,
|
||||
- interp->result, strlen(interp->result))
|
||||
- < 0)
|
||||
+ string = Tcl_GetStringResult(interp);
|
||||
+ if(sock_write_str2(dsfd, m_reply, buf, 4, string, strlen(string)) < 0)
|
||||
{ /* what do we want to do if the write failed */}
|
||||
|
@ -0,0 +1,151 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gcl/gcl-2.6.10.ebuild,v 1.1 2014/02/04 16:24:08 grozin Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit elisp-common eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="GNU Common Lisp"
|
||||
HOMEPAGE="http://www.gnu.org/software/gcl/gcl.html"
|
||||
SRC_URI="ftp://ftp.gnu.org/gnu/gcl/${P}.tar.gz http://dev.gentoo.org/~grozin/${P}-fedora.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+ansi athena emacs +readline tk X"
|
||||
|
||||
# See bug #205803
|
||||
RESTRICT="strip"
|
||||
|
||||
RDEPEND="emacs? ( virtual/emacs )
|
||||
readline? ( sys-libs/readline )
|
||||
athena? ( x11-libs/libXaw )
|
||||
>=dev-libs/gmp-4.1
|
||||
tk? ( dev-lang/tk )
|
||||
X? ( x11-libs/libXt x11-libs/libXext x11-libs/libXmu x11-libs/libXaw )
|
||||
virtual/latex-base"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/texi2dvi
|
||||
>=app-text/texi2html-1.64
|
||||
>=sys-devel/autoconf-2.52"
|
||||
|
||||
S="${WORKDIR}"/${PN}
|
||||
|
||||
src_prepare() {
|
||||
mv "${WORKDIR}"/fedora/info/* info/
|
||||
cp -p /usr/share/texmf-dist/tex/texinfo/texinfo.tex info/
|
||||
find . -type f -perm /0111 | xargs chmod a-x
|
||||
chmod a+x add-defs add-defs1 config.guess config.sub configure install.sh
|
||||
chmod a+x bin/info bin/info1 gcl-tk/gcltksrv.in gcl-tk/ngcltksrv mp/gcclab
|
||||
chmod a+x o/egrep-def utils/replace xbin/*
|
||||
|
||||
# fedora patches
|
||||
epatch "${WORKDIR}"/fedora/fd-leak.patch
|
||||
epatch "${WORKDIR}"/fedora/latex.patch
|
||||
epatch "${WORKDIR}"/fedora/texinfo.patch
|
||||
epatch "${WORKDIR}"/fedora/elisp.patch
|
||||
epatch "${WORKDIR}"/fedora/rename.patch
|
||||
epatch "${WORKDIR}"/fedora/getcwd.patch
|
||||
epatch "${WORKDIR}"/fedora/infrastructure.patch
|
||||
epatch "${WORKDIR}"/fedora/extension.patch
|
||||
epatch "${WORKDIR}"/fedora/unrandomize.patch
|
||||
epatch "${WORKDIR}"/fedora/asm-signal-h.patch
|
||||
epatch "${WORKDIR}"/fedora/plt.patch
|
||||
epatch "${WORKDIR}"/fedora/ellipsis.patch
|
||||
epatch "${WORKDIR}"/fedora/man.patch
|
||||
epatch "${WORKDIR}"/fedora/reloc-type.patch
|
||||
epatch "${WORKDIR}"/fedora/largefile.patch
|
||||
|
||||
epatch "${FILESDIR}"/tcl.patch
|
||||
|
||||
sed -e 's|"-fomit-frame-pointer"|""|' -i configure
|
||||
sed -e 's|@EXT@||g' debian/in.gcl.1 > gcl.1
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
strip-flags
|
||||
filter-flags -fstack-protector -fstack-protector-all
|
||||
|
||||
local tcl=""
|
||||
if use tk; then
|
||||
tcl="--enable-tclconfig=/usr/lib --enable-tkconfig=/usr/lib"
|
||||
fi
|
||||
|
||||
econf --enable-dynsysgmp \
|
||||
--disable-xdr \
|
||||
--enable-emacsdir=/usr/share/emacs/site-lisp/gcl \
|
||||
--enable-infodir=/usr/share/info \
|
||||
$(use_enable readline) \
|
||||
$(use_enable ansi) \
|
||||
$(use_enable athena xgcl) \
|
||||
$(use_with X x) \
|
||||
${tcl}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
emake -C info gcl.info
|
||||
if use athena; then
|
||||
pushd xgcl-2 > /dev/null
|
||||
pdflatex dwdoc.tex
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local make_ansi_tests_clean="rm -f test.out *.fasl *.o *.so *~ *.fn *.x86f *.fasl *.ufsl"
|
||||
if use ansi; then
|
||||
cd ansi-tests
|
||||
|
||||
( make clean && make test-unixport ) \
|
||||
|| die "make ansi-tests failed!"
|
||||
|
||||
cat "${FILESDIR}/bootstrap-gcl" \
|
||||
| ../unixport/saved_ansi_gcl
|
||||
|
||||
cat "${FILESDIR}/bootstrap-gcl" \
|
||||
|sed s/bootstrapped_ansi_gcl/bootstrapped_r_ansi_gcl/g \
|
||||
| ./bootstrapped_ansi_gcl
|
||||
|
||||
( ${make_ansi_tests_clean} && \
|
||||
echo "(load \"gclload.lsp\")" \
|
||||
| ./bootstrapped_r_ansi_gcl ) \
|
||||
|| die "Phase 2, bootstraped compiler failed in tests"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
mv "${D}"usr/share/doc/*.dvi .
|
||||
rm -rf "${D}"usr/share/doc
|
||||
rm -rf "${D}"usr/share/emacs
|
||||
rm -rf "${D}"usr/lib/gcl-*/info
|
||||
|
||||
rm doc/makefile elisp/add-defaults.el
|
||||
dodoc readme* RELEASE* ChangeLog* doc/*
|
||||
doman gcl.1
|
||||
doinfo info/*.info*
|
||||
dohtml -r info/gcl-si info/gcl-tk
|
||||
|
||||
if use emacs; then
|
||||
elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
|
||||
elisp-install ${PN} elisp/*.el
|
||||
fi
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins *.dvi
|
||||
if use athena; then
|
||||
pushd xgcl-2 > /dev/null
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins *.pdf
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1,175 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gcl/gcl-2.6.7-r1.ebuild,v 1.8 2012/06/07 18:59:25 zmedico Exp $
|
||||
|
||||
inherit elisp-common eutils flag-o-matic autotools
|
||||
|
||||
DESCRIPTION="GNU Common Lisp"
|
||||
HOMEPAGE="http://www.gnu.org/software/gcl/gcl.html"
|
||||
SRC_URI="ftp://ftp.gnu.org/gnu/gcl/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~ppc ~amd64 ~sparc"
|
||||
IUSE="emacs readline debug X tk custreloc dlopen gprof doc ansi"
|
||||
|
||||
RDEPEND="emacs? ( virtual/emacs )
|
||||
readline? ( sys-libs/readline )
|
||||
>=dev-libs/gmp-4.1
|
||||
tk? ( dev-lang/tk )
|
||||
X? ( x11-libs/libXt x11-libs/libXext x11-libs/libXmu x11-libs/libXaw )"
|
||||
|
||||
DEPEND="$RDEPEND
|
||||
doc? ( virtual/texi2dvi )
|
||||
>=app-text/texi2html-1.64
|
||||
>=sys-devel/autoconf-2.52"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
sed -e "s/gcl-doc/${PF}/g" "${S}"/info/makefile > "${T}"/makefile
|
||||
mv "${T}"/makefile "${S}"/info/makefile
|
||||
epatch "${FILESDIR}"/${PV}-fix-configure.in-gentoo.patch
|
||||
|
||||
eautoconf || die
|
||||
epatch "${FILESDIR}"/flex-configure-LANG.patch # see Bug #122583
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export SANDBOX_ON=0
|
||||
local myconfig=""
|
||||
|
||||
# Hardened gcc may automatically use PIE building, which does not
|
||||
# work for this package so far
|
||||
|
||||
filter-flags "-fPIC"
|
||||
|
||||
# -fomit-frame-pointer cannot be used with gprof
|
||||
|
||||
if use gprof; then
|
||||
filter-flags "-fomit-frame-pointer"
|
||||
fi
|
||||
|
||||
# Unfortunately, we need to override any relocation choices below
|
||||
# while upstream doesn't work with system BFD. SuSE has the same
|
||||
# problem apparently.
|
||||
|
||||
if false; then
|
||||
|
||||
# Linking options are enumerated at
|
||||
# http://www.gnu.org/software/gcl/RELEASE-2.6.2.html
|
||||
|
||||
local dlopen_config="
|
||||
--disable-custreloc
|
||||
--enable-dlopen
|
||||
--disable-dynsysbfd
|
||||
--disable-statsysbfd";
|
||||
|
||||
local bfd_config="
|
||||
--disable-custreloc
|
||||
--disable-dlopen
|
||||
--enable-dynsysbfd
|
||||
--disable-statsysbfd";
|
||||
|
||||
local custreloc_config="
|
||||
--enable-custreloc
|
||||
--disable-dlopen
|
||||
--disable-dynsysbfd
|
||||
--disable-statsysbfd";
|
||||
|
||||
if use custreloc; then
|
||||
case "${ARCH}" in
|
||||
x86 | sparc)
|
||||
myconfig="${myconfig} ${custreloc_config}";;
|
||||
*)
|
||||
ewarn "--enable-custreloc is not supported on your architecture (${ARCH})."
|
||||
ewarn "Using --enable-dlopen instead."
|
||||
myconfig="${myconfig} ${dlopen_config}"
|
||||
|
||||
esac
|
||||
elif use dlopen; then
|
||||
myconfig="${myconfig} ${dlopen_config}"
|
||||
else
|
||||
case "${ARCH}" in
|
||||
x86 | sparc | ppc | amd64 | s390)
|
||||
myconfig="${myconfig} ${bfd_config}";;
|
||||
*)
|
||||
ewarn "BFD is not supported on your architecture (${ARCH})."
|
||||
ewarn "Using --enable-dlopen instead."
|
||||
myconfig="${myconfig} ${dlopen_config}";;
|
||||
esac
|
||||
fi
|
||||
|
||||
else
|
||||
myconfig="${myconfig} --enable-locbfd --disable-dynsysbfd --disable-statsysbfd"
|
||||
fi
|
||||
|
||||
if use tk; then
|
||||
myconfig="${myconfig}
|
||||
--enable-tkconfig=/usr/lib
|
||||
--enable-tclconfig=/usr/lib"
|
||||
fi
|
||||
|
||||
myconfig="${myconfig}
|
||||
--enable-dynsysgmp
|
||||
`use_enable readline readline`
|
||||
`use_with X x`
|
||||
`use_enable debug debug`
|
||||
`use_enable gprof gprof`
|
||||
`use_enable ansi ansi`
|
||||
--enable-xdr=no
|
||||
--enable-infodir=/usr/share/info
|
||||
--enable-emacsdir=/usr/share/emacs/site-lisp/gcl"
|
||||
|
||||
einfo "Configuring with the following:
|
||||
${myconfig}"
|
||||
econf ${myconfig} || die
|
||||
make || die
|
||||
|
||||
sed -e 's,@EXT@,,g' debian/in.gcl.1 >gcl.1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export SANDBOX_ON=0
|
||||
make DESTDIR="${D}" install || die
|
||||
|
||||
rm -rf "${D}"/usr/lib/${P}/info
|
||||
mv "${D}"/default.el elisp/
|
||||
|
||||
if use emacs; then
|
||||
mv elisp/add-default.el "${T}"/50gcl-gentoo.el
|
||||
elisp-site-file-install "${T}"/50gcl-gentoo.el
|
||||
elisp-install ${PN} elisp/*
|
||||
fperms 0644 /usr/share/emacs/site-lisp/gcl/*
|
||||
else
|
||||
rm -rf "${D}"/usr/share/emacs
|
||||
fi
|
||||
|
||||
dosed /usr/bin/gcl
|
||||
fperms 0755 /usr/bin/gcl
|
||||
|
||||
# fix the GCL_TK_DIR=/var/tmp/portage/${P}/image//
|
||||
dosed /usr/lib/${P}/gcl-tk/gcltksrv
|
||||
fperms 0755 /usr/lib/${P}/gcl-tk/gcltksrv
|
||||
|
||||
#repair gcl.exe symlink
|
||||
#rm ${D}/usr/bin/gcl.exe
|
||||
dosym ../lib/${P}/unixport/saved_gcl /usr/bin/gcl.exe
|
||||
|
||||
dodoc readme* RELEASE* ChangeLog* doc/*
|
||||
|
||||
for i in "${D}"/usr/share/doc/gcl-{tk,si}; do
|
||||
mv $i "${D}"/usr/share/doc/${PF}
|
||||
done
|
||||
|
||||
doman gcl.1
|
||||
|
||||
find "${D}"/usr/lib/gcl-${PV}/ -type f \( -perm 640 -o -perm 750 \) -exec chmod 0644 '{}' \;
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1,112 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gcl/gcl-2.6.7-r2.ebuild,v 1.11 2012/06/07 18:59:25 zmedico Exp $
|
||||
|
||||
inherit elisp-common eutils flag-o-matic
|
||||
|
||||
DEB_PV=32
|
||||
|
||||
DESCRIPTION="GNU Common Lisp"
|
||||
HOMEPAGE="http://www.gnu.org/software/gcl/gcl.html"
|
||||
SRC_URI="mirror://debian/pool/main/g/gcl/gcl_${PV}.orig.tar.gz
|
||||
mirror://debian/pool/main/g/gcl/gcl_${PV}-${DEB_PV}.diff.gz
|
||||
mirror://gnu/gcl/${PN}.info.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~ppc ~amd64 ~sparc"
|
||||
IUSE="emacs readline debug X tk doc ansi"
|
||||
|
||||
RDEPEND="emacs? ( virtual/emacs )
|
||||
readline? ( sys-libs/readline )
|
||||
>=dev-libs/gmp-4.1
|
||||
tk? ( dev-lang/tk )
|
||||
X? ( x11-libs/libXt x11-libs/libXext x11-libs/libXmu x11-libs/libXaw )
|
||||
virtual/latex-base" # pdflatex (see Bug # 157903)
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( virtual/texi2dvi )
|
||||
>=app-text/texi2html-1.64
|
||||
>=sys-devel/autoconf-2.52"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch ../gcl_${PV}-${DEB_PV}.diff
|
||||
epatch "${FILESDIR}"/flex-configure-LANG.patch
|
||||
sed -ie "s/gcl-doc/${PF}/g" "${S}"/info/makefile
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export SANDBOX_ON=0
|
||||
local myconfig=""
|
||||
# Hardened gcc may automatically use PIE building, which does not
|
||||
# work for this package so far
|
||||
filter-flags "-fPIC"
|
||||
if use tk; then
|
||||
myconfig="${myconfig} --enable-tkconfig=/usr/lib --enable-tclconfig=/usr/lib"
|
||||
fi
|
||||
myconfig="${myconfig}
|
||||
--enable-locbfd
|
||||
--disable-dynsysbfd
|
||||
--disable-statsysbfd
|
||||
--enable-dynsysgmp
|
||||
$(use_enable readline readline)
|
||||
$(use_with X x)
|
||||
$(use_enable debug debug)
|
||||
$(use_enable ansi ansi)
|
||||
--enable-xdr=no
|
||||
--enable-infodir=/usr/share/info
|
||||
--enable-emacsdir=/usr/share/emacs/site-lisp/gcl"
|
||||
einfo "Configuring with the following:
|
||||
${myconfig}"
|
||||
econf ${myconfig}
|
||||
make || die "make failed"
|
||||
sed -e 's,@EXT@,,g' debian/in.gcl.1 >gcl.1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export SANDBOX_ON=0
|
||||
make DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
rm -rf "${D}"/usr/lib/${P}/info
|
||||
mv "${D}"/default.el elisp/
|
||||
|
||||
if use emacs; then
|
||||
mv elisp/add-default.el "${T}"/50gcl-gentoo.el
|
||||
elisp-site-file-install "${T}"/50gcl-gentoo.el
|
||||
elisp-install ${PN} elisp/*
|
||||
fperms 0644 /usr/share/emacs/site-lisp/gcl/*
|
||||
else
|
||||
rm -rf "${D}"/usr/share/emacs
|
||||
fi
|
||||
|
||||
dosed /usr/bin/gcl
|
||||
fperms 0755 /usr/bin/gcl
|
||||
|
||||
# fix the GCL_TK_DIR=/var/tmp/portage/${P}/image//
|
||||
dosed /usr/lib/${P}/gcl-tk/gcltksrv
|
||||
fperms 0755 /usr/lib/${P}/gcl-tk/gcltksrv
|
||||
|
||||
#repair gcl.exe symlink
|
||||
#rm ${D}/usr/bin/gcl.exe
|
||||
dosym ../lib/${P}/unixport/saved_gcl /usr/bin/gcl.exe
|
||||
|
||||
dodoc readme* RELEASE* ChangeLog* doc/*
|
||||
|
||||
for i in "${D}"/usr/share/doc/gcl-{tk,si}; do
|
||||
mv $i "${D}"/usr/share/doc/${PF}
|
||||
done
|
||||
|
||||
doman gcl.1
|
||||
doinfo info/*.info*
|
||||
|
||||
find "${D}"/usr/lib/gcl-${PV}/ -type f \( -perm 640 -o -perm 750 \) -exec chmod 0644 '{}' \;
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1,171 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gcl/gcl-2.6.7.ebuild,v 1.13 2012/06/07 18:59:25 zmedico Exp $
|
||||
|
||||
inherit elisp-common eutils flag-o-matic autotools
|
||||
|
||||
DESCRIPTION="GNU Common Lisp"
|
||||
HOMEPAGE="http://www.gnu.org/software/gcl/gcl.html"
|
||||
SRC_URI="ftp://ftp.gnu.org/gnu/gcl/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="x86 ~ppc amd64 sparc"
|
||||
IUSE="emacs readline debug X tk custreloc dlopen gprof doc ansi"
|
||||
|
||||
RDEPEND="emacs? ( virtual/emacs )
|
||||
X? ( x11-libs/libXt x11-libs/libXext x11-libs/libXmu x11-libs/libXaw )
|
||||
readline? ( sys-libs/readline )
|
||||
>=dev-libs/gmp-4.1
|
||||
tk? ( dev-lang/tk )"
|
||||
|
||||
DEPEND="$RDEPEND
|
||||
doc? ( virtual/texi2dvi )
|
||||
>=app-text/texi2html-1.64
|
||||
>=sys-devel/autoconf-2.52"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
sed -e "s/gcl-doc/${PF}/g" "${S}"/info/makefile > "${T}"/makefile
|
||||
mv "${T}"/makefile "${S}"/info/makefile
|
||||
epatch "${FILESDIR}"/${PV}-fix-configure.in-gentoo.patch
|
||||
epatch "${FILESDIR}"/${P}-fix-configure.in-bfd.patch
|
||||
|
||||
eautoconf || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export SANDBOX_ON=0
|
||||
local myconfig=""
|
||||
|
||||
# Hardened gcc may automatically use PIE building, which does not
|
||||
# work for this package so far
|
||||
|
||||
filter-flags "-fPIC"
|
||||
|
||||
# -fomit-frame-pointer cannot be used with gprof
|
||||
|
||||
if use gprof; then
|
||||
filter-flags "-fomit-frame-pointer"
|
||||
fi
|
||||
|
||||
# Unfortunately, we need to override any relocation choices below
|
||||
# while upstream doesn't work with system BFD. SuSE has the same
|
||||
# problem apparently.
|
||||
|
||||
if false; then
|
||||
|
||||
# Linking options are enumerated at
|
||||
# http://www.gnu.org/software/gcl/RELEASE-2.6.2.html
|
||||
|
||||
local dlopen_config="
|
||||
--disable-custreloc
|
||||
--enable-dlopen
|
||||
--disable-dynsysbfd
|
||||
--disable-statsysbfd";
|
||||
|
||||
local bfd_config="
|
||||
--disable-custreloc
|
||||
--disable-dlopen
|
||||
--enable-dynsysbfd
|
||||
--disable-statsysbfd";
|
||||
|
||||
local custreloc_config="
|
||||
--enable-custreloc
|
||||
--disable-dlopen
|
||||
--disable-dynsysbfd
|
||||
--disable-statsysbfd";
|
||||
|
||||
if use custreloc; then
|
||||
case "${ARCH}" in
|
||||
x86 | sparc)
|
||||
myconfig="${myconfig} ${custreloc_config}";;
|
||||
*)
|
||||
ewarn "--enable-custreloc is not supported on your architecture (${ARCH})."
|
||||
ewarn "Using --enable-dlopen instead."
|
||||
myconfig="${myconfig} ${dlopen_config}"
|
||||
|
||||
esac
|
||||
elif use dlopen; then
|
||||
myconfig="${myconfig} ${dlopen_config}"
|
||||
else
|
||||
case "${ARCH}" in
|
||||
x86 | sparc | ppc | amd64 | s390)
|
||||
myconfig="${myconfig} ${bfd_config}";;
|
||||
*)
|
||||
ewarn "BFD is not supported on your architecture (${ARCH})."
|
||||
ewarn "Using --enable-dlopen instead."
|
||||
myconfig="${myconfig} ${dlopen_config}";;
|
||||
esac
|
||||
fi
|
||||
|
||||
else
|
||||
myconfig="${myconfig} --enable-locbfd --disable-dynsysbfd --disable-statsysbfd"
|
||||
fi
|
||||
|
||||
if use tk; then
|
||||
myconfig="${myconfig}
|
||||
--enable-tkconfig=/usr/lib
|
||||
--enable-tclconfig=/usr/lib"
|
||||
fi
|
||||
|
||||
myconfig="${myconfig}
|
||||
--enable-dynsysgmp
|
||||
`use_enable readline readline`
|
||||
`use_with X x`
|
||||
`use_enable debug debug`
|
||||
`use_enable gprof gprof`
|
||||
`use_enable ansi ansi`
|
||||
--enable-xdr=no
|
||||
--enable-infodir=/usr/share/info
|
||||
--enable-emacsdir=/usr/share/emacs/site-lisp/gcl"
|
||||
|
||||
einfo "Configuring with the following:
|
||||
${myconfig}"
|
||||
econf ${myconfig} || die
|
||||
make || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export SANDBOX_ON=0
|
||||
make DESTDIR="${D}" install || die
|
||||
|
||||
rm -rf "${D}"/usr/lib/${P}/info
|
||||
mv "${D}"/default.el elisp/
|
||||
|
||||
if use emacs; then
|
||||
mv elisp/add-default.el "${T}"/50gcl-gentoo.el
|
||||
elisp-site-file-install "${T}"/50gcl-gentoo.el
|
||||
elisp-install ${PN} elisp/*
|
||||
fperms 0644 /usr/share/emacs/site-lisp/gcl/*
|
||||
else
|
||||
rm -rf "${D}"/usr/share/emacs
|
||||
fi
|
||||
|
||||
dosed /usr/bin/gcl
|
||||
fperms 0755 /usr/bin/gcl
|
||||
|
||||
# fix the GCL_TK_DIR=/var/tmp/portage/${P}/image//
|
||||
dosed /usr/lib/${P}/gcl-tk/gcltksrv
|
||||
fperms 0755 /usr/lib/${P}/gcl-tk/gcltksrv
|
||||
|
||||
#repair gcl.exe symlink
|
||||
#rm ${D}/usr/bin/gcl.exe
|
||||
dosym ../lib/${P}/unixport/saved_gcl /usr/bin/gcl.exe
|
||||
|
||||
dodoc readme* RELEASE* ChangeLog* doc/*
|
||||
|
||||
for i in "${D}"/usr/share/doc/gcl-{tk,si}; do
|
||||
mv $i "${D}"/usr/share/doc/${PF}
|
||||
done
|
||||
|
||||
find "${D}"/usr/lib/gcl-${PV}/ -type f \( -perm 640 -o -perm 750 \) -exec chmod 0644 '{}' \;
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1,137 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gcl/gcl-2.6.8_pre20120805.ebuild,v 1.2 2012/11/09 07:09:31 grozin Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
#removing flag-o-matic results in make install failing due to a segfault
|
||||
inherit elisp-common eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="GNU Common Lisp"
|
||||
HOMEPAGE="http://www.gnu.org/software/gcl/gcl.html"
|
||||
SRC_URI="http://dev.gentoo.org/~grozin/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+ansi debug doc emacs +readline tk X"
|
||||
|
||||
# See bug #205803
|
||||
RESTRICT="strip"
|
||||
|
||||
RDEPEND="emacs? ( virtual/emacs )
|
||||
readline? ( sys-libs/readline )
|
||||
>=dev-libs/gmp-4.1
|
||||
tk? ( dev-lang/tk )
|
||||
X? ( x11-libs/libXt x11-libs/libXext x11-libs/libXmu x11-libs/libXaw )
|
||||
virtual/latex-base"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( virtual/texi2dvi )
|
||||
>=app-text/texi2html-1.64
|
||||
>=sys-devel/autoconf-2.52"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-default-el.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconfig=""
|
||||
if use tk; then
|
||||
myconfig="${myconfig} --enable-tkconfig=/usr/lib --enable-tclconfig=/usr/lib"
|
||||
fi
|
||||
myconfig="${myconfig} \
|
||||
--enable-emacsdir=/usr/share/emacs/site-lisp/gcl \
|
||||
--enable-dynsysgmp \
|
||||
--disable-xdr
|
||||
$(use_enable readline) \
|
||||
$(use_with X x) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable ansi)"
|
||||
|
||||
einfo "Configuring with the following:
|
||||
${myconfig}"
|
||||
econf ${myconfig}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make || die "make failed"
|
||||
sed -e 's,@EXT@,,g' debian/in.gcl.1 >gcl.1
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local make_ansi_tests_clean="rm -f test.out *.fasl *.o \
|
||||
*.so *~ *.fn *.x86f *.fasl *.ufsl"
|
||||
if use ansi; then
|
||||
cd ansi-tests
|
||||
|
||||
( make clean && make test-unixport ) \
|
||||
|| die "make ansi-tests failed!"
|
||||
|
||||
cat "${FILESDIR}/bootstrap-gcl" \
|
||||
| ../unixport/saved_ansi_gcl
|
||||
|
||||
cat "${FILESDIR}/bootstrap-gcl" \
|
||||
|sed s/bootstrapped_ansi_gcl/bootstrapped_r_ansi_gcl/g \
|
||||
| ./bootstrapped_ansi_gcl
|
||||
|
||||
( ${make_ansi_tests_clean} && \
|
||||
echo "(load \"gclload.lsp\")" \
|
||||
| ./bootstrapped_r_ansi_gcl ) \
|
||||
|| die "Phase 2, bootstraped compiler failed in tests"
|
||||
|
||||
else
|
||||
|
||||
ewarn "Upstream provides tests only for ansi-gcl."
|
||||
ewarn "Please emerge with ansi USE flag enabled"
|
||||
ewarn "if you wnat to run the ansi tests."
|
||||
|
||||
cat "${FILESDIR}/bootstrap-gcl" \
|
||||
| sed s/bootstrapped_ansi_gcl/bootstrapped_gcl/g \
|
||||
| unixport/saved_gcl
|
||||
|
||||
cat "${FILESDIR}/bootstrap-gcl" \
|
||||
| sed s/bootstrapped_ansi_gcl/bootstrapped_r_gcl/g \
|
||||
| ./bootstrapped_gcl
|
||||
|
||||
for x in "./bootstrapped_r_gcl" "unixport/saved_gcl" ; do
|
||||
echo "(compiler::emit-fn t)" \
|
||||
| ${x} \
|
||||
|| die "Phase 2, bootstraped compiler failed in tests"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die "make install failed"
|
||||
rm -rf "${D}"usr/share/doc/${PN}-si "${D}"usr/share/doc/${PN}-tk
|
||||
|
||||
dosed /usr/bin/gcl
|
||||
fperms 0755 /usr/bin/gcl
|
||||
|
||||
dodoc readme* RELEASE* ChangeLog* doc/*
|
||||
doman gcl.1
|
||||
doinfo info/*.info*
|
||||
|
||||
if use emacs; then
|
||||
mv "${D}"usr/share/emacs/site-lisp/${PN}/add-default.el "${T}"/50${PN}-gentoo.el
|
||||
elisp-site-file-install "${T}"/50${PN}-gentoo.el
|
||||
elisp-install ${PN} elisp/*
|
||||
fperms 0644 /usr/share/emacs/site-lisp/gcl/*
|
||||
else
|
||||
rm -rf "${D}"usr/share/emacs
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
mv "${D}"usr/share/doc/*.dvi "${D}"usr/share/doc/dwdoc* "${D}"usr/share/doc/${PF}/
|
||||
else
|
||||
rm -rf "${D}"usr/share/doc/*.dvi "${D}"usr/share/doc/dwdoc*
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST Socket6-0.23.tar.gz 57859 SHA256 eda753f0197e8c3c8d4ab20a634561ce84011fa51aa5ff40d4dbcb326ace0833 SHA512 39ced223ecdef89e6fa241031019bb5a73e63d2dfdaf3edb55bfea0cb81b91bea09f1cc26b2d15fa28d32227cc13cdb093c70f0ba346c9bdb523359de53d96f9 WHIRLPOOL f3ace817e2c49f1551f931ac80990a5c691df5188870090bde908d78c5b3e2da322c8114ce519135cc975cb9c46181c3a66a8204c9668497f8e4649e671ed202
|
||||
DIST Socket6-0.25.tar.gz 58057 SHA256 da746f8e7740b4ef66f4ff70dfad4e90f001a47a4803de66b7d7e0bdc924baa9 SHA512 0b164bca51783798b9a65119f702c33578235478857aa0f5d6c7f3aaa987522c22e84f94197d34159cb7f07fbd1dd7c5fd5579b1d42c82a233aff071edfaa95c WHIRLPOOL 123f84ecd7a8c83c81f00b1b5dedc95c8b19bbfdea5c40dbe19980206f27a6d3b44823bc95d6702a40a7db8115569bb095c387edd15a24ec85477f6943ea23a3
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Socket6/Socket6-0.250.0.ebuild,v 1.1 2014/02/04 11:04:12 zlogene Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=UMEMOTO
|
||||
MODULE_VERSION=0.25
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="IPv6 related part of the C socket.h defines and structure manipulators"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
src_unpack() {
|
||||
perl-module_src_unpack
|
||||
tc-export CC
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST Spreadsheet-WriteExcel-2.37.tar.gz 566688 SHA256 34e0c28d362a5248936a8ff09211c5ade6ae23fe6e7eddf3ad9ff48fca1f7a68 SHA512 a1ead6ff126424c88111b1b767f025d00329634cc5127e13f998402d630e99e8f1b41a2e6ab815b9707d3b83eebc399d69dd0967491726a0deed42557fdb6bab WHIRLPOOL ecf998b2986a691554e1fee594422f39af3b5203b13a7a30126d891150cd225f23080fa3fe5cbc458bbae9cd5cdf420f816ddbab925a11f9e2f364320fe3dc0d
|
||||
DIST Spreadsheet-WriteExcel-2.38.tar.gz 494584 SHA256 57ba16d96a820fa19bf4c8c9e035ce4c0e66a37aaf4d6405f304ebb87eeffa92 SHA512 ab02e155d83a9e14d4494f1e971dc36488b5093c0d8f4c8ab9e25127f322571c1768ae177eec4401c590bcb09d665829d9e1c6c5ee060a36fdfbe7f0cc85aea4 WHIRLPOOL 404776fa9817df8d987eb61ea1f080af9108ff95f379dc381abe1822950d66d1a63d6c8f0fcd723fb827d0bae50f5fc5906a9d8e7a08c15e9c4fb4b80e96056a
|
||||
DIST Spreadsheet-WriteExcel-2.39.tar.gz 494383 SHA256 545e8c7426aea1748bd73669cb9f3019d70f3d23b5b48f876634769ba2f2ea45 SHA512 c11a67c497ae79b952b8b554570795d053d3784eebbb279a419978f8b8a1f6cef7c1b8e9376e692e5240b916dccd3f980551df822f38f6453d823284067c9dbc WHIRLPOOL f016d74135bcd88319d1d32a82a0414759c6a68dc5c56b2bb11f5f31e573775fb9fb5b7576da3304e327a2f583e85f896a48c7e12d53703e319cad21fede9677
|
||||
DIST Spreadsheet-WriteExcel-2.40.tar.gz 480975 SHA256 e356aad6866cf135731268ee0e979a197443c15a04878e9cf3e80d022ad6c07e SHA512 aa6690b4b7b66620e6490f97b0d82520dbe2a51cdc0fd03c9f83bf963f609c39e5f9f45c31e0a68809d0ba8f8ea3120c7c53cddd48a875074d5dd8250d19574e WHIRLPOOL b1b153db71df5e1074695f7f70a726f4b677d33b3b7b0ad8dfc17bfa9a069be4e91d98e7a416dfc8ac90dbbecad1add821bccbbd569b7a85c32e536741a3b70f
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Spreadsheet-WriteExcel/Spreadsheet-WriteExcel-2.400.0.ebuild,v 1.1 2014/02/04 10:59:24 zlogene Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=JMCNAMARA
|
||||
MODULE_VERSION=2.40
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Write cross-platform Excel binary file."
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/perl-File-Temp
|
||||
dev-perl/Parse-RecDescent
|
||||
>=dev-perl/OLE-StorageLite-0.19
|
||||
dev-perl/IO-stringy"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
SRC_TEST="do"
|
@ -1,2 +1 @@
|
||||
DIST Test-Taint-1.04.tar.gz 12404 SHA256 ef7ee6bea0323a44f155298c17873ee2871c9aa3ca69b72e62f842057f0eed90 SHA512 7d1593032b3162167c6a2ce03925e66b0f8e13fc191641535ebe64a99bd0eaac55ffff04240f84459ba86f014d2d7fe4a84a6fc0d202667d0b88afe76f0c314d WHIRLPOOL 2f4741471ca2351d36d92d154a96834bc8018f84a0ef4f37835d0c9d4428b40e01da7a5183543e9826213c687f8f9197c0587cf63b2621b5032994f50f142427
|
||||
DIST Test-Taint-1.06.tar.gz 13346 SHA256 721b51ca91d248ea5ff4f99ca49c05a080e6f0fc9f7983e96121b7775ab93107 SHA512 58221b0145d9b908994c093168ca547a18cd56113f4923a4662bb9c113635378740363914d1fd43602f15c76a23cfe26d0682ed6ce22836d712692f439e782c2 WHIRLPOOL adcd33a4e05892ddd1fba4e8878266466ef8e33737284226c89974a91d0ab863582f5b10c701c68451468df13033e5405f59559b6932a62b2bbe065860b768c5
|
||||
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Test-Taint/Test-Taint-1.40.0.ebuild,v 1.2 2011/09/03 21:04:32 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=PETDANCE
|
||||
MODULE_VERSION=1.04
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Tools to test taintedness"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="test? ( dev-perl/Test-Pod
|
||||
dev-perl/Test-Pod-Coverage )"
|
||||
|
||||
SRC_TEST="do"
|
@ -1 +1,2 @@
|
||||
DIST python-iptables-0.2.0.tar.gz 45316 SHA256 ef60b7a58338c65de5a0600eeabca92db940e78fef4dbaffe4fc1e9ce9f6dafb SHA512 2980927400d87e4d1028c3e366d81384a8de1d32f668c6c56b99408e0c0e9e6981f8152a4f80d20f492bf6284525a8d2340262fd6e05699d02d0e2e1f6afea64 WHIRLPOOL 38ef4fa2e8c36f317977170a26386b2a99ec2e47d9257922d99ca9bde972b6bfe5708eda72f4fd5412e892a0b9491b64514407a03e81845321556d180fb406de
|
||||
DIST python-iptables-0.3.0.tar.gz 46921 SHA256 e609e150754c70220ece63c43dd763afe383a33d0d7dce35d63612c252c8f701 SHA512 423d1c2b33561410e514633fd18f0b8e6ed4f21f869072cbde58b011c46c825fcc005e8da21bb3a8c3c9ec812a5f37bd246dc1fc0d86884df43264122f7efc63 WHIRLPOOL 6fec86c7bc87334b4fa14672b0d64323bbc3a81448771fa6277ec6578671eae095ef3b2960def40f39c43a0e74e26895042ac806415d32592564a44115e2ef04
|
||||
|
@ -0,0 +1,182 @@
|
||||
diff --git a/iptc/ip4tc.py b/iptc/ip4tc.py
|
||||
index 1efeabe..a953f41 100644
|
||||
--- a/iptc/ip4tc.py
|
||||
+++ b/iptc/ip4tc.py
|
||||
@@ -460,8 +460,6 @@ class Match(IPTCModule):
|
||||
if self._module.next is not None:
|
||||
self._store_buffer(module)
|
||||
|
||||
- self._check_alias(module[0], match)
|
||||
-
|
||||
self._match_buf = (ct.c_ubyte * self.size)()
|
||||
if match:
|
||||
ct.memmove(ct.byref(self._match_buf), ct.byref(match), self.size)
|
||||
@@ -503,7 +501,11 @@ class Match(IPTCModule):
|
||||
self._buffer.buffer = ct.cast(module, ct.POINTER(ct.c_ubyte))
|
||||
|
||||
def _final_check(self):
|
||||
- self._xt.final_check_match(self._module)
|
||||
+ if self._alias is not None:
|
||||
+ module = self._alias
|
||||
+ else:
|
||||
+ module = self._module
|
||||
+ self._xt.final_check_match(module)
|
||||
|
||||
def _parse(self, argv, inv, entry):
|
||||
if self._alias is not None:
|
||||
@@ -530,6 +532,7 @@ class Match(IPTCModule):
|
||||
self._ptrptr = ct.cast(ct.pointer(self._ptr),
|
||||
ct.POINTER(ct.POINTER(xt_entry_match)))
|
||||
self._module.m = self._ptr
|
||||
+ self._check_alias(self._module, self._module.m)
|
||||
if self._alias is not None:
|
||||
self._alias.m = self._ptr
|
||||
self._update_name()
|
||||
@@ -613,8 +616,6 @@ class Target(IPTCModule):
|
||||
else:
|
||||
self._revision = self._module.revision
|
||||
|
||||
- self._check_alias(module[0], target)
|
||||
-
|
||||
self._create_buffer(target)
|
||||
|
||||
if self._is_standard_target():
|
||||
@@ -673,7 +674,11 @@ class Target(IPTCModule):
|
||||
return False
|
||||
|
||||
def _final_check(self):
|
||||
- self._xt.final_check_target(self._module)
|
||||
+ if self._alias is not None:
|
||||
+ module = self._alias
|
||||
+ else:
|
||||
+ module = self._module
|
||||
+ self._xt.final_check_target(module)
|
||||
|
||||
def _parse(self, argv, inv, entry):
|
||||
if self._alias is not None:
|
||||
@@ -715,6 +720,7 @@ class Target(IPTCModule):
|
||||
self._ptrptr = ct.cast(ct.pointer(self._ptr),
|
||||
ct.POINTER(ct.POINTER(xt_entry_target)))
|
||||
self._module.t = self._ptr
|
||||
+ self._check_alias(self._module, self._module.t)
|
||||
if self._alias is not None:
|
||||
self._alias.t = self._ptr
|
||||
self._update_name()
|
||||
diff --git a/iptc/test/test_matches.py b/iptc/test/test_matches.py
|
||||
index 69b0b01..67c37ff 100755
|
||||
--- a/iptc/test/test_matches.py
|
||||
+++ b/iptc/test/test_matches.py
|
||||
@@ -298,6 +298,40 @@ class TestXTStateMatch(unittest.TestCase):
|
||||
self.assertEquals(m.state, "RELATED,ESTABLISHED")
|
||||
|
||||
|
||||
+class TestXTConntrackMatch(unittest.TestCase):
|
||||
+ def setUp(self):
|
||||
+ self.rule = iptc.Rule()
|
||||
+ self.rule.src = "127.0.0.1"
|
||||
+ self.rule.protocol = "tcp"
|
||||
+ self.rule.target = iptc.Target(self.rule, "ACCEPT")
|
||||
+
|
||||
+ self.match = iptc.Match(self.rule, "conntrack")
|
||||
+
|
||||
+ self.chain = iptc.Chain(iptc.Table(iptc.Table.FILTER),
|
||||
+ "iptc_test_conntrack")
|
||||
+ self.table = iptc.Table(iptc.Table.FILTER)
|
||||
+ try:
|
||||
+ self.chain.flush()
|
||||
+ self.chain.delete()
|
||||
+ except:
|
||||
+ pass
|
||||
+ self.table.create_chain(self.chain)
|
||||
+
|
||||
+ def tearDown(self):
|
||||
+ self.chain.flush()
|
||||
+ self.chain.delete()
|
||||
+ pass
|
||||
+
|
||||
+ def test_state(self):
|
||||
+ self.match.ctstate = "NEW,RELATED"
|
||||
+ self.rule.add_match(self.match)
|
||||
+ self.chain.insert_rule(self.rule)
|
||||
+ rule = self.chain.rules[0]
|
||||
+ m = rule.matches[0]
|
||||
+ self.assertTrue(m.name, ["conntrack"])
|
||||
+ self.assertEquals(m.ctstate, "NEW,RELATED")
|
||||
+
|
||||
+
|
||||
def suite():
|
||||
suite_match = unittest.TestLoader().loadTestsFromTestCase(TestMatch)
|
||||
suite_udp = unittest.TestLoader().loadTestsFromTestCase(TestXTUdpMatch)
|
||||
@@ -308,9 +342,11 @@ def suite():
|
||||
suite_iprange = unittest.TestLoader().loadTestsFromTestCase(
|
||||
TestIprangeMatch)
|
||||
suite_state = unittest.TestLoader().loadTestsFromTestCase(TestXTStateMatch)
|
||||
+ suite_conntrack = unittest.TestLoader().loadTestsFromTestCase(
|
||||
+ TestXTConntrackMatch)
|
||||
return unittest.TestSuite([suite_match, suite_udp, suite_mark,
|
||||
suite_limit, suite_comment, suite_iprange,
|
||||
- suite_state])
|
||||
+ suite_state, suite_conntrack])
|
||||
|
||||
|
||||
def run_tests():
|
||||
diff --git a/iptc/test/test_targets.py b/iptc/test/test_targets.py
|
||||
index 6d83f5f..32516bd 100755
|
||||
--- a/iptc/test/test_targets.py
|
||||
+++ b/iptc/test/test_targets.py
|
||||
@@ -371,6 +371,37 @@ class TestXTNotrackTarget(unittest.TestCase):
|
||||
self.assertTrue(t.name in ["NOTRACK", "CT"])
|
||||
|
||||
|
||||
+class TestXTCtTarget(unittest.TestCase):
|
||||
+ def setUp(self):
|
||||
+ self.rule = iptc.Rule()
|
||||
+ self.rule.dst = "127.0.0.2"
|
||||
+ self.rule.protocol = "tcp"
|
||||
+ self.rule.out_interface = "eth0"
|
||||
+
|
||||
+ self.target = iptc.Target(self.rule, "CT")
|
||||
+ self.target.notrack = "true"
|
||||
+ self.rule.target = self.target
|
||||
+
|
||||
+ self.chain = iptc.Chain(iptc.Table(iptc.Table.RAW),
|
||||
+ "iptc_test_ct")
|
||||
+ try:
|
||||
+ self.chain.flush()
|
||||
+ self.chain.delete()
|
||||
+ except:
|
||||
+ pass
|
||||
+ iptc.Table(iptc.Table.RAW).create_chain(self.chain)
|
||||
+
|
||||
+ def tearDown(self):
|
||||
+ self.chain.flush()
|
||||
+ self.chain.delete()
|
||||
+
|
||||
+ def test_ct(self):
|
||||
+ self.chain.insert_rule(self.rule)
|
||||
+ t = self.chain.rules[0].target
|
||||
+ self.assertEquals(t.name, "CT")
|
||||
+ self.assertTrue(t.notrack is not None)
|
||||
+
|
||||
+
|
||||
def suite():
|
||||
suites = []
|
||||
suite_target = unittest.TestLoader().loadTestsFromTestCase(TestTarget)
|
||||
@@ -383,14 +414,15 @@ def suite():
|
||||
TestIPTMasqueradeTarget)
|
||||
suite_dnat = unittest.TestLoader().loadTestsFromTestCase(
|
||||
TestDnatTarget)
|
||||
- suite_conntrack = unittest.TestLoader().loadTestsFromTestCase(
|
||||
+ suite_notrack = unittest.TestLoader().loadTestsFromTestCase(
|
||||
TestXTNotrackTarget)
|
||||
+ suite_ct = unittest.TestLoader().loadTestsFromTestCase(TestXTCtTarget)
|
||||
suites.extend([suite_target, suite_cluster, suite_tos])
|
||||
if is_table_available(iptc.Table.NAT):
|
||||
suites.extend([suite_target, suite_cluster, suite_redir, suite_tos,
|
||||
suite_masq, suite_dnat])
|
||||
if is_table_available(iptc.Table.RAW):
|
||||
- suites.extend([suite_conntrack])
|
||||
+ suites.extend([suite_notrack, suite_ct])
|
||||
return unittest.TestSuite(suites)
|
||||
|
||||
|
@ -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/python-iptables/python-iptables-0.3.0-r1.ebuild,v 1.1 2014/02/04 23:02:29 chutzpah Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=(python2_7)
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python bindings for iptables."
|
||||
HOMEPAGE="https://github.com/ldx/python-iptables"
|
||||
SRC_URI="https://github.com/ldx/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="net-firewall/iptables"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# tests manipulate live iptables rules, so disable them by default
|
||||
RESTRICT=test
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.2.0-tests.patch"
|
||||
"${FILESDIR}/${P}-conntrack-fixes.patch"
|
||||
)
|
||||
|
||||
python_test() {
|
||||
${PYTHON} test.py
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-iptables/python-iptables-0.3.0.ebuild,v 1.1 2014/02/03 23:24:12 chutzpah Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=(python2_7)
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python bindings for iptables."
|
||||
HOMEPAGE="https://github.com/ldx/python-iptables"
|
||||
SRC_URI="https://github.com/ldx/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="net-firewall/iptables"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# tests manipulate live iptables rules, so disable them by default
|
||||
RESTRICT=test
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.2.0-tests.patch"
|
||||
)
|
||||
|
||||
python_test() {
|
||||
${PYTHON} test.py
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST coffee-script-source-1.6.3.gem 51200 SHA256 64a5e37557b367c3a087643ed033b1dce485d6c21f96262aecc806d93280635c SHA512 ef7703c2fe4ee82481ecc652a7c0df7dc8640fe490cd53225792f68eb85d3913497c9267f21b7a08d7dab8d71517ac87ff20a45df42dd82de09360910d7eb30b WHIRLPOOL 25d375a2e8d3026a7be83a9bb66f8930409b53eb4c970e1d07758b6c437ded2e34e9682aba46ee7675814c950a57fd7010667e416416063a3a77a8cc42feaa7c
|
||||
DIST coffee-script-source-1.7.0.gem 54272 SHA256 acae7508d3f8c8a39f681eab73a1e43d1c1a564e6580122884e049ae761d1157 SHA512 692c001d03feb938d333fb9d4adb504e4f72b0603baae570b0f479787b07cddcda5a90c17c2d83355f9754808af6cd890338d5302b8d915e3f33c1857b29ed7c WHIRLPOOL b959aaabfcc199ed848b8513e96bdbdbacc9f1b452dcce603785e7727264902f74645f8c82a96473ed9c2ceae8421b972753768fa452ed3991773003d55f1399
|
||||
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/coffee-script-source/coffee-script-source-1.7.0.ebuild,v 1.1 2014/02/05 00:57:34 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19 ruby20 ruby21 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Ruby CoffeeScript is a bridge to the official CoffeeScript compiler."
|
||||
HOMEPAGE="http://jashkenas.github.io/coffee-script/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~x64-macos ~x86-solaris"
|
||||
|
||||
IUSE=""
|
@ -1,2 +1,3 @@
|
||||
DIST net-ssh-git-2.4.0.tgz 135388 SHA256 d2e41ca9fd63c6235d556efd030b8bc0f515f9588ad22330884630c67b0a8eaa SHA512 6e851d3e231169f2b1411c8bdc44212cafb52dcbbbba9d8a757aa8fdf52af31efb698cc6bcc103aa4006caffcc9c929fd50be5ad323a8fd2c3fe97e6f23a484a WHIRLPOOL 1d55a43109cb8f69da9ccf55281b7456445c68ff4e9c730b479ca62d0a9dc9ed70b4fdfadfbfa81cb94f5815142685445f6b48e2ad9588bd96152fbd4530c369
|
||||
DIST net-ssh-git-2.7.0.tgz 162416 SHA256 e3ff750efe855a325c76570b66e02c4db746f6a4760205a0c6f9264fd2ab5b64 SHA512 3c7fc123b71916435c95e648fffc77f424bd84b72ddcdae1e017dd9444fe92c58df84811586ec58e86705c1269f1ee0d5e4a68124ed2628e2dc80541bd9d64cf WHIRLPOOL 1663fb5f23e066788e5da39b32e2ca1ed16f920e2ed115009746362b31c49a42816d245fd298f31fcaffe7af60b3e1c78c4bf449ce4780a7c2117a9a7cec5171
|
||||
DIST net-ssh-git-2.8.0.tgz 164483 SHA256 313c63f205f72469aa48d25690b8f98c14cbe0bf90ed2d577191599d609a5b4f SHA512 b16394cdd8d0e3c92f5b22fc882615ef7309606b5d8a413711dda9b76f628c74bc29bad96f0166d31d9de55c14bed1df178053e2d8afa47d78d5d8053e70a631 WHIRLPOOL 1dc057363d847df650e8e704f50bbbe095859f4bda1e617c86f234da28bfbaf57ea5a65ea9b48ea3c999e0dc02a7345bb6a060820509f75bb17aeb6aa521963a
|
||||
|
@ -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-ruby/net-ssh/net-ssh-2.8.0.ebuild,v 1.1 2014/02/05 00:21:59 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
# no longer compatible with ruby 1.8.
|
||||
USE_RUBY="ruby19 ruby20"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc THANKS.txt"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="support"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Non-interactive SSH processing in pure Ruby"
|
||||
HOMEPAGE="http://net-ssh.rubyforge.org/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> net-ssh-git-${PV}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="2.6"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_rdepend "virtual/ruby-ssl"
|
||||
ruby_add_bdepend "test? ( dev-ruby/test-unit:2 >=dev-ruby/mocha-0.13 )"
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib:test test/test_all.rb || die "Tests failed."
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST ox-2.0.12.tar.gz 173455 SHA256 d5ef021fcd50f8a6f09a04525390b8cd6572a92683ea6b3b020f0b42ffc5ca87 SHA512 c511b7c293494134758c6639e70add4edbf4717354e74e6fafbb7514e572735914644c81a1558e63ef2d08f2d0f8edbcf88833f90fd3720a3847f697202e1699 WHIRLPOOL fb63012e38197f106874df5baa807c25e1b5c3bcc75cb4d9edcf43764ce43ea0d332dac1f3002d7495e3855c7ea841258004a2dd7bff1a86f8a0b917f2ef8021
|
||||
DIST ox-2.0.9.tar.gz 173645 SHA256 62a68f698967eaed3e8be7618feb9df7a77ec2297d466439fe1cff0a41447f4e SHA512 0628b0c395fa36235c4ed61526d2ee3fd52d1bc67e0434309a32a372dbd3a699c3cd15951e68e4d7ea28d06eee56c10a5662aa571b1aab905f07215881b0cca9 WHIRLPOOL a13fc5e26ac86fd93847a11dbf9208f69c5a70c0173a6ea823afb79f99d8be36843e6184a84853f6f776206b70054d8f1a093d294f30e8cbce95f0d3cf16b62e
|
||||
DIST ox-2.1.0.tar.gz 173773 SHA256 226747fcfbf4f0294ad6347547d7d445f0c6e552e2230647f0b0c9f36b0a7678 SHA512 ab81e691c15033e6e6d8a3da5308fe6483d2659702b0c25a20b553bdbceb2de0dbf61b1a00f010e60ee49dbf2533af8fdef7a125abea13a52d1487d24bccff26 WHIRLPOOL cf5ebd90bd91d7f88169fe1e14cac5fe7459a350f7f42be97e216637c6dcfe95f61155fbe8a8bdfc10434b8f722e4a4de7132d7a390264427812eba9965900c1
|
||||
|
@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ox/ox-2.0.9-r1.ebuild,v 1.1 2013/10/05 11:21:40 mrueg Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ox/ox-2.1.0.ebuild,v 1.1 2014/02/05 00:13:30 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19 ruby20"
|
||||
USE_RUBY="ruby18 ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-mocks/rspec-mocks-2.14.5.ebuild,v 1.1 2014/02/04 23:52:08 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19 ruby20 jruby"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="none"
|
||||
RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
|
||||
HOMEPAGE="http://rspec.rubyforge.org/"
|
||||
SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/rspec-core-2.10.0:2
|
||||
dev-ruby/rspec-expectations:2
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Don't set up bundler: it doesn't understand our setup.
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die
|
||||
|
||||
# Remove the Gemfile to avoid running through 'bundle exec'
|
||||
rm Gemfile || die
|
||||
|
||||
# Remove .rspec options to avoid dependency on newer rspec when
|
||||
# bootstrapping.
|
||||
rm .rspec || die
|
||||
}
|
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gettext/ruby-gettext-3.0.6.ebuild,v 1.2 2014/02/05 03:35:38 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20"
|
||||
|
||||
RUBY_FAKEGEM_NAME="${PN/ruby-/}"
|
||||
RUBY_FAKEGEM_VERSION="${PV%_*}"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="yard"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="none"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="po"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Ruby GetText Package is Native Language Support Library and Tools modeled after GNU gettext package"
|
||||
HOMEPAGE="http://www.yotabanana.com/hiki/ruby-gettext.html"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~hppa"
|
||||
IUSE="doc test"
|
||||
SLOT="0"
|
||||
LICENSE="Ruby"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/locale-2.0.5 dev-ruby/text"
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/yard )
|
||||
dev-ruby/racc"
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/test-unit:2
|
||||
dev-ruby/test-unit-rr )"
|
||||
|
||||
RDEPEND+=" sys-devel/gettext"
|
||||
DEPEND+=" sys-devel/gettext"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Fix broken racc invocation
|
||||
sed -i -e '/command_line/ s/#{racc}/-S racc/' Rakefile || die
|
||||
|
||||
# Avoid bundler dependency
|
||||
sed -i -e '/bundler/,/helper.install/ s:^:#:' \
|
||||
-e 's/helper.gemspec/Gem::Specification.new/' Rakefile || die
|
||||
|
||||
# Avoid dependency on developer-specific tools.
|
||||
sed -i -e '/notify/ s:^:#:' test/run-test.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
# Upstream tries to daisy-chain rake calls but they fail badly
|
||||
# with our setup, so run it manually.
|
||||
${RUBY} test/run-test.rb || die "tests failed"
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r samples
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST ruby2ruby-1.3.1.gem 18944 SHA256 77c3e31741389af7992a3cf7410ed0b21fb2c2fc571a37343e02ca37d76d1517 SHA512 ced6c9d073ec3ef627e31d5289c3e459cab4efcd5c31205f1807226fc9608e74f6d91335ff272d9d55b12ffd7a3776690324b051dbe008e2f819df478162ef4d WHIRLPOOL c61596c7b1f1c45c1fa27a33ced5e446315e2d32ec8040191fadb9071e5d77780604257543fef52f8fbf6e2aebf599697d9599e5e8dc42d04a732bd7d5eba9db
|
||||
DIST ruby2ruby-2.0.6.gem 20992 SHA256 b2fbb49b66191983db0b9532c81b1eeb446e3af7cced0995401c43637a7407ae SHA512 869c8b8f9ca21bcda184e9cc73d85e8f291c3b02b3d4e738fe305b6dec7cc93f2d988090441af7e5cef034c7596837136f293996110c9b7f11d5b108654b4a75 WHIRLPOOL ae50b1faab6540234322687776ea05e33779f03eccc7f90f085b8a3d072cd752c3779b26c7dde2edf778860f8eab0d67af0c03bb06047c14e3dddd136919b434
|
||||
DIST ruby2ruby-2.0.7.gem 23552 SHA256 e26b8dd07ae24480b716c2bc58dc353f1f94601e2b0ae5835dea27618ce10cb5 SHA512 77c861c4c38a06aaa6d413b3132ba32f991d48c0cbff499b5df0e727efc89dbd918a746fda553430f27003300c536b00c38fb4c7343d0b2f245cbf771cf7b720 WHIRLPOOL 2d984ee75df74d9519f47959ca4d8b7c82c7985542185eaab394674dfb3d1de842a2f1eb22554c14f44b0051924e8a304e2e56edd45e0c72c7d3f51218c05f8f
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby2ruby/ruby2ruby-2.0.7.ebuild,v 1.1 2014/02/05 00:35:23 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ruby20"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="docs"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.txt History.txt"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Generates readable ruby from ParseTree"
|
||||
HOMEPAGE="http://seattlerb.rubyforge.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/sexp_processor:4
|
||||
dev-ruby/ruby_parser:3
|
||||
!<dev-ruby/ruby2ruby-1.3.1-r1"
|
||||
ruby_add_bdepend "doc? ( dev-ruby/hoe dev-ruby/hoe-seattlerb )
|
||||
test? ( dev-ruby/minitest )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/plugin :isolate/ s:^:#:' Rakefile || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST tins-0.13.1.gem 35328 SHA256 c53bf237462be8d61cfa2a5f4b48f372d010825b0dc594c952d9857fe4c3ef30 SHA512 257ba33ec3802355ed74dcbb29aebe05879c541aa032bb2df268ae645f6630cbb7b3f121911389ad78aaf26a5e5f34e87a53033505c0dded78dbd6d8b27982d6 WHIRLPOOL e901e3b6720ab39670ec6fd1f519d2d93eefe1247f72589ff31d8a00796a1b3bd20a23979a50156e3541bd35b287e648ac516d686eec1e57ffc852e112085046
|
||||
DIST tins-0.13.2.gem 35328 SHA256 5e68e998325fdbc92b01ca21229278e68d14d2b1d77c1ccc55a61fb515a9f3f9 SHA512 87ca02f7c0610506d45cc7889f13f97597ed3b5218e63888b55f1d9516729b85b3800aa68965dbbcd992ac1c062a47c299dfcbcca161a48ea41d908a9435ec81 WHIRLPOOL b924ab12cf4355be3096df3895076931cfbf72a8bab5509d7d80f7b323f0f5caee0112cd2b68a5eef339a5121dd3c55b99f7d8c6df5365314397fef9a60be166
|
||||
DIST tins-0.6.0.gem 29696 SHA256 dc8ac56d37ec8a71786361fa8b2840ca032856b91cb279f06c542fdc3b4cb479 SHA512 79318f7b08b4478d1aa8f7d8dd86be377ec9655e5a6e62d0d193b7f1db6925c578cfb3fbc54efd76e7be54eaec22986bf79612bd2f4b6eb59934ecfddddcc4be WHIRLPOOL 1b8031c7342c6ea6e93b627c975dfef2d0941dd05118c21f3c97d7924f29d9913b33e7fe95fcd2d6c8e5165f88183d480acd23fa2179efe66d753c36997728e3
|
||||
|
@ -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-ruby/tins/tins-0.13.2.ebuild,v 1.1 2014/02/05 00:03:59 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19 ruby20 ruby21 jruby"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="none"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="All the stuff that isn't good enough for a real library."
|
||||
HOMEPAGE="http://github.com/flori/tins"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )"
|
||||
|
||||
each_ruby_test() {
|
||||
ruby-ng_testrb-2 -Ilib tests/*_test.rb
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue