parent
07512d203c
commit
664851859b
@ -1,2 +1 @@
|
||||
DIST collectd-5.0.2.tar.bz2 1313812 RMD160 b0e5470111ec8c0a4c336f7457ef70b8dca738af SHA1 d52d7cedb9d14d030a03107a7e2f0f66e81262d6 SHA256 65c1a0dcea7eca65acb4a52dfae62ed6dba488089d7710ca5ff1cc4225a59dcb
|
||||
DIST collectd-5.1.0.tar.bz2 1305538 RMD160 31d211b14086edbcbd8c8c9081ec07201310c62d SHA1 77545833b77a03ec02219bfb925e6a1f3463ddef SHA256 521d4be7df5bc1124b7b9ea88227e95839a5f7c1b704a5bde0f60f058ec6eecb
|
||||
|
@ -1,64 +0,0 @@
|
||||
diff --git a/src/varnish.c b/src/varnish.c
|
||||
index 859df21..37fd4bb 100644
|
||||
--- a/src/varnish.c
|
||||
+++ b/src/varnish.c
|
||||
@@ -307,9 +307,9 @@ static void varnish_monitor (const user_config_t *conf, struct varnish_stats *VS
|
||||
/* outstanding allocations */
|
||||
varnish_submit_gauge (conf->instance, "sm", "requests", "outstanding", VSL_stats->sm_nobj);
|
||||
/* bytes allocated */
|
||||
- varnish_submit_gauge (conf->instance, "sm", "total_bytes", "allocated", VSL_stats->sm_balloc);
|
||||
+ varnish_submit_derive (conf->instance, "sm", "total_bytes", "allocated", VSL_stats->sm_balloc);
|
||||
/* bytes free */
|
||||
- varnish_submit_gauge (conf->instance, "sm", "total_bytes", "free", VSL_stats->sm_bfree);
|
||||
+ varnish_submit_derive (conf->instance, "sm", "total_bytes", "free", VSL_stats->sm_bfree);
|
||||
}
|
||||
|
||||
if (conf->collect_sma)
|
||||
@@ -321,9 +321,9 @@ static void varnish_monitor (const user_config_t *conf, struct varnish_stats *VS
|
||||
/* SMA outstanding bytes */
|
||||
varnish_submit_gauge (conf->instance, "sma", "bytes", "outstanding", VSL_stats->sma_nbytes);
|
||||
/* SMA bytes allocated */
|
||||
- varnish_submit_gauge (conf->instance, "sma", "total_bytes", "allocated", VSL_stats->sma_balloc);
|
||||
+ varnish_submit_derive (conf->instance, "sma", "total_bytes", "allocated", VSL_stats->sma_balloc);
|
||||
/* SMA bytes free */
|
||||
- varnish_submit_gauge (conf->instance, "sma", "total_bytes", "free" , VSL_stats->sma_bfree);
|
||||
+ varnish_submit_derive (conf->instance, "sma", "total_bytes", "free" , VSL_stats->sma_bfree);
|
||||
}
|
||||
|
||||
if (conf->collect_sms)
|
||||
@@ -335,9 +335,9 @@ static void varnish_monitor (const user_config_t *conf, struct varnish_stats *VS
|
||||
/* SMS outstanding bytes */
|
||||
varnish_submit_gauge (conf->instance, "sms", "bytes", "outstanding", VSL_stats->sms_nbytes);
|
||||
/* SMS bytes allocated */
|
||||
- varnish_submit_gauge (conf->instance, "sms", "total_bytes", "allocated", VSL_stats->sms_balloc);
|
||||
+ varnish_submit_derive (conf->instance, "sms", "total_bytes", "allocated", VSL_stats->sms_balloc);
|
||||
/* SMS bytes freed */
|
||||
- varnish_submit_gauge (conf->instance, "sms", "total_bytes", "free", VSL_stats->sms_bfree);
|
||||
+ varnish_submit_derive (conf->instance, "sms", "total_bytes", "free", VSL_stats->sms_bfree);
|
||||
}
|
||||
|
||||
if (conf->collect_totals)
|
||||
@@ -363,17 +363,17 @@ static void varnish_monitor (const user_config_t *conf, struct varnish_stats *VS
|
||||
/* worker threads */
|
||||
varnish_submit_gauge (conf->instance, "workers", "threads", "worker", VSL_stats->n_wrk);
|
||||
/* worker threads created */
|
||||
- varnish_submit_gauge (conf->instance, "workers", "total_threads", "created", VSL_stats->n_wrk_create);
|
||||
+ varnish_submit_derive (conf->instance, "workers", "total_threads", "created", VSL_stats->n_wrk_create);
|
||||
/* worker threads not created */
|
||||
- varnish_submit_gauge (conf->instance, "workers", "total_threads", "failed", VSL_stats->n_wrk_failed);
|
||||
+ varnish_submit_derive (conf->instance, "workers", "total_threads", "failed", VSL_stats->n_wrk_failed);
|
||||
/* worker threads limited */
|
||||
- varnish_submit_gauge (conf->instance, "workers", "total_threads", "limited", VSL_stats->n_wrk_max);
|
||||
+ varnish_submit_derive (conf->instance, "workers", "total_threads", "limited", VSL_stats->n_wrk_max);
|
||||
/* queued work requests */
|
||||
- varnish_submit_gauge (conf->instance, "workers", "total_requests", "queued", VSL_stats->n_wrk_queue);
|
||||
+ varnish_submit_derive (conf->instance, "workers", "total_requests", "queued", VSL_stats->n_wrk_queue);
|
||||
/* overflowed work requests */
|
||||
- varnish_submit_gauge (conf->instance, "workers", "total_requests", "overflowed", VSL_stats->n_wrk_overflow);
|
||||
+ varnish_submit_derive (conf->instance, "workers", "total_requests", "overflowed", VSL_stats->n_wrk_overflow);
|
||||
/* dropped work requests */
|
||||
- varnish_submit_gauge (conf->instance, "workers", "total_requests", "dropped", VSL_stats->n_wrk_drop);
|
||||
+ varnish_submit_derive (conf->instance, "workers", "total_requests", "dropped", VSL_stats->n_wrk_drop);
|
||||
}
|
||||
} /* }}} void varnish_monitor */
|
||||
|
@ -1,19 +0,0 @@
|
||||
X-Git-Url: https://collectd.org/gerrit/gitweb?p=collectd.git;a=blobdiff_plain;f=src%2Fcurl_json.c;h=857e276bb585e16a9f872d4863f43e86c20d1e2d;hp=988ed58df3442459d23ef25b20894df6f82ae21e;hb=0471475841a912322c50200c5fb7a45b790ad576;hpb=4b962d32365228d8984759d36269904527927cf3
|
||||
|
||||
diff --git a/src/curl_json.c b/src/curl_json.c
|
||||
index 988ed58..857e276 100644
|
||||
--- a/src/curl_json.c
|
||||
+++ b/src/curl_json.c
|
||||
@@ -763,7 +763,11 @@ static int cj_curl_perform (cj_t *db, CURL *curl) /* {{{ */
|
||||
return (-1);
|
||||
}
|
||||
|
||||
- status = yajl_parse_complete (db->yajl);
|
||||
+#if HAVE_YAJL_V2
|
||||
+ status = yajl_complete_parse(db->yajl);
|
||||
+#else
|
||||
+ status = yajl_parse_complete(db->yajl);
|
||||
+#endif
|
||||
if (status != yajl_status_ok)
|
||||
{
|
||||
unsigned char *errmsg;
|
@ -1,125 +0,0 @@
|
||||
diff -ruN collectd-5.0.0.orig/configure.in collectd-5.0.0/configure.in
|
||||
--- collectd-5.0.0.orig/configure.in 2011-03-27 18:35:08.000000000 +0200
|
||||
+++ collectd-5.0.0/configure.in 2011-07-18 11:56:01.053544558 +0200
|
||||
@@ -3863,6 +3863,7 @@
|
||||
CPPFLAGS="$CPPFLAGS $with_libyajl_cppflags"
|
||||
|
||||
AC_CHECK_HEADERS(yajl/yajl_parse.h, [with_libyajl="yes"], [with_libyajl="no (yajl/yajl_parse.h not found)"])
|
||||
+ AC_CHECK_HEADERS(yajl/yajl_version.h)
|
||||
|
||||
CPPFLAGS="$SAVE_CPPFLAGS"
|
||||
fi
|
||||
diff -ruN collectd-5.0.0.orig/src/curl_json.c collectd-5.0.0/src/curl_json.c
|
||||
--- collectd-5.0.0.orig/src/curl_json.c 2011-03-27 18:35:08.000000000 +0200
|
||||
+++ collectd-5.0.0/src/curl_json.c 2011-07-18 12:03:00.741544705 +0200
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* collectd - src/curl_json.c
|
||||
* Copyright (C) 2009 Doug MacEachern
|
||||
- * Copyright (C) 2006-2010 Florian octo Forster
|
||||
+ * Copyright (C) 2006-2011 Florian octo Forster
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
@@ -18,7 +18,7 @@
|
||||
*
|
||||
* Authors:
|
||||
* Doug MacEachern <dougm at hyperic.com>
|
||||
- * Florian octo Forster <octo at verplant.org>
|
||||
+ * Florian octo Forster <octo at collectd.org>
|
||||
**/
|
||||
|
||||
#include "collectd.h"
|
||||
@@ -29,6 +29,13 @@
|
||||
|
||||
#include <curl/curl.h>
|
||||
#include <yajl/yajl_parse.h>
|
||||
+#if HAVE_YAJL_YAJL_VERSION_H
|
||||
+# include <yajl/yajl_version.h>
|
||||
+#endif
|
||||
+
|
||||
+#if defined(YAJL_MAJOR) && (YAJL_MAJOR > 1)
|
||||
+# define HAVE_YAJL_V2 1
|
||||
+#endif
|
||||
|
||||
#define CJ_DEFAULT_HOST "localhost"
|
||||
#define CJ_KEY_MAGIC 0x43484b59UL /* CHKY */
|
||||
@@ -77,6 +84,12 @@
|
||||
};
|
||||
typedef struct cj_s cj_t; /* }}} */
|
||||
|
||||
+#if HAVE_YAJL_V2
|
||||
+typedef size_t yajl_len_t;
|
||||
+#else
|
||||
+typedef unsigned int yajl_len_t;
|
||||
+#endif
|
||||
+
|
||||
static int cj_read (user_data_t *ud);
|
||||
static int cj_curl_perform (cj_t *db, CURL *curl);
|
||||
static void cj_submit (cj_t *db, cj_key_t *key, value_t *value);
|
||||
@@ -98,8 +111,21 @@
|
||||
return (0);
|
||||
|
||||
status = yajl_parse(db->yajl, (unsigned char *)buf, len);
|
||||
- if ((status != yajl_status_ok)
|
||||
- && (status != yajl_status_insufficient_data))
|
||||
+ if (status == yajl_status_ok)
|
||||
+ {
|
||||
+#if HAVE_YAJL_V2
|
||||
+ status = yajl_complete_parse(db->yajl);
|
||||
+#else
|
||||
+ status = yajl_parse_complete(db->yajl);
|
||||
+#endif
|
||||
+ return (len);
|
||||
+ }
|
||||
+#if !HAVE_YAJL_V2
|
||||
+ else if (status == yajl_status_insufficient_data)
|
||||
+ return (len);
|
||||
+#endif
|
||||
+
|
||||
+ if (status != yajl_status_ok)
|
||||
{
|
||||
unsigned char *msg =
|
||||
yajl_get_error(db->yajl, /* verbose = */ 1,
|
||||
@@ -130,7 +156,7 @@
|
||||
/* "number" may not be null terminated, so copy it into a buffer before
|
||||
* parsing. */
|
||||
static int cj_cb_number (void *ctx,
|
||||
- const char *number, unsigned int number_len)
|
||||
+ const char *number, yajl_len_t number_len)
|
||||
{
|
||||
char buffer[number_len + 1];
|
||||
|
||||
@@ -159,7 +185,7 @@
|
||||
} /* int cj_cb_number */
|
||||
|
||||
static int cj_cb_map_key (void *ctx, const unsigned char *val,
|
||||
- unsigned int len)
|
||||
+ yajl_len_t len)
|
||||
{
|
||||
cj_t *db = (cj_t *)ctx;
|
||||
c_avl_tree_t *tree;
|
||||
@@ -187,7 +213,7 @@
|
||||
}
|
||||
|
||||
static int cj_cb_string (void *ctx, const unsigned char *val,
|
||||
- unsigned int len)
|
||||
+ yajl_len_t len)
|
||||
{
|
||||
cj_t *db = (cj_t *)ctx;
|
||||
char str[len + 1];
|
||||
@@ -697,7 +723,13 @@
|
||||
char *url;
|
||||
yajl_handle yprev = db->yajl;
|
||||
|
||||
- db->yajl = yajl_alloc (&ycallbacks, NULL, NULL, (void *)db);
|
||||
+ db->yajl = yajl_alloc (&ycallbacks,
|
||||
+#if HAVE_YAJL_V2
|
||||
+ /* alloc funcs = */ NULL,
|
||||
+#else
|
||||
+ /* alloc funcs = */ NULL, NULL,
|
||||
+#endif
|
||||
+ /* context = */ (void *)db);
|
||||
if (db->yajl == NULL)
|
||||
{
|
||||
ERROR ("curl_json plugin: yajl_alloc failed.");
|
@ -1,159 +0,0 @@
|
||||
--- a/external/collectd/5.0.0-r2-gen2/configure.in
|
||||
+++ a/external/collectd/5.0.0-r2-gen2/configure.in
|
||||
@@ -3959,9 +3959,17 @@ then
|
||||
CPPFLAGS="$CPPFLAGS $with_libvarnish_cflags"
|
||||
#LDFLAGS="$LDFLAGS $with_libvarnish_libs"
|
||||
|
||||
- AC_CHECK_LIB(varnishapi, VSL_OpenStats,
|
||||
+### Varnish 2 ###
|
||||
+# AC_CHECK_LIB(varnishapi, VSL_OpenStats,
|
||||
+# [with_libvarnish="yes"],
|
||||
+# [with_libvarnish="no (symbol VSL_OpenStats not found)"],
|
||||
+# [$with_libvarnish_libs])
|
||||
+
|
||||
+### Varnish 3 ###
|
||||
+# Replaced VSL_OpenStats with VSC_Main
|
||||
+ AC_CHECK_LIB(varnishapi, VSC_Main,
|
||||
[with_libvarnish="yes"],
|
||||
- [with_libvarnish="no (symbol VSL_OpenStats not found)"],
|
||||
+ [with_libvarnish="no (symbol VSC_Main not found)"],
|
||||
[$with_libvarnish_libs])
|
||||
|
||||
CPPFLAGS="$SAVE_CPPFLAGS"
|
||||
--- a/external/collectd/5.0.0-r2-gen2/src/varnish.c
|
||||
+++ a/external/collectd/5.0.0-r2-gen2/src/varnish.c
|
||||
@@ -127,12 +127,17 @@
|
||||
* esi_errors ESI parse errors (unlock) Y
|
||||
* }}}
|
||||
*/
|
||||
+// enable the Varnish 3 interface.
|
||||
+#define VARNISH3
|
||||
#include "collectd.h"
|
||||
#include "common.h"
|
||||
#include "plugin.h"
|
||||
#include "configfile.h"
|
||||
|
||||
#include <varnish/varnishapi.h>
|
||||
+#ifdef VARNISH3
|
||||
+#include <varnish/vsc.h>
|
||||
+#endif
|
||||
|
||||
/* {{{ user_config_s */
|
||||
struct user_config_s {
|
||||
@@ -204,7 +209,11 @@ static int varnish_submit_derive (const char *plugin_instance, /* {{{ */
|
||||
return (varnish_submit (plugin_instance, category, type, type_instance, value));
|
||||
} /* }}} int varnish_submit_derive */
|
||||
|
||||
+#ifdef VARNISH3
|
||||
+static void varnish_monitor (const user_config_t *conf, struct VSC_C_main *VSL_stats)
|
||||
+#else
|
||||
static void varnish_monitor (const user_config_t *conf, struct varnish_stats *VSL_stats) /* {{{ */
|
||||
+#endif
|
||||
{
|
||||
if (conf->collect_cache)
|
||||
{
|
||||
@@ -229,7 +238,11 @@ static void varnish_monitor (const user_config_t *conf, struct varnish_stats *VS
|
||||
if (conf->collect_esi)
|
||||
{
|
||||
/* Objects ESI parsed (unlock) */
|
||||
+#ifdef VARNISH3
|
||||
+ varnish_submit_derive (conf->instance, "esi", "total_operations", "warnings", VSL_stats->esi_warnings);
|
||||
+#else
|
||||
varnish_submit_derive (conf->instance, "esi", "total_operations", "parsed", VSL_stats->esi_parse);
|
||||
+#endif
|
||||
/* ESI parse errors (unlock) */
|
||||
varnish_submit_derive (conf->instance, "esi", "total_operations", "error", VSL_stats->esi_errors);
|
||||
}
|
||||
@@ -250,8 +263,13 @@ static void varnish_monitor (const user_config_t *conf, struct varnish_stats *VS
|
||||
varnish_submit_derive (conf->instance, "backend", "connections", "was-closed" , VSL_stats->backend_toolate);
|
||||
/* Backend conn. recycles */
|
||||
varnish_submit_derive (conf->instance, "backend", "connections", "recycled" , VSL_stats->backend_recycle);
|
||||
+#ifdef VARNISH3
|
||||
+ /* Backend conn. retries */
|
||||
+ varnish_submit_derive (conf->instance, "backend", "connections", "retries" , VSL_stats->backend_retry);
|
||||
+#else
|
||||
/* Backend conn. unused */
|
||||
varnish_submit_derive (conf->instance, "backend", "connections", "unused" , VSL_stats->backend_unused);
|
||||
+#endif
|
||||
}
|
||||
|
||||
if (conf->collect_fetch)
|
||||
@@ -300,6 +318,10 @@ static void varnish_monitor (const user_config_t *conf, struct varnish_stats *VS
|
||||
varnish_submit_derive (conf->instance, "shm", "total_operations", "cycles" , VSL_stats->shm_cycles);
|
||||
}
|
||||
|
||||
+#ifdef VARNISH3
|
||||
+ /* sm & sma stats seem to have gone away. The SMA stuff looks like it may
|
||||
+ have been moved into another structure somewhere else. */
|
||||
+#else
|
||||
if (conf->collect_sm)
|
||||
{
|
||||
/* allocator requests */
|
||||
@@ -325,6 +347,7 @@ static void varnish_monitor (const user_config_t *conf, struct varnish_stats *VS
|
||||
/* SMA bytes free */
|
||||
varnish_submit_derive (conf->instance, "sma", "total_bytes", "free" , VSL_stats->sma_bfree);
|
||||
}
|
||||
+#endif
|
||||
|
||||
if (conf->collect_sms)
|
||||
{
|
||||
@@ -368,10 +391,17 @@ static void varnish_monitor (const user_config_t *conf, struct varnish_stats *VS
|
||||
varnish_submit_derive (conf->instance, "workers", "total_threads", "failed", VSL_stats->n_wrk_failed);
|
||||
/* worker threads limited */
|
||||
varnish_submit_derive (conf->instance, "workers", "total_threads", "limited", VSL_stats->n_wrk_max);
|
||||
+#ifdef VARNISH3
|
||||
+ /* work requests queue length */
|
||||
+ varnish_submit_derive (conf->instance, "workers", "total_requests", "queue_length",VSL_stats->n_wrk_lqueue);
|
||||
+ /* queued work requests */
|
||||
+ varnish_submit_derive (conf->instance, "workers", "total_requests", "queued", VSL_stats->n_wrk_queued);
|
||||
+#else
|
||||
/* queued work requests */
|
||||
varnish_submit_derive (conf->instance, "workers", "total_requests", "queued", VSL_stats->n_wrk_queue);
|
||||
/* overflowed work requests */
|
||||
varnish_submit_derive (conf->instance, "workers", "total_requests", "overflowed", VSL_stats->n_wrk_overflow);
|
||||
+#endif
|
||||
/* dropped work requests */
|
||||
varnish_submit_derive (conf->instance, "workers", "total_requests", "dropped", VSL_stats->n_wrk_drop);
|
||||
}
|
||||
@@ -379,7 +409,12 @@ static void varnish_monitor (const user_config_t *conf, struct varnish_stats *VS
|
||||
|
||||
static int varnish_read (user_data_t *ud) /* {{{ */
|
||||
{
|
||||
+#ifdef VARNISH3
|
||||
+ struct VSM_data *vd;
|
||||
+ struct VSC_C_main *VSL_stats;
|
||||
+#else
|
||||
struct varnish_stats *VSL_stats;
|
||||
+#endif
|
||||
user_config_t *conf;
|
||||
|
||||
if ((ud == NULL) || (ud->data == NULL))
|
||||
@@ -387,15 +422,28 @@ static int varnish_read (user_data_t *ud) /* {{{ */
|
||||
|
||||
conf = ud->data;
|
||||
|
||||
+#ifdef VARNISH3
|
||||
+ vd = VSM_New();
|
||||
+ VSC_Setup(vd);
|
||||
+ if(conf->instance) VSM_n_Arg(vd, conf->instance);
|
||||
+ if(VSC_Open(vd, 1) || (VSL_stats = VSC_Main(vd))==NULL)
|
||||
+#else
|
||||
VSL_stats = VSL_OpenStats (conf->instance);
|
||||
if (VSL_stats == NULL)
|
||||
+#endif
|
||||
{
|
||||
+#ifdef VARNISH3
|
||||
+ VSM_Delete(vd);
|
||||
+#endif
|
||||
ERROR ("Varnish plugin : unable to load statistics");
|
||||
|
||||
return (-1);
|
||||
}
|
||||
|
||||
varnish_monitor (conf, VSL_stats);
|
||||
+#ifdef VARNISH3
|
||||
+ VSM_Delete(vd);
|
||||
+#endif
|
||||
|
||||
return (0);
|
||||
} /* }}} */
|
@ -1,76 +0,0 @@
|
||||
From c72720c41bb2577b1b9db9e12b299869708491c7 Mon Sep 17 00:00:00 2001
|
||||
From: Bostjan Skufca <bostjan@a2o.si>
|
||||
Date: Fri, 3 Feb 2012 03:10:08 +0100
|
||||
Subject: [PATCH] Changes in irq plugin:
|
||||
- fixes errors described here: http://mailman.verplant.org/pipermail/collectd/2011-July/004638.html
|
||||
- refactored parsing code in order to make it a bit more intuitive
|
||||
- added a few additional comments
|
||||
|
||||
---
|
||||
src/irq.c | 24 +++++++++++++++++++++---
|
||||
1 files changed, 21 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/src/irq.c b/src/irq.c
|
||||
index 96bf7f0..f3d5730 100644
|
||||
--- a/src/irq.c
|
||||
+++ b/src/irq.c
|
||||
@@ -94,6 +94,8 @@ static int irq_read (void)
|
||||
{
|
||||
FILE *fh;
|
||||
char buffer[1024];
|
||||
+ int cpu_count;
|
||||
+ char *fields[64];
|
||||
|
||||
fh = fopen ("/proc/interrupts", "r");
|
||||
if (fh == NULL)
|
||||
@@ -104,20 +106,36 @@ static int irq_read (void)
|
||||
return (-1);
|
||||
}
|
||||
|
||||
+ /* Get CPU count from the first line */
|
||||
+ if(fgets (buffer, sizeof (buffer), fh) != NULL) {
|
||||
+ cpu_count = strsplit (buffer, fields, 64);
|
||||
+ } else {
|
||||
+ ERROR ("irq plugin: unable to get CPU count from first line of /proc/interrupts");
|
||||
+ return (-1);
|
||||
+ }
|
||||
+
|
||||
while (fgets (buffer, sizeof (buffer), fh) != NULL)
|
||||
{
|
||||
char *irq_name;
|
||||
size_t irq_name_len;
|
||||
derive_t irq_value;
|
||||
int i;
|
||||
-
|
||||
- char *fields[64];
|
||||
int fields_num;
|
||||
+ int irq_values_to_parse;
|
||||
|
||||
fields_num = strsplit (buffer, fields, 64);
|
||||
if (fields_num < 2)
|
||||
continue;
|
||||
|
||||
+ /* Parse this many numeric fields, skip the rest
|
||||
+ * (+1 because first there is a name of irq in each line) */
|
||||
+ if (fields_num >= cpu_count+1) {
|
||||
+ irq_values_to_parse = cpu_count;
|
||||
+ } else {
|
||||
+ irq_values_to_parse = fields_num - 1;
|
||||
+ }
|
||||
+
|
||||
+ /* First field is irq name */
|
||||
irq_name = fields[0];
|
||||
irq_name_len = strlen (irq_name);
|
||||
if (irq_name_len < 2)
|
||||
@@ -132,7 +150,7 @@ static int irq_read (void)
|
||||
irq_name_len--;
|
||||
|
||||
irq_value = 0;
|
||||
- for (i = 1; i < fields_num; i++)
|
||||
+ for (i = 1; i <= irq_values_to_parse; i++)
|
||||
{
|
||||
/* Per-CPU value */
|
||||
value_t v;
|
||||
--
|
||||
1.7.3.4
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- src/memcached.c.orig 2011-03-26 18:04:35.000000000 +0200
|
||||
+++ src/memcached.c 2011-10-29 12:21:08.714557170 +0300
|
||||
@@ -358,7 +358,7 @@
|
||||
|
||||
static int memcached_read (void) /* {{{ */
|
||||
{
|
||||
- char buf[1024];
|
||||
+ char buf[2048];
|
||||
char *fields[3];
|
||||
char *ptr;
|
||||
char *line;
|
@ -0,0 +1,22 @@
|
||||
--- collectd-5.0.2/src/netlink.c~ 2012-01-22 12:10:04.000000000 +0100
|
||||
+++ collectd-5.0.2/src/netlink.c 2012-01-23 14:59:51.180465183 +0100
|
||||
@@ -570,8 +570,7 @@
|
||||
return (-1);
|
||||
}
|
||||
|
||||
- if (rtnl_dump_filter (&rth, link_filter, /* arg1 = */ NULL,
|
||||
- NULL, NULL) != 0)
|
||||
+ if (rtnl_dump_filter (&rth, link_filter, /* arg1 = */ NULL) != 0)
|
||||
{
|
||||
ERROR ("netlink plugin: ir_read: rtnl_dump_filter failed.");
|
||||
return (-1);
|
||||
@@ -608,8 +607,7 @@
|
||||
continue;
|
||||
}
|
||||
|
||||
- if (rtnl_dump_filter (&rth, qos_filter, (void *) &ifindex,
|
||||
- NULL, NULL) != 0)
|
||||
+ if (rtnl_dump_filter (&rth, qos_filter, (void *) &ifindex) != 0)
|
||||
{
|
||||
ERROR ("netlink plugin: ir_read: rtnl_dump_filter failed.");
|
||||
continue;
|
@ -1 +1,2 @@
|
||||
DIST lib_users-0.3.tar.gz 11738 RMD160 234ed98453321e71bc705026e5346bc62e4e06b5 SHA1 e34c353173466775eb477e6643c021416a36da90 SHA256 bc665a51bab8ef42ab50f9a252f54d8dde748fc1a93f4e558d7a369b531a85cb
|
||||
DIST lib_users-0.4.tar.gz 12064 RMD160 d46260a88360120f71860d58feeb1700fc637504 SHA1 6a300104cca6fc7aeb5e18d560e01efc3a2ba147 SHA256 dcd91e861e62989b0101d6da6e35b9dab7fd77cb146abebcc7f9c5b5044e0093
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/lib_users/lib_users-0.4.ebuild,v 1.1 2012/05/07 13:48:38 klausman Exp $
|
||||
|
||||
EAPI=3
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="Goes through /proc and finds all cases of libraries being mapped
|
||||
but marked as deleted"
|
||||
HOMEPAGE="http://schwarzvogel.de/software-misc.shtml"
|
||||
SRC_URI="http://schwarzvogel.de/pkgs/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="test? ( dev-python/nose )"
|
||||
RDEPEND=""
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_convert_shebangs -r 2 .
|
||||
}
|
||||
|
||||
src_test() {
|
||||
python_execute_nosetests -P .
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin lib_users.py lib_users
|
||||
dodoc README TODO
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST rsyslog-5.8.5.tar.gz 2364874 RMD160 46b20433e0e5feb807b4777bb8141221fe5dd65b SHA1 a5dc735714b573f577db2892f596dcb0ef35c747 SHA256 a519704c06de1026847f69d99f31a2a32783e9547f5249dddefe805bfbc3ea50
|
||||
DIST rsyslog-5.8.6.tar.gz 2373078 RMD160 96beddd94eea0c635c41409f92c897d3620182c0 SHA1 1afe39077253dc9f636f676e8374d09a101a9c94 SHA256 c51206e3b11c7b4cddf92607b9d6ddd07430ff7dd8d06849804c9ea1c9191825
|
||||
DIST rsyslog-5.8.7.tar.gz 2382972 RMD160 c7d5399826c8b90d8fa307cab604bfd2bb694834 SHA1 48e715361b74d2114a97ac8df2668f344dee3f4c SHA256 ff206ff59b2c0d6913f9edb8c4ec341b6dd5061113cf9155f5ec0c5d821df942
|
||||
DIST rsyslog-5.8.8.tar.gz 2387606 RMD160 db043264814e4146189d9bfb44aa45614a9e8a94 SHA1 d25bfadb08f68f8b261cf4b0db9d4951db37f673 SHA256 3e9c8db459e4e363b2289381923d54d84f2ede29c2f9c542cf21672b163aa570
|
||||
DIST rsyslog-zeromq.tar.gz 22223 RMD160 632a1888d3972da4ce623c8f6973c72b026b035c SHA1 e6f02c25af19022d0cc9d4782f58db3fc27a9f0f SHA256 3cca6ce8722ec5035744a9b88e65b89b35f6b2e6bbdbc9c9bba89d22addd2753
|
||||
|
@ -0,0 +1,253 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/rsyslog-5.8.8.ebuild,v 1.1 2012/05/07 06:51:20 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools-utils systemd
|
||||
|
||||
DESCRIPTION="An enhanced multi-threaded syslogd with database support and more."
|
||||
HOMEPAGE="http://www.rsyslog.com/"
|
||||
SRC_URI="http://www.rsyslog.com/files/download/${PN}/${P}.tar.gz
|
||||
zeromq? ( https://github.com/aggregateknowledge/rsyslog-zeromq/tarball/44b551abc29dd5b541884bd51b45b413855a93d8 -> ${PN}-zeromq.tar.gz )"
|
||||
|
||||
LICENSE="GPL-3 LGPL-3 Apache-2.0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~sparc ~x86"
|
||||
SLOT="0"
|
||||
IUSE="dbi debug doc extras kerberos mysql oracle postgres relp snmp ssl static-libs zeromq zlib"
|
||||
|
||||
RDEPEND="dbi? ( dev-db/libdbi )
|
||||
extras? ( net-libs/libnet )
|
||||
kerberos? ( virtual/krb5 )
|
||||
mysql? ( virtual/mysql )
|
||||
postgres? ( dev-db/postgresql-base )
|
||||
oracle? ( dev-db/oracle-instantclient-basic )
|
||||
relp? ( >=dev-libs/librelp-0.1.3 )
|
||||
snmp? ( net-analyzer/net-snmp )
|
||||
ssl? ( net-libs/gnutls )
|
||||
zeromq? ( net-libs/zeromq )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig"
|
||||
|
||||
BRANCH="5-stable"
|
||||
|
||||
# need access to certain device nodes
|
||||
RESTRICT="test"
|
||||
|
||||
# Maitainer note : open a bug to upstream
|
||||
# showing that building in a separate dir fails
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
|
||||
DOCS=(AUTHORS ChangeLog doc/rsyslog-example.conf)
|
||||
|
||||
src_prepare() {
|
||||
# Maintainer notes:
|
||||
# ZeroMQ support, for now it is done by hand until upstream process bug.
|
||||
# Bugzilla : http://bugzilla.adiscon.com/show_bug.cgi?id=277
|
||||
if use zeromq; then
|
||||
local ZEROPATH=${WORKDIR}/aggregateknowledge-rsyslog-zeromq-44b551a
|
||||
epatch ${ZEROPATH}/rsyslog-zeromq.patch
|
||||
cp -r ${ZEROPATH}/{i,o}mzeromq "${S}/plugins"
|
||||
fi
|
||||
|
||||
# Don't force '-g' CFLAG
|
||||
sed -i 's/CFLAGS="\(.*\) -g"/CFLAGS="\1"/g' configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Maintainer notes:
|
||||
# * rfc3195 needs a library and development of that library
|
||||
# is suspended, so we disable it
|
||||
# * About the java GUI:
|
||||
# The maintainer says there is no real installation support
|
||||
# for the java GUI, so we disable it for now.
|
||||
local myeconfargs=(
|
||||
--disable-gui
|
||||
--disable-rfc3195
|
||||
--enable-largefile
|
||||
--enable-unlimited-select
|
||||
--enable-imdiag
|
||||
--enable-imfile
|
||||
--enable-impstats
|
||||
--enable-imtemplate
|
||||
--enable-imptcp
|
||||
--enable-mail
|
||||
--enable-omprog
|
||||
--enable-omstdout
|
||||
--enable-omtemplate
|
||||
--enable-omdbalerting
|
||||
--enable-omuxsock
|
||||
--enable-pmlastmsg
|
||||
--enable-pmrfc3164sd
|
||||
--enable-pmcisconames
|
||||
--enable-pmaixforwardedfrom
|
||||
--enable-pmsnare
|
||||
$(use_enable extras omudpspoof)
|
||||
$(use_enable zlib)
|
||||
$(use_enable mysql)
|
||||
$(use_enable dbi libdbi)
|
||||
$(use_enable postgres pgsql)
|
||||
$(use_enable oracle oracle)
|
||||
$(use_enable ssl gnutls)
|
||||
$(use_enable kerberos gssapi-krb5)
|
||||
$(use_enable relp)
|
||||
$(use_enable snmp)
|
||||
$(use_enable snmp mmsnmptrapd)
|
||||
$(use_enable debug)
|
||||
$(use_enable debug rtinst)
|
||||
$(use_enable debug diagtools)
|
||||
$(use_enable debug memcheck)
|
||||
$(use_enable debug valgrind)
|
||||
)
|
||||
|
||||
use zeromq && myeconfargs=(
|
||||
${myeconfargs[@]-}
|
||||
$(use_enable zeromq imzeromq)
|
||||
$(use_enable zeromq omzeromq)
|
||||
)
|
||||
|
||||
systemd_to_myeconfargs
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && HTML_DOCS=(doc/)
|
||||
autotools-utils_src_install
|
||||
|
||||
insinto /etc
|
||||
newins "${FILESDIR}/${BRANCH}/${PN}-gentoo.conf" ${PN}.conf
|
||||
newconfd "${FILESDIR}/${BRANCH}/${PN}.confd" ${PN}
|
||||
newinitd "${FILESDIR}/${BRANCH}/${PN}.initd" ${PN}
|
||||
keepdir /var/spool/${PN}
|
||||
keepdir /etc/ssl/${PN}
|
||||
keepdir /etc/${PN}.d
|
||||
|
||||
use static-libs || find "${D}" -name '*.la' -delete || die
|
||||
|
||||
if use mysql; then
|
||||
insinto /usr/share/doc/${PF}/scripts/mysql
|
||||
doins plugins/ommysql/{createDB.sql,contrib/delete_mysql}
|
||||
fi
|
||||
|
||||
if use postgres; then
|
||||
insinto /usr/share/doc/${PF}/scripts/pgsql
|
||||
doins plugins/ompgsql/createDB.sql
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${BRANCH}/${PN}.logrotate" ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use mysql || use postgres; then
|
||||
echo
|
||||
elog "Sample SQL scripts for MySQL & PostgreSQL have been installed to:"
|
||||
elog " /usr/share/doc/${PF}/scripts"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
echo
|
||||
elog "To create a default CA and certificates for your server and clients, run:"
|
||||
elog " emerge --config =${PF}"
|
||||
elog "on your logging server. You can run it several times,"
|
||||
elog "once for each logging client. The client certificates will be signed"
|
||||
elog "using the CA certificate generated during the first run."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
if ! use ssl ; then
|
||||
einfo "There is nothing to configure for rsyslog unless you"
|
||||
einfo "used USE=ssl to build it."
|
||||
return 0
|
||||
fi
|
||||
|
||||
# Make sure the certificates directory exists
|
||||
CERTDIR="${ROOT}/etc/ssl/${PN}"
|
||||
if [ ! -d "${CERTDIR}" ]; then
|
||||
mkdir "${CERTDIR}" || die
|
||||
fi
|
||||
einfo "Your certificates will be stored in ${CERTDIR}"
|
||||
|
||||
# Create a default CA if needed
|
||||
if [ ! -f "${CERTDIR}/${PN}_ca.cert.pem" ]; then
|
||||
einfo "No CA key and certificate found in ${CERTDIR}, creating them for you..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_ca.privkey.pem" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = Portage automated CA
|
||||
ca
|
||||
cert_signing_key
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-self-signed \
|
||||
--load-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--outfile "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--template "${T}/${PF}.$$" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||
|
||||
# Create the server certificate
|
||||
echo
|
||||
einfon "Please type the Common Name of the SERVER you wish to create a certificate for: "
|
||||
read -r CN
|
||||
|
||||
einfo "Creating private key and certificate for server ${CN}..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = ${CN}
|
||||
tls_www_server
|
||||
dns_name = ${CN}
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-certificate \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--template "${T}/${PF}.$$" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||
|
||||
else
|
||||
einfo "Found existing ${CERTDIR}/${PN}_ca.cert.pem, skipping CA and SERVER creation."
|
||||
fi
|
||||
|
||||
# Create a client certificate
|
||||
echo
|
||||
einfon "Please type the Common Name of the CLIENT you wish to create a certificate for: "
|
||||
read -r CN
|
||||
|
||||
einfo "Creating private key and certificate for client ${CN}..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = ${CN}
|
||||
tls_www_client
|
||||
dns_name = ${CN}
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-certificate \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--template "${T}/${PF}.$$" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||
|
||||
rm -f "${T}/${PF}.$$"
|
||||
|
||||
echo
|
||||
einfo "Here is the documentation on how to encrypt your log traffic:"
|
||||
einfo " http://www.rsyslog.com/doc/rsyslog_tls.html"
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST deltarpm-3.3.tar.bz2 471121 RMD160 eda74a7cf8a24c466a642070a96ab2c75194effd SHA1 0c6863407674697d7b776b52dc5551bef6658541 SHA256 e2c3e1e175e4c15980dc8f9d2c5d9749d6be5bbd787a4959aefea8e924887aba
|
||||
DIST deltarpm-3.4.tar.bz2 490137 RMD160 ffdff2a0aa584292023594d47c55e644e1e0ae38 SHA1 89d157a727826cb9fb945f936c087412f28f8628 SHA256 81e956bd13dec8f0c4701e76fa386889ecabcc3221f5684eaf93179f86146383
|
||||
DIST deltarpm-3.5.tar.bz2 492136 RMD160 6dd307261ab546d238a8009dc6f73d1eb16fbf76 SHA1 07cc1ec30f63344fde0eee478e146b77dd0e80c0 SHA256 db534094ce7ae7e50f85fb085ebb9147054383cec87279df34eed0434ec8a321
|
||||
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/deltarpm/deltarpm-3.3.ebuild,v 1.2 2007/08/10 17:04:08 gregkh Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="tools to create and apply deltarpms"
|
||||
HOMEPAGE="ftp://ftp.suse.com/pub/projects/deltarpm/"
|
||||
SRC_URI="mirror://opensuse/tools/drpmsync/src/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/bzip2
|
||||
app-arch/rpm"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
sed -i \
|
||||
-e '/^prefix/s:/local::' \
|
||||
-e '/^mandir/s:/man:/share/man:' \
|
||||
Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make install DESTDIR="${D}" || die
|
||||
dodoc README
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/deltarpm/deltarpm-3.4.ebuild,v 1.1 2008/06/09 00:36:56 darkside Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="tools to create and apply deltarpms"
|
||||
HOMEPAGE="ftp://ftp.suse.com/pub/projects/deltarpm/"
|
||||
SRC_URI="ftp://ftp.suse.com/pub/projects/deltarpm/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/bzip2
|
||||
<app-arch/rpm-5"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
sed -i \
|
||||
-e '/^prefix/s:/local::' \
|
||||
-e '/^mandir/s:/man:/share/man:' \
|
||||
Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make install DESTDIR="${D}" || die
|
||||
dodoc README
|
||||
}
|
@ -1,335 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-23.3-r4.ebuild,v 1.8 2012/05/03 18:33:01 jdhore Exp $
|
||||
|
||||
EAPI=4
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit autotools elisp-common eutils flag-o-matic multilib
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="http://www.gnu.org/software/emacs/"
|
||||
SRC_URI="mirror://gnu/emacs/${P}a.tar.bz2
|
||||
mirror://gentoo/${P}-patches-4.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3 FDL-1.3 BSD as-is MIT W3C unicode PSF-2"
|
||||
SLOT="23"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="alsa aqua athena dbus gconf gif gpm gtk gzip-el hesiod jpeg kerberos livecd m17n-lib motif png sound source svg tiff toolkit-scroll-bars X Xaw3d xft +xpm"
|
||||
REQUIRED_USE="aqua? ( !X )"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
>=app-admin/eselect-emacs-1.2
|
||||
net-libs/liblockfile
|
||||
hesiod? ( net-dns/hesiod )
|
||||
kerberos? ( virtual/krb5 )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
gpm? ( sys-libs/gpm )
|
||||
dbus? ( sys-apps/dbus )
|
||||
X? (
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
x11-misc/xbitmaps
|
||||
gconf? ( >=gnome-base/gconf-2.26.2 )
|
||||
gif? ( media-libs/giflib )
|
||||
jpeg? ( virtual/jpeg )
|
||||
png? ( >=media-libs/libpng-1.4:0 )
|
||||
svg? ( >=gnome-base/librsvg-2.0 )
|
||||
tiff? ( media-libs/tiff )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
xft? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
x11-libs/libXft
|
||||
m17n-lib? (
|
||||
>=dev-libs/libotf-0.9.4
|
||||
>=dev-libs/m17n-lib-1.5.1
|
||||
)
|
||||
)
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
!gtk? (
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? (
|
||||
athena? ( x11-libs/libXaw )
|
||||
!athena? ( motif? ( >=x11-libs/openmotif-2.3:0 ) )
|
||||
)
|
||||
)
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
alsa? ( virtual/pkgconfig )
|
||||
dbus? ( virtual/pkgconfig )
|
||||
X? ( virtual/pkgconfig )
|
||||
gzip-el? ( app-arch/gzip )"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
!<app-editors/emacs-vcs-${PV}
|
||||
>=app-emacs/emacs-common-gentoo-1.3[X?]"
|
||||
|
||||
EMACS_SUFFIX="emacs-${SLOT}"
|
||||
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
||||
# FULL_VERSION keeps the full version number, which is needed in
|
||||
# order to determine some path information correctly for copy/move
|
||||
# operations later on
|
||||
FULL_VERSION="${PV%%_*}"
|
||||
S="${WORKDIR}/emacs-${FULL_VERSION}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_SUFFIX=patch epatch
|
||||
epatch_user
|
||||
|
||||
sed -i \
|
||||
-e "s:/usr/lib/crtbegin.o:$(`tc-getCC` -print-file-name=crtbegin.o):g" \
|
||||
-e "s:/usr/lib/crtend.o:$(`tc-getCC` -print-file-name=crtend.o):g" \
|
||||
"${S}"/src/s/freebsd.h || die "unable to sed freebsd.h settings"
|
||||
|
||||
if ! use alsa; then
|
||||
# ALSA is detected even if not requested by its USE flag.
|
||||
# Suppress it by supplying pkg-config with a wrong library name.
|
||||
sed -i -e "/ALSA_MODULES=/s/alsa/DiSaBlEaLsA/" configure.in \
|
||||
|| die "unable to sed configure.in"
|
||||
fi
|
||||
if ! use gzip-el; then
|
||||
# Emacs' build system automatically detects the gzip binary and
|
||||
# compresses el files. We don't want that so confuse it with a
|
||||
# wrong binary name
|
||||
sed -i -e "s/ gzip/ PrEvEnTcOmPrEsSiOn/" configure.in \
|
||||
|| die "unable to sed configure.in"
|
||||
fi
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
ALLOWED_FLAGS=""
|
||||
strip-flags
|
||||
filter-flags -fstrict-aliasing
|
||||
append-flags $(test-flags -fno-strict-aliasing)
|
||||
|
||||
if use sh; then
|
||||
replace-flags -O[1-9] -O0 #262359
|
||||
elif use ia64; then
|
||||
replace-flags -O[2-9] -O1 #325373
|
||||
else
|
||||
replace-flags -O[3-9] -O2
|
||||
fi
|
||||
|
||||
local myconf
|
||||
|
||||
if use alsa && ! use sound; then
|
||||
einfo "Although sound USE flag is disabled you chose to have alsa,"
|
||||
einfo "so sound is switched on anyway."
|
||||
myconf="${myconf} --with-sound"
|
||||
else
|
||||
myconf="${myconf} $(use_with sound)"
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
myconf="${myconf} --with-x --without-ns"
|
||||
myconf="${myconf} $(use_with gconf)"
|
||||
myconf="${myconf} $(use_with toolkit-scroll-bars)"
|
||||
myconf="${myconf} $(use_with gif) $(use_with jpeg)"
|
||||
myconf="${myconf} $(use_with png) $(use_with svg rsvg)"
|
||||
myconf="${myconf} $(use_with tiff) $(use_with xpm)"
|
||||
|
||||
if use xft; then
|
||||
myconf="${myconf} --with-xft"
|
||||
myconf="${myconf} $(use_with m17n-lib libotf)"
|
||||
myconf="${myconf} $(use_with m17n-lib m17n-flt)"
|
||||
else
|
||||
myconf="${myconf} --without-xft"
|
||||
myconf="${myconf} --without-libotf --without-m17n-flt"
|
||||
use m17n-lib && ewarn \
|
||||
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
||||
fi
|
||||
|
||||
# GTK+ is the default toolkit if USE=gtk is chosen with other
|
||||
# possibilities. Emacs upstream thinks this should be standard
|
||||
# policy on all distributions
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
myconf="${myconf} --with-x-toolkit=gtk"
|
||||
local f
|
||||
for f in athena Xaw3d motif; do
|
||||
use ${f} && ewarn "USE flag \"${f}\" ignored" \
|
||||
"(superseded by \"gtk\")"
|
||||
done
|
||||
elif use athena || use Xaw3d; then
|
||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||
use motif && ewarn "USE flag \"motif\" ignored" \
|
||||
"(superseded by \"athena\" or \"Xaw3d\")"
|
||||
elif use motif; then
|
||||
einfo "Configuring to build with Motif toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=motif"
|
||||
else
|
||||
einfo "Configuring to build with no toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=no"
|
||||
fi
|
||||
elif use aqua; then
|
||||
einfo "Configuring to build with Cocoa support"
|
||||
myconf="${myconf} --with-ns --disable-ns-self-contained"
|
||||
myconf="${myconf} --without-x"
|
||||
else
|
||||
myconf="${myconf} --without-x --without-ns"
|
||||
fi
|
||||
|
||||
# According to configure, this option is only used for GNU/Linux
|
||||
# (x86_64 and s390). For Gentoo Prefix we have to explicitly spell
|
||||
# out the location because $(get_libdir) does not necessarily return
|
||||
# something that matches the host OS's libdir naming (e.g. RHEL).
|
||||
local crtdir=$($(tc-getCC) -print-file-name=crt1.o)
|
||||
crtdir=${crtdir%/*}
|
||||
|
||||
econf \
|
||||
--program-suffix=-${EMACS_SUFFIX} \
|
||||
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
|
||||
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
|
||||
--with-crt-dir="${crtdir}" \
|
||||
--with-gameuser="${GAMES_USER_DED:-games}" \
|
||||
$(use_with hesiod) \
|
||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||
$(use_with gpm) \
|
||||
$(use_with dbus) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
|
||||
# set last component of emacs-version to (package revision + 1)
|
||||
touch src/emacs-${FULL_VERSION}.${PR#r}
|
||||
emake CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
local i m
|
||||
|
||||
emake install DESTDIR="${D}"
|
||||
|
||||
rm "${ED}"/usr/bin/emacs-${FULL_VERSION}-${EMACS_SUFFIX} \
|
||||
|| die "removing duplicate emacs executable failed"
|
||||
mv "${ED}"/usr/bin/emacs-${EMACS_SUFFIX} "${ED}"/usr/bin/${EMACS_SUFFIX} \
|
||||
|| die "moving Emacs executable failed"
|
||||
|
||||
# move man pages to the correct place
|
||||
for m in "${ED}"/usr/share/man/man1/* ; do
|
||||
mv "${m}" "${m%.1}-${EMACS_SUFFIX}.1" || die "mv man failed"
|
||||
done
|
||||
|
||||
# move info dir to avoid collisions with the dir file generated by portage
|
||||
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \
|
||||
|| die "moving info dir failed"
|
||||
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
|
||||
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
|
||||
|
||||
# avoid collision between slots, see bug #169033 e.g.
|
||||
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
|
||||
rm -rf "${ED}"/usr/share/{applications,icons}
|
||||
rm "${ED}"/var/lib/games/emacs/{snake,tetris}-scores
|
||||
keepdir /var/lib/games/emacs
|
||||
|
||||
# remove unused <version>/site-lisp dir
|
||||
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
|
||||
|
||||
local c=";;"
|
||||
if use source; then
|
||||
insinto /usr/share/emacs/${FULL_VERSION}/src
|
||||
# This is not meant to install all the source -- just the
|
||||
# C source you might find via find-function
|
||||
doins src/*.{c,h,m}
|
||||
doins -r src/{m,s}
|
||||
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/src/Makefile.c
|
||||
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/src/{m,s}/README
|
||||
c=""
|
||||
fi
|
||||
|
||||
sed 's/^X//' >"${T}/${SITEFILE}" <<-EOF
|
||||
X
|
||||
;;; ${PN}-${SLOT} site-lisp configuration
|
||||
X
|
||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
||||
X ${c}(setq find-function-C-source-directory
|
||||
X ${c} "${EPREFIX}/usr/share/emacs/${FULL_VERSION}/src")
|
||||
X (let ((path (getenv "INFOPATH"))
|
||||
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
|
||||
X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
|
||||
X (and path
|
||||
X ;; move Emacs Info dir before anything else in /usr/share/info
|
||||
X (let* ((p (cons nil (split-string path ":" t))) (q p))
|
||||
X (while (and (cdr q) (not (string-match re (cadr q))))
|
||||
X (setq q (cdr q)))
|
||||
X (setcdr q (cons dir (delete dir (cdr q))))
|
||||
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
|
||||
EOF
|
||||
elisp-site-file-install "${T}/${SITEFILE}" || die
|
||||
|
||||
dodoc README BUGS
|
||||
|
||||
if use aqua; then
|
||||
dodir /Applications/Gentoo
|
||||
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
|
||||
mv nextstep/Emacs.app \
|
||||
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
|
||||
elog "Emacs${EMACS_SUFFIX#emacs}.app is in ${EPREFIX}/Applications/Gentoo."
|
||||
elog "You may want to copy or symlink it into /Applications by yourself."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# move Info dir file to correct name
|
||||
local infodir=/usr/share/info/${EMACS_SUFFIX} f
|
||||
if [[ -f ${ED}${infodir}/dir.orig ]]; then
|
||||
mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed"
|
||||
else
|
||||
# this should not happen in EAPI 4
|
||||
ewarn "Regenerating Info directory index in ${infodir} ..."
|
||||
rm -f "${ED}"${infodir}/dir{,.*}
|
||||
for f in "${ED}"${infodir}/*; do
|
||||
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
|
||||
install-info --info-dir="${ED}"${infodir} "${f}" \
|
||||
|| die "install-info failed"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local f
|
||||
for f in "${EROOT}"/var/lib/games/emacs/{snake,tetris}-scores; do
|
||||
[[ -e ${f} ]] || touch "${f}"
|
||||
done
|
||||
chown "${GAMES_USER_DED:-games}" "${EROOT}"/var/lib/games/emacs
|
||||
|
||||
elisp-site-regen
|
||||
|
||||
if use livecd; then
|
||||
# force an update of the emacs symlink for the livecd/dvd,
|
||||
# because some microemacs packages set it with USE=livecd
|
||||
eselect emacs update
|
||||
else
|
||||
eselect emacs update ifunset
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
elog "You need to install some fonts for Emacs."
|
||||
elog "Installing media-fonts/font-adobe-{75,100}dpi on the X server's"
|
||||
elog "machine would satisfy basic Emacs requirements under X11."
|
||||
elog "See also http://www.gentoo.org/proj/en/lisp/emacs/xft.xml"
|
||||
elog "for how to enable anti-aliased fonts."
|
||||
elog
|
||||
fi
|
||||
|
||||
elog "You can set the version to be started by /usr/bin/emacs through"
|
||||
elog "the Emacs eselect module, which also redirects man and info pages."
|
||||
elog "Therefore, several Emacs versions can be installed at the same time."
|
||||
elog "\"man emacs.eselect\" for details."
|
||||
elog
|
||||
elog "If you upgrade from a previous major version of Emacs, then it is"
|
||||
elog "strongly recommended that you use app-admin/emacs-updater to rebuild"
|
||||
elog "all byte-compiled elisp files of the installed Emacs packages."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
diff --git a/vmmon-only/linux/hostif.c b/vmmon-only/linux/hostif.c
|
||||
index f1f4b10..c43242f 100644
|
||||
--- a/vmmon-only/linux/hostif.c
|
||||
+++ b/vmmon-only/linux/hostif.c
|
||||
@@ -55,6 +55,7 @@
|
||||
#include <linux/kthread.h>
|
||||
#include <linux/wait.h>
|
||||
|
||||
+#include <asm/apic.h>
|
||||
|
||||
#include "vmware.h"
|
||||
#include "x86apic.h"
|
@ -1 +1,2 @@
|
||||
DIST iguanaIR-0.93.tar.bz2 1006655 RMD160 b73014d09b35778eec94326c23ab1fc26cb0cf4b SHA1 97fb0e0082fe0ec260667f57b7c8376dd37c85b6 SHA256 4a2f546eb0f99a3617efe20676633f06e2b74f8b352be939acff30d226cabca8
|
||||
DIST iguanaIR-1.0.1.tar.bz2 287572 RMD160 4dd7a9d9aa3ebcc8f1c903c974b6405f5cd2bd0a SHA1 1032a9eb7b2063193e907ec6a22076867dc32421 SHA256 1ba324667671892b2a36aee0089d0afafd266f8b255b073b113eb5ab71f38fcc
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/iguanaIR/iguanaIR-1.0.1.ebuild,v 1.1 2012/05/07 15:14:39 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit python user
|
||||
|
||||
DESCRIPTION="library for Irman control of Unix software"
|
||||
HOMEPAGE="http://iguanaworks.net/index.php"
|
||||
SRC_URI="http://iguanaworks.net/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# sys-apps/lsb-release is used by the init script for detecting Gentoo
|
||||
RDEPEND="dev-libs/popt
|
||||
sys-apps/lsb-release
|
||||
virtual/libusb:0"
|
||||
DEPEND="${RDEPEND}
|
||||
|| ( dev-lang/python:2.7 dev-lang/python:2.6 )
|
||||
>=dev-lang/swig-2.0.0"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup iguanair
|
||||
enewuser iguanair -1 -1 -1 'iguanair,usb'
|
||||
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Working around bug in SWIG version checking
|
||||
sed -i -e 's:1.3.31:2.0.0:g' configure || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
dodoc AUTHORS README.txt WHY notes.txt protocols.txt
|
||||
|
||||
rm -f docs/{Makefile,pullDocs}
|
||||
dodoc -r docs
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST lcdproc-0.5.2-patches.tar.gz 6571 RMD160 31b4534ea0fe2d58b52bb1dda76f0b728abdb916 SHA1 3dee4d57366eac2603656557d7ff8a6beb27249d SHA256 b578bbb2e0e1adabfd8eda2101d9023652c8d3c112d7dc78fb77026d5f2db13d
|
||||
DIST lcdproc-0.5.2-r2-patches.tar.gz 20140 RMD160 a87095f9e643fe9c9cf293db5b54443a42535148 SHA1 54c47f2837c43e670703022a5172a538dda6729b SHA256 c222fb0867bdbc510a4fed4d72e6c71c10d341997432bed84d713e6fac1d4b37
|
||||
DIST lcdproc-0.5.2.tar.gz 822695 RMD160 73c275cc00f06dc256267e87e1c3b1dcac172fb1 SHA1 924fca84eb5a07464a3d38df86d9a4427fd06dd7 SHA256 3261910dd9155229a2a6067c82ec4cca0d7900420f2d74c87a24b41b9b961036
|
||||
DIST lcdproc-0.5.3.tar.gz 890116 RMD160 9a8f678b13c39cd96be17b1a80c47b63b8018fea SHA1 7550aa28b224fd800047b92d184a64d529e32283 SHA256 cc4003392f348bc35014c6ed59f2e855ba1600d79ada456cbb2c23bc86a5117f
|
||||
DIST lcdproc-0.5.5.tar.gz 946206 RMD160 253b39b2c51aee67fadfc499e2c4e34f96cc0620 SHA1 17547391b2bf9b61fd9f7dac74782e1cebdf34be SHA256 b136b47d7bf585a003334f432d8730a36ef5ed1cd520084b919667d825e48d42
|
||||
|
@ -1,186 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/lcdproc-0.5.2-r2.ebuild,v 1.3 2009/06/13 10:38:47 rbu Exp $
|
||||
|
||||
WANT_AUTOMAKE="1.9"
|
||||
inherit eutils autotools multilib
|
||||
|
||||
DESCRIPTION="Client/Server suite to drive all kinds of LCD (-like) devices"
|
||||
HOMEPAGE="http://lcdproc.org/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
|
||||
mirror://gentoo/${PF}-patches.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
|
||||
IUSE="doc debug nfs samba seamless-hbars usb lirc irman joystick"
|
||||
|
||||
# The following array holds the USE_EXPANDed keywords
|
||||
IUSE_LCD_DEVICES=(ncurses bayrad cfontz cfontz633 cfontzpacket
|
||||
cwlinux eyeboxone g15 graphlcd glk
|
||||
hd44780 icpa106 imon imonlcd iowarrior
|
||||
lb216 lcdm001 lcterm
|
||||
md8800 ms6931 mtcs16209x mtxorb noritakevfd
|
||||
pyramid sed1330 sed1520 serialvfd sli
|
||||
stv5730 svga t6963 text tyan
|
||||
ula200 xosd ea65 picolcd serialpos )
|
||||
|
||||
# Iterate through the array and add the lcd_devices_* that we support
|
||||
NUM_DEVICES=${#IUSE_LCD_DEVICES[@]}
|
||||
index=0
|
||||
while [ "${index}" -lt "${NUM_DEVICES}" ] ; do
|
||||
IUSE="${IUSE} lcd_devices_${IUSE_LCD_DEVICES[${index}]}"
|
||||
let "index = ${index} + 1"
|
||||
done
|
||||
|
||||
RDEPEND="
|
||||
usb? ( =virtual/libusb-0* )
|
||||
lirc? ( app-misc/lirc )
|
||||
irman? ( media-libs/libirman )
|
||||
|
||||
lcd_devices_graphlcd? ( app-misc/graphlcd-base app-misc/glcdprocdriver )
|
||||
lcd_devices_g15? ( dev-libs/libg15 >=dev-libs/libg15render-1.1.1 )
|
||||
lcd_devices_ncurses? ( sys-libs/ncurses )
|
||||
lcd_devices_svga? ( media-libs/svgalib )
|
||||
lcd_devices_ula200? ( >=dev-embedded/libftdi-0.7 =virtual/libusb-0* )
|
||||
lcd_devices_xosd? ( x11-libs/xosd x11-libs/libX11 x11-libs/libXext )
|
||||
lcd_devices_cfontzpacket? ( =virtual/libusb-0* )
|
||||
lcd_devices_cwlinux? ( =virtual/libusb-0* )
|
||||
lcd_devices_pyramid? ( =virtual/libusb-0* )
|
||||
lcd_devices_picolcd? ( =virtual/libusb-0* )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-text/xmlto )"
|
||||
RDEPEND="${RDEPEND}
|
||||
lcd_devices_g15? ( app-misc/g15daemon )"
|
||||
|
||||
pkg_setup() {
|
||||
if [ -n "${LCDPROC_DRIVERS}" ] ; then
|
||||
ewarn "Setting the drivers to compile via LCDPROC_DRIVERS is not supported anymore."
|
||||
ewarn "Please use LCD_DEVICES now and see emerge -pv output for the options."
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
epatch "${WORKDIR}"/${PF}-patches/${PV}-imonlcd-0.3.patch
|
||||
|
||||
epatch "${WORKDIR}"/${PF}-patches/${PV}-picolcd.patch
|
||||
|
||||
sed -i "79s:server/drivers:/usr/$(get_libdir)/lcdproc:" LCDd.conf
|
||||
einfo "Patching LCDd.conf to use DriverPath=/usr/$(get_libdir)/lcdproc/"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# This array contains the driver names required by configure --with-drivers=
|
||||
# The positions must be the same as the corresponding use_expand flags
|
||||
local DEVICE_DRIVERS=(curses bayrad CFontz CFontz633 CFontzPacket
|
||||
CwLnx EyeboxOne g15 glcdlib glk
|
||||
hd44780 icp_a106 imon imonlcd IOWarrior
|
||||
lb216 lcdm001 lcterm
|
||||
MD8800 ms6931 mtc_s16209x MtxOrb NoritakeVFD
|
||||
pyramid sed1330 sed1520 serialVFD sli
|
||||
stv5730 svga t6963 text tyan
|
||||
ula200 xosd ea65 picolcd serialPOS)
|
||||
|
||||
# Generate comma separated list of drivers
|
||||
COMMA_DRIVERS=""
|
||||
FIRST_DRIVER=""
|
||||
local index=0
|
||||
|
||||
while [ "${index}" -lt "${NUM_DEVICES}" ] ; do
|
||||
if use "lcd_devices_${IUSE_LCD_DEVICES[${index}]}" ; then
|
||||
append-driver "${DEVICE_DRIVERS[${index}]}"
|
||||
fi
|
||||
let "index = ${index} + 1"
|
||||
done
|
||||
|
||||
# Append the not-lcd-drivers (input)
|
||||
use lirc && append-driver "lirc"
|
||||
use irman && append-driver "irman"
|
||||
use joystick && append-driver "joy"
|
||||
|
||||
if [ -z "${COMMA_DRIVERS}" ] ; then
|
||||
ewarn "You are compiling LCDd without support for any LCD drivers at all."
|
||||
else
|
||||
# Patch the config to contain a driver that is actually installed instead of the default
|
||||
elog "Compiling the following drivers for LCDd: ${COMMA_DRIVERS}"
|
||||
elog "Setting Driver=${FIRST_DRIVER} in LCDd.conf"
|
||||
sed -i "44s:curses:${FIRST_DRIVER}:" LCDd.conf
|
||||
fi
|
||||
|
||||
local ENABLEUSB
|
||||
if use lcd_devices_cfontzpacket || use lcd_devices_cwlinux || use lcd_devices_pyramid; then
|
||||
ENABLEUSB="--enable-libusb"
|
||||
else
|
||||
ENABLEUSB="$(use_enable usb libusb)"
|
||||
fi
|
||||
|
||||
econf \
|
||||
$(use_enable debug) \
|
||||
$(use_enable nfs stat-nfs) \
|
||||
$(use_enable samba stat-smbfs ) \
|
||||
$(use_enable seamless-hbars) \
|
||||
${ENABLEUSB} \
|
||||
"--enable-drivers=${COMMA_DRIVERS}" \
|
||||
|| die "configure failed"
|
||||
|
||||
emake || die "make failed"
|
||||
|
||||
if use doc; then
|
||||
ebegin "Creating user documentation"
|
||||
cd "${S}"/docs/lcdproc-user
|
||||
xmlto html --skip-validation lcdproc-user.docbook
|
||||
eend $?
|
||||
|
||||
ebegin "Creating dev documentation"
|
||||
cd "${S}"/docs/lcdproc-dev
|
||||
xmlto html --skip-validation lcdproc-dev.docbook
|
||||
eend $?
|
||||
fi
|
||||
}
|
||||
|
||||
append-driver() {
|
||||
[[ -z $* ]] && return 0
|
||||
if [ -z "${COMMA_DRIVERS}" ] ; then
|
||||
# First in the list
|
||||
COMMA_DRIVERS="$*"
|
||||
FIRST_DRIVER="$*"
|
||||
else
|
||||
# Second, third, ... include a comma at the front
|
||||
COMMA_DRIVERS="${COMMA_DRIVERS},$*"
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
# move example clients installed to /usr/bin
|
||||
rm -f "${D}"/usr/bin/{tail,lcdmetar,iosock,fortune,x11amp}.pl
|
||||
insinto /usr/share/lcdproc/clients
|
||||
doins clients/examples/*.pl
|
||||
doins clients/metar/
|
||||
|
||||
newinitd "${FILESDIR}/0.5.1-LCDd.initd" LCDd
|
||||
newinitd "${FILESDIR}/0.5.2-r2-lcdproc.initd" lcdproc
|
||||
|
||||
dodoc README CREDITS ChangeLog INSTALL TODO
|
||||
dodoc docs/README.* docs/*.txt
|
||||
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}/lcdproc-user
|
||||
doins docs/lcdproc-user/*.html
|
||||
insinto /usr/share/doc/${PF}/lcdproc-dev
|
||||
doins docs/lcdproc-dev/*.html
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "IMPORTANT: Please update your /etc/LCDd.conf"
|
||||
ewarn "As of lcdproc-0.5.1-r2, the DriverPath changed from /usr/share/lcdproc to /usr/$(get_libdir)/lcdproc ."
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST tracker-0.10.27.tar.xz 5721444 RMD160 63e3609ac51fae013fc0daf9935ec50ef3a4c609 SHA1 01f0a52a21c3aecaaf6cfb140f7a4b5085a7bc5f SHA256 30ca97cc8a1c82cb0e09a921c0ebe8acbfe7be6908b2303266f447477465444f
|
||||
DIST tracker-0.10.35.tar.xz 5754872 RMD160 6919a7623bf3f041b617d7c2a2b55856863b5e9e SHA1 93fdeb6be256085e72f1ab9f9e578332de9605f0 SHA256 5f6a32d0b2b0036f4aec74a6d36d889e33ea038a1530161ca4eb9a549cc87fe3
|
||||
DIST tracker-0.12.10.tar.xz 6220648 RMD160 4dce4210c55b623adbc6b5969ec15672a8ef925b SHA1 e9feaa2a92872cf1bf6e9c5dd6f66f227756b655 SHA256 42722831fdde63cfa07e4f0bb75805425c09b1f1801d3d5280de8be37a357b69
|
||||
DIST tracker-0.12.9.tar.xz 5867980 RMD160 1c6054ffc9f3588db0d355fcfb02703ab8d403c2 SHA1 b5fc5465f3da00c0b2b23cddc0f55a3d1b66d0b7 SHA256 ccd61c8f79905f7e09af3a4a863772256601dcd3213b0f9a3f76add04e553b5c
|
||||
DIST tracker-0.14.1.tar.xz 6041840 RMD160 ff917096334d48bab0edabec7fd6f77ada7af881 SHA1 f27b81ff056768f641fc2b1050f6571b3cb692af SHA256 17ac4125d02c5f820eae9a785ac1c90b0e93682730a3950f82fd4a3dff238a43
|
||||
|
@ -0,0 +1,21 @@
|
||||
commit 25ee292b205e6085ba624b8ac8a45fe11a99e5cc
|
||||
Author: Cristian Oneț <onet.cristian@gmail.com>
|
||||
Date: Tue Apr 10 20:25:26 2012 +0300
|
||||
|
||||
The kmymoney_base target must depend on the kmm_config config target to avoid build failures when aggresive parallel make is used.
|
||||
|
||||
BUG: 297008
|
||||
|
||||
diff --git a/kmymoney/widgets/CMakeLists.txt b/kmymoney/widgets/CMakeLists.txt
|
||||
index 20d910d..5c6d28d 100644
|
||||
--- a/kmymoney/widgets/CMakeLists.txt
|
||||
+++ b/kmymoney/widgets/CMakeLists.txt
|
||||
@@ -89,6 +89,8 @@ ADD_CUSTOM_TARGET(generate_base_ui_srcs DEPENDS
|
||||
# We can compile the uncritical sources without KMM_DESIGNER flags
|
||||
KDE4_ADD_LIBRARY(kmymoney_base STATIC ${_uncritial_common_sources})
|
||||
|
||||
+ADD_DEPENDENCIES(kmymoney_base kmm_config)
|
||||
+
|
||||
########### QtDesigner Widget Library (kmymoneywidgets) #################
|
||||
# we never link against this library,
|
||||
# but it is needed for uic and QtDesigner
|
@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/kmymoney/kmymoney-4.6.2-r1.ebuild,v 1.1 2012/05/07 12:27:57 johu Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
KDE_LINGUAS="bg bs ca ca@valencia cs da de el en_GB eo es et
|
||||
eu fi fr ga gl hu it ja lt ms nds nl pl pt
|
||||
pt_BR ro ru sk sv tr ug uk zh_CN zh_TW"
|
||||
KDE_DOC_DIRS="doc doc-translations/%lingua_${PN}"
|
||||
KDE_HANDBOOK="optional"
|
||||
SRC_URI="mirror://sourceforge/kmymoney2/${P}.tar.bz2"
|
||||
fi
|
||||
|
||||
VIRTUALX_REQUIRED=test
|
||||
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="Personal finance manager for KDE"
|
||||
HOMEPAGE="http://kmymoney2.sourceforge.net/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="4"
|
||||
IUSE="debug calendar doc hbci ofx quotes test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-crypt/gpgme
|
||||
>=app-office/libalkimia-4.3.2
|
||||
dev-cpp/glibmm:2
|
||||
dev-cpp/libxmlpp:2.6
|
||||
dev-libs/boost
|
||||
dev-libs/glib:2
|
||||
dev-libs/gmp
|
||||
dev-libs/libgpg-error
|
||||
dev-libs/libxml2
|
||||
$(add_kdebase_dep kdepimlibs)
|
||||
x11-misc/shared-mime-info
|
||||
calendar? ( dev-libs/libical )
|
||||
hbci? (
|
||||
>=net-libs/aqbanking-5.0.1
|
||||
>=sys-libs/gwenhywfar-4.0.1[qt4]
|
||||
)
|
||||
ofx? ( >=dev-libs/libofx-0.9.4 )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
quotes? ( dev-perl/Finance-Quote )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/pkgconfig
|
||||
doc? ( app-doc/doxygen )
|
||||
test? ( dev-util/cppunit )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.6.1-qt48.patch"
|
||||
"${FILESDIR}/${P}-fix-parallel-build.patch"
|
||||
)
|
||||
|
||||
RESTRICT=test
|
||||
# bug 399467
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
-DUSE_QT_DESIGNER=OFF
|
||||
$(cmake-utils_use_enable calendar LIBICAL)
|
||||
$(cmake-utils_use_use doc DEVELOPER_DOC)
|
||||
$(cmake-utils_use_enable hbci KBANKING)
|
||||
$(cmake-utils_use_enable ofx LIBOFX)
|
||||
$(cmake-utils_use test KDE4_BUILD_TESTS)
|
||||
)
|
||||
kde4-base_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
kde4-base_src_compile
|
||||
|
||||
use doc && kde4-base_src_compile apidoc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && HTML_DOCS=("${CMAKE_BUILD_DIR}/apidocs/html/")
|
||||
kde4-base_src_install
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST scribus-1.3.9.tar.bz2 35729860 RMD160 63e1d3f7f723843e9d1c787e1405b57a15f08fcc SHA1 86bc4db2d8fbb91fe94f8535327991e9128c5862 SHA256 fb172f6b9a812f3b0a9de911b245012a067a9aad50473fa1da1d1c5861641eac
|
||||
DIST scribus-1.4.0.tar.bz2 42134397 RMD160 f4a0813c1961f1929bccaaa4c0a21f84dfd75c62 SHA1 d19e455f261c4075076f1d6f4a55fbd934a66c60 SHA256 9ae4e50523f0891c9dce45893ca9f58d32096442e43e75acec466fd9405362a9
|
||||
DIST scribus-1.4.1.tar.xz 63039820 RMD160 4cc2a32e8e98aecc2af315f3b2221cd065530aa4 SHA1 fb48bc492d79abc2275b1903692defe9b3931adf SHA256 6853fc40cd178d0dcefcc9305fba6824bbe7fd915b0eb277d742b13297f8c7d8
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST eix-0.23.10.tar.xz 438336 RMD160 a12710983fd33e04350fe519b99c9b62fe647e15 SHA1 d96c06bfe1f6a9a796813841fb7b30876a069d92 SHA256 6525b65de08dc3c5946f008b57c8027e5725d2bbc0bf5b980afda65ea207b356
|
||||
DIST eix-0.23.3.tar.xz 443364 RMD160 ad7b6842ceeaa4d93bdf7fa6fcdc85f773b54970 SHA1 55d9a6ef2ebf07ba4293b9b2b78443658c47b12f SHA256 c9525a4f8605250469600667e364e2d9325d7964b3476653bb8908f28cccb828
|
||||
DIST eix-0.24.0.tar.xz 430532 RMD160 293918654907c068dd50d69c02c6efa0a10a3bea SHA1 f7ed5e7a51435d13d180311145fa865091f7844b SHA256 13526c5ce547cf3df1de40df632dacf2c60b84f3e69735ba76ae489fe9b1a24a
|
||||
DIST eix-0.25.0.tar.xz 433500 RMD160 2e1eeb0c373d19df46cd0c8c3e5f5f1e87558f5b SHA1 35089de115a28dfedfadc8ad01a90e3044ef9ed2 SHA256 32310ae8eccf3816e46d703e52567a9428de9b4c9a57714bd79e29df0af5db7a
|
||||
DIST eix-0.25.3.tar.xz 432360 RMD160 ebd856614bd9e8be425b7427848c9f8ec7b85205 SHA1 0c68f5fb2eb9a189e65dce7fa5c141c980d46559 SHA256 b0fcbdf4e1184ca9996f8cfd057e27b159cca3cece17b4158dcd3b0068b28353
|
||||
DIST eix-0.25.4.tar.xz 435936 RMD160 518758615be1a905c169a1501d2d9d3e4a3ab980 SHA1 4da4f8e2e500e42bc8c7652474f958219f265978 SHA256 bcce245933c2551650468208b0c18517d7d51800c756fd9b5e66ff96539a9cf3
|
||||
|
@ -1,3 +1 @@
|
||||
DIST g-ctan-2010.1.tar.bz2 20433 RMD160 bbeaaca737fd705f55b6e918223fc83e7dca0ea4 SHA1 74ff9acfa070cf948579f1d222c2d8912fbf1b37 SHA256 28a897e03e783bf4cd559eadf02e26727062f0f3168748b7cd24ebac980cc4eb
|
||||
DIST g-ctan-2010.2.tar.bz2 29005 RMD160 5ed7b1b941a06e90ccd9d80b394ebc75c28487d6 SHA1 c9dc8e80d602092b6c63655c338e597c75142b8e SHA256 f44512180e453de868a567d1012caf2b44853c495800073d9d461ba1ac473b7a
|
||||
DIST g-ctan-2011.1.tar.bz2 29154 RMD160 8e38ab05d8bc230cd6e5b3a7adc25d222fefbd84 SHA1 1b04227c03ca404fb9091bea856abb7bcb46d12c SHA256 35544fbccae772b4f3fd6589c660f82621bc500deafb0e906fdd7436ec9d3fa4
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/g-ctan/g-ctan-2010.1.ebuild,v 1.2 2011/06/14 03:32:00 mattst88 Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
DESCRIPTION="Generate and install ebuilds from the TeXLive package manager"
|
||||
HOMEPAGE="http://launchpad.net/g-ctan"
|
||||
SRC_URI="http://launchpad.net/g-ctan/2010/${PV}/+download/${P}.tar.bz2"
|
||||
LICENSE="GPL-3"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~x86"
|
||||
|
||||
IUSE=""
|
||||
DEPEND=""
|
||||
RDEPEND="~app-text/texlive-2010
|
||||
app-arch/xz-utils
|
||||
>=dev-libs/libpcre-0.7.6"
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/g-ctan/g-ctan-2010.2.ebuild,v 1.1 2011/09/24 19:23:54 fauli Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
DESCRIPTION="Generate and install ebuilds from the TeXLive package manager"
|
||||
HOMEPAGE="http://launchpad.net/g-ctan"
|
||||
SRC_URI="http://launchpad.net/g-ctan/2010/${PV}/+download/${P}.tar.bz2"
|
||||
LICENSE="GPL-3"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~x86"
|
||||
|
||||
IUSE=""
|
||||
DEPEND=""
|
||||
RDEPEND="~app-text/texlive-2010
|
||||
app-arch/xz-utils
|
||||
>=dev-libs/libpcre-0.7.6"
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
}
|
@ -1,196 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/texlive/texlive-2010-r2.ebuild,v 1.15 2011/10/04 18:41:56 jer Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
DESCRIPTION="A complete TeX distribution"
|
||||
HOMEPAGE="http://tug.org/texlive/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
|
||||
IUSE="cjk context detex doc dvi2tty dvipdfm extra games graphics
|
||||
humanities jadetex latex3 luatex music omega pdfannotextractor png pstricks publishers science tex4ht
|
||||
truetype xetex xindy xml X"
|
||||
|
||||
LANGS="af ar as bg bn bo ca cs cy da de el en en_GB eo es et eu fa fi fr ga gl
|
||||
gu he hi hr hsb hu hy ia id is it ja ko kn la lo lt lv ml mn mr nb nl nn no
|
||||
or pa pl pt ro ru sa_IN sk sl sr sv ta te th tk tr uk vi zh"
|
||||
|
||||
for X in ${LANGS}; do
|
||||
IUSE="${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
TEXLIVE_CAT="dev-texlive"
|
||||
|
||||
DEPEND=">=app-text/texlive-core-${PV}"
|
||||
RDEPEND="${DEPEND}
|
||||
app-text/psutils
|
||||
>=${TEXLIVE_CAT}/texlive-fontutils-${PV}
|
||||
media-gfx/sam2p
|
||||
app-text/texi2html
|
||||
sys-apps/texinfo
|
||||
>=${TEXLIVE_CAT}/texlive-texinfo-${PV}
|
||||
app-text/t1utils
|
||||
>=app-text/lcdf-typetools-2.69[kpathsea]
|
||||
truetype? ( media-libs/freetype:1[kpathsea] )
|
||||
detex? ( dev-tex/detex )
|
||||
app-text/ps2eps
|
||||
dvipdfm? ( >=app-text/dvipdfm-0.13.2d )
|
||||
dvi2tty? ( dev-tex/dvi2tty )
|
||||
png? ( app-text/dvipng )
|
||||
X? ( >=app-text/xdvik-22.84.16 )
|
||||
>=${TEXLIVE_CAT}/texlive-basic-${PV}
|
||||
>=${TEXLIVE_CAT}/texlive-fontsrecommended-${PV}
|
||||
>=${TEXLIVE_CAT}/texlive-latex-${PV}
|
||||
latex3? ( >=${TEXLIVE_CAT}/texlive-latex3-${PV} )
|
||||
luatex? (
|
||||
>=${TEXLIVE_CAT}/texlive-luatex-${PV}
|
||||
>=dev-tex/luatex-0.70
|
||||
)
|
||||
>=${TEXLIVE_CAT}/texlive-latexrecommended-${PV}
|
||||
>=dev-tex/xcolor-2.11
|
||||
>=dev-tex/latex-beamer-3.10
|
||||
>=${TEXLIVE_CAT}/texlive-metapost-${PV}
|
||||
dev-tex/feynmf
|
||||
>=${TEXLIVE_CAT}/texlive-genericrecommended-${PV}
|
||||
pdfannotextractor? ( dev-tex/pdfannotextractor )
|
||||
extra? (
|
||||
dev-tex/chktex
|
||||
app-text/dvisvgm
|
||||
dev-tex/latexdiff
|
||||
>=dev-tex/latexmk-418
|
||||
>=app-text/pdfjam-2.02
|
||||
>=${TEXLIVE_CAT}/texlive-bibtexextra-${PV}
|
||||
>=${TEXLIVE_CAT}/texlive-fontsextra-${PV}
|
||||
>=${TEXLIVE_CAT}/texlive-formatsextra-${PV}
|
||||
>=${TEXLIVE_CAT}/texlive-genericextra-${PV}
|
||||
>=${TEXLIVE_CAT}/texlive-latexextra-${PV}-r1
|
||||
>=dev-tex/glossaries-2.07
|
||||
>=dev-tex/leaflet-20041222
|
||||
>=dev-tex/currvita-0.9i-r1
|
||||
>=dev-tex/g-brief-4.0.2
|
||||
>=dev-tex/envlab-1.2-r1
|
||||
>=dev-tex/europecv-20060424-r1
|
||||
>=dev-tex/svninfo-0.7.3-r1
|
||||
>=${TEXLIVE_CAT}/texlive-mathextra-${PV}
|
||||
>=dev-tex/mh-20080903
|
||||
>=${TEXLIVE_CAT}/texlive-plainextra-${PV}
|
||||
)
|
||||
xetex? ( >=${TEXLIVE_CAT}/texlive-xetex-${PV} )
|
||||
graphics? ( >=${TEXLIVE_CAT}/texlive-pictures-${PV}-r1
|
||||
dev-tex/dot2texi
|
||||
>=dev-tex/pgf-2.00 )
|
||||
science? ( >=${TEXLIVE_CAT}/texlive-science-${PV} )
|
||||
publishers? ( >=${TEXLIVE_CAT}/texlive-publishers-${PV} )
|
||||
music? ( >=${TEXLIVE_CAT}/texlive-music-${PV} )
|
||||
pstricks? ( >=${TEXLIVE_CAT}/texlive-pstricks-${PV} )
|
||||
omega? ( >=${TEXLIVE_CAT}/texlive-omega-${PV} )
|
||||
context? ( >=${TEXLIVE_CAT}/texlive-context-${PV} )
|
||||
games? ( >=${TEXLIVE_CAT}/texlive-games-${PV} )
|
||||
humanities? ( >=${TEXLIVE_CAT}/texlive-humanities-${PV} )
|
||||
tex4ht? ( >=dev-tex/tex4ht-20080829 )
|
||||
xml? (
|
||||
>=${TEXLIVE_CAT}/texlive-htmlxml-${PV}
|
||||
>=dev-tex/xmltex-1.9-r2
|
||||
app-text/passivetex
|
||||
)
|
||||
jadetex? ( >=app-text/jadetex-3.13-r2 )
|
||||
doc? (
|
||||
>=${TEXLIVE_CAT}/texlive-documentation-base-${PV}
|
||||
linguas_ar? ( >=${TEXLIVE_CAT}/texlive-documentation-arabic-${PV} )
|
||||
linguas_bg? ( >=${TEXLIVE_CAT}/texlive-documentation-bulgarian-${PV} )
|
||||
linguas_zh? ( >=${TEXLIVE_CAT}/texlive-documentation-chinese-${PV} )
|
||||
linguas_cs? ( >=${TEXLIVE_CAT}/texlive-documentation-czechslovak-${PV} )
|
||||
linguas_sk? ( >=${TEXLIVE_CAT}/texlive-documentation-czechslovak-${PV} )
|
||||
linguas_nl? ( >=${TEXLIVE_CAT}/texlive-documentation-dutch-${PV} )
|
||||
linguas_en? ( >=${TEXLIVE_CAT}/texlive-documentation-english-${PV} )
|
||||
linguas_fi? ( >=${TEXLIVE_CAT}/texlive-documentation-finnish-${PV} )
|
||||
linguas_fr? ( >=${TEXLIVE_CAT}/texlive-documentation-french-${PV} )
|
||||
linguas_de? ( >=${TEXLIVE_CAT}/texlive-documentation-german-${PV} )
|
||||
linguas_it? ( >=${TEXLIVE_CAT}/texlive-documentation-italian-${PV} )
|
||||
linguas_ja? ( >=${TEXLIVE_CAT}/texlive-documentation-japanese-${PV} )
|
||||
linguas_ko? ( >=${TEXLIVE_CAT}/texlive-documentation-korean-${PV} )
|
||||
linguas_mn? ( >=${TEXLIVE_CAT}/texlive-documentation-mongolian-${PV} )
|
||||
linguas_pl? ( >=${TEXLIVE_CAT}/texlive-documentation-polish-${PV} )
|
||||
linguas_pt? ( >=${TEXLIVE_CAT}/texlive-documentation-portuguese-${PV} )
|
||||
linguas_ru? ( >=${TEXLIVE_CAT}/texlive-documentation-russian-${PV} )
|
||||
linguas_sr? ( >=${TEXLIVE_CAT}/texlive-documentation-serbian-${PV} )
|
||||
linguas_sl? ( >=${TEXLIVE_CAT}/texlive-documentation-slovenian-${PV} )
|
||||
linguas_es? ( >=${TEXLIVE_CAT}/texlive-documentation-spanish-${PV} )
|
||||
linguas_th? ( >=${TEXLIVE_CAT}/texlive-documentation-thai-${PV} )
|
||||
linguas_tr? ( >=${TEXLIVE_CAT}/texlive-documentation-turkish-${PV} )
|
||||
linguas_uk? ( >=${TEXLIVE_CAT}/texlive-documentation-ukrainian-${PV} )
|
||||
linguas_vi? ( >=${TEXLIVE_CAT}/texlive-documentation-vietnamese-${PV} )
|
||||
)
|
||||
linguas_af? ( >=${TEXLIVE_CAT}/texlive-langafrican-${PV}
|
||||
>=${TEXLIVE_CAT}/texlive-langother-${PV} )
|
||||
linguas_ar? ( >=${TEXLIVE_CAT}/texlive-langarabic-${PV} )
|
||||
linguas_fa? ( >=${TEXLIVE_CAT}/texlive-langarabic-${PV} )
|
||||
linguas_hy? ( >=${TEXLIVE_CAT}/texlive-langarmenian-${PV}
|
||||
>=${TEXLIVE_CAT}/texlive-langother-${PV} )
|
||||
cjk? ( >=${TEXLIVE_CAT}/texlive-langcjk-${PV}
|
||||
>=dev-tex/cjk-latex-4.8.1 )
|
||||
linguas_hr? ( >=${TEXLIVE_CAT}/texlive-langcroatian-${PV} )
|
||||
linguas_bg? ( >=${TEXLIVE_CAT}/texlive-langcyrillic-${PV} )
|
||||
linguas_ru? ( >=${TEXLIVE_CAT}/texlive-langcyrillic-${PV} )
|
||||
linguas_uk? ( >=${TEXLIVE_CAT}/texlive-langcyrillic-${PV} )
|
||||
linguas_cs? ( >=${TEXLIVE_CAT}/texlive-langczechslovak-${PV} >=app-text/vlna-1.3 )
|
||||
linguas_sk? ( >=${TEXLIVE_CAT}/texlive-langczechslovak-${PV} )
|
||||
linguas_da? ( >=${TEXLIVE_CAT}/texlive-langdanish-${PV} )
|
||||
linguas_nl? ( >=${TEXLIVE_CAT}/texlive-langdutch-${PV} )
|
||||
linguas_en? ( >=${TEXLIVE_CAT}/texlive-langenglish-${PV} )
|
||||
linguas_en_GB? ( >=${TEXLIVE_CAT}/texlive-langenglish-${PV} )
|
||||
linguas_fi? ( >=${TEXLIVE_CAT}/texlive-langfinnish-${PV} )
|
||||
linguas_eu? ( >=${TEXLIVE_CAT}/texlive-langfrench-${PV} )
|
||||
linguas_fr? ( >=${TEXLIVE_CAT}/texlive-langfrench-${PV} )
|
||||
linguas_de? ( >=${TEXLIVE_CAT}/texlive-langgerman-${PV} )
|
||||
linguas_el? ( >=${TEXLIVE_CAT}/texlive-langgreek-${PV} )
|
||||
linguas_he? ( >=${TEXLIVE_CAT}/texlive-langhebrew-${PV} )
|
||||
linguas_hu? ( >=${TEXLIVE_CAT}/texlive-langhungarian-${PV} )
|
||||
linguas_as? ( >=${TEXLIVE_CAT}/texlive-langindic-${PV} )
|
||||
linguas_bn? ( >=${TEXLIVE_CAT}/texlive-langindic-${PV} )
|
||||
linguas_gu? ( >=${TEXLIVE_CAT}/texlive-langindic-${PV} )
|
||||
linguas_hi? ( >=${TEXLIVE_CAT}/texlive-langindic-${PV} )
|
||||
linguas_kn? ( >=${TEXLIVE_CAT}/texlive-langindic-${PV} )
|
||||
linguas_ml? ( >=${TEXLIVE_CAT}/texlive-langindic-${PV} )
|
||||
linguas_mr? ( >=${TEXLIVE_CAT}/texlive-langindic-${PV} )
|
||||
linguas_or? ( >=${TEXLIVE_CAT}/texlive-langindic-${PV} )
|
||||
linguas_pa? ( >=${TEXLIVE_CAT}/texlive-langindic-${PV} )
|
||||
linguas_ta? ( >=${TEXLIVE_CAT}/texlive-langindic-${PV} )
|
||||
linguas_te? ( >=${TEXLIVE_CAT}/texlive-langindic-${PV} )
|
||||
linguas_sa_IN? ( >=${TEXLIVE_CAT}/texlive-langindic-${PV} )
|
||||
linguas_it? ( >=${TEXLIVE_CAT}/texlive-langitalian-${PV} )
|
||||
linguas_la? ( >=${TEXLIVE_CAT}/texlive-langlatin-${PV} )
|
||||
linguas_lt? ( >=${TEXLIVE_CAT}/texlive-langlithuanian-${PV} )
|
||||
linguas_lv? ( >=${TEXLIVE_CAT}/texlive-langlatvian-${PV} )
|
||||
linguas_mn? ( >=${TEXLIVE_CAT}/texlive-langmongolian-${PV} )
|
||||
linguas_nb? ( >=${TEXLIVE_CAT}/texlive-langnorwegian-${PV} )
|
||||
linguas_nn? ( >=${TEXLIVE_CAT}/texlive-langnorwegian-${PV} )
|
||||
linguas_no? ( >=${TEXLIVE_CAT}/texlive-langnorwegian-${PV} )
|
||||
linguas_cy? ( >=${TEXLIVE_CAT}/texlive-langother-${PV} )
|
||||
linguas_eo? ( >=${TEXLIVE_CAT}/texlive-langother-${PV} )
|
||||
linguas_et? ( >=${TEXLIVE_CAT}/texlive-langother-${PV} )
|
||||
linguas_ga? ( >=${TEXLIVE_CAT}/texlive-langother-${PV} )
|
||||
linguas_hsb? ( >=${TEXLIVE_CAT}/texlive-langother-${PV} )
|
||||
linguas_ia? ( >=${TEXLIVE_CAT}/texlive-langother-${PV} )
|
||||
linguas_id? ( >=${TEXLIVE_CAT}/texlive-langother-${PV} )
|
||||
linguas_is? ( >=${TEXLIVE_CAT}/texlive-langother-${PV} )
|
||||
linguas_lo? ( >=${TEXLIVE_CAT}/texlive-langother-${PV} )
|
||||
linguas_ro? ( >=${TEXLIVE_CAT}/texlive-langother-${PV} )
|
||||
linguas_sr? ( >=${TEXLIVE_CAT}/texlive-langother-${PV} )
|
||||
linguas_sl? ( >=${TEXLIVE_CAT}/texlive-langother-${PV} )
|
||||
linguas_tr? ( >=${TEXLIVE_CAT}/texlive-langother-${PV} )
|
||||
linguas_pl? ( >=${TEXLIVE_CAT}/texlive-langpolish-${PV} )
|
||||
linguas_pt? ( >=${TEXLIVE_CAT}/texlive-langportuguese-${PV} )
|
||||
linguas_ca? ( >=${TEXLIVE_CAT}/texlive-langspanish-${PV} )
|
||||
linguas_gl? ( >=${TEXLIVE_CAT}/texlive-langspanish-${PV} )
|
||||
linguas_es? ( >=${TEXLIVE_CAT}/texlive-langspanish-${PV} )
|
||||
linguas_sv? ( >=${TEXLIVE_CAT}/texlive-langswedish-${PV} )
|
||||
linguas_bo? ( >=${TEXLIVE_CAT}/texlive-langtibetan-${PV} )
|
||||
linguas_tk? ( >=${TEXLIVE_CAT}/texlive-langturkmen-${PV} )
|
||||
linguas_vi? ( >=${TEXLIVE_CAT}/texlive-langvietnamese-${PV} )
|
||||
xindy? ( app-text/xindy )
|
||||
"
|
@ -1,3 +1,3 @@
|
||||
DIST phpMyAdmin-3.4.6-all-languages.tar.bz2 4602509 RMD160 6155eda46145dc7bfdc39be490abc5bf1de56fbc SHA1 28659a49b30fd010396a952b57046beb2d65e5a2 SHA256 c5eb78779d6f4f29c0c4ee91d658f15965f2681683e8c704b76779047ba753b9
|
||||
DIST phpMyAdmin-3.4.9-all-languages.tar.bz2 4666051 RMD160 2bec1bd147af6ff00cdb999a35800b95f986a518 SHA1 4ac4f15fb305ef243b88b17e405e9d451bd56de9 SHA256 5251dc5c5c691c02dd4683692f282c72e8360f453dbb3edfa5f53d9461299f86
|
||||
DIST phpMyAdmin-3.5.0-all-languages.tar.bz2 4711973 RMD160 b7c02d5fbc6b082faba8dba3557efb89da38b040 SHA1 b8de74c723761276bc48c2c328290275dd113d9a SHA256 30ec9ca34926912a459e121539a56609e984de4df610674578c1bcfa51eb9ee5
|
||||
DIST phpMyAdmin-3.5.1-all-languages.tar.bz2 4724343 RMD160 4f61be7fe60368efde7b48ff07e0267d48c00737 SHA1 c2c01f3098bc5a87e05a9a79f9c196a82ada9aa1 SHA256 c4938855ad43c41a2c94b2f74c75a24819e01f55d800a347c8373557988b2da3
|
||||
|
@ -1 +1,2 @@
|
||||
DIST jrobin-1.5.14.tar.bz2 2139781 RMD160 ee680fa43ba5c49f3441ff83fc0c09ed7c5b6b8d SHA1 c99660a69eca76dcf3f9c39f6fdc98ad49e6fb4c SHA256 0712f748388c60d38ed4aa0800987d5bf46e975fd86d1b3795abfe589509126c
|
||||
DIST jrobin-1.5.4-1.tar.gz 752043 RMD160 63ad802f8e631fbe00504d14f0df75ebbe48ef82 SHA1 3e990baa20c41d66593a270afd4e5922580a0b85 SHA256 82cfc2fa8f22da4919391a8f100d1a1eaaac5599e4688180c27f231845c47a3d
|
||||
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jrobin/jrobin-1.5.14.ebuild,v 1.1 2012/05/07 08:24:39 sera Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="JRobin is a 100% pure Java alternative to RRDTool"
|
||||
HOMEPAGE="http://www.jrobin.org/"
|
||||
SRC_URI="mirror://sourceforge/jrobin/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# Require jdk6. #402485
|
||||
RDEPEND="virtual/jre:1.6"
|
||||
DEPEND="virtual/jdk:1.6"
|
||||
|
||||
java_prepare() {
|
||||
find -name '*.jar' -exec rm -v {} + || die
|
||||
}
|
||||
|
||||
EANT_BUILD_XML="ant/build.xml"
|
||||
EANT_BUILD_TARGET="${PN}"
|
||||
|
||||
src_install() {
|
||||
for jar in convertor inspector ${PN}; do
|
||||
java-pkg_newjar lib/${jar}-*.jar ${jar}.jar
|
||||
done
|
||||
java-pkg_dolauncher ${PN} --main org.jrobin.cmd.RrdCommander
|
||||
|
||||
use source && java-pkg_dosrc src/*
|
||||
use doc && java-pkg_dojavadoc doc/javadoc
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/proxool/proxool-0.8.3-r2.ebuild,v 1.1 2012/05/06 19:22:22 sera Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
WANT_ANT_TASKS="ant-nodeps"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Proxool is a Java connection pool."
|
||||
HOMEPAGE="http://proxool.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}-source.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
# Tests disabled because they would need hibernate
|
||||
# and as such creating a circular dependency
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEP="
|
||||
dev-java/avalon-framework:4.2
|
||||
dev-java/avalon-logkit:2.0
|
||||
dev-java/log4j:0
|
||||
dev-java/mx4j-core:3.0
|
||||
java-virtuals/servlet-api:3.0"
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.4"
|
||||
# Require jdk6 for building. #402487
|
||||
DEPEND="${COMMON_DEP}
|
||||
virtual/jdk:1.6
|
||||
dev-util/checkstyle:0"
|
||||
|
||||
java_prepare() {
|
||||
find -name '*.jar' -exec rm {} + || die
|
||||
|
||||
java-pkg_jar-from --into lib --build-only checkstyle
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
EANT_BUILD_TARGET="build-jar"
|
||||
EANT_GENTOO_CLASSPATH="log4j,servlet-api-3.0,avalon-framework-4.2,avalon-logkit-2.0,mx4j-core-3.0"
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar build/${P}.jar ${PN}.jar
|
||||
|
||||
dodoc README.txt || die
|
||||
# dohtml valid as there are other docs too
|
||||
use doc && java-pkg_dohtml -r doc/*
|
||||
use source && java-pkg_dosrc src/java/*
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST io-2009.01.02.tar.gz 7094859 RMD160 f44de708d2ae4bdc15211f17f07f6753f4f0492d SHA1 d1251347ceb5f0b47ff39d3c2908dd954994c77f SHA256 1a5a12ad1a9f65f207d4c78de67fb6f6a75740e514af2e0539968af7d65a4371
|
||||
DIST io-2011.09.12.tar.gz 9213332 RMD160 46ede97baa27b5f0e89a71cbecf71ba03c75fba5 SHA1 7d27d5a9de24b43fcfbca75ad5eb48a6014581dc SHA256 cdcf10745de2cd0aaa0c08f4ab31ac3aacfe942a8e1c2d52d5b50258862b5209
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue