parent
c5aa1f0bff
commit
106d88cc86
@ -0,0 +1,108 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-dispatcher/speech-dispatcher-0.8-r3.ebuild,v 1.1 2014/08/10 22:02:42 teiresias Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_2 python3_3 python3_4 )
|
||||||
|
|
||||||
|
inherit eutils python-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Speech synthesis interface"
|
||||||
|
HOMEPAGE="http://www.freebsoft.org/speechd"
|
||||||
|
SRC_URI="http://www.freebsoft.org/pub/projects/speechd/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
IUSE="alsa ao +espeak flite nas pulseaudio python static-libs"
|
||||||
|
|
||||||
|
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||||
|
|
||||||
|
COMMON_DEPEND="python? ( ${PYTHON_DEPS} )
|
||||||
|
>=dev-libs/dotconf-1.3
|
||||||
|
>=dev-libs/glib-2.28:2
|
||||||
|
>=media-libs/libsndfile-1.0.2
|
||||||
|
alsa? ( media-libs/alsa-lib )
|
||||||
|
ao? ( media-libs/libao )
|
||||||
|
espeak? ( app-accessibility/espeak )
|
||||||
|
flite? ( app-accessibility/flite )
|
||||||
|
nas? ( media-libs/nas )
|
||||||
|
pulseaudio? ( media-sound/pulseaudio )"
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
>=dev-util/intltool-0.40.0
|
||||||
|
virtual/pkgconfig"
|
||||||
|
RDEPEND="${COMMON_DEPEND}"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myeconfargs=(
|
||||||
|
--disable-python
|
||||||
|
$(use_enable static-libs static)
|
||||||
|
$(use_with alsa)
|
||||||
|
$(use_with ao libao)
|
||||||
|
$(use_with espeak)
|
||||||
|
$(use_with flite)
|
||||||
|
$(use_with pulseaudio pulse)
|
||||||
|
$(use_with nas)
|
||||||
|
)
|
||||||
|
econf ${myeconfargs[@]}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
use python && python_copy_sources
|
||||||
|
|
||||||
|
emake
|
||||||
|
|
||||||
|
if use python; then
|
||||||
|
building() {
|
||||||
|
cd src/api/python || die
|
||||||
|
emake \
|
||||||
|
pyexecdir="$(python_get_sitedir)" \
|
||||||
|
pythondir="$(python_get_sitedir)"
|
||||||
|
}
|
||||||
|
python_foreach_impl run_in_build_dir building
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" install
|
||||||
|
dodoc ANNOUNCE AUTHORS BUGS ChangeLog FAQ NEWS README*
|
||||||
|
|
||||||
|
prune_libtool_files --all
|
||||||
|
|
||||||
|
if use python; then
|
||||||
|
installation() {
|
||||||
|
cd src/api/python || die
|
||||||
|
emake \
|
||||||
|
DESTDIR="${D}" \
|
||||||
|
pyexecdir="$(python_get_sitedir)" \
|
||||||
|
pythondir="$(python_get_sitedir)" \
|
||||||
|
install
|
||||||
|
}
|
||||||
|
python_foreach_impl run_in_build_dir installation
|
||||||
|
python_replicate_script "${ED}"/usr/bin/spd-conf
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
local editconfig="n"
|
||||||
|
if ! use espeak; then
|
||||||
|
ewarn "You have disabled espeak, which is speech-dispatcher's"
|
||||||
|
ewarn "default speech synthesizer."
|
||||||
|
ewarn
|
||||||
|
editconfig="y"
|
||||||
|
fi
|
||||||
|
if ! use pulseaudio; then
|
||||||
|
ewarn "You have disabled pulseaudio support."
|
||||||
|
ewarn "pulseaudio is speech-dispatcher's default audio subsystem."
|
||||||
|
ewarn
|
||||||
|
editconfig="y"
|
||||||
|
fi
|
||||||
|
if [[ "${editconfig}" == "y" ]]; then
|
||||||
|
ewarn "You must edit ${EROOT}etc/speech-dispatcher/speechd.conf"
|
||||||
|
ewarn "and make sure the settings there match your system."
|
||||||
|
ewarn
|
||||||
|
fi
|
||||||
|
elog "For festival support, you need to"
|
||||||
|
elog "install app-accessibility/festival-freebsoft-utils."
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
DIST ansible-1.6.10.tar.gz 1182846 SHA256 e1053f3152d5d9ac007d1af54057543fc839d79fee619c9b37eb4f3dca182348 SHA512 3745a67779c460bd6d543ecf1ccc6d331fd3a94264bd2a2739e3be484a62699e97c591ce3276e635a311203dcf808d52ca7857e3071673fd19f35037cd863415 WHIRLPOOL d848953afd96cff449f3b6103ec2c0a443999181014c1df778894a02a5644213ae200b1acbbfd6c636e0a4676d4a7c02cf49a39542ac4f3a14c58f565a0783f4
|
DIST ansible-1.6.10.tar.gz 1182846 SHA256 e1053f3152d5d9ac007d1af54057543fc839d79fee619c9b37eb4f3dca182348 SHA512 3745a67779c460bd6d543ecf1ccc6d331fd3a94264bd2a2739e3be484a62699e97c591ce3276e635a311203dcf808d52ca7857e3071673fd19f35037cd863415 WHIRLPOOL d848953afd96cff449f3b6103ec2c0a443999181014c1df778894a02a5644213ae200b1acbbfd6c636e0a4676d4a7c02cf49a39542ac4f3a14c58f565a0783f4
|
||||||
DIST ansible-1.6.8.tar.gz 1177319 SHA256 9d9b42ec2fa1d0aeac5472cc0f00ad75930d3b15d4ae8a9c44ed877c3d4fc190 SHA512 494f9831b1620c88f45584be9be02e873b80b09e1a2030be22d0e9bd02fb6b8618f5c713b9a4f87c671d418d9e73119d84e6da0eb5c8a1cc061e7eee80380720 WHIRLPOOL 0869c29d27bddad8994d04926b7d0bef3e6732a645c33c742a568382797b774cc01623a365a60204b28c0f495c54059a132167753e1d2a0e21dcfa1f801642b0
|
DIST ansible-1.6.8.tar.gz 1177319 SHA256 9d9b42ec2fa1d0aeac5472cc0f00ad75930d3b15d4ae8a9c44ed877c3d4fc190 SHA512 494f9831b1620c88f45584be9be02e873b80b09e1a2030be22d0e9bd02fb6b8618f5c713b9a4f87c671d418d9e73119d84e6da0eb5c8a1cc061e7eee80380720 WHIRLPOOL 0869c29d27bddad8994d04926b7d0bef3e6732a645c33c742a568382797b774cc01623a365a60204b28c0f495c54059a132167753e1d2a0e21dcfa1f801642b0
|
||||||
|
DIST ansible-1.7.0.tar.gz 1263406 SHA256 8b19c926c3bdc4f2f5d3d7cfcda66bb30253a7ea3dc68ea0a7eff54cbdb4ec67 SHA512 f8dafefe23376a02e54d40b083c74a677bda762db89475f0cd37554b623bf858407a039da983d444d8c1a87838cf2b2b489d9ef31493e70f13dd326dc451edb9 WHIRLPOOL b6043e5e717cbf54b25380fcfe861b6c3892c49b0a69f56b94f7475c66fe7ff38e37cb88bd3dd8665bbe88dc1e00e761c9df128956969211dc0a851393985dda
|
||||||
|
@ -0,0 +1,51 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-admin/ansible/ansible-1.7.0.ebuild,v 1.1 2014/08/12 06:35:22 jlec Exp $
|
||||||
|
|
||||||
|
EAPI="5"
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python2_7 )
|
||||||
|
|
||||||
|
inherit distutils-r1 readme.gentoo
|
||||||
|
|
||||||
|
DESCRIPTION="Radically simple deployment, model-driven configuration management, and command execution framework"
|
||||||
|
HOMEPAGE="http://ansible.com/"
|
||||||
|
SRC_URI="https://github.com/ansible/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="test"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/nose[${PYTHON_USEDEP}]
|
||||||
|
dev-python/passlib[${PYTHON_USEDEP}]
|
||||||
|
dev-vcs/git
|
||||||
|
)"
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/jinja[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
net-misc/sshpass
|
||||||
|
virtual/ssh
|
||||||
|
"
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
make tests || die "tests failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
|
||||||
|
doman docs/man/man1/*.1
|
||||||
|
|
||||||
|
insinto /usr/share/${PN}
|
||||||
|
doins -r examples
|
||||||
|
|
||||||
|
newenvd "${FILESDIR}"/${PN}.env 95ansible
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
distutils-r1_src_install
|
||||||
|
readme.gentoo_create_doc
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
You can define parameters through shell variables OR use config files
|
||||||
|
Examples of config files installed in /usr/share/ansible/examples
|
||||||
|
You have to create ansible hosts file!
|
||||||
|
More info on http://docs.ansible.com/intro_getting_started.html
|
||||||
|
|
||||||
|
Some optional dependencies, you might want to install:
|
||||||
|
dev-python/keyczar - needed to support accelerated mode
|
||||||
|
dev-python/paramiko - alternative SSH backend"
|
@ -0,0 +1,362 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.4.50_pre20140731.ebuild,v 1.1 2014/08/11 17:33:10 ulm Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
inherit autotools elisp-common eutils flag-o-matic multilib readme.gentoo
|
||||||
|
|
||||||
|
if [[ ${PV##*.} = 9999 ]]; then
|
||||||
|
EBZR_PROJECT="emacs"
|
||||||
|
EBZR_BRANCH="trunk"
|
||||||
|
EBZR_REPO_URI="bzr://bzr.savannah.gnu.org/emacs/${EBZR_BRANCH}/"
|
||||||
|
# "Nosmart" is much faster for initial branching.
|
||||||
|
EBZR_INITIAL_URI="nosmart+${EBZR_REPO_URI}"
|
||||||
|
EBZR_UNPACK_DIR="${WORKDIR}/emacs"
|
||||||
|
EBZR_WORKDIR_CHECKOUT="t" #434746
|
||||||
|
inherit bzr
|
||||||
|
S="${EBZR_UNPACK_DIR}"
|
||||||
|
else
|
||||||
|
SRC_URI="http://dev.gentoo.org/~ulm/distfiles/emacs-${PV}.tar.xz
|
||||||
|
mirror://gnu-alpha/emacs/pretest/emacs-${PV}.tar.xz"
|
||||||
|
# FULL_VERSION keeps the full version number, which is needed in
|
||||||
|
# order to determine some path information correctly for copy/move
|
||||||
|
# operations later on
|
||||||
|
FULL_VERSION="${PV%%_*}"
|
||||||
|
#S="${WORKDIR}/emacs-${FULL_VERSION}"
|
||||||
|
S="${WORKDIR}/emacs"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||||
|
HOMEPAGE="http://www.gnu.org/software/emacs/"
|
||||||
|
|
||||||
|
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
|
||||||
|
SLOT="24"
|
||||||
|
IUSE="acl alsa aqua athena dbus games gconf gfile gif gnutls gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm zlib"
|
||||||
|
REQUIRED_USE="?? ( aqua X )"
|
||||||
|
|
||||||
|
RDEPEND="sys-libs/ncurses
|
||||||
|
>=app-admin/eselect-emacs-1.16
|
||||||
|
>=app-emacs/emacs-common-gentoo-1.4-r1[games?,X?]
|
||||||
|
net-libs/liblockfile
|
||||||
|
acl? ( virtual/acl )
|
||||||
|
alsa? ( media-libs/alsa-lib )
|
||||||
|
dbus? ( sys-apps/dbus )
|
||||||
|
gfile? ( >=dev-libs/glib-2.28.6 )
|
||||||
|
gnutls? ( net-libs/gnutls )
|
||||||
|
gpm? ( sys-libs/gpm )
|
||||||
|
hesiod? ( net-dns/hesiod )
|
||||||
|
kerberos? ( virtual/krb5 )
|
||||||
|
libxml2? ( >=dev-libs/libxml2-2.2.0 )
|
||||||
|
selinux? ( sys-libs/libselinux )
|
||||||
|
zlib? ( sys-libs/zlib )
|
||||||
|
X? (
|
||||||
|
x11-libs/libXmu
|
||||||
|
x11-libs/libXt
|
||||||
|
x11-misc/xbitmaps
|
||||||
|
gconf? ( >=gnome-base/gconf-2.26.2 )
|
||||||
|
gsettings? ( >=dev-libs/glib-2.28.6 )
|
||||||
|
gif? ( media-libs/giflib )
|
||||||
|
jpeg? ( virtual/jpeg:0= )
|
||||||
|
png? ( >=media-libs/libpng-1.4:0= )
|
||||||
|
svg? ( >=gnome-base/librsvg-2.0 )
|
||||||
|
tiff? ( media-libs/tiff )
|
||||||
|
xpm? ( x11-libs/libXpm )
|
||||||
|
imagemagick? ( >=media-gfx/imagemagick-6.6.2 )
|
||||||
|
xft? (
|
||||||
|
media-libs/fontconfig
|
||||||
|
media-libs/freetype
|
||||||
|
x11-libs/libXft
|
||||||
|
m17n-lib? (
|
||||||
|
>=dev-libs/libotf-0.9.4
|
||||||
|
>=dev-libs/m17n-lib-1.5.1
|
||||||
|
)
|
||||||
|
)
|
||||||
|
gtk? (
|
||||||
|
gtk3? ( x11-libs/gtk+:3 )
|
||||||
|
!gtk3? ( x11-libs/gtk+:2 )
|
||||||
|
)
|
||||||
|
!gtk? (
|
||||||
|
motif? ( >=x11-libs/motif-2.3:0 )
|
||||||
|
!motif? (
|
||||||
|
Xaw3d? ( x11-libs/libXaw3d )
|
||||||
|
!Xaw3d? ( athena? ( x11-libs/libXaw ) )
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)"
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/pkgconfig
|
||||||
|
gzip-el? ( app-arch/gzip )
|
||||||
|
pax_kernel? (
|
||||||
|
sys-apps/attr
|
||||||
|
sys-apps/paxctl
|
||||||
|
)"
|
||||||
|
|
||||||
|
if [[ ${PV##*.} = 9999 ]]; then
|
||||||
|
DEPEND="${DEPEND}
|
||||||
|
sys-apps/texinfo"
|
||||||
|
fi
|
||||||
|
|
||||||
|
EMACS_SUFFIX="${PN/emacs/emacs-${SLOT}}"
|
||||||
|
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if [[ ${PV##*.} = 9999 ]]; then
|
||||||
|
FULL_VERSION=$(sed -n 's/^AC_INIT([^,]*,[ \t]*\([^ \t,)]*\).*/\1/p' \
|
||||||
|
configure.ac)
|
||||||
|
[[ ${FULL_VERSION} ]] || die "Cannot determine current Emacs version"
|
||||||
|
einfo "Emacs branch: ${EBZR_BRANCH}"
|
||||||
|
einfo "Revision: ${EBZR_REVISION:-${EBZR_REVNO}}"
|
||||||
|
einfo "Emacs version number: ${FULL_VERSION}"
|
||||||
|
[[ ${FULL_VERSION} =~ ^${PV%.*}(\..*)?$ ]] \
|
||||||
|
|| die "Upstream version number changed to ${FULL_VERSION}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
epatch_user
|
||||||
|
|
||||||
|
# Fix filename reference in redirected man page
|
||||||
|
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 \
|
||||||
|
|| die "unable to sed ctags.1"
|
||||||
|
|
||||||
|
AT_M4DIR=m4 eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
strip-flags
|
||||||
|
|
||||||
|
if use sh; then
|
||||||
|
replace-flags "-O[1-9]" -O0 #262359
|
||||||
|
elif use ia64; then
|
||||||
|
replace-flags "-O[2-9]" -O1 #325373
|
||||||
|
else
|
||||||
|
replace-flags "-O[3-9]" -O2
|
||||||
|
fi
|
||||||
|
|
||||||
|
local myconf
|
||||||
|
|
||||||
|
if use alsa; then
|
||||||
|
use sound || ewarn \
|
||||||
|
"USE flag \"alsa\" overrides \"-sound\"; enabling sound support."
|
||||||
|
myconf+=" --with-sound=alsa"
|
||||||
|
else
|
||||||
|
myconf+=" --with-sound=$(usex sound oss)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use X; then
|
||||||
|
myconf+=" --with-x --without-ns"
|
||||||
|
myconf+=" $(use_with gconf)"
|
||||||
|
myconf+=" $(use_with gsettings)"
|
||||||
|
myconf+=" $(use_with toolkit-scroll-bars)"
|
||||||
|
myconf+=" $(use_with gif)"
|
||||||
|
myconf+=" $(use_with jpeg)"
|
||||||
|
myconf+=" $(use_with png)"
|
||||||
|
myconf+=" $(use_with svg rsvg)"
|
||||||
|
myconf+=" $(use_with tiff)"
|
||||||
|
myconf+=" $(use_with xpm)"
|
||||||
|
myconf+=" $(use_with imagemagick)"
|
||||||
|
|
||||||
|
if use xft; then
|
||||||
|
myconf+=" --with-xft"
|
||||||
|
myconf+=" $(use_with m17n-lib libotf)"
|
||||||
|
myconf+=" $(use_with m17n-lib m17n-flt)"
|
||||||
|
else
|
||||||
|
myconf+=" --without-xft"
|
||||||
|
myconf+=" --without-libotf --without-m17n-flt"
|
||||||
|
use m17n-lib && ewarn \
|
||||||
|
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
||||||
|
fi
|
||||||
|
|
||||||
|
local f
|
||||||
|
if use gtk; then
|
||||||
|
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||||
|
myconf+=" --with-x-toolkit=$(usex gtk3 gtk3 gtk2)"
|
||||||
|
for f in motif Xaw3d athena; do
|
||||||
|
use ${f} && ewarn \
|
||||||
|
"USE flag \"${f}\" has no effect if \"gtk\" is set."
|
||||||
|
done
|
||||||
|
elif use motif; then
|
||||||
|
einfo "Configuring to build with Motif toolkit"
|
||||||
|
myconf+=" --with-x-toolkit=motif"
|
||||||
|
for f in Xaw3d athena; do
|
||||||
|
use ${f} && ewarn \
|
||||||
|
"USE flag \"${f}\" has no effect if \"motif\" is set."
|
||||||
|
done
|
||||||
|
elif use athena || use Xaw3d; then
|
||||||
|
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||||
|
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||||
|
else
|
||||||
|
einfo "Configuring to build with no toolkit"
|
||||||
|
myconf+=" --with-x-toolkit=no"
|
||||||
|
fi
|
||||||
|
elif use aqua; then
|
||||||
|
einfo "Configuring to build with Nextstep (Cocoa) support"
|
||||||
|
myconf+=" --with-ns --disable-ns-self-contained"
|
||||||
|
myconf+=" --without-x"
|
||||||
|
else
|
||||||
|
myconf+=" --without-x --without-ns"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Save version information in the Emacs binary. It will be available
|
||||||
|
# in variable "system-configuration-options".
|
||||||
|
myconf+=" GENTOO_PACKAGE=${CATEGORY}/${PF}"
|
||||||
|
if [[ ${PV##*.} = 9999 ]]; then
|
||||||
|
myconf+=" EBZR_BRANCH=${EBZR_BRANCH} EBZR_REVNO=${EBZR_REVNO}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
econf \
|
||||||
|
--program-suffix="-${EMACS_SUFFIX}" \
|
||||||
|
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
|
||||||
|
--localstatedir="${EPREFIX}"/var \
|
||||||
|
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
|
||||||
|
--with-gameuser="${GAMES_USER_DED:-games}" \
|
||||||
|
--without-compress-install \
|
||||||
|
--with-file-notification=$(usev gfile || usev inotify || echo no) \
|
||||||
|
$(use_enable acl) \
|
||||||
|
$(use_with dbus) \
|
||||||
|
$(use_with gnutls) \
|
||||||
|
$(use_with gpm) \
|
||||||
|
$(use_with hesiod) \
|
||||||
|
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||||
|
$(use_with libxml2 xml2) \
|
||||||
|
$(use_with selinux) \
|
||||||
|
$(use_with wide-int) \
|
||||||
|
$(use_with zlib) \
|
||||||
|
${myconf}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
|
||||||
|
emake
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install () {
|
||||||
|
emake DESTDIR="${D}" NO_BIN_LINK=t install
|
||||||
|
|
||||||
|
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} \
|
||||||
|
|| die "moving emacs executable failed"
|
||||||
|
mv "${ED}"/usr/share/man/man1/{emacs-,}${EMACS_SUFFIX}.1 \
|
||||||
|
|| die "moving emacs man page failed"
|
||||||
|
|
||||||
|
# move info dir to avoid collisions with the dir file generated by portage
|
||||||
|
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \
|
||||||
|
|| die "moving info dir failed"
|
||||||
|
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
|
||||||
|
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
|
||||||
|
|
||||||
|
# avoid collision between slots, see bug #169033 e.g.
|
||||||
|
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
|
||||||
|
rm -rf "${ED}"/usr/share/{applications,icons}
|
||||||
|
rm -rf "${ED}"/var
|
||||||
|
|
||||||
|
# remove unused <version>/site-lisp dir
|
||||||
|
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
|
||||||
|
|
||||||
|
if use gzip-el; then
|
||||||
|
# compress .el files when a corresponding .elc exists
|
||||||
|
find "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp -type f \
|
||||||
|
-name "*.elc" -print | sed 's/\.elc$/.el/' | xargs gzip -9n
|
||||||
|
assert "gzip .el failed"
|
||||||
|
fi
|
||||||
|
|
||||||
|
local cdir
|
||||||
|
if use source; then
|
||||||
|
cdir="/usr/share/emacs/${FULL_VERSION}/src"
|
||||||
|
insinto "${cdir}"
|
||||||
|
# This is not meant to install all the source -- just the
|
||||||
|
# C source you might find via find-function
|
||||||
|
doins src/*.{c,h,m}
|
||||||
|
elif has installsources ${FEATURES}; then
|
||||||
|
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
|
||||||
|
fi
|
||||||
|
|
||||||
|
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF
|
||||||
|
X
|
||||||
|
;;; ${PN}-${SLOT} site-lisp configuration
|
||||||
|
X
|
||||||
|
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
||||||
|
Y (setq find-function-C-source-directory
|
||||||
|
Y "${EPREFIX}${cdir}")
|
||||||
|
X (let ((path (getenv "INFOPATH"))
|
||||||
|
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
|
||||||
|
X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
|
||||||
|
X (and path
|
||||||
|
X ;; move Emacs Info dir before anything else in /usr/share/info
|
||||||
|
X (let* ((p (cons nil (split-string path ":" t))) (q p))
|
||||||
|
X (while (and (cdr q) (not (string-match re (cadr q))))
|
||||||
|
X (setq q (cdr q)))
|
||||||
|
X (setcdr q (cons dir (delete dir (cdr q))))
|
||||||
|
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
|
||||||
|
EOF
|
||||||
|
elisp-site-file-install "${T}/${SITEFILE}" || die
|
||||||
|
|
||||||
|
dodoc README BUGS
|
||||||
|
|
||||||
|
if use aqua; then
|
||||||
|
dodir /Applications/Gentoo
|
||||||
|
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
|
||||||
|
mv nextstep/Emacs.app \
|
||||||
|
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
DOC_CONTENTS="You can set the version to be started by /usr/bin/emacs
|
||||||
|
through the Emacs eselect module, which also redirects man and info
|
||||||
|
pages. Therefore, several Emacs versions can be installed at the
|
||||||
|
same time. \"man emacs.eselect\" for details.
|
||||||
|
\\n\\nIf you upgrade from Emacs version 24.2 or earlier, then it is
|
||||||
|
strongly recommended that you use app-admin/emacs-updater to rebuild
|
||||||
|
all byte-compiled elisp files of the installed Emacs packages."
|
||||||
|
use X && DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
|
||||||
|
Installing media-fonts/font-adobe-{75,100}dpi on the X server's
|
||||||
|
machine would satisfy basic Emacs requirements under X11.
|
||||||
|
See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs
|
||||||
|
for how to enable anti-aliased fonts."
|
||||||
|
use aqua && DOC_CONTENTS+="\\n\\nEmacs${EMACS_SUFFIX#emacs}.app is in
|
||||||
|
\"${EPREFIX}/Applications/Gentoo\". You may want to copy or symlink
|
||||||
|
it into /Applications by yourself."
|
||||||
|
readme.gentoo_create_doc
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
# move Info dir file to correct name
|
||||||
|
local infodir=/usr/share/info/${EMACS_SUFFIX} f
|
||||||
|
if [[ -f ${ED}${infodir}/dir.orig ]]; then
|
||||||
|
mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed"
|
||||||
|
elif [[ -d "${ED}"${infodir} ]]; then
|
||||||
|
# this should not happen in EAPI 4
|
||||||
|
ewarn "Regenerating Info directory index in ${infodir} ..."
|
||||||
|
rm -f "${ED}"${infodir}/dir{,.*}
|
||||||
|
for f in "${ED}"${infodir}/*; do
|
||||||
|
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
|
||||||
|
install-info --info-dir="${ED}"${infodir} "${f}" \
|
||||||
|
|| die "install-info failed"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
elisp-site-regen
|
||||||
|
|
||||||
|
local pvr
|
||||||
|
for pvr in ${REPLACING_VERSIONS}; do
|
||||||
|
[[ ${pvr%%[-_]*} = 24.[12] ]] && FORCE_PRINT_ELOG=1
|
||||||
|
done
|
||||||
|
readme.gentoo_print_elog
|
||||||
|
|
||||||
|
if use livecd; then
|
||||||
|
# force an update of the emacs symlink for the livecd/dvd,
|
||||||
|
# because some microemacs packages set it with USE=livecd
|
||||||
|
eselect emacs update
|
||||||
|
elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then
|
||||||
|
# refresh symlinks in case any installed files have changed
|
||||||
|
eselect emacs set ${EMACS_SUFFIX}
|
||||||
|
else
|
||||||
|
eselect emacs update ifunset
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
elisp-site-regen
|
||||||
|
eselect emacs update ifunset
|
||||||
|
}
|
@ -1,3 +1,2 @@
|
|||||||
DIST open-vm-tools-2013.04.16-1098359.tar.gz 3737845 SHA256 fc939de4133d66c0cced8d0a7b5d87edcad3f598393b71c341e66bfec5087960 SHA512 682c25e315e3108617fd4d419f5bba8bf45f4966f13fa60944650390f63af2a7e4fcf740052106693403fcc2ec6f8b126e9911cbba044fc227f0c663e19f68e0 WHIRLPOOL eb13974f1e0a837617fad8c49f45e73570b343071c0619cc8408b5b9812e135cd9eafffc35a761740a58875c3e5583c625300398346d5863a2fa468044f6dd5f
|
|
||||||
DIST open-vm-tools-2013.09.16-1328054.tar.gz 3793719 SHA256 470a6ea3ce14c2c5ea6b7bc59745eccbacc8d88a3f343e712312786435975d13 SHA512 7ae62d5411b4bdefd0e8db5f0a81bb357bfd4a624af06bf9a5a74f49ede0b7051b41dfe548c758fd7e73cded34af983c8aa0c412e65343092e05ae9b997895cb WHIRLPOOL 688fb4e494fb7aab7d0eb09189afff95ec8727bcc1893a4ec632bb8198661a1a55d58a813d2d56a3ac330fd7a55afc1fa7dc11f1d60c06c91ecf6a0bf866b249
|
DIST open-vm-tools-2013.09.16-1328054.tar.gz 3793719 SHA256 470a6ea3ce14c2c5ea6b7bc59745eccbacc8d88a3f343e712312786435975d13 SHA512 7ae62d5411b4bdefd0e8db5f0a81bb357bfd4a624af06bf9a5a74f49ede0b7051b41dfe548c758fd7e73cded34af983c8aa0c412e65343092e05ae9b997895cb WHIRLPOOL 688fb4e494fb7aab7d0eb09189afff95ec8727bcc1893a4ec632bb8198661a1a55d58a813d2d56a3ac330fd7a55afc1fa7dc11f1d60c06c91ecf6a0bf866b249
|
||||||
DIST open-vm-tools-9.4.0-1280544.tar.gz 3659504 SHA256 5d30652eb0f6dc5e930781029c184837e700be5543b6a7116db4c62a6f3ca399 SHA512 07b36f49713140606f74864b59c2e01c9ed83a960dd3f5d172b84fc75e760f7370065774a0e26897924af60454c86b682ca0fd32276b0e9fb17b268247f8cbdf WHIRLPOOL 88533768cf718de3b5f64e688597209fa2029d02cdf350d7fd05ec8dd8ca0f0c125a8d1445c1ec9287bc486076d5c335f3cc615c3f0b9aa7bac84e921da4c9e6
|
DIST open-vm-tools-9.4.0-1280544.tar.gz 3659504 SHA256 5d30652eb0f6dc5e930781029c184837e700be5543b6a7116db4c62a6f3ca399 SHA512 07b36f49713140606f74864b59c2e01c9ed83a960dd3f5d172b84fc75e760f7370065774a0e26897924af60454c86b682ca0fd32276b0e9fb17b268247f8cbdf WHIRLPOOL 88533768cf718de3b5f64e688597209fa2029d02cdf350d7fd05ec8dd8ca0f0c125a8d1445c1ec9287bc486076d5c335f3cc615c3f0b9aa7bac84e921da4c9e6
|
||||||
|
@ -1,80 +0,0 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-2013.04.16.1098359.ebuild,v 1.3 2013/08/24 19:18:21 floppym Exp $
|
|
||||||
|
|
||||||
EAPI="4"
|
|
||||||
|
|
||||||
inherit eutils linux-info linux-mod versionator
|
|
||||||
|
|
||||||
MY_PN="${PN/-kmod}"
|
|
||||||
MY_PV="$(replace_version_separator 3 '-')"
|
|
||||||
MY_P="${MY_PN}-${MY_PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="Opensourced tools for VMware guests"
|
|
||||||
HOMEPAGE="http://open-vm-tools.sourceforge.net/"
|
|
||||||
SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND=""
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
virtual/linux-sources
|
|
||||||
"
|
|
||||||
|
|
||||||
CONFIG_CHECK="
|
|
||||||
~DRM_VMWGFX
|
|
||||||
~VMWARE_BALLOON
|
|
||||||
~VMWARE_PVSCSI
|
|
||||||
~VMXNET3
|
|
||||||
"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
linux-mod_pkg_setup
|
|
||||||
|
|
||||||
VMWARE_MOD_DIR="modules/linux"
|
|
||||||
VMWARE_MODULE_LIST="vmblock vmci vmhgfs vmsync vmxnet vsock"
|
|
||||||
|
|
||||||
MODULE_NAMES=""
|
|
||||||
BUILD_TARGETS="auto-build HEADER_DIR=${KERNEL_DIR}/include BUILD_DIR=${KV_OUT_DIR} OVT_SOURCE_DIR=${S}"
|
|
||||||
|
|
||||||
for mod in ${VMWARE_MODULE_LIST};
|
|
||||||
do
|
|
||||||
if [ "${mod}" == "vmxnet" ];
|
|
||||||
then
|
|
||||||
MODTARGET="net"
|
|
||||||
else
|
|
||||||
MODTARGET="openvmtools"
|
|
||||||
fi
|
|
||||||
MODULE_NAMES="${MODULE_NAMES} ${mod}(${MODTARGET}:${S}/${VMWARE_MOD_DIR}/${mod})"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
sed -i.bak -e '/\smake\s/s/make/$(MAKE)/g' modules/linux/{vmblock,vmci,vmhgfs,vmsync,vmxnet,vsock}/Makefile\
|
|
||||||
|| die "Sed failed."
|
|
||||||
epatch "${FILESDIR}/frozen.patch"
|
|
||||||
epatch "${FILESDIR}/putname.patch"
|
|
||||||
epatch "${FILESDIR}/1098359-vmblock-3.10.0.patch"
|
|
||||||
epatch_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
: # do nothing at all
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
linux-mod_src_install
|
|
||||||
|
|
||||||
local udevrules="${T}/60-vmware.rules"
|
|
||||||
cat > "${udevrules}" <<-EOF
|
|
||||||
KERNEL=="vsock", GROUP="vmware", MODE=660
|
|
||||||
EOF
|
|
||||||
insinto /lib/udev/rules.d/
|
|
||||||
doins "${udevrules}"
|
|
||||||
}
|
|
@ -1,2 +1,3 @@
|
|||||||
DIST lynis-1.3.0.tar.gz 119797 SHA256 fe265965eb1ce8fac352e0bddea1d5ec6508c319bf88a5f63c2edecf2af6de54 SHA512 a2cf40fbc245e9ed89740026374f3b61110cc1e0282899284699a2271cb4996f30d0a91562d3e2eaf5eb165ab89d0860127ceeb5767aec1d5538b879657a76a8 WHIRLPOOL c19aaaf2f9ccd8141a86b1eeecf129ab83006b50ed428eb1801b58811b441f3c5cfea37d1333cf58fd372b3f40026735bdc2e44ace3de399a27e2e0dd8300fa3
|
DIST lynis-1.3.0.tar.gz 119797 SHA256 fe265965eb1ce8fac352e0bddea1d5ec6508c319bf88a5f63c2edecf2af6de54 SHA512 a2cf40fbc245e9ed89740026374f3b61110cc1e0282899284699a2271cb4996f30d0a91562d3e2eaf5eb165ab89d0860127ceeb5767aec1d5538b879657a76a8 WHIRLPOOL c19aaaf2f9ccd8141a86b1eeecf129ab83006b50ed428eb1801b58811b441f3c5cfea37d1333cf58fd372b3f40026735bdc2e44ace3de399a27e2e0dd8300fa3
|
||||||
DIST lynis-1.5.6.tar.gz 150664 SHA256 e74e97acc0d02ba2701034c10231edd9ae527398c25e6f1c669109f614c933ca SHA512 11eeb91d8179d41b27e69efe9c54f9d1e56fa921004af2d60fbaac30764d2aa097de2c402511c5d1e13e9785bdc729891ca98d1f9dcfc7113be8d30d1521454a WHIRLPOOL d50d0989534126f2792ecec97b5911fb5430c878ebae858433ce99f82a86eb348d9be5c83b426bad1083089d9633b15f8d85ee867073038511191a80312e4a2f
|
DIST lynis-1.5.6.tar.gz 150664 SHA256 e74e97acc0d02ba2701034c10231edd9ae527398c25e6f1c669109f614c933ca SHA512 11eeb91d8179d41b27e69efe9c54f9d1e56fa921004af2d60fbaac30764d2aa097de2c402511c5d1e13e9785bdc729891ca98d1f9dcfc7113be8d30d1521454a WHIRLPOOL d50d0989534126f2792ecec97b5911fb5430c878ebae858433ce99f82a86eb348d9be5c83b426bad1083089d9633b15f8d85ee867073038511191a80312e4a2f
|
||||||
|
DIST lynis-1.5.9.tar.gz 154084 SHA256 df2e9477f2926984fc559873ae7cbcf63d051af14d6cf3d2cf202daa8d859fbc SHA512 8f5b421ebd3fb5e0527eba563988bd856199dc380b64a907f5b43e0fb1c65101e683697a349408da18d422368524c9d1cca546fea21f5b99d2e1c88588be80d8 WHIRLPOOL e410009f4f13b89161c28cc84ec95c8a82896472731b065d92b809bc2dfc38b26a789c74b005785344eb2ff04648739a2a046ba1f8089fc8ee95408b3b489461
|
||||||
|
@ -0,0 +1,51 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-forensics/lynis/lynis-1.5.9.ebuild,v 1.1 2014/08/11 20:39:36 idl0r Exp $
|
||||||
|
|
||||||
|
EAPI="5"
|
||||||
|
|
||||||
|
inherit eutils
|
||||||
|
|
||||||
|
DESCRIPTION="Security and system auditing tool"
|
||||||
|
HOMEPAGE="http://cisofy.com/lynis/"
|
||||||
|
SRC_URI="http://cisofy.com/files/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND="app-shells/bash"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# Bug 507438
|
||||||
|
epatch_user
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
doman lynis.8
|
||||||
|
dodoc CHANGELOG FAQ README dev/TODO
|
||||||
|
|
||||||
|
# Remove the old one during the next stabilize progress
|
||||||
|
exeinto /etc/cron.daily
|
||||||
|
newexe "${FILESDIR}"/lynis.cron-new lynis
|
||||||
|
|
||||||
|
# stricter default perms - bug 507436
|
||||||
|
diropts -m0750
|
||||||
|
insopts -m0640
|
||||||
|
|
||||||
|
insinto /usr/share/${PN}
|
||||||
|
doins -r db/ include/ plugins/
|
||||||
|
|
||||||
|
dosbin lynis
|
||||||
|
|
||||||
|
insinto /etc/${PN}
|
||||||
|
doins default.prf
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
einfo
|
||||||
|
einfo "A cron script has been installed to ${ROOT}etc/cron.daily/lynis."
|
||||||
|
einfo
|
||||||
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue