parent
1b0a4b8d67
commit
9b017bc436
@ -1,162 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/festival-1.96_beta.ebuild,v 1.18 2012/05/31 02:14:16 zmedico Exp $
|
||||
|
||||
inherit eutils multilib toolchain-funcs user
|
||||
|
||||
DESCRIPTION="Festival Text to Speech engine"
|
||||
HOMEPAGE="http://www.cstr.ed.ac.uk/projects/festival/"
|
||||
SITE="http://www.festvox.org/packed/festival/latest"
|
||||
MY_P=${PN}-1.96-beta
|
||||
SRC_URI="${SITE}/${MY_P}.tar.gz
|
||||
${SITE}/festlex_CMU.tar.gz
|
||||
${SITE}/festlex_OALD.tar.gz
|
||||
${SITE}/festlex_POSLEX.tar.gz
|
||||
${SITE}/festvox_cmu_us_awb_arctic_hts.tar.gz
|
||||
${SITE}/festvox_cmu_us_bdl_arctic_hts.tar.gz
|
||||
${SITE}/festvox_cmu_us_jmk_arctic_hts.tar.gz
|
||||
${SITE}/festvox_cmu_us_slt_arctic_hts.tar.gz
|
||||
${SITE}/festvox_kallpc16k.tar.gz
|
||||
${SITE}/festvox_kedlpc16k.tar.gz
|
||||
mbrola? (
|
||||
${SITE}/festvox_us1.tar.gz
|
||||
${SITE}/festvox_us2.tar.gz
|
||||
${SITE}/festvox_us3.tar.gz )"
|
||||
LICENSE="FESTIVAL BSD as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE="alsa mbrola"
|
||||
|
||||
SP_DEPEND="~app-accessibility/speech-tools-1.2.96_beta"
|
||||
|
||||
DEPEND="${SP_DEPEND}
|
||||
alsa? ( media-sound/alsa-utils )"
|
||||
RDEPEND="${SP_DEPEND}
|
||||
mbrola? ( <=app-accessibility/mbrola-3.0.1h-r5 )"
|
||||
|
||||
S=${WORKDIR}/festival
|
||||
|
||||
pkg_setup() {
|
||||
enewuser festival -1 -1 -1 audio
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
# tell festival to use the speech-tools we have installed.
|
||||
sed -i -e "s:\(EST=\).*:\1/usr/share/speech-tools:" "${S}"/config/config.in
|
||||
sed -i -e "s:\$(EST)/lib:/usr/$(get_libdir):" "${S}"/config/project.mak
|
||||
|
||||
# disable the multisyn modules
|
||||
#sed -i -e "s:\(ALSO_INCLUDE.*=.*MultiSyn\):# \1:" "${S}"/config/config.in
|
||||
sed -i -e 's/clunits hts_engine MultiSyn/clunits hts_engine/g' "${S}"/config/config.in
|
||||
|
||||
# fix the reference to /usr/lib/festival
|
||||
sed -i -e "s:\(FTLIBDIR.*=.*\)\$.*:\1/usr/share/festival:" "${S}"/config/project.mak
|
||||
|
||||
# Fix path for examples in festival.scm
|
||||
sed -i -e "s:\.\./examples/:/usr/share/doc/${PF}/examples/:" "${S}"/lib/festival.scm
|
||||
|
||||
# patch init.scm to look for siteinit.scm and sitevars.scm in /etc/festival
|
||||
epatch "${FILESDIR}"/${P}-init-scm.patch
|
||||
|
||||
# Apply a patch for gcc4.3.
|
||||
epatch "${FILESDIR}"/${P}-gcc43.patch
|
||||
|
||||
if use alsa; then
|
||||
echo "(Parameter.set 'Audio_Command \"aplay -q -c 1 -t raw -f s16 -r \$SR \$FILE\")" >> ${S}/lib/siteinit.scm
|
||||
echo "(Parameter.set 'Audio_Method 'Audio_Command)" >> ${S}/lib/siteinit.scm
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf || die
|
||||
emake -j1 PROJECT_LIBDEPS="" REQUIRED_LIBDEPS="" LOCAL_LIBDEPS="" OPTIMISE_CXXFLAGS="${CXXFLAGS}" OPTIMISE_CCFLAGS="${CFLAGS}" CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Install the binaries
|
||||
dobin src/main/festival
|
||||
dobin lib/etc/*Linux*/audsp
|
||||
dolib.a src/lib/libFestival.a
|
||||
|
||||
# Install the main libraries
|
||||
insinto /usr/share/festival
|
||||
doins -r lib/*
|
||||
|
||||
# Install the examples
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
|
||||
# Need to fix saytime, etc. to look for festival in the correct spot
|
||||
for ex in "${D}"/usr/share/doc/${PF}/examples/*.sh; do
|
||||
exnoext=${ex%%.sh}
|
||||
chmod a+x "${exnoext}"
|
||||
dosed "s:${S}/bin/festival:/usr/bin/festival:" "${exnoext##$D}"
|
||||
done
|
||||
|
||||
# Install the header files
|
||||
insinto /usr/include/festival
|
||||
doins src/include/*.h
|
||||
|
||||
insinto /etc/festival
|
||||
# Sample server.scm configuration for the server
|
||||
doins "${FILESDIR}"/server.scm
|
||||
doins lib/site*
|
||||
|
||||
# Install the init script
|
||||
newinitd "${FILESDIR}"/festival.rc festival
|
||||
|
||||
# Install the docs
|
||||
dodoc "${S}"/{ACKNOWLEDGMENTS,NEWS,README}
|
||||
doman "${S}"/doc/{festival.1,festival_client.1}
|
||||
|
||||
# create the directory where our log file will go.
|
||||
diropts -m 0755 -o festival -g audio
|
||||
keepdir /var/log/festival
|
||||
|
||||
use mbrola && mbrola_voices
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog " Useful examples include saytime, text2wave. For example, try:"
|
||||
elog " \"/usr/share/doc/${PF}/examples/saytime\""
|
||||
elog
|
||||
elog " Or for something more fun:"
|
||||
elog ' "echo "Gentoo can speak" | festival --tts"'
|
||||
elog
|
||||
elog " To enable the festival server at boot, run"
|
||||
elog " rc-update add festival default"
|
||||
elog
|
||||
elog " You must setup the server's port, access list, etc in this file:"
|
||||
elog " /etc/festival/server.scm"
|
||||
elog
|
||||
elog "This version also allows configuration of site specific"
|
||||
elog "initialization in /etc/festival/siteinit.scm and"
|
||||
elog "variables in /etc/festival/sitevars.scm."
|
||||
elog
|
||||
}
|
||||
|
||||
# Fix mbrola databases: create symbolic links from festival voices
|
||||
# directories to MBROLA install dirs.
|
||||
mbrola_voices() {
|
||||
|
||||
# This is in case there is no mbrola voice for a particular language.
|
||||
local shopts=$(shopt -p nullglob)
|
||||
shopt -s nullglob
|
||||
|
||||
# This assumes all mbrola voices are named after the voices defined
|
||||
# in MBROLA, i.e. if MBROLA contains a voice fr1, then the Festival
|
||||
# counterpart should be named fr1_mbrola.
|
||||
for language in "${S}"/lib/voices/*; do
|
||||
for mvoice in ${language}/*_mbrola; do
|
||||
voice=${mvoice##*/}
|
||||
database=${voice%%_mbrola}
|
||||
dosym /opt/mbrola/${database} /usr/share/festival/voices/${language##*/}/${voice}/${database}
|
||||
done
|
||||
done
|
||||
|
||||
# Restore shopts
|
||||
${shopts}
|
||||
}
|
@ -0,0 +1,125 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/festival-2.1-r1.ebuild,v 1.1 2012/12/04 04:50:43 neurogeek Exp $
|
||||
|
||||
EAPI="2"
|
||||
inherit eutils multilib toolchain-funcs user
|
||||
|
||||
MY_PV="${PV}-release"
|
||||
MY_P=${PN}-${MY_PV}
|
||||
|
||||
DESCRIPTION="Festival Text to Speech engine"
|
||||
HOMEPAGE="http://www.cstr.ed.ac.uk/projects/festival/"
|
||||
SITE="http://www.festvox.org/packed/${PN}/${PV}"
|
||||
SRC_URI="${SITE}/${MY_P}.tar.gz
|
||||
${SITE}/festlex_CMU.tar.gz
|
||||
${SITE}/festlex_OALD.tar.gz
|
||||
${SITE}/festlex_POSLEX.tar.gz
|
||||
${SITE}/festvox_cmu_us_awb_cg.tar.gz
|
||||
${SITE}/festvox_cmu_us_rms_cg.tar.gz
|
||||
${SITE}/festvox_cmu_us_slt_arctic_hts.tar.gz
|
||||
${SITE}/festvox_rablpc16k.tar.gz
|
||||
${SITE}/festvox_kallpc16k.tar.gz
|
||||
${SITE}/speech_tools-${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="FESTIVAL BSD as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="~app-accessibility/speech-tools-2.1
|
||||
>=sys-libs/ncurses-5.6-r2"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/festival
|
||||
|
||||
pkg_setup() {
|
||||
enewuser festival -1 -1 -1 audio
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# tell festival to use the speech-tools we have installed.
|
||||
sed -i -e "s:\(EST=\).*:\1${EPREFIX}/usr/share/speech-tools:" "${S}"/config/config.in
|
||||
sed -i -e "s:\$(EST)/lib:/usr/$(get_libdir):" "${S}"/config/project.mak
|
||||
|
||||
# fix the reference to /usr/lib/festival
|
||||
sed -i -e "s:\(FTLIBDIR.*=.*\)\$.*:\1${EPREFIX}/usr/share/festival:" "${S}"/config/project.mak
|
||||
|
||||
# Fix path for examples in festival.scm
|
||||
sed -i -e "s:\.\./examples/:${EPREFIX}/usr/share/doc/${PF}/examples/:" "${S}"/lib/festival.scm
|
||||
|
||||
epatch "${FILESDIR}/${P}-ldflags.patch"
|
||||
epatch "${FILESDIR}/${P}-init-scm.patch"
|
||||
epatch "${FILESDIR}/${P}-gentoo-system.patch"
|
||||
|
||||
# copy what we need for MultiSyn from speech_tools.
|
||||
cp -pr "${WORKDIR}"/speech_tools/base_class "${S}"/src/modules/MultiSyn
|
||||
|
||||
epatch "${FILESDIR}/${P}-gcc4.7.patch"
|
||||
|
||||
echo "(Parameter.set 'Audio_Command \"aplay -q -c 1 -t raw -f s16 -r \$SR \$FILE\")" >> "${S}"/lib/siteinit.scm
|
||||
echo "(Parameter.set 'Audio_Method 'Audio_Command)" >> "${S}"/lib/siteinit.scm
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf || die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 PROJECT_LIBDEPS="" REQUIRED_LIBDEPS="" LOCAL_LIBDEPS="" \
|
||||
OPTIMISE_CXXFLAGS="${CXXFLAGS}" OPTIMISE_CCFLAGS="${CFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Install the binaries
|
||||
dobin src/main/festival
|
||||
dobin lib/etc/*Linux*/audsp
|
||||
dolib.a src/lib/libFestival.a
|
||||
|
||||
# Install the main libraries
|
||||
insinto /usr/share/festival
|
||||
doins -r lib/*
|
||||
|
||||
# Install the examples
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
|
||||
# Need to fix saytime, etc. to look for festival in the correct spot
|
||||
for ex in "${D}"/usr/share/doc/${PF}/examples/*.sh; do
|
||||
exnoext=${ex%%.sh}
|
||||
chmod a+x "${exnoext}"
|
||||
dosed "s:${S}/bin/festival:/usr/bin/festival:" "${exnoext##$D}"
|
||||
done
|
||||
|
||||
# Install the header files
|
||||
insinto /usr/include/festival
|
||||
doins src/include/*.h
|
||||
|
||||
insinto /etc/festival
|
||||
doins lib/site*
|
||||
|
||||
# Install the docs
|
||||
dodoc "${S}"/{ACKNOWLEDGMENTS,NEWS,README}
|
||||
doman "${S}"/doc/{festival.1,festival_client.1}
|
||||
|
||||
# create the directory where our log file will go.
|
||||
diropts -m 0755 -o festival -g audio
|
||||
keepdir /var/log/festival
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog " Useful examples include saytime, text2wave. For example, try:"
|
||||
elog " \"/usr/share/doc/${PF}/examples/saytime\""
|
||||
elog
|
||||
elog " Or for something more fun:"
|
||||
elog ' "echo "Gentoo can speak" | festival --tts"'
|
||||
elog
|
||||
elog "This version also allows configuration of site specific"
|
||||
elog "initialization in /etc/festival/siteinit.scm and"
|
||||
elog "variables in /etc/festival/sitevars.scm."
|
||||
elog
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
diff -Naur festival-orig/src/modules/Text/text_modes.cc festival/src/modules/Text/text_modes.cc
|
||||
--- festival-orig/src/modules/Text/text_modes.cc 2004-09-30 07:04:18.000000000 -0600
|
||||
+++ festival/src/modules/Text/text_modes.cc 2008-01-07 22:32:44.000000000 -0600
|
||||
@@ -60,7 +60,7 @@
|
||||
{
|
||||
|
||||
volatile EST_String tmpname = make_tmp_filename();
|
||||
- volatile EST_String inname = get_c_string(filename);
|
||||
+ volatile EST_String inname(get_c_string(filename));
|
||||
volatile EST_String filter;
|
||||
volatile EST_TokenStream ts;
|
||||
volatile LISP func;
|
@ -1,100 +0,0 @@
|
||||
diff -Naur festival.orig/lib/voices/us/cmu_us_awb_arctic_hts/festvox/cmu_us_awb_arctic_f0model.scm festival/lib/voices/us/cmu_us_awb_arctic_hts/festvox/cmu_us_awb_arctic_f0model.scm
|
||||
--- festival.orig/lib/voices/us/cmu_us_awb_arctic_hts/festvox/cmu_us_awb_arctic_f0model.scm 2003-08-01 15:12:59.000000000 +0100
|
||||
+++ festival/lib/voices/us/cmu_us_awb_arctic_hts/festvox/cmu_us_awb_arctic_f0model.scm 2009-01-28 21:34:30.000000000 +0000
|
||||
@@ -35,7 +35,7 @@
|
||||
;;;
|
||||
|
||||
;;; Load any necessary files here
|
||||
-;(require 'f2bf0lr)
|
||||
+(require 'f2bf0lr)
|
||||
(require 'cmu_us_awb_arctic_f0clunits)
|
||||
|
||||
(set! cmu_us_awb_arctic_int_lr_params
|
||||
diff -Naur festival.orig/lib/voices/us/cmu_us_awb_arctic_hts/festvox/cmu_us_awb_arctic_hts.scm festival/lib/voices/us/cmu_us_awb_arctic_hts/festvox/cmu_us_awb_arctic_hts.scm
|
||||
--- festival.orig/lib/voices/us/cmu_us_awb_arctic_hts/festvox/cmu_us_awb_arctic_hts.scm 2004-06-07 08:50:56.000000000 +0100
|
||||
+++ festival/lib/voices/us/cmu_us_awb_arctic_hts/festvox/cmu_us_awb_arctic_hts.scm 2009-01-28 21:33:58.000000000 +0000
|
||||
@@ -115,12 +115,12 @@
|
||||
(list "-md" (path-append hts_data_dir "duration.pdf"))
|
||||
(list "-mm" (path-append hts_data_dir "mcep.pdf"))
|
||||
(list "-mf" (path-append hts_data_dir "lf0.pdf"))
|
||||
- '("-a" " 0.420000")
|
||||
- '("-r" " 0.000000")
|
||||
- '("-fs" "1.000000")
|
||||
- '("-fm" "0.000000")
|
||||
- '("-u" " 0.500000")
|
||||
- '("-l" " 0.000000")
|
||||
+ '("-a" 0.420000)
|
||||
+ '("-r" 0.000000)
|
||||
+ '("-fs" 1.000000)
|
||||
+ '("-fm" 0.000000)
|
||||
+ '("-u" 0.500000)
|
||||
+ '("-l" 0.000000)
|
||||
))
|
||||
|
||||
;; This function is called to setup a voice. It will typically
|
||||
diff -Naur festival.orig/lib/voices/us/cmu_us_bdl_arctic_hts/festvox/cmu_us_bdl_arctic_hts.scm festival/lib/voices/us/cmu_us_bdl_arctic_hts/festvox/cmu_us_bdl_arctic_hts.scm
|
||||
--- festival.orig/lib/voices/us/cmu_us_bdl_arctic_hts/festvox/cmu_us_bdl_arctic_hts.scm 2004-06-07 07:29:03.000000000 +0100
|
||||
+++ festival/lib/voices/us/cmu_us_bdl_arctic_hts/festvox/cmu_us_bdl_arctic_hts.scm 2009-01-28 21:33:58.000000000 +0000
|
||||
@@ -115,12 +115,12 @@
|
||||
(list "-md" (path-append hts_data_dir "duration.pdf"))
|
||||
(list "-mm" (path-append hts_data_dir "mcep.pdf"))
|
||||
(list "-mf" (path-append hts_data_dir "lf0.pdf"))
|
||||
- '("-a" " 0.420000")
|
||||
- '("-r" " 0.000000")
|
||||
- '("-fs" "1.000000")
|
||||
- '("-fm" "0.000000")
|
||||
- '("-u" " 0.500000")
|
||||
- '("-l" " 0.000000")
|
||||
+ '("-a" 0.420000)
|
||||
+ '("-r" 0.000000)
|
||||
+ '("-fs" 1.000000)
|
||||
+ '("-fm" 0.000000)
|
||||
+ '("-u" 0.500000)
|
||||
+ '("-l" 0.000000)
|
||||
))
|
||||
|
||||
;; This function is called to setup a voice. It will typically
|
||||
diff -Naur festival.orig/lib/voices/us/cmu_us_jmk_arctic_hts/festvox/cmu_us_jmk_arctic_hts.scm festival/lib/voices/us/cmu_us_jmk_arctic_hts/festvox/cmu_us_jmk_arctic_hts.scm
|
||||
--- festival.orig/lib/voices/us/cmu_us_jmk_arctic_hts/festvox/cmu_us_jmk_arctic_hts.scm 2004-06-07 06:59:22.000000000 +0100
|
||||
+++ festival/lib/voices/us/cmu_us_jmk_arctic_hts/festvox/cmu_us_jmk_arctic_hts.scm 2009-01-28 21:33:58.000000000 +0000
|
||||
@@ -115,12 +115,12 @@
|
||||
(list "-md" (path-append hts_data_dir "duration.pdf"))
|
||||
(list "-mm" (path-append hts_data_dir "mcep.pdf"))
|
||||
(list "-mf" (path-append hts_data_dir "lf0.pdf"))
|
||||
- '("-a" " 0.420000")
|
||||
- '("-r" " 0.000000")
|
||||
- '("-fs" "1.000000")
|
||||
- '("-fm" "0.000000")
|
||||
- '("-u" " 0.500000")
|
||||
- '("-l" " 0.000000")
|
||||
+ '("-a" 0.420000)
|
||||
+ '("-r" 0.000000)
|
||||
+ '("-fs" 1.000000)
|
||||
+ '("-fm" 0.000000)
|
||||
+ '("-u" 0.500000)
|
||||
+ '("-l" 0.000000)
|
||||
))
|
||||
|
||||
;; This function is called to setup a voice. It will typically
|
||||
diff -Naur festival.orig/lib/voices/us/cmu_us_slt_arctic_hts/festvox/cmu_us_slt_arctic_hts.scm festival/lib/voices/us/cmu_us_slt_arctic_hts/festvox/cmu_us_slt_arctic_hts.scm
|
||||
--- festival.orig/lib/voices/us/cmu_us_slt_arctic_hts/festvox/cmu_us_slt_arctic_hts.scm 2004-06-07 04:54:46.000000000 +0100
|
||||
+++ festival/lib/voices/us/cmu_us_slt_arctic_hts/festvox/cmu_us_slt_arctic_hts.scm 2009-01-28 21:33:58.000000000 +0000
|
||||
@@ -115,12 +115,12 @@
|
||||
(list "-md" (path-append hts_data_dir "duration.pdf"))
|
||||
(list "-mm" (path-append hts_data_dir "mcep.pdf"))
|
||||
(list "-mf" (path-append hts_data_dir "lf0.pdf"))
|
||||
- '("-a" " 0.420000")
|
||||
- '("-r" " 0.000000")
|
||||
- '("-fs" "1.000000")
|
||||
- '("-fm" "0.000000")
|
||||
- '("-u" " 0.500000")
|
||||
- '("-l" " 0.000000")
|
||||
+ '("-a" 0.420000)
|
||||
+ '("-r" 0.000000)
|
||||
+ '("-fs" 1.000000)
|
||||
+ '("-fm" 0.000000)
|
||||
+ '("-u" 0.500000)
|
||||
+ '("-l" 0.000000)
|
||||
))
|
||||
|
||||
;; This function is called to setup a voice. It will typically
|
@ -1,24 +0,0 @@
|
||||
--- festival/lib/init.scm 2006-09-15 01:34:32.000000000 -0500
|
||||
+++ festival/lib/init.scm 2006-09-15 01:50:30.000000000 -0500
|
||||
@@ -52,8 +52,8 @@
|
||||
|
||||
;;; A chance to set various variables to a local setting e.g.
|
||||
;;; lexdir, voices_dir audio etc etc.
|
||||
-(if (probe_file (path-append libdir "sitevars.scm"))
|
||||
- (load (path-append libdir "sitevars.scm")))
|
||||
+(if (probe_file "/etc/festival/sitevars.scm")
|
||||
+ (load "/etc/festival/sitevars.scm"))
|
||||
|
||||
;;; CSTR siod extensions
|
||||
(require 'cstr)
|
||||
@@ -133,8 +133,8 @@
|
||||
;;;
|
||||
;;; Local site initialization, if the file exists load it
|
||||
;;;
|
||||
-(if (probe_file (path-append libdir "siteinit.scm"))
|
||||
- (load (path-append libdir "siteinit.scm")))
|
||||
+(if (probe_file "/etc/festival/siteinit.scm")
|
||||
+ (load "/etc/festival/siteinit.scm"))
|
||||
|
||||
;;; User initialization, if a user has a personal customization
|
||||
;;; file loaded it
|
@ -0,0 +1,29 @@
|
||||
diff -uNr festival.orig/src/modules/MultiSyn/base_class/EST_TSimpleVector.cc festival/src/modules/MultiSyn/base_class/EST_TSimpleVector.cc
|
||||
--- festival.orig/src/modules/MultiSyn/base_class/EST_TSimpleVector.cc 2012-12-02 23:03:27.000000000 +0000
|
||||
+++ festival/src/modules/MultiSyn/base_class/EST_TSimpleVector.cc 2012-12-02 23:21:17.000000000 +0000
|
||||
@@ -42,6 +42,7 @@
|
||||
|
||||
#include "EST_TSimpleVector.h"
|
||||
#include "EST_matrix_support.h"
|
||||
+#include <cstring>
|
||||
#include <fstream>
|
||||
#include "EST_cutils.h"
|
||||
|
||||
@@ -49,7 +50,7 @@
|
||||
{
|
||||
if (this->p_column_step==1 && a.p_column_step==1)
|
||||
{
|
||||
- resize(a.n(), FALSE);
|
||||
+ this->resize(a.n(), FALSE);
|
||||
memcpy((void *)(this->p_memory), (const void *)(a.p_memory), this->n() * sizeof(T));
|
||||
}
|
||||
else
|
||||
@@ -70,7 +71,7 @@
|
||||
int old_offset = this->p_offset;
|
||||
unsigned int q;
|
||||
|
||||
- just_resize(newn, &old_vals);
|
||||
+ this->just_resize(newn, &old_vals);
|
||||
|
||||
if (set && old_vals)
|
||||
{
|
@ -1,22 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2004 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/files/festival.rc,v 1.5 2009/11/01 18:52:39 eva Exp $
|
||||
|
||||
depend() {
|
||||
need net
|
||||
use alsasound esound
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting festival"
|
||||
start-stop-daemon --start --quiet --background --make-pidfile --pidfile /var/run/festival.pid \
|
||||
--chuid festival --exec /usr/bin/festival -- --server -b /etc/festival/server.scm
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping festival"
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/festival.pid
|
||||
eend $?
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
; Maximum number of clients on the server
|
||||
(set! server_max_clients 10)
|
||||
|
||||
; Server port
|
||||
(set! server_port 1314)
|
||||
|
||||
; Log file location
|
||||
(set! server_log_file "/var/log/festival/festival.log")
|
||||
|
||||
; Set the server password
|
||||
(set! server_passwd nil)
|
||||
|
||||
; Server access list (hosts)
|
||||
; (set! server_access_list '("[^.]+" "127.0.0.1" "localhost.*" "192.168.*"))
|
||||
(set! server_access_list '("[^.]+" "127.0.0.1" "localhost" ))
|
||||
|
||||
|
||||
; Server deny list (hosts)
|
||||
(set! server_deny_list nil)
|
||||
|
@ -0,0 +1,102 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-tools/speech-tools-2.1-r2.ebuild,v 1.1 2012/12/04 04:09:02 neurogeek Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs
|
||||
|
||||
MY_P=${P/speech-/speech_}
|
||||
PATCHSET="r2"
|
||||
|
||||
DESCRIPTION="Speech tools for Festival Text to Speech engine"
|
||||
HOMEPAGE="http://www.cstr.ed.ac.uk/projects/speech_tools/"
|
||||
SRC_URI="http://www.festvox.org/packed/festival/${PV}/${MY_P}-release.tar.gz
|
||||
http://dev.gentoo.org/~neurogeek/${PN}/${MY_P}-${PATCHSET}-patches.tar.gz"
|
||||
|
||||
LICENSE="FESTIVAL BSD as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="nas X"
|
||||
|
||||
DEPEND="nas? ( media-libs/nas )
|
||||
X? ( x11-libs/libX11
|
||||
x11-libs/libXt )
|
||||
>=media-libs/alsa-lib-1.0.20-r1
|
||||
!<app-accessibility/festival-1.96_beta
|
||||
!sys-power/powerman
|
||||
>=sys-libs/ncurses-5.6-r2"
|
||||
|
||||
RDEPEND=${DEPEND}
|
||||
|
||||
S="${WORKDIR}/speech_tools"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_SUFFIX="patch"
|
||||
epatch
|
||||
|
||||
sed -i -e 's,{{HORRIBLELIBARCHKLUDGE}},"/usr/$(get_libdir)",' main/siod_main.cc
|
||||
|
||||
#WRT bug #309983
|
||||
sed -i -e "s:\(GCC_SYSTEM_OPTIONS =\).*:\1:" "${S}"/config/systems/sparc_SunOS5.mak
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local CONFIG=config/config.in
|
||||
sed -i -e 's/@COMPILERTYPE@/gcc42/' ${CONFIG}
|
||||
if use nas; then
|
||||
sed -i -e "s/#.*\(INCLUDE_MODULES += NAS_AUDIO\)/\1/" ${CONFIG}
|
||||
fi
|
||||
if ! use X; then
|
||||
sed -i -e "s/-lX11 -lXt//" config/modules/esd_audio.mak
|
||||
fi
|
||||
econf || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 CC="$(tc-getCC)" CXX="$(tc-getCXX)" CXX_OTHER_FLAGS="${CXXFLAGS}" CC_OTHER_FLAGS="${CFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}" || die "Compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dolib.so lib/libest*.so*
|
||||
|
||||
dodoc "${S}"/README
|
||||
dodoc "${S}"/lib/cstrutt.dtd
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r lib/example_data
|
||||
|
||||
insinto /usr/share/speech-tools
|
||||
doins -r config base_class
|
||||
|
||||
insinto /usr/share/speech-tools/lib
|
||||
doins -r lib/siod
|
||||
|
||||
cd include
|
||||
insinto /usr/include/speech-tools
|
||||
doins -r *
|
||||
dosym /usr/include/speech-tools /usr/share/speech-tools/include
|
||||
|
||||
cd ../bin
|
||||
for file in *; do
|
||||
[ "${file}" = "Makefile" ] && continue
|
||||
dobin ${file}
|
||||
dstfile="${D}/usr/bin/${file}"
|
||||
sed -i -e "s:${S}/testsuite/data:/usr/share/speech-tools/testsuite:g" ${dstfile}
|
||||
sed -i -e "s:${S}/bin:/usr/$(get_libdir)/speech-tools:g" ${dstfile}
|
||||
sed -i -e "s:${S}/main:/usr/$(get_libdir)/speech-tools:g" ${dstfile}
|
||||
|
||||
# This just changes LD_LIBRARY_PATH
|
||||
sed -i -e "s:${S}/lib:/usr/$(get_libdir):g" ${dstfile}
|
||||
done
|
||||
|
||||
cd "${S}"
|
||||
exeinto /usr/$(get_libdir)/speech-tools
|
||||
for file in `find main -perm +100 -type f`; do
|
||||
doexe ${file}
|
||||
done
|
||||
|
||||
#Remove /usr/bin/resynth as it is broken. See bug #253556
|
||||
rm "${D}/usr/bin/resynth"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST collectd-5.1.0.tar.bz2 1305538 SHA256 521d4be7df5bc1124b7b9ea88227e95839a5f7c1b704a5bde0f60f058ec6eecb SHA512 c107bdad66d90d6e299ba0da68cc0726e3b0541efd7d672687713f5a414765d2afbd66a8c834da36dafe201dc0ec97caf80844d5f0354503fa67fcbfe0d43725 WHIRLPOOL 3de7d344d622ac20cb63fc0ce78e5d18c7d57d52e76ea09a47fc58bc339cf1108baa521e142a3d386f56dbf7a83311f2f93489241f2061da90900617f1715e8c
|
||||
DIST collectd-5.1.1.tar.bz2 1331678 SHA256 0eeb8e45c83ba13fa00bd4f6875528e8a13769ba218205785d40b861489bf1fd SHA512 5d5f30ddb9ded3b48b64efdc1a4dbbbfe1601c16fc2450a7d1a1786493b12e01da66f23eca4d59853326b3c598b2fa9475f036e78e0d9e50b3f5ddd3a37c3c9b WHIRLPOOL 6a7256f1dc526bd0b6cb4c4845d511257c2c61c0de9c17ecff6751ad89698eb4127fe1cba4919920772bacd2a3c6966201ea162e61caf8e9f4e5baeaa0fb20e2
|
||||
DIST collectd-5.2.0.tar.bz2 1391762 SHA256 3f8dd235b8e2493a4ad558e3cd15b89007a0deaaef5481782d1e8e048dd43e4f SHA512 c98fe0b64df0c4dcbc254fb0781d3aae15985c89a8b9121d2e79fafbac0d8b290b02b27c3eca0e471305086a36db10dcecb2d27c71eb87b0c9dc9e2eff1c02f2 WHIRLPOOL 1ed6b089870879bf294b53154738a9cce480885250c10d61b7b5a6502ff191a9e3942e312bcd3de530cb6e9486165dd4d6d2ad7659e6e051aa135c26f2c68f65
|
||||
|
@ -0,0 +1,354 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/collectd/collectd-5.1.1-r1.ebuild,v 1.1 2012/12/03 20:49:27 hwoarang Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils base linux-info perl-app autotools multilib user
|
||||
|
||||
DESCRIPTION="A small daemon which collects system performance statistics - with a near-infinite number of plugins"
|
||||
HOMEPAGE="http://collectd.org"
|
||||
SRC_URI="${HOMEPAGE}/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="contrib debug kernel_linux kernel_FreeBSD kernel_Darwin perl static-libs"
|
||||
|
||||
# The plugin lists have to follow here since they extend IUSE
|
||||
|
||||
# Plugins that to my knowledge cannot be supported (eg. dependencies not in gentoo)
|
||||
COLLECTD_IMPOSSIBLE_PLUGINS="netapp pinba xmms"
|
||||
|
||||
# Plugins that still need some work
|
||||
COLLECTD_UNTESTED_PLUGINS="ipvs apple_sensors tape zfs_arc modbus amqp genericjmx lpar redis threshold write_redis v5upgrade"
|
||||
|
||||
# Plugins that have been (compile) tested and can be enabled via COLLECTD_PLUGINS
|
||||
COLLECTD_TESTED_PLUGINS="apache apcups ascent battery bind conntrack contextswitch
|
||||
cpu cpufreq curl curl_json curl_xml dbi df disk dns email entropy ethstat exec filecount fscache gmond
|
||||
hddtemp interface ipmi iptables irq java libvirt load madwifi mbmon md memcachec
|
||||
memcached memory multimeter mysql netlink network nfs nginx ntpd numa nut olsrd
|
||||
onewire openvpn perl ping postgresql powerdns processes protocols python
|
||||
rrdcached sensors serial snmp swap table tail tcpconns teamspeak2 ted thermal
|
||||
tokyotyrant uptime users varnish vmem vserver wireless csv exec logfile network
|
||||
notify_desktop notify_email oracle perl python routeros rrdcached rrdtool syslog unixsock
|
||||
write_graphite write_http write_mongodb match_empty_counter match_hashed match_regex match_timediff
|
||||
match_value target_notification target_replace target_scale target_set uuid"
|
||||
|
||||
COLLECTD_DISABLED_PLUGINS="${COLLECTD_IMPOSSIBLE_PLUGINS} ${COLLECTD_UNTESTED_PLUGINS}"
|
||||
|
||||
COLLECTD_ALL_PLUGINS=${COLLECTD_TESTED_PLUGINS}
|
||||
|
||||
for plugin in ${COLLECTD_ALL_PLUGINS}; do
|
||||
IUSE="${IUSE} collectd_plugins_${plugin}"
|
||||
done
|
||||
unset plugin
|
||||
|
||||
# Now come the dependencies.
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-libs/libgcrypt
|
||||
sys-devel/libtool
|
||||
perl? ( dev-lang/perl[ithreads] ( || ( sys-devel/libperl[ithreads] >=sys-devel/libperl-5.10 ) ) )
|
||||
collectd_plugins_apache? ( net-misc/curl )
|
||||
collectd_plugins_ascent? ( net-misc/curl dev-libs/libxml2 )
|
||||
collectd_plugins_bind? ( dev-libs/libxml2 )
|
||||
collectd_plugins_curl? ( net-misc/curl )
|
||||
collectd_plugins_curl_json? ( net-misc/curl dev-libs/yajl )
|
||||
collectd_plugins_curl_xml? ( net-misc/curl dev-libs/libxml2 )
|
||||
collectd_plugins_dbi? ( dev-db/libdbi )
|
||||
collectd_plugins_dns? ( net-libs/libpcap )
|
||||
collectd_plugins_gmond? ( sys-cluster/ganglia )
|
||||
collectd_plugins_ipmi? ( >=sys-libs/openipmi-2.0.16-r1 )
|
||||
collectd_plugins_iptables? ( >=net-firewall/iptables-1.4.13 )
|
||||
collectd_plugins_java? ( virtual/jre dev-java/java-config-wrapper )
|
||||
collectd_plugins_libvirt? ( app-emulation/libvirt dev-libs/libxml2 )
|
||||
collectd_plugins_memcachec? ( dev-libs/libmemcached )
|
||||
collectd_plugins_mysql? ( >=virtual/mysql-5.0 )
|
||||
collectd_plugins_netlink? ( >=sys-apps/iproute2-3.3.0 )
|
||||
collectd_plugins_nginx? ( net-misc/curl )
|
||||
collectd_plugins_notify_desktop? ( x11-libs/libnotify )
|
||||
collectd_plugins_notify_email? ( >=net-libs/libesmtp-1.0.4 dev-libs/openssl )
|
||||
collectd_plugins_nut? ( sys-power/nut )
|
||||
collectd_plugins_onewire? ( sys-fs/owfs )
|
||||
collectd_plugins_oracle? ( >=dev-db/oracle-instantclient-basic-11.2.0.1.0 )
|
||||
collectd_plugins_perl? ( dev-lang/perl[ithreads] ( || ( sys-devel/libperl[ithreads] >=sys-devel/libperl-5.10 ) ) )
|
||||
collectd_plugins_ping? ( net-libs/liboping )
|
||||
collectd_plugins_postgresql? ( >=dev-db/postgresql-base-8.2 )
|
||||
collectd_plugins_python? ( =dev-lang/python-2* )
|
||||
collectd_plugins_routeros? ( net-libs/librouteros )
|
||||
collectd_plugins_rrdcached? ( >=net-analyzer/rrdtool-1.4 )
|
||||
collectd_plugins_rrdtool? ( >=net-analyzer/rrdtool-1.2.27 )
|
||||
collectd_plugins_sensors? ( sys-apps/lm_sensors )
|
||||
collectd_plugins_snmp? ( net-analyzer/net-snmp )
|
||||
collectd_plugins_tokyotyrant? ( net-misc/tokyotyrant )
|
||||
collectd_plugins_varnish? ( www-servers/varnish )
|
||||
collectd_plugins_write_http? ( net-misc/curl )
|
||||
collectd_plugins_write_mongodb? ( dev-libs/mongo-c-driver )
|
||||
|
||||
kernel_FreeBSD? (
|
||||
collectd_plugins_disk? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_interface? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_load? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_memory? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_swap? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_users? ( >=sys-libs/libstatgrab-0.16 )
|
||||
)"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
kernel_linux? (
|
||||
collectd_plugins_vserver? ( sys-kernel/vserver-sources )
|
||||
)"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
collectd_plugins_syslog? ( virtual/logger )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.10.2"-{libocci,nohal}.patch
|
||||
"${FILESDIR}/${PN}-4.10.3"-werror.patch
|
||||
"${FILESDIR}/${PN}-5.1.0"-libperl.patch
|
||||
"${FILESDIR}/${PN}-5.1.1"-lt.patch
|
||||
"${FILESDIR}/${PN}-5.1.1"-perl-prefix.patch
|
||||
)
|
||||
|
||||
# @FUNCTION: collectd_plugin_kernel_linux
|
||||
# @DESCRIPTION:
|
||||
# USAGE: <plug-in name> <kernel_options> <severity>
|
||||
# kernel_options is a list of kernel configurations options; the check tests whether at least
|
||||
# one of them is enabled. If no, depending on the third argument an elog, ewarn, or eerror message
|
||||
# is emitted.
|
||||
collectd_plugin_kernel_linux() {
|
||||
local multi_opt opt
|
||||
if has ${1} ${COLLECTD_ALL_PLUGINS}; then
|
||||
if use collectd_plugins_${1}; then
|
||||
for opt in ${2}; do
|
||||
if linux_chkconfig_present ${opt}; then return 0; fi
|
||||
done
|
||||
multi_opt=${2//\ /\ or\ }
|
||||
case ${3} in
|
||||
(info)
|
||||
elog "The ${1} plug-in can use kernel features that are disabled now; enable ${multi_opt} in your kernel"
|
||||
;;
|
||||
(warn)
|
||||
ewarn "The ${1} plug-in uses kernel features that are disabled now; enable ${multi_opt} in your kernel"
|
||||
;;
|
||||
(error)
|
||||
eerror "The ${1} plug-in needs kernel features that are disabled now; enable ${multi_opt} in your kernel"
|
||||
;;
|
||||
(*)
|
||||
die "function collectd_plugin_kernel_linux called with invalid third argument"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
collectd_linux_kernel_checks() {
|
||||
linux-info_pkg_setup
|
||||
|
||||
# battery.c:/proc/pmu/battery_%i
|
||||
# battery.c:/proc/acpi/battery
|
||||
collectd_plugin_kernel_linux battery ACPI_BATTERY warn
|
||||
|
||||
# cpufreq.c:/sys/devices/system/cpu/cpu%d/cpufreq/
|
||||
collectd_plugin_kernel_linux cpufreq SYSFS warn
|
||||
collectd_plugin_kernel_linux cpufreq CPU_FREQ_STAT warn
|
||||
|
||||
# nfs.c:/proc/net/rpc/nfs
|
||||
# nfs.c:/proc/net/rpc/nfsd
|
||||
collectd_plugin_kernel_linux nfs NFS_COMMON warn
|
||||
|
||||
# serial.c:/proc/tty/driver/serial
|
||||
# serial.c:/proc/tty/driver/ttyS
|
||||
collectd_plugin_kernel_linux serial SERIAL_CORE warn
|
||||
|
||||
# swap.c:/proc/meminfo
|
||||
collectd_plugin_kernel_linux swap SWAP warn
|
||||
|
||||
# thermal.c:/proc/acpi/thermal_zone
|
||||
# thermal.c:/sys/class/thermal
|
||||
collectd_plugin_kernel_linux thermal "PROC_FS SYSFS" warn
|
||||
collectd_plugin_kernel_linux thermal ACPI_THERMAL warn
|
||||
|
||||
# vmem.c:/proc/vmstat
|
||||
collectd_plugin_kernel_linux vmem VM_EVENT_COUNTERS warn
|
||||
|
||||
# uuid.c:/sys/hypervisor/uuid
|
||||
collectd_plugin_kernel_linux uuid SYSFS info
|
||||
|
||||
# wireless.c:/proc/net/wireless
|
||||
collectd_plugin_kernel_linux wireless "MAC80211 IEEE80211" warn
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use kernel_linux; then
|
||||
if linux_config_exists; then
|
||||
einfo "Checking your linux kernel configuration:"
|
||||
collectd_linux_kernel_checks
|
||||
else
|
||||
elog "Cannot find a linux kernel configuration. Continuing anyway."
|
||||
fi
|
||||
fi
|
||||
|
||||
enewgroup collectd
|
||||
enewuser collectd -1 -1 /var/lib/collectd collectd
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
|
||||
# There's some strange prefix handling in the default config file, resulting in
|
||||
# paths like "/usr/var/..."
|
||||
sed -i -e "s:@prefix@/var:/var:g" src/collectd.conf.in || die
|
||||
|
||||
rm -r libltdl || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Now come the lists of os-dependent plugins. Any plugin that is not listed anywhere here
|
||||
# should work independent of the operating system.
|
||||
|
||||
local linux_plugins="battery cpu cpufreq disk entropy ethstat interface iptables ipvs irq load
|
||||
memory md netlink nfs numa processes serial swap tcpconns thermal users vmem vserver
|
||||
wireless"
|
||||
|
||||
local libstatgrab_plugins="cpu disk interface load memory swap users"
|
||||
local bsd_plugins="cpu tcpconns ${libstatgrab_plugins}"
|
||||
|
||||
local darwin_plugins="apple_sensors battery cpu disk interface memory processes tcpconns"
|
||||
|
||||
local osdependent_plugins="${linux_plugins} ${bsd_plugins} ${darwin_plugins}"
|
||||
local myos_plugins=""
|
||||
if use kernel_linux; then
|
||||
einfo "Enabling Linux plugins."
|
||||
myos_plugins=${linux_plugins}
|
||||
elif use kernel_FreeBSD; then
|
||||
einfo "Enabling FreeBSD plugins."
|
||||
myos_plugins=${bsd_plugins}
|
||||
elif use kernel_Darwin; then
|
||||
einfo "Enabling Darwin plugins."
|
||||
myos_plugins=${darwin_plugins}
|
||||
fi
|
||||
|
||||
# Do we debug?
|
||||
local myconf="$(use_enable debug)"
|
||||
|
||||
local plugin
|
||||
|
||||
# Disable what needs to be disabled.
|
||||
for plugin in ${COLLECTD_DISABLED_PLUGINS}; do
|
||||
myconf+=" --disable-${plugin}"
|
||||
done
|
||||
|
||||
# Set enable/disable for each single plugin.
|
||||
for plugin in ${COLLECTD_ALL_PLUGINS}; do
|
||||
if has ${plugin} ${osdependent_plugins}; then
|
||||
# plugin is os-dependent ...
|
||||
if has ${plugin} ${myos_plugins}; then
|
||||
# ... and available in this os
|
||||
myconf+=" $(use_enable collectd_plugins_${plugin} ${plugin})"
|
||||
else
|
||||
# ... and NOT available in this os
|
||||
if use collectd_plugins_${plugin}; then
|
||||
ewarn "You try to enable the ${plugin} plugin, but it is not available for this"
|
||||
ewarn "kernel. Disabling it automatically."
|
||||
fi
|
||||
myconf+=" --disable-${plugin}"
|
||||
fi
|
||||
elif [[ "${plugin}" = "collectd_plugins_perl" ]]; then
|
||||
if use collectd_plugins_perl && ! use perl; then
|
||||
ewarn "Perl plugin disabled as perl bindings disabled by -perl use flag"
|
||||
myconf+= --disable-perl
|
||||
else
|
||||
myconf+=" $(use_enable collectd_plugins_${plugin} ${plugin})"
|
||||
fi
|
||||
else
|
||||
myconf+=" $(use_enable collectd_plugins_${plugin} ${plugin})"
|
||||
fi
|
||||
done
|
||||
|
||||
# Need JAVA_HOME for java.
|
||||
if use collectd_plugins_java; then
|
||||
myconf+=" --with-java=$(java-config -g JAVA_HOME)"
|
||||
fi
|
||||
|
||||
# Need libiptc ONLY for iptables. If we try to use it otherwise bug 340109 happens.
|
||||
if ! use collectd_plugins_iptables; then
|
||||
myconf+=" --with-libiptc=no"
|
||||
fi
|
||||
|
||||
# The perl bindings
|
||||
if use perl; then
|
||||
myconf+=" --with-perl-bindings=INSTALLDIRS=vendor"
|
||||
fi
|
||||
|
||||
# Finally, run econf.
|
||||
KERNEL_DIR="${KERNEL_DIR}" econf --config-cache --without-included-ltdl $(use_enable static-libs static) --localstatedir=/var ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
fixlocalpod
|
||||
|
||||
find "${D}/usr/" -name "*.la" -exec rm -f {} +
|
||||
rm "${D}/usr/$(get_libdir)"/collectd/*.a
|
||||
|
||||
# use collectd_plugins_ping && setcap cap_net_raw+ep ${D}/usr/sbin/collectd
|
||||
# we cannot do this yet
|
||||
|
||||
fowners root:collectd /etc/collectd.conf
|
||||
fperms u=rw,g=r,o= /etc/collectd.conf
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO
|
||||
|
||||
if use contrib ; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r contrib
|
||||
fi
|
||||
|
||||
keepdir /var/lib/${PN}
|
||||
fowners collectd:collectd /var/lib/${PN}
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd" ${PN}
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/logrotate" collectd
|
||||
|
||||
sed -i -e 's:^.*PIDFile "/var/run/collectd.pid":PIDFile "/var/run/collectd/collectd.pid":' "${D}"/etc/collectd.conf || die
|
||||
sed -i -e 's:^# SocketFile "/var/run/collectd-unixsock":# SocketFile "/var/run/collectd/collectd-unixsock":' "${D}"/etc/collectd.conf || die
|
||||
sed -i -e 's:^.*LoadPlugin perl$:# The new, correct way to load the perl plugin -- \n# <LoadPlugin perl>\n# Globals true\n# </LoadPlugin>:' "${D}"/etc/collectd.conf || die
|
||||
sed -i -e 's:^.*LoadPlugin python$:# The new, correct way to load the python plugin -- \n# <LoadPlugin python>\n# Globals true\n# </LoadPlugin>:' "${D}"/etc/collectd.conf || die
|
||||
}
|
||||
|
||||
collectd_rdeps() {
|
||||
if (use collectd_plugins_${1} && ! has_version "${2}"); then
|
||||
elog "The ${1} plug-in needs ${2} to be installed locally or remotely to work."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
collectd_rdeps apcups sys-power/apcupsd
|
||||
collectd_rdeps hddtemp app-admin/hddtemp
|
||||
collectd_rdeps mbmon sys-apps/xmbmon
|
||||
collectd_rdeps memcached ">=net-misc/memcached-1.2.2-r2"
|
||||
collectd_rdeps ntpd net-misc/ntp
|
||||
collectd_rdeps openvpn ">=net-misc/openvpn-2.0.9"
|
||||
|
||||
echo
|
||||
elog "collectd is now started as unprivileged user by default."
|
||||
elog "You may want to recheck the configuration."
|
||||
elog
|
||||
|
||||
if use collectd_plugins_email; then
|
||||
ewarn "The email plug-in is deprecated. To submit statistics please use the unixsock plugin."
|
||||
fi
|
||||
if use contrib; then
|
||||
elog "The scripts in /usr/share/doc/${PF}/collection3 for generating graphs need dev-perl/HTML-Parser,"
|
||||
elog "dev-perl/config-general, dev-perl/regexp-common, and net-analyzer/rrdtool[perl] to be installed."
|
||||
fi
|
||||
}
|
@ -0,0 +1,356 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/collectd/collectd-5.2.0.ebuild,v 1.1 2012/12/03 20:57:02 hwoarang Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils base linux-info perl-app autotools multilib user
|
||||
|
||||
DESCRIPTION="A a daemon which collects system statistic and provides mechanisms to store the values"
|
||||
|
||||
HOMEPAGE="http://collectd.org"
|
||||
SRC_URI="${HOMEPAGE}/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="contrib debug kernel_linux kernel_FreeBSD kernel_Darwin perl static-libs"
|
||||
|
||||
# The plugin lists have to follow here since they extend IUSE
|
||||
|
||||
# Plugins that to my knowledge cannot be supported (eg. dependencies not in gentoo)
|
||||
COLLECTD_IMPOSSIBLE_PLUGINS="netapp pinba xmms"
|
||||
|
||||
# Plugins that still need some work
|
||||
COLLECTD_UNTESTED_PLUGINS="ipvs apple_sensors tape zfs_arc modbus amqp genericjmx
|
||||
lpar redis write_redis v5upgrade"
|
||||
|
||||
# Plugins that have been (compile) tested and can be enabled via COLLECTD_PLUGINS
|
||||
COLLECTD_TESTED_PLUGINS="aggregation apache apcups ascent battery bind conntrack
|
||||
contextswitch cpu cpufreq csv curl curl_json curl_xml dbi df disk dns email
|
||||
entropy ethstat exec filecount fscache gmond hddtemp interface ipmi iptables
|
||||
irq java libvirt load logfile madwifi match_empty_counter match_hashed
|
||||
match_regex match_timediff match_value mbmon md memcachec memcached memory
|
||||
multimeter mysql netlink network network nfs nginx notify_desktop notify_email
|
||||
ntpd numa nut olsrd onewire openvpn oracle perl perl ping postgresql powerdns
|
||||
processes protocols python python routeros rrdcached rrdcached rrdtool sensors
|
||||
serial snmp swap syslog table tail target_notification target_replace
|
||||
target_scale target_set tcpconns teamspeak2 ted thermal threshold tokyotyrant
|
||||
unixsock uptime users uuid varnish vmem vserver wireless write_graphite
|
||||
write_http write_mongodb"
|
||||
|
||||
COLLECTD_DISABLED_PLUGINS="${COLLECTD_IMPOSSIBLE_PLUGINS} ${COLLECTD_UNTESTED_PLUGINS}"
|
||||
|
||||
COLLECTD_ALL_PLUGINS=${COLLECTD_TESTED_PLUGINS}
|
||||
|
||||
for plugin in ${COLLECTD_ALL_PLUGINS}; do
|
||||
IUSE="${IUSE} collectd_plugins_${plugin}"
|
||||
done
|
||||
unset plugin
|
||||
|
||||
# Now come the dependencies.
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-libs/libgcrypt
|
||||
sys-devel/libtool
|
||||
perl? ( dev-lang/perl[ithreads] ( || ( sys-devel/libperl[ithreads] >=sys-devel/libperl-5.10 ) ) )
|
||||
collectd_plugins_apache? ( net-misc/curl )
|
||||
collectd_plugins_ascent? ( net-misc/curl dev-libs/libxml2 )
|
||||
collectd_plugins_bind? ( dev-libs/libxml2 )
|
||||
collectd_plugins_curl? ( net-misc/curl )
|
||||
collectd_plugins_curl_json? ( net-misc/curl dev-libs/yajl )
|
||||
collectd_plugins_curl_xml? ( net-misc/curl dev-libs/libxml2 )
|
||||
collectd_plugins_dbi? ( dev-db/libdbi )
|
||||
collectd_plugins_dns? ( net-libs/libpcap )
|
||||
collectd_plugins_gmond? ( sys-cluster/ganglia )
|
||||
collectd_plugins_ipmi? ( >=sys-libs/openipmi-2.0.16-r1 )
|
||||
collectd_plugins_iptables? ( >=net-firewall/iptables-1.4.13 )
|
||||
collectd_plugins_java? ( virtual/jre dev-java/java-config-wrapper )
|
||||
collectd_plugins_libvirt? ( app-emulation/libvirt dev-libs/libxml2 )
|
||||
collectd_plugins_memcachec? ( dev-libs/libmemcached )
|
||||
collectd_plugins_mysql? ( >=virtual/mysql-5.0 )
|
||||
collectd_plugins_netlink? ( >=sys-apps/iproute2-3.3.0 )
|
||||
collectd_plugins_nginx? ( net-misc/curl )
|
||||
collectd_plugins_notify_desktop? ( x11-libs/libnotify )
|
||||
collectd_plugins_notify_email? ( >=net-libs/libesmtp-1.0.4 dev-libs/openssl )
|
||||
collectd_plugins_nut? ( sys-power/nut )
|
||||
collectd_plugins_onewire? ( sys-fs/owfs )
|
||||
collectd_plugins_oracle? ( >=dev-db/oracle-instantclient-basic-11.2.0.1.0 )
|
||||
collectd_plugins_perl? ( dev-lang/perl[ithreads] ( || ( sys-devel/libperl[ithreads] >=sys-devel/libperl-5.10 ) ) )
|
||||
collectd_plugins_ping? ( net-libs/liboping )
|
||||
collectd_plugins_postgresql? ( >=dev-db/postgresql-base-8.2 )
|
||||
collectd_plugins_python? ( =dev-lang/python-2* )
|
||||
collectd_plugins_routeros? ( net-libs/librouteros )
|
||||
collectd_plugins_rrdcached? ( >=net-analyzer/rrdtool-1.4 )
|
||||
collectd_plugins_rrdtool? ( >=net-analyzer/rrdtool-1.2.27 )
|
||||
collectd_plugins_sensors? ( sys-apps/lm_sensors )
|
||||
collectd_plugins_snmp? ( net-analyzer/net-snmp )
|
||||
collectd_plugins_tokyotyrant? ( net-misc/tokyotyrant )
|
||||
collectd_plugins_varnish? ( www-servers/varnish )
|
||||
collectd_plugins_write_http? ( net-misc/curl )
|
||||
collectd_plugins_write_mongodb? ( dev-libs/mongo-c-driver )
|
||||
|
||||
kernel_FreeBSD? (
|
||||
collectd_plugins_disk? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_interface? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_load? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_memory? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_swap? ( >=sys-libs/libstatgrab-0.16 )
|
||||
collectd_plugins_users? ( >=sys-libs/libstatgrab-0.16 )
|
||||
)"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
kernel_linux? (
|
||||
collectd_plugins_vserver? ( sys-kernel/vserver-sources )
|
||||
)"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
collectd_plugins_syslog? ( virtual/logger )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.10.2"-{libocci,nohal}.patch
|
||||
"${FILESDIR}/${PN}-4.10.3"-werror.patch
|
||||
"${FILESDIR}/${PN}-5.1.0"-libperl.patch
|
||||
"${FILESDIR}/${PN}-5.1.1"-lt.patch
|
||||
"${FILESDIR}/${PN}-5.1.1"-perl-prefix.patch
|
||||
)
|
||||
|
||||
# @FUNCTION: collectd_plugin_kernel_linux
|
||||
# @DESCRIPTION:
|
||||
# USAGE: <plug-in name> <kernel_options> <severity>
|
||||
# kernel_options is a list of kernel configurations options; the check tests whether at least
|
||||
# one of them is enabled. If no, depending on the third argument an elog, ewarn, or eerror message
|
||||
# is emitted.
|
||||
collectd_plugin_kernel_linux() {
|
||||
local multi_opt opt
|
||||
if has ${1} ${COLLECTD_ALL_PLUGINS}; then
|
||||
if use collectd_plugins_${1}; then
|
||||
for opt in ${2}; do
|
||||
if linux_chkconfig_present ${opt}; then return 0; fi
|
||||
done
|
||||
multi_opt=${2//\ /\ or\ }
|
||||
case ${3} in
|
||||
(info)
|
||||
elog "The ${1} plug-in can use kernel features that are disabled now; enable ${multi_opt} in your kernel"
|
||||
;;
|
||||
(warn)
|
||||
ewarn "The ${1} plug-in uses kernel features that are disabled now; enable ${multi_opt} in your kernel"
|
||||
;;
|
||||
(error)
|
||||
eerror "The ${1} plug-in needs kernel features that are disabled now; enable ${multi_opt} in your kernel"
|
||||
;;
|
||||
(*)
|
||||
die "function collectd_plugin_kernel_linux called with invalid third argument"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
collectd_linux_kernel_checks() {
|
||||
linux-info_pkg_setup
|
||||
|
||||
# battery.c:/proc/pmu/battery_%i
|
||||
# battery.c:/proc/acpi/battery
|
||||
collectd_plugin_kernel_linux battery ACPI_BATTERY warn
|
||||
|
||||
# cpufreq.c:/sys/devices/system/cpu/cpu%d/cpufreq/
|
||||
collectd_plugin_kernel_linux cpufreq SYSFS warn
|
||||
collectd_plugin_kernel_linux cpufreq CPU_FREQ_STAT warn
|
||||
|
||||
# nfs.c:/proc/net/rpc/nfs
|
||||
# nfs.c:/proc/net/rpc/nfsd
|
||||
collectd_plugin_kernel_linux nfs NFS_COMMON warn
|
||||
|
||||
# serial.c:/proc/tty/driver/serial
|
||||
# serial.c:/proc/tty/driver/ttyS
|
||||
collectd_plugin_kernel_linux serial SERIAL_CORE warn
|
||||
|
||||
# swap.c:/proc/meminfo
|
||||
collectd_plugin_kernel_linux swap SWAP warn
|
||||
|
||||
# thermal.c:/proc/acpi/thermal_zone
|
||||
# thermal.c:/sys/class/thermal
|
||||
collectd_plugin_kernel_linux thermal "PROC_FS SYSFS" warn
|
||||
collectd_plugin_kernel_linux thermal ACPI_THERMAL warn
|
||||
|
||||
# vmem.c:/proc/vmstat
|
||||
collectd_plugin_kernel_linux vmem VM_EVENT_COUNTERS warn
|
||||
|
||||
# uuid.c:/sys/hypervisor/uuid
|
||||
collectd_plugin_kernel_linux uuid SYSFS info
|
||||
|
||||
# wireless.c:/proc/net/wireless
|
||||
collectd_plugin_kernel_linux wireless "MAC80211 IEEE80211" warn
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use kernel_linux; then
|
||||
if linux_config_exists; then
|
||||
einfo "Checking your linux kernel configuration:"
|
||||
collectd_linux_kernel_checks
|
||||
else
|
||||
elog "Cannot find a linux kernel configuration. Continuing anyway."
|
||||
fi
|
||||
fi
|
||||
|
||||
enewgroup collectd
|
||||
enewuser collectd -1 -1 /var/lib/collectd collectd
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
|
||||
# There's some strange prefix handling in the default config file, resulting in
|
||||
# paths like "/usr/var/..."
|
||||
sed -i -e "s:@prefix@/var:/var:g" src/collectd.conf.in || die
|
||||
|
||||
rm -r libltdl || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Now come the lists of os-dependent plugins. Any plugin that is not listed anywhere here
|
||||
# should work independent of the operating system.
|
||||
|
||||
local linux_plugins="battery cpu cpufreq disk entropy ethstat interface iptables ipvs irq load
|
||||
memory md netlink nfs numa processes serial swap tcpconns thermal users vmem vserver
|
||||
wireless"
|
||||
|
||||
local libstatgrab_plugins="cpu disk interface load memory swap users"
|
||||
local bsd_plugins="cpu tcpconns ${libstatgrab_plugins}"
|
||||
|
||||
local darwin_plugins="apple_sensors battery cpu disk interface memory processes tcpconns"
|
||||
|
||||
local osdependent_plugins="${linux_plugins} ${bsd_plugins} ${darwin_plugins}"
|
||||
local myos_plugins=""
|
||||
if use kernel_linux; then
|
||||
einfo "Enabling Linux plugins."
|
||||
myos_plugins=${linux_plugins}
|
||||
elif use kernel_FreeBSD; then
|
||||
einfo "Enabling FreeBSD plugins."
|
||||
myos_plugins=${bsd_plugins}
|
||||
elif use kernel_Darwin; then
|
||||
einfo "Enabling Darwin plugins."
|
||||
myos_plugins=${darwin_plugins}
|
||||
fi
|
||||
|
||||
# Do we debug?
|
||||
local myconf="$(use_enable debug)"
|
||||
|
||||
local plugin
|
||||
|
||||
# Disable what needs to be disabled.
|
||||
for plugin in ${COLLECTD_DISABLED_PLUGINS}; do
|
||||
myconf+=" --disable-${plugin}"
|
||||
done
|
||||
|
||||
# Set enable/disable for each single plugin.
|
||||
for plugin in ${COLLECTD_ALL_PLUGINS}; do
|
||||
if has ${plugin} ${osdependent_plugins}; then
|
||||
# plugin is os-dependent ...
|
||||
if has ${plugin} ${myos_plugins}; then
|
||||
# ... and available in this os
|
||||
myconf+=" $(use_enable collectd_plugins_${plugin} ${plugin})"
|
||||
else
|
||||
# ... and NOT available in this os
|
||||
if use collectd_plugins_${plugin}; then
|
||||
ewarn "You try to enable the ${plugin} plugin, but it is not available for this"
|
||||
ewarn "kernel. Disabling it automatically."
|
||||
fi
|
||||
myconf+=" --disable-${plugin}"
|
||||
fi
|
||||
elif [[ "${plugin}" = "collectd_plugins_perl" ]]; then
|
||||
if use collectd_plugins_perl && ! use perl; then
|
||||
ewarn "Perl plugin disabled as perl bindings disabled by -perl use flag"
|
||||
myconf+= --disable-perl
|
||||
else
|
||||
myconf+=" $(use_enable collectd_plugins_${plugin} ${plugin})"
|
||||
fi
|
||||
else
|
||||
myconf+=" $(use_enable collectd_plugins_${plugin} ${plugin})"
|
||||
fi
|
||||
done
|
||||
|
||||
# Need JAVA_HOME for java.
|
||||
if use collectd_plugins_java; then
|
||||
myconf+=" --with-java=$(java-config -g JAVA_HOME)"
|
||||
fi
|
||||
|
||||
# Need libiptc ONLY for iptables. If we try to use it otherwise bug 340109 happens.
|
||||
if ! use collectd_plugins_iptables; then
|
||||
myconf+=" --with-libiptc=no"
|
||||
fi
|
||||
|
||||
# The perl bindings
|
||||
myconf+=" $(use_with perl perl-bindings)"
|
||||
|
||||
# Finally, run econf.
|
||||
KERNEL_DIR="${KERNEL_DIR}" econf --config-cache --without-included-ltdl $(use_enable static-libs static) --localstatedir=/var ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
fixlocalpod
|
||||
|
||||
find "${D}/usr/" -name "*.la" -exec rm -f {} +
|
||||
rm "${D}/usr/$(get_libdir)"/collectd/*.a
|
||||
|
||||
# use collectd_plugins_ping && setcap cap_net_raw+ep ${D}/usr/sbin/collectd
|
||||
# we cannot do this yet
|
||||
|
||||
fowners root:collectd /etc/collectd.conf
|
||||
fperms u=rw,g=r,o= /etc/collectd.conf
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO
|
||||
|
||||
if use contrib ; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r contrib
|
||||
fi
|
||||
|
||||
keepdir /var/lib/${PN}
|
||||
fowners collectd:collectd /var/lib/${PN}
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd" ${PN}
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/logrotate" collectd
|
||||
|
||||
sed -i -e 's:^.*PIDFile "/var/run/collectd.pid":PIDFile "/var/run/collectd/collectd.pid":' "${D}"/etc/collectd.conf || die
|
||||
sed -i -e 's:^# SocketFile "/var/run/collectd-unixsock":# SocketFile "/var/run/collectd/collectd-unixsock":' "${D}"/etc/collectd.conf || die
|
||||
sed -i -e 's:^.*LoadPlugin perl$:# The new, correct way to load the perl plugin -- \n# <LoadPlugin perl>\n# Globals true\n# </LoadPlugin>:' "${D}"/etc/collectd.conf || die
|
||||
sed -i -e 's:^.*LoadPlugin python$:# The new, correct way to load the python plugin -- \n# <LoadPlugin python>\n# Globals true\n# </LoadPlugin>:' "${D}"/etc/collectd.conf || die
|
||||
}
|
||||
|
||||
collectd_rdeps() {
|
||||
if (use collectd_plugins_${1} && ! has_version "${2}"); then
|
||||
elog "The ${1} plug-in needs ${2} to be installed locally or remotely to work."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
collectd_rdeps apcups sys-power/apcupsd
|
||||
collectd_rdeps hddtemp app-admin/hddtemp
|
||||
collectd_rdeps mbmon sys-apps/xmbmon
|
||||
collectd_rdeps memcached ">=net-misc/memcached-1.2.2-r2"
|
||||
collectd_rdeps ntpd net-misc/ntp
|
||||
collectd_rdeps openvpn ">=net-misc/openvpn-2.0.9"
|
||||
|
||||
echo
|
||||
elog "collectd is now started as unprivileged user by default."
|
||||
elog "You may want to recheck the configuration."
|
||||
elog
|
||||
|
||||
if use collectd_plugins_email; then
|
||||
ewarn "The email plug-in is deprecated. To submit statistics please use the unixsock plugin."
|
||||
fi
|
||||
if use contrib; then
|
||||
elog "The scripts in /usr/share/doc/${PF}/collection3 for generating graphs need dev-perl/HTML-Parser,"
|
||||
elog "dev-perl/config-general, dev-perl/regexp-common, and net-analyzer/rrdtool[perl] to be installed."
|
||||
fi
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
diff --git a/bindings/Makefile.am b/bindings/Makefile.am
|
||||
index 3876cc2..6d1411d 100644
|
||||
--- a/bindings/Makefile.am
|
||||
+++ b/bindings/Makefile.am
|
||||
@@ -48,7 +48,7 @@ perl: buildperl/Makefile
|
||||
|
||||
buildperl/Makefile: .perl-directory-stamp buildperl/Makefile.PL \
|
||||
$(top_builddir)/config.status
|
||||
- cd buildperl && @PERL@ Makefile.PL INSTALL_BASE=$(prefix) @PERL_BINDINGS_OPTIONS@
|
||||
+ cd buildperl && @PERL@ Makefile.PL @PERL_BINDINGS_OPTIONS@
|
||||
|
||||
buildperl/Makefile.PL: .perl-directory-stamp $(top_builddir)/config.status
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index 98395ed..5345a1d 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -5062,6 +5062,7 @@ then
|
||||
fi
|
||||
|
||||
dnl Perl bindings
|
||||
+PERL_BINDINGS_OPTIONS="PREFIX=${prefix}"
|
||||
AC_ARG_WITH(perl-bindings, [AS_HELP_STRING([--with-perl-bindings@<:@=OPTIONS@:>@], [Options passed to "perl Makefile.PL".])],
|
||||
[
|
||||
if test "x$withval" != "xno" && test "x$withval" != "xyes"
|
||||
@@ -5069,12 +5070,10 @@ AC_ARG_WITH(perl-bindings, [AS_HELP_STRING([--with-perl-bindings@<:@=OPTIONS@:>@
|
||||
PERL_BINDINGS_OPTIONS="$withval"
|
||||
with_perl_bindings="yes"
|
||||
else
|
||||
- PERL_BINDINGS_OPTIONS=""
|
||||
with_perl_bindings="$withval"
|
||||
fi
|
||||
],
|
||||
[
|
||||
- PERL_BINDINGS_OPTIONS=""
|
||||
if test -n "$perl_interpreter"
|
||||
then
|
||||
with_perl_bindings="yes"
|
@ -1,77 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/denyhosts/denyhosts-2.6-r5.ebuild,v 1.1 2011/12/31 15:46:16 idl0r Exp $
|
||||
|
||||
EAPI="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
MY_PN="DenyHosts"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="DenyHosts is a utility to help sys admins thwart ssh hackers"
|
||||
HOMEPAGE="http://www.denyhosts.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ppc sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
PYTHON_MODNAME="${MY_PN}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
# changes default file installations
|
||||
epatch "${FILESDIR}"/${P}-gentoo.patch
|
||||
epatch "${FILESDIR}"/${P}-log-injection-regex.patch
|
||||
sed -i -e 's:DENY_THRESHOLD_VALID = 10:DENY_THRESHOLD_VALID = 5:' \
|
||||
denyhosts.cfg-dist || die "sed failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DOCS="CHANGELOG.txt README.txt PKG-INFO"
|
||||
distutils_src_install
|
||||
|
||||
insinto /etc
|
||||
insopts -m0640
|
||||
newins denyhosts.cfg-dist denyhosts.conf || die
|
||||
|
||||
dodir /etc/logrotate.d
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/${PN}.logrotate ${PN} || die
|
||||
|
||||
newinitd "${FILESDIR}"/denyhosts.init denyhosts || die
|
||||
|
||||
# build system installs docs that we installed above
|
||||
rm -f "${D}"/usr/share/denyhosts/*.txt
|
||||
|
||||
keepdir /var/lib/denyhosts
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
|
||||
if [[ ! -f "${ROOT}etc/hosts.deny" ]]; then
|
||||
touch "${ROOT}etc/hosts.deny"
|
||||
fi
|
||||
|
||||
elog "You can configure DenyHosts to run as a daemon by running:"
|
||||
elog
|
||||
elog "rc-update add denyhosts default"
|
||||
elog
|
||||
elog "or as a cronjob, by adding the following to /etc/crontab"
|
||||
elog "# run DenyHosts every 10 minutes"
|
||||
elog "*/10 * * * * root /usr/bin/denyhosts.py -c /etc/denyhosts.conf"
|
||||
elog
|
||||
elog "More information can be found at http://denyhosts.sourceforge.net/faq.html"
|
||||
elog
|
||||
ewarn "Modify /etc/denyhosts.conf to suit your environment system."
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST localepurge-0.5.2.tbz2 4729 SHA256 c58083aabbd0892594d74b464b4ac063857d14a5c3173f45b1debb77980f31bc SHA512 e0c98b3498d5a5972a6b72c8cf619e70a3ca150ad77c6147800ef821212e432db9792de252a251e0977c43f001159f93875c7cbbe8e5821763a09abf53c9d1ba WHIRLPOOL a16aff3e2bdc340cfed1efc6a2a03c0987c2d93d170c70e1fd03075aa231721ff0a2b01dad9fa7fe98e24db5cfb746ff0c0ecea7c8486408f1a3f8e437da4c73
|
||||
DIST localepurge-0.5.3.3.tbz2 4925 SHA256 55ea160eaea257a45200aa236680204bfc6eeb77235985fc6d0a1fb11392eb4d SHA512 1314503276956e404cab0224d3e5c15b60fd8722a063281459ca149da46c6704757763c1647ff7a28a964cf0f3c80fe633f969712ce85faecf41963d5b0cc03c WHIRLPOOL bdd12825dcea7d184a67a1feb4fe7ee2ffad29c816d82ebe76e5dd9c35e120c42a4cc4d1164137e458b478d9e52b8bebe69826da6b6e7b98190f041e950c2063
|
||||
DIST localepurge-0.5.4.tbz2 5038 SHA256 7aca13f6b44af74480c611c0dd63b6fe05c6084bfd3f08bfd347e7914af2ffaa SHA512 246acb8ef497a2f607ee8545c4d46fd5a1957189eb0b705bf6bcd1cd35ba5b48c7e090db480519c8e3a7427b5ad5a2c020b40232a8fbd0840f9677a6c7af600e WHIRLPOOL d1da9a6a4d5fca92e7353e6ed0e6b916b8529ad7f003a0af02b2403ceb33bdd71769b3bd1a3c37095167a0e8b3811a5b6774a089f96eedd76edb4ebf46a992d4
|
||||
|
@ -0,0 +1,58 @@
|
||||
--- localepurge.orig 2012-12-02 19:56:18.000000000 +0100
|
||||
+++ localepurge 2012-12-02 20:00:38.000000000 +0100
|
||||
@@ -1,14 +1,14 @@
|
||||
-#!/bin/bash
|
||||
+#!@GENTOO_PORTAGE_EPREFIX@/bin/bash
|
||||
|
||||
# Deleting all locale files on system
|
||||
# *not* listed in /etc/locale.nopurge
|
||||
|
||||
set -e
|
||||
|
||||
-LOCALEDIRS="/usr/share/locale /usr/local/share/locale /usr/kde/?.?/share/locale /opt/sun-jdk-*/jre/lib/locale /opt/sun-jre-bin-*/lib/locale /usr/lib/locale /usr/share/binutils-data/*/*/locale /usr/share/gcc-data/*/*/locale"
|
||||
-MANPAGEDIRS="/usr/share/man /usr/man /usr/local/share/man /usr/kde/?.?/share/man /usr/kde/?.?/man /opt/sun-jdk-*/man /opt/sun-jre-bin-*/man"
|
||||
-LOCALELIST="/var/cache/localepurge/localelist"
|
||||
-CONFIGFILE="/etc/locale.nopurge"
|
||||
+LOCALEDIRS="@GENTOO_PORTAGE_EPREFIX@/usr/share/locale @GENTOO_PORTAGE_EPREFIX@/usr/local/share/locale @GENTOO_PORTAGE_EPREFIX@/usr/kde/?.?/share/locale @GENTOO_PORTAGE_EPREFIX@/opt/sun-jdk-*/jre/lib/locale @GENTOO_PORTAGE_EPREFIX@/opt/sun-jre-bin-*/lib/locale @GENTOO_PORTAGE_EPREFIX@/usr/lib/locale @GENTOO_PORTAGE_EPREFIX@/usr/share/binutils-data/*/*/locale @GENTOO_PORTAGE_EPREFIX@/usr/share/gcc-data/*/*/locale"
|
||||
+MANPAGEDIRS="@GENTOO_PORTAGE_EPREFIX@/usr/share/man @GENTOO_PORTAGE_EPREFIX@/usr/man @GENTOO_PORTAGE_EPREFIX@/usr/local/share/man @GENTOO_PORTAGE_EPREFIX@/usr/kde/?.?/share/man @GENTOO_PORTAGE_EPREFIX@/usr/kde/?.?/man @GENTOO_PORTAGE_EPREFIX@/opt/sun-jdk-*/man @GENTOO_PORTAGE_EPREFIX@/opt/sun-jre-bin-*/man"
|
||||
+LOCALELIST="@GENTOO_PORTAGE_EPREFIX@/var/cache/localepurge/localelist"
|
||||
+CONFIGFILE="@GENTOO_PORTAGE_EPREFIX@/etc/locale.nopurge"
|
||||
VERSION="0.5.4"
|
||||
|
||||
LOCALETOTAL=0
|
||||
@@ -23,7 +23,7 @@
|
||||
BRACKET=$'\e[34;01m'
|
||||
BOLD=$'\e[1m'
|
||||
|
||||
-ACTION="/bin/rm -vf"
|
||||
+ACTION="@GENTOO_PORTAGE_EPREFIX@/bin/rm -vf"
|
||||
|
||||
eerror () {
|
||||
echo -e " ${BAD}*${NORMAL} $*" 2> /dev/stderr
|
||||
@@ -43,7 +43,7 @@
|
||||
print() {
|
||||
for x in $@; do
|
||||
if [ "${x}" = "" ]; then return 0
|
||||
- else /bin/echo $x
|
||||
+ else @GENTOO_PORTAGE_EPREFIX@/bin/echo $x
|
||||
fi
|
||||
done
|
||||
}
|
||||
@@ -184,7 +184,7 @@
|
||||
einfo "localepurge: processing locale files in ${LOCALEDIR} ..."
|
||||
fi
|
||||
|
||||
- for LOCALE in `/bin/ls ${LOCALEDIR}`; do
|
||||
+ for LOCALE in `@GENTOO_PORTAGE_EPREFIX@/bin/ls ${LOCALEDIR}`; do
|
||||
if echo "${PURGELIST}" | grep -xq ${LOCALE}; then
|
||||
if [ -d ${LOCALEDIR}/${LOCALE}/LC_MESSAGES ]; then
|
||||
if [ "${LIST}" = "enabled" ]; then
|
||||
@@ -216,7 +216,7 @@
|
||||
einfo "localepurge: processing man pages in ${MANPAGEDIR} ..."
|
||||
fi
|
||||
|
||||
- for LOCALE in `/bin/ls ${MANPAGEDIR} | grep -v ^man[1-9]`; do
|
||||
+ for LOCALE in `@GENTOO_PORTAGE_EPREFIX@/bin/ls ${MANPAGEDIR} | grep -v ^man[1-9]`; do
|
||||
if echo "${PURGELIST}" | grep -xq ${LOCALE}; then
|
||||
if [ -d ${MANPAGEDIR}/${LOCALE} ]; then
|
||||
if [ "${LIST}" = "enabled" ]; then
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/localepurge/localepurge-0.5.4.ebuild,v 1.1 2012/12/03 19:27:04 hwoarang Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils prefix
|
||||
|
||||
DESCRIPTION="Script to recover diskspace wasted for unneeded locale files and localized man pages."
|
||||
HOMEPAGE="http://gentoo.org
|
||||
http://git.overlays.gentoo.org/gitweb/?p=proj/localepurge.git;a=summary"
|
||||
SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${P}.tbz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="app-shells/bash"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-prefix.patch
|
||||
eprefixify ${PN}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /var/cache/${PN}
|
||||
doins defaultlist
|
||||
dosym defaultlist /var/cache/${PN}/localelist
|
||||
insinto /etc
|
||||
doins locale.nopurge
|
||||
dobin ${PN}
|
||||
doman ${PN}.8
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST cdrtools-3.00.tar.bz2 1978563 SHA256 7f9cb64820055573b880f77b2f16662a512518336ba95ab49228a1617973423d SHA512 93887afd6c244814b7f6a623f0ac5b551934626163065a6f32aefe82aa7438450fd7a42737ef3cdaad3f18841c066d25e72e37891531dd0be5be328692712cec WHIRLPOOL a02750131e4ec55df10387a01dab3881afee669cd8b8ea65eaed4fdd82e6bd11040c6d79fc64ccc9377e787f5903ec92ea3ae81db1945554b65a8636737cc931
|
||||
DIST cdrtools-3.01a08.tar.bz2 2042834 SHA256 e503b0531c99644788cf11be694f311043fc9adb17612e3dccd2eefc23a16f41 SHA512 cf591d571c4f17d15927eece49780f875ef797a4d3c4df130340257ff2ce8df40377f88f8f3bc4301cb1b0b8927ee2a7f580e0a0f7f0652b5c88f0a10af214e8 WHIRLPOOL cbe680ebeec52716980c07b86a1d005197542e611dfcff770c2e9717005de3225980166f47e369cf46fadd91db5dac3e42b9a45f9567db91239641f2784f60d9
|
||||
DIST cdrtools-3.01a09.tar.bz2 2047017 SHA256 daa527199ee45e7a4b137ad7b73b78a199b720d2392df7cc0e0df65a2ad3b4be SHA512 ee48e79042dcd0e71c3e84903060c090b5def76b747a978735c910e3149c9f716b2a6b766ced0fbe7e890c558b7a9d849bdbaedde7471e1f43b7b660b2b75de7 WHIRLPOOL 8e73292bf870cd634b2ecfcfd81a90066615a2af1f2bd9cd0d6216feb506afd008bf22acf97d7d2802348c7994827a5a56927ba44f636eae764526bb9f5bcaad
|
||||
|
@ -0,0 +1,144 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-3.01_alpha09.ebuild,v 1.1 2012/12/03 18:59:29 billie Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib eutils toolchain-funcs flag-o-matic
|
||||
|
||||
MY_P="${P/_alpha/a}"
|
||||
|
||||
DESCRIPTION="A set of tools for CD/DVD reading and recording, including cdrecord"
|
||||
HOMEPAGE="http://cdrecord.berlios.de/private/cdrecord.html"
|
||||
SRC_URI="ftp://ftp.berlios.de/pub/cdrecord/$([[ -z ${PV/*_alpha*} ]] && echo 'alpha/')/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1 CDDL-Schily"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="acl unicode"
|
||||
|
||||
DEPEND="acl? ( virtual/acl )
|
||||
>=sys-devel/gettext-0.18.1.1
|
||||
!app-cdr/cdrkit"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${P/_alpha[0-9][0-9]}
|
||||
|
||||
src_prepare() {
|
||||
# Remove profiled make files.
|
||||
rm -f $(find . -name '*_p.mk') || die "rm profiled"
|
||||
|
||||
# Adjusting hardcoded paths.
|
||||
sed -i -e 's:opt/schily:usr:' \
|
||||
$(find ./ -type f -name \*.[0-9ch] -exec grep -l 'opt/schily' '{}' '+') \
|
||||
|| die "sed opt/schily"
|
||||
|
||||
sed -i -e "s:\(^INSDIR=\t\tshare/doc/\):\1${PF}/:" \
|
||||
$(find ./ -type f -exec grep -l 'INSDIR.\+doc' '{}' '+') \
|
||||
|| die "sed doc"
|
||||
|
||||
# Respect libdir.
|
||||
sed -i -e "s:\(^INSDIR=\t\t\)lib:\1$(get_libdir):" \
|
||||
$(find ./ -type f -exec grep -l '^INSDIR.\+lib\(/siconv\)\?$' '{}' '+') \
|
||||
|| die "sed multilib"
|
||||
|
||||
# Do not install static libraries.
|
||||
sed -i -e 's:include\t\t.*rules.lib::' \
|
||||
$(find ./ -type f -exec grep -l '^include.\+rules\.lib' '{}' '+') \
|
||||
|| die "sed rules"
|
||||
|
||||
# Respect CC/CXX variables.
|
||||
cd "${S}"/RULES
|
||||
local tcCC=$(tc-getCC)
|
||||
local tcCXX=$(tc-getCXX)
|
||||
sed -i -e "/cc-config.sh/s|\$(C_ARCH:%64=%) \$(CCOM_DEF)|${tcCC} ${tcCC}|" \
|
||||
rules1.top || die "sed rules1.top"
|
||||
sed -i -e "/^\(CC\|DYNLD\|LDCC\|MKDEP\)/s|gcc|${tcCC}|" \
|
||||
-e "/^\(CC++\|DYNLDC++\|LDCC++\|MKC++DEP\)/s|g++|${tcCXX}|" \
|
||||
-e "/COPTOPT=/s/-O//" \
|
||||
-e 's/$(GCCOPTOPT)//' \
|
||||
cc-gcc.rul || die "sed cc-gcc.rul"
|
||||
sed -i -e "s|^#CONFFLAGS +=\t-cc=\$(XCC_COM)$|CONFFLAGS +=\t-cc=${tcCC}|g" \
|
||||
rules.cnf || die "sed rules.cnf"
|
||||
|
||||
# Create additional symlinks needed for some archs (armv4l already created)
|
||||
local t
|
||||
for t in armv4tl armv5l armv5tel armv6l armv7l ppc64 s390x; do
|
||||
ln -s i586-linux-cc.rul ${t}-linux-cc.rul || die
|
||||
ln -s i586-linux-gcc.rul ${t}-linux-gcc.rul || die
|
||||
done
|
||||
|
||||
# Schily make setup.
|
||||
cd "${S}"/DEFAULTS
|
||||
local os="linux"
|
||||
[[ ${CHOST} == *-darwin* ]] && os="mac-os10"
|
||||
|
||||
sed -i \
|
||||
-e "s:/opt/schily:/usr:g" \
|
||||
-e "s:/usr/src/linux/include::g" \
|
||||
-e "s:bin:root:g" \
|
||||
Defaults.${os} || die "sed Schily make setup"
|
||||
}
|
||||
|
||||
# skip obsolete configure script
|
||||
src_configure() { : ; }
|
||||
|
||||
src_compile() {
|
||||
if use unicode; then
|
||||
local flags="$(test-flags -finput-charset=ISO-8859-1 -fexec-charset=UTF-8)"
|
||||
if [[ -n ${flags} ]]; then
|
||||
append-flags ${flags}
|
||||
else
|
||||
ewarn "Your compiler does not support the options required to build"
|
||||
ewarn "cdrtools with unicode in USE. unicode flag will be ignored."
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! use acl; then
|
||||
CFLAGS="${CFLAGS} -DNO_ACL"
|
||||
fi
|
||||
|
||||
# LIB_ACL_TEST removed to support x86-fbsd
|
||||
# If not built with -j1, "sometimes" cdda2wav will not be built.
|
||||
emake -j1 CC="$(tc-getCC)" CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" \
|
||||
LDOPTX="${LDFLAGS}" \
|
||||
INS_BASE="${ED}/usr" INS_RBASE="${ED}" LINKMODE="dynamic" \
|
||||
RUNPATH="" GMAKE_NOWARN="true"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# If not built with -j1, "sometimes" manpages are not installed.
|
||||
emake -j1 CC="$(tc-getCC)" CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" \
|
||||
LDOPTX="${LDFLAGS}" \
|
||||
INS_BASE="${ED}/usr" INS_RBASE="${ED}" LINKMODE="dynamic" \
|
||||
RUNPATH="" GMAKE_NOWARN="true" install
|
||||
|
||||
# These symlinks are for compat with cdrkit.
|
||||
dosym schily /usr/include/scsilib
|
||||
dosym ../scg /usr/include/schily/scg
|
||||
|
||||
dodoc ABOUT Changelog* CONTRIBUTING PORTING README.linux-shm READMEs/README.linux
|
||||
|
||||
cd "${S}"/cdda2wav
|
||||
docinto cdda2wav
|
||||
dodoc Changelog FAQ Frontends HOWTOUSE NEEDED README THANKS TODO
|
||||
|
||||
cd "${S}"/mkisofs
|
||||
docinto mkisofs
|
||||
dodoc ChangeLog* TODO
|
||||
|
||||
# Remove man pages related to the build system
|
||||
rm -rvf "${ED}"/usr/share/man/man5
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
einfo
|
||||
einfo "Darwin/OS X use the following device names:"
|
||||
einfo
|
||||
einfo "CD burners: (probably) ./cdrecord dev=IOCompactDiscServices"
|
||||
einfo
|
||||
einfo "DVD burners: (probably) ./cdrecord dev=IODVDServices"
|
||||
einfo
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST GuideXML-templates.tar.gz 884 SHA256 3ede041b74a64a3f262455728486a616ffb496fa0d6f3c50610387d9de0d742e SHA512 1a303c8f0664d950b89430f940fc27b8cc4f3b76d076437e62edbc736c50bce5794a7178a2c99712a29db4de7e9e8b03c0f598ab702e4289cb77625d5a63ab30 WHIRLPOOL 6094faa76f1b731537e5d254cdd33a98830c22ad4fb99817fd8332b59a03451bf9e3c14ef2fc71c32ed2c74bf1c1ca132210aaf3b2bdeb4342f2a0fc24505f6f
|
||||
DIST xmlcopyeditor-1.2.0.6-2.tar.gz 1526457 SHA256 9a4ba41d67604d303b1728877768f9e3ef85d56e6f580b0eeef840e12b84f02c SHA512 9833a520ed835ea1bb285ace9deca3e309a5b31fd923582f79302cd1b81e5caf1de39296efe6eda33d329b2c40aabb10bcd7b476e61d8b3ea6e5aac43b361b72 WHIRLPOOL 9e79075e4a0b325a08b9784a5bcdfdd414390d161440a47394bf63ed5944e700fef4c61e6e29c508ec7bfee802f527a5b393824d48ac82bd55527231ba341916
|
||||
DIST xmlcopyeditor-1.2.0.9.tar.gz 1815995 SHA256 850df750f3561320f6ab1b612e00cd2b9ecc2bed49ab1dcc261af78d0a28b7f7 SHA512 a375476fe1140a2089e7322c9d219ae3440a3b971947ced440f71c72e99b3b3998419bf34303df3e6093378336b2d69652c4e7dc93880ff40d8c3fac48103eaa WHIRLPOOL 75bbd422c7618650d183eac45f24871a80bf8cffcaa9f3d320d7fcb0a282cabf1f14b9f825e893373b85d99bd6c5f58db882a91eb427c9775822ce417f5d5278
|
||||
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/xmlcopyeditor/xmlcopyeditor-1.2.0.9.ebuild,v 1.1 2012/12/03 19:55:30 hwoarang Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
WX_GTK_VER="2.8"
|
||||
|
||||
inherit autotools wxwidgets
|
||||
|
||||
DESCRIPTION="XML Copy Editor is a fast, free, validating XML editor"
|
||||
HOMEPAGE="http://xml-copy-editor.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/xml-copy-editor/${P}.tar.gz
|
||||
guidexml? ( mirror://gentoo/GuideXML-templates.tar.gz )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
|
||||
IUSE="aqua guidexml"
|
||||
|
||||
RDEPEND=">=dev-libs/libxml2-2.7.3-r1
|
||||
dev-libs/libxslt
|
||||
dev-libs/xerces-c[icu]
|
||||
dev-libs/libpcre
|
||||
!aqua? ( x11-libs/wxGTK:2.8[X] )
|
||||
aqua? ( x11-libs/wxGTK:2.8[aqua] )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/boost"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog README NEWS )
|
||||
|
||||
src_prepare() {
|
||||
# fix desktop file
|
||||
sed -i -e '/Categories/s/Application;//' \
|
||||
-e '/Icon/s/.png//' \
|
||||
"src/${PN}.desktop" || die "sed on src/${PN}.desktop failed"
|
||||
# bug #440744
|
||||
sed -i -e 's/ -Wall -g -fexceptions//g' \
|
||||
-e '/CXXFLAGS/s/CPPFLAGS/CXXFLAGS/' \
|
||||
configure.in || die 'sed on configure.in failed'
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if use guidexml; then
|
||||
insinto /usr/share/xmlcopyeditor/templates/
|
||||
for TEMPLATE in "${WORKDIR}"/GuideXML-templates/*.xml; do
|
||||
newins "${TEMPLATE}" "${TEMPLATE##*/}"
|
||||
done
|
||||
fi
|
||||
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST auctex-11.86.tar.gz 1179117 SHA256 3fc2cdbc0c8be1d385061ccb2e8c920b57344ea40eb44e014faf501c5d20e43b SHA512 fd7a7074e6f4c764d3164137a471e4b0ba59fead2ca85cef0b0da634cd679efefbca7ead6def3dedc7322cb9260f596ee6fc6c05ff20eac4a1d911a9ce73b4c4 WHIRLPOOL cf87c6a96309110181d506177104a7599cbd2db6137c5c79d4dc1697dfa230e5cef0fea9287151b0591a99feeea183822a80b0510c01ba72dde9324e783ba8ed
|
||||
DIST auctex-11.87.tar.gz 1206073 SHA256 63d57229e585dbf727f5545337615b997488bfdf475274da0718c90b77bd5cf2 SHA512 41a575a36ef2c111f214ad2e87a06c246751859a14ad3f8af77aaf180d8357a4c8d44c2f344b673404d2e011cdf4a193abda93f1b26ffff663f310ed430c5fa1 WHIRLPOOL d3bee56c1b940a2eb041a5b3b6e5ffe876b740e97c5793dd9295b42723abb5febd1fc40d9a0007df5d63f00547a5a59202eca2c102dfb878924ac07dac504eb0
|
||||
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/auctex/auctex-11.87.ebuild,v 1.1 2012/12/03 22:04:59 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit elisp latex-package
|
||||
|
||||
DESCRIPTION="Extended support for writing, formatting and using (La)TeX, Texinfo and BibTeX files"
|
||||
HOMEPAGE="http://www.gnu.org/software/auctex/"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE="preview-latex"
|
||||
|
||||
DEPEND="virtual/latex-base
|
||||
preview-latex? (
|
||||
app-text/dvipng
|
||||
app-text/ghostscript-gpl
|
||||
)"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
TEXMF="/usr/share/texmf-site"
|
||||
|
||||
src_configure() {
|
||||
EMACS_NAME=emacs EMACS_FLAVOUR=emacs econf --disable-build-dir-test \
|
||||
--with-auto-dir="${EPREFIX}/var/lib/auctex" \
|
||||
--with-lispdir="${EPREFIX}${SITELISP}/${PN}" \
|
||||
--with-packagelispdir="${EPREFIX}${SITELISP}/${PN}" \
|
||||
--with-packagedatadir="${EPREFIX}${SITEETC}/${PN}" \
|
||||
--with-texmf-dir="${EPREFIX}${TEXMF}" \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
$(use_enable preview-latex preview)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export VARTEXFONTS="${T}"/fonts
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
elisp-site-file-install "${FILESDIR}/50${PN}-gentoo.el" || die
|
||||
if use preview-latex; then
|
||||
elisp-site-file-install "${FILESDIR}/60${PN}-gentoo.el" || die
|
||||
fi
|
||||
dodoc ChangeLog CHANGES FAQ INSTALL README RELEASE TODO
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# rebuild TeX-inputfiles-database
|
||||
use preview-latex && latex-package_pkg_postinst
|
||||
elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm(){
|
||||
use preview-latex && latex-package_pkg_postrm
|
||||
elisp-site-regen
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
--- thinkfan-0.8.1/rcscripts/thinkfan.gentoo
|
||||
+++ thinkfan-0.8.1/rcscripts/thinkfan.gentoo
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
start() {
|
||||
ebegin "Starting thinkfan"
|
||||
- start-stop-daemon --start --exec /usr/sbin/thinkfan -- -q -s5
|
||||
+ start-stop-daemon --start --exec /usr/sbin/thinkfan -- -q -s5 -c /etc/thinkfan.conf
|
||||
eend $?
|
||||
}
|
||||
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-laptop/thinkfan/thinkfan-0.8.1-r1.ebuild,v 1.1 2012/12/04 00:31:06 xmw Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="simple fan control program for thinkpads"
|
||||
HOMEPAGE="http://thinkfan.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-openrc.patch
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin ${PN}
|
||||
|
||||
newinitd rcscripts/thinkfan.gentoo ${PN}
|
||||
|
||||
doman ${PN}.1
|
||||
dodoc ChangeLog NEWS README \
|
||||
examples/${PN}.conf.{complex,sysfs,thinkpad}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Please read the documentation and copy an"
|
||||
elog "appropriate file to /etc/thinkfan.conf."
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/pip/pip-1.2.ebuild,v 1.9 2011/01/05 16:26:31 jlec Exp $
|
||||
|
||||
inherit eutils perl-app
|
||||
|
||||
DESCRIPTION="Wrapper around programs that don't support stdin/stdout"
|
||||
HOMEPAGE="http://membled.com/work/apps/pip/"
|
||||
SRC_URI="http://membled.com/work/apps/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 x86 ppc"
|
||||
IUSE=""
|
@ -1,2 +1,3 @@
|
||||
DIST slimv-0.9.7.tar.bz2 619110 SHA256 96f86c4caae9e5fce18b2dcebc7f0cdd3c9e674a5a3171ecce12cfc1a4b9a8d9 SHA512 f413077656863ad422920baf4cedfec380676ba302aa83effdaf3318465f5f1c8814ae125bef9ff9b2b74e77761e59979217edeccd0bde54fd6ab10e0d221112 WHIRLPOOL c2437470d1319f6f594a8176cf8696d98a6b76ee7205a40671e19878a81621c3877059d1b363440fd7e48c8d2f109f11be17a78ab8f3008fc12c4ac7aa0493b1
|
||||
DIST slimv-0.9.8.tar.bz2 620888 SHA256 6c210a4ec7b35209d6d7affe7fca4d357acd25cf2715cfbe3e7bb0977984798a SHA512 fe8d5ffcdc445017a376a517fce36ad3b3618ebfe115d58ac644da513247d359e8b9d6f3fd04feb2152a40a486121da78b1b75c92b2307a9b493af65af6c5374 WHIRLPOOL 5c059fc056ab5b30e5551ada0e7f7fb42c0a2b0988f7830bab71752e67673831d3e350bb0e635d31f3e3265a30ae118728ebcfc59b6824830642bf68ee3de89f
|
||||
DIST slimv-0.9.9.tar.bz2 613400 SHA256 393d3640878cf268be1bde6cb0602ae12fecda94c26b0cbdf40cba89fb7c8804 SHA512 426ba4d6a914a1d60a0b01025712b1ac581223471855a8dc8c2d106755cca3ac02ce18d03edddc8fb7151fc7f25422e0de25e22b1e77cacae15aba01d5be61a1 WHIRLPOOL 03539428a8ad6a5bffee425a6688b52930a1593e3ca1628b89a4f9f2c2362fe2d620f63a7dc83a4b9493af80279aa1bcc80cfb5b33efc61b5c93d0f40d9b4ad4
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/slimv/slimv-0.9.9.ebuild,v 1.1 2012/12/03 19:23:33 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: aid Lisp development by providing a SLIME-like Lisp and Clojure REPL"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=2531"
|
||||
LICENSE="public-domain"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="|| ( app-editors/vim[python] app-editors/gvim[python] )
|
||||
>=dev-lang/python-2.4
|
||||
|| (
|
||||
dev-lisp/clisp
|
||||
dev-lang/clojure
|
||||
dev-lisp/abcl
|
||||
dev-lisp/clozurecl
|
||||
dev-lisp/ecls
|
||||
dev-lisp/sbcl
|
||||
)"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
||||
|
||||
src_prepare() {
|
||||
# remove emacs related files
|
||||
rm -r slime swank-clojure || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST zencoding-vim-0.58.tar.gz 21262 SHA256 28088b4158ee5f037fb4e63e62bba1206ae84b3b070cf4393a4cd893281fc1cb SHA512 ed6eea831660bb0fb4317f90ac0d908d4eb13f79208f502d8bb4d0084a10770387e7764f18f28f9a68b1ce36ac208563ef76b2c7dcd653a3a6475247008ffa8c WHIRLPOOL 2c0a4dcdf9d4707d910b03976b697835ead978f2ab6b55c5dc66e7024ea940134c7e24927fb15e5f0046824ccc3f8e280050d2233656d17769be3580cd9d2669
|
||||
DIST zencoding-vim-0.74.tar.bz2 24138 SHA256 aa9b8635e0667bf66d40c102281b4a3ece32afc66df91049adaedecd1324bcfc SHA512 386f86247b95d8944a28b879c7b7af3105347ac10637e20590edae23736907e0ff6d948a96da335ce3fd8a8daf6da2007db6983a9095968aa61dbb424da55304 WHIRLPOOL bab44e1ad17f732bfdfbde88dff21fa1d1c43f7e46431e04f02bc6f0a9043a1faab5b6220360a705375a82c806145ed39db2590720541ee9a0912f03f5e513bf
|
||||
DIST zencoding-vim-0.80.tar.bz2 24853 SHA256 5469a2c388ff399547556251cf10549512bf5b75d3bb1b6431f3e9273eccf5cf SHA512 1f1478f560f7bcd6b05fca810633d7e61fb5dc6eca144ef5bd94c6a2b5e67035eeb470632d215d192473a4e80525a429538478c1c90299aea88d42beb08dbf29 WHIRLPOOL 71f9e8d599264e6a9be4d959cb322a1793887cf1530811723f295e4356157ee37191bb325c347faa4e5b0fa189c29b586219162c5dcb84db5e0403a4e070a87f
|
||||
|
@ -0,0 +1,15 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/zencoding-vim/zencoding-vim-0.80.ebuild,v 1.1 2012/12/03 19:16:24 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: HTML and CSS hi-speed coding"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=2981 http://mattn.github.com/zencoding-vim/"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
VIM_PLUGIN_HELPFILES="zencoding.txt"
|
@ -0,0 +1,35 @@
|
||||
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
|
||||
|
@ -0,0 +1,50 @@
|
||||
# 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-r4.ebuild,v 1.1 2012/12/04 04:16:42 radhermit 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
|
||||
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
|
||||
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
|
||||
prune_libtool_files
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtasn1/libtasn1-3.2.ebuild,v 1.1 2012/12/03 18:42:50 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="ASN.1 library"
|
||||
HOMEPAGE="http://www.gnu.org/software/libtasn1/"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-macos"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
DEPEND=">=dev-lang/perl-5.6
|
||||
virtual/yacc"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README THANKS )
|
||||
|
||||
src_configure(){
|
||||
local myeconfargs
|
||||
[[ "${VALGRIND_TESTS}" == "0" ]] && myeconfargs+=( --disable-valgrind-tests )
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
|
||||
if use doc ; then
|
||||
dodoc doc/libtasn1.pdf
|
||||
dohtml doc/reference/html/*
|
||||
fi
|
||||
}
|
@ -1,29 +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/syncdir/syncdir-1.0.ebuild,v 1.14 2012/12/01 19:50:24 armin76 Exp $
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Provides an alternate implementation for open, link, rename, and unlink "
|
||||
HOMEPAGE="http://untroubled.org/syncdir"
|
||||
SRC_URI="http://untroubled.org/syncdir/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" || die "compile problem"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
dodir /usr
|
||||
dodir /usr/lib
|
||||
|
||||
make prefix="${D}"/usr install || die "install problem"
|
||||
|
||||
dodoc testsync.c
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
diff -ru a/modules/bindings/glibc/linux.lisp b/modules/bindings/glibc/linux.lisp
|
||||
--- a/modules/bindings/glibc/linux.lisp 2008-10-10 16:15:49.000000000 +0300
|
||||
+++ b/modules/bindings/glibc/linux.lisp 2012-12-04 01:01:35.000000000 +0200
|
||||
@@ -86,7 +86,7 @@
|
||||
|
||||
(def-c-type __key_t) ; int
|
||||
|
||||
-(c-lines "#include <bits/ipctypes.h>~%")
|
||||
+(c-lines "#include <sys/ipc.h>~%")
|
||||
(def-c-type __ipc_pid_t) ; ushort
|
||||
|
||||
; --------------------------- <sys/types.h> -----------------------------------
|
@ -1 +1,2 @@
|
||||
DIST Net-IP-1.25.tar.gz 25749 SHA256 4cd6e2202fd88c46d5458d19bbea80e257b6ba0ec57ea3ac8ae94ed48c9a60c7 SHA512 1f79224946f6e132ee03b3417176f595de3cc49a30e6cef173a5c9d350a71c25b7b1e68c79f2889541672e03f06f1e3bc4a56e805585ba354158230eded517e7 WHIRLPOOL e0c67756746be769747ed17c6e677bd63b58955417bd495980ed11f64f4df886cf78fc13bd4d04a7cc84f89f69470c177d5676e41508b8fc2ba07f4c5f0dabc3
|
||||
DIST Net-IP-1.26.tar.gz 30866 SHA256 040f16f3066647d761b724a3b70754d28cbd1e6fe5ea01c63ed1cd857117d639 SHA512 c561f32b6ca5dc082e2bc6c47000a2ca0f5ee7abb47105f5b1bf98cb76723287416de0a767ea63c18f87964df7f3982c7258fe1208afa22cff0378ae3509d9eb WHIRLPOOL 534010b304f984d2ad6b15862a8d8808c0ab51be316dd2d27e557deed69fd9688d7304fda6b72a17eef1c6a79c5582976ca557c5221253393198969fb316d572
|
||||
|
@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-IP/Net-IP-1.260.0.ebuild,v 1.1 2012/12/03 17:34:38 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=MANU
|
||||
MODULE_VERSION=1.26
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Perl extension for manipulating IPv4/IPv6 addresses"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
PATCHES=( "${FILESDIR}/initip-0.patch" )
|
||||
SRC_TEST="do"
|
@ -1 +1,2 @@
|
||||
DIST Net-Pcap-0.16.tar.gz 82023 SHA256 9311d0d4043ea1f8b855dd1f2dc3312436064f4291c74127eb7c3f79b14677aa SHA512 8948d5c4b7fe6c009d92fd12b49e07caead3a6131f186e4042a3944c19720019c60f726bf08360b116ce1f50da88711399099e25d6aff0790a0c5658c38bd2d2 WHIRLPOOL b2fe351ba692977a3bd8e8cc44104b9ddb53f6b5d3d3b1232e69892c88ec81c6b14cc3c033ccd70624802ad40c229ddb86e293df76d8c53839a8ae8bdb742025
|
||||
DIST Net-Pcap-0.17.tar.gz 92853 SHA256 aaee41ebea17924abdc2d683ec940b3e6b0dc1e5e344178395f57774746a5452 SHA512 14747661b220b119b4182f13dbc1509cae5665e77588dbc8576f7d959f33ef6ee3785f2d9022093c1f1b808c37d04ee313f5ac39cc6eaa917962c9215c5a4de6 WHIRLPOOL 7a5383df5596ad1cd07238fe179d7b20830a81ac8f1e7c482c8717126fbabb997c0ec1d62ca21d10e634fb72df099da4af0ff9c7b8e31f2f083105f0810c3816
|
||||
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-Pcap/Net-Pcap-0.170.0.ebuild,v 1.1 2012/12/03 17:32:33 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=SAPER
|
||||
MODULE_VERSION=0.17
|
||||
inherit perl-module eutils
|
||||
|
||||
DESCRIPTION="Perl Net::Pcap - Perl binding to the LBL pcap"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="net-libs/libpcap
|
||||
dev-perl/IO-Interface"
|
||||
DEPEND="${RDEPEND}"
|
@ -0,0 +1 @@
|
||||
DIST Roman-1.23.zip 7346 SHA256 8cf08358eae8d4f888ca41f09d28ffbace46e5f0f6c85b7206ef552135db7843 SHA512 20a2a9f3961317438b9f761bdcf16c582f57e5efe9b6c869b6170f19615f300e467f3ab555861c83e8c7930ae024381a46da64cd80002a26cae1f2d315759f74 WHIRLPOOL 6b4ae11706099de4a0aa56fa50e5e09176d1b0966e50a3f862563cc6cd3226121333a9d4d1c0bcb5bd0c15afaefae9303d8511061f7784d1d37d2d6c6a5ecd82
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Roman/Roman-1.230.0.ebuild,v 1.1 2012/12/03 19:52:24 pinkbyte Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=CHORNY
|
||||
MODULE_VERSION=1.23
|
||||
MODULE_A_EXT=zip
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Perl module for conversion between Roman and Arabic numerals"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="test? (
|
||||
dev-perl/Test-Pod
|
||||
dev-perl/Test-Pod-Coverage
|
||||
)"
|
||||
|
||||
SRC_TEST="do parallel"
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>proxy-maintainers</herd>
|
||||
<maintainer>
|
||||
<email>zlog.gentoo@gmail.com</email>
|
||||
<name>Mikle Kolyada</name>
|
||||
<description>Maintainer. Assign bugs to him</description>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>pinkbyte@gentoo.org</email>
|
||||
<name>Sergey Popov</name>
|
||||
<description>Proxy maintainer. CC him on bugs</description>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1 +1,2 @@
|
||||
DIST Test-SharedFork-0.20.tar.gz 26434 SHA256 94e0772b88148354938e0a85538543b4b90ab20453d1a84d47fa56a597bb057d SHA512 469e1577bd4dac4ee00f8008a8b909a0eca1a19915e8266f0c9d91b07d205b3ffc4917aaefd3081f5960aeab561f879a96eddf4ffe1de68c8f27b1d63a90d1f0 WHIRLPOOL 89a94d18711b0b056f74393d50b0aef1fe490714d9576f2e3b823030c49ee79d672b97069362516cd6f6b4de4340fadec6b079db2193df7079c65b95599d2bfb
|
||||
DIST Test-SharedFork-0.21.tar.gz 28865 SHA256 c118ca297cf9c877c625f12d2a2f916f6f425c203755f59712d63213e7811b21 SHA512 8259c0b99e90bf7b68c1c4cc32a491540b7a6b7a27f91defa2ab11c1263edf6e9f354d5adc4abf435246f15e1b03dab4d97a01a919dfd8db564c9baf19e3017e WHIRLPOOL 36d39809d3d4c88c341bc19386e3e6c900dc68afbace0c6fcbf4ecf1555bcb8620adc8a504e29eaf480def477c0ca80f60adddbe484166021f6f26511ef3c859
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Test-SharedFork/Test-SharedFork-0.210.0.ebuild,v 1.1 2012/12/03 17:26:23 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=TOKUHIROM
|
||||
MODULE_VERSION=0.21
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="fork test"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-perl/Test-Requires
|
||||
>=virtual/perl-Test-Simple-0.880.0
|
||||
virtual/perl-Test-Harness
|
||||
)
|
||||
"
|
||||
|
||||
SRC_TEST=do
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Text-CSV_XS/Text-CSV_XS-0.940.0.ebuild,v 1.1 2012/12/03 17:23:07 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_A_EXT=tgz
|
||||
MODULE_AUTHOR=HMBRAND
|
||||
MODULE_VERSION=0.94
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Comma-separated values manipulation routines"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-perl/Test-Pod
|
||||
dev-perl/Test-Pod-Coverage
|
||||
)
|
||||
"
|
||||
|
||||
SRC_TEST="parallel"
|
@ -1,3 +1,4 @@
|
||||
DIST XML-LibXSLT-1.76.tar.gz 85845 SHA256 74b0ed2e7738640f21921110230174180e7f110d8b2ef13b7eabdad268341242 SHA512 7608df2b5d776e98cc573f51112786c03cd8fb2ddcc60307dba322b1f108561930165dc33bc4b4ebff83b69026d62243c50ef1f3085abede826b5010a7b51258 WHIRLPOOL e79c3b97eb77dbcbe3f5d61a3ced837a49e6b7c8106e3f4a15e9e263e5a937976c6937d57158f4ffaa35d3f7061ba97d6354238fee06b5308491503963ec00b3
|
||||
DIST XML-LibXSLT-1.77.tar.gz 85981 SHA256 e596388b416871393e8a501bbd5375585aac043cd5bb396a7735f5391a31e89f SHA512 2b12417e580f10af4cfd10aa0940bb195e6b9b2c0b8c046d40e0ee8abacae70562fcf86520df186645f02a3eba26b34498b9201b67fe89e7ac36034c3dacf87c WHIRLPOOL 8f5795e6579831a4e25a08ebb72dd3585ca47c9ad4c46dde3c5a6e2e6b2418988dc3386d9f10bf6bfab13f9dad3fc2e9a7beb237f1b5249b21bc10180e73ae13
|
||||
DIST XML-LibXSLT-1.78.tar.gz 86432 SHA256 4a722353ea71a39bf27c813b01be6525ebeb859bd5832be0b7a34b040ed26e80 SHA512 82d2177d26fd232f261282abbf022201a6a93e0430d655c64bb674406aa25b278775bdca8163222dc3e20f866713f9c70ef9ed4655d73acb1f111276abb80d48 WHIRLPOOL 47e39afe6f6a1d3b5eb2aafc0907669c7c641ebbf83c8161aff425566aaea245788b65de3bbe923def029202c1b128adc62d7eccac8331b7bc583d14160b4f92
|
||||
DIST XML-LibXSLT-1.79.tar.gz 86566 SHA256 c58f172485da38a0ef2dafaa25f189ded9b61547e9dd41ac3d0735cec44239b8 SHA512 a025282e7152da1b449c95020824ac48a6a310ac27d26cc7ce30e3f772be2f5deee6046708ab0c98d2759983623cc8dbc21c214ecc99e10e26e16e12c5bff971 WHIRLPOOL 190b851f1b2f634cc0062466f37fecadfbc4ca102409a2816e23c60396b35a27d9bbdd066271402a6434da91e4ceef11cf5ab1af1b635424896dc925f60e8a7c
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-LibXSLT/XML-LibXSLT-1.790.0.ebuild,v 1.1 2012/12/03 17:20:27 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=SHLOMIF
|
||||
MODULE_VERSION=1.79
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="A Perl module to parse XSL Transformational sheets using gnome's libXSLT"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libxslt-1.1.28
|
||||
>=dev-perl/XML-LibXML-1.700.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
SRC_TEST="do"
|
@ -1 +1,2 @@
|
||||
DIST Net-SSH-Perl-1.34.tar.gz 114507 SHA256 6e8dd1a03f8673d6d210a0c9adf44067b0e4e741c63b47b8e9db2257973425b6 SHA512 6d9246a4ee799d18d79301d79b0325daa6fa4563dd8a5567b9aae80da6c12eb2b7b2476000fe75ce9943bd8b666fa7c631fff993368f22ba3e7fac149451feb6 WHIRLPOOL 53b3e2445749112cae3989035f8de5c7bb4c755aa93554e441fb24bf02ab057b0aadce58de1e5ef6c826f0f4558ae9d59148b30ae082f5269e4b4c8759c1a636
|
||||
DIST Net-SSH-Perl-1.35.tar.gz 113835 SHA256 198558d2a434dda9263f78b03458b2cad9756bc3de082b7297f200d1b5d8a116 SHA512 5b934b63111ea23fa62228192482d84811fbe6be80701b5a67a486ae84795f5bc031ceb0e7b31f1bc1b031aaf26f5f90d6bab1fdd355949de2d5f423041dd06d WHIRLPOOL 1b8dd779ece32a50e0ddfec7a16de3c2138ca73f39609b9444be1d3d4b26e8c1c24706217d0813386d68a2bbe11005d8635f52830d660409697d3241fc587912
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/net-ssh-perl/net-ssh-perl-1.350.0.ebuild,v 1.1 2012/12/03 17:29:56 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN=Net-SSH-Perl
|
||||
MODULE_AUTHOR=SCHWIGON
|
||||
MODULE_VERSION=1.35
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Perl client Interface to SSH"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
virtual/perl-Digest-MD5
|
||||
>=dev-perl/string-crc32-1.2
|
||||
>=dev-perl/Math-GMP-1.04
|
||||
>=dev-perl/math-pari-2.001804
|
||||
>=dev-perl/Digest-SHA1-2.10
|
||||
dev-perl/Digest-HMAC
|
||||
dev-perl/crypt-dh
|
||||
>=dev-perl/crypt-dsa-0.11
|
||||
virtual/perl-MIME-Base64
|
||||
>=dev-perl/convert-pem-0.05
|
||||
dev-perl/Crypt-Blowfish
|
||||
dev-perl/Crypt-DES
|
||||
dev-perl/crypt-idea
|
||||
dev-perl/Crypt-OpenSSL-RSA
|
||||
dev-perl/crypt-rsa
|
||||
dev-perl/digest-bubblebabble"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
#src_compile() {
|
||||
# echo "" | perl-module_src_compile
|
||||
#}
|
||||
SRC_TEST=do
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/perl-ldap/perl-ldap-0.510.0.ebuild,v 1.1 2012/12/03 16:59:22 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=MARSCHAP
|
||||
MODULE_VERSION=0.51
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="A collection of perl modules which provide an object-oriented interface to LDAP servers."
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="sasl xml ssl"
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/Convert-ASN1
|
||||
dev-perl/URI
|
||||
sasl? (
|
||||
virtual/perl-Digest-MD5
|
||||
dev-perl/Authen-SASL
|
||||
)
|
||||
xml? (
|
||||
dev-perl/XML-Parser
|
||||
dev-perl/XML-SAX
|
||||
dev-perl/XML-SAX-Writer
|
||||
)
|
||||
ssl? (
|
||||
>=dev-perl/IO-Socket-SSL-1.26
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
#SRC_TEST=do
|
@ -1,3 +1 @@
|
||||
DIST symfony-1.4.18.tgz 3187940 SHA256 7161427ca421899783c81a61686bfd579acb3841d6a3b5c356072be02d784426 SHA512 c12dbd3a49004e249b37cb34794d525ed90ef0fc1b1eab950c1db76e816ba1aa45843eb31c0e310043f2dca7ab2a470efdf305ee06acdc10b573c5fdc25a0262 WHIRLPOOL 9b08c12a4686744f44ae4aaeb0902883f06ca64deb4abbb4de374045021b9be538bcd987f20db9d8474abd6cdc4e838dabd5c363ddbdad95ff437cde06b0a9c1
|
||||
DIST symfony-1.4.19.tgz 3188169 SHA256 fa84b72abc61660eaab3168728c0d0fab070e690364cd7bc474d507235415308 SHA512 c288f9a70eaaad58ca7f146fbc80e88069c3afe3e37f66c23fb8d22a9a6628e7c65851e5cfcc2e994c7a87db370fbf77e33bd9cc440374dd273ad923ff8ad586 WHIRLPOOL b611fd189430552a639293aae85c3e6c66604b9da457b3ebfc22ab8a12e5351c3cd8d4fdb9a1f9fbfc213a20355e642123c63e0dbfb1b858d2743d55622cd04b
|
||||
DIST symfony-1.4.20.tgz 3193375 SHA256 d23a38ab9bf1c6d6a7d2dabd9f6a220acc19d4f0c3adc3cd3bf62116d77ef0ad SHA512 d2bc71662b0f38d6644a7af7a3e391cd11e36741dd31ac3932722c1315187b13843f4cb2c322467945c460bc3d4fecf77386417338c7af78c3c7465078312fb8 WHIRLPOOL 4025f76994b2123c0de2bff21c06fda8fd18938bf7c0e5c25b961beec1b2d917bb9707fee7649f5eec2b5a952b2a9066e596edb3ee47d1a367be72ba2049e63e
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/symfony/symfony-1.4.18.ebuild,v 1.3 2012/09/28 12:49:07 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit php-pear-lib-r1
|
||||
|
||||
DESCRIPTION="Open-source PHP5 professional web framework"
|
||||
HOMEPAGE="http://www.symfony-project.com/"
|
||||
SRC_URI="http://pear.symfony-project.com/get/${P}.tgz"
|
||||
|
||||
LICENSE="MIT LGPL-2.1 BSD BSD-2 FDL-1.2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-lang/php[cli,ctype,session,simplexml,tokenizer,xml]
|
||||
dev-php/pear"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_postinst() {
|
||||
if has_version '=dev-lang/php-5*[-posix]';then
|
||||
einfo ""
|
||||
einfo "To enable color output on the symfony command line"
|
||||
einfo "add USE=\"posix\" to dev-lang/php"
|
||||
einfo ""
|
||||
fi
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/symfony/symfony-1.4.19.ebuild,v 1.1 2012/10/31 07:07:28 olemarkus Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit php-pear-lib-r1
|
||||
|
||||
DESCRIPTION="Open-source PHP5 professional web framework"
|
||||
HOMEPAGE="http://www.symfony-project.com/"
|
||||
SRC_URI="http://pear.symfony-project.com/get/${P}.tgz"
|
||||
|
||||
LICENSE="MIT LGPL-2.1 BSD BSD-2 FDL-1.2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-lang/php[cli,ctype,session,simplexml,tokenizer,xml]
|
||||
|| ( <dev-lang/php-5.3[pcre,reflection,spl] >=dev-lang/php-5.3 )
|
||||
dev-php/pear"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_postinst() {
|
||||
if has_version '=dev-lang/php-5*[-posix]';then
|
||||
einfo ""
|
||||
einfo "To enable color output on the symfony command line"
|
||||
einfo "add USE=\"posix\" to dev-lang/php"
|
||||
einfo ""
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST rake-remote_task-2.0.6.gem 15872 SHA256 851d6ab1366e29ebc8a88b9ba53bd418aeb69c4752eb406db2a0c13c912eb93d SHA512 4a8bed76fb5f8e5b68be6fb4bca3c284b3ddacdac007c8aa50c92f8c229693b10f1bab3a1e38adfd3173e8b7b7ad236b236e35899f9fd7a4d77a39df1f7a4787 WHIRLPOOL bb34fb0a2f97dbcbb15f0cfdfb4102f33f3cea0dc9d128dc3d74c9233bea1738bac278cd4e40f37be7b507331d059a9d323af3664bd9adb00b0be08d96d55853
|
||||
DIST rake-remote_task-2.1.0.gem 16384 SHA256 ec2fda924d5603aba8aaa959ab732e9f02f358306f19b067bd8cb59309e44a32 SHA512 17066f4ef6fc4dd067eb123d0e478da6a3fc2caea0524bd91ff7d7c6abfb02dc2840a5974ee547031c31cbece9825f4998570e635b33f777362a6eae0678e4a0 WHIRLPOOL 6c4d467577848b4aa04aa64c56743ee3f3847ca57f584438d7a1024656f1f5a6aca73a83dd323d15cf158ae90ed7b1b2546052dc3b7afe9841e77a815b71064c
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake-remote_task/rake-remote_task-2.1.0.ebuild,v 1.1 2012/12/03 19:20:54 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="docs"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="History.txt README.txt"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Vlad the Deployer's sexy brainchild is rake-remote_task, extending
|
||||
Rake with remote task goodness."
|
||||
HOMEPAGE="http://rubyhitsquad.com/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend ">=dev-ruby/hoe-2.9.2 test? ( dev-ruby/minitest )"
|
||||
ruby_add_rdepend ">=dev-ruby/open4-1.0"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/isolate/ s:^:#:' Rakefile
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake/rake-0.8.7-r3.ebuild,v 1.13 2011/03/07 12:00:12 armin76 Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
inherit bash-completion ruby-fakegem
|
||||
|
||||
DESCRIPTION="Make-like scripting in Ruby"
|
||||
HOMEPAGE="http://rake.rubyforge.org/"
|
||||
SRC_URI="mirror://rubyforge/${PN}/${P}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="bash-completion doc"
|
||||
|
||||
#ruby_add_bdepend test dev-ruby/flexmock
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
all_ruby_compile() {
|
||||
if use doc; then
|
||||
ruby -Ilib bin/rake rdoc || die "doc generation failed"
|
||||
fi
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib bin/rake test || die "tests failed"
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
ruby_fakegem_binwrapper rake
|
||||
|
||||
if use doc; then
|
||||
pushd html
|
||||
dohtml -r *
|
||||
popd
|
||||
fi
|
||||
|
||||
dodoc CHANGES README TODO || die
|
||||
doman doc/rake.1.gz || die
|
||||
|
||||
dobashcompletion "${FILESDIR}"/rake.bash-completion rake
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake/rake-0.8.7-r4.ebuild,v 1.8 2011/03/07 12:00:12 armin76 Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
inherit bash-completion ruby-fakegem
|
||||
|
||||
DESCRIPTION="Make-like scripting in Ruby"
|
||||
HOMEPAGE="http://rake.rubyforge.org/"
|
||||
SRC_URI="mirror://rubyforge/${PN}/${P}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~arm hppa ia64 ~ppc ppc64 s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="bash-completion doc"
|
||||
|
||||
#ruby_add_bdepend test dev-ruby/flexmock
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
all_ruby_compile() {
|
||||
if use doc; then
|
||||
ruby -Ilib bin/rake rdoc || die "doc generation failed"
|
||||
fi
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib bin/rake test || die "tests failed"
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
ruby_fakegem_binwrapper rake
|
||||
|
||||
if use doc; then
|
||||
pushd html
|
||||
dohtml -r *
|
||||
popd
|
||||
fi
|
||||
|
||||
dodoc CHANGES README TODO || die
|
||||
doman doc/rake.1.gz || die
|
||||
|
||||
dobashcompletion "${FILESDIR}"/rake.bash-completion rake
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake/rake-0.8.7-r5.ebuild,v 1.6 2011/09/14 16:02:06 jer Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby18 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
inherit bash-completion ruby-fakegem
|
||||
|
||||
DESCRIPTION="Make-like scripting in Ruby"
|
||||
HOMEPAGE="http://rake.rubyforge.org/"
|
||||
SRC_URI="mirror://rubyforge/${PN}/${P}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="bash-completion doc"
|
||||
|
||||
#ruby_add_bdepend test dev-ruby/flexmock
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
all_ruby_compile() {
|
||||
if use doc; then
|
||||
ruby -Ilib bin/rake rdoc || die "doc generation failed"
|
||||
fi
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib bin/rake test || die "tests failed"
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
ruby_fakegem_binwrapper rake
|
||||
|
||||
if use doc; then
|
||||
pushd html
|
||||
dohtml -r *
|
||||
popd
|
||||
fi
|
||||
|
||||
dodoc CHANGES README TODO || die
|
||||
doman doc/rake.1.gz || die
|
||||
|
||||
dobashcompletion "${FILESDIR}"/rake.bash-completion rake
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST rdtool-0.6.22.tar.gz 89524 SHA256 11c528e739ed5c08728b9eaf17ff56e9a5b8e46b31c968874a1dcc5a5c350068 SHA512 66c1ad9c9bc0447bcd16712c6dbd31ccac1df8fd0b566baeda158f40dadb320a6104c673ea19d25b523a2700b58187fe0a01e577de52f55f7e6841fe61bf5802 WHIRLPOOL 04053344da6531d647a84d70c75bb8d7a528a900a1078e493fd59c014655755a1f1a6887511f73b0467de9ecf8a397c8e21908464f35c150f92d705321ceff5e
|
||||
DIST rdtool-0.6.37.gem 115200 SHA256 887ceef9529076c344b21c35b1a5a49c7fba32827f44321952dcb96949e6b553 SHA512 2d0374ef30fd7926c98277d3d5268c06d6d127c9870c64ae287828c645871cbc67051dfaa2b7c7b236945cc541323c718886f8545dbc30f0b52305eca5deea6b WHIRLPOOL f41e2d5c4739c0e306b307b3c6e8398a17cef00c510b16878caa5f6ccba3fe5dacfb2aed51eba90a8eee6f6fb609d513e8c41df032b5ebab74d892bc7dd561ed
|
||||
DIST rdtool-0.6.38.gem 115712 SHA256 d9d32e215c1958847001ca5940ad42aa8bcbdf984436f1235b9dbd300e4c74bc SHA512 958e9066a8b3610eb1a78069e615c5bd672aa56b3b45669604b35cd094bb8ddc549d8f373d1ee53864c27a0aa7ee038101b3256c56b3b8ffe618f75a1a939bcd WHIRLPOOL 2f066ce8d5dc91059ef74f5ec8f65aa2234afe3b615690e316f2ec8522df4b6aaafae0f041a0f3110be5b2ee77c0ff9ae0a703613ca2f45ab0ad324c0dac70da
|
||||
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdtool/rdtool-0.6.38.ebuild,v 1.1 2012/12/03 19:23:29 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="HISTORY README.*"
|
||||
|
||||
inherit elisp-common ruby-fakegem
|
||||
|
||||
DESCRIPTION="A multipurpose documentation format for Ruby"
|
||||
HOMEPAGE="https://github.com/uwabami/rdtool"
|
||||
|
||||
LICENSE="Ruby GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="emacs"
|
||||
|
||||
RDEPEND="${RDEPEND} emacs? ( virtual/emacs )"
|
||||
|
||||
SITEFILE=50${PN}-gentoo.el
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install ${PN} utils/rd-mode.el
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST rspec-core-2.10.1-git.tgz 150158 SHA256 393899dd493af4e5e19daf27b3ed8840d477d2756513836a91dbd0cd75045185 SHA512 87b46fe493829cbcc6d8c34089e2a2b16a362102d25f2a5854caa4495155dd1a6f5bb0b5fb37d7fe6471e5d34716d80bcf4c9a4e06fcf4181a18fc0eef942f32 WHIRLPOOL e505ab4dd7ef4540116ec5ac80dea1af01fff943bcd19b3599e22657d71943166ee6ab0fdab964d332cbc7eee6c81c1ad8376fb5931b9dda0105486e8451ec1d
|
||||
DIST rspec-core-2.11.1-git.tgz 154202 SHA256 efb1423943fd4dea19e6c22909d525dce9f77449d2e6bd983d0465d39854219b SHA512 52dde93ad7ce1ee2411199e9f2dad070dbacce52080c964d7c02b87170f26f5f8282c7a406a03be03239b0bb3c06c090d6f5718de1895f636b118169874460b4 WHIRLPOOL 5426b463e56c039a27273928ecc1552e01fb1ce87c9271de301795c2f3e4bd5d8243f8d4b9b18128205c301e361e7cfcc27d19dd1a980b5a0e202c05670bd184
|
||||
DIST rspec-core-2.12.0-git.tgz 166757 SHA256 5e70eb7961901d15410276016a4970f864f57dc928c3b10de4c78c7842d564f2 SHA512 ec1b415b023b237f0641484ec2312a91a685b07d89f86c7fd8b7a0648d29ea604c4a0066329700ddf70a14d233ce4ef6cd0b0717f8e4d7bfcd39205556e11798 WHIRLPOOL c1b5e23a884d9073d7cee80079c3d0075a5b00b5b7313200ce607d653ea8a4aa587af9bbaf24e904659ee517ba1db6d9c3dae702aa00cc0d688c5f17e70a7042
|
||||
DIST rspec-core-2.12.1-git.tgz 168027 SHA256 b11a84de733d1b0c8a0708cadaa8c1e3c5e80aaf1446baa634cadc1cf5cdf661 SHA512 d57a596c64e11efaabb5d989e923c814f648cb34085994b8c5574baece7f89c7a764fd9bf37b8686d81523420d4206b90607db36c69c3f1c130f5e01093d9ac3 WHIRLPOOL c0576691d37a8b18357bb6f77f71a3802310d8493927cf1704ac82f900968e36e6fb2481d9db6f8c8a52bb73ba70de4a56755e8fb65b1c47f618feb18c511d1c
|
||||
DIST rspec-core-2.6.4.gem 122368 SHA256 9d41146ee85fc8177d54331d72dfcd9ea71df41ed5d62bdbc1a027be496d903c SHA512 c9990ec808cec9a76d609cb4301f78e1713ed22fb7f44d4e09f9f03b6a3a644462b4b3afa520037dcf2b960be52b405ddabb0ae5028d5d910045f4eaff93a91a WHIRLPOOL 773365483a7e0164061983983af4f6a8faee4a52d0d5125fe887a0a2f67e4891692ef0670baa5ce7b7e0624a69efa68fb9e4f564e1d4d89e6727fa940c0b750f
|
||||
|
@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-core/rspec-core-2.12.1.ebuild,v 1.1 2012/12/03 19:31:55 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ree18 ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="none"
|
||||
RUBY_FAKEGEM_TASK_DOC="none"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
|
||||
|
||||
# Also install this custom path since internal paths depend on it.
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="exe"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="rspec-core.gemspec"
|
||||
|
||||
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 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${RDEPEND} !<dev-ruby/rspec-1.3.1-r1"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
>=dev-ruby/nokogiri-1.5.2
|
||||
dev-ruby/syntax
|
||||
>=dev-ruby/fakefs-0.4.0
|
||||
>=dev-ruby/zentest-4.6.2
|
||||
dev-ruby/rspec-expectations:2
|
||||
>=dev-ruby/rspec-mocks-2.12.0:2
|
||||
)"
|
||||
ruby_add_bdepend "doc? ( dev-ruby/yard )"
|
||||
|
||||
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
|
||||
|
||||
# Avoid dependency on cucumber since we can't run the features anyway.
|
||||
sed -i -e '/[Cc]ucumber/ s:^:#:' Rakefile || die
|
||||
|
||||
# Also clean the /usr/lib/rubyee path (which is our own invention).
|
||||
sed -i -e 's#lib\\d\*\\/ruby\\/#lib\\d*\\/ruby(ee|)\\/#' lib/rspec/core/configuration.rb || die
|
||||
|
||||
# Remove jruby-specific comparison documents since for us the normal
|
||||
# version passes.
|
||||
cp spec/rspec/core/formatters/text_mate_formatted-1.8.7.html spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html|| die
|
||||
|
||||
# Duplicate exe also in bin. We can't change it since internal stuff
|
||||
# also depends on this and fixing that is going to be fragile. This
|
||||
# way we can at least install proper bin scripts.
|
||||
cp -R exe bin || die
|
||||
|
||||
# Avoid unneeded dependency on git.
|
||||
sed -i -e '/git ls-files/ s:^:#:' rspec-core.gemspec || die
|
||||
|
||||
# Avoid aruba dependency so that we don't end up in dependency hell.
|
||||
sed -i -e '/aruba/ s:^:#:' -e '104,106 s:^:#:' spec/spec_helper.rb || die
|
||||
rm spec/command_line/order_spec.rb || die
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
if use doc ; then
|
||||
yardoc || die
|
||||
fi
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} -Ilib bin/rspec spec || die "Tests failed."
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
From b5c3d3aa55621c44db439e4a73884e0d0bf9612c Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Ulrich=20Sp=C3=B6rlein?= <uqs@spoerlein.net>
|
||||
Date: Wed, 28 Nov 2012 21:58:44 +0100
|
||||
Subject: [PATCH] Fix compilation, the last rebase/merge went wrong.
|
||||
|
||||
Noticed by: Andy Pilate
|
||||
---
|
||||
src/svn.cpp | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/src/svn.cpp b/src/svn.cpp
|
||||
index 1aadce9..b2fe2a2 100644
|
||||
--- a/src/svn.cpp
|
||||
+++ b/src/svn.cpp
|
||||
@@ -896,7 +896,7 @@ int SvnRevision::recurse(const char *path, const svn_fs_path_change_t *change,
|
||||
rev_from, changes, current, *match, matchRules, dirpool) == EXIT_FAILURE)
|
||||
return EXIT_FAILURE;
|
||||
} else {
|
||||
- if (dirent->kind == svn_node_dir) {
|
||||
+ if (i.value() == svn_node_dir) {
|
||||
qDebug() << current << "rev" << revnum
|
||||
<< "did not match any rules; auto-recursing";
|
||||
if (recurse(entry, change, entryFrom.isNull() ? 0 : entryFrom.constData(),
|
||||
--
|
||||
1.7.1
|
||||
|
@ -0,0 +1,14 @@
|
||||
--- src/src.pro 2011-01-11 09:27:21.530166986 +0100
|
||||
+++ src/src.pro 2011-01-11 09:30:55.743128934 +0100
|
||||
@@ -7,10 +7,7 @@
|
||||
APR_INCLUDE = /usr/include/apr-1
|
||||
exists(local-config.pri):include(local-config.pri)
|
||||
|
||||
-VERSION = $$system(git --no-pager show --pretty=oneline --no-notes | head -1 | cut -b-40)
|
||||
- !isEmpty(VERSION){
|
||||
- VERSION = $${VERSION}
|
||||
- }
|
||||
+VERSION = "1.0.8"
|
||||
|
||||
VERSTR = '\\"$${VERSION}\\"' # place quotes around the version string
|
||||
DEFINES += VER=\"$${VERSTR}\" # create a VER macro containing the version string
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/svn2git/svn2git-1.0.8.ebuild,v 1.1 2012/12/03 19:20:25 sping Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils qt4-r2
|
||||
[ "$PV" == "9999" ] && inherit git
|
||||
|
||||
DESCRIPTION="Tool for one-time conversion from svn to git."
|
||||
HOMEPAGE="http://gitorious.org/svn2git/svn2git"
|
||||
if [ "$PV" == "9999" ]; then
|
||||
EGIT_REPO_URI="git://gitorious.org/svn2git/svn2git.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://gitorious.org/${PN}/${PN}/archive-tarball/${PV} -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
# KEYWORDS way up
|
||||
|
||||
DEPEND="dev-vcs/subversion
|
||||
x11-libs/qt-core:4"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-vcs/git"
|
||||
|
||||
S=${WORKDIR}/${PN}-${PN}
|
||||
|
||||
src_prepare() {
|
||||
# Note: patching order matters
|
||||
epatch "${FILESDIR}"/${PN}-1.0.2.1-include-path.patch
|
||||
if [[ "$PV" != "9999" ]]; then
|
||||
epatch "${FILESDIR}"/${P}-version.patch
|
||||
fi
|
||||
epatch "${FILESDIR}"/${P}-compile.patch
|
||||
|
||||
qt4-r2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/${PN}/samples
|
||||
doins samples/*.rules || die 'doins failed'
|
||||
dobin svn-all-fast-export || die 'dobin failed'
|
||||
dosym svn-all-fast-export /usr/bin/svn2git || die 'dosym failed'
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
DIST fbsplash-theme-emerge-world-1.0.tar.bz2 3963650 RMD160 8d511f38394f8d9a3bc4794e1ca8f49f901d7c73 SHA1 442f8e57198985408002608d075bdd494b46c8e4 SHA256 a00ee0364842b276389eb09c95fa3ee16ad3fa15017998fe6765d45167015d7d
|
||||
DIST fbsplash-theme-emergence-r2.tar.bz2 4794297 RMD160 00d10c22bc0e596e6211efde44ebdfd2985bd338 SHA1 fce59cb27113372f283198c9f39d81f31162b912 SHA256 77eda040aa858b19c822549bb1478dbb66a5e68f5ce3dade727ef36ae9121d92
|
||||
DIST fbsplash-theme-gentoo-r2.tar.bz2 5605891 RMD160 9c637fa89b834c49ca210847502544ff94a1cd09 SHA1 b624575bff6ab706c22ab6d0bdd68c521d36af23 SHA256 30bc1e5a13d978c0c3ad4b9c25576897018053d3e9d573e7af0a8865bc2f3f82
|
||||
DIST fbsplash-theme-natural_gentoo-7.1.tar.bz2 237317 RMD160 c30aff5da3dc7456b3b023b04e8fc9e509f4183e SHA1 d3715702ba240ada593f41b1d25dff277aaf47be SHA256 9f066a18db8504cd9266d03a714f6616459d7a27da45b2b1a7939f7261fc1702
|
||||
DIST natural_gentoo-8.0-r1.tar.bz2 287280 RMD160 4775b7a6ca4d0bf313e6818e6e1223e5f6add5d0 SHA1 127ed03c7fe9b18940027e6622139a42550a48c4 SHA256 b7a09f00d6abcc39be99496da83d65cdfb0bfdde674dec021b9b6829402bfec3
|
||||
DIST natural_gentoo-9.0-r1.tar.bz2 394701 RMD160 2d2a2a7db284e61b0623f99710a3650dfc3a28db SHA1 f9fba5b7c58598bd5b8d9c2aae696e633ee4a468 SHA256 08f362d64e36a0475375b1fdb065d58ee8bd2a0985524958b4060065bccf6f53
|
||||
DIST natural_gentoo-9.0-r2.tar.bz2 433306 RMD160 1fd4e702c62c21418c00b8a1a5c0dd419eb87c09 SHA1 f99581ca818d1b9a9b6af26b66f71bdd3cce3d27 SHA256 9f31569123854dbeff596e40edcdb88dcb953a90d936ff6c9e177cf52d3825a2
|
||||
DIST natural_gentoo-9.0.tar.bz2 382387 RMD160 7ef43d1f7a1359e3fd3b7d7321e7309b466650d7 SHA1 741c15f052097900ba49c25bec78da6263d6a336 SHA256 aaa673a0102c9053c5e2545ef3857de5d11c6d9fbd1609d2849203c06797775b
|
||||
DIST fbsplash-theme-emerge-world-1.0.tar.bz2 3963650 SHA256 a00ee0364842b276389eb09c95fa3ee16ad3fa15017998fe6765d45167015d7d
|
||||
DIST fbsplash-theme-emergence-r2.tar.bz2 4794297 SHA256 77eda040aa858b19c822549bb1478dbb66a5e68f5ce3dade727ef36ae9121d92
|
||||
DIST fbsplash-theme-gentoo-r2.tar.bz2 5605891 SHA256 30bc1e5a13d978c0c3ad4b9c25576897018053d3e9d573e7af0a8865bc2f3f82
|
||||
DIST fbsplash-theme-natural_gentoo-7.1.tar.bz2 237317 SHA256 9f066a18db8504cd9266d03a714f6616459d7a27da45b2b1a7939f7261fc1702
|
||||
DIST natural_gentoo-8.0-r1.tar.bz2 287280 SHA256 b7a09f00d6abcc39be99496da83d65cdfb0bfdde674dec021b9b6829402bfec3
|
||||
DIST natural_gentoo-9.0-r1.tar.bz2 394701 SHA256 08f362d64e36a0475375b1fdb065d58ee8bd2a0985524958b4060065bccf6f53
|
||||
DIST natural_gentoo-9.0-r2.tar.bz2 433306 SHA256 9f31569123854dbeff596e40edcdb88dcb953a90d936ff6c9e177cf52d3825a2
|
||||
DIST natural_gentoo-9.0.tar.bz2 382387 SHA256 aaa673a0102c9053c5e2545ef3857de5d11c6d9fbd1609d2849203c06797775b
|
||||
|
@ -1 +1 @@
|
||||
DIST SFML-1.6-c-sdk-linux-32.tar.gz 1070818 RMD160 77a954ddd3e87c380ecd2f464aaa8e31ea9816d8 SHA1 a1266484200e847bbd453960896bdf924e45477a SHA256 c186cc5f0c9e4eee8864143d8e5757849bc84689af43223996e1b289958c076e
|
||||
DIST SFML-1.6-c-sdk-linux-32.tar.gz 1070818 SHA256 c186cc5f0c9e4eee8864143d8e5757849bc84689af43223996e1b289958c076e
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue