parent
797dd81b69
commit
39a37ac7cb
@ -0,0 +1,303 @@
|
||||
diff -ru syslog-ng-3.4.1/contrib/systemd/syslog-ng.service syslog-ng-3.4-master/contrib/systemd/syslog-ng.service
|
||||
--- syslog-ng-3.4.1/contrib/systemd/syslog-ng.service 2013-01-06 15:38:58.000000000 -0500
|
||||
+++ syslog-ng-3.4-master/contrib/systemd/syslog-ng.service 2013-04-16 10:11:23.000000000 -0400
|
||||
@@ -7,6 +7,7 @@
|
||||
ExecStart=/usr/sbin/syslog-ng -F
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
StandardOutput=null
|
||||
+Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
diff -ru syslog-ng-3.4.1/lib/cfg-tree.c syslog-ng-3.4-master/lib/cfg-tree.c
|
||||
--- syslog-ng-3.4.1/lib/cfg-tree.c 2013-01-06 15:40:30.000000000 -0500
|
||||
+++ syslog-ng-3.4-master/lib/cfg-tree.c 2013-04-16 10:11:23.000000000 -0400
|
||||
@@ -588,6 +588,22 @@
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
+static void
|
||||
+cfg_tree_propagate_expr_node_properties_to_pipe(LogExprNode *node, LogPipe *pipe)
|
||||
+{
|
||||
+ if (node->flags & LC_FALLBACK)
|
||||
+ pipe->flags |= PIF_BRANCH_FALLBACK;
|
||||
+
|
||||
+ if (node->flags & LC_FINAL)
|
||||
+ pipe->flags |= PIF_BRANCH_FINAL;
|
||||
+
|
||||
+ if (node->flags & LC_FLOW_CONTROL)
|
||||
+ pipe->flags |= PIF_HARD_FLOW_CONTROL;
|
||||
+
|
||||
+ if (!pipe->expr_node)
|
||||
+ pipe->expr_node = node;
|
||||
+}
|
||||
+
|
||||
/**
|
||||
* cfg_tree_compile_sequence:
|
||||
*
|
||||
@@ -713,10 +729,6 @@
|
||||
{
|
||||
source_join_pipe = last_pipe = log_pipe_new();
|
||||
g_ptr_array_add(self->initialized_pipes, source_join_pipe);
|
||||
-
|
||||
- source_join_pipe->expr_node = node;
|
||||
- if (node->flags & LC_FLOW_CONTROL)
|
||||
- source_join_pipe->flags |= PIF_HARD_FLOW_CONTROL;
|
||||
}
|
||||
log_pipe_append(sub_pipe_tail, source_join_pipe);
|
||||
}
|
||||
@@ -724,16 +736,13 @@
|
||||
|
||||
if (first_pipe)
|
||||
{
|
||||
- if (node->flags & LC_FALLBACK)
|
||||
- first_pipe->flags |= PIF_BRANCH_FALLBACK;
|
||||
-
|
||||
- if (node->flags & LC_FINAL)
|
||||
- first_pipe->flags |= PIF_BRANCH_FINAL;
|
||||
-
|
||||
- if (node->flags & LC_FLOW_CONTROL)
|
||||
- first_pipe->flags |= PIF_HARD_FLOW_CONTROL;
|
||||
- if (!first_pipe->expr_node)
|
||||
- first_pipe->expr_node = node;
|
||||
+ /* we actually return something as sub_pipe_head, which means that we
|
||||
+ * have to propagate flags upwards */
|
||||
+ cfg_tree_propagate_expr_node_properties_to_pipe(node, first_pipe);
|
||||
+ }
|
||||
+ else if (last_pipe)
|
||||
+ {
|
||||
+ cfg_tree_propagate_expr_node_properties_to_pipe(node, last_pipe);
|
||||
}
|
||||
|
||||
|
||||
diff -ru syslog-ng-3.4.1/lib/control.c syslog-ng-3.4-master/lib/control.c
|
||||
--- syslog-ng-3.4.1/lib/control.c 2013-01-06 15:40:30.000000000 -0500
|
||||
+++ syslog-ng-3.4-master/lib/control.c 2013-04-16 10:11:23.000000000 -0400
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
- * Copyright (c) 2002-2012 BalaBit IT Ltd, Budapest, Hungary
|
||||
+ * Copyright (c) 2002-2013 BalaBit IT Ltd, Budapest, Hungary
|
||||
* Copyright (c) 1998-2012 Balázs Scheidler
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
@@ -208,8 +208,8 @@
|
||||
}
|
||||
else if (rc == 0)
|
||||
{
|
||||
- msg_error("EOF on control channel, closing connection",
|
||||
- NULL);
|
||||
+ msg_notice("EOF on control channel, closing connection",
|
||||
+ NULL);
|
||||
goto destroy_connection;
|
||||
}
|
||||
else
|
||||
diff -ru syslog-ng-3.4.1/lib/filter.c syslog-ng-3.4-master/lib/filter.c
|
||||
--- syslog-ng-3.4.1/lib/filter.c 2013-01-06 15:40:30.000000000 -0500
|
||||
+++ syslog-ng-3.4-master/lib/filter.c 2013-04-16 10:11:23.000000000 -0400
|
||||
@@ -46,6 +46,12 @@
|
||||
self->ref_cnt = 1;
|
||||
}
|
||||
|
||||
+/*
|
||||
+ * In case the filter would modify the message the caller has to make sure
|
||||
+ * that the message is writable. You can always archieve that with
|
||||
+ * filter_expr_eval_root() below, but you have to be on a processing path to
|
||||
+ * do that.
|
||||
+ */
|
||||
gboolean
|
||||
filter_expr_eval_with_context(FilterExprNode *self, LogMessage **msg, gint num_msg)
|
||||
{
|
||||
@@ -65,6 +71,21 @@
|
||||
return filter_expr_eval_with_context(self, &msg, 1);
|
||||
}
|
||||
|
||||
+gboolean
|
||||
+filter_expr_eval_root_with_context(FilterExprNode *self, LogMessage **msg, gint num_msg, const LogPathOptions *path_options)
|
||||
+{
|
||||
+ if (self->modify)
|
||||
+ log_msg_make_writable(&msg[0], path_options);
|
||||
+
|
||||
+ return filter_expr_eval_with_context(self, msg, num_msg);
|
||||
+}
|
||||
+
|
||||
+gboolean
|
||||
+filter_expr_eval_root(FilterExprNode *self, LogMessage **msg, const LogPathOptions *path_options)
|
||||
+{
|
||||
+ return filter_expr_eval_root_with_context(self, msg, 1, path_options);
|
||||
+}
|
||||
+
|
||||
FilterExprNode *
|
||||
filter_expr_ref(FilterExprNode *self)
|
||||
{
|
||||
@@ -98,6 +119,7 @@
|
||||
self->left->init(self->left, cfg);
|
||||
if (self->right && self->right->init)
|
||||
self->right->init(self->right, cfg);
|
||||
+ self->super.modify = self->left->modify || self->right->modify;
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -132,7 +154,6 @@
|
||||
|
||||
fop_init_instance(self);
|
||||
self->super.eval = fop_or_eval;
|
||||
- self->super.modify = e1->modify || e2->modify;
|
||||
self->left = e1;
|
||||
self->right = e2;
|
||||
self->super.type = "OR";
|
||||
@@ -154,7 +175,6 @@
|
||||
|
||||
fop_init_instance(self);
|
||||
self->super.eval = fop_and_eval;
|
||||
- self->super.modify = e1->modify || e2->modify;
|
||||
self->left = e1;
|
||||
self->right = e2;
|
||||
self->super.type = "AND";
|
||||
@@ -509,6 +529,7 @@
|
||||
|
||||
|
||||
self->filter_expr = ((LogFilterPipe *) rule->children->object)->expr;
|
||||
+ self->super.modify = self->filter_expr->modify;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -699,10 +720,8 @@
|
||||
evt_tag_str("rule", self->name),
|
||||
evt_tag_str("location", log_expr_node_format_location(s->expr_node, buf, sizeof(buf))),
|
||||
NULL);
|
||||
- if (self->expr->modify)
|
||||
- log_msg_make_writable(&msg, path_options);
|
||||
|
||||
- res = filter_expr_eval(self->expr, msg);
|
||||
+ res = filter_expr_eval_root(self->expr, &msg, path_options);
|
||||
msg_debug("Filter rule evaluation result",
|
||||
evt_tag_str("result", res ? "match" : "not-match"),
|
||||
evt_tag_str("rule", self->name),
|
||||
diff -ru syslog-ng-3.4.1/lib/filter.h syslog-ng-3.4-master/lib/filter.h
|
||||
--- syslog-ng-3.4.1/lib/filter.h 2013-01-06 15:40:30.000000000 -0500
|
||||
+++ syslog-ng-3.4-master/lib/filter.h 2013-04-16 10:11:23.000000000 -0400
|
||||
@@ -48,6 +48,8 @@
|
||||
|
||||
gboolean filter_expr_eval(FilterExprNode *self, LogMessage *msg);
|
||||
gboolean filter_expr_eval_with_context(FilterExprNode *self, LogMessage **msgs, gint num_msg);
|
||||
+gboolean filter_expr_eval_root(FilterExprNode *self, LogMessage **msg, const LogPathOptions *path_options);
|
||||
+gboolean filter_expr_eval_root_with_context(FilterExprNode *self, LogMessage **msgs, gint num_msg, const LogPathOptions *path_options);
|
||||
void filter_expr_unref(FilterExprNode *self);
|
||||
|
||||
typedef struct _FilterRE
|
||||
diff -ru syslog-ng-3.4.1/lib/logmpx.c syslog-ng-3.4-master/lib/logmpx.c
|
||||
--- syslog-ng-3.4.1/lib/logmpx.c 2013-01-06 15:40:30.000000000 -0500
|
||||
+++ syslog-ng-3.4-master/lib/logmpx.c 2013-04-16 10:11:23.000000000 -0400
|
||||
@@ -39,9 +39,15 @@
|
||||
|
||||
for (i = 0; i < self->next_hops->len; i++)
|
||||
{
|
||||
- LogPipe *next_hop = g_ptr_array_index(self->next_hops, i);
|
||||
+ LogPipe *branch_head = g_ptr_array_index(self->next_hops, i);
|
||||
+ LogPipe *p;
|
||||
+
|
||||
+ for (p = branch_head; p; p = p->pipe_next)
|
||||
+ {
|
||||
+ branch_head->flags |= (p->flags & PIF_BRANCH_PROPERTIES);
|
||||
+ }
|
||||
|
||||
- if ((next_hop->flags & PIF_BRANCH_FALLBACK) != 0)
|
||||
+ if (branch_head->flags & PIF_BRANCH_FALLBACK)
|
||||
{
|
||||
self->fallback_exists = TRUE;
|
||||
}
|
||||
diff -ru syslog-ng-3.4.1/lib/logmsg.h syslog-ng-3.4-master/lib/logmsg.h
|
||||
--- syslog-ng-3.4.1/lib/logmsg.h 2013-01-06 15:40:30.000000000 -0500
|
||||
+++ syslog-ng-3.4-master/lib/logmsg.h 2013-04-16 10:11:23.000000000 -0400
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
- * Copyright (c) 2002-2012 BalaBit IT Ltd, Budapest, Hungary
|
||||
- * Copyright (c) 1998-2012 Balázs Scheidler
|
||||
+ * Copyright (c) 2002-2013 BalaBit IT Ltd, Budapest, Hungary
|
||||
+ * Copyright (c) 1998-2013 Balázs Scheidler
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
@@ -203,6 +203,12 @@
|
||||
gboolean log_msg_is_handle_sdata(NVHandle handle);
|
||||
gboolean log_msg_is_handle_match(NVHandle handle);
|
||||
|
||||
+static inline gboolean
|
||||
+log_msg_is_handle_settable_with_an_indirect_value(NVHandle handle)
|
||||
+{
|
||||
+ return (handle >= LM_V_MAX);
|
||||
+}
|
||||
+
|
||||
const gchar *log_msg_get_macro_value(LogMessage *self, gint id, gssize *value_len);
|
||||
|
||||
static inline const gchar *
|
||||
diff -ru syslog-ng-3.4.1/lib/logpipe.h syslog-ng-3.4-master/lib/logpipe.h
|
||||
--- syslog-ng-3.4.1/lib/logpipe.h 2013-01-06 15:40:30.000000000 -0500
|
||||
+++ syslog-ng-3.4-master/lib/logpipe.h 2013-04-16 10:11:23.000000000 -0400
|
||||
@@ -47,6 +47,7 @@
|
||||
/* log statement flags that are copied to the head of a branch */
|
||||
#define PIF_BRANCH_FINAL 0x0004
|
||||
#define PIF_BRANCH_FALLBACK 0x0008
|
||||
+#define PIF_BRANCH_PROPERTIES (PIF_BRANCH_FINAL + PIF_BRANCH_FALLBACK)
|
||||
|
||||
/* branch starting with this pipe wants hard flow control */
|
||||
#define PIF_HARD_FLOW_CONTROL 0x0010
|
||||
diff -ru syslog-ng-3.4.1/lib/logrewrite.c syslog-ng-3.4-master/lib/logrewrite.c
|
||||
--- syslog-ng-3.4.1/lib/logrewrite.c 2013-01-31 01:58:05.000000000 -0500
|
||||
+++ syslog-ng-3.4-master/lib/logrewrite.c 2013-04-16 10:11:23.000000000 -0400
|
||||
@@ -45,7 +45,7 @@
|
||||
gssize length;
|
||||
const gchar *value;
|
||||
|
||||
- if (self->condition && !filter_expr_eval(self->condition, msg))
|
||||
+ if (self->condition && !filter_expr_eval_root(self->condition, &msg, path_options))
|
||||
{
|
||||
msg_debug("Rewrite condition unmatched, skipping rewrite",
|
||||
evt_tag_str("value", log_msg_get_value_name(self->value_handle, NULL)),
|
||||
diff -ru syslog-ng-3.4.1/lib/persist-state.c syslog-ng-3.4-master/lib/persist-state.c
|
||||
--- syslog-ng-3.4.1/lib/persist-state.c 2013-01-06 15:40:30.000000000 -0500
|
||||
+++ syslog-ng-3.4-master/lib/persist-state.c 2013-04-28 00:43:29.703864600 -0400
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "serialize.h"
|
||||
#include "messages.h"
|
||||
#include "mainloop.h"
|
||||
+#include "misc.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
@@ -218,6 +219,7 @@
|
||||
NULL);
|
||||
return FALSE;
|
||||
}
|
||||
+ g_fd_set_cloexec(self->fd, TRUE);
|
||||
self->current_key_block = offsetof(PersistFileHeader, initial_key_store);
|
||||
self->current_key_ofs = 0;
|
||||
self->current_key_size = sizeof((((PersistFileHeader *) NULL))->initial_key_store);
|
||||
diff -ru syslog-ng-3.4.1/modules/dbparser/patterndb.c syslog-ng-3.4-master/modules/dbparser/patterndb.c
|
||||
--- syslog-ng-3.4.1/modules/dbparser/patterndb.c 2013-01-17 06:43:50.000000000 -0500
|
||||
+++ syslog-ng-3.4-master/modules/dbparser/patterndb.c 2013-04-16 10:11:23.000000000 -0400
|
||||
@@ -1302,7 +1302,7 @@
|
||||
log_msg_set_value(msg, match->handle, match->match, match->len);
|
||||
g_free(match->match);
|
||||
}
|
||||
- else if (ref_handle != LM_V_NONE)
|
||||
+ else if (ref_handle != LM_V_NONE && log_msg_is_handle_settable_with_an_indirect_value(match->handle))
|
||||
{
|
||||
log_msg_set_value_indirect(msg, match->handle, ref_handle, match->type, match->ofs, match->len);
|
||||
}
|
||||
diff -ru syslog-ng-3.4.1/tests/loggen/loggen.c syslog-ng-3.4-master/tests/loggen/loggen.c
|
||||
--- syslog-ng-3.4.1/tests/loggen/loggen.c 2013-01-06 15:38:59.000000000 -0500
|
||||
+++ syslog-ng-3.4-master/tests/loggen/loggen.c 2013-04-16 10:11:23.000000000 -0400
|
||||
@@ -847,6 +847,12 @@
|
||||
{
|
||||
static struct sockaddr_un saun;
|
||||
|
||||
+ if (argc < 1)
|
||||
+ {
|
||||
+ fprintf(stderr, "No target path specified\n");
|
||||
+ return 1;
|
||||
+ }
|
||||
+
|
||||
saun.sun_family = AF_UNIX;
|
||||
strncpy(saun.sun_path, argv[0], sizeof(saun.sun_path));
|
||||
|
@ -0,0 +1,42 @@
|
||||
@version: 3.4
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/3.4/syslog-ng.conf.gentoo,v 1.1 2013/04/28 04:50:34 mr_bones_ Exp $
|
||||
#
|
||||
# Syslog-ng default configuration file for Gentoo Linux
|
||||
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=426814
|
||||
@include "scl.conf"
|
||||
|
||||
options {
|
||||
threaded(yes);
|
||||
chain_hostnames(no);
|
||||
|
||||
# The default action of syslog-ng is to log a STATS line
|
||||
# to the file every 10 minutes. That's pretty ugly after a while.
|
||||
# Change it to every 12 hours so you get a nice daily update of
|
||||
# how many messages syslog-ng missed (0).
|
||||
stats_freq(43200);
|
||||
# The default action of syslog-ng is to log a MARK line
|
||||
# to the file every 20 minutes. That's seems high for most
|
||||
# people so turn it down to once an hour. Set it to zero
|
||||
# if you don't want the functionality at all.
|
||||
mark_freq(3600);
|
||||
};
|
||||
|
||||
source src {
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=449260
|
||||
unix-dgram("/dev/log");
|
||||
internal();
|
||||
file("/proc/kmsg");
|
||||
};
|
||||
|
||||
destination messages { file("/var/log/messages"); };
|
||||
|
||||
# By default messages are logged to tty12...
|
||||
destination console_all { file("/dev/tty12"); };
|
||||
# ...if you intend to use /dev/console for programs like xconsole
|
||||
# you can comment out the destination line above that references /dev/tty12
|
||||
# and uncomment the line below.
|
||||
#destination console_all { file("/dev/console"); };
|
||||
|
||||
log { source(src); destination(messages); };
|
||||
log { source(src); destination(console_all); };
|
@ -0,0 +1,29 @@
|
||||
@version: 3.4
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/3.4/syslog-ng.conf.gentoo.fbsd,v 1.1 2013/04/28 04:50:34 mr_bones_ Exp $
|
||||
#
|
||||
# Syslog-ng default configuration file for Gentoo FreeBSD
|
||||
#
|
||||
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=426814
|
||||
@include "scl.conf"
|
||||
|
||||
options {
|
||||
threaded(yes);
|
||||
chain_hostnames(no);
|
||||
|
||||
# The default action of syslog-ng is to log a STATS line
|
||||
# to the file every 10 minutes. That's pretty ugly after a while.
|
||||
# Change it to every 12 hours so you get a nice daily update of
|
||||
# how many messages syslog-ng missed (0).
|
||||
stats_freq(43200);
|
||||
};
|
||||
|
||||
source src {
|
||||
unix-dgram("/var/run/log");
|
||||
internal();
|
||||
file("/dev/klog");
|
||||
};
|
||||
|
||||
destination messages { file("/var/log/messages"); };
|
||||
|
||||
log { source(src); destination(messages); };
|
@ -0,0 +1,115 @@
|
||||
@version: 3.4
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/3.4/syslog-ng.conf.gentoo.hardened,v 1.1 2013/04/28 04:50:34 mr_bones_ Exp $
|
||||
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=426814
|
||||
@include "scl.conf"
|
||||
|
||||
#
|
||||
# Syslog-ng configuration file, compatible with default hardened installations.
|
||||
#
|
||||
|
||||
options {
|
||||
threaded(yes);
|
||||
chain_hostnames(no);
|
||||
stats_freq(43200);
|
||||
};
|
||||
|
||||
source src {
|
||||
unix-dgram("/dev/log");
|
||||
internal();
|
||||
};
|
||||
source kernsrc {
|
||||
file("/proc/kmsg");
|
||||
};
|
||||
|
||||
#source net { udp(); };
|
||||
#log { source(net); destination(net_logs); };
|
||||
#destination net_logs { file("/var/log/HOSTS/$HOST/$YEAR$MONTH$DAY.log"); };
|
||||
|
||||
destination authlog { file("/var/log/auth.log"); };
|
||||
destination _syslog { file("/var/log/syslog"); };
|
||||
destination cron { file("/var/log/cron.log"); };
|
||||
destination daemon { file("/var/log/daemon.log"); };
|
||||
destination kern { file("/var/log/kern.log"); file("/dev/tty12"); };
|
||||
destination lpr { file("/var/log/lpr.log"); };
|
||||
destination user { file("/var/log/user.log"); };
|
||||
destination uucp { file("/var/log/uucp.log"); };
|
||||
#destination ppp { file("/var/log/ppp.log"); };
|
||||
destination mail { file("/var/log/mail.log"); };
|
||||
|
||||
destination avc { file("/var/log/avc.log"); };
|
||||
destination audit { file("/var/log/audit.log"); };
|
||||
destination pax { file("/var/log/pax.log"); };
|
||||
destination grsec { file("/var/log/grsec.log"); };
|
||||
|
||||
destination mailinfo { file("/var/log/mail.info"); };
|
||||
destination mailwarn { file("/var/log/mail.warn"); };
|
||||
destination mailerr { file("/var/log/mail.err"); };
|
||||
|
||||
destination newscrit { file("/var/log/news/news.crit"); };
|
||||
destination newserr { file("/var/log/news/news.err"); };
|
||||
destination newsnotice { file("/var/log/news/news.notice"); };
|
||||
|
||||
destination debug { file("/var/log/debug"); };
|
||||
destination messages { file("/var/log/messages"); };
|
||||
destination console { usertty("root"); };
|
||||
destination console_all { file("/dev/tty12"); };
|
||||
#destination loghost { udp("loghost" port(999)); };
|
||||
|
||||
destination xconsole { pipe("/dev/xconsole"); };
|
||||
|
||||
filter f_auth { facility(auth); };
|
||||
filter f_authpriv { facility(auth, authpriv); };
|
||||
filter f_syslog { not facility(authpriv, mail); };
|
||||
filter f_cron { facility(cron); };
|
||||
filter f_daemon { facility(daemon); };
|
||||
filter f_kern { facility(kern); };
|
||||
filter f_lpr { facility(lpr); };
|
||||
filter f_mail { facility(mail); };
|
||||
filter f_user { facility(user); };
|
||||
filter f_uucp { facility(uucp); };
|
||||
#filter f_ppp { facility(ppp); };
|
||||
filter f_news { facility(news); };
|
||||
filter f_debug { not facility(auth, authpriv, news, mail); };
|
||||
filter f_messages { level(info..warn)
|
||||
and not facility(auth, authpriv, mail, news); };
|
||||
filter f_emergency { level(emerg); };
|
||||
|
||||
filter f_info { level(info); };
|
||||
|
||||
filter f_notice { level(notice); };
|
||||
filter f_warn { level(warn); };
|
||||
filter f_crit { level(crit); };
|
||||
filter f_err { level(err); };
|
||||
|
||||
filter f_avc { message(".*avc: .*"); };
|
||||
filter f_audit { message("^(\\[.*\..*\] |)audit.*") and not message(".*avc: .*"); };
|
||||
filter f_pax { message("^(\\[.*\..*\] |)PAX:.*"); };
|
||||
filter f_grsec { message("^(\\[.*\..*\] |)grsec:.*"); };
|
||||
|
||||
log { source(src); filter(f_authpriv); destination(authlog); };
|
||||
log { source(src); filter(f_syslog); destination(_syslog); };
|
||||
log { source(src); filter(f_cron); destination(cron); };
|
||||
log { source(src); filter(f_daemon); destination(daemon); };
|
||||
log { source(kernsrc); filter(f_kern); destination(kern); };
|
||||
log { source(src); filter(f_lpr); destination(lpr); };
|
||||
log { source(src); filter(f_mail); destination(mail); };
|
||||
log { source(src); filter(f_user); destination(user); };
|
||||
log { source(src); filter(f_uucp); destination(uucp); };
|
||||
log { source(kernsrc); filter(f_pax); destination(pax); };
|
||||
log { source(kernsrc); filter(f_grsec); destination(grsec); };
|
||||
log { source(kernsrc); filter(f_audit); destination(audit); };
|
||||
log { source(kernsrc); filter(f_avc); destination(avc); };
|
||||
log { source(src); filter(f_mail); filter(f_info); destination(mailinfo); };
|
||||
log { source(src); filter(f_mail); filter(f_warn); destination(mailwarn); };
|
||||
log { source(src); filter(f_mail); filter(f_err); destination(mailerr); };
|
||||
log { source(src); filter(f_news); filter(f_crit); destination(newscrit); };
|
||||
log { source(src); filter(f_news); filter(f_err); destination(newserr); };
|
||||
log { source(src); filter(f_news); filter(f_notice); destination(newsnotice); };
|
||||
log { source(src); filter(f_debug); destination(debug); };
|
||||
log { source(src); filter(f_messages); destination(messages); };
|
||||
log { source(src); filter(f_emergency); destination(console); };
|
||||
#log { source(src); filter(f_ppp); destination(ppp); };
|
||||
log { source(src); destination(console_all); };
|
@ -0,0 +1,42 @@
|
||||
# Config file for /etc/init.d/syslog-ng
|
||||
|
||||
# If you are not using network logging, this entire section should be
|
||||
# commented out. Otherwise, choose one of the settings below based on
|
||||
# how you are configuring your network.
|
||||
#
|
||||
# If you are using the net.* scripts to configure your network, you should
|
||||
# set rc_need to match the interface through which your logging server
|
||||
# can be reached.
|
||||
#rc_need="net.eth0"
|
||||
#
|
||||
# If you are using an interface manager like wicd, dhcpcd in standalone
|
||||
# mode, networkmanager, etc to control your interfaces, set rc_need to
|
||||
# the name of that service.
|
||||
# rc_need="dhcpcd"
|
||||
#rc_need="networkmanager"
|
||||
#
|
||||
# If you are using newnet and configuring your interface statically with
|
||||
# the network script, you should use this setting.
|
||||
#rc_need="network"
|
||||
#
|
||||
# You can use this setting, but I do not recommend relying on it.
|
||||
#rc_need="net"
|
||||
#
|
||||
# You may also want to uncomment the following if you are using network
|
||||
# logging.
|
||||
#rc_use="stunnel"
|
||||
|
||||
# For very customized setups these variables can be adjusted as needed
|
||||
# but for most situations they should remain commented:
|
||||
# SYSLOG_NG_CONFIGFILE=/etc/syslog-ng/syslog-ng.conf
|
||||
# SYSLOG_NG_STATEFILE_DIR=/var/lib/syslog-ng
|
||||
# SYSLOG_NG_STATEFILE=${SYSLOG_NG_STATEFILE_DIR}/syslog-ng.persist
|
||||
# SYSLOG_NG_PIDFILE_DIR=/var/run
|
||||
# SYSLOG_NG_PIDFILE=${SYSLOG_NG_PIDFILE_DIR}/syslog-ng.pid
|
||||
# SYSLOG_NG_GROUP=root
|
||||
# SYSLOG_NG_USER=root
|
||||
|
||||
# Put any additional options for syslog-ng here.
|
||||
# See syslog-ng(8) for more information.
|
||||
|
||||
SYSLOG_NG_OPTS=""
|
@ -0,0 +1,64 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/3.4/syslog-ng.rc6,v 1.1 2013/04/28 04:50:34 mr_bones_ Exp $
|
||||
|
||||
SYSLOG_NG_CONFIGFILE=${SYSLOG_NG_CONFIGFILE:-/etc/syslog-ng/${RC_SVCNAME}.conf}
|
||||
SYSLOG_NG_STATEFILE_DIR=${SYSLOG_NG_PIDFILE_DIR:-/var/lib/syslog-ng}
|
||||
SYSLOG_NG_STATEFILE=${SYSLOG_NG_STATEFILE:-${SYSLOG_NG_STATEFILE_DIR}/syslog-ng.persist}
|
||||
SYSLOG_NG_PIDFILE_DIR=${SYSLOG_NG_PIDFILE_DIR:-/var/run}
|
||||
SYSLOG_NG_PIDFILE=${SYSLOG_NG_PIDFILE:-${SYSLOG_NG_PIDFILE_DIR}/${RC_SVCNAME}.pid}
|
||||
|
||||
SYSLOG_NG_GROUP=${SYSLOG_NG_GROUP:-root}
|
||||
SYSLOG_NG_USER=${SYSLOG_NG_USER:-root}
|
||||
|
||||
command="syslog-ng"
|
||||
command_args="--persist-file \"${SYSLOG_NG_STATEFILE}\" --cfgfile \"${SYSLOG_NG_CONFIGFILE}\" --pidfile \"${SYSLOG_NG_PIDFILE}\" ${SYSLOG_NG_OPTS}"
|
||||
extra_commands="checkconfig"
|
||||
extra_started_commands="reload"
|
||||
pidfile="${SYSLOG_NG_PIDFILE}"
|
||||
start_stop_daemon_args="--user \"${SYSLOG_NG_USER}\":\"${SYSLOG_NG_GROUP}\""
|
||||
description="Syslog-ng is a syslog replacement with advanced filtering features."
|
||||
description_checkconfig="Check the configuration file that will be used by \"start\""
|
||||
description_reload="Reload the configuration without exiting"
|
||||
|
||||
depend() {
|
||||
if [ ! -e "${SYSLOG_NG_CONFIGFILE}" ] ; then
|
||||
eerror "You need to create ${SYSLOG_NG_CONFIGFILE} first."
|
||||
eerror "An example can be found in /usr/share/doc/syslog"
|
||||
|
||||
return 1
|
||||
fi
|
||||
config "${SYSLOG_NG_CONFIGFILE}"
|
||||
use clock
|
||||
need hostname localmount
|
||||
after bootmisc
|
||||
provide logger
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
ebegin "Checking your configfile (${SYSLOG_NG_CONFIGFILE})"
|
||||
syslog-ng -s -f "${SYSLOG_NG_CONFIGFILE}"
|
||||
eend $? "Configuration error. Please fix your configfile (${SYSLOG_NG_CONFIGFILE})"
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkconfig || return 1
|
||||
checkpath \
|
||||
-d \
|
||||
--mode 0600 \
|
||||
--owner "${SYSLOG_NG_OWNER}:${SYSLOG_NG_GROUP}" \
|
||||
"${SYSLOG_NG_STATEFILE_DIR}"
|
||||
}
|
||||
|
||||
stop_pre() {
|
||||
[ "$RC_CMD" = restart ] && sleep 1
|
||||
return 0
|
||||
}
|
||||
|
||||
reload() {
|
||||
checkconfig || return 1
|
||||
ebegin "Reloading configuration and re-opening log files"
|
||||
start-stop-daemon --signal HUP --pidfile "${pidfile}"
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,115 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/syslog-ng-3.4.1.ebuild,v 1.1 2013/04/28 04:50:35 mr_bones_ Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils multilib systemd
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
DESCRIPTION="syslog replacement with advanced filtering features"
|
||||
HOMEPAGE="http://www.balabit.com/network-security/syslog-ng"
|
||||
SRC_URI="http://www.balabit.com/downloads/files/syslog-ng/sources/${MY_PV}/source/syslog-ng_${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="caps hardened ipv6 json mongodb +pcre selinux smtp spoof-source sql ssl tcpd"
|
||||
|
||||
RDEPEND="
|
||||
pcre? ( dev-libs/libpcre )
|
||||
spoof-source? ( net-libs/libnet:1.1 )
|
||||
ssl? ( dev-libs/openssl:= )
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
|
||||
>=dev-libs/eventlog-0.2.12
|
||||
>=dev-libs/glib-2.10.1:2
|
||||
json? ( >=dev-libs/json-c-0.9 )
|
||||
caps? ( sys-libs/libcap )
|
||||
sql? ( >=dev-db/libdbi-0.8.3 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
sys-devel/flex"
|
||||
|
||||
S=${WORKDIR}/${PN}-${MY_PV}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PV%.*}/${P}-rollup.patch
|
||||
sed -i \
|
||||
-e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' \
|
||||
configure.in || die
|
||||
mv configure.in configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-ivykis=internal \
|
||||
--with-libmongo-client=internal \
|
||||
--sysconfdir=/etc/syslog-ng \
|
||||
--localstatedir=/var/lib/syslog-ng \
|
||||
--with-pidfile-dir=/var/run \
|
||||
--with-module-dir=/usr/$(get_libdir)/syslog-ng \
|
||||
$(systemd_with_unitdir) \
|
||||
$(use_enable caps linux-caps) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable json) \
|
||||
$(use_enable mongodb) \
|
||||
$(use_enable pcre) \
|
||||
$(use_enable smtp) \
|
||||
$(use_enable spoof-source) \
|
||||
$(use_enable sql) \
|
||||
$(use_enable ssl) \
|
||||
$(use_enable tcpd tcp-wrapper)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS contrib/syslog-ng.conf* contrib/syslog2ng
|
||||
|
||||
# Install default configuration
|
||||
insinto /etc/syslog-ng
|
||||
if use hardened || use selinux ; then
|
||||
newins "${FILESDIR}/${PV%.*}/syslog-ng.conf.gentoo.hardened" syslog-ng.conf
|
||||
elif use userland_BSD ; then
|
||||
newins "${FILESDIR}/${PV%.*}/syslog-ng.conf.gentoo.fbsd" syslog-ng.conf
|
||||
else
|
||||
newins "${FILESDIR}/${PV%.*}/syslog-ng.conf.gentoo" syslog-ng.conf
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
if use hardened || use selinux ; then
|
||||
newins "${FILESDIR}/syslog-ng.logrotate.hardened" syslog-ng
|
||||
else
|
||||
newins "${FILESDIR}/syslog-ng.logrotate" syslog-ng
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}/${PV%.*}/syslog-ng.rc6" syslog-ng
|
||||
newconfd "${FILESDIR}/${PV%.*}/syslog-ng.confd" syslog-ng
|
||||
keepdir /etc/syslog-ng/patterndb.d
|
||||
prune_libtool_files --modules
|
||||
rm -rf "${D}"/var
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "For detailed documentation please see the upstream website:"
|
||||
elog "http://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.4-guides/en/syslog-ng-ose-v3.4-guide-admin/html/index.html"
|
||||
|
||||
# bug #355257
|
||||
if ! has_version app-admin/logrotate ; then
|
||||
echo
|
||||
elog "It is highly recommended that app-admin/logrotate be emerged to"
|
||||
elog "manage the log files. ${PN} installs a file in /etc/logrotate.d"
|
||||
elog "for logrotate to use."
|
||||
echo
|
||||
fi
|
||||
if has_version sys-apps/systemd ; then
|
||||
echo
|
||||
elog "If you intend to use syslog-ng together with the systemd journal,"
|
||||
elog "please be sure to configure it to listen accordingly, e.g. replace"
|
||||
elog "unix-dgram(\"/dev/log\");"
|
||||
elog "with"
|
||||
elog "unix-dgram(\"/run/systemd/journal/syslog\");"
|
||||
elog "in /etc/syslog-ng/syslog-ng.conf"
|
||||
echo
|
||||
fi
|
||||
}
|
@ -0,0 +1,302 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.5.29.ebuild,v 1.1 2013/04/28 05:02:35 tetromino Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
inherit autotools-multilib eutils flag-o-matic gnome2-utils multilib pax-utils toolchain-funcs virtualx
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
#KEYWORDS=""
|
||||
else
|
||||
MY_P="${PN}-${PV/_/-}"
|
||||
SRC_URI="mirror://sourceforge/${PN}/Source/${MY_P}.tar.bz2"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
fi
|
||||
|
||||
GV="1.9"
|
||||
MV="0.0.8"
|
||||
PULSE_PATCHES="winepulse-patches-1.5.25"
|
||||
WINE_GENTOO="wine-gentoo-2012.11.24"
|
||||
DESCRIPTION="Free implementation of Windows(tm) on Unix"
|
||||
HOMEPAGE="http://www.winehq.org/"
|
||||
SRC_URI="${SRC_URI}
|
||||
gecko? (
|
||||
abi_x86_32? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86.msi )
|
||||
abi_x86_64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi )
|
||||
)
|
||||
mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi )
|
||||
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${PULSE_PATCHES}.tar.bz2
|
||||
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${WINE_GENTOO}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="+abi_x86_32 +abi_x86_64 alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gphoto2 gsm gstreamer jpeg lcms ldap +mono mp3 ncurses nls odbc openal opencl +opengl osmesa +oss +perl png +prelink samba scanner selinux ssl test +threads +truetype udisks v4l +X xcomposite xinerama xml"
|
||||
[[ ${PV} == "9999" ]] || IUSE="${IUSE} pulseaudio"
|
||||
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )
|
||||
test? ( abi_x86_32 )
|
||||
elibc_glibc? ( threads )
|
||||
mono? ( abi_x86_32 )
|
||||
osmesa? ( opengl )" #286560
|
||||
|
||||
# FIXME: the test suite is unsuitable for us; many tests require net access
|
||||
# or fail due to Xvfb's opengl limitations.
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts )
|
||||
perl? ( dev-lang/perl dev-perl/XML-Simple )
|
||||
capi? ( net-dialup/capi4k-utils )
|
||||
ncurses? ( >=sys-libs/ncurses-5.2:= )
|
||||
fontconfig? ( media-libs/fontconfig:= )
|
||||
gphoto2? ( media-libs/libgphoto2:= )
|
||||
openal? ( media-libs/openal:= )
|
||||
udisks? (
|
||||
sys-apps/dbus
|
||||
sys-fs/udisks:2
|
||||
)
|
||||
gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
|
||||
X? (
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXext
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXi
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXxf86vm
|
||||
)
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
cups? ( net-print/cups:= )
|
||||
opencl? ( virtual/opencl )
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)
|
||||
gsm? ( media-sound/gsm:= )
|
||||
jpeg? ( virtual/jpeg:= )
|
||||
ldap? ( net-nds/openldap:= )
|
||||
lcms? ( media-libs/lcms:0= )
|
||||
mp3? ( >=media-sound/mpg123-1.5.0 )
|
||||
nls? ( sys-devel/gettext )
|
||||
odbc? ( dev-db/unixODBC:= )
|
||||
osmesa? ( media-libs/mesa[osmesa] )
|
||||
samba? ( >=net-fs/samba-3.0.25 )
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
scanner? ( media-gfx/sane-backends:= )
|
||||
ssl? ( net-libs/gnutls:= )
|
||||
png? ( media-libs/libpng:0= )
|
||||
v4l? ( media-libs/libv4l )
|
||||
xcomposite? ( x11-libs/libXcomposite )
|
||||
amd64? (
|
||||
abi_x86_32? (
|
||||
gstreamer? ( app-emulation/emul-linux-x86-gstplugins )
|
||||
truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1[development] )
|
||||
X? (
|
||||
>=app-emulation/emul-linux-x86-xlibs-2.1[development]
|
||||
>=app-emulation/emul-linux-x86-soundlibs-2.1[development]
|
||||
)
|
||||
mp3? ( app-emulation/emul-linux-x86-soundlibs[development] )
|
||||
odbc? ( app-emulation/emul-linux-x86-db[development] )
|
||||
openal? ( app-emulation/emul-linux-x86-sdl[development] )
|
||||
opengl? ( app-emulation/emul-linux-x86-opengl[development] )
|
||||
osmesa? ( >=app-emulation/emul-linux-x86-opengl-20121028[development] )
|
||||
scanner? ( app-emulation/emul-linux-x86-medialibs[development] )
|
||||
v4l? ( app-emulation/emul-linux-x86-medialibs[development] )
|
||||
>=app-emulation/emul-linux-x86-baselibs-20130224[development]
|
||||
>=sys-kernel/linux-headers-2.6
|
||||
)
|
||||
)"
|
||||
[[ ${PV} == "9999" ]] || RDEPEND="${RDEPEND}
|
||||
pulseaudio? (
|
||||
media-sound/pulseaudio
|
||||
sys-auth/rtkit
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
X? (
|
||||
x11-proto/inputproto
|
||||
x11-proto/xextproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
)
|
||||
xinerama? ( x11-proto/xineramaproto )
|
||||
prelink? ( sys-devel/prelink )
|
||||
virtual/pkgconfig
|
||||
virtual/yacc
|
||||
sys-devel/flex"
|
||||
|
||||
# These use a non-standard "Wine" category, which is provided by
|
||||
# /etc/xdg/applications-merged/wine.menu
|
||||
QA_DESKTOP_FILE="usr/share/applications/wine-browsedrive.desktop
|
||||
usr/share/applications/wine-notepad.desktop
|
||||
usr/share/applications/wine-uninstaller.desktop
|
||||
usr/share/applications/wine-winecfg.desktop"
|
||||
|
||||
src_unpack() {
|
||||
if use abi_x86_64; then
|
||||
[[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]] \
|
||||
&& die "you need gcc-4.4+ to build 64bit wine"
|
||||
fi
|
||||
|
||||
if use abi_x86_32 && use opencl; then
|
||||
[[ x$(eselect opencl show) = "xintel" ]] &&
|
||||
die "Cannot build wine[opencl,abi_x86_32]: intel-ocl-sdk is 64-bit only" # 403947
|
||||
fi
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
git-2_src_unpack
|
||||
else
|
||||
unpack ${MY_P}.tar.bz2
|
||||
fi
|
||||
|
||||
unpack "${PULSE_PATCHES}.tar.bz2"
|
||||
unpack "${WINE_GENTOO}.tar.bz2"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local md5="$(md5sum server/protocol.def)"
|
||||
local PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.5.26-winegcc.patch #260726
|
||||
"${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
|
||||
"${FILESDIR}"/${PN}-1.5.17-osmesa-check.patch #429386
|
||||
"${FILESDIR}"/${PN}-1.5.23-winebuild-CCAS.patch #455308
|
||||
)
|
||||
[[ ${PV} == "9999" ]] || PATCHES+=(
|
||||
"../${PULSE_PATCHES}"/*.patch #421365
|
||||
)
|
||||
|
||||
autotools-utils_src_prepare
|
||||
|
||||
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
|
||||
einfo "server/protocol.def was patched; running tools/make_requests"
|
||||
tools/make_requests || die #432348
|
||||
fi
|
||||
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
||||
sed -i '/^MimeType/d' tools/wine.desktop || die #117785
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
local myeconfargs=(
|
||||
"${myeconfargs[@]}"
|
||||
CCAS="$(tc-getAS)"
|
||||
)
|
||||
|
||||
if use amd64; then
|
||||
if [[ ${ABI} == amd64 ]]; then
|
||||
myeconfargs+=( --enable-win64 )
|
||||
else
|
||||
myeconfargs+=( --disable-win64 )
|
||||
fi
|
||||
|
||||
# Note: using --with-wine64 results in problems with multilib.eclass
|
||||
# CC/LD hackery. We're using separate tools instead.
|
||||
fi
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export LDCONFIG=/bin/true
|
||||
use custom-cflags || strip-flags
|
||||
|
||||
local myeconfargs=( # common
|
||||
--sysconfdir=/etc/wine
|
||||
$(use_with alsa)
|
||||
$(use_with capi)
|
||||
$(use_with lcms cms)
|
||||
$(use_with cups)
|
||||
$(use_with ncurses curses)
|
||||
$(use_with udisks dbus)
|
||||
$(use_with fontconfig)
|
||||
$(use_with ssl gnutls)
|
||||
$(use_with gphoto2 gphoto)
|
||||
$(use_with gsm)
|
||||
$(use_with gstreamer)
|
||||
--without-hal
|
||||
$(use_with jpeg)
|
||||
$(use_with ldap)
|
||||
$(use_with mp3 mpg123)
|
||||
$(use_with nls gettext)
|
||||
$(use_with openal)
|
||||
$(use_with opencl)
|
||||
$(use_with opengl)
|
||||
$(use_with osmesa)
|
||||
$(use_with oss)
|
||||
$(use_with png)
|
||||
$(use_with threads pthread)
|
||||
$(use_with scanner sane)
|
||||
$(use_enable test tests)
|
||||
$(use_with truetype freetype)
|
||||
$(use_with v4l)
|
||||
$(use_with X x)
|
||||
$(use_with xcomposite)
|
||||
$(use_with xinerama)
|
||||
$(use_with xml)
|
||||
$(use_with xml xslt)
|
||||
)
|
||||
|
||||
[[ ${PV} == "9999" ]] || myeconfargs+=( $(use_with pulseaudio pulse) )
|
||||
|
||||
multilib_parallel_foreach_abi do_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-multilib_src_compile depend
|
||||
autotools-multilib_src_compile all
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if [[ $(id -u) == 0 ]]; then
|
||||
ewarn "Skipping tests since they cannot be run under the root user."
|
||||
ewarn "To run the test ${PN} suite, add userpriv to FEATURES in make.conf"
|
||||
return
|
||||
fi
|
||||
|
||||
# FIXME: win32-only; wine64 tests fail with "could not find the Wine loader"
|
||||
multilib_toolchain_setup x86
|
||||
local BUILD_DIR="${S}-${ABI}"
|
||||
cd "${BUILD_DIR}" || die
|
||||
WINEPREFIX="${T}/.wine-${ABI}" Xemake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=( ANNOUNCE AUTHORS README )
|
||||
autotools-multilib_src_install
|
||||
|
||||
emake -C "../${WINE_GENTOO}" install DESTDIR="${D}" EPREFIX="${EPREFIX}"
|
||||
if use gecko ; then
|
||||
insinto /usr/share/wine/gecko
|
||||
use abi_x86_32 && doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
|
||||
use abi_x86_64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
|
||||
fi
|
||||
if use mono ; then
|
||||
insinto /usr/share/wine/mono
|
||||
doins "${DISTDIR}"/wine-mono-${MV}.msi
|
||||
fi
|
||||
if ! use perl ; then
|
||||
rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die
|
||||
fi
|
||||
|
||||
use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
|
||||
use abi_x86_64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
|
||||
|
||||
if use abi_x86_64 && ! use abi_x86_32; then
|
||||
dosym /usr/bin/wine{64,} # 404331
|
||||
dosym /usr/bin/wine{64,}-preloader
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,24 +1,24 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST winetricks-941 618195 SHA256 06ce721c0b5e48e4781b5883c39f6ecfa78c010745a75a15d6f4f9638010fc1f SHA512 cabfa5f9486100c37500b054f84b4f887fd530d16c40a9ea000904f1b3f56d7ab7bd7a8237b85885a38d84fe91cdd2942bbffec5430d63c8af017a721c4e6bdd WHIRLPOOL 99c7e7cf79285bcfc52c88efc4b1661d264f67915b6ab1b0f0f94941bb104ae678a33ab1093b0931be3201af6e0e722b32aae8a832e09ca9fc64ab04c3b57093
|
||||
DIST winetricks-941.1 3469 SHA256 f522f4c991194cbed1044182ca6fbbb7645cd4b98d9557ab7d073ace1af4738d SHA512 2c832a9cc4286f641aeed7a5a47131773b48dd0cf123798f753ffb24799dabca29986b2b740698fbe9efb8034ac874a18147c6bd645bea8e69fdb42f1437fdf2 WHIRLPOOL 0ccb982022189b4d2e134756cadbca3628c33e57be6879b07e84f99182ed5a201379413a32af5d689744b4d7527f6abf56aae7113f34401c4cbe62b902462424
|
||||
DIST winetricks-947 618224 SHA256 2eda58426b2f11bb1ee444e5dde596b0ceb16c9471947b4ef15d820059ff3954 SHA512 2dda811985b4f7ed801db3739d7911b45e6ac9809e68cdeb81920ad49b1a7b900f347babae64b199118a0c0add2d23502aca4d7f79409b9972bc1cf66f0a9ed4 WHIRLPOOL 7fe91ebad58e1c823527d7d59d00f888b9e71fa4197b3a11f34921e427e041bd488436ef2e8ae5ba645a05800b14e6da4d90d8a566161fb24319a0587f58f7a5
|
||||
DIST winetricks-947.1 3469 SHA256 f522f4c991194cbed1044182ca6fbbb7645cd4b98d9557ab7d073ace1af4738d SHA512 2c832a9cc4286f641aeed7a5a47131773b48dd0cf123798f753ffb24799dabca29986b2b740698fbe9efb8034ac874a18147c6bd645bea8e69fdb42f1437fdf2 WHIRLPOOL 0ccb982022189b4d2e134756cadbca3628c33e57be6879b07e84f99182ed5a201379413a32af5d689744b4d7527f6abf56aae7113f34401c4cbe62b902462424
|
||||
DIST winetricks-949 618264 SHA256 386c9ae4850179ad22b775f7738c09d2e955e7e527f0c960219b4552145e0871 SHA512 56acda21da21f426b3738e85070e2dfa2c631bcb7c66e68fc3fe84d2a864f62df07b720bdc42358c010ce760ca268f9d99250c9f1c640e67b10d2ea91b75cee3 WHIRLPOOL d6b9091fd0ca8a753c250aa197c36b24cb3ba745afbc5ab893ef017a893cf35086c67672601c33e4791fa972c8c9a1cfaf16766b4c410e21472e5757312d209f
|
||||
DIST winetricks-949.1 3469 SHA256 f522f4c991194cbed1044182ca6fbbb7645cd4b98d9557ab7d073ace1af4738d SHA512 2c832a9cc4286f641aeed7a5a47131773b48dd0cf123798f753ffb24799dabca29986b2b740698fbe9efb8034ac874a18147c6bd645bea8e69fdb42f1437fdf2 WHIRLPOOL 0ccb982022189b4d2e134756cadbca3628c33e57be6879b07e84f99182ed5a201379413a32af5d689744b4d7527f6abf56aae7113f34401c4cbe62b902462424
|
||||
DIST winetricks-gentoo-2012.11.24.tar.bz2 6398 SHA256 dded8c294cc5c2e71e4a5d1531ab165178cf3d2d1d890d0656368c2e499bfeb9 SHA512 59c93b73f3a7b2d11aefcde2ff66659ff1de21ad4b5f232f4b60572f3a48b15a6c49f369b1696862bf1b33fde190bf5598945e9536fb41ddec42d8def4d2be2a WHIRLPOOL 268da9e06712a678fbbcfff8eac1fca364b5e46f0a9c48a591eb88f03260b1a55f203eb2908bfe1f0a534b77c866127ff6f7049b0e43fe8abeaaa26fe55de75b
|
||||
EBUILD winetricks-941.ebuild 1988 SHA256 0866ce9c932dfcca0fdc4e4eddaad81b814eca3e44336d42b4a70b48d9603fc2 SHA512 848dcf6bf1c5460d00f0259a0aebb23ad92f37992de75008ee49d2be031d640ecbd4d39feccccc44bad43fca14bd2f05016fb6d2dfc63177d28ec379f1f36a3f WHIRLPOOL b4024b6c63265cd5d862aac6e09dd103ec4df569078c07b4968cd61eb3465ec830571aac514e23d785c9fd0b0e110569131634cc25daf68f9d633896ae3ff9af
|
||||
EBUILD winetricks-947.ebuild 1988 SHA256 5829fe9ea7b759e80ea2bab8d651e26c2e6bc5bbf31e77d058e8f345a6f1ee21 SHA512 39069915f28bcc184073bdab2294ae05eaba40655d99f84227abdcd1912fb2d36245f09cdf739ede203702d7278c7c19e4b8f24ab0b6bc5ec4f0572c2a6376d0 WHIRLPOOL c2844e0e6edaa6039bfcf5f5e525bb4b45eee9a0a5df524f7db0f02fb6cdb24ddcc7fb2be4942bb82f12462c19c7980225a621256181870183eb07610afa16f2
|
||||
EBUILD winetricks-949.ebuild 1988 SHA256 02542161bc1bf39e380651515d03fc9afea88eb29f40474e8eaacce9ef5620fe SHA512 ad976fd7a9083b3f5269008b813cf78b61d76fc74f64a2b541ec5796d8095d34bb47dce867d4bf44db750fdb2a4050c59d6282bba9804d55743d239d4afca856 WHIRLPOOL 86cb97d4c6ecfcebc1dd0a306a5e0033e5f7e0ce26d20f58a4930b5cf612ca87c0b87acd9e75dd493b515d3a27af421527d58c2e90fc5da01e1896bb3ad39074
|
||||
EBUILD winetricks-99999999.ebuild 1993 SHA256 9d8a3bd2b476dcbb7e03a6e8a5a50a8dd890e82d2ce7d0ce3451370a597da74a SHA512 bd1c2dd2466dd408e5425738ecd8f0ffb9f679edf22b838396d1a514eeb514e92e8df571ce1adc33fc17c76b9e9b7386eca3658b5bba98faa7e83aa98f619823 WHIRLPOOL 6a12fbf240043c647545c2a71a461b713438d3882afb63f2c0990f2d2245acfd0476e42c0fa8e991de51420ae9064a5458c912506820f5d68a8a9a6af18ebee2
|
||||
MISC ChangeLog 3960 SHA256 e510b811e7a28fcb5f7a8294769b25d8f12a0f3cdea6c8abf777d81b620a0eab SHA512 fbc32209069d7bf5940740fc8dbd949f244435ff83c091fbcd844bdf14a21fb992843e22e2856e808c0d63ad78d7733a02ce599af24fe71f5ce2473a97524762 WHIRLPOOL c039d7c40cb68e58311a3939af36fba712616de26ee1902cd7f2824695cd0045a57db57020e542dd504355042bd3580df28ee8e685d04c0b6bd27daf1d793bc9
|
||||
MISC ChangeLog 4127 SHA256 f76e33789e7b0235cad681c7177f88fb9ed59d137bac9cdf41eabbecbab91612 SHA512 0f1ed364276bfd2ef84314f1463d0aea501cf773f83b06d2ce3b3425d63930ef0a70a36df9de5006dcf62e1c5f9ba0b57e69ab481aedbb1a020e7cd583455749 WHIRLPOOL 645e8dd6db5c21d28c3906980bf388f88a97e594b38b83d5c97355cdc5914765a2cee5bb0f0ecc1c112cef704b13863546d56c0cf1158aa644e009f085a59b93
|
||||
MISC metadata.xml 238 SHA256 89eb94f543aa923d1627ce6ad4b70039815f7d01d795beb58a8f9a1c7de97252 SHA512 17e2bfa0f3b04f33b520be8ce9892a8c11fe027178a1315b2b48d3268296d4f017890bcdcc2a25f1dbd6acad78ef47924679aa5c87d4c3c66f65bf1b03bbeafc WHIRLPOOL 8ebb3ae5a0560a7cbccd13183d6d5fcb3a7afcf2ddbca0c7d224d0951f5223a6ac53c9f7bb7cce5583e257cf4b6a94b0e710c98bec00a57f042c3568ee4274f9
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQEcBAEBCAAGBQJRWLCWAAoJEJ0WA1zPCt1h4nEH/j648GVuFfujda+llJ7ssinv
|
||||
PfpLgN/2YS+WA4WEM4Gv579TpfLznF421JszfRRuIFpXLgz4pToKtiKjISr13cRr
|
||||
4xPGcyAL6Ld4Wcb9+lIZg2gXIYHbdGEEV6zvRfjAcdOUzCybCVS9aBK193hFOBZV
|
||||
4hdRH4fNssUKMSDehrRkbKn3jX8Mr9Ee0Er6lLL920bOHOy/HySFpRolVJISAard
|
||||
kgEgMzdcjnBPrgX0S5vytmu+hkIRNfnd8ThvJFRAZgShER49NIfMbsQF2xzQ5wyS
|
||||
diuPaviLC0mdVEbyvwDUWfcydjkW6H/Mf6Sgvo1EkL1BXMHaVnKlESWDOEH7jOo=
|
||||
=IB+y
|
||||
iQEcBAEBCAAGBQJRfK7wAAoJEJ0WA1zPCt1hxOwIAKilj2q7t+dRGAy2NntofuNi
|
||||
X8jbWmkrNTEhk910Dmj287PNl1GEXyYS+Skjmm0LCGGnZXmgmKsnpB0HC5DkJjnm
|
||||
xj9CNUpSm2oSDOWlu5ELgaQR7jVNu+HdWaIbW2af0fS0PMwsgB+TEnYyCWSSLl4N
|
||||
XVnVn7PM88/oliZMIxl6UZ9If7M2o7tjSRzr0QPKzJjcfHiCQrH4qys8ezWHRLD/
|
||||
atLJdx6eN/zXz+OejfHaMa+eZ6HIv3xf26WxbsbySm3Wshjz3tlOh2OxNRizsYdv
|
||||
vxBWEdVLffvqUcTwFkCMiDEBk3f1F14i5q44Oe0OAYlSWlYXKupgdU2PE7mCyeY=
|
||||
=RaFl
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/winetricks/winetricks-941.ebuild,v 1.1 2013/02/18 20:58:37 tetromino Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/winetricks/winetricks-949.ebuild,v 1.1 2013/04/28 05:09:03 tetromino Exp $
|
||||
|
||||
EAPI=4
|
||||
|
@ -0,0 +1,352 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.3.1.ebuild,v 1.1 2013/04/28 06:13:58 chutzpah Exp $
|
||||
|
||||
EAPI="3"
|
||||
WANT_AUTOMAKE="none"
|
||||
WANT_LIBTOOL="none"
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib pax-utils python-utils-r1 toolchain-funcs multiprocessing
|
||||
|
||||
MY_P="Python-${PV}"
|
||||
PATCHSET_REVISION="2"
|
||||
|
||||
DESCRIPTION="An interpreted, interactive, object-oriented programming language"
|
||||
HOMEPAGE="http://www.python.org/"
|
||||
SRC_URI="http://www.python.org/ftp/python/${PV}/${MY_P}.tar.xz
|
||||
mirror://gentoo/python-gentoo-patches-${PV}-${PATCHSET_REVISION}.tar.bz2"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="3.3"
|
||||
KEYWORDS=""
|
||||
IUSE="build doc elibc_uclibc examples gdbm hardened ipv6 +ncurses +readline sqlite +ssl +threads tk wininst +xml"
|
||||
|
||||
# Do not add a dependency on dev-lang/python to this ebuild.
|
||||
# If you need to apply a patch which requires python for bootstrapping, please
|
||||
# run the bootstrap code on your dev box and include the results in the
|
||||
# patchset. See bug 447752.
|
||||
|
||||
RDEPEND="app-arch/bzip2
|
||||
>=sys-libs/zlib-1.1.3
|
||||
virtual/libffi
|
||||
virtual/libintl
|
||||
!build? (
|
||||
gdbm? ( sys-libs/gdbm[berkdb] )
|
||||
ncurses? (
|
||||
>=sys-libs/ncurses-5.2
|
||||
readline? ( >=sys-libs/readline-4.1 )
|
||||
)
|
||||
sqlite? ( >=dev-db/sqlite-3.3.8:3[extensions] )
|
||||
ssl? ( dev-libs/openssl )
|
||||
tk? (
|
||||
>=dev-lang/tk-8.0
|
||||
dev-tcltk/blt
|
||||
)
|
||||
xml? ( >=dev-libs/expat-2.1 )
|
||||
)
|
||||
!!<sys-apps/sandbox-2.6-r1"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
>=sys-devel/autoconf-2.65
|
||||
!sys-devel/gcc[libffi]"
|
||||
RDEPEND+=" !build? ( app-misc/mime-types )
|
||||
doc? ( dev-python/python-docs:${SLOT} )"
|
||||
PDEPEND="app-admin/eselect-python
|
||||
app-admin/python-updater"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
# Ensure that internal copies of expat, libffi and zlib are not used.
|
||||
rm -fr Modules/expat
|
||||
rm -fr Modules/_ctypes/libffi*
|
||||
rm -fr Modules/zlib
|
||||
|
||||
local excluded_patches
|
||||
if ! tc-is-cross-compiler; then
|
||||
excluded_patches="*_all_crosscompile.patch"
|
||||
fi
|
||||
|
||||
EPATCH_EXCLUDE="${excluded_patches}" EPATCH_SUFFIX="patch" \
|
||||
epatch "${WORKDIR}/${PV}-${PATCHSET_REVISION}"
|
||||
|
||||
sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
|
||||
Lib/distutils/command/install.py \
|
||||
Lib/distutils/sysconfig.py \
|
||||
Lib/site.py \
|
||||
Lib/sysconfig.py \
|
||||
Lib/test/test_site.py \
|
||||
Makefile.pre.in \
|
||||
Modules/Setup.dist \
|
||||
Modules/getpath.c \
|
||||
setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@"
|
||||
|
||||
# Disable ABI flags.
|
||||
sed -e "s/ABIFLAGS=\"\${ABIFLAGS}.*\"/:/" -i configure.ac || die "sed failed"
|
||||
|
||||
eautoconf
|
||||
eautoheader
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use build; then
|
||||
# Disable extraneous modules with extra dependencies.
|
||||
export PYTHON_DISABLE_MODULES="gdbm _curses _curses_panel readline _sqlite3 _tkinter _elementtree pyexpat"
|
||||
export PYTHON_DISABLE_SSL="1"
|
||||
else
|
||||
local disable
|
||||
use gdbm || disable+=" gdbm"
|
||||
use ncurses || disable+=" _curses _curses_panel"
|
||||
use readline || disable+=" readline"
|
||||
use sqlite || disable+=" _sqlite3"
|
||||
use ssl || export PYTHON_DISABLE_SSL="1"
|
||||
use tk || disable+=" _tkinter"
|
||||
use xml || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat.
|
||||
export PYTHON_DISABLE_MODULES="${disable}"
|
||||
|
||||
if ! use xml; then
|
||||
ewarn "You have configured Python without XML support."
|
||||
ewarn "This is NOT a recommended configuration as you"
|
||||
ewarn "may face problems parsing any XML documents."
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then
|
||||
einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
|
||||
fi
|
||||
|
||||
if [[ "$(gcc-major-version)" -ge 4 ]]; then
|
||||
append-flags -fwrapv
|
||||
fi
|
||||
|
||||
filter-flags -malign-double
|
||||
|
||||
[[ "${ARCH}" == "alpha" ]] && append-flags -fPIC
|
||||
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=50309
|
||||
if is-flagq -O3; then
|
||||
is-flagq -fstack-protector-all && replace-flags -O3 -O2
|
||||
use hardened && replace-flags -O3 -O2
|
||||
fi
|
||||
|
||||
# Run the configure scripts in parallel.
|
||||
multijob_init
|
||||
|
||||
mkdir -p "${WORKDIR}"/{${CBUILD},${CHOST}}
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
(
|
||||
multijob_child_init
|
||||
cd "${WORKDIR}"/${CBUILD} >/dev/null
|
||||
OPT="-O1" CFLAGS="" CPPFLAGS="" LDFLAGS="" CC="" \
|
||||
"${S}"/configure \
|
||||
--{build,host}=${CBUILD} \
|
||||
|| die "cross-configure failed"
|
||||
) &
|
||||
multijob_post_fork
|
||||
|
||||
# The configure script assumes it's buggy when cross-compiling.
|
||||
export ac_cv_buggy_getaddrinfo=no
|
||||
export ac_cv_have_long_long_format=yes
|
||||
fi
|
||||
|
||||
# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
|
||||
tc-export CXX
|
||||
# The configure script fails to use pkg-config correctly.
|
||||
# http://bugs.python.org/issue15506
|
||||
export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG)
|
||||
|
||||
# Set LDFLAGS so we link modules with -lpython3.2 correctly.
|
||||
# Needed on FreeBSD unless Python 3.2 is already installed.
|
||||
# Please query BSD team before removing this!
|
||||
append-ldflags "-L."
|
||||
|
||||
local dbmliborder
|
||||
if use gdbm; then
|
||||
dbmliborder+="${dbmliborder:+:}gdbm"
|
||||
fi
|
||||
|
||||
cd "${WORKDIR}"/${CHOST}
|
||||
ECONF_SOURCE=${S} OPT="" \
|
||||
econf \
|
||||
--with-fpectl \
|
||||
--enable-shared \
|
||||
$(use_enable ipv6) \
|
||||
$(use_with threads) \
|
||||
--infodir='${prefix}/share/info' \
|
||||
--mandir='${prefix}/share/man' \
|
||||
--with-computed-gotos \
|
||||
--with-dbmliborder="${dbmliborder}" \
|
||||
--with-libc="" \
|
||||
--enable-loadable-sqlite-extensions \
|
||||
--with-system-expat \
|
||||
--with-system-ffi
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
# Modify the Makefile.pre so we don't regen for the host/ one.
|
||||
# We need to link the host python programs into $PWD and run
|
||||
# them from here because the distutils sysconfig module will
|
||||
# parse Makefile/etc... from argv[0], and we need it to pick
|
||||
# up the target settings, not the host ones.
|
||||
sed -i \
|
||||
-e '1iHOSTPYTHONPATH = ./hostpythonpath:' \
|
||||
-e '/^HOSTPYTHON/s:=.*:= ./hostpython:' \
|
||||
-e '/^HOSTPGEN/s:=.*:= ./Parser/hostpgen:' \
|
||||
Makefile{.pre,} || die "sed failed"
|
||||
fi
|
||||
|
||||
multijob_finish
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if tc-is-cross-compiler; then
|
||||
cd "${WORKDIR}"/${CBUILD}
|
||||
# Disable as many modules as possible -- but we need a few to install.
|
||||
PYTHON_DISABLE_MODULES=$(
|
||||
sed -n "/Extension('/{s:^.*Extension('::;s:'.*::;p}" "${S}"/setup.py | \
|
||||
egrep -v '(unicodedata|time|cStringIO|_struct|binascii)'
|
||||
) \
|
||||
PTHON_DISABLE_SSL="1" \
|
||||
SYSROOT= \
|
||||
emake || die "cross-make failed"
|
||||
# See comment in src_configure about these.
|
||||
ln python ../${CHOST}/hostpython || die
|
||||
ln Parser/pgen ../${CHOST}/Parser/hostpgen || die
|
||||
ln -s ../${CBUILD}/build/lib.*/ ../${CHOST}/hostpythonpath || die
|
||||
fi
|
||||
|
||||
cd "${WORKDIR}"/${CHOST}
|
||||
emake CPPFLAGS="" CFLAGS="" LDFLAGS="" || die "emake failed"
|
||||
|
||||
# Work around bug 329499. See also bug 413751.
|
||||
pax-mark m python
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Tests will not work when cross compiling.
|
||||
if tc-is-cross-compiler; then
|
||||
elog "Disabling tests due to crosscompiling."
|
||||
return
|
||||
fi
|
||||
|
||||
cd "${WORKDIR}"/${CHOST}
|
||||
|
||||
# Skip failing tests.
|
||||
local skipped_tests="gdb"
|
||||
|
||||
for test in ${skipped_tests}; do
|
||||
mv "${S}"/Lib/test/test_${test}.py "${T}"
|
||||
done
|
||||
|
||||
# Rerun failed tests in verbose mode (regrtest -w).
|
||||
PYTHONDONTWRITEBYTECODE="" emake test EXTRATESTOPTS="-w" CPPFLAGS="" CFLAGS="" LDFLAGS="" < /dev/tty
|
||||
local result="$?"
|
||||
|
||||
for test in ${skipped_tests}; do
|
||||
mv "${T}/test_${test}.py" "${S}"/Lib/test
|
||||
done
|
||||
|
||||
elog "The following tests have been skipped:"
|
||||
for test in ${skipped_tests}; do
|
||||
elog "test_${test}.py"
|
||||
done
|
||||
|
||||
elog "If you would like to run them, you may:"
|
||||
elog "cd '${EPREFIX}/usr/$(get_libdir)/python${SLOT}/test'"
|
||||
elog "and run the tests separately."
|
||||
|
||||
if [[ "${result}" -ne 0 ]]; then
|
||||
die "emake test failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local libdir=${ED}/usr/$(get_libdir)/python${SLOT}
|
||||
|
||||
cd "${WORKDIR}"/${CHOST}
|
||||
emake DESTDIR="${D}" altinstall || die "emake altinstall failed"
|
||||
|
||||
sed \
|
||||
-e "s/\(CONFIGURE_LDFLAGS=\).*/\1/" \
|
||||
-e "s/\(PY_LDFLAGS=\).*/\1/" \
|
||||
-i "${libdir}/config-${SLOT}/Makefile" || die "sed failed"
|
||||
|
||||
# Backwards compat with Gentoo divergence.
|
||||
dosym python${SLOT}-config /usr/bin/python-config-${SLOT} || die
|
||||
|
||||
# Fix collisions between different slots of Python.
|
||||
rm -f "${ED}usr/$(get_libdir)/libpython3.so"
|
||||
|
||||
if use build; then
|
||||
rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,sqlite3,test,tkinter}
|
||||
else
|
||||
use elibc_uclibc && rm -fr "${libdir}/test"
|
||||
use sqlite || rm -fr "${libdir}/"{sqlite3,test/test_sqlite*}
|
||||
use tk || rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,tkinter,test/test_tk*}
|
||||
fi
|
||||
|
||||
use threads || rm -fr "${libdir}/multiprocessing"
|
||||
use wininst || rm -f "${libdir}/distutils/command/"wininst-*.exe
|
||||
|
||||
dodoc "${S}"/Misc/{ACKS,HISTORY,NEWS} || die "dodoc failed"
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
find "${S}"/Tools -name __pycache__ -print0 | xargs -0 rm -fr
|
||||
doins -r "${S}"/Tools || die "doins failed"
|
||||
fi
|
||||
insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510
|
||||
local libname=$(printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | \
|
||||
emake --no-print-directory -s -f - 2>/dev/null)
|
||||
newins "${S}"/Tools/gdb/libpython.py "${libname}"-gdb.py
|
||||
|
||||
newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT} || die "newconfd failed"
|
||||
newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT} || die "newinitd failed"
|
||||
sed \
|
||||
-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${SLOT/./_}_PORT:" \
|
||||
-e "s:@PYDOC@:pydoc${SLOT}:" \
|
||||
-i "${ED}etc/conf.d/pydoc-${SLOT}" "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed"
|
||||
|
||||
# for python-exec
|
||||
python_export python${SLOT} EPYTHON PYTHON PYTHON_SITEDIR
|
||||
|
||||
# if not using a cross-compiler, use the fresh binary
|
||||
if ! tc-is-cross-compiler; then
|
||||
local PYTHON=./python \
|
||||
LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}.
|
||||
export LD_LIBRARY_PATH
|
||||
fi
|
||||
|
||||
echo "EPYTHON='${EPYTHON}'" > epython.py
|
||||
python_domodule epython.py
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<${CATEGORY}/${PN}-${SLOT}" && ! has_version ">=${CATEGORY}/${PN}-${SLOT}_alpha"; then
|
||||
python_updater_warning="1"
|
||||
fi
|
||||
}
|
||||
|
||||
eselect_python_update() {
|
||||
if [[ -z "$(eselect python show)" || ! -f "${EROOT}usr/bin/$(eselect python show)" ]]; then
|
||||
eselect python update
|
||||
fi
|
||||
|
||||
if [[ -z "$(eselect python show --python${PV%%.*})" || ! -f "${EROOT}usr/bin/$(eselect python show --python${PV%%.*})" ]]; then
|
||||
eselect python update --python${PV%%.*}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect_python_update
|
||||
|
||||
if [[ "${python_updater_warning}" == "1" ]]; then
|
||||
ewarn "You have just upgraded from an older version of Python."
|
||||
ewarn "You should switch active version of Python ${PV%%.*} and run"
|
||||
ewarn "'python-updater [options]' to rebuild Python modules."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect_python_update
|
||||
}
|
@ -0,0 +1,77 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/libpcre-8.32-r1.ebuild,v 1.1 2013/04/28 02:22:44 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils multilib libtool flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Perl-compatible regular expression library"
|
||||
HOMEPAGE="http://www.pcre.org/"
|
||||
MY_P="pcre-${PV/_rc/-RC}"
|
||||
if [[ ${PV} != *_rc* ]] ; then
|
||||
# Only the final releases are available here.
|
||||
SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2
|
||||
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${MY_P}.tar.bz2"
|
||||
else
|
||||
SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Testing/${MY_P}.tar.bz2"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="bzip2 +cxx +jit libedit pcre16 +readline +recursion-limit static-libs unicode zlib"
|
||||
REQUIRED_USE="readline? ( !libedit )
|
||||
libedit? ( !readline )"
|
||||
|
||||
RDEPEND="bzip2? ( app-arch/bzip2 )
|
||||
zlib? ( sys-libs/zlib )
|
||||
libedit? ( dev-libs/libedit )
|
||||
readline? ( sys-libs/readline )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
userland_GNU? ( >=sys-apps/findutils-4.4.0 )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
local pc
|
||||
for pc in *.pc.in ; do
|
||||
echo "Libs.private: @PTHREAD_CFLAGS@" >> ${pc} #454478
|
||||
done
|
||||
sed -i -e "s:-lpcre ::" libpcrecpp.pc.in || die
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
[[ ${CHOST} == *-mint* ]] && append-cppflags -D_GNU_SOURCE
|
||||
econf \
|
||||
--with-match-limit-recursion=$(usex recursion-limit 8192 MATCH_LIMIT) \
|
||||
$(use_enable bzip2 pcregrep-libbz2) \
|
||||
$(use_enable cxx cpp) \
|
||||
$(use_enable jit) $(use_enable jit pcregrep-jit) \
|
||||
$(use_enable pcre16) \
|
||||
$(use_enable libedit pcretest-libedit) \
|
||||
$(use_enable readline pcretest-libreadline) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable unicode utf) $(use_enable unicode unicode-properties) \
|
||||
$(use_enable zlib pcregrep-libz) \
|
||||
--enable-pcre8 \
|
||||
--enable-shared \
|
||||
--htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
gen_usr_ldscript -a pcre
|
||||
prune_libtool_files
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
preserve_old_lib /$(get_libdir)/libpcre.so.0
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
preserve_old_lib_notify /$(get_libdir)/libpcre.so.0
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/atomic/atomic-1.1.8.ebuild,v 1.1 2013/04/28 06:27:02 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
# jruby → there is code for this in ext but that requires compiling java.
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
inherit multilib ruby-fakegem
|
||||
|
||||
DESCRIPTION="An atomic reference implementation for JRuby, Rubinius, and MRI"
|
||||
HOMEPAGE="https://github.com/headius/ruby-atomic"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext extconf.rb || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake -Cext
|
||||
cp ext/atomic_reference$(get_modname) lib/ || die
|
||||
}
|
@ -1 +1 @@
|
||||
Sat, 27 Apr 2013 23:36:57 +0000
|
||||
Sun, 28 Apr 2013 07:06:54 +0000
|
||||
|
@ -1 +1 @@
|
||||
Sat, 27 Apr 2013 23:36:57 +0000
|
||||
Sun, 28 Apr 2013 07:06:54 +0000
|
||||
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=configure install postinst prepare
|
||||
DEPEND=pcre? ( dev-libs/libpcre ) spoof-source? ( net-libs/libnet:1.1 ) ssl? ( dev-libs/openssl:= ) tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) >=dev-libs/eventlog-0.2.12 >=dev-libs/glib-2.10.1:2 json? ( >=dev-libs/json-c-0.9 ) caps? ( sys-libs/libcap ) sql? ( >=dev-db/libdbi-0.8.3 ) virtual/pkgconfig sys-devel/flex || ( >=sys-devel/automake-1.12:1.12 >=sys-devel/automake-1.13:1.13 ) >=sys-devel/autoconf-2.68 sys-devel/libtool virtual/pkgconfig
|
||||
DESCRIPTION=syslog replacement with advanced filtering features
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.balabit.com/network-security/syslog-ng
|
||||
IUSE=caps hardened ipv6 json mongodb +pcre selinux smtp spoof-source sql ssl tcpd
|
||||
KEYWORDS=~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd
|
||||
LICENSE=GPL-2+ LGPL-2.1+
|
||||
RDEPEND=pcre? ( dev-libs/libpcre ) spoof-source? ( net-libs/libnet:1.1 ) ssl? ( dev-libs/openssl:= ) tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) >=dev-libs/eventlog-0.2.12 >=dev-libs/glib-2.10.1:2 json? ( >=dev-libs/json-c-0.9 ) caps? ( sys-libs/libcap ) sql? ( >=dev-db/libdbi-0.8.3 )
|
||||
SLOT=0
|
||||
SRC_URI=http://www.balabit.com/downloads/files/syslog-ng/sources/3.4.1/source/syslog-ng_3.4.1.tar.gz
|
||||
_eclasses_=autotools 0dc7b870a088cde4081c57cc7b394ad2 eutils 384ae111f3649d456ed1754e3e1c4f6e libtool 2b273eea1976cfaed3449345d94331ac multilib 892e597faee02a5b94eb02ab512e7622 multiprocessing a2130e6fc4aa4c6a24b265ca0cbcc2b6 systemd 3421a5715404244e4827acd1cf8ce654 toolchain-funcs 69a2016af67775a812f4c03ba4b0e03e user d0a4d0735a6c0183d707ca919bd72f28
|
||||
_md5_=256a6142e6c5aa2532111f37136a25c2
|
@ -0,0 +1,15 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare test unpack
|
||||
DEPEND=truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) perl? ( dev-lang/perl dev-perl/XML-Simple ) capi? ( net-dialup/capi4k-utils ) ncurses? ( >=sys-libs/ncurses-5.2:= ) fontconfig? ( media-libs/fontconfig:= ) gphoto2? ( media-libs/libgphoto2:= ) openal? ( media-libs/openal:= ) udisks? ( sys-apps/dbus sys-fs/udisks:2 ) gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 ) X? ( x11-libs/libXcursor x11-libs/libXext x11-libs/libXrandr x11-libs/libXi x11-libs/libXmu x11-libs/libXxf86vm ) xinerama? ( x11-libs/libXinerama ) alsa? ( media-libs/alsa-lib ) cups? ( net-print/cups:= ) opencl? ( virtual/opencl ) opengl? ( virtual/glu virtual/opengl ) gsm? ( media-sound/gsm:= ) jpeg? ( virtual/jpeg:= ) ldap? ( net-nds/openldap:= ) lcms? ( media-libs/lcms:0= ) mp3? ( >=media-sound/mpg123-1.5.0 ) nls? ( sys-devel/gettext ) odbc? ( dev-db/unixODBC:= ) osmesa? ( media-libs/mesa[osmesa] ) samba? ( >=net-fs/samba-3.0.25 ) selinux? ( sec-policy/selinux-wine ) xml? ( dev-libs/libxml2 dev-libs/libxslt ) scanner? ( media-gfx/sane-backends:= ) ssl? ( net-libs/gnutls:= ) png? ( media-libs/libpng:0= ) v4l? ( media-libs/libv4l ) xcomposite? ( x11-libs/libXcomposite ) amd64? ( abi_x86_32? ( gstreamer? ( app-emulation/emul-linux-x86-gstplugins ) truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1[development] ) X? ( >=app-emulation/emul-linux-x86-xlibs-2.1[development] >=app-emulation/emul-linux-x86-soundlibs-2.1[development] ) mp3? ( app-emulation/emul-linux-x86-soundlibs[development] ) odbc? ( app-emulation/emul-linux-x86-db[development] ) openal? ( app-emulation/emul-linux-x86-sdl[development] ) opengl? ( app-emulation/emul-linux-x86-opengl[development] ) osmesa? ( >=app-emulation/emul-linux-x86-opengl-20121028[development] ) scanner? ( app-emulation/emul-linux-x86-medialibs[development] ) v4l? ( app-emulation/emul-linux-x86-medialibs[development] ) >=app-emulation/emul-linux-x86-baselibs-20130224[development] >=sys-kernel/linux-headers-2.6 ) ) pulseaudio? ( media-sound/pulseaudio sys-auth/rtkit ) X? ( x11-proto/inputproto x11-proto/xextproto x11-proto/xf86vidmodeproto ) xinerama? ( x11-proto/xineramaproto ) prelink? ( sys-devel/prelink ) virtual/pkgconfig virtual/yacc sys-devel/flex || ( >=sys-devel/automake-1.12:1.12 >=sys-devel/automake-1.13:1.13 ) >=sys-devel/autoconf-2.68 sys-devel/libtool >=sys-apps/sed-4 test? ( !prefix? ( x11-base/xorg-server[xvfb] ) x11-apps/xhost )
|
||||
DESCRIPTION=Free implementation of Windows(tm) on Unix
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.winehq.org/
|
||||
IUSE=+abi_x86_32 +abi_x86_64 alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gphoto2 gsm gstreamer jpeg lcms ldap +mono mp3 ncurses nls odbc openal opencl +opengl osmesa +oss +perl png +prelink samba scanner selinux ssl test +threads +truetype udisks v4l +X xcomposite xinerama xml pulseaudio abi_x86_32 abi_x86_64 abi_x86_x32 test
|
||||
KEYWORDS=-* ~amd64 ~x86 ~x86-fbsd
|
||||
LICENSE=LGPL-2.1
|
||||
RDEPEND=truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) perl? ( dev-lang/perl dev-perl/XML-Simple ) capi? ( net-dialup/capi4k-utils ) ncurses? ( >=sys-libs/ncurses-5.2:= ) fontconfig? ( media-libs/fontconfig:= ) gphoto2? ( media-libs/libgphoto2:= ) openal? ( media-libs/openal:= ) udisks? ( sys-apps/dbus sys-fs/udisks:2 ) gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 ) X? ( x11-libs/libXcursor x11-libs/libXext x11-libs/libXrandr x11-libs/libXi x11-libs/libXmu x11-libs/libXxf86vm ) xinerama? ( x11-libs/libXinerama ) alsa? ( media-libs/alsa-lib ) cups? ( net-print/cups:= ) opencl? ( virtual/opencl ) opengl? ( virtual/glu virtual/opengl ) gsm? ( media-sound/gsm:= ) jpeg? ( virtual/jpeg:= ) ldap? ( net-nds/openldap:= ) lcms? ( media-libs/lcms:0= ) mp3? ( >=media-sound/mpg123-1.5.0 ) nls? ( sys-devel/gettext ) odbc? ( dev-db/unixODBC:= ) osmesa? ( media-libs/mesa[osmesa] ) samba? ( >=net-fs/samba-3.0.25 ) selinux? ( sec-policy/selinux-wine ) xml? ( dev-libs/libxml2 dev-libs/libxslt ) scanner? ( media-gfx/sane-backends:= ) ssl? ( net-libs/gnutls:= ) png? ( media-libs/libpng:0= ) v4l? ( media-libs/libv4l ) xcomposite? ( x11-libs/libXcomposite ) amd64? ( abi_x86_32? ( gstreamer? ( app-emulation/emul-linux-x86-gstplugins ) truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1[development] ) X? ( >=app-emulation/emul-linux-x86-xlibs-2.1[development] >=app-emulation/emul-linux-x86-soundlibs-2.1[development] ) mp3? ( app-emulation/emul-linux-x86-soundlibs[development] ) odbc? ( app-emulation/emul-linux-x86-db[development] ) openal? ( app-emulation/emul-linux-x86-sdl[development] ) opengl? ( app-emulation/emul-linux-x86-opengl[development] ) osmesa? ( >=app-emulation/emul-linux-x86-opengl-20121028[development] ) scanner? ( app-emulation/emul-linux-x86-medialibs[development] ) v4l? ( app-emulation/emul-linux-x86-medialibs[development] ) >=app-emulation/emul-linux-x86-baselibs-20130224[development] >=sys-kernel/linux-headers-2.6 ) ) pulseaudio? ( media-sound/pulseaudio sys-auth/rtkit )
|
||||
REQUIRED_USE=|| ( abi_x86_32 abi_x86_64 ) test? ( abi_x86_32 ) elibc_glibc? ( threads ) mono? ( abi_x86_32 ) osmesa? ( opengl )
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/wine/Source/wine-1.5.29.tar.bz2 gecko? ( abi_x86_32? ( mirror://sourceforge/wine/Wine%20Gecko/1.9/wine_gecko-1.9-x86.msi ) abi_x86_64? ( mirror://sourceforge/wine/Wine%20Gecko/1.9/wine_gecko-1.9-x86_64.msi ) ) mono? ( mirror://sourceforge/wine/Wine%20Mono/0.0.8/wine-mono-0.0.8.msi ) http://dev.gentoo.org/~tetromino/distfiles/wine/winepulse-patches-1.5.25.tar.bz2 http://dev.gentoo.org/~tetromino/distfiles/wine/wine-gentoo-2012.11.24.tar.bz2
|
||||
_eclasses_=autotools 0dc7b870a088cde4081c57cc7b394ad2 autotools-multilib 3ca3ffaa40575becc8cfd0cc6aeb1080 autotools-utils 7c1dc0608214b369c4dc38ab6427e729 eutils 384ae111f3649d456ed1754e3e1c4f6e flag-o-matic d900015de4e092f26d8c0a18b6bd60de gnome2-utils 794d2847b4af390a1e020924876c8297 libtool 2b273eea1976cfaed3449345d94331ac multibuild 32fd04fe3ee97494341710886fd70dfe multilib 892e597faee02a5b94eb02ab512e7622 multilib-build 64d8186c893b4ba109fe29c632a72a58 multiprocessing a2130e6fc4aa4c6a24b265ca0cbcc2b6 pax-utils d727728a240d5f59bf9370a64259fd61 toolchain-funcs 69a2016af67775a812f4c03ba4b0e03e user d0a4d0735a6c0183d707ca919bd72f28 virtualx 73cfc129b4b9ba23aed1abb10c825d86
|
||||
_md5_=ec8524b38428271c5083134be3c80558
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare test
|
||||
DEPEND=app-arch/bzip2 >=sys-libs/zlib-1.1.3 virtual/libffi virtual/libintl !build? ( gdbm? ( sys-libs/gdbm[berkdb] ) ncurses? ( >=sys-libs/ncurses-5.2 readline? ( >=sys-libs/readline-4.1 ) ) sqlite? ( >=dev-db/sqlite-3.3.8:3[extensions] ) ssl? ( dev-libs/openssl ) tk? ( >=dev-lang/tk-8.0 dev-tcltk/blt ) xml? ( >=dev-libs/expat-2.1 ) ) !!<sys-apps/sandbox-2.6-r1 virtual/pkgconfig >=sys-devel/autoconf-2.65 !sys-devel/gcc[libffi] sys-devel/automake >=sys-devel/autoconf-2.68
|
||||
DESCRIPTION=An interpreted, interactive, object-oriented programming language
|
||||
EAPI=3
|
||||
HOMEPAGE=http://www.python.org/
|
||||
IUSE=build doc elibc_uclibc examples gdbm hardened ipv6 +ncurses +readline sqlite +ssl +threads tk wininst +xml
|
||||
LICENSE=PSF-2
|
||||
PDEPEND=app-admin/eselect-python app-admin/python-updater
|
||||
RDEPEND=app-arch/bzip2 >=sys-libs/zlib-1.1.3 virtual/libffi virtual/libintl !build? ( gdbm? ( sys-libs/gdbm[berkdb] ) ncurses? ( >=sys-libs/ncurses-5.2 readline? ( >=sys-libs/readline-4.1 ) ) sqlite? ( >=dev-db/sqlite-3.3.8:3[extensions] ) ssl? ( dev-libs/openssl ) tk? ( >=dev-lang/tk-8.0 dev-tcltk/blt ) xml? ( >=dev-libs/expat-2.1 ) ) !!<sys-apps/sandbox-2.6-r1 !build? ( app-misc/mime-types ) doc? ( dev-python/python-docs:3.3 )
|
||||
SLOT=3.3
|
||||
SRC_URI=http://www.python.org/ftp/python/3.3.1/Python-3.3.1.tar.xz mirror://gentoo/python-gentoo-patches-3.3.1-2.tar.bz2
|
||||
_eclasses_=autotools 0dc7b870a088cde4081c57cc7b394ad2 eutils 384ae111f3649d456ed1754e3e1c4f6e flag-o-matic d900015de4e092f26d8c0a18b6bd60de libtool 2b273eea1976cfaed3449345d94331ac multilib 892e597faee02a5b94eb02ab512e7622 multiprocessing a2130e6fc4aa4c6a24b265ca0cbcc2b6 pax-utils d727728a240d5f59bf9370a64259fd61 python-utils-r1 1abc4a4828358a8fc1c4d65e74ae4a19 toolchain-funcs 69a2016af67775a812f4c03ba4b0e03e user d0a4d0735a6c0183d707ca919bd72f28
|
||||
_md5_=4e30c19af7313eb036ea8526cc1a7059
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=configure install postinst preinst prepare
|
||||
DEPEND=bzip2? ( app-arch/bzip2 ) zlib? ( sys-libs/zlib ) libedit? ( dev-libs/libedit ) readline? ( sys-libs/readline ) virtual/pkgconfig userland_GNU? ( >=sys-apps/findutils-4.4.0 )
|
||||
DESCRIPTION=Perl-compatible regular expression library
|
||||
EAPI=4
|
||||
HOMEPAGE=http://www.pcre.org/
|
||||
IUSE=bzip2 +cxx +jit libedit pcre16 +readline +recursion-limit static-libs unicode zlib
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=BSD
|
||||
RDEPEND=bzip2? ( app-arch/bzip2 ) zlib? ( sys-libs/zlib ) libedit? ( dev-libs/libedit ) readline? ( sys-libs/readline )
|
||||
REQUIRED_USE=readline? ( !libedit ) libedit? ( !readline )
|
||||
SLOT=3
|
||||
SRC_URI=mirror://sourceforge/pcre/pcre-8.32.tar.bz2 ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.32.tar.bz2
|
||||
_eclasses_=eutils 384ae111f3649d456ed1754e3e1c4f6e flag-o-matic d900015de4e092f26d8c0a18b6bd60de libtool 2b273eea1976cfaed3449345d94331ac multilib 892e597faee02a5b94eb02ab512e7622 toolchain-funcs 69a2016af67775a812f4c03ba4b0e03e user d0a4d0735a6c0183d707ca919bd72f28
|
||||
_md5_=8ba4dc9311646e2a6c0cc0464c0ef0e8
|
@ -1,14 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=>=dev-python/anyjson-0.3.3[python_targets_python2_7(-)?,python_targets_python3_1(-)?,python_targets_python3_2(-)?,python_targets_pypy1_9(-)?,python_targets_pypy2_0(-)?,-python_single_target_python2_7(-),-python_single_target_python3_1(-),-python_single_target_python3_2(-),-python_single_target_pypy1_9(-),-python_single_target_pypy2_0(-)] amqplib? ( >=dev-python/amqplib-1.0.2[python_targets_python2_7(-)?,python_targets_python3_1(-)?,python_targets_python3_2(-)?,python_targets_pypy1_9(-)?,python_targets_pypy2_0(-)?,-python_single_target_python2_7(-),-python_single_target_python3_1(-),-python_single_target_python3_2(-),-python_single_target_pypy1_9(-),-python_single_target_pypy2_0(-)] ) >=dev-python/py-amqp-1.0.6[python_targets_python2_7(-)?,python_targets_python3_1(-)?,python_targets_python3_2(-)?,python_targets_pypy1_9(-)?,python_targets_pypy2_0(-)?,-python_single_target_python2_7(-),-python_single_target_python3_1(-),-python_single_target_python3_2(-),-python_single_target_pypy1_9(-),-python_single_target_pypy2_0(-)] test? ( dev-python/nose-cover3[python_targets_python2_7(-)?,python_targets_python3_1(-)?,python_targets_python3_2(-)?,python_targets_pypy1_9(-)?,python_targets_pypy2_0(-)?,-python_single_target_python2_7(-),-python_single_target_python3_1(-),-python_single_target_python3_2(-),-python_single_target_pypy1_9(-),-python_single_target_pypy2_0(-)] dev-python/mock[python_targets_python2_7(-)?,python_targets_python3_1(-)?,python_targets_python3_2(-)?,python_targets_pypy1_9(-)?,python_targets_pypy2_0(-)?,-python_single_target_python2_7(-),-python_single_target_python3_1(-),-python_single_target_python3_2(-),-python_single_target_pypy1_9(-),-python_single_target_pypy2_0(-)] dev-python/simplejson[python_targets_python2_7(-)?,-python_single_target_python2_7(-),python_targets_pypy1_9(-)?,-python_single_target_pypy1_9(-),python_targets_pypy2_0(-)?,-python_single_target_pypy2_0(-)] dev-python/anyjson[python_targets_python2_7(-)?,python_targets_python3_1(-)?,python_targets_python3_2(-)?,python_targets_pypy1_9(-)?,python_targets_pypy2_0(-)?,-python_single_target_python2_7(-),-python_single_target_python3_1(-),-python_single_target_python3_2(-),-python_single_target_pypy1_9(-),-python_single_target_pypy2_0(-)] dev-python/redis-py[python_targets_python2_7(-)?,python_targets_python3_1(-)?,python_targets_python3_2(-)?,python_targets_pypy1_9(-)?,python_targets_pypy2_0(-)?,-python_single_target_python2_7(-),-python_single_target_python3_1(-),-python_single_target_python3_2(-),-python_single_target_pypy1_9(-),-python_single_target_pypy2_0(-)] dev-python/pymongo[python_targets_python2_7(-)?,-python_single_target_python2_7(-),python_targets_pypy1_9(-)?,-python_single_target_pypy1_9(-),python_targets_pypy2_0(-)?,-python_single_target_pypy2_0(-)] dev-python/msgpack[python_targets_python2_7(-)?,-python_single_target_python2_7(-),python_targets_python3_1(-)?,-python_single_target_python3_1(-),python_targets_python3_2(-)?,-python_single_target_python3_2(-)] ) doc? ( dev-python/sphinx[python_targets_python2_7(-)?,python_targets_python3_1(-)?,python_targets_python3_2(-)?,python_targets_pypy1_9(-)?,python_targets_pypy2_0(-)?,-python_single_target_python2_7(-),-python_single_target_python3_1(-),-python_single_target_python3_2(-),-python_single_target_pypy1_9(-),-python_single_target_pypy2_0(-)] dev-python/django[python_targets_python2_7(-)?,-python_single_target_python2_7(-),python_targets_python3_2(-)?,-python_single_target_python3_2(-)] dev-python/beanstalkc[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/couchdb-python[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) dev-python/setuptools[python_targets_python2_7(-)?,python_targets_python3_1(-)?,python_targets_python3_2(-)?,python_targets_pypy1_9(-)?,python_targets_pypy2_0(-)?,-python_single_target_python2_7(-),-python_single_target_python3_1(-),-python_single_target_python3_2(-),-python_single_target_pypy1_9(-),-python_single_target_pypy2_0(-)] python_targets_python2_7? ( dev-lang/python:2.7 ) python_targets_python3_1? ( dev-lang/python:3.1 ) python_targets_python3_2? ( dev-lang/python:3.2 ) python_targets_pypy1_9? ( dev-python/pypy:1.9 ) python_targets_pypy2_0? ( dev-python/pypy:2.0 ) dev-python/python-exec[python_targets_python2_7(-)?,python_targets_python3_1(-)?,python_targets_python3_2(-)?,python_targets_pypy1_9(-)?,python_targets_pypy2_0(-)?,-python_single_target_python2_7(-),-python_single_target_python3_1(-),-python_single_target_python3_2(-),-python_single_target_pypy1_9(-),-python_single_target_pypy2_0(-)]
|
||||
DEPEND=>=dev-python/anyjson-0.3.3[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)] >=dev-python/py-amqp-1.0.6[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)] amqplib? ( >=dev-python/amqplib-1.0.2[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)] ) test? ( dev-python/nose-cover3[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)] >=dev-python/mock-0.7[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)] dev-python/django[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)] >=dev-python/anyjson-0.3.3[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)] dev-python/redis-py[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)] dev-python/pymongo[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/msgpack[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)] ) doc? ( dev-python/sphinx[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)] dev-python/django[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)] dev-python/beanstalkc[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/couchdb-python[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) dev-python/setuptools[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)] python_targets_python2_7? ( dev-lang/python:2.7 ) python_targets_python3_2? ( dev-lang/python:3.2 ) python_targets_python3_3? ( dev-lang/python:3.3 ) dev-python/python-exec[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)]
|
||||
DESCRIPTION=AMQP Messaging Framework for Python
|
||||
EAPI=5
|
||||
HOMEPAGE=http://pypi.python.org/pypi/kombu https://github.com/celery/kombu
|
||||
IUSE=amqplib doc examples test python_targets_python2_7 python_targets_python3_1 python_targets_python3_2 python_targets_pypy1_9 python_targets_pypy2_0
|
||||
IUSE=amqplib doc examples test python_targets_python2_7 python_targets_python3_2 python_targets_python3_3
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=BSD
|
||||
RDEPEND=>=dev-python/anyjson-0.3.3[python_targets_python2_7(-)?,python_targets_python3_1(-)?,python_targets_python3_2(-)?,python_targets_pypy1_9(-)?,python_targets_pypy2_0(-)?,-python_single_target_python2_7(-),-python_single_target_python3_1(-),-python_single_target_python3_2(-),-python_single_target_pypy1_9(-),-python_single_target_pypy2_0(-)] amqplib? ( >=dev-python/amqplib-1.0.2[python_targets_python2_7(-)?,python_targets_python3_1(-)?,python_targets_python3_2(-)?,python_targets_pypy1_9(-)?,python_targets_pypy2_0(-)?,-python_single_target_python2_7(-),-python_single_target_python3_1(-),-python_single_target_python3_2(-),-python_single_target_pypy1_9(-),-python_single_target_pypy2_0(-)] ) >=dev-python/py-amqp-1.0.6[python_targets_python2_7(-)?,python_targets_python3_1(-)?,python_targets_python3_2(-)?,python_targets_pypy1_9(-)?,python_targets_pypy2_0(-)?,-python_single_target_python2_7(-),-python_single_target_python3_1(-),-python_single_target_python3_2(-),-python_single_target_pypy1_9(-),-python_single_target_pypy2_0(-)] python_targets_python2_7? ( dev-lang/python:2.7 ) python_targets_python3_1? ( dev-lang/python:3.1 ) python_targets_python3_2? ( dev-lang/python:3.2 ) python_targets_pypy1_9? ( dev-python/pypy:1.9 ) python_targets_pypy2_0? ( dev-python/pypy:2.0 ) dev-python/python-exec[python_targets_python2_7(-)?,python_targets_python3_1(-)?,python_targets_python3_2(-)?,python_targets_pypy1_9(-)?,python_targets_pypy2_0(-)?,-python_single_target_python2_7(-),-python_single_target_python3_1(-),-python_single_target_python3_2(-),-python_single_target_pypy1_9(-),-python_single_target_pypy2_0(-)]
|
||||
RESTRICT=test
|
||||
RDEPEND=>=dev-python/anyjson-0.3.3[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)] >=dev-python/py-amqp-1.0.6[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)] amqplib? ( >=dev-python/amqplib-1.0.2[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)] ) python_targets_python2_7? ( dev-lang/python:2.7 ) python_targets_python3_2? ( dev-lang/python:3.2 ) python_targets_python3_3? ( dev-lang/python:3.3 ) dev-python/python-exec[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-)]
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/k/kombu/kombu-2.5.10.tar.gz
|
||||
_eclasses_=distutils-r1 28f569122728e4a4b52d45c00fc45fff eutils 384ae111f3649d456ed1754e3e1c4f6e multibuild 32fd04fe3ee97494341710886fd70dfe multilib 892e597faee02a5b94eb02ab512e7622 multiprocessing a2130e6fc4aa4c6a24b265ca0cbcc2b6 python-r1 052a2872c3d341495152eb93212374e9 python-utils-r1 1abc4a4828358a8fc1c4d65e74ae4a19 toolchain-funcs 69a2016af67775a812f4c03ba4b0e03e user d0a4d0735a6c0183d707ca919bd72f28
|
||||
_md5_=ca44e8ae84f8514587a9332e44c98c55
|
||||
_md5_=0ced8865e4d000c9450729554dddcd0c
|
||||
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare setup test unpack
|
||||
DEPEND=ruby_targets_ruby18? ( dev-lang/ruby:1.8 ) ruby_targets_ruby19? ( dev-lang/ruby:1.9 ) ruby_targets_ruby18? ( test? ( dev-ruby/rake[ruby_targets_ruby18] ) ) ruby_targets_ruby19? ( test? ( dev-ruby/rake[ruby_targets_ruby19] ) ) ruby_targets_ruby18? ( virtual/rubygems[ruby_targets_ruby18] ) ruby_targets_ruby19? ( virtual/rubygems[ruby_targets_ruby19] ) test? ( ruby_targets_ruby18? ( virtual/rubygems[ruby_targets_ruby18] ) ruby_targets_ruby19? ( virtual/rubygems[ruby_targets_ruby19] ) )
|
||||
DESCRIPTION=An atomic reference implementation for JRuby, Rubinius, and MRI
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/headius/ruby-atomic
|
||||
IUSE=elibc_FreeBSD ruby_targets_ruby18 ruby_targets_ruby19 test test
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=ruby_targets_ruby18? ( dev-lang/ruby:1.8 ) ruby_targets_ruby19? ( dev-lang/ruby:1.9 ) ruby_targets_ruby18? ( virtual/rubygems[ruby_targets_ruby18] ) ruby_targets_ruby19? ( virtual/rubygems[ruby_targets_ruby19] )
|
||||
REQUIRED_USE=|| ( ruby_targets_ruby18 ruby_targets_ruby19 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://rubygems/atomic-1.1.8.gem
|
||||
_eclasses_=eutils 384ae111f3649d456ed1754e3e1c4f6e java-utils-2 52b7cfbf4f7225fcea7e7f18b6d83328 multilib 892e597faee02a5b94eb02ab512e7622 ruby-fakegem d2a1d4e0903b29b09c892b21b79fcf46 ruby-ng 10ca07a887e226622062d89bb959a175 toolchain-funcs 69a2016af67775a812f4c03ba4b0e03e user d0a4d0735a6c0183d707ca919bd72f28 versionator 6601b4c5b3f019a993db59a50e1854e4
|
||||
_md5_=ac401886144768801433c4a15e9033b8
|
@ -1,13 +1,13 @@
|
||||
DEFINED_PHASES=configure install postinst prepare test
|
||||
DEPEND=!static? ( acl? ( sys-apps/acl ) caps? ( sys-libs/libcap ) gmp? ( dev-libs/gmp ) xattr? ( !userland_BSD? ( sys-apps/attr ) ) ) selinux? ( sys-libs/libselinux ) nls? ( >=sys-devel/gettext-0.15 ) !app-misc/realpath !<sys-apps/util-linux-2.13 !sys-apps/stat !net-mail/base64 !sys-apps/mktemp !<app-forensics/tct-1.18-r1 !<net-fs/netatalk-2.0.3-r4 !<sci-chemistry/ccp4-6.1.1 static? ( acl? ( sys-apps/acl[static-libs] ) caps? ( sys-libs/libcap ) gmp? ( dev-libs/gmp[static-libs] ) xattr? ( !userland_BSD? ( sys-apps/attr[static-libs] ) ) ) app-arch/xz-utils
|
||||
DEPEND=!static? ( acl? ( sys-apps/acl ) caps? ( sys-libs/libcap ) gmp? ( dev-libs/gmp ) xattr? ( !userland_BSD? ( sys-apps/attr ) ) ) selinux? ( sys-libs/libselinux ) nls? ( virtual/libintl ) !app-misc/realpath !<sys-apps/util-linux-2.13 !sys-apps/stat !net-mail/base64 !sys-apps/mktemp !<app-forensics/tct-1.18-r1 !<net-fs/netatalk-2.0.3-r4 !<sci-chemistry/ccp4-6.1.1 static? ( acl? ( sys-apps/acl[static-libs] ) caps? ( sys-libs/libcap ) gmp? ( dev-libs/gmp[static-libs] ) xattr? ( !userland_BSD? ( sys-apps/attr[static-libs] ) ) ) app-arch/xz-utils
|
||||
DESCRIPTION=Standard GNU file utilities (chmod, cp, dd, dir, ls...), text utilities (sort, tr, head, wc..), and shell utilities (whoami, who,...)
|
||||
EAPI=3
|
||||
HOMEPAGE=http://www.gnu.org/software/coreutils/
|
||||
IUSE=acl caps gmp nls selinux static userland_BSD vanilla xattr
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~arm-linux ~x86-linux
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=!static? ( acl? ( sys-apps/acl ) caps? ( sys-libs/libcap ) gmp? ( dev-libs/gmp ) xattr? ( !userland_BSD? ( sys-apps/attr ) ) ) selinux? ( sys-libs/libselinux ) nls? ( >=sys-devel/gettext-0.15 ) !app-misc/realpath !<sys-apps/util-linux-2.13 !sys-apps/stat !net-mail/base64 !sys-apps/mktemp !<app-forensics/tct-1.18-r1 !<net-fs/netatalk-2.0.3-r4 !<sci-chemistry/ccp4-6.1.1
|
||||
RDEPEND=!static? ( acl? ( sys-apps/acl ) caps? ( sys-libs/libcap ) gmp? ( dev-libs/gmp ) xattr? ( !userland_BSD? ( sys-apps/attr ) ) ) selinux? ( sys-libs/libselinux ) nls? ( virtual/libintl ) !app-misc/realpath !<sys-apps/util-linux-2.13 !sys-apps/stat !net-mail/base64 !sys-apps/mktemp !<app-forensics/tct-1.18-r1 !<net-fs/netatalk-2.0.3-r4 !<sci-chemistry/ccp4-6.1.1
|
||||
SLOT=0
|
||||
SRC_URI=mirror://gnu-alpha/coreutils/coreutils-8.21.tar.xz mirror://gnu/coreutils/coreutils-8.21.tar.xz mirror://gentoo/coreutils-8.21.tar.xz mirror://gentoo/coreutils-8.21-patches-1.0.tar.xz http://dev.gentoo.org/~vapier/dist/coreutils-8.21-patches-1.0.tar.xz mirror://gentoo/coreutils-8.21-man.tar.xz http://dev.gentoo.org/~vapier/dist/coreutils-8.21-man.tar.xz
|
||||
_eclasses_=eutils 384ae111f3649d456ed1754e3e1c4f6e flag-o-matic d900015de4e092f26d8c0a18b6bd60de multilib 892e597faee02a5b94eb02ab512e7622 toolchain-funcs 69a2016af67775a812f4c03ba4b0e03e user d0a4d0735a6c0183d707ca919bd72f28
|
||||
_md5_=cb20d72250693eaf573286f7e31620db
|
||||
_md5_=fb3179939e04471b34cda2b197cc021b
|
||||
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile install unpack
|
||||
DEPEND=gpm? ( sys-libs/gpm )
|
||||
DESCRIPTION=console display library
|
||||
EAPI=1
|
||||
HOMEPAGE=http://www.gnu.org/software/ncurses/ http://dickey.his.com/ncurses/
|
||||
IUSE=ada +cxx debug doc gpm minimal profile static-libs tinfo trace unicode
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd
|
||||
LICENSE=MIT
|
||||
RDEPEND=gpm? ( sys-libs/gpm ) !<x11-terms/rxvt-unicode-9.06-r3
|
||||
SLOT=5
|
||||
SRC_URI=mirror://gnu/ncurses/ncurses-5.9.tar.gz
|
||||
_eclasses_=eutils 384ae111f3649d456ed1754e3e1c4f6e flag-o-matic d900015de4e092f26d8c0a18b6bd60de multilib 892e597faee02a5b94eb02ab512e7622 toolchain-funcs 69a2016af67775a812f4c03ba4b0e03e user d0a4d0735a6c0183d707ca919bd72f28
|
||||
_md5_=f4b065a8f848694aa423b39be698e6c2
|
@ -0,0 +1,11 @@
|
||||
DEFINED_PHASES=install postinst setup
|
||||
DESCRIPTION=IRQ microcode for r6xx/r7xx/Evergreen/N.Islands/S.Islands Radeon GPUs and APUs
|
||||
EAPI=5
|
||||
HOMEPAGE=http://people.freedesktop.org/~agd5f/radeon_ucode/
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=radeon-ucode
|
||||
RDEPEND=!sys-kernel/linux-firmware[-savedconfig]
|
||||
SLOT=0
|
||||
SRC_URI=mirror://gentoo/radeon-ucode-20130411.tar.xz
|
||||
_eclasses_=eutils 384ae111f3649d456ed1754e3e1c4f6e linux-info dd8fdcccc30f117673b4cba4ed4f74a7 multilib 892e597faee02a5b94eb02ab512e7622 toolchain-funcs 69a2016af67775a812f4c03ba4b0e03e user d0a4d0735a6c0183d707ca919bd72f28 versionator 6601b4c5b3f019a993db59a50e1854e4
|
||||
_md5_=883e16cf63a2521353be5ed55d3a84d8
|
@ -1 +1 @@
|
||||
Sat, 27 Apr 2013 23:36:59 +0000
|
||||
Sun, 28 Apr 2013 07:06:56 +0000
|
||||
|
@ -1 +1 @@
|
||||
Sat Apr 27 23:36:57 UTC 2013
|
||||
Sun Apr 28 07:06:54 UTC 2013
|
||||
|
@ -1 +1 @@
|
||||
Sun, 28 Apr 2013 00:00:01 +0000
|
||||
Sun, 28 Apr 2013 07:30:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
1367105701 Sat Apr 27 23:35:01 2013 UTC
|
||||
1367132701 Sun Apr 28 07:05:01 2013 UTC
|
||||
|
@ -0,0 +1,15 @@
|
||||
fix from upstream
|
||||
|
||||
https://bugs.gentoo.org/462116
|
||||
|
||||
--- a/include/curses.h.in
|
||||
+++ b/include/curses.h.in
|
||||
@@ -154,7 +154,7 @@ typedef unsigned @cf_cv_typeof_mmask_t@ mmask_t;
|
||||
* conflicting) when _XOPEN_SOURCE is 500 or greater.
|
||||
*/
|
||||
#undef NCURSES_WIDECHAR
|
||||
-#if defined(_XOPEN_SOURCE_EXTENDED) || defined(_XPG5)
|
||||
+#if defined(_XOPEN_SOURCE_EXTENDED) || (defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE - 0 >= 500))
|
||||
#define NCURSES_WIDECHAR
|
||||
#endif
|
||||
|
@ -0,0 +1,182 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ncurses-5.9-r3.ebuild,v 1.1 2013/04/28 00:56:50 vapier Exp $
|
||||
|
||||
EAPI="1"
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
MY_PV=${PV:0:3}
|
||||
PV_SNAP=${PV:4}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
DESCRIPTION="console display library"
|
||||
HOMEPAGE="http://www.gnu.org/software/ncurses/ http://dickey.his.com/ncurses/"
|
||||
SRC_URI="mirror://gnu/ncurses/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="5"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="ada +cxx debug doc gpm minimal profile static-libs tinfo trace unicode"
|
||||
|
||||
DEPEND="gpm? ( sys-libs/gpm )"
|
||||
# berkdb? ( sys-libs/db )"
|
||||
RDEPEND="${DEPEND}
|
||||
!<x11-terms/rxvt-unicode-9.06-r3"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
[[ -n ${PV_SNAP} ]] && epatch "${WORKDIR}"/${MY_P}-${PV_SNAP}-patch.sh
|
||||
epatch "${FILESDIR}"/${PN}-5.8-gfbsd.patch
|
||||
epatch "${FILESDIR}"/${PN}-5.7-nongnu.patch
|
||||
epatch "${FILESDIR}"/${PN}-5.9-rxvt-unicode-9.15.patch #192083 #383871
|
||||
epatch "${FILESDIR}"/${PN}-5.9-fix-clang-build.patch #417763
|
||||
epatch "${FILESDIR}"/${PN}-5.9-xopen-source.patch #462116
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
unset TERMINFO #115036
|
||||
tc-export_build_env BUILD_{CC,CPP}
|
||||
BUILD_CPPFLAGS+=" -D_GNU_SOURCE" #214642
|
||||
|
||||
# when cross-compiling, we need to build up our own tic
|
||||
# because people often don't keep matching host/target
|
||||
# ncurses versions #249363
|
||||
if tc-is-cross-compiler && ! ROOT=/ has_version ~sys-libs/${P} ; then
|
||||
make_flags="-C progs tic"
|
||||
CHOST=${CBUILD} \
|
||||
CFLAGS=${BUILD_CFLAGS} \
|
||||
CXXFLAGS=${BUILD_CXXFLAGS} \
|
||||
CPPFLAGS=${BUILD_CPPFLAGS} \
|
||||
LDFLAGS="${BUILD_LDFLAGS} -static" \
|
||||
do_compile cross --without-shared --with-normal
|
||||
fi
|
||||
|
||||
make_flags=""
|
||||
do_compile narrowc
|
||||
use unicode && do_compile widec --enable-widec --includedir=/usr/include/ncursesw
|
||||
}
|
||||
do_compile() {
|
||||
ECONF_SOURCE=${S}
|
||||
|
||||
mkdir "${WORKDIR}"/$1
|
||||
cd "${WORKDIR}"/$1
|
||||
shift
|
||||
|
||||
# ncurses is dumb and doesn't install .pc files unless pkg-config
|
||||
# is also installed. Force the tests to go our way. Note that it
|
||||
# doesn't actually use pkg-config ... it just looks for set vars.
|
||||
tc-export PKG_CONFIG
|
||||
export PKG_CONFIG_LIBDIR="/usr/$(get_libdir)/pkgconfig"
|
||||
|
||||
# The chtype/mmask-t settings below are to retain ABI compat
|
||||
# with ncurses-5.4 so dont change em !
|
||||
local conf_abi="
|
||||
--with-chtype=long \
|
||||
--with-mmask-t=long \
|
||||
--disable-ext-colors \
|
||||
--disable-ext-mouse \
|
||||
--without-pthread \
|
||||
--without-reentrant \
|
||||
"
|
||||
# We need the basic terminfo files in /etc, bug #37026. We will
|
||||
# add '--with-terminfo-dirs' and then populate /etc/terminfo in
|
||||
# src_install() ...
|
||||
# $(use_with berkdb hashed-db)
|
||||
econf \
|
||||
--with-terminfo-dirs="/etc/terminfo:/usr/share/terminfo" \
|
||||
--with-shared \
|
||||
--without-hashed-db \
|
||||
$(use_with ada) \
|
||||
$(use_with cxx) \
|
||||
$(use_with cxx cxx-binding) \
|
||||
$(use_with debug) \
|
||||
$(use_with profile) \
|
||||
$(use_with gpm) \
|
||||
--disable-termcap \
|
||||
--enable-symlinks \
|
||||
--with-rcs-ids \
|
||||
--with-manpage-format=normal \
|
||||
--enable-const \
|
||||
--enable-colorfgbg \
|
||||
--enable-echo \
|
||||
--enable-pc-files \
|
||||
$(use_enable !ada warnings) \
|
||||
$(use_with debug assertions) \
|
||||
$(use_enable debug leaks) \
|
||||
$(use_with debug expanded) \
|
||||
$(use_with !debug macros) \
|
||||
$(use_with trace) \
|
||||
$(use_with tinfo termlib) \
|
||||
${conf_abi} \
|
||||
"$@"
|
||||
|
||||
# A little hack to fix parallel builds ... they break when
|
||||
# generating sources so if we generate the sources first (in
|
||||
# non-parallel), we can then build the rest of the package
|
||||
# in parallel. This is not really a perf hit since the source
|
||||
# generation is quite small.
|
||||
emake -j1 sources || die
|
||||
# For some reason, sources depends on pc-files which depends on
|
||||
# compiled libraries which depends on sources which ...
|
||||
# Manually delete the pc-files file so the install step will
|
||||
# create the .pc files we want.
|
||||
rm -f misc/pc-files
|
||||
emake ${make_flags} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# use the cross-compiled tic (if need be) #249363
|
||||
export PATH=${WORKDIR}/cross/progs:${PATH}
|
||||
|
||||
# install unicode version second so that the binaries in /usr/bin
|
||||
# support both wide and narrow
|
||||
cd "${WORKDIR}"/narrowc
|
||||
emake DESTDIR="${D}" install || die
|
||||
if use unicode ; then
|
||||
cd "${WORKDIR}"/widec
|
||||
emake DESTDIR="${D}" install || die
|
||||
fi
|
||||
|
||||
# Move libncurses{,w} into /lib
|
||||
gen_usr_ldscript -a \
|
||||
ncurses \
|
||||
$(usex unicode 'ncursesw' '') \
|
||||
$(use tinfo && usex unicode 'tinfow' '') \
|
||||
$(usev tinfo)
|
||||
ln -sf libncurses.so "${D}"/usr/$(get_libdir)/libcurses.so || die
|
||||
use static-libs || find "${D}"/usr/ -name '*.a' -a '!' -name '*curses++*.a' -delete
|
||||
|
||||
# if ! use berkdb ; then
|
||||
# We need the basic terminfo files in /etc, bug #37026
|
||||
einfo "Installing basic terminfo files in /etc..."
|
||||
for x in ansi console dumb linux rxvt rxvt-unicode screen sun vt{52,100,102,200,220} \
|
||||
xterm xterm-color xterm-xfree86
|
||||
do
|
||||
local termfile=$(find "${D}"/usr/share/terminfo/ -name "${x}" 2>/dev/null)
|
||||
local basedir=$(basename $(dirname "${termfile}"))
|
||||
|
||||
if [[ -n ${termfile} ]] ; then
|
||||
dodir /etc/terminfo/${basedir}
|
||||
mv ${termfile} "${D}"/etc/terminfo/${basedir}/
|
||||
dosym ../../../../etc/terminfo/${basedir}/${x} \
|
||||
/usr/share/terminfo/${basedir}/${x}
|
||||
fi
|
||||
done
|
||||
|
||||
# Build fails to create this ...
|
||||
dosym ../share/terminfo /usr/$(get_libdir)/terminfo
|
||||
# fi
|
||||
|
||||
echo "CONFIG_PROTECT_MASK=\"/etc/terminfo\"" > "${T}"/50ncurses
|
||||
doenvd "${T}"/50ncurses
|
||||
|
||||
use minimal && rm -r "${D}"/usr/share/terminfo*
|
||||
# Because ncurses5-config --terminfo returns the directory we keep it
|
||||
keepdir /usr/share/terminfo #245374
|
||||
|
||||
cd "${S}"
|
||||
dodoc ANNOUNCE MANIFEST NEWS README* TO-DO doc/*.doc
|
||||
use doc && dohtml -r doc/html/
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/x11-drivers/radeon-ucode/radeon-ucode-20130411.ebuild,v 1.1 2013/04/28 02:00:11 chithanh Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit linux-info
|
||||
|
||||
DESCRIPTION="IRQ microcode for r6xx/r7xx/Evergreen/N.Islands/S.Islands Radeon GPUs and APUs"
|
||||
HOMEPAGE="http://people.freedesktop.org/~agd5f/radeon_ucode/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.xz"
|
||||
|
||||
LICENSE="radeon-ucode"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!sys-kernel/linux-firmware[-savedconfig]"
|
||||
|
||||
S=${WORKDIR}/${PN/-/_}
|
||||
|
||||
src_install() {
|
||||
insinto /lib/firmware/radeon
|
||||
FILES=( *.bin )
|
||||
doins ${FILES[@]} || die "doins failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if linux_config_exists && linux_chkconfig_builtin DRM_RADEON; then
|
||||
if ! linux_chkconfig_present FIRMWARE_IN_KERNEL || \
|
||||
! [[ "$(linux_chkconfig_string EXTRA_FIRMWARE)" == *_rlc.bin* ]]; then
|
||||
ewarn "Your kernel has radeon DRM built-in but not the IRQ microcode."
|
||||
ewarn "For kernel modesetting to work, please set in kernel config"
|
||||
ewarn "CONFIG_FIRMWARE_IN_KERNEL=y"
|
||||
ewarn "CONFIG_EXTRA_FIRMWARE_DIR=\"/lib/firmware\""
|
||||
ewarn "CONFIG_EXTRA_FIRMWARE=\"${FILES[@]/#/radeon/}\""
|
||||
ewarn "You may skip microcode files for which no hardware is installed."
|
||||
ewarn "More information at http://wiki.x.org/wiki/radeonBuildHowTo and"
|
||||
ewarn "http://www.gentoo.org/doc/en/xorg-config.xml"
|
||||
fi
|
||||
fi
|
||||
}
|
Loading…
Reference in new issue