parent
ea29a8e2f7
commit
2cddaf9fe1
@ -1,2 +1,3 @@
|
||||
DIST rsyslog-5.8.5.tar.gz 2364874 RMD160 46b20433e0e5feb807b4777bb8141221fe5dd65b SHA1 a5dc735714b573f577db2892f596dcb0ef35c747 SHA256 a519704c06de1026847f69d99f31a2a32783e9547f5249dddefe805bfbc3ea50
|
||||
DIST rsyslog-5.8.6.tar.gz 2373078 RMD160 96beddd94eea0c635c41409f92c897d3620182c0 SHA1 1afe39077253dc9f636f676e8374d09a101a9c94 SHA256 c51206e3b11c7b4cddf92607b9d6ddd07430ff7dd8d06849804c9ea1c9191825
|
||||
DIST rsyslog-zeromq.tar.gz 22223 RMD160 632a1888d3972da4ce623c8f6973c72b026b035c SHA1 e6f02c25af19022d0cc9d4782f58db3fc27a9f0f SHA256 3cca6ce8722ec5035744a9b88e65b89b35f6b2e6bbdbc9c9bba89d22addd2753
|
||||
|
@ -0,0 +1,253 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/rsyslog-5.8.6.ebuild,v 1.1 2011/12/28 12:00:25 ultrabug Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools-utils systemd
|
||||
|
||||
DESCRIPTION="An enhanced multi-threaded syslogd with database support and more."
|
||||
HOMEPAGE="http://www.rsyslog.com/"
|
||||
SRC_URI="http://www.rsyslog.com/files/download/${PN}/${P}.tar.gz
|
||||
zeromq? ( https://github.com/aggregateknowledge/rsyslog-zeromq/tarball/44b551abc29dd5b541884bd51b45b413855a93d8 -> ${PN}-zeromq.tar.gz )"
|
||||
|
||||
LICENSE="GPL-3 LGPL-3"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~sparc ~x86"
|
||||
SLOT="0"
|
||||
IUSE="dbi debug doc extras gnutls kerberos mysql oracle postgres relp snmp static-libs zeromq zlib"
|
||||
|
||||
RDEPEND="dbi? ( dev-db/libdbi )
|
||||
extras? ( net-libs/libnet )
|
||||
gnutls? ( net-libs/gnutls )
|
||||
kerberos? ( virtual/krb5 )
|
||||
mysql? ( virtual/mysql )
|
||||
postgres? ( dev-db/postgresql-base )
|
||||
oracle? ( dev-db/oracle-instantclient-basic )
|
||||
relp? ( >=dev-libs/librelp-0.1.3 )
|
||||
snmp? ( net-analyzer/net-snmp )
|
||||
zeromq? ( net-libs/zeromq )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig"
|
||||
|
||||
BRANCH="5-stable"
|
||||
|
||||
# need access to certain device nodes
|
||||
RESTRICT="test"
|
||||
|
||||
# Maitainer note : open a bug to upstream
|
||||
# showing that building in a separate dir fails
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
|
||||
DOCS=(AUTHORS ChangeLog doc/rsyslog-example.conf)
|
||||
|
||||
src_prepare() {
|
||||
# Maintainer notes:
|
||||
# ZeroMQ support, for now it is done by hand until upstream process bug.
|
||||
# Bugzilla : http://bugzilla.adiscon.com/show_bug.cgi?id=277
|
||||
if use zeromq; then
|
||||
local ZEROPATH=${WORKDIR}/aggregateknowledge-rsyslog-zeromq-44b551a
|
||||
epatch ${ZEROPATH}/rsyslog-zeromq.patch
|
||||
cp -r ${ZEROPATH}/{i,o}mzeromq "${S}/plugins"
|
||||
fi
|
||||
|
||||
# Don't force '-g' CFLAG
|
||||
sed -i 's/CFLAGS="\(.*\) -g"/CFLAGS="\1"/g' configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Maintainer notes:
|
||||
# * rfc3195 needs a library and development of that library
|
||||
# is suspended, so we disable it
|
||||
# * About the java GUI:
|
||||
# The maintainer says there is no real installation support
|
||||
# for the java GUI, so we disable it for now.
|
||||
local myeconfargs=(
|
||||
--disable-gui
|
||||
--disable-rfc3195
|
||||
--enable-largefile
|
||||
--enable-unlimited-select
|
||||
--enable-imdiag
|
||||
--enable-imfile
|
||||
--enable-impstats
|
||||
--enable-imtemplate
|
||||
--enable-imptcp
|
||||
--enable-mail
|
||||
--enable-omprog
|
||||
--enable-omstdout
|
||||
--enable-omtemplate
|
||||
--enable-omdbalerting
|
||||
--enable-omuxsock
|
||||
--enable-pmlastmsg
|
||||
--enable-pmrfc3164sd
|
||||
--enable-pmcisconames
|
||||
--enable-pmaixforwardedfrom
|
||||
--enable-pmsnare
|
||||
$(use_enable extras omudpspoof)
|
||||
$(use_enable zlib)
|
||||
$(use_enable mysql)
|
||||
$(use_enable dbi libdbi)
|
||||
$(use_enable postgres pgsql)
|
||||
$(use_enable oracle oracle)
|
||||
$(use_enable gnutls)
|
||||
$(use_enable kerberos gssapi-krb5)
|
||||
$(use_enable relp)
|
||||
$(use_enable snmp)
|
||||
$(use_enable snmp mmsnmptrapd)
|
||||
$(use_enable debug)
|
||||
$(use_enable debug rtinst)
|
||||
$(use_enable debug diagtools)
|
||||
$(use_enable debug memcheck)
|
||||
$(use_enable debug valgrind)
|
||||
)
|
||||
|
||||
use zeromq && myeconfargs=(
|
||||
${myeconfargs[@]-}
|
||||
$(use_enable zeromq imzeromq)
|
||||
$(use_enable zeromq omzeromq)
|
||||
)
|
||||
|
||||
systemd_to_myeconfargs
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && HTML_DOCS=(doc/)
|
||||
autotools-utils_src_install
|
||||
|
||||
insinto /etc
|
||||
newins "${FILESDIR}/${BRANCH}/${PN}-gentoo.conf" ${PN}.conf
|
||||
newconfd "${FILESDIR}/${BRANCH}/${PN}.confd" ${PN}
|
||||
newinitd "${FILESDIR}/${BRANCH}/${PN}.initd" ${PN}
|
||||
keepdir /var/spool/${PN}
|
||||
keepdir /etc/ssl/${PN}
|
||||
keepdir /etc/${PN}.d
|
||||
|
||||
use static-libs || find "${D}" -name '*.la' -delete || die
|
||||
|
||||
if use mysql; then
|
||||
insinto /usr/share/doc/${PF}/scripts/mysql
|
||||
doins plugins/ommysql/{createDB.sql,contrib/delete_mysql}
|
||||
fi
|
||||
|
||||
if use postgres; then
|
||||
insinto /usr/share/doc/${PF}/scripts/pgsql
|
||||
doins plugins/ompgsql/createDB.sql
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${BRANCH}/${PN}.logrotate" ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use mysql || use postgres; then
|
||||
echo
|
||||
elog "Sample SQL scripts for MySQL & PostgreSQL have been installed to:"
|
||||
elog " /usr/share/doc/${PF}/scripts"
|
||||
fi
|
||||
|
||||
if use gnutls; then
|
||||
echo
|
||||
elog "To create a default CA and certificates for your server and clients, run:"
|
||||
elog " emerge --config =${PF}"
|
||||
elog "on your logging server. You can run it several times,"
|
||||
elog "once for each logging client. The client certificates will be signed"
|
||||
elog "using the CA certificate generated during the first run."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
if ! use gnutls ; then
|
||||
einfo "There is nothing to configure for rsyslog unless you"
|
||||
einfo "used USE=gnutls to build it."
|
||||
return 0
|
||||
fi
|
||||
|
||||
# Make sure the certificates directory exists
|
||||
CERTDIR="${ROOT}/etc/ssl/${PN}"
|
||||
if [ ! -d "${CERTDIR}" ]; then
|
||||
mkdir "${CERTDIR}" || die
|
||||
fi
|
||||
einfo "Your certificates will be stored in ${CERTDIR}"
|
||||
|
||||
# Create a default CA if needed
|
||||
if [ ! -f "${CERTDIR}/${PN}_ca.cert.pem" ]; then
|
||||
einfo "No CA key and certificate found in ${CERTDIR}, creating them for you..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_ca.privkey.pem" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<_EOF
|
||||
cn = Portage automated CA
|
||||
ca
|
||||
cert_signing_key
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-self-signed \
|
||||
--load-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--outfile "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--template "${T}/${PF}.$$" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||
|
||||
# Create the server certificate
|
||||
echo
|
||||
einfon "Please type the Common Name of the SERVER you wish to create a certificate for: "
|
||||
read -r CN
|
||||
|
||||
einfo "Creating private key and certificate for server ${CN}..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<_EOF
|
||||
cn = ${CN}
|
||||
tls_www_server
|
||||
dns_name = ${CN}
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-certificate \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--template "${T}/${PF}.$$" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||
|
||||
else
|
||||
einfo "Found existing ${CERTDIR}/${PN}_ca.cert.pem, skipping CA and SERVER creation."
|
||||
fi
|
||||
|
||||
# Create a client certificate
|
||||
echo
|
||||
einfon "Please type the Common Name of the CLIENT you wish to create a certificate for: "
|
||||
read -r CN
|
||||
|
||||
einfo "Creating private key and certificate for client ${CN}..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<_EOF
|
||||
cn = ${CN}
|
||||
tls_www_client
|
||||
dns_name = ${CN}
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-certificate \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--template "${T}/${PF}.$$" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||
|
||||
rm -f "${T}/${PF}.$$"
|
||||
|
||||
echo
|
||||
einfo "Here is the documentation on how to encrypt your log traffic:"
|
||||
einfo " http://www.rsyslog.com/doc/rsyslog_tls.html"
|
||||
}
|
@ -1,8 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>web-apps</herd>
|
||||
<maintainer>
|
||||
<email>web-apps@gentoo.org</email>
|
||||
</maintainer>
|
||||
<herd>web-apps</herd>
|
||||
<maintainer>
|
||||
<email>blueness@gentoo.org</email>
|
||||
<name>Anthony G. Basile</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST i7z-0.26.tar.gz 30539 RMD160 580a11cc820a0037e196533ab0bfae9e5f3669b8 SHA1 a0c4e00867955f00708aefcf4a7f4406e4c08423 SHA256 68cf43fc583f2da7f372644f77e83901141543fe47665c9c0148b80258782f85
|
||||
DIST i7z-0.27.1.tar.gz 197875 RMD160 ee0c635571ec9a071cf09bce47967b8f7cbc8200 SHA1 7e8f9efa4ee3ae04a109469614b65e144afa1666 SHA256 862d281fdd5924709056b6c71110f89c7ea1696b6f786bb55a04df8a83cf7758
|
||||
DIST i7z-0.27.tar.gz 121372 RMD160 657ab3d5f8fb2a365afe1a982174cc0dd12d84e2 SHA1 1f90f0594904c96560c57dff39656180eebc7566 SHA256 a06dab9d0a7fcc4ad2bad5b603a0087ed56f96de55015471b4a29c142b0219ea
|
||||
|
@ -0,0 +1,59 @@
|
||||
Makefile | 21 ++++++++++-----------
|
||||
1 files changed, 10 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index df50bde..a8da026 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -17,18 +17,18 @@
|
||||
|
||||
#makefile updated from patch by anestling
|
||||
|
||||
-CFLAGSANY = -g -O0 -fomit-frame-pointer -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILD_MAIN
|
||||
+CFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILD_MAIN
|
||||
|
||||
LBITS := $(shell getconf LONG_BIT)
|
||||
ifeq ($(LBITS),64)
|
||||
- CFLAGS = $(CFLAGSANY) -Dx64_BIT
|
||||
+ CFLAGS += -Dx64_BIT
|
||||
else
|
||||
- CFLAGS = $(CFLAGSANY) -Dx86
|
||||
+ CFLAGS += -Dx86
|
||||
endif
|
||||
|
||||
-CC = gcc
|
||||
+CC ?= gcc
|
||||
|
||||
-LDFLAGS = -lncurses -lpthread -lrt
|
||||
+LIBS = -lncurses -lpthread -lrt
|
||||
INCLUDEFLAGS =
|
||||
|
||||
OBJS = helper_functions
|
||||
@@ -36,15 +36,15 @@ OBJS = helper_functions
|
||||
BIN = i7z
|
||||
SRC = i7z.c helper_functions.c i7z_Single_Socket.c i7z_Dual_Socket.c
|
||||
|
||||
-sbindir = /usr/sbin
|
||||
+sbindir = $(DESTDIR)/usr/sbin
|
||||
|
||||
-all: clean message bin test_exist
|
||||
+all: bin
|
||||
|
||||
message:
|
||||
@echo "If the compilation complains about not finding ncurses.h, install ncurses (libncurses5-dev on ubuntu/debian)"
|
||||
|
||||
bin:
|
||||
- $(CC) $(CFLAGS) $(INCLUDEFLAGS) $(SRC) $(LDFLAGS) -o $(BIN)
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) $(INCLUDEFLAGS) $(SRC) -o $(BIN) $(LIBS)
|
||||
|
||||
test_exist:
|
||||
@test -f i7z && echo 'Succeeded, now run sudo ./i7z' || echo 'Compilation failed'
|
||||
@@ -55,6 +55,5 @@ clean:
|
||||
distclean: clean
|
||||
rm -f *~ \#*
|
||||
|
||||
-install: all
|
||||
- install -m 755 $(BIN) $(sbindir)
|
||||
-
|
||||
+install:
|
||||
+ install -D -m 755 $(BIN) $(sbindir)/$(BIN)
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/i7z/i7z-0.27.1.ebuild,v 1.1 2011/12/28 22:32:00 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils flag-o-matic qt4-r2 toolchain-funcs
|
||||
|
||||
DESCRIPTION="A better i7 (and now i3, i5) reporting tool for Linux"
|
||||
HOMEPAGE="http://code.google.com/p/i7z/"
|
||||
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="X"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/ncurses
|
||||
X? ( x11-libs/qt-gui:4 )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# -O0 is need because we get segf on higher optimizations
|
||||
replace-flags -O? -O0
|
||||
epatch "${FILESDIR}"/${P}-gentoo.patch
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
if use X; then
|
||||
cd GUI
|
||||
eqmake4 ${PN}_GUI.pro
|
||||
emake clean && emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" install
|
||||
if use X; then
|
||||
dosbin GUI/i7z_GUI
|
||||
fi
|
||||
dodoc put_cores_o*line.sh MAKEDEV-cpuid-msr
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(setq vm-toolbar-pixmap-directory "@SITEETC@")
|
||||
(setq vm-image-directory "@SITEETC@")
|
||||
(require 'vm-autoloads)
|
@ -1,4 +1,2 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(setq vm-toolbar-pixmap-directory "@SITEETC@")
|
||||
(setq vm-image-directory "@SITEETC@")
|
||||
(require 'vm-autoloads)
|
||||
|
@ -0,0 +1,31 @@
|
||||
--- vm-8.2.0b-orig/lisp/Makefile.in
|
||||
+++ vm-8.2.0b/lisp/Makefile.in
|
||||
@@ -96,7 +96,10 @@
|
||||
datadir= @datadir@
|
||||
datarootdir= @datarootdir@
|
||||
lispdir = @lispdir@
|
||||
+etcdir= @etcdir@
|
||||
pixmapdir= @pixmapdir@
|
||||
+docdir = @docdir@
|
||||
+infodir = @infodir@
|
||||
|
||||
EMACS_PROG = @EMACS_PROG@
|
||||
EMACS_FLAVOR = @EMACS_FLAVOR@
|
||||
@@ -137,7 +140,7 @@
|
||||
"$(EMACS_PROG)" $(FLAGS) -l autoload \
|
||||
-f vm-built-autoloads "@abs_builddir@/$@" "`pwd`")
|
||||
echo "(custom-add-load 'vm 'vm-cus-load)" | tr -d '\015' >> $@
|
||||
- echo "(setq vm-configure-datadir \"${datadir}/vm\")" | tr -d '\015' >> $@
|
||||
+ echo "(setq vm-configure-datadir \"${etcdir}\")" | tr -d '\015' >> $@
|
||||
echo "(setq vm-configure-pixmapdir \"${pixmapdir}\")" | tr -d '\015' >> $@
|
||||
echo "(setq vm-configure-docdir \"${docdir}\")" | tr -d '\015' >> $@
|
||||
echo "(setq vm-configure-infodir \"${infodir}\")" | tr -d '\015' >> $@
|
||||
@@ -168,7 +171,7 @@
|
||||
cat $@.tmp >> $@
|
||||
echo "(setq features (delete 'vm-autoloads features))" >> $@
|
||||
echo "(require 'vm-vars)" >> $@
|
||||
- echo "(setq vm-configure-datadir \"${datadir}\")" >> $@
|
||||
+ echo "(setq vm-configure-datadir \"${etcdir}\")" >> $@
|
||||
echo "(setq vm-configure-pixmapdir \"${pixmapdir}\")" >> $@
|
||||
$(RM) $@.tmp
|
||||
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/vm/vm-8.2.0_beta.ebuild,v 1.1 2011/12/29 22:10:34 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit elisp eutils
|
||||
|
||||
MY_PV="${PV/_beta/b}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
DESCRIPTION="The VM mail reader for Emacs"
|
||||
HOMEPAGE="http://www.nongnu.org/viewmail/"
|
||||
SRC_URI="http://launchpad.net/vm/${PV%.*}.x/${MY_PV}/+download/${MY_P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="bbdb ssl"
|
||||
|
||||
DEPEND="bbdb? ( app-emacs/bbdb )"
|
||||
RDEPEND="!app-emacs/u-vm-color
|
||||
${DEPEND}
|
||||
ssl? ( net-misc/stunnel )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-datadir.patch"
|
||||
|
||||
if ! use bbdb; then
|
||||
elog "Excluding vm-pcrisis.el since the \"bbdb\" USE flag is not set."
|
||||
epatch "${FILESDIR}/${PN}-8.0-no-pcrisis.patch"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-emacs="emacs" \
|
||||
--with-lispdir="${SITELISP}/${PN}" \
|
||||
--with-etcdir="${SITEETC}/${PN}" \
|
||||
--with-docdir="/usr/share/doc/${PF}" \
|
||||
$(use bbdb && echo "--with-other-dirs=${SITELISP}/bbdb")
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
|
||||
|
||||
# delete duplicate documentation
|
||||
find "${D}/${SITEETC}/${PN}" -type d -name pixmaps -prune \
|
||||
-o -type f -exec rm '{}' '+' || die
|
||||
rm "${D}/usr/share/doc/${PF}/COPYING" || die
|
||||
|
||||
dodoc example.vm
|
||||
# NEWS is accessed from lisp and must not be compressed
|
||||
docompress -x /usr/share/doc/${PF}/NEWS
|
||||
}
|
@ -1,17 +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/editor-wrapper/editor-wrapper-2.ebuild,v 1.1 2011/08/11 10:40:41 ulm Exp $
|
||||
|
||||
DESCRIPTION="Wrapper script that will execute EDITOR"
|
||||
HOMEPAGE="http://www.gentoo.org/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/libexec
|
||||
newexe "${FILESDIR}/${P}.sh" gentoo-editor || die
|
||||
}
|
@ -1,28 +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/editor-wrapper/editor-wrapper-3.ebuild,v 1.4 2011/08/21 13:19:41 nixnut Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Wrapper scripts that will execute EDITOR or PAGER"
|
||||
HOMEPAGE="http://www.gentoo.org/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's/@VAR@/EDITOR/g' "${FILESDIR}/${P}.sh" >editor || die
|
||||
sed -e 's/@VAR@/PAGER/g' "${FILESDIR}/${P}.sh" >pager || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/libexec
|
||||
doexe editor pager
|
||||
# backwards compatibility
|
||||
dosym editor /usr/libexec/gentoo-editor
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
#!/bin/sh
|
||||
# Copyright 2009-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the MIT/X11 license
|
||||
|
||||
# Editor wrapper script, executes ${EDITOR} with arguments $@
|
||||
|
||||
if [ -z "${EDITOR}" ]; then
|
||||
# Try to get EDITOR from system profile
|
||||
EDITOR=$(. /etc/profile &>/dev/null; echo "${EDITOR}")
|
||||
fi
|
||||
|
||||
if [ -z "${EDITOR}" ]; then
|
||||
echo "$0: The EDITOR variable must be set" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
exec ${EDITOR} "$@"
|
@ -1,17 +0,0 @@
|
||||
#!/bin/sh
|
||||
# Copyright 2009-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the MIT/X11 license
|
||||
|
||||
# Wrapper script, executes ${@VAR@} with arguments $@
|
||||
|
||||
if [ -z "${@VAR@}" ]; then
|
||||
# Try to get @VAR@ from system profile
|
||||
@VAR@=$(. /etc/profile &>/dev/null; echo "${@VAR@}")
|
||||
fi
|
||||
|
||||
if [ -z "${@VAR@}" ]; then
|
||||
echo "$0: The @VAR@ variable must be set" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
exec ${@VAR@} "$@"
|
@ -1,3 +1,2 @@
|
||||
DIST emelfm2-0.7.2.tar.bz2 1053920 RMD160 0322db785ed0fb120b9d752de0cc5043d3165f7d SHA1 26089a11ca863d5728ac759cecf5306f3eae2bba SHA256 0e655d8212a3f3002a337863b2e841f4cedfef1dc704939535278392c3cfe912
|
||||
DIST emelfm2-0.7.4.tar.bz2 1069514 RMD160 18a9a1fc4be17dd37d4f64b3950ba9b2c9f0d50a SHA1 43ac0e2030cb270a2df405cfc937f83848bfbce4 SHA256 fa14f7d42c693b70ee2b6b3effef8cc571c19ae38ce1df1cbb6da90d5e95513c
|
||||
DIST emelfm2-0.7.5.tar.bz2 1055510 RMD160 ff6913eac2f0cec9be72a943a9a02715bb2a2bb7 SHA1 b3aa34d2e9281d761fbfc96acb3eb6f297590c4e SHA256 6dcd2ca2695f0ceb442a8390558580a19d4fb66d1d89e2b103696a6d4e68ac2c
|
||||
DIST emelfm2-0.8.0.tar.bz2 1085861 RMD160 ba20d1073a2a3597f975d7006d3963df1e81e6e5 SHA1 699ddb8854bea97ce908e2a8984070caf946103b SHA256 85baadcf3d52d77eb8a44a325a444d52cf25164b1151c641dc2b36eb68e333e3
|
||||
|
@ -1,62 +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/emelfm2/emelfm2-0.7.2-r1.ebuild,v 1.10 2011/10/27 05:53:51 tetromino Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="A file manager that implements the popular two-pane design"
|
||||
HOMEPAGE="http://emelfm2.net/"
|
||||
SRC_URI="http://${PN}.net/rel/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3 LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86"
|
||||
IUSE="acl fam gimp kernel_linux nls policykit spell udev"
|
||||
|
||||
RDEPEND=">=x11-libs/gtk+-2.12:2
|
||||
acl? ( sys-apps/acl )
|
||||
!kernel_linux? ( fam? ( virtual/fam ) )
|
||||
gimp? ( media-gfx/gimp )
|
||||
policykit? ( sys-auth/polkit )
|
||||
spell? ( app-text/gtkspell:2 )
|
||||
udev? ( sys-fs/udisks
|
||||
dev-libs/dbus-glib )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
myconf="DOCS_VERSION=1 WITH_TRANSPARENCY=1 STRIP=0"
|
||||
|
||||
use udev && myconf="${myconf} WITH_DEVKIT=1"
|
||||
use gimp && myconf="${myconf} WITH_THUMBS=1"
|
||||
use acl && myconf="${myconf} WITH_ACL=1"
|
||||
use kernel_linux && myconf="${myconf} WITH_KERNELFAM=1 USE_INOTIFY=1"
|
||||
use spell && myconf="${myconf} EDITOR_SPELLCHECK=1"
|
||||
use nls || myconf="${myconf} I18N=0"
|
||||
use policykit && myconf="${myconf} WITH_POLKIT=1"
|
||||
|
||||
if ! use kernel_linux && use fam; then
|
||||
if has_version "app-admin/gamin"; then
|
||||
myconf="${myconf} USE_GAMIN=1"
|
||||
else
|
||||
myconf="${myconf} USE_FAM=1"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
emake LIB_DIR="/usr/$(get_libdir)" PREFIX="/usr" \
|
||||
${myconf} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake LIB_DIR="${D}/usr/$(get_libdir)" PREFIX="${D}/usr" \
|
||||
${myconf} install || die
|
||||
newicon icons/${PN}_48.png ${PN}.png
|
||||
prepalldocs
|
||||
}
|
@ -1,55 +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/gentoo/gentoo-0.19.9.ebuild,v 1.3 2011/05/02 16:46:15 signals Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="A modern GTK+ based filemanager for any WM"
|
||||
HOMEPAGE="http://www.obsession.se/gentoo/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND="x11-libs/gtk+:2
|
||||
dev-libs/glib:2
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/pango"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e 's^icons/gnome/16x16/mimetypes^gentoo/icons^' \
|
||||
gentoorc.in || die "Fixing icon path failed."
|
||||
sed -i \
|
||||
-e '/GTK_DISABLE_DEPRECATED/ d' \
|
||||
configure.in || die "Fixing configure.in failed" #357343
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-dependency-tracking \
|
||||
--sysconfdir=/etc/gentoo \
|
||||
$(use_enable nls)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
dodoc AUTHORS BUGS CONFIG-CHANGES CREDITS NEWS \
|
||||
README TODO docs/{FAQ,menus.txt}
|
||||
dohtml -r docs/{images,config,*.{html,css}}
|
||||
newman docs/gentoo.1x gentoo.1
|
||||
docinto scratch
|
||||
dodoc docs/scratch/*
|
||||
|
||||
make_desktop_entry ${PN} Gentoo \
|
||||
/usr/share/${PN}/icons/${PN}.png \
|
||||
"System;FileTools;FileManager"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST AutomaticTexPlugin_10.5.tar.gz 373006 RMD160 510c604d152c03214d1d55bb11f03df6a3af837c SHA1 49879ad5fec34e33e45cf7a6ed23316742f849e9 SHA256 de436a3863256e8cd5202a38b1afb1fccc5a944124126e33d855ac96428cfb32
|
||||
DIST AutomaticTexPlugin_10.6.1.tar.gz 380428 RMD160 155210f33f4d8f10680c3da0b8eeedfe9b9e3cfc SHA1 8cbd732a3451111f30b62bbdf922c77bc4c11c68 SHA256 8f8caa341ac96d963fcc77eeced6b681ff4f68a18b0ca9b54b41a642920fb834
|
||||
DIST AutomaticTexPlugin_10.6.3.tar.gz 384575 RMD160 31fec992d9c3e1f78214ded93408001449fbf525 SHA1 f3cb84dfae331810e78684694590fc28d9c5880e SHA256 56343dad61dce1663657f839c5de0a8b010bce34ffee0209ac62598a1350ab3f
|
||||
DIST AutomaticTexPlugin_10.6.4.tar.gz 385551 RMD160 3498baebcbad639290a0c9b77b83583ea06a3d40 SHA1 06d31d7c269439406789bd68087464b4925a4093 SHA256 1cb8523cc5a376969c33a765ba95dc2b9576bde79509c8792eaf5c9c70ffaef1
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/automatictexplugin/automatictexplugin-10.6.4.ebuild,v 1.1 2011/12/29 20:30:24 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
VIM_PLUGIN_VIM_VERSION="7.3"
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
MY_P="AutomaticTexPlugin_${PV}"
|
||||
DESCRIPTION="vim plugin: a comprehensive plugin for editing LaTeX files"
|
||||
HOMEPAGE="http://atp-vim.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/atp-vim/${MY_P}.tar.gz"
|
||||
LICENSE="GPL-3"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="automatic-tex-plugin.txt"
|
||||
|
||||
RDEPEND="|| ( app-editors/vim[python] app-editors/gvim[python] )
|
||||
!app-vim/vim-latex
|
||||
app-vim/align
|
||||
app-text/wdiff
|
||||
>=dev-lang/python-2.7
|
||||
dev-python/psutil
|
||||
dev-tex/latexmk
|
||||
dev-tex/detex
|
||||
virtual/tex-base"
|
@ -0,0 +1 @@
|
||||
DIST miglayout-4.0-sources.jar 194675 RMD160 68b024cfb647e29ec253886beac004e4bcab96de SHA1 fba673f9c2ebba31b8b741a18b91b475b5c17be0 SHA256 3b8e14f727a14f3179b46d6e754804a93e184c657491d44ec76179e6f619cfd7
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
<longdescription lang="en">
|
||||
For Java developers writing GUI layouts by hand that wants simplicity, power and automatic per platform fidelity, that are dissatisfied with the current layout managers in Swing, JavaFX and SWT, MigLayout solves your layout problems. User interfaces created with MigLayout is easy to maintain, you will understand how the layout will look like just by looking at the source code.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="swt">Add support for the SWT toolkit.</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/miglayout/miglayout-4.0.ebuild,v 1.1 2011/12/28 16:24:33 sera Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
JAVA_PKG_IUSE="doc examples source"
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
DESCRIPTION="Easy to use yet very powerful Java Swing layout manager"
|
||||
HOMEPAGE="http://www.miglayout.com/"
|
||||
SRC_URI="http://www.migcalendar.com/miglayout/versions/${PV}/${P}-sources.jar"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="swt"
|
||||
|
||||
COMMON_DEP="
|
||||
swt? ( dev-java/swt:3.7 )"
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.5"
|
||||
DEPEND="${COMMON_DEP}
|
||||
>=virtual/jdk-1.5
|
||||
app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
java_prepare() {
|
||||
mv net/miginfocom/{demo,examples} . || die
|
||||
mv demo/* examples || die
|
||||
|
||||
if ! use swt; then
|
||||
rm -r net/miginfocom/swt || die
|
||||
fi
|
||||
|
||||
find net -name '*.java' > sources.lst
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local classpath
|
||||
use swt && classpath=( -classpath "$(java-pkg_getjars swt-3.7)" )
|
||||
|
||||
mkdir classes || die
|
||||
ejavac "${classpath[@]}" -d classes @sources.lst || die
|
||||
jar -cf ${PN}.jar -C classes . || die
|
||||
|
||||
if use doc; then
|
||||
javadoc "${classpath[@]}" -author -version -d api @sources.lst || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar ${PN}.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc api
|
||||
use examples && java-pkg_doexamples examples
|
||||
use source && java-pkg_dosrc net
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
DIST ruby-1.8.7-p352.tar.bz2 4207576 RMD160 9a0ea7e7eb83c809d2890b08db2e78eeb93dee0d SHA1 9f3d039e9bfeda54ea2c2175bbeace375a1ea1ae SHA256 9df4e9108387f7d24a6ab8950984d0c0f8cdbc1dad63194e744f1a176d1c5576
|
||||
DIST ruby-1.8.7-p357.tar.bz2 4208157 RMD160 9034fb641f0260aed590856cd9400f186a3dd56a SHA1 ba5ec0ab663976f00fb405be6cfef546bcf0e4e9 SHA256 5c64b63a597b4cb545887364e1fd1e0601a7aeb545e576e74a6d8e88a2765a37
|
||||
DIST ruby-1.9.3-p0.tar.bz2 9554576 RMD160 92e95f1d41f89864e2e4791b522a815e6bf51711 SHA1 f63c116411b981ef54c2caeefb9ccc4d71a5d2cf SHA256 ca8ba4e564fc5f98b210a5784e43dfffef9471222849e46f8e848b37e9f38acf
|
||||
DIST ruby-patches-1.8.7_p352.tar.bz2 2646 RMD160 7af0ab7c86c9284ade489d3a07eb592cb8f20827 SHA1 f4df1f011a96153d4e804be1080a493b454a1852 SHA256 695895d4ab77294975669d879f0b03e08af5fcd750b967b44305031b2c115da6
|
||||
DIST ruby-patches-1.8.7_p357.tar.bz2 2444 RMD160 4287e30945390ee38ef06e91f4eb560d5e888a0b SHA1 4be75adacd5f912b8a80144a0474da4299bc4246 SHA256 779d98e7c325eaf5bdb652dc7ceebda604792cddcce547766966021e60e68aac
|
||||
DIST ruby-patches-1.9.3_p0.tar.bz2 2228 RMD160 5fc6e647ec3f1fe6cbe8014121aa6265c8cd9315 SHA1 10fc10bdde1cc40d4153be840a1314da1d988049 SHA256 22116a403a111701972a5a10d5c31b0bb86dd822c346d0079e86e03866d55df6
|
||||
|
@ -0,0 +1,193 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.7_p357.ebuild,v 1.3 2011/12/29 20:28:31 halcy0n Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib versionator
|
||||
|
||||
MY_P="${PN}-$(replace_version_separator 3 '-')"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
SLOT=$(get_version_component_range 1-2)
|
||||
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
|
||||
# 1.8 and 1.9 series disagree on this
|
||||
RUBYVERSION=$(get_version_component_range 1-2)
|
||||
|
||||
if [[ -n ${PATCHSET} ]]; then
|
||||
if [[ ${PVR} == ${PV} ]]; then
|
||||
PATCHSET="${PV}-r0.${PATCHSET}"
|
||||
else
|
||||
PATCHSET="${PVR}.${PATCHSET}"
|
||||
fi
|
||||
else
|
||||
PATCHSET="${PVR}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An object-oriented scripting language"
|
||||
HOMEPAGE="http://www.ruby-lang.org/"
|
||||
SRC_URI="mirror://ruby/${SLOT}/${MY_P}.tar.bz2
|
||||
http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
|
||||
|
||||
LICENSE="|| ( Ruby GPL-2 )"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="+berkdb debug doc examples +gdbm ipv6 rubytests socks5 ssl threads tk xemacs ncurses +readline libedit"
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
ssl? ( >=dev-libs/openssl-0.9.8m )
|
||||
socks5? ( >=net-proxy/dante-1.1.13 )
|
||||
tk? ( dev-lang/tk[threads=] )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
libedit? ( dev-libs/libedit )
|
||||
!libedit? ( readline? ( sys-libs/readline ) )
|
||||
sys-libs/zlib
|
||||
>=app-admin/eselect-ruby-20100603
|
||||
!<dev-ruby/rdoc-2"
|
||||
DEPEND="${RDEPEND}"
|
||||
PDEPEND="xemacs? ( app-xemacs/ruby-modes )"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
|
||||
epatch "${WORKDIR}/patches"
|
||||
|
||||
# Fix a hardcoded lib path in configure script
|
||||
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
|
||||
configure.in || die "sed failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=
|
||||
|
||||
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
|
||||
filter-flags -fomit-frame-pointer
|
||||
# In many places aliasing rules are broken; play it safe
|
||||
# as it's risky with newer compilers to leave it as it is.
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
# Socks support via dante
|
||||
if use socks5 ; then
|
||||
# Socks support can't be disabled as long as SOCKS_SERVER is
|
||||
# set and socks library is present, so need to unset
|
||||
# SOCKS_SERVER in that case.
|
||||
unset SOCKS_SERVER
|
||||
fi
|
||||
|
||||
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
|
||||
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
|
||||
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
|
||||
fi
|
||||
|
||||
# ipv6 hack, bug 168939. Needs --enable-ipv6.
|
||||
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
|
||||
|
||||
if use libedit; then
|
||||
einfo "Using libedit to provide readline extension"
|
||||
myconf="${myconf} --enable-libedit --with-readline"
|
||||
elif use readline; then
|
||||
einfo "Using readline to provide readline extension"
|
||||
myconf="${myconf} --with-readline"
|
||||
else
|
||||
myconf="${myconf} --without-readline"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--program-suffix="${MY_SUFFIX}" \
|
||||
--enable-shared \
|
||||
$(use_enable socks5 socks) \
|
||||
$(use_enable doc install-doc) \
|
||||
$(use_enable threads pthread) \
|
||||
--enable-ipv6 \
|
||||
$(use_enable debug) \
|
||||
$(use_with berkdb dbm) \
|
||||
$(use_with gdbm) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with tk) \
|
||||
$(use_with ncurses curses) \
|
||||
${myconf} \
|
||||
--with-sitedir=/usr/$(get_libdir)/ruby/site_ruby \
|
||||
--enable-option-checking=no \
|
||||
|| die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 test || die "make test failed"
|
||||
|
||||
elog "Ruby's make test has been run. Ruby also ships with a make check"
|
||||
elog "that cannot be run until after ruby has been installed."
|
||||
elog
|
||||
if use rubytests; then
|
||||
elog "You have enabled rubytests, so they will be installed to"
|
||||
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
|
||||
elog "than root, and you must place them into a writeable directory."
|
||||
elog "Then call: "
|
||||
elog
|
||||
elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
|
||||
else
|
||||
elog "Enable the rubytests USE flag to install the make check tests"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Ruby is involved in the install process, we don't want interference here.
|
||||
unset RUBYOPT
|
||||
|
||||
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
|
||||
|
||||
LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
|
||||
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
|
||||
for d in $(find "${S}/ext" -type d) ; do
|
||||
RUBYLIB="${RUBYLIB}:$d"
|
||||
done
|
||||
export LD_LIBRARY_PATH RUBYLIB
|
||||
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitelibdir']")
|
||||
keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitearchdir']")
|
||||
|
||||
if use doc; then
|
||||
make DESTDIR="${D}" install-doc || die "make install-doc failed"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r sample
|
||||
fi
|
||||
|
||||
dosym "libruby${MY_SUFFIX}$(get_libname ${PV%_*})" \
|
||||
"/usr/$(get_libdir)/libruby$(get_libname ${PV%.*})"
|
||||
dosym "libruby${MY_SUFFIX}$(get_libname ${PV%_*})" \
|
||||
"/usr/$(get_libdir)/libruby$(get_libname ${PV%_*})"
|
||||
|
||||
dodoc ChangeLog NEWS README* ToDo || die
|
||||
|
||||
if use rubytests; then
|
||||
pushd test
|
||||
insinto /usr/share/${PN}-${SLOT}/test
|
||||
doins -r .
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
|
||||
eselect ruby set ruby${MY_SUFFIX}
|
||||
fi
|
||||
|
||||
elog
|
||||
elog "To switch between available Ruby profiles, execute as root:"
|
||||
elog "\teselect ruby set ruby(18|19|...)"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect ruby cleanup
|
||||
}
|
@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/spidermonkey-1.8.2.15-r1.ebuild,v 1.1 2011/12/29 17:49:12 axs Exp $
|
||||
|
||||
EAPI="3"
|
||||
inherit eutils toolchain-funcs multilib python
|
||||
|
||||
MY_PV="${PV}"
|
||||
MY_PV="${MY_PV/1.8.2/3.6}"
|
||||
DESCRIPTION="Stand-alone JavaScript C library"
|
||||
HOMEPAGE="http://www.mozilla.org/js/spidermonkey/"
|
||||
REL_URI="http://releases.mozilla.org/pub/mozilla.org/firefox/releases"
|
||||
SRC_URI="${REL_URI}/${MY_PV}/source/firefox-${MY_PV}.source.tar.bz2"
|
||||
|
||||
LICENSE="NPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x64-macos ~x86-macos"
|
||||
IUSE="threadsafe"
|
||||
|
||||
S="${WORKDIR}/mozilla-1.9.2"
|
||||
BUILDDIR="${S}/js/src"
|
||||
|
||||
RDEPEND="threadsafe? ( >=dev-libs/nspr-4.8.6 )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/zip
|
||||
=dev-lang/python-2*[threads]
|
||||
dev-util/pkgconfig"
|
||||
|
||||
pkg_setup(){
|
||||
python_set_active_version 2
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-1.9.2.13-as-needed.patch"
|
||||
|
||||
epatch_user
|
||||
|
||||
cd "${S}"
|
||||
if [[ ${CHOST} == *-freebsd* ]]; then
|
||||
# Don't try to be smart, this does not work in cross-compile anyway
|
||||
ln -s "${BUILDDIR}/config/Linux_All.mk" "${S}/config/$(uname -s)$(uname -r).mk"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cd ${BUILDDIR}
|
||||
|
||||
local myconf
|
||||
|
||||
if use threadsafe ; then
|
||||
myconf="${myconf} --with-system-nspr \
|
||||
--enable-threadsafe"
|
||||
fi
|
||||
# Disable no-print-directory
|
||||
MAKEOPTS=${MAKEOPTS/--no-print-directory/}
|
||||
|
||||
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" PYTHON="$(PYTHON)" econf \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd ${BUILDDIR}
|
||||
emake -j1 || die "emake failed";
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd ${BUILDDIR}
|
||||
emake install DESTDIR="${D}" || die
|
||||
dobin shell/js ||die
|
||||
dodoc ../jsd/README
|
||||
dohtml README.html
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# fixup install_name
|
||||
install_name_tool -id "${EPREFIX}"/usr/$(get_libdir)/libmozjs.dylib \
|
||||
"${ED}"/usr/$(get_libdir)/libmozjs.dylib || die
|
||||
fi
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST libdaemon-0.12.tar.gz 355167 RMD160 ccadae8f8dcac3ddac154cc7e1e1d47da8302c7d SHA1 2b45ab37df853afd25f7985ed699b799e0464413 SHA256 39e7c9f8644d1af310d076c1a5cc648040033e4724e7edfd85eb983ad88336d0
|
||||
DIST libdaemon-0.13.tar.gz 368119 RMD160 7fc41dc7a147d969b29e5a359442716859de7e0e SHA1 2c67eedf0dfe303a86bee64feba3e40d21abbd01 SHA256 bd949d459d2da54f1cdfbd1f4592e32541e8a195aca56fa7a8329ed79836d709
|
||||
DIST libdaemon-0.14.tar.gz 340474 RMD160 952ae993fecfe3ec765dfa43b2690a83f1a5c939 SHA1 78a4db58cf3a7a8906c35592434e37680ca83b8f SHA256 fd23eb5f6f986dcc7e708307355ba3289abe03cc381fc47a80bca4a50aa6b834
|
||||
|
@ -1,39 +0,0 @@
|
||||
commit 5b1daf072556c1fc9a00e8735fa0cdba280c2231
|
||||
Author: Diego 'Flameeyes' Pettenò <flameeyes@gmail.com>
|
||||
Date: Wed Oct 1 13:26:32 2008 +0200
|
||||
|
||||
Fix building on OpenSolaris (without _NSIG definition).
|
||||
|
||||
On OpenSolaris, the _NSIG macro is not defined, but NSIG is; as it's
|
||||
not possible to use NSIG under glibc (it would miss the SIGRT*
|
||||
series), define a SIGNAL_UPPER_BOUND depending on the system (and
|
||||
error out if the system lacks both NSIG and _NSIG).
|
||||
|
||||
diff --git a/libdaemon/dfork.c b/libdaemon/dfork.c
|
||||
index f1ba7c1..6b94944 100644
|
||||
--- a/libdaemon/dfork.c
|
||||
+++ b/libdaemon/dfork.c
|
||||
@@ -42,6 +42,14 @@
|
||||
#include "dnonblock.h"
|
||||
#include "dlog.h"
|
||||
|
||||
+#if defined(_NSIG) /* On glibc NSIG does not count RT signals */
|
||||
+# define SIGNAL_UPPER_BOUND _NSIG
|
||||
+#elif defined(NSIG) /* Solaris defines just this */
|
||||
+# define SIGNAL_UPPER_BOUND NSIG
|
||||
+#else
|
||||
+# error "Unknown upper bound for signals"
|
||||
+#endif
|
||||
+
|
||||
static int _daemon_retval_pipe[2] = { -1, -1 };
|
||||
|
||||
static int _null_open(int f, int fd) {
|
||||
@@ -665,7 +673,7 @@ int daemon_reset_sigs(int except, ...) {
|
||||
int daemon_reset_sigsv(const int except[]) {
|
||||
int sig;
|
||||
|
||||
- for (sig = 1; sig < _NSIG; sig++) {
|
||||
+ for (sig = 1; sig < SIGNAL_UPPER_BOUND; sig++) {
|
||||
int reset = 1;
|
||||
|
||||
switch (sig) {
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdaemon/libdaemon-0.12.ebuild,v 1.11 2008/11/09 12:12:07 vapier Exp $
|
||||
|
||||
inherit libtool
|
||||
|
||||
DESCRIPTION="Simple library for creating daemon processes in C"
|
||||
HOMEPAGE="http://0pointer.de/lennart/projects/libdaemon/"
|
||||
SRC_URI="http://0pointer.de/lennart/projects/libdaemon/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="doc? ( app-doc/doxygen )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf --disable-lynx || die "econf failed"
|
||||
emake || die "emake failed"
|
||||
|
||||
if use doc ; then
|
||||
einfo "Building documentation"
|
||||
make doxygen || die "make doxygen failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
if use doc; then
|
||||
ln -sf doc/reference/html reference
|
||||
dohtml -r doc/README.html reference
|
||||
doman doc/reference/man/man*/*
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc examples/testd.c
|
||||
fi
|
||||
|
||||
dodoc README
|
||||
}
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdaemon/libdaemon-0.13-r1.ebuild,v 1.8 2009/12/15 19:34:14 armin76 Exp $
|
||||
|
||||
inherit libtool eutils
|
||||
|
||||
DESCRIPTION="Simple library for creating daemon processes in C"
|
||||
HOMEPAGE="http://0pointer.de/lennart/projects/libdaemon/"
|
||||
SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="doc? ( app-doc/doxygen )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}/${P}-bsd.patch"
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf --disable-lynx --localstatedir=/var
|
||||
emake || die "emake failed"
|
||||
|
||||
if use doc ; then
|
||||
einfo "Building documentation"
|
||||
make doxygen || die "make doxygen failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
if use doc; then
|
||||
ln -sf doc/reference/html reference
|
||||
dohtml -r doc/README.html reference
|
||||
doman doc/reference/man/man*/*
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc examples/testd.c
|
||||
fi
|
||||
|
||||
dodoc README
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST userspace-rcu-0.6.7.tar.bz2 326304 RMD160 68942c264c250487d2156a2f3100a7936a6f66aa SHA1 ff77001c7063c40e28a65840584740803b34730b SHA256 b0b09aead6fbcb4d5efb4270e12f84ffd115b99b55b2c745e052b2d87a47e75f
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue