parent
9748c175cd
commit
10516adad5
@ -1,4 +1,3 @@
|
||||
DIST rsyslog-7.2.7.tar.gz 2761741 SHA256 4833533a140c1aebed069082ad579ac25e488b647d4d508167dc6e4de75af96d SHA512 4489de8f0fa63d2c9296695faacb653b43ee7a779fcc29bcb8ce0ca0442554b832e3d491248d15a6f3d9b6982cfcc669cfae750fccb58c52ad847c3a7df94e3c WHIRLPOOL d59a433c82153ad52297b05dc2422e20d90b2398f6cf4e11f0408b8565ace7d559bf80fc8e2f5fc086a693311f97ed09a5c004cd356d210c14aef9bd848d00f1
|
||||
DIST rsyslog-7.4.10.tar.gz 2924496 SHA256 ab1d26da2bfd38db34dd991a9c5d93034ef1373d01f9d5a0923bb0d4802b9fbe SHA512 8e9a665304419a738e7dac0f682681071d0269291ffe86bd4a0008a00c2bd5259d982a2f78349ee7f26d43bf85aea312293515925d9c9001d3b994dac981390d WHIRLPOOL de0410250129933351c773efa30afd7e4827d6e8542da83ad57d3536893c42552e5e0c3f337f786c45812262ec0a6bb93a3257966c64deb99ff126a924f15845
|
||||
DIST rsyslog-7.4.4.tar.gz 2910075 SHA256 276d094d1e4c62c770ec8a72723667f119eee038912b79cf3337d439bc2f9087 SHA512 cefaa0d5c5e9deb8a6e049a5b6c4503a9f30bfe89324a06f3e8ac6d85334bbddfec9e81010a1821ad5f902347bbc519e92d501783f77bd12f29e216a9abbfc08 WHIRLPOOL 0ba87e3edd7e0eba6ceaeef251d9e29d580452e0305c9df9577769abd53e01345a86de45c0289b945eca3d283838d7cbc4d36eb04ba8105fe3cb754c06a759b9
|
||||
DIST rsyslog-7.6.3.tar.gz 3052448 SHA256 013359035f8b6e5a4328edaffbda1120974accaba36ddc5de66a582fa588f5ec SHA512 f5bafbf7e40011e583a01d20beb1a98b78512cd537128c8f925c27b1906b22471b98d11e58c41256570fc205ec7ca756219d5cf44041ffe4e613fbd802d1f309 WHIRLPOOL 23719d6451eec4d21b022dfc2701726a00adeb132f8fe7e93826fba8693edbf949d7b6a9f3fac358482ee86b65fbccfd25330a6bbbd522e92bfc659bf01ec243
|
||||
DIST rsyslog-8.4.1.tar.gz 1938151 SHA256 1c7f3e8ebb7f9865dd4100c4982d50567dded2218177086d1e02d698e352d8ac SHA512 20b57554d1e097b392eca2dc3dc472330072c9ccdb190d4291e952508c6392ef832041ba9aef1e2e52a5df586326958b582764bbe6cf01648cf1b11bd80ac8a6 WHIRLPOOL 8de09b6c04520d0171e27f5fb8df570ce7a8ab2ed1fda17a6ff56a2207de475761341d13813e077538e63c16e7b619e53347682e75f0629dbd6b094c6ec61fa4
|
||||
DIST rsyslog-doc-8.4.1.tar.gz 4066598 SHA256 21862b046b3504f136f9b8961466f2b248ac315c67de8742bd4a35c599f3dd48 SHA512 cbb46e219af5a7b9c60e3a60a75713f88405f7a4036f9d308f17a06ae8e8db0bdff9eae5807a067b9347a0aad264ef9ed73e6587502df2de412569f6d13b7ff6 WHIRLPOOL 97f4de085bf388523df8fa245607c965b0bfdeb13f28c6659f4a267fccaa9f6f7a898cc2f68822796ad69266e5593297db572a9679c8e20e5bc5fd6d26d067f5
|
||||
|
@ -1,21 +0,0 @@
|
||||
diff --git a/runtime/Makefile.am b/runtime/Makefile.am
|
||||
index 67e235a..5287c0b 100644
|
||||
--- a/runtime/Makefile.am
|
||||
+++ b/runtime/Makefile.am
|
||||
@@ -95,12 +95,13 @@ librsyslog_la_SOURCES = \
|
||||
# runtime or will no longer be needed. -- rgerhards, 2008-06-13
|
||||
|
||||
if WITH_MODDIRS
|
||||
-librsyslog_la_CPPFLAGS = -DSD_EXPORT_SYMBOLS -D_PATH_MODDIR=\"$(pkglibdir)/:$(moddirs)\" $(PTHREADS_CFLAGS) $(LIBEE_CFLAGS) -I\$(top_srcdir)/tools
|
||||
+librsyslog_la_CPPFLAGS = -DSD_EXPORT_SYMBOLS -D_PATH_MODDIR=\"$(pkglibdir)/:$(moddirs)\"
|
||||
else
|
||||
-librsyslog_la_CPPFLAGS = -DSD_EXPORT_SYMBOLS -D_PATH_MODDIR=\"$(pkglibdir)/\" -I$(top_srcdir) $(PTHREADS_CFLAGS) $(LIBEE_CFLAGS) -I\$(top_srcdir)/tools -I\$(top_srcdir)/grammar
|
||||
+librsyslog_la_CPPFLAGS = -DSD_EXPORT_SYMBOLS -D_PATH_MODDIR=\"$(pkglibdir)/\" -I\$(top_srcdir) -I\$(top_srcdir)/grammar
|
||||
endif
|
||||
#librsyslog_la_LDFLAGS = -module -avoid-version
|
||||
-librsyslog_la_LIBADD = $(DL_LIBS) $(RT_LIBS) $(LIBEE_LIBS)
|
||||
+librsyslog_la_CPPFLAGS += $(PTHREADS_CFLAGS) $(LIBEE_CFLAGS) $(LIBUUID_CFLAGS) $(JSON_C_CFLAGS) -I\$(top_srcdir)/tools
|
||||
+librsyslog_la_LIBADD = $(DL_LIBS) $(RT_LIBS) $(LIBEE_LIBS) $(LIBUUID_LIBS) $(JSON_C_LIBS)
|
||||
|
||||
#
|
||||
# regular expression support
|
@ -0,0 +1,95 @@
|
||||
#######################
|
||||
### DEFAULT ACTIONS ###
|
||||
#######################
|
||||
|
||||
auth,authpriv.* action(
|
||||
type="omfile"
|
||||
File="/var/log/auth.log"
|
||||
FileCreateMode="0600"
|
||||
FileOwner="root"
|
||||
FileGroup="adm"
|
||||
Sync="off"
|
||||
)
|
||||
|
||||
cron.* action(
|
||||
type="omfile"
|
||||
File="/var/log/cron.log"
|
||||
FileOwner="root"
|
||||
FileGroup="adm"
|
||||
)
|
||||
|
||||
daemon.* action(
|
||||
type="omfile"
|
||||
File="/var/log/daemon.log"
|
||||
FileOwner="root"
|
||||
FileGroup="adm"
|
||||
)
|
||||
|
||||
kern.* action(
|
||||
type="omfile"
|
||||
File="/var/log/kern.log"
|
||||
FileOwner="root"
|
||||
FileGroup="adm"
|
||||
)
|
||||
|
||||
lpr.* action(
|
||||
type="omfile"
|
||||
File="/var/log/lpr.log"
|
||||
FileOwner="root"
|
||||
FileGroup="adm"
|
||||
)
|
||||
|
||||
mail.* action(
|
||||
type="omfile"
|
||||
File="/var/log/mail.log"
|
||||
FileOwner="root"
|
||||
FileGroup="adm"
|
||||
)
|
||||
|
||||
news.* action(
|
||||
type="omfile"
|
||||
File="/var/log/news.log"
|
||||
FileOwner="root"
|
||||
FileGroup="adm"
|
||||
)
|
||||
|
||||
user.* action(
|
||||
type="omfile"
|
||||
File="/var/log/user.log"
|
||||
FileOwner="root"
|
||||
FileGroup="adm"
|
||||
)
|
||||
|
||||
*.=debug;auth,authpriv,news,mail.none action(
|
||||
type="omfile"
|
||||
File="/var/log/debug.log"
|
||||
FileOwner="root"
|
||||
FileGroup="adm"
|
||||
)
|
||||
|
||||
*.info;auth,authpriv,cron,daemon,lpr,mail,news.none action(
|
||||
type="omfile"
|
||||
File="/var/log/messages"
|
||||
FileOwner="root"
|
||||
FileGroup="adm"
|
||||
)
|
||||
|
||||
# Uncomment the following directive to re-enable the
|
||||
# deprecated "/var/log/syslog" log file (don't forget to re-enable log
|
||||
# rotation in "/etc/logrotate.d/rsyslog" if you do that!)
|
||||
#*.*;auth,authpriv.none action(
|
||||
# type="omfile"
|
||||
# File="/var/log/syslog"
|
||||
# FileOwner="root"
|
||||
# FileGroup="adm"
|
||||
#)
|
||||
|
||||
*.emerg action(
|
||||
type="omusrmsg"
|
||||
Users="*"
|
||||
action.execOnlyOnceEveryInterval="10"
|
||||
)
|
||||
|
||||
# Create an additional socket for the default chroot location
|
||||
# (used by net-misc/openssh[hpn], see https://bugs.gentoo.org/490744)
|
||||
input(type="imuxsock" Socket="/var/empty/dev/log")
|
@ -0,0 +1,36 @@
|
||||
Introduction
|
||||
============
|
||||
|
||||
Since rsyslog version 7.6 we are shipping a new default Gentoo
|
||||
configuration. See bug #501982 to learn more about what we were trying to
|
||||
achieve by rewriting the entire configuration.
|
||||
|
||||
|
||||
Important changes
|
||||
=================
|
||||
|
||||
1. "/var/log/syslog" log file is now deprecated
|
||||
|
||||
Beginning with rsyslog-7.6, the "/var/log/syslog" log file will no
|
||||
longer being written per default. We are considering this file as
|
||||
deprecated/obsolet for the typical user/system.
|
||||
The content from this log file is still availble through other
|
||||
(dedicated) log files, see
|
||||
|
||||
- /var/log/cron.log
|
||||
- /var/log/daemon.log
|
||||
- /var/log/mail.log
|
||||
- /var/log/messages
|
||||
|
||||
If you really need the old "/var/log/syslog" log file, all you have to
|
||||
do is uncommenting the corresponding configuration directive in
|
||||
"/etc/rsyslog.d/50-default.conf".
|
||||
|
||||
If you do so, don't forget to re-enable log rotation in
|
||||
"/etc/logrotate.d/rsyslog", too.
|
||||
|
||||
|
||||
2. An additional input socket in "/var/empty/dev/log" (default chroot
|
||||
location) will be created per default
|
||||
|
||||
See bug #490744 for further details.
|
@ -0,0 +1,61 @@
|
||||
# /etc/rsyslog.conf
|
||||
#
|
||||
# This configuration is based on RainerScript, the new recommended syntax
|
||||
# for RSYSLOG. See http://www.rsyslog.com/doc/rainerscript.html for further
|
||||
# details.
|
||||
#
|
||||
# But if you don't want to learn something new at moment, don't worry: The
|
||||
# legacy syntax is still supported.
|
||||
#
|
||||
# You may want to use the new RSYSLOG configuration builder to create your
|
||||
# own more advanced configuration: http://www.rsyslog.com/rsyslog-configuration-builder/
|
||||
|
||||
# Check config syntax on startup and abort if unclean (default: off)
|
||||
#$AbortOnUncleanConfig on
|
||||
|
||||
|
||||
###############
|
||||
### MODULES ###
|
||||
###############
|
||||
|
||||
# Read syslog messages from default Unix socket /dev/log (e.g. via logger command)
|
||||
module(load="imuxsock")
|
||||
|
||||
# Read messages from the kernel log and submits them to the syslog engine
|
||||
module(load="imklog")
|
||||
|
||||
# Inject "--MARK--" messages every $Interval (seconds)
|
||||
#module(load="immark" Interval="600")
|
||||
|
||||
# Read syslog messages from UDP
|
||||
#module(load="imudp")
|
||||
#input(type="imudp" port="514")
|
||||
|
||||
# Read syslog messages from TCP
|
||||
#module(load="imtcp")
|
||||
#input(type="imtcp" port="514")
|
||||
|
||||
|
||||
#########################
|
||||
### GLOBAL DIRECTIVES ###
|
||||
#########################
|
||||
|
||||
# Where to place spool and state files
|
||||
$WorkDirectory /var/spool/rsyslog
|
||||
|
||||
# Reduce repeating messages (default: off)
|
||||
#$RepeatedMsgReduction on
|
||||
|
||||
# Set defaults for every output file
|
||||
$Umask 0022
|
||||
|
||||
module(
|
||||
load="builtin:omfile"
|
||||
Template="RSYSLOG_TraditionalFileFormat"
|
||||
FileCreateMode="0644"
|
||||
DirCreateMode="0755"
|
||||
)
|
||||
|
||||
|
||||
# Include all conf files in /etc/rsyslog.d/
|
||||
$IncludeConfig /etc/rsyslog.d/*.conf
|
@ -0,0 +1,30 @@
|
||||
# /etc/conf.d/rsyslog
|
||||
|
||||
# Configuration file
|
||||
RSYSLOG_CONFIGFILE="/etc/rsyslog.conf"
|
||||
|
||||
# PID file
|
||||
# If you should ever change this, remember to update
|
||||
# "/etc/logrotate.d/rsyslog", too.
|
||||
RSYSLOG_PIDFILE="/run/rsyslogd.pid"
|
||||
|
||||
# You can use this configuration option to pass additional options to the
|
||||
# start-stop-daemon, see start-stop-daemon(8) for more details.
|
||||
# Per default we wait 1000ms after we have started the service to ensure
|
||||
# that the daemon is really up and running.
|
||||
RSYSLOG_SSDARGS="--wait 1000"
|
||||
|
||||
# The termination timeout (start-stop-daemon parameter "retry") ensures
|
||||
# that the service will be terminated within a given time (60 + 5 seconds
|
||||
# per default) when you are stopping the service.
|
||||
# You need to increase the value when you are working with a large queue.
|
||||
# See http://www.rsyslog.com/doc/queues.html for further information.
|
||||
RSYSLOG_TERMTIMEOUT="TERM/60/KILL/5"
|
||||
|
||||
|
||||
# Options to rsyslogd
|
||||
# See rsyslogd(8) for more details
|
||||
# Notes:
|
||||
# * Do not specify another PIDFILE but use the variable above to change the location
|
||||
# * Do not specify another CONFIGFILE but use the variable above to change the location
|
||||
RSYSLOG_OPTS=""
|
@ -0,0 +1,69 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/files/8-stable/rsyslog.initd,v 1.1 2014/09/30 13:09:39 polynomial-c Exp $
|
||||
|
||||
RSYSLOG_CONFIGFILE=${RSYSLOG_CONFIGFILE:-"/etc/rsyslog.conf"}
|
||||
RSYSLOG_PIDFILE=${RSYSLOG_PIDFILE:-"/run/rsyslogd.pid"}
|
||||
|
||||
command="/usr/sbin/rsyslogd"
|
||||
command_args="${RSYSLOG_OPTS} -f ${RSYSLOG_CONFIGFILE} -i ${RSYSLOG_PIDFILE}"
|
||||
start_stop_daemon_args="${RSYSLOG_SSDARGS}"
|
||||
pidfile="${RSYSLOG_PIDFILE}"
|
||||
retry="${RSYSLOG_TERMTIMEOUT}"
|
||||
|
||||
required_files="${RSYSLOG_CONFIGFILE}"
|
||||
|
||||
description="RSYSLOG is the rocket-fast system for log processing (syslog replacement)."
|
||||
|
||||
extra_commands="configtest"
|
||||
extra_started_commands="rotate"
|
||||
|
||||
description_configtest="Run rsyslogd's internal config check."
|
||||
|
||||
description_rotate="Sends rsyslogd a signal to re-open its log files."
|
||||
|
||||
depend() {
|
||||
need clock hostname localmount
|
||||
provide logger
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
if [ "${RC_CMD}" != "restart" ]; then
|
||||
configtest || return 1
|
||||
fi
|
||||
}
|
||||
|
||||
stop_pre() {
|
||||
if [ "${RC_CMD}" = "restart" ]; then
|
||||
configtest || return 1
|
||||
fi
|
||||
}
|
||||
|
||||
stop_post() {
|
||||
rm -f ${RSYSLOG_PIDFILE}
|
||||
}
|
||||
|
||||
configtest() {
|
||||
# This will currently only detect fatal errors
|
||||
# See https://github.com/rsyslog/rsyslog/issues/79
|
||||
|
||||
local _test_command="${command} -N 999 -f ${RSYSLOG_CONFIGFILE}"
|
||||
local _retval=0
|
||||
|
||||
ebegin "Checking rsyslogd's configuration"
|
||||
${_test_command} >/dev/null 2>&1
|
||||
_retval=$?
|
||||
|
||||
if [ ${_retval} -ne 0 ]; then
|
||||
${_test_command}
|
||||
fi
|
||||
|
||||
eend ${_retval} "failed, please correct errors above"
|
||||
}
|
||||
|
||||
rotate() {
|
||||
ebegin "Re-opening rsyslogd logs"
|
||||
start-stop-daemon --signal SIGHUP --pidfile "${RSYSLOG_PIDFILE}"
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
# Uncomment the following directive if you have re-enabled
|
||||
# "/var/log/syslog" in "/etc/rsyslog.d/50-default.conf"
|
||||
#/var/log/syslog
|
||||
#{
|
||||
# rotate 7
|
||||
# daily
|
||||
# missingok
|
||||
# notifempty
|
||||
# delaycompress
|
||||
# compress
|
||||
# postrotate
|
||||
# test -r /run/rsyslogd.pid && kill -HUP $(cat /run/rsyslogd.pid) &>/dev/null
|
||||
# endscript
|
||||
#}
|
||||
|
||||
/var/log/auth.log
|
||||
/var/log/cron.log
|
||||
/var/log/daemon.log
|
||||
/var/log/kern.log
|
||||
/var/log/lpr.log
|
||||
/var/log/mail.log
|
||||
/var/log/news.log
|
||||
/var/log/user.log
|
||||
/var/log/debug.log
|
||||
/var/log/messages
|
||||
{
|
||||
rotate 4
|
||||
weekly
|
||||
missingok
|
||||
notifempty
|
||||
compress
|
||||
delaycompress
|
||||
sharedscripts
|
||||
postrotate
|
||||
test -r /run/rsyslogd.pid && kill -HUP $(cat /run/rsyslogd.pid) &>/dev/null
|
||||
endscript
|
||||
}
|
@ -1,171 +0,0 @@
|
||||
From edf9b718d3007bdb519b3d64cb1f8145bba8e15e Mon Sep 17 00:00:00 2001
|
||||
From: Justin Lecher <jlec@gentoo.org>
|
||||
Date: Tue, 12 Feb 2013 11:55:17 +0100
|
||||
Subject: [PATCH] Use pkg-config to detect json or json-c
|
||||
|
||||
There was a typo in the configure.ac which prevented correct usage of pkg-config
|
||||
to detect json-c.
|
||||
This patch corrects this typo and removes all paths from json.h in source files.
|
||||
Moreover, since json-c-0.11 the pkgconfig was renamed to json-c so the
|
||||
configure.ac file was modified to check for the new one if the old one was
|
||||
not found.
|
||||
|
||||
Reported-by: Thomas D. <whissi@whissi.de>
|
||||
Tested-by: Thomas D. <whissi@whissi.de>
|
||||
Signed-off-by: Justin Lecher <jlec@gentoo.org>
|
||||
Signed-off-by: Markos Chandras <hwoarang@gentoo.org>
|
||||
|
||||
---
|
||||
action.c | 2 +-
|
||||
configure.ac | 2 +-
|
||||
plugins/imkmsg/kmsg.c | 2 +-
|
||||
plugins/mmjsonparse/mmjsonparse.c | 2 +-
|
||||
plugins/mmnormalize/mmnormalize.c | 2 +-
|
||||
plugins/ommongodb/ommongodb.c | 2 +-
|
||||
runtime/msg.c | 2 +-
|
||||
runtime/msg.h | 2 +-
|
||||
template.c | 2 +-
|
||||
template.h | 2 +-
|
||||
10 files changed, 10 insertions(+), 10 deletions(-)
|
||||
|
||||
Index: rsyslog-7.2.7/action.c
|
||||
===================================================================
|
||||
--- rsyslog-7.2.7.orig/action.c
|
||||
+++ rsyslog-7.2.7/action.c
|
||||
@@ -98,7 +98,7 @@
|
||||
#include <strings.h>
|
||||
#include <time.h>
|
||||
#include <errno.h>
|
||||
-#include <json/json.h>
|
||||
+#include <json.h>
|
||||
|
||||
#include "dirty.h"
|
||||
#include "template.h"
|
||||
Index: rsyslog-7.2.7/configure.ac
|
||||
===================================================================
|
||||
--- rsyslog-7.2.7.orig/configure.ac
|
||||
+++ rsyslog-7.2.7/configure.ac
|
||||
@@ -34,7 +34,9 @@ PKG_PROG_PKG_CONFIG
|
||||
# modules we require
|
||||
PKG_CHECK_MODULES(LIBESTR, libestr >= 0.1.5)
|
||||
PKG_CHECK_MODULES(LIBEE, libee >= 0.4.0)
|
||||
-PKG_CHECK_MODULES([JSON_C], [json])
|
||||
+PKG_CHECK_MODULES([JSON_C], [json],, [
|
||||
+ PKG_CHECK_MODULES([JSON_C], [json-c])
|
||||
+])
|
||||
|
||||
case "${host}" in
|
||||
*-*-linux*)
|
||||
@@ -764,7 +766,7 @@ if test "x$enable_rsyslogrt" = "xyes"; t
|
||||
RSRT_LIBS1="\$(top_builddir)/runtime/librsyslog.la"
|
||||
fi
|
||||
AM_CONDITIONAL(ENABLE_RSYSLOGRT, test x$enable_rsyslogrt = xyes)
|
||||
-RSRT_CFLAGS="\$(RSRT_CFLAGS1) \$(LIBESTR_CFLAGS) \$(JSON_C_FLAGS)"
|
||||
+RSRT_CFLAGS="\$(RSRT_CFLAGS1) \$(LIBESTR_CFLAGS) \$(JSON_C_CFLAGS)"
|
||||
RSRT_LIBS="\$(RSRT_LIBS1) \$(LIBESTR_LIBS) \$(JSON_C_LIBS)"
|
||||
AC_SUBST(RSRT_CFLAGS1)
|
||||
AC_SUBST(RSRT_LIBS1)
|
||||
Index: rsyslog-7.2.7/plugins/imkmsg/kmsg.c
|
||||
===================================================================
|
||||
--- rsyslog-7.2.7.orig/plugins/imkmsg/kmsg.c
|
||||
+++ rsyslog-7.2.7/plugins/imkmsg/kmsg.c
|
||||
@@ -35,7 +35,7 @@
|
||||
#ifdef OS_LINUX
|
||||
#include <sys/klog.h>
|
||||
#endif
|
||||
-#include <json/json.h>
|
||||
+#include <json.h>
|
||||
|
||||
#include "rsyslog.h"
|
||||
#include "srUtils.h"
|
||||
Index: rsyslog-7.2.7/plugins/mmjsonparse/mmjsonparse.c
|
||||
===================================================================
|
||||
--- rsyslog-7.2.7.orig/plugins/mmjsonparse/mmjsonparse.c
|
||||
+++ rsyslog-7.2.7/plugins/mmjsonparse/mmjsonparse.c
|
||||
@@ -36,7 +36,7 @@
|
||||
#include <unistd.h>
|
||||
#include <ctype.h>
|
||||
#include <libestr.h>
|
||||
-#include <json/json.h>
|
||||
+#include <json.h>
|
||||
#include "conf.h"
|
||||
#include "syslogd-types.h"
|
||||
#include "template.h"
|
||||
Index: rsyslog-7.2.7/plugins/mmnormalize/mmnormalize.c
|
||||
===================================================================
|
||||
--- rsyslog-7.2.7.orig/plugins/mmnormalize/mmnormalize.c
|
||||
+++ rsyslog-7.2.7/plugins/mmnormalize/mmnormalize.c
|
||||
@@ -40,7 +40,7 @@
|
||||
#include <unistd.h>
|
||||
#include <libestr.h>
|
||||
#include <libee/libee.h>
|
||||
-#include <json/json.h>
|
||||
+#include <json.h>
|
||||
#include <liblognorm.h>
|
||||
#include "conf.h"
|
||||
#include "syslogd-types.h"
|
||||
Index: rsyslog-7.2.7/plugins/ommongodb/ommongodb.c
|
||||
===================================================================
|
||||
--- rsyslog-7.2.7.orig/plugins/ommongodb/ommongodb.c
|
||||
+++ rsyslog-7.2.7/plugins/ommongodb/ommongodb.c
|
||||
@@ -33,7 +33,7 @@
|
||||
#include <stdint.h>
|
||||
#include <time.h>
|
||||
#include <mongo.h>
|
||||
-#include <json/json.h>
|
||||
+#include <json.h>
|
||||
/* For struct json_object_iter, should not be necessary in future versions */
|
||||
#include <json/json_object_private.h>
|
||||
|
||||
Index: rsyslog-7.2.7/runtime/msg.c
|
||||
===================================================================
|
||||
--- rsyslog-7.2.7.orig/runtime/msg.c
|
||||
+++ rsyslog-7.2.7/runtime/msg.c
|
||||
@@ -41,7 +41,7 @@
|
||||
#endif
|
||||
#include <netdb.h>
|
||||
#include <libestr.h>
|
||||
-#include <json/json.h>
|
||||
+#include <json.h>
|
||||
/* For struct json_object_iter, should not be necessary in future versions */
|
||||
#include <json/json_object_private.h>
|
||||
#if HAVE_MALLOC_H
|
||||
Index: rsyslog-7.2.7/runtime/msg.h
|
||||
===================================================================
|
||||
--- rsyslog-7.2.7.orig/runtime/msg.h
|
||||
+++ rsyslog-7.2.7/runtime/msg.h
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
#include <pthread.h>
|
||||
#include <libestr.h>
|
||||
-#include <json/json.h>
|
||||
+#include <json.h>
|
||||
#include "obj.h"
|
||||
#include "syslogd-types.h"
|
||||
#include "template.h"
|
||||
Index: rsyslog-7.2.7/template.c
|
||||
===================================================================
|
||||
--- rsyslog-7.2.7.orig/template.c
|
||||
+++ rsyslog-7.2.7/template.c
|
||||
@@ -34,7 +34,7 @@
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <assert.h>
|
||||
-#include <json/json.h>
|
||||
+#include <json.h>
|
||||
#include "stringbuf.h"
|
||||
#include "syslogd-types.h"
|
||||
#include "template.h"
|
||||
Index: rsyslog-7.2.7/template.h
|
||||
===================================================================
|
||||
--- rsyslog-7.2.7.orig/template.h
|
||||
+++ rsyslog-7.2.7/template.h
|
||||
@@ -30,7 +30,7 @@
|
||||
#ifndef TEMPLATE_H_INCLUDED
|
||||
#define TEMPLATE_H_INCLUDED 1
|
||||
|
||||
-#include <json/json.h>
|
||||
+#include <json.h>
|
||||
#include <libestr.h>
|
||||
#include "regexp.h"
|
||||
#include "stringbuf.h"
|
@ -1,259 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/rsyslog-7.2.7.ebuild,v 1.10 2014/04/16 16:14:41 maksbotan Exp $
|
||||
|
||||
EAPI=4
|
||||
AUTOTOOLS_AUTORECONF=yes
|
||||
|
||||
inherit autotools-utils eutils 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"
|
||||
|
||||
LICENSE="GPL-3 LGPL-3 Apache-2.0"
|
||||
KEYWORDS="amd64 ~arm hppa x86"
|
||||
SLOT="0"
|
||||
IUSE="dbi debug doc extras kerberos mysql oracle postgres relp snmp ssl static-libs zeromq zlib"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/json-c
|
||||
dev-libs/libee
|
||||
>=dev-libs/libestr-0.1.5
|
||||
dev-libs/libgcrypt:0
|
||||
dev-libs/liblognorm
|
||||
dbi? ( dev-db/libdbi )
|
||||
extras? ( net-libs/libnet )
|
||||
kerberos? ( virtual/krb5 )
|
||||
mysql? ( virtual/mysql )
|
||||
postgres? ( dev-db/postgresql-base )
|
||||
oracle? ( dev-db/oracle-instantclient-basic )
|
||||
relp? ( >=dev-libs/librelp-1.0.1 )
|
||||
snmp? ( net-analyzer/net-snmp )
|
||||
ssl? ( net-libs/gnutls )
|
||||
zeromq? ( >=net-libs/zeromq-3 <net-libs/czmq-2 )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
BRANCH="7-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)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-7.2.5-json-c-pkgconfig.patch
|
||||
|
||||
# Fix runtime UUID/JSON libs linking
|
||||
"${FILESDIR}"/6-stable/${PN}-6.6.0-fix-runtime.patch
|
||||
|
||||
# Fix for #507730
|
||||
"$FILESDIR"/${BRANCH}/${PN}-7.x-mmjsonparse.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# Don't force '-g' CFLAG
|
||||
sed -e 's/CFLAGS="\(.*\) -g"/CFLAGS="\1"/g' -i configure.ac || die
|
||||
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
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.
|
||||
# * mongodb : doesnt work with mongo-c-driver ?
|
||||
local myeconfargs=(
|
||||
--disable-gui
|
||||
--disable-rfc3195
|
||||
--enable-imdiag
|
||||
--enable-imfile
|
||||
--enable-impstats
|
||||
--enable-imptcp
|
||||
--enable-largefile
|
||||
--enable-mail
|
||||
--enable-mmnormalize
|
||||
--enable-mmjsonparse
|
||||
--enable-mmaudit
|
||||
--enable-omprog
|
||||
--enable-omstdout
|
||||
--enable-omuxsock
|
||||
--enable-pmlastmsg
|
||||
--enable-pmrfc3164sd
|
||||
--enable-pmcisconames
|
||||
--enable-pmaixforwardedfrom
|
||||
--enable-pmsnare
|
||||
--enable-sm_cust_bindcdr
|
||||
--enable-unlimited-select
|
||||
--enable-uuid
|
||||
$(use_enable dbi libdbi)
|
||||
$(use_enable debug)
|
||||
$(use_enable debug rtinst)
|
||||
$(use_enable debug diagtools)
|
||||
$(use_enable debug memcheck)
|
||||
$(use_enable debug valgrind)
|
||||
$(use_enable extras omudpspoof)
|
||||
$(use_enable kerberos gssapi-krb5)
|
||||
$(use_enable mysql)
|
||||
$(use_enable oracle)
|
||||
$(use_enable postgres pgsql)
|
||||
$(use_enable relp)
|
||||
$(use_enable snmp)
|
||||
$(use_enable snmp mmsnmptrapd)
|
||||
$(use_enable ssl gnutls)
|
||||
$(use_enable zlib)
|
||||
$(use_enable zeromq imzmq3)
|
||||
$(use_enable zeromq omzmq3)
|
||||
"$(systemd_with_unitdir)"
|
||||
)
|
||||
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 ssl; 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 ssl ; then
|
||||
einfo "There is nothing to configure for rsyslog unless you"
|
||||
einfo "used USE=ssl 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,257 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/rsyslog-7.4.10.ebuild,v 1.2 2014/04/16 16:14:41 maksbotan Exp $
|
||||
|
||||
EAPI=5
|
||||
AUTOTOOLS_AUTORECONF=yes
|
||||
|
||||
inherit autotools-utils eutils 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"
|
||||
|
||||
LICENSE="GPL-3 LGPL-3 Apache-2.0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~x86"
|
||||
SLOT="0"
|
||||
IUSE="dbi debug doc extras kerberos mongodb mysql oracle postgres relp snmp ssl static-libs systemd zeromq zlib"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/json-c:=
|
||||
dev-libs/libee
|
||||
>=dev-libs/libestr-0.1.9
|
||||
dev-libs/libgcrypt:=
|
||||
>=dev-libs/liblogging-1.0.1:=
|
||||
<dev-libs/liblognorm-1.0.0:=
|
||||
dbi? ( dev-db/libdbi )
|
||||
extras? ( net-libs/libnet )
|
||||
kerberos? ( virtual/krb5 )
|
||||
mongodb? ( dev-libs/libmongo-client )
|
||||
mysql? ( virtual/mysql )
|
||||
postgres? ( dev-db/postgresql-base )
|
||||
oracle? ( dev-db/oracle-instantclient-basic )
|
||||
relp? ( >=dev-libs/librelp-1.0.3 )
|
||||
snmp? ( net-analyzer/net-snmp )
|
||||
ssl? ( net-libs/gnutls )
|
||||
systemd? ( sys-apps/systemd )
|
||||
zeromq? ( >=net-libs/zeromq-3 <net-libs/czmq-2 )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
BRANCH="7-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() {
|
||||
epatch "$FILESDIR"/${BRANCH}/${PN}-7.x-mmjsonparse.patch
|
||||
}
|
||||
|
||||
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.
|
||||
# * mongodb : doesnt work with mongo-c-driver ?
|
||||
local myeconfargs=(
|
||||
--enable-cached-man-pages
|
||||
--disable-gui
|
||||
--disable-rfc3195
|
||||
--enable-imdiag
|
||||
--enable-imfile
|
||||
--enable-impstats
|
||||
--enable-imptcp
|
||||
--enable-largefile
|
||||
--enable-mail
|
||||
--enable-mmnormalize
|
||||
--enable-mmjsonparse
|
||||
--enable-mmaudit
|
||||
--enable-mmanon
|
||||
--enable-omprog
|
||||
--enable-omstdout
|
||||
--enable-omuxsock
|
||||
--enable-pmlastmsg
|
||||
--enable-pmrfc3164sd
|
||||
--enable-pmcisconames
|
||||
--enable-pmaixforwardedfrom
|
||||
--enable-pmsnare
|
||||
--enable-sm_cust_bindcdr
|
||||
--enable-unlimited-select
|
||||
--enable-uuid
|
||||
$(use_enable dbi libdbi)
|
||||
$(use_enable debug)
|
||||
$(use_enable debug rtinst)
|
||||
$(use_enable debug diagtools)
|
||||
$(use_enable debug memcheck)
|
||||
$(use_enable debug valgrind)
|
||||
$(use_enable extras omudpspoof)
|
||||
$(use_enable kerberos gssapi-krb5)
|
||||
$(use_enable mongodb ommongodb)
|
||||
$(use_enable mysql)
|
||||
$(use_enable oracle)
|
||||
$(use_enable postgres pgsql)
|
||||
$(use_enable relp)
|
||||
$(use_enable snmp)
|
||||
$(use_enable snmp mmsnmptrapd)
|
||||
$(use_enable ssl gnutls)
|
||||
$(use_enable systemd omjournal)
|
||||
$(use_enable zlib)
|
||||
$(use_enable zeromq imzmq3)
|
||||
$(use_enable zeromq omzmq3)
|
||||
"$(systemd_with_unitdir)"
|
||||
)
|
||||
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 [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||
# This is a new installation
|
||||
|
||||
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 ssl; 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
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
if ! use ssl ; then
|
||||
einfo "There is nothing to configure for rsyslog unless you"
|
||||
einfo "used USE=ssl 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"
|
||||
}
|
@ -0,0 +1,94 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/spideroak-bin/spideroak-bin-5.1.8-r2.ebuild,v 1.1 2014/09/30 23:53:06 blueness Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils unpacker
|
||||
|
||||
SRC_URI_BASE="https://spideroak.com/getbuild?platform=ubuntu"
|
||||
|
||||
DESCRIPTION="An easy, secure and consolidated free online backup, storage, access and sharing system"
|
||||
HOMEPAGE="https://spideroak.com"
|
||||
SRC_URI="x86? ( ${SRC_URI_BASE}&arch=i386&version=${PV} -> ${P}_x86.deb )
|
||||
amd64? ( ${SRC_URI_BASE}&arch=x86_64&version=${PV} -> ${P}_amd64.deb )"
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
LICENSE="spideroak"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="dbus X"
|
||||
|
||||
DEPEND="dev-util/patchelf"
|
||||
RDEPEND="
|
||||
app-crypt/mit-krb5[keyutils]
|
||||
dbus? ( sys-apps/dbus )
|
||||
X? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
dev-libs/glib:2
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXt
|
||||
)
|
||||
"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_prepare() {
|
||||
# Set RPATH for preserve-libs handling (bug #400979).
|
||||
cd "${S}/opt/SpiderOak/lib" || die
|
||||
local x
|
||||
for x in `find` ; do
|
||||
# Use \x7fELF header to separate ELF executables and libraries
|
||||
[[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue
|
||||
patchelf --set-rpath '$ORIGIN' "${x}" || \
|
||||
die "patchelf failed on ${x}"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
#install the wrapper script
|
||||
exeinto /usr/bin
|
||||
doexe usr/bin/SpiderOak
|
||||
|
||||
# inotify_dir_watcher needs to be marked executable, bug #453266
|
||||
#chmod a+rx opt/SpiderOak/lib/inotify_dir_watcher
|
||||
|
||||
#install the executable
|
||||
exeinto /opt/SpiderOak/lib
|
||||
doexe opt/SpiderOak/lib/SpiderOak
|
||||
doexe opt/SpiderOak/lib/inotify_dir_watcher
|
||||
rm -f opt/SpiderOak/lib/{SpiderOak,inotify_dir_watcher}
|
||||
|
||||
#install the prebundled libraries
|
||||
insinto /opt/SpiderOak
|
||||
doins -r opt/SpiderOak/lib
|
||||
|
||||
#install the config files
|
||||
use dbus || rm -rf etc/dbus-1
|
||||
insinto /
|
||||
doins -r etc
|
||||
|
||||
#install the manpage
|
||||
doman usr/share/man/man1/SpiderOak.1.gz
|
||||
|
||||
if use X; then
|
||||
domenu usr/share/applications/spideroak.desktop
|
||||
doicon usr/share/pixmaps/SpiderOak.png
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use X; then
|
||||
einfo "For instructions on running SpiderOak without a GUI, please read the FAQ:"
|
||||
einfo " https://spideroak.com/faq/questions/62/how_do_i_install_spideroak_on_a_headless_linux_server/"
|
||||
einfo " https://spideroak.com/faq/questions/67/how_can_i_use_spideroak_from_the_commandline/"
|
||||
fi
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST lynis-1.3.0.tar.gz 119797 SHA256 fe265965eb1ce8fac352e0bddea1d5ec6508c319bf88a5f63c2edecf2af6de54 SHA512 a2cf40fbc245e9ed89740026374f3b61110cc1e0282899284699a2271cb4996f30d0a91562d3e2eaf5eb165ab89d0860127ceeb5767aec1d5538b879657a76a8 WHIRLPOOL c19aaaf2f9ccd8141a86b1eeecf129ab83006b50ed428eb1801b58811b441f3c5cfea37d1333cf58fd372b3f40026735bdc2e44ace3de399a27e2e0dd8300fa3
|
||||
DIST lynis-1.5.6.tar.gz 150664 SHA256 e74e97acc0d02ba2701034c10231edd9ae527398c25e6f1c669109f614c933ca SHA512 11eeb91d8179d41b27e69efe9c54f9d1e56fa921004af2d60fbaac30764d2aa097de2c402511c5d1e13e9785bdc729891ca98d1f9dcfc7113be8d30d1521454a WHIRLPOOL d50d0989534126f2792ecec97b5911fb5430c878ebae858433ce99f82a86eb348d9be5c83b426bad1083089d9633b15f8d85ee867073038511191a80312e4a2f
|
||||
DIST lynis-1.5.9.tar.gz 154084 SHA256 df2e9477f2926984fc559873ae7cbcf63d051af14d6cf3d2cf202daa8d859fbc SHA512 8f5b421ebd3fb5e0527eba563988bd856199dc380b64a907f5b43e0fb1c65101e683697a349408da18d422368524c9d1cca546fea21f5b99d2e1c88588be80d8 WHIRLPOOL e410009f4f13b89161c28cc84ec95c8a82896472731b065d92b809bc2dfc38b26a789c74b005785344eb2ff04648739a2a046ba1f8089fc8ee95408b3b489461
|
||||
DIST lynis-1.6.2.tar.gz 166513 SHA256 fdaaabd9e2d159af7677b8012a1ac6e0230e357918707732d7ca9d8b1156c135 SHA512 4b390027a7e1428411947696ccff20e31de623b10fd2eaef4293eefa58fd669da0900e2e13d1341ee8f374a234cd9e969d716112ff311ae0448c638cccf005c0 WHIRLPOOL bbe54fea50434ce721262cd008ac9dac5a50276b9636f7882cc0cf9ea381880e7865106fece016eba05b8f3d5aed5fe69a6391bfa6b1dfcb70ce837797ddd210
|
||||
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-forensics/lynis/lynis-1.5.9.ebuild,v 1.1 2014/08/11 20:39:36 idl0r Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Security and system auditing tool"
|
||||
HOMEPAGE="http://cisofy.com/lynis/"
|
||||
SRC_URI="http://cisofy.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="app-shells/bash"
|
||||
|
||||
src_prepare() {
|
||||
# Bug 507438
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_install() {
|
||||
doman lynis.8
|
||||
dodoc CHANGELOG FAQ README dev/TODO
|
||||
|
||||
# Remove the old one during the next stabilize progress
|
||||
exeinto /etc/cron.daily
|
||||
newexe "${FILESDIR}"/lynis.cron-new lynis
|
||||
|
||||
# stricter default perms - bug 507436
|
||||
diropts -m0750
|
||||
insopts -m0640
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins -r db/ include/ plugins/
|
||||
|
||||
dosbin lynis
|
||||
|
||||
insinto /etc/${PN}
|
||||
doins default.prf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo
|
||||
einfo "A cron script has been installed to ${ROOT}etc/cron.daily/lynis."
|
||||
einfo
|
||||
}
|
@ -1,10 +1,2 @@
|
||||
DIST byobu_5.73.orig.tar.gz 635985 SHA256 c5508b591f4bb1f9cbfb3e9264b3e123eac791c395c5864b9ccb3da10e684ce1 SHA512 d7acc1636b160e37470cb8637284abcd2a7df4b8832aa41adaaacf62599f1d9af11456ef3bde6b29f221bd64fab0866ac64401f9a782378639c886782138ff06 WHIRLPOOL c26cd5349da1497d7c8888c0ab3d018bd890a1cb17bd9d1d99cc34d678c6909049ed35241d9a6af967597747be0fca52ffcdc466be57616024d7aca57e5501d4
|
||||
DIST byobu_5.74.orig.tar.gz 645626 SHA256 7df6c1cbf6645cf929ca046628c6b9a92a9744f22760a13de05a071c4857a029 SHA512 194e76b9a08028d0a50663ac2c34a7bb9e462b8c1c6b72dc79caa53057834ca919b26c477643a4aa07dd350bf71f8860ec45c489ba6030bdfb0999025dba0997 WHIRLPOOL 6b39c1b9cfadfad135b6661a79c8c74dacdf830e8baad44485712f865d9e0e14e8ec88ef6f154ef032f4acd64fc1b7bd9fe1cae3e195558ca27abfd02399ee27
|
||||
DIST byobu_5.76.orig.tar.gz 646473 SHA256 cd1b64e2f93b2ef513ece9853b225a7d7764c1b708c423acddfc2763929fa3ac SHA512 31ac686fae2ac9c8570466a639427a9d4b1092ebc89950b551172c79acdd74530a21d2902d927e33cedcf0d399057c51154f66cf1c9c4ba7ddee6ae0edeb9a12 WHIRLPOOL a79c940a3a5e15e881350b0f89d102f470bdc56baaecf14ac9b21d61e0f90f6dbb527387eaed250196977c70ee197d06e5e8e60c0b766822e458e77836228fd1
|
||||
DIST byobu_5.77.orig.tar.gz 649172 SHA256 94247a87f93a45b15aeff83f8e4cc3082d78e7313ceebd9d50855f91858ac064 SHA512 dd1093f78b59999f137dca9a45904fb324d8bc2880e678f084481834d9444e09c553ed71ee57a58e664e6bf36ebdabb3ccfcb9d99fe0d330e02c100cafe8d252 WHIRLPOOL e1fc2dd01591e59f19a27d78c920ba7e0f59e8ad5fce0300b1dbb3b779c2805b40c5657cf3601ab833148d00441d9add5438820dcedc58ad78b91f7dc141f4cf
|
||||
DIST byobu_5.78.orig.tar.gz 649257 SHA256 fe18120c342fbcb6510f610cb51bcbb31fb2a84688bda2671c6bb4ff27ac370c SHA512 34fef79e0d36990f3d0a5bd9d874c914e9f3997b7c4b86f1764a7e0dc8ce038ad5e650ea2d9cd5557aae9105680f281ef4e45744085c01784e464a7a399f710c WHIRLPOOL fb8352cf911d376b4261819e7e15aa3f23bed2d591831b71a40917a32edc49e05d6b231183289a6d2e54a5a8839726cae0235eb7d4e5bfc3210556e4bee91d52
|
||||
DIST byobu_5.80.orig.tar.gz 650085 SHA256 65c452fa3dd6ebc17ff15564e67dc1088c7462c62cc4465b5ca935471b249beb SHA512 b012f94aec19ec8371866d5b8e9591389780e00e281cc838726f7090055f7c7fcdfc66f1bb46e529cd8eb19ba8e49488a52b99fa0498099cf3eedd043868d0c2 WHIRLPOOL 006e8809d36a72e4902f489d83e060eca6df83414210a280c3987d2a1ed35792bcb03ae7f7bdc0825ecc9417013b6a4bcea2daa23945d3ddf00d117d10c5a88b
|
||||
DIST byobu_5.81.orig.tar.gz 651669 SHA256 d5c18aba5008d5cffd9e5fc00583a477d3ad0dd47ce12f13bfe15b2b2e58f2ff SHA512 b7dcf693d65769b55f3dd165839c531c12f1f4b36a7453dc1e31bb674d71be4e4a4bb3a1fd7827e2531fa0e97a59545a8e85d3b9aab38f702ca00278af265ed4 WHIRLPOOL 27e1cc2be26b2b30b9069e17905f2fdee6bae15aa6c3d184b831e3ec82b29fe2d95ef4811f26a28dbe49557b13de26c4f9542cfbc1faf6e731c5bde5edd764db
|
||||
DIST byobu_5.82.orig.tar.gz 651724 SHA256 b29ceeb9bb0dd7278b23e93068439a47d611ca58a0ca9f1533402c08a87349c8 SHA512 a68d2b870aa42687b53ff38a88c561fe0cc0f8f377c29264b1d5e6ed09551bd16cc9df43811ce83fb979f897d5415bb90a495a383f7834cf47c503abc7476b70 WHIRLPOOL 8b95b9161b9a3d76e9fb6c4d8b6dd4540d954ce5bb75b05711cfacfddd797bd27a36bb5bab10627b4e6e5237c157f3d1a333a617ebc7ed74f453c7a3d8f6c016
|
||||
DIST byobu_5.84.orig.tar.gz 652705 SHA256 ec8f2f139c44a1cc599c99965355dbfb32b8d4eb43a6a6557db6cb7afdafd10a SHA512 285f432128271e0bdd30010873a993666195e40b8784599b568d31735544f73e64b6b40af84f42285a25fe1b7be01686c4b5f2b3d4cdc37464a62368c6aaffe5 WHIRLPOOL 6a860dec725ad5dcdd4b9fb7e70d6c9e6e9efe12dc31e0aed50eb89a80691f718c3dfbeae631b4b26acd4091747adfbc71ee4db65ef855e859f1e0d62db53a6a
|
||||
DIST byobu_5.86.orig.tar.gz 654210 SHA256 aadeed5929bbb79f55491b79baa480933503da34abc83accc1069ddf2e20e6a8 SHA512 e811423714427ae8d781428a225344fa8909584cdb8d369645a00fea12da2740cbb18ca55e7e587d03eb3074b107576b8e9dd3eb5c36b0d01c2b31d77d559ceb WHIRLPOOL 57fa959816e8fc0f0267bdded3497f1b4024aa83e9850c2752dff0cdc4f21df02edc5b8c91ca8dd94c3ff60162786c4bf6f1c5d433599f0fa75d235ad20dee51
|
||||
DIST byobu_5.87.orig.tar.gz 654269 SHA256 10fbbc337a36f462b4208efac0f731217227018e6ea0fb8b534ca4d561f16923 SHA512 726b34ff82322e699e85a9d136bd1aab4c272852895891c03feeae8d32350560de31bbb24bc2f8bf101da7a57044183cf837e70da5d5975ea79a5395dfc77288 WHIRLPOOL 3562575fda1492fbb6587ae34108d521b617fae45dd6f50754e34cb062553904064a275f7853d99dc421068f4e1774c5f9f97aa96df93b0b9423a47a5bf1d97f
|
||||
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.73.ebuild,v 1.1 2014/02/19 10:07:24 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
|
||||
HOMEPAGE="http://byobu.co"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="screen"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/newt[${PYTHON_USEDEP}]
|
||||
screen? ( app-misc/screen )
|
||||
!screen? ( app-misc/tmux )"
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
|
||||
# Set default system backend to screen
|
||||
if use screen ; then
|
||||
sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Create symlinks for backends
|
||||
dosym ${PN} /usr/bin/${PN}-screen
|
||||
dosym ${PN} /usr/bin/${PN}-tmux
|
||||
|
||||
docompress -x /usr/share/doc/${PN}
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.74.ebuild,v 1.1 2014/03/17 04:04:45 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
|
||||
HOMEPAGE="http://byobu.co"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="screen"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/newt[${PYTHON_USEDEP}]
|
||||
screen? ( app-misc/screen )
|
||||
!screen? ( app-misc/tmux )"
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
|
||||
# Set default system backend to screen
|
||||
if use screen ; then
|
||||
sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Create symlinks for backends
|
||||
dosym ${PN} /usr/bin/${PN}-screen
|
||||
dosym ${PN} /usr/bin/${PN}-tmux
|
||||
|
||||
docompress -x /usr/share/doc/${PN}
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.76.ebuild,v 1.1 2014/03/19 08:29:16 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
|
||||
HOMEPAGE="http://byobu.co"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="screen"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/newt[${PYTHON_USEDEP}]
|
||||
screen? ( app-misc/screen )
|
||||
!screen? ( app-misc/tmux )"
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
|
||||
# Set default system backend to screen
|
||||
if use screen ; then
|
||||
sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Create symlinks for backends
|
||||
dosym ${PN} /usr/bin/${PN}-screen
|
||||
dosym ${PN} /usr/bin/${PN}-tmux
|
||||
|
||||
docompress -x /usr/share/doc/${PN}
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.77.ebuild,v 1.1 2014/03/31 03:04:52 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
|
||||
HOMEPAGE="http://byobu.co"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="screen"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/newt[${PYTHON_USEDEP}]
|
||||
screen? ( app-misc/screen )
|
||||
!screen? ( app-misc/tmux )"
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
|
||||
# Set default system backend to screen
|
||||
if use screen ; then
|
||||
sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Create symlinks for backends
|
||||
dosym ${PN} /usr/bin/${PN}-screen
|
||||
dosym ${PN} /usr/bin/${PN}-tmux
|
||||
|
||||
docompress -x /usr/share/doc/${PN}
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.78.ebuild,v 1.1 2014/04/24 00:12:05 jer Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
|
||||
HOMEPAGE="http://byobu.co"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="screen"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/newt[${PYTHON_USEDEP}]
|
||||
screen? ( app-misc/screen )
|
||||
!screen? ( app-misc/tmux )"
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
|
||||
# Set default system backend to screen
|
||||
if use screen ; then
|
||||
sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Create symlinks for backends
|
||||
dosym ${PN} /usr/bin/${PN}-screen
|
||||
dosym ${PN} /usr/bin/${PN}-tmux
|
||||
|
||||
docompress -x /usr/share/doc/${PN}
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.80.ebuild,v 1.1 2014/05/03 07:09:05 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
|
||||
HOMEPAGE="http://byobu.co"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="screen"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/newt[${PYTHON_USEDEP}]
|
||||
screen? ( app-misc/screen )
|
||||
!screen? ( app-misc/tmux )"
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
|
||||
# Set default system backend to screen
|
||||
if use screen ; then
|
||||
sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Create symlinks for backends
|
||||
dosym ${PN} /usr/bin/${PN}-screen
|
||||
dosym ${PN} /usr/bin/${PN}-tmux
|
||||
|
||||
docompress -x /usr/share/doc/${PN}
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.82.ebuild,v 1.1 2014/07/26 15:57:44 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
|
||||
HOMEPAGE="http://byobu.co"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="screen"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/newt[${PYTHON_USEDEP}]
|
||||
screen? ( app-misc/screen )
|
||||
!screen? ( app-misc/tmux )"
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
|
||||
# Set default system backend to screen
|
||||
if use screen ; then
|
||||
sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Create symlinks for backends
|
||||
dosym ${PN} /usr/bin/${PN}-screen
|
||||
dosym ${PN} /usr/bin/${PN}-tmux
|
||||
|
||||
docompress -x /usr/share/doc/${PN}
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.84.ebuild,v 1.1 2014/08/04 16:44:37 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
|
||||
HOMEPAGE="http://byobu.co"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="screen"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/newt[${PYTHON_USEDEP}]
|
||||
screen? ( app-misc/screen )
|
||||
!screen? ( app-misc/tmux )"
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
|
||||
# Set default system backend to screen
|
||||
if use screen ; then
|
||||
sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Create symlinks for backends
|
||||
dosym ${PN} /usr/bin/${PN}-screen
|
||||
dosym ${PN} /usr/bin/${PN}-tmux
|
||||
|
||||
docompress -x /usr/share/doc/${PN}
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.81.ebuild,v 1.1 2014/07/08 03:19:06 radhermit Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.87.ebuild,v 1.1 2014/09/30 15:44:24 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
@ -1,2 +1,3 @@
|
||||
DIST cfg-update-1.8.7.tgz 163212 SHA256 94cdb032a187e6e9e5998852afa5999d6746d7b30ae9cae7c1b68c435fe19a7d SHA512 3f6d21918b46590b740898570337f2ae16881a1fef9ff3bc0e2064797e9385a088566788dcf8dc1962973bd2ccbaa725028640d4e65c714bb026389005c92c11 WHIRLPOOL f4aa24753ba8bc2c2c0a85ee474bc09c08379e852f468665e49416d646db455b2952327ae5e18f43f75c3c2e2ca456c33b2a9ae393332d682bfb9df58adbeadd
|
||||
DIST cfg-update-1.8.8.tgz 162365 SHA256 31a2d4acd26a1cb65238a634b8af54c38f84e699ada66c4df03d56359e9d9409 SHA512 d75873693f2c1485550591e374414a35860cc9419ce37842603c5d5e1749808f372eb85aa60d90aa3cb6aba3a8666cf2f6417662e30a78e1c775c809f9fd9253 WHIRLPOOL 864f71f525347be1f6d28bca0bd37cfe82512eb11b0814b652ff3163052c24dfc7a59010b89fe172deaf8852c44643bbe54b7b7d38a66b357aa2b313f1f6f67e
|
||||
DIST cfg-update-1.8.9.tgz 162356 SHA256 82d14b3cd7b1c144d7d77836919689471cd31c69cefba9b8714580e6cf1e495e SHA512 2c2d4d5cddaf1c5c8233bfde29b488d682e723da3e267756e203b4ea3c97f2f88615530002975ff07fb466eebed603e4ce227591a1b1e09ef3aca8c2eb17fcb9 WHIRLPOOL d17b179bc4589cc650178e981c0d5a6e336023f3128a9b76c1a4a19e0fe347982ff75d2337ed972e040fec1b93097b4336818b748f2af20eccb2e82f332417af
|
||||
|
@ -0,0 +1,105 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/cfg-update/cfg-update-1.8.9.ebuild,v 1.1 2014/09/30 20:57:16 rich0 Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Easy to use GUI & CLI alternative for etc-update with safe automatic updating functionality"
|
||||
HOMEPAGE="https://github.com/rich0/cfg-update"
|
||||
SRC_URI="https://github.com/rich0/cfg-update/tarball/${PV} -> ${P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86"
|
||||
IUSE="X"
|
||||
|
||||
RDEPEND="X? ( >=x11-misc/sux-1.0
|
||||
x11-apps/xhost )
|
||||
dev-perl/TermReadKey"
|
||||
|
||||
S="${WORKDIR}/rich0-cfg-update-2f10786"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if [[ ${ROOT} == / ]]
|
||||
then
|
||||
ebegin "Disabling portage hook"
|
||||
cfg-update --ebuild --disable-portage-hook
|
||||
eend $?
|
||||
ebegin "Disabling paludis hook"
|
||||
cfg-update --ebuild --disable-paludis-hook
|
||||
eend $?
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
ewarn
|
||||
ewarn "If you want to permanently remove cfg-update from your system"
|
||||
ewarn "you should remove the index file /var/lib/cfg-update/checksum.index"
|
||||
ewarn
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/bin
|
||||
doexe cfg-update emerge_with_indexing_for_cfg-update emerge_with_indexing_for_cfg-update_phphelper cfg-update_phphelper emerge_with_indexing_for_cfg-update_bashhelper
|
||||
insinto /usr/lib/cfg-update
|
||||
doins cfg-update cfg-update_indexing test.tgz
|
||||
dodoc ChangeLog
|
||||
doman *.8
|
||||
insinto /etc
|
||||
doins cfg-update.conf
|
||||
doins cfg-update.hosts
|
||||
keepdir /var/lib/cfg-update
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -e "${ROOT}"/var/lib/cfg-update/checksum.index \
|
||||
&& -e "${ROOT}"/var/lib/cfg-update/checksum.index ]]
|
||||
then
|
||||
ebegin "Moving checksum.index from /usr/lib/cfg-update to /var/lib/cfg-update"
|
||||
mv "${ROOT}"/usr/lib/cfg-update/checksum.index \
|
||||
"${ROOT}"/var/lib/cfg-update/checksum.index
|
||||
eend $?
|
||||
fi
|
||||
|
||||
if [[ -e "${ROOT}"/usr/bin/paludis ]]
|
||||
then
|
||||
ewarn
|
||||
ewarn "If you have used Paludis version <0.20.0 on your system, chances are"
|
||||
ewarn "that you have some corrupted CONTENTS files on your system..."
|
||||
ewarn
|
||||
ewarn "Please run: cfg-update --check-packages"
|
||||
ewarn
|
||||
ewarn "The above command will check all packages installed with Paludis and"
|
||||
ewarn "will output a list of packages that need to be re-installed with"
|
||||
ewarn "Paludis 0.20.0 or higher. If you do not re-install these packages"
|
||||
ewarn "you risk losing your custom settings when updating configuration"
|
||||
ewarn "files, that belong to these packages, with cfg-update!"
|
||||
ewarn
|
||||
fi
|
||||
|
||||
if [[ ${ROOT} == / ]]
|
||||
then
|
||||
ebegin "Moving backups to /var/lib/cfg-update/backups"
|
||||
/usr/bin/cfg-update --ebuild --move-backups
|
||||
eend $?
|
||||
fi
|
||||
|
||||
einfo
|
||||
einfo "If this is a first time install, please check the configuration"
|
||||
einfo "in /etc/cfg-update.conf before using cfg-update:"
|
||||
einfo
|
||||
einfo "If your system does not have an X-server installed you need to"
|
||||
einfo "change the MERGE_TOOL to sdiff, imediff2 or vimdiff."
|
||||
einfo "If you have X installed, set MERGE_TOOL to your favorite GUI tool:"
|
||||
einfo "xxdiff, beediff, kdiff3, meld (default), gtkdiff, gvimdiff, tkdiff"
|
||||
einfo
|
||||
einfo "TIP: to maximize the chances of future automatic updates, run:"
|
||||
einfo "cfg-update --optimize-backups"
|
||||
einfo
|
||||
}
|
@ -0,0 +1,138 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.1_p14-r1.ebuild,v 1.1 2014/09/30 20:34:29 polynomial-c Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
# Official patchlevel
|
||||
# See ftp://ftp.cwru.edu/pub/bash/bash-4.1-patches/
|
||||
PLEVEL=${PV##*_p}
|
||||
MY_PV=${PV/_p*}
|
||||
MY_PV=${MY_PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
[[ ${PV} != *_p* ]] && PLEVEL=0
|
||||
patches() {
|
||||
local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
|
||||
[[ ${plevel} -eq 0 ]] && return 1
|
||||
eval set -- {1..${plevel}}
|
||||
set -- $(printf "${pn}${pv/\.}-%03d " "$@")
|
||||
if [[ ${opt} == -s ]] ; then
|
||||
echo "${@/#/${DISTDIR}/}"
|
||||
else
|
||||
local u
|
||||
for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
|
||||
printf "${u}/${pn}-${pv}-patches/%s " "$@"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="The standard GNU Bourne again shell"
|
||||
HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
|
||||
SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="${MY_PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="afs mem-scramble +net nls +readline"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2-r2
|
||||
readline? ( >=sys-libs/readline-6.2 )
|
||||
nls? ( virtual/libintl )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
if is-flag -malign-double ; then #7332
|
||||
eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
|
||||
eerror "as it breaks LFS (struct stat64) on x86."
|
||||
die "remove -malign-double from your CFLAGS mr ricer"
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Include official patches
|
||||
[[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
|
||||
|
||||
# Clean out local libs so we know we use system ones
|
||||
rm -rf lib/{readline,termcap}/*
|
||||
touch lib/{readline,termcap}/Makefile.in # for config.status
|
||||
sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[[:alpha:]]*.h::g' Makefile.in || die
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-4.1-fbsd-eaccess.patch #303411
|
||||
sed -i '1i#define NEED_FPURGE_DECL' execute_cmd.c # needs fpurge() decl
|
||||
epatch "${FILESDIR}"/${PN}-4.1-parallel-build.patch
|
||||
epatch "${FILESDIR}"/${PN}-redir-stack-overflow.patch #523742
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=()
|
||||
|
||||
myconf+=( --without-lispdir ) #335896
|
||||
|
||||
# For descriptions of these, see config-top.h
|
||||
# bashrc/#26952 bash_logout/#90488 ssh/#24762
|
||||
append-cppflags \
|
||||
-DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
|
||||
-DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
|
||||
-DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
|
||||
-DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
|
||||
-DNON_INTERACTIVE_LOGIN_SHELLS \
|
||||
-DSSH_SOURCE_BASHRC
|
||||
|
||||
# Don't even think about building this statically without
|
||||
# reading Bug 7714 first. If you still build it statically,
|
||||
# don't come crying to us with bugs ;).
|
||||
#use static && export LDFLAGS="${LDFLAGS} -static"
|
||||
use nls || myconf+=( --disable-nls )
|
||||
|
||||
# Historically, we always used the builtin readline, but since
|
||||
# our handling of SONAME upgrades has gotten much more stable
|
||||
# in the PM (and the readline ebuild itself preserves the old
|
||||
# libs during upgrades), linking against the system copy should
|
||||
# be safe.
|
||||
# Exact cached version here doesn't really matter as long as it
|
||||
# is at least what's in the DEPEND up above.
|
||||
export ac_cv_rl_version=6.2
|
||||
|
||||
# Force linking with system curses ... the bundled termcap lib
|
||||
# sucks bad compared to ncurses. For the most part, ncurses
|
||||
# is here because readline needs it. But bash itself calls
|
||||
# ncurses in one or two small places :(.
|
||||
|
||||
tc-export AR #444070
|
||||
econf \
|
||||
--with-installed-readline=. \
|
||||
--with-curses \
|
||||
$(use_with afs) \
|
||||
$(use_enable net net-redirections) \
|
||||
--disable-profiling \
|
||||
$(use_enable mem-scramble) \
|
||||
$(use_with mem-scramble bash-malloc) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable readline history) \
|
||||
$(use_enable readline bang-history) \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
into /
|
||||
newbin bash bash-${SLOT}
|
||||
|
||||
newman doc/bash.1 bash-${SLOT}.1
|
||||
newman doc/builtins.1 builtins-${SLOT}.1
|
||||
|
||||
insinto /usr/share/info
|
||||
newins doc/bashref.info bash-${SLOT}.info
|
||||
dosym bash-${SLOT}.info /usr/share/info/bashref-${SLOT}.info
|
||||
|
||||
dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
|
||||
}
|
@ -0,0 +1,227 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.2_p50-r1.ebuild,v 1.1 2014/09/30 20:34:29 polynomial-c Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs multilib
|
||||
|
||||
# Official patchlevel
|
||||
# See ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/
|
||||
PLEVEL=${PV##*_p}
|
||||
MY_PV=${PV/_p*}
|
||||
MY_PV=${MY_PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
[[ ${PV} != *_p* ]] && PLEVEL=0
|
||||
patches() {
|
||||
local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
|
||||
[[ ${plevel} -eq 0 ]] && return 1
|
||||
eval set -- {1..${plevel}}
|
||||
set -- $(printf "${pn}${pv/\.}-%03d " "$@")
|
||||
if [[ ${opt} == -s ]] ; then
|
||||
echo "${@/#/${DISTDIR}/}"
|
||||
else
|
||||
local u
|
||||
for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
|
||||
printf "${u}/${pn}-${pv}-patches/%s " "$@"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="The standard GNU Bourne again shell"
|
||||
HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
|
||||
SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="afs bashlogger examples mem-scramble +net nls plugins +readline vanilla"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2-r2
|
||||
readline? ( >=sys-libs/readline-6.2 )
|
||||
nls? ( virtual/libintl )"
|
||||
RDEPEND="${DEPEND}
|
||||
!!<sys-apps/portage-2.1.6.7_p1
|
||||
!!<sys-apps/paludis-0.26.0_alpha5"
|
||||
# we only need yacc when the .y files get patched (bash42-005)
|
||||
DEPEND+=" virtual/yacc"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
if is-flag -malign-double ; then #7332
|
||||
eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
|
||||
eerror "as it breaks LFS (struct stat64) on x86."
|
||||
die "remove -malign-double from your CFLAGS mr ricer"
|
||||
fi
|
||||
if use bashlogger ; then
|
||||
ewarn "The logging patch should ONLY be used in restricted (i.e. honeypot) envs."
|
||||
ewarn "This will log ALL output you enter into the shell, you have been warned."
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Include official patches
|
||||
[[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
|
||||
|
||||
# Clean out local libs so we know we use system ones
|
||||
rm -rf lib/{readline,termcap}/*
|
||||
touch lib/{readline,termcap}/Makefile.in # for config.status
|
||||
sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[[:alpha:]]*.h::g' Makefile.in || die
|
||||
|
||||
# Avoid regenerating docs after patches #407985
|
||||
sed -i -r '/^(HS|RL)USER/s:=.*:=:' doc/Makefile.in || die
|
||||
touch -r . doc/*
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-4.2-execute-job-control.patch #383237
|
||||
epatch "${FILESDIR}"/${PN}-4.2-parallel-build.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.2-no-readline.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.2-read-retry.patch #447810
|
||||
if ! use vanilla ; then
|
||||
epatch "${FILESDIR}"/${PN}-4.2-speed-up-read-N.patch
|
||||
fi
|
||||
epatch "${FILESDIR}"/${PN}-redir-stack-overflow.patch #523742
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=()
|
||||
|
||||
# For descriptions of these, see config-top.h
|
||||
# bashrc/#26952 bash_logout/#90488 ssh/#24762
|
||||
append-cppflags \
|
||||
-DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
|
||||
-DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
|
||||
-DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
|
||||
-DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
|
||||
-DNON_INTERACTIVE_LOGIN_SHELLS \
|
||||
-DSSH_SOURCE_BASHRC \
|
||||
$(use bashlogger && echo -DSYSLOG_HISTORY)
|
||||
|
||||
# Don't even think about building this statically without
|
||||
# reading Bug 7714 first. If you still build it statically,
|
||||
# don't come crying to us with bugs ;).
|
||||
#use static && export LDFLAGS="${LDFLAGS} -static"
|
||||
use nls || myconf+=( --disable-nls )
|
||||
|
||||
# Historically, we always used the builtin readline, but since
|
||||
# our handling of SONAME upgrades has gotten much more stable
|
||||
# in the PM (and the readline ebuild itself preserves the old
|
||||
# libs during upgrades), linking against the system copy should
|
||||
# be safe.
|
||||
# Exact cached version here doesn't really matter as long as it
|
||||
# is at least what's in the DEPEND up above.
|
||||
export ac_cv_rl_version=6.2
|
||||
|
||||
# Force linking with system curses ... the bundled termcap lib
|
||||
# sucks bad compared to ncurses. For the most part, ncurses
|
||||
# is here because readline needs it. But bash itself calls
|
||||
# ncurses in one or two small places :(.
|
||||
|
||||
use plugins && append-ldflags -Wl,-rpath,/usr/$(get_libdir)/bash
|
||||
tc-export AR #444070
|
||||
econf \
|
||||
--with-installed-readline=. \
|
||||
--with-curses \
|
||||
$(use_with afs) \
|
||||
$(use_enable net net-redirections) \
|
||||
--disable-profiling \
|
||||
$(use_enable mem-scramble) \
|
||||
$(use_with mem-scramble bash-malloc) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable readline history) \
|
||||
$(use_enable readline bang-history) \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
if use plugins ; then
|
||||
emake -C examples/loadables all others
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}"
|
||||
|
||||
dodir /bin
|
||||
mv "${ED}"/usr/bin/bash "${ED}"/bin/ || die
|
||||
dosym bash /bin/rbash
|
||||
|
||||
insinto /etc/bash
|
||||
doins "${FILESDIR}"/{bashrc,bash_logout}
|
||||
insinto /etc/skel
|
||||
for f in bash{_logout,_profile,rc} ; do
|
||||
newins "${FILESDIR}"/dot-${f} .${f}
|
||||
done
|
||||
|
||||
local sed_args=(
|
||||
-e "s:#${USERLAND}#@::"
|
||||
-e '/#@/d'
|
||||
)
|
||||
if ! use readline ; then
|
||||
sed_args+=( #432338
|
||||
-e '/^shopt -s histappend/s:^:#:'
|
||||
-e 's:use_color=true:use_color=false:'
|
||||
)
|
||||
fi
|
||||
sed -i \
|
||||
"${sed_args[@]}" \
|
||||
"${ED}"/etc/skel/.bashrc \
|
||||
"${ED}"/etc/bash/bashrc || die
|
||||
|
||||
if use plugins ; then
|
||||
exeinto /usr/$(get_libdir)/bash
|
||||
doexe $(echo examples/loadables/*.o | sed 's:\.o::g')
|
||||
insinto /usr/include/bash-plugins
|
||||
doins *.h builtins/*.h examples/loadables/*.h include/*.h \
|
||||
lib/{glob/glob.h,tilde/tilde.h}
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
for d in examples/{functions,misc,scripts,scripts.noah,scripts.v2} ; do
|
||||
exeinto /usr/share/doc/${PF}/${d}
|
||||
insinto /usr/share/doc/${PF}/${d}
|
||||
for f in ${d}/* ; do
|
||||
if [[ ${f##*/} != PERMISSION ]] && [[ ${f##*/} != *README ]] ; then
|
||||
doexe ${f}
|
||||
else
|
||||
doins ${f}
|
||||
fi
|
||||
done
|
||||
done
|
||||
fi
|
||||
|
||||
doman doc/*.1
|
||||
dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
|
||||
dosym bash.info /usr/share/info/bashref.info
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ -e ${EROOT}/etc/bashrc ]] && [[ ! -d ${EROOT}/etc/bash ]] ; then
|
||||
mkdir -p "${EROOT}"/etc/bash
|
||||
mv -f "${EROOT}"/etc/bashrc "${EROOT}"/etc/bash/
|
||||
fi
|
||||
|
||||
if [[ -L ${EROOT}/bin/sh ]]; then
|
||||
# rewrite the symlink to ensure that its mtime changes. having /bin/sh
|
||||
# missing even temporarily causes a fatal error with paludis.
|
||||
local target=$(readlink "${EROOT}"/bin/sh)
|
||||
local tmp=$(emktemp "${EROOT}"/bin)
|
||||
ln -sf "${target}" "${tmp}"
|
||||
mv -f "${tmp}" "${EROOT}"/bin/sh
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# If /bin/sh does not exist, provide it
|
||||
if [[ ! -e ${EROOT}/bin/sh ]]; then
|
||||
ln -sf bash "${EROOT}"/bin/sh
|
||||
fi
|
||||
}
|
@ -0,0 +1,140 @@
|
||||
*** ../bash-20140912/parse.y 2014-08-26 15:09:42.000000000 -0400
|
||||
--- parse.y 2014-09-25 19:16:40.000000000 -0400
|
||||
***************
|
||||
*** 169,172 ****
|
||||
--- 169,175 ----
|
||||
static int reserved_word_acceptable __P((int));
|
||||
static int yylex __P((void));
|
||||
+
|
||||
+ static void push_heredoc __P((REDIRECT *));
|
||||
+ static char *mk_alexpansion __P((char *));
|
||||
static int alias_expand_token __P((char *));
|
||||
static int time_command_acceptable __P((void));
|
||||
***************
|
||||
*** 266,270 ****
|
||||
/* Variables to manage the task of reading here documents, because we need to
|
||||
defer the reading until after a complete command has been collected. */
|
||||
! static REDIRECT *redir_stack[10];
|
||||
int need_here_doc;
|
||||
|
||||
--- 269,275 ----
|
||||
/* Variables to manage the task of reading here documents, because we need to
|
||||
defer the reading until after a complete command has been collected. */
|
||||
! #define HEREDOC_MAX 16
|
||||
!
|
||||
! static REDIRECT *redir_stack[HEREDOC_MAX];
|
||||
int need_here_doc;
|
||||
|
||||
***************
|
||||
*** 308,312 ****
|
||||
index is decremented after a case, select, or for command is parsed. */
|
||||
#define MAX_CASE_NEST 128
|
||||
! static int word_lineno[MAX_CASE_NEST];
|
||||
static int word_top = -1;
|
||||
|
||||
--- 313,317 ----
|
||||
index is decremented after a case, select, or for command is parsed. */
|
||||
#define MAX_CASE_NEST 128
|
||||
! static int word_lineno[MAX_CASE_NEST+1];
|
||||
static int word_top = -1;
|
||||
|
||||
***************
|
||||
*** 521,525 ****
|
||||
redir.filename = $2;
|
||||
$$ = make_redirection (source, r_reading_until, redir, 0);
|
||||
! redir_stack[need_here_doc++] = $$;
|
||||
}
|
||||
| NUMBER LESS_LESS WORD
|
||||
--- 526,530 ----
|
||||
redir.filename = $2;
|
||||
$$ = make_redirection (source, r_reading_until, redir, 0);
|
||||
! push_heredoc ($$);
|
||||
}
|
||||
| NUMBER LESS_LESS WORD
|
||||
***************
|
||||
*** 528,532 ****
|
||||
redir.filename = $3;
|
||||
$$ = make_redirection (source, r_reading_until, redir, 0);
|
||||
! redir_stack[need_here_doc++] = $$;
|
||||
}
|
||||
| REDIR_WORD LESS_LESS WORD
|
||||
--- 533,537 ----
|
||||
redir.filename = $3;
|
||||
$$ = make_redirection (source, r_reading_until, redir, 0);
|
||||
! push_heredoc ($$);
|
||||
}
|
||||
| REDIR_WORD LESS_LESS WORD
|
||||
***************
|
||||
*** 535,539 ****
|
||||
redir.filename = $3;
|
||||
$$ = make_redirection (source, r_reading_until, redir, REDIR_VARASSIGN);
|
||||
! redir_stack[need_here_doc++] = $$;
|
||||
}
|
||||
| LESS_LESS_MINUS WORD
|
||||
--- 540,544 ----
|
||||
redir.filename = $3;
|
||||
$$ = make_redirection (source, r_reading_until, redir, REDIR_VARASSIGN);
|
||||
! push_heredoc ($$);
|
||||
}
|
||||
| LESS_LESS_MINUS WORD
|
||||
***************
|
||||
*** 542,546 ****
|
||||
redir.filename = $2;
|
||||
$$ = make_redirection (source, r_deblank_reading_until, redir, 0);
|
||||
! redir_stack[need_here_doc++] = $$;
|
||||
}
|
||||
| NUMBER LESS_LESS_MINUS WORD
|
||||
--- 547,551 ----
|
||||
redir.filename = $2;
|
||||
$$ = make_redirection (source, r_deblank_reading_until, redir, 0);
|
||||
! push_heredoc ($$);
|
||||
}
|
||||
| NUMBER LESS_LESS_MINUS WORD
|
||||
***************
|
||||
*** 549,553 ****
|
||||
redir.filename = $3;
|
||||
$$ = make_redirection (source, r_deblank_reading_until, redir, 0);
|
||||
! redir_stack[need_here_doc++] = $$;
|
||||
}
|
||||
| REDIR_WORD LESS_LESS_MINUS WORD
|
||||
--- 554,558 ----
|
||||
redir.filename = $3;
|
||||
$$ = make_redirection (source, r_deblank_reading_until, redir, 0);
|
||||
! push_heredoc ($$);
|
||||
}
|
||||
| REDIR_WORD LESS_LESS_MINUS WORD
|
||||
***************
|
||||
*** 556,560 ****
|
||||
redir.filename = $3;
|
||||
$$ = make_redirection (source, r_deblank_reading_until, redir, REDIR_VARASSIGN);
|
||||
! redir_stack[need_here_doc++] = $$;
|
||||
}
|
||||
| LESS_LESS_LESS WORD
|
||||
--- 561,565 ----
|
||||
redir.filename = $3;
|
||||
$$ = make_redirection (source, r_deblank_reading_until, redir, REDIR_VARASSIGN);
|
||||
! push_heredoc ($$);
|
||||
}
|
||||
| LESS_LESS_LESS WORD
|
||||
***************
|
||||
*** 2637,2640 ****
|
||||
--- 2642,2660 ----
|
||||
static int esacs_needed_count;
|
||||
|
||||
+ static void
|
||||
+ push_heredoc (r)
|
||||
+ REDIRECT *r;
|
||||
+ {
|
||||
+ if (need_here_doc >= HEREDOC_MAX)
|
||||
+ {
|
||||
+ last_command_exit_value = EX_BADUSAGE;
|
||||
+ need_here_doc = 0;
|
||||
+ report_syntax_error (_("maximum here-document count exceeded"));
|
||||
+ reset_parser ();
|
||||
+ exit_shell (last_command_exit_value);
|
||||
+ }
|
||||
+ redir_stack[need_here_doc++] = r;
|
||||
+ }
|
||||
+
|
||||
void
|
||||
gather_here_documents ()
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/ffmpeg-php/ffmpeg-php-0.6.0-r1.ebuild,v 1.5 2014/08/10 20:59:42 slyfox Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PHP_EXT_NAME="ffmpeg"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
|
||||
inherit php-ext-source-r2 eutils
|
||||
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
DESCRIPTION="PHP extension that provides access to movie info"
|
||||
HOMEPAGE="http://sourceforge.net/projects/ffmpeg-php/"
|
||||
SRC_URI="mirror://sourceforge/ffmpeg-php/${P}.tbz2"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="virtual/ffmpeg
|
||||
|| ( dev-lang/php[gd] dev-lang/php[gd-external] )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# The test breaks with the test movie, but it the same code works fine with
|
||||
# other movies
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DOCS="CREDITS ChangeLog EXPERIMENTAL TODO"
|
||||
|
||||
src_prepare() {
|
||||
for slot in $(php_get_slots) ; do
|
||||
cd "${WORKDIR}/${slot}"
|
||||
epatch "${FILESDIR}/${P}-avutil50.patch"
|
||||
epatch "${FILESDIR}/${P}-ffmpeg.patch"
|
||||
epatch "${FILESDIR}/${P}-log.patch"
|
||||
done
|
||||
php-ext-source-r2_src_prepare
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST igbinary-1.1.1.tar.gz 37486 SHA256 0060591c273e0ce41731ddd81f0a8f96d37d95166153e4e1f233680a0ce0ef59 SHA512 46d08f52e147aaa58faafa83eb2848e3505baba14711cb9682a4ab8a565c63b48597417211c00fe78629d258444fa78cb63cf9a20e0e7cfbab171ddf61d1c729 WHIRLPOOL 777bc83a4f5725a6365f94baf5ce8e2133ffaeb1d6202e118f15fe444bed1af8f2c7748686ad5d2e5782cc1adf30e6bd4414b4a8f887da1f8b2f5b8b3516a0f8
|
||||
DIST igbinary-1.2.1.tar.gz 143092 SHA256 f71a2e085669ed915740b29f55b6a81e30bae52215d041938afb9212e6bafc27 SHA512 5e69831606cfe47db2ae2b2200bd8bcfce42db32599a2a58cf23238d88896a2ef79baf16e78b3aaefb8725f8fdd7b815470e2d314ba14ea05f33be547da31777 WHIRLPOOL f7eb5d28b536bd1d2b0565f3e8541cbdb39edd2f5130bd041f0d75cc8218edeaa8719ebaea4d8ddf372172df9863d9d72a12dd8fc09c3653418b49e26d0e2f61
|
||||
|
@ -1,3 +1 @@
|
||||
DIST amqp-1.0.10.tgz 45150 SHA256 0108f930207920ca7cacd06b9220f55dd7444264eb86bedd288f9213f84d60f4 SHA512 70803e5bdd9b63edbd4184c751d217efbbcaf746edf4c00819148b96bc9e56aa8ffcc2c414a0b293df74b834140a50f473f7fc335b63f615cbba88c328873478 WHIRLPOOL aefd8eb3bfcb39b155f27a1c5cdd7318026e50d0b075699e492892e92bc63d793813faa729e542551cae81b96c15c0038f3cd8af6b07b0e059ab7242fd9c23a2
|
||||
DIST amqp-1.0.9.tgz 40693 SHA256 82d3dd875261ae0a983c8a24092cc14aebb291b584a7f0ad233df920e2cb4f0f SHA512 52db33f4e938d056b1e3c19973a05276d5dbf4c50decbf248783277b1478a99c855698810b9de5ae0b69aafc05899f3e212613ef817ad2ae046d0f156ba3e4c2 WHIRLPOOL f1dcf9ed0006a2a88edec8a82d4823051fc6de041d9951363b4d5a7133d5470de846827e241aa1974b9a33986359c58244a4a6f076f14bcf63aed9be31c572e6
|
||||
DIST amqp-1.2.0.tgz 46847 SHA256 2f267f1ce6cc13b94ac6661c6427e1cce98f57fa9c394ad0e226e55294597732 SHA512 c4386346702d163a96f37c93c80b06875e53309be38b1856b107a4de770bcb620d73be6499c5285f3c621a9cb442d1d553e5e8cfe255d28d0c7911e562ba8b85 WHIRLPOOL e149819d0b9813c4cf2e3ca5c85e65930405f3183e9e80a13d900611116a61627b282a99abcabe7749d1f5bdba5fbd28b2699fb579d3ee093d5f0803b9307148
|
||||
DIST amqp-1.4.0.tgz 48648 SHA256 e6553154acbffeaacfad83edf94a7b94e2e50a850ec953d15537016267720f25 SHA512 aacf3d7e13c0acb7486fbc47a65ee70909e71401106479b38a9b6406453a6279cd32aceb0941ec56a39326f17700e8ea4a15460c9b156d4bef68e5e8f90f5a2e WHIRLPOOL aa83c6acec9c36ef47aa73cbb2209c15b89eb2a1888bb5117dc6d5ece907537f29a559d52787d8cd77ce8653ebc8f4799afc82ebdfdc303d615e78b3f012339d
|
||||
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-amqp/pecl-amqp-1.0.9.ebuild,v 1.2 2014/08/10 21:00:35 slyfox Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_PHP="php5-3 php5-4"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="PHP Bindings for AMQP 0-9-1 compatible brokers"
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="net-libs/rabbitmq-c"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-amqp/pecl-amqp-1.2.0.ebuild,v 1.2 2014/08/10 21:00:35 slyfox Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_PHP="php5-3 php5-4 php5-5"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="PHP Bindings for AMQP 0-9-1 compatible brokers"
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="net-libs/rabbitmq-c"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,4 +1,2 @@
|
||||
DIST APCu-4.0.0.tgz 104250 SHA256 1e1a3c1f06c57fac02787f3a581105efe8d8b9c27b8bafd25fb303813449f60b SHA512 ad5d90d68e68f8f15e0d8d8823b77217c6b095a21e921b40fd8c00dbc5627db48425827495a7c1e891b7d59488fa32e7e1bec6634057c531f4ea70749620d5f2 WHIRLPOOL 59cc9bfcb7c11c3bcd673520100dfb35d1cc4276e875c4905b3074260d7418690d4b7f9df71ad729e8d78d19056d22091e90aba9667036b13780ee797a1c7972
|
||||
DIST APCu-4.0.1.tgz 105861 SHA256 d9d22fdb69a43118da2bd8c120bfc34da7dff89b9327beb52ded4d1aa73e266f SHA512 64d92ee59b3e404514420c48cbe73e2ae41d3b3cd97a68724b29dc00302dbee8ea465211f52fbc5e116c6a3afb3b4eb69b07eeaef5b038294debb5a541fa9415 WHIRLPOOL ce7725e7f5fd268a6f17b51a3610b50a7d96fc6a0bc72d9f1b80445ec586cac433cb42ee1f5ca4336b321bd69b0886bcf8b4f83a6a51d0355045552bea5a180b
|
||||
DIST APCu-4.0.2.tgz 120325 SHA256 83fdcc0505522414e4785c86e62e20fe3643ff4790c035f86de35fc7339021aa SHA512 b9faa0f6a9010d3a5546cbafddc5bed7b58a06ad5c3a7fd2c90a0f69c5bdd1861e644372a1083750b6d5a472dcd707ced2b56351a97113e35678d9d55f750ee5 WHIRLPOOL 510fce9611d0e38040fb95cfddf0437ed3a487558edbe8b7afad304d63e07e714786187ef678ec12fcb7d26a9f78259d9ddf31c4c260b3952ff8404bec3b395d
|
||||
DIST APCu-4.0.4.tgz 119708 SHA256 f97cefb1bf9670d88c98e8c5e78d378927ab52a88b7147361a63401631b5ad3e SHA512 674dc0388dab0d366fa57acf1ef90bc86ad96e853d78e810e12d96eb3c5b9c508bd830af0f2aef1e5d96eca56960e962462015fe5c818ea4763a68ea418632e3 WHIRLPOOL c558771c7a3a50ac88a444003a5b8606d3118304056396b5797670895f78680a069e74ec07d370d569f9a64694bf20f978e0d15fb2a9e92a78a3199ebc66f424
|
||||
DIST APCu-4.0.6.tgz 119689 SHA256 4c757df0b90e855a1f9cf160d8d697f53f74e60f44bd93080cfb12f838d1027e SHA512 dc9be4bef7ede76f8fe94b49c106f64e3d6b1a52d2f5ca12e00b01b689fe60f6d74790768c45ec085957443c5d7b96249ab9d0a3de93282fe38e829e974bda29 WHIRLPOOL fb8c0a9e655ae274e3a11cd401d42516a0bdaed314f7aedc35a9f90ed921935c832aa6339f89d9259630fac7f93adde00bf5964097edb21301a6ad936215200f
|
||||
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-apcu/pecl-apcu-4.0.0.ebuild,v 1.2 2014/08/10 21:00:54 slyfox Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PHP_EXT_NAME="apcu"
|
||||
PHP_EXT_PECL_PKG="APCu"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS="CHANGELOG INSTALL NOTICE TECHNOTES.txt TODO"
|
||||
|
||||
USE_PHP="php5-5 php5-3 php5-4"
|
||||
|
||||
S="${WORKDIR}/apcu-${PV}"
|
||||
PHP_EXT_S="${WORKDIR}/apcu-${PV}"
|
||||
|
||||
inherit php-ext-pecl-r2 confutils eutils
|
||||
|
||||
S="${WORKDIR}/apcu-${PV}"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="Stripped down version of APC supporting only user cache"
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="0"
|
||||
IUSE="+mmap"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
LOCKS="pthreadmutex pthreadrw spinlock semaphore"
|
||||
|
||||
LUSE=""
|
||||
for l in ${LOCKS}; do
|
||||
LUSE+="lock_${l} "
|
||||
done
|
||||
|
||||
IUSE+=" ${LUSE/lock_pthreadrw/+lock_pthreadrw}"
|
||||
|
||||
REQUIRED_USE="^^ ( $LUSE )"
|
||||
|
||||
src_configure() {
|
||||
my_conf="--enable-apcu"
|
||||
enable_extension_enable "apcu-mmap" "mmap" 0
|
||||
|
||||
enable_extension_enable "apcu-rwlocks" "lock_pthreadrw" 0
|
||||
|
||||
php-ext-source-r2_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
php-ext-pecl-r2_src_install
|
||||
|
||||
dodir "${PHP_EXT_SHARED_DIR}"
|
||||
insinto "${PHP_EXT_SHARED_DIR}"
|
||||
doins apc.php
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The apc.php file shipped with this release of pecl-apcu was"
|
||||
elog "installed into ${PHP_EXT_SHARED_DIR}/."
|
||||
}
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-apcu/pecl-apcu-4.0.1.ebuild,v 1.2 2014/08/10 21:00:54 slyfox Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PHP_EXT_NAME="apcu"
|
||||
PHP_EXT_PECL_PKG="APCu"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS="CHANGELOG INSTALL NOTICE TECHNOTES.txt TODO"
|
||||
|
||||
USE_PHP="php5-5 php5-3 php5-4"
|
||||
|
||||
S="${WORKDIR}/apcu-${PV}"
|
||||
PHP_EXT_S="${WORKDIR}/apcu-${PV}"
|
||||
|
||||
inherit php-ext-pecl-r2 confutils eutils
|
||||
|
||||
S="${WORKDIR}/apcu-${PV}"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="Stripped down version of APC supporting only user cache"
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="0"
|
||||
IUSE="+mmap"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
LOCKS="pthreadmutex pthreadrw spinlock semaphore"
|
||||
|
||||
LUSE=""
|
||||
for l in ${LOCKS}; do
|
||||
LUSE+="lock_${l} "
|
||||
done
|
||||
|
||||
IUSE+=" ${LUSE/lock_pthreadrw/+lock_pthreadrw}"
|
||||
|
||||
REQUIRED_USE="^^ ( $LUSE )"
|
||||
|
||||
src_configure() {
|
||||
my_conf="--enable-apcu"
|
||||
enable_extension_enable "apcu-mmap" "mmap" 0
|
||||
|
||||
enable_extension_enable "apcu-rwlocks" "lock_pthreadrw" 0
|
||||
|
||||
php-ext-source-r2_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
php-ext-pecl-r2_src_install
|
||||
|
||||
dodir "${PHP_EXT_SHARED_DIR}"
|
||||
insinto "${PHP_EXT_SHARED_DIR}"
|
||||
doins apc.php
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The apc.php file shipped with this release of pecl-apcu was"
|
||||
elog "installed into ${PHP_EXT_SHARED_DIR}/."
|
||||
}
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-apcu/pecl-apcu-4.0.4.ebuild,v 1.2 2014/08/10 21:00:54 slyfox Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PHP_EXT_NAME="apcu"
|
||||
PHP_EXT_PECL_PKG="APCu"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS="CHANGELOG INSTALL NOTICE TECHNOTES.txt TODO"
|
||||
|
||||
USE_PHP="php5-5 php5-3 php5-4"
|
||||
|
||||
S="${WORKDIR}/apcu-${PV}"
|
||||
PHP_EXT_S="${WORKDIR}/apcu-${PV}"
|
||||
|
||||
inherit php-ext-pecl-r2 confutils eutils
|
||||
|
||||
S="${WORKDIR}/apcu-${PV}"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="Stripped down version of APC supporting only user cache"
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="0"
|
||||
IUSE="+mmap"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
LOCKS="pthreadmutex pthreadrw spinlock semaphore"
|
||||
|
||||
LUSE=""
|
||||
for l in ${LOCKS}; do
|
||||
LUSE+="lock_${l} "
|
||||
done
|
||||
|
||||
IUSE+=" ${LUSE/lock_pthreadrw/+lock_pthreadrw}"
|
||||
|
||||
REQUIRED_USE="^^ ( $LUSE )"
|
||||
|
||||
src_configure() {
|
||||
my_conf="--enable-apcu"
|
||||
use mmap || my_conf+=" --disable-apcu-mmap"
|
||||
|
||||
enable_extension_enable "apcu-rwlocks" "lock_pthreadrw" 0
|
||||
|
||||
php-ext-source-r2_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
php-ext-pecl-r2_src_install
|
||||
|
||||
dodir "${PHP_EXT_SHARED_DIR}"
|
||||
insinto "${PHP_EXT_SHARED_DIR}"
|
||||
doins apc.php
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The apc.php file shipped with this release of pecl-apcu was"
|
||||
elog "installed into ${PHP_EXT_SHARED_DIR}/."
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST cairo-0.3.1.tgz 171732 SHA256 3e746a1cfbd6d9bc4078f658846335de5a6dd6e965162662d15983fe44550b37 SHA512 158e914c3a718d37956f59b52b8953f1ad251c4bec1b0395553d74c6789a0fffd6f26df495c0532a7c2a2bf2a9a8317e6f113489d941e39b4da1ae8120dbc894 WHIRLPOOL df5da06b9860c35291d019ff348007b7325df92c9d4a5c5c79138e558ced2cb4865fe1d5da5393fe1b9bb4b8ebfa1f70e4e95c1a96519c724fa5badf7ee08fae
|
||||
DIST cairo-0.3.2.tgz 173203 SHA256 c69a33b4d8c9611c0e32383b577509f64406afb5670518c8de2e34d53c926359 SHA512 def7cb67d84349317daad8c6aa8747d7dfe66159df0d72d50e528577288859cbfb6afa982888983bd41ce7ba5267c40a38ce48b56a0d33ac56e1805485391d7a WHIRLPOOL d90c5274813682c4ae131116eff0e593d6ca76c9527c54b366d0c3b7aaf778c440fdaa66d91aa9035eed1632c085e7e7706307771028a3f281f33aae0fc15820
|
||||
|
@ -1,37 +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/pecl-cairo/pecl-cairo-0.3.1.ebuild,v 1.3 2012/04/13 19:00:41 ulm Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PHP_EXT_NAME="cairo"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS="TODO"
|
||||
|
||||
USE_PHP="php5-3 php5-4"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="Cairo bindings for PHP"
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND=">=x11-libs/cairo-1.4[svg]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
IUSE=""
|
||||
|
||||
src_unpack() {
|
||||
|
||||
unpack ${A}
|
||||
#Cairo is very silly.
|
||||
mv "${WORKDIR}/Cairo-${MY_PV}" "${WORKDIR}/cairo-${MY_PV}" || die "Failed to move"
|
||||
local slot orig_s="${PHP_EXT_S}"
|
||||
for slot in $(php_get_slots); do
|
||||
cp -r "${orig_s}" "${WORKDIR}/${slot}" || die "Failed to copy source ${orig_s} to PHP target directory"
|
||||
done
|
||||
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-crack/pecl-crack-0.4-r4.ebuild,v 1.1 2014/09/30 16:25:06 grknight Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PHP_EXT_NAME="crack"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS="EXPERIMENTAL"
|
||||
|
||||
USE_PHP="php5-6 php5-5 php5-4"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
DESCRIPTION="PHP interface to the cracklib libraries"
|
||||
LICENSE="PHP-3 CRACKLIB"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
local slot
|
||||
for slot in $(php_get_slots) ; do
|
||||
cd "${WORKDIR}/${slot}"
|
||||
epatch "${FILESDIR}/fix-php-5-4-support.patch"
|
||||
# Patch for http://pecl.php.net/bugs/bug.php?id=5765
|
||||
epatch "${FILESDIR}/fix-pecl-bug-5765.patch"
|
||||
done
|
||||
php-ext-source-r2_src_prepare
|
||||
}
|
@ -1 +1 @@
|
||||
DIST gnupg-1.3.2.tgz 18237 SHA256 9da2d793e4f90cff8fa9b20c627f0977e1af7fe6597febac8cd1eabe988d59ee SHA512 0bcb7e966b7fb0ed5e6cd6753d5d3ae27a416618c38c0665eeccabbf33d742afb86bdae1088afad503a527f5bb2d3a8138d9b0d76965e095501d8698939e0d19 WHIRLPOOL 2f59ba08c6b0e584fc51aec7156d6eae91c5230e2f926e3706fbb275a1cf0bf9acb5cea9166d9bfa1303e895bf32ed90d7f3f8996358f43e047c1d4a53249fa0
|
||||
DIST gnupg-1.3.3.tgz 19141 SHA256 6a20b9bb8567b305a77bc2c5671c3cb28006f337f5f022aff4e2968a2a3eb121 SHA512 ac6c315e7734b9efc82aa18664572dc24977d285cae588e58f5dbe8c7caeb89216f4be3889d18fa9840c69ab201faee058d3e4cd197f977e60fcb0a4fd594ed2 WHIRLPOOL 9f798989856e67ea4792502840a2a33b0b09fc110a2122ed65cc0c7faec363704164dbfd25ded3c704149fe6cff81cb686df0531caf73b4c94cfd55127469d04
|
||||
|
@ -1,2 +1 @@
|
||||
DIST haru-1.0.3.tgz 25941 SHA256 d3f3a57af6e31682f6144f8b4efca5b21a3a130356a0a8fd2174d552ae6d949e SHA512 24341567681ecde096ffd799fb451f8c8b7054a022b80a2e6bcec0d231d448073c3bcb3dfd3cdc687337c03ff755bca24fdf524d89df92d6550206a0b0e1e9a1 WHIRLPOOL 854cec7148cd8b220130d41edad78d0113392117e1b3d8adf03c8cd6786ed9a498a80fb45c99d125e4e50ef10144ef46cfe55befdb1a019e0deffc89f62cd209
|
||||
DIST haru-1.0.4.tgz 27538 SHA256 ab35e25521b486cc35a645727acd59dabfa0a7c85432f863ddad9e3d01a2ac70 SHA512 75cb8ae200cd41372ac738f5a4ed57607e13d538e2c9a46236dc05b7d0283ed4d152478e12fdff81735a4acd914055ebd58ff937ea0ca0a80056f255217b04c0 WHIRLPOOL a7c930847f2ff71abd9068896b650273f38bfb14d9e9a3f0a8724f43d52db669a27d7290398e70a68d146b18b3b664047f8cec40620ae1f202ef435df522a603
|
||||
|
@ -1,30 +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/pecl-haru/pecl-haru-1.0.3.ebuild,v 1.1 2012/02/02 12:16:08 olemarkus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PHP_EXT_NAME="haru"
|
||||
|
||||
USE_PHP="php5-3 php5-4"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
DESCRIPTION="An interface to libharu, a PDF generator"
|
||||
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="png zlib"
|
||||
|
||||
DEPEND="media-libs/libharu[png?,zlib?]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
# config.m4 is broken checking paths, so we need to override it
|
||||
my_conf="--with-haru=/usr"
|
||||
use png && my_conf+=" --with-png-dir=/usr"
|
||||
use zlib && my_conf+=" --with-zlib-dir=/usr"
|
||||
|
||||
php-ext-source-r2_src_configure
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST pecl_http-1.7.4.tgz 174503 SHA256 9006122f45a96754a417fd5afb00a7b6ad1aa125dd2158e56ca1b2d334421e03 SHA512 1382ca21a40b2a899dac3bec7cf7997d06e0e7e927706c827969f645d2ff507020576867ddc7ed21c9c0d04262cb3fef9c8a9f8fabe8f971c85bc2fe3c34961d WHIRLPOOL 03a27d3ee0b3e46956698c10ac9661adf5adc6621ec7a8b56f844d39eeaa532514ea952929c6f9781436d30fb972b055c707d0f98e4a665fddd2221a214547e1
|
||||
DIST pecl_http-1.7.5.tgz 174624 SHA256 6be7648f1c738484b5645ac38b671c93a27e99d9c5dc67331acce056dacf34c1 SHA512 43cd2398897ae6cc2b081ca9729c953680ec665b2dd79ba0af248ff110a99b64478ddba8c20bebacd753624e069a9c1c72ca176cd018052d146bdbd4c39cdcc6 WHIRLPOOL 8ce3b68c69b1d00517853d437b2700cb629b7f61edee2e9107358ad559f0b67c9387e0b745d63dd26719d62cd85d6158b47ad45a046fe2b753ec9e1323bfcc59
|
||||
DIST pecl_http-1.7.6.tgz 174722 SHA256 e87207a7dcd713bef0eb3701b552e0d173fbd73dbd52f9d3968851112e899983 SHA512 e548073e08d106c9ee633dc00c2728845e3a1403c065134a0e8111899b52dacb7175cea836e19da8cf2b7f42fe58c084602003bb79f16d529bc109c39a78bbca WHIRLPOOL 778bd7f1a0bb1698c4a6a8745a40ea5c757ade6cfc027b99bd10f92cc3b111ceb7887a582216c8a303a2ce8edfc90c653b4c055b057691f873c2e3dbd78f740a
|
||||
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-http/pecl-http-1.7.4.ebuild,v 1.4 2014/08/10 21:02:04 slyfox Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PHP_EXT_NAME="http"
|
||||
PHP_EXT_PECL_PKG="pecl_http"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS="docs/examples/tutorial.txt ThanksTo.txt KnownIssues.txt"
|
||||
|
||||
USE_PHP="php5-3 php5-4"
|
||||
|
||||
inherit php-ext-pecl-r2 php-ext-source-r2
|
||||
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
DESCRIPTION="Extended HTTP Support for PHP"
|
||||
LICENSE="BSD-2 MIT"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=net-misc/curl-7.19.4
|
||||
sys-libs/zlib
|
||||
dev-libs/libevent
|
||||
>=dev-lang/php-5[hash,session,iconv]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
my_conf="--enable-http \
|
||||
--with-http-curl-requests \
|
||||
--with-http-zlib-compression \
|
||||
--with-http-curl-libevent \
|
||||
--with-http-magic-mime"
|
||||
|
||||
src_install() {
|
||||
php-ext-pecl-r2_src_install
|
||||
|
||||
php-ext-source-r2_addtoinifiles "http.etag.mode" "MD5"
|
||||
php-ext-source-r2_addtoinifiles "http.force_exit" "1"
|
||||
php-ext-source-r2_addtoinifiles "http.log.allowed_methods" ""
|
||||
php-ext-source-r2_addtoinifiles "http.log.cache" ""
|
||||
php-ext-source-r2_addtoinifiles "http.log.composite" ""
|
||||
php-ext-source-r2_addtoinifiles "http.log.not_found" ""
|
||||
php-ext-source-r2_addtoinifiles "http.log.redirect" ""
|
||||
php-ext-source-r2_addtoinifiles "http.only_exceptions" "0"
|
||||
php-ext-source-r2_addtoinifiles "http.persistent.handles.ident" "GLOBAL"
|
||||
php-ext-source-r2_addtoinifiles "http.persistent.handles.limit" "-1"
|
||||
php-ext-source-r2_addtoinifiles "http.request.datashare.connect" "0"
|
||||
php-ext-source-r2_addtoinifiles "http.request.datashare.cookie" "0"
|
||||
php-ext-source-r2_addtoinifiles "http.request.datashare.dns" "1"
|
||||
php-ext-source-r2_addtoinifiles "http.request.datashare.ssl" "0"
|
||||
php-ext-source-r2_addtoinifiles "http.request.methods.allowed" ""
|
||||
php-ext-source-r2_addtoinifiles "http.request.methods.custom" ""
|
||||
php-ext-source-r2_addtoinifiles "http.send.inflate.start_auto" "0"
|
||||
php-ext-source-r2_addtoinifiles "http.send.inflate.start_flags" "0"
|
||||
php-ext-source-r2_addtoinifiles "http.send.deflate.start_auto" "0"
|
||||
php-ext-source-r2_addtoinifiles "http.send.deflate.start_flags" "0"
|
||||
php-ext-source-r2_addtoinifiles "http.send.not_found_404" "1"
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-http/pecl-http-1.7.6.ebuild,v 1.2 2014/08/10 21:02:03 slyfox Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PHP_EXT_NAME="http"
|
||||
PHP_EXT_PECL_PKG="pecl_http"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS="docs/examples/tutorial.txt ThanksTo.txt KnownIssues.txt"
|
||||
|
||||
USE_PHP="php5-3 php5-4"
|
||||
|
||||
inherit php-ext-pecl-r2 php-ext-source-r2
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="Extended HTTP Support for PHP"
|
||||
LICENSE="BSD-2 MIT"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="net-misc/curl
|
||||
sys-libs/zlib
|
||||
dev-libs/libevent
|
||||
dev-lang/php[hash,session,iconv]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
my_conf="--enable-http \
|
||||
--with-http-curl-requests \
|
||||
--with-http-zlib-compression \
|
||||
--with-http-curl-libevent \
|
||||
--with-http-magic-mime"
|
||||
|
||||
src_install() {
|
||||
php-ext-pecl-r2_src_install
|
||||
|
||||
php-ext-source-r2_addtoinifiles "http.etag.mode" "MD5"
|
||||
php-ext-source-r2_addtoinifiles "http.force_exit" "1"
|
||||
php-ext-source-r2_addtoinifiles "http.log.allowed_methods" ""
|
||||
php-ext-source-r2_addtoinifiles "http.log.cache" ""
|
||||
php-ext-source-r2_addtoinifiles "http.log.composite" ""
|
||||
php-ext-source-r2_addtoinifiles "http.log.not_found" ""
|
||||
php-ext-source-r2_addtoinifiles "http.log.redirect" ""
|
||||
php-ext-source-r2_addtoinifiles "http.only_exceptions" "0"
|
||||
php-ext-source-r2_addtoinifiles "http.persistent.handles.ident" "GLOBAL"
|
||||
php-ext-source-r2_addtoinifiles "http.persistent.handles.limit" "-1"
|
||||
php-ext-source-r2_addtoinifiles "http.request.datashare.connect" "0"
|
||||
php-ext-source-r2_addtoinifiles "http.request.datashare.cookie" "0"
|
||||
php-ext-source-r2_addtoinifiles "http.request.datashare.dns" "1"
|
||||
php-ext-source-r2_addtoinifiles "http.request.datashare.ssl" "0"
|
||||
php-ext-source-r2_addtoinifiles "http.request.methods.allowed" ""
|
||||
php-ext-source-r2_addtoinifiles "http.request.methods.custom" ""
|
||||
php-ext-source-r2_addtoinifiles "http.send.inflate.start_auto" "0"
|
||||
php-ext-source-r2_addtoinifiles "http.send.inflate.start_flags" "0"
|
||||
php-ext-source-r2_addtoinifiles "http.send.deflate.start_auto" "0"
|
||||
php-ext-source-r2_addtoinifiles "http.send.deflate.start_flags" "0"
|
||||
php-ext-source-r2_addtoinifiles "http.send.not_found_404" "1"
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST libevent-0.0.4.tgz 9003 SHA256 f1dc8ff87393040a7b5ef88bd7643ab3d0e84fa8d512c0cbc05cba9794959f50 SHA512 c80ca1c36db488d60bc7721d5580c750a8f8e275e3f5e4b01664af36494e2b61d9fee58ab4f085f055395b8ef375a731dea7b86cf7e259ed0b29f9915c7afafb WHIRLPOOL 9b96e951f58123af4211193fb80fcc5075cc981723a69520e280322ca4c2870ef28ec848955ee237ea02a8339c2e38085bacd03c48995760573574b328c24368
|
||||
DIST libevent-0.1.0.tgz 9806 SHA256 de3d2ce16f5ab8798de1f059143a3367e59608fd12ec3b4b720fc64e4ba93435 SHA512 d49a24dcd9389ffe59e367d7c3b5d6e6cb07b5acc3f9c82cad9cd0fdcebf5feddcd7ec0bbc0c6d9eab450629e446575ce0ed711482557c4bc87cd4c6bc59f995 WHIRLPOOL e1523d10c59978f4f6c9341d7594c7c05a839101b980a75735f66a93831a05582688022183d656f720aad3f2211ef7538c808ad1570bfbd514726fec341c301b
|
||||
|
@ -1,21 +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/pecl-libevent/pecl-libevent-0.0.4.ebuild,v 1.1 2012/02/09 17:25:47 olemarkus Exp $
|
||||
|
||||
EAPI=4
|
||||
PHP_EXT_NAME="libevent"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
|
||||
USE_PHP="php5-3 php5-4"
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="PHP wrapper for libevent"
|
||||
LICENSE="PHP-3"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-libs/libevent-1.4.0"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-libevent/pecl-libevent-0.1.0.ebuild,v 1.1 2013/07/03 21:22:42 mabi Exp $
|
||||
|
||||
EAPI=4
|
||||
PHP_EXT_NAME="libevent"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
|
||||
USE_PHP="php5-3 php5-4"
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="PHP wrapper for libevent"
|
||||
LICENSE="PHP-3"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-libs/libevent-1.4.0"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-mailparse/pecl-mailparse-2.1.6.ebuild,v 1.7 2014/08/10 21:02:39 slyfox Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PHP_EXT_NAME="mailparse"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS="README"
|
||||
|
||||
USE_PHP="php5-3 php5-4"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
KEYWORDS="amd64 ppc ppc64 x86"
|
||||
|
||||
DESCRIPTION="A PHP extension for parsing and working with RFC822 and RFC2045 (MIME) compliant messages"
|
||||
LICENSE="PHP-2.02"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/php[unicode]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/re2c"
|
@ -1,2 +1,2 @@
|
||||
DIST mongo-1.5.1.tgz 188885 SHA256 883aad17c44e8f053b10c8e31d7ff6487d5b5660ea8bd17a7b62976e988c4ea4 SHA512 980f413280766dc3d947f91675e031e0fa4aa980f8b68c0b48388ceaadc1bda773b3126bd4f2cb72399522f4260e9a47338583337a0c48befc22a9228c11357e WHIRLPOOL 4043ac652b04ed7ff45b1855e07eaaeb6a574d92707cb866e60fdfb8285e9343c1fdd7b26fc495deae57b0269dd07f77271699b87c19370c739c126e96215e64
|
||||
DIST mongo-1.5.4.tgz 191364 SHA256 19d01417f0c96c10fb9149fc6cb5cc9c1f096e9c6fa31ee4c454f229e33dbd30 SHA512 509eb4f9dc0fd7617ec2f7616b1511266b91b804c0ec04ef5dcfbb9b1a77ec6e9acc3108dfe6b2607f4e97f6091dc2f94456900dcd7e64c85e2f754aafb65c05 WHIRLPOOL 4807844725f6221d130ec30c3ab47fc9da25286ce039568c58332d63412a73a663cb713dd346095acc5d6c539ac0e6c0cdbae80ad6582ef1473a5dc23fa24edf
|
||||
DIST mongo-1.5.6.tgz 193219 SHA256 939231c5129176f5f00ba6275dd34b261e173675b1e81a5fa536a14d05b12b11 SHA512 588915079ea08631ef60fce26bd86a0596003900b75c11af7935e57aa418220e21197aff4617f79808a5ee2bc0d74aba031f54f05be4604c6fc94ce146823c10 WHIRLPOOL c1c922750fa272cc2565d2377b65f5e25b2cb9e55f19abe94c34661e93d62b4162a8a18ef53b71b4c8e653778cc0d837930819b8ed79c6bbfd9690b35801f550
|
||||
|
@ -1,12 +1,12 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-mongo/pecl-mongo-1.5.1.ebuild,v 1.1 2014/05/03 13:55:14 olemarkus Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-mongo/pecl-mongo-1.5.6.ebuild,v 1.1 2014/09/30 14:47:24 grknight Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PHP_EXT_NAME="mongo"
|
||||
|
||||
USE_PHP="php5-5 php5-4"
|
||||
USE_PHP="php5-6 php5-5 php5-4"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
@ -1,2 +1 @@
|
||||
DIST mysqlnd_ms-1.4.1.tgz 354499 SHA256 b55e87daf1023dd82c6c6b48faf0ddf85467141a671fb48dc568f97fe2f695ce SHA512 c00a67f873c1faf3c02af09704450c8b50eeaa624ef1a93939c764dadc34b9ffcae37b5dc671e8d1bbfc8d637d088d60ea52077fd646b56695672c27a5c96173 WHIRLPOOL 02f07e6701f360591d6cd061ee5310ac1b19cec7402bcf86cd1b198f0edf516f95f72116d8a79b21ee2dc1295eb613d07182a6066f349144ff2fb76d9c0d23e2
|
||||
DIST mysqlnd_ms-1.5.2.tgz 385916 SHA256 22b9ba1afb36b3df11c1051c813bc07889c815d1d9993bb07ffda182665b472f SHA512 5ab888d683384e9d2b33df8d057cf438411b6506759a80b8bad79608bb4029abf77535ffc8472e8e478d5d456c2260b5dd4bc68396180a9ebfed45f90bdc8d7d WHIRLPOOL 6d3d8786c74d4dfac384af3ea9f0cd8664e99aeaa766806ef8319c955135ab57092c2db27ef615def5574ab05c5a8a4e8e1f7bff9888a4cd3b3fc660c623fbe0
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-mysqlnd_ms/pecl-mysqlnd_ms-1.4.1.ebuild,v 1.2 2014/08/10 21:02:56 slyfox Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PHP_EXT_NAME="mysqlnd_ms"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
|
||||
USE_PHP="php5-3 php5-4"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="A replication and load balancing plugin for the mysqlnd library"
|
||||
LICENSE="PHP-3"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-lang/php[mysqlnd]"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,2 +1 @@
|
||||
DIST ncurses-1.0.1.tgz 16045 SHA256 b1f1569803f58f7231b8342dce528780ac2dd959185366cc650988fe4b0dfc86 SHA512 21febd2af1494d360389d2e0a5dc37f89e0e969aba89586f20f25d5d19a0113befa9e5b60369fa15bc6565d0c6413e0db2293978f93ad6c67b1f5aa6e7bd9ded WHIRLPOOL c6302156fa9165339f1d06ef35d0624a7731861e0f257e9401f63db09d0cf47ee90bf8177818f60603763c51dbf66c227f46590e31c36a3a2376643919ac8746
|
||||
DIST ncurses-1.0.2.tgz 16226 SHA256 7fa4998d06a00a094276e5283fd6a408cbf78cd2d3b889fe6ab51be3780c9063 SHA512 e1f684dcab2aa4dd3fded79fed02c78de1525f0384027fe64ad08759617f13ca6fb11742e3407723eecc431ed99847c0c98ae559797dc98ce373a01ba8413bf2 WHIRLPOOL 31cb413b229b6b82b506ee24bc124272fad742567c66574013feb4006af7523aff5a68aae32e8091f62297befb5aa1cc7af199ca66567a9262d0388323830ec4
|
||||
|
@ -1,19 +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/pecl-ncurses/pecl-ncurses-1.0.1.ebuild,v 1.1 2012/01/22 00:05:02 mabi Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
DESCRIPTION="Terminal screen handling and optimization package"
|
||||
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="sys-libs/ncurses"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
my_conf="--enable-ncursesw"
|
@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-ncurses/pecl-ncurses-1.0.2.ebuild,v 1.1 2014/01/04 19:28:51 mabi Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-ncurses/pecl-ncurses-1.0.2-r1.ebuild,v 1.1 2014/09/30 20:38:49 grknight Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_PHP="php5-3 php5-4 php5-5"
|
||||
USE_PHP="php5-6 php5-5 php5-4"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
@ -1,2 +1 @@
|
||||
DIST oauth-1.2.2.tgz 45348 SHA256 d7214db79e81387110dd2a96c9d2bbeac2eec4cb3394518d0edc54946ecd12e9 SHA512 b6bd6576473aeec1fbcc48f7db441179140e66d7bac1ff0a084cbd620b3e5d5f9099a6dbc2bba36d61649f553e51866331589aeae7adf016af8778bb51559435 WHIRLPOOL 61d44a004288725a445a2c6bf12f7d05952e9bf56af38596940ffa98efaf464eb7a559005d283e852fc2ecfa54fbebcde1dea277623e1aa370e883a74bf26eb6
|
||||
DIST oauth-1.2.3.tgz 45531 SHA256 86bb5ee37afe672d4532ad784c7f711855c79f0dabf0acacafd5344ab6cf0195 SHA512 ca61dbec8fa51679accb31eab90b8699c7780f2d60a83566ce05667148ee44b7dc70fd8235414d6a3a996b252ad4a236b3e8a549685fd7e890e0874029c455e1 WHIRLPOOL 20969ea78c25152ac8e32d0c726bd112bdc5cb2b8d2fc59401d2c43f3d8990ed51702235afb07f0b8af604a5cf7264661caff1a8fc6bc7db25e71d682583a69c
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-oauth/pecl-oauth-1.2.2-r1.ebuild,v 1.2 2013/03/28 12:15:30 olemarkus Exp $
|
||||
|
||||
EAPI="4"
|
||||
PHP_EXT_NAME="oauth"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS="README"
|
||||
|
||||
USE_PHP="php5-5 php5-3 php5-4"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="OAuth is an authorization protocol built on top of HTTP"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-lang/php[hash]"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,2 +1,2 @@
|
||||
DIST rrd-1.0.5.tgz 18676 SHA256 f336a0a56963e0c6a34e335401483f84adde4c09fd6fbe8fe1a4c74596dc4eab SHA512 6e1b1d42e3cabb141052b10547f00b4c2de69518769aa661429cf59f424063ec68416a5f41f10cb4e8a9c079aa1dbc2743750db469acf35b0a37a146273f858b WHIRLPOOL 0b8727f42fcbec38b37d93291e37ab8b9660b111b627342b20de1e96ecd5fcc42073855fd4dca1aef247092054dc13193c01113ede8623e45afadebdaac9e22f
|
||||
DIST rrd-1.1.0.tgz 18639 SHA256 3c31c9e07da55a57978a1e2801051ebfcad4a35fd1664e9bea63ecdfca0fcfdb SHA512 5d6887fbe5e9f5589ab3876ecb187159b10727f4cd64d4aaaf98442c737aaa9e43394d7795b1eb06d62dc253bb98d4c40ab37520ccf54850b3306ef14225619a WHIRLPOOL 4a7fab06d295cc4f0ebe96cd5bf68b12a889bd0048619ea9ad82639cb3ad08f4a9046102a164cd9c812f6e1c709998d4366fc94f2cb88ea465eac1c1769ebf0c
|
||||
DIST rrd-1.1.3.tgz 19229 SHA256 0415ac51e09fe2e7a999d155d10d6af42ddf40ab0b4847a63ed1f9458533858e SHA512 356264de1b967af0f78e25e3c0afcbec704dd3e49d828e08d21d744d5fcdc46f4cd7f7c118b4e283c20bcaf2a4c29e0ac9437c7f66ca0d260a76fddf7b9d3242 WHIRLPOOL dbb3317985e47130ee03c4ba6284428d38e25849a8da9a3ada2437f4e5b276e79a104131a64aad0e244fe5b63d5d310d81bbbb090517efcd3b8a6e18992c1d6f
|
||||
|
@ -1,9 +1,11 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-rrd/pecl-rrd-1.0.5.ebuild,v 1.3 2014/07/15 14:49:41 jer Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-rrd/pecl-rrd-1.1.3.ebuild,v 1.1 2014/09/30 23:15:52 grknight Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_PHP="php5-6 php5-5 php5-4"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
@ -1,2 +1 @@
|
||||
DIST sphinx-1.2.0.tgz 13392 SHA256 5e6ba4111500749bd80c78c8b3cdb85757b0614e2761032ca4b1795913293a43 SHA512 f5a9c397e2a8141bb99c123d1729f0bd53f036a23f2da852f5799d624bd503e70b346148e6068d8575516a595491da59745e9b9bfeebdf1a83dd8a019cf47a37 WHIRLPOOL 5314289df57efbe6e25d11b7e56f561715a36589982610ac344dfc037ab4def3a2627a9c168856d5754ef976576087c6ed6a2e58eab0d424e659705324d08a9d
|
||||
DIST sphinx-1.3.0.tgz 13630 SHA256 4a4438257679c99beaeab5ae087cb2717ec8ee0a2be11f177473c7d82c3d47d5 SHA512 030a32e892ee1d015a0dfb7722cf7898aea9281d82736eecbc3364e97d84404dbabf0ec1df181f98e4dcfec838c8384f1555d4e4eb96b568e0019e8da8dbb9b4 WHIRLPOOL ab2f3f2b6b6eb0d66a9f2b409375e38a589a48c8f9a5686f9698288ec414abdc44fb3525f7775e64d79856d30271ae35e1a3e23d69dbf69e97787f63526fc204
|
||||
DIST sphinx-1.3.2.tgz 15282 SHA256 0c3ada36833a44a8147d2dd1b907548010ae53de0a05041a77e68dee036130e6 SHA512 bcfe4aa5ea4ac4b3fb14f78114c1c55645148c5e599a9757d3a575b2a61d44287a98da6527f3eee1567ce2b6ae4451680b9ef5e5754bae925d905715c5e61c85 WHIRLPOOL 52dce1e14834bbafe48d2e48f7c058aa4bc0487385c611f8a5c112a54ca62e135b6e883cd9e6367222dd3d3522be24bff6a40e86bb9b845c43607e37919486d2
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-sphinx/pecl-sphinx-1.3.0.ebuild,v 1.1 2013/10/22 14:10:56 olemarkus Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PHP_EXT_NAME="sphinx"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
|
||||
USE_PHP="php5-5 php5-4"
|
||||
|
||||
DOCS="README ChangeLog"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="PHP extension to execute search queries on a sphinx daemon"
|
||||
LICENSE="PHP-3"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/re2c-0.13"
|
||||
RDEPEND="app-misc/sphinx"
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-syck/pecl-syck-0.9.3-r3.ebuild,v 1.1 2014/09/30 23:32:34 grknight Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PHP_EXT_NAME="syck"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS="CHANGELOG TODO"
|
||||
|
||||
USE_PHP="php5-6 php5-5 php5-4"
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
|
||||
DESCRIPTION="PHP bindings for Syck - reads and writes YAML with it"
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/syck
|
||||
>=dev-lang/php-5.3.1[hash]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
local slot
|
||||
for slot in $(php_get_slots); do
|
||||
php_init_slot_env ${slot}
|
||||
epatch "${FILESDIR}"/fix-php-5-4-support.patch
|
||||
done
|
||||
php-ext-source-r2_src_prepare
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST taint-0.5.3.tgz 15076 SHA256 2066ad239b8eb019a79127aab747f0ce55ba3e0a45f3f22fad875cd7b34ee05b SHA512 7c9d9ea62d8f4c36c37ea354b07e1d3fd946e5b85212536001592b93759cef05841d68a2911d00388604b6546409ced3c5e2885447f15e19154525bdb931c36b WHIRLPOOL 38418e298092683612a964296d21246b5b3fe6c42c3045fb0a5c36fe67998f5533d5ba715e9eac70ae283bd899ce0d8543167cd2732c0de9f1b329f960a25986
|
||||
DIST taint-1.2.2.tgz 19949 SHA256 ea38bfeb20c1ae46477db4bd5ae1ddf97b7b75abfba8c624e44dfb73643ad9ca SHA512 8c533320ad8d22fcec541b6c25c214f0b90a46889d840253f20378124e1492c9458a798cbb5752f17bb90994fcba3791dd3eb8f5ff7497f4194e84b50d6bbc4d WHIRLPOOL 7b7f20f9b8f66608b03a6b7484e0ccb6efd5e5784a4498e95307b8eb6dea0c3a413583ea05890010479c4136ae2e60857eb384096c6a984b839cbd3492f4df85
|
||||
|
@ -1,10 +1,11 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-taint/pecl-taint-0.5.3.ebuild,v 1.1 2012/05/08 08:58:28 olemarkus Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-taint/pecl-taint-1.2.2-r1.ebuild,v 1.1 2014/09/30 23:45:58 grknight Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
USE_PHP="php5-3 php5-4"
|
||||
# Fails to build with php5-5 and php5-6
|
||||
USE_PHP="php5-4"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-taint/pecl-taint-1.2.2.ebuild,v 1.1 2013/07/03 21:07:14 mabi Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_PHP="php5-3 php5-4"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
DESCRIPTION="Extension used for detecting XSS codes(tainted string)"
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
pkg_postinst() {
|
||||
elog 'In order to enable this extension, add'
|
||||
elog ' taint.enable=1'
|
||||
elog 'to /etc/php/<sapi>-<slot>/ext/taint.ini'
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-uploadprogress/pecl-uploadprogress-1.0.3.1.ebuild,v 1.3 2014/08/10 21:04:13 slyfox Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_PHP="php5-3 php5-4"
|
||||
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
DESCRIPTION="An extension to track progress of a file upload"
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/php[apache2]"
|
||||
|
||||
pkg_postinst() {
|
||||
elog "This extension is only known to work on Apache with mod_php."
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST xhprof-0.9.2.tgz 931660 SHA256 5359ea0a1e16ec6c100dd7adb7285bdcc0f931e0b61631ea364f8b06925ea729 SHA512 4884e1a0b99c3c7222f3ef980f6585bcc91f209187e83f3ccf674ead181481219d571aaa3c47700b0d6bda6cace815935c3708146a429b60de912604c271d3bd WHIRLPOOL 486b8f4b3c59e24519430b39252491dbd32ecf969ca5d1cc48d416074182cd5b91e2db7ce0b24c34b3d37ff285527c8ce7334f4f1d1496a75b21fb20d9039847
|
||||
DIST xhprof-0.9.3.tgz 841836 SHA256 422c5269de3e3ff281f010584768b7753ceec6a9f4f858a8e171ec43358dbbf3 SHA512 8a603cf831aebca7e482098b0e16d2737f586570f7e05adc9e2719b019d7fa814273ca30336ab306d545e7d59e8983cd850ee20cde7a524b468555cba06faf20 WHIRLPOOL 4918b26c9e6842518527f7dd318a294ab5452740fb3ef08aff0b45e01928448c08e3a724be0d1e8158eb578a83d8f2cef2c75bb6a4616182c2ab72e99c2d49c3
|
||||
DIST xhprof-0.9.4.tgz 842077 SHA256 002a2d4a825d16aeb3017c59f94d8c5e5d06611dd6197acd2f07fce197d3b8f8 SHA512 25de7b69cef9b5b468eba1b4151e53f721c1b1437eb5a63a99da996857b77052513cf13c27d4f9034e8eff558b9bd8941ce8bd7ce824087636f5e000f3a647ff WHIRLPOOL 670a36c54850e8307e032fefa732d5fdb91692de45f55ab47495286b2fa0bd5aacc7fc4ba7070d4b2703536c34e1ef334f51935f3136034704f749a68ba61ade
|
||||
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/xhprof/xhprof-0.9.2.ebuild,v 1.3 2013/03/05 10:09:34 olemarkus Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PHP_EXT_S="${WORKDIR}/${P}/extension"
|
||||
inherit php-ext-pecl-r2
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
HOMEPAGE="http://pecl.php.net/package/xhprof"
|
||||
DESCRIPTION="A Hierarchical Profiler for PHP"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
dev-lang/php
|
||||
"
|
@ -1,3 +1,4 @@
|
||||
DIST futures-2.1.4-20130706.tar.gz 37132 SHA256 1ce7feba60c2ea7f9930289a6224167eb9e0f89801b69dacb0bf6ef020622931 SHA512 e18a3e9316ad6a255af30197b39f1820e7753b5f56ea9c4b39de340d4f3bc8288b6f08650345a95db9afbeb2c21bd0aad41b828af5d653d037a80470cff1164b WHIRLPOOL a920dfd69743eb683933c224291fef28c8c9c610030b409037114d95eb58e2ecd058a8f6e89d9a6814a49ccd632d80e69ca5b7441d9c36b7d7b903760f70ced2
|
||||
DIST futures-2.1.5.tar.gz 25962 SHA256 735b751d66ad20071adf32f7399f6f177f3b46ff1879884a294546cec1d5782f SHA512 d457b0d5635ba4295481127f1fd0d6197c83d217bb2abdb1bf50b96fbdfce1c7499d64a052c39d30d4bf50ec822e1c34b7722d88b4c542e42a6d7ddfa96d66b5 WHIRLPOOL 548fe56a24e67a0fa547e284b34dc1058e8174fc02ffed1e463b1e5c28c7ad3ab30587515dd3871a39945eec711497116be4970a86681de64a7b9991401d3149
|
||||
DIST futures-2.1.6.tar.gz 26445 SHA256 33f39102b631fa0a030b24c4341ba1f48558e435946d6735d47fe1f739d757c4 SHA512 1563dcfbcdcfe02a5b3d955d88f91a76e802292ab603acde8962a5f7562b3f4a4534e01217eb1d82a5368c98364abf34d2cd899b093594905e071c31ed1d4a34 WHIRLPOOL 88b0e14f9039944b0bdb6516155e4a715f797a2836f923776a3e2834190ca4ba7596ff82db596a6024b3edb033378a0361a54adaf6f4b8fe48ef409956cb7fad
|
||||
DIST futures-2.2.0.tar.gz 26786 SHA256 151c057173474a3a40f897165951c0e33ad04f37de65b6de547ddef107fd0ed3 SHA512 5f2a835b4b3f6bf1c4f086984a2e1d6ab30004b9af9298ef8afb23549014695ba26b43500dad3ee873e52aacd75911a42cd4ec9dfae6522cb99476a480dc83ee WHIRLPOOL 5c38f64759d0f2a15a536e8a5cb5c7473ce61d46242fc0c0bc737dfe91ce9b6573c1291a6f305953b96cd6298e1e41f7e27b45a2f0c2647315826ad9a1246ccd
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue