parent
29d9986311
commit
20e836dfb2
@ -1 +1,2 @@
|
||||
DIST clsync-0.4.tar.gz 253396 SHA256 6f0ce7a5f61fbb50db53b787b62cf5347870f3be315acb02c4aee6b76206d19e SHA512 9b17f5f8f0bfc48531f3d8cb4f1c1edd3116e0b7d140e8ab2465dd1c590521c9857202ed3f36466f13fb3309abb9232fb4acbe25b5652914a816fac498f74a48 WHIRLPOOL 18ae12df2d7e0403b21c5d4ab7352cd81446729d94fb300a799b98dad9f88aeaa98deb2ba5f52858d3b6ba7406d777e53e97dae5c3a4802a229511db9c8a3482
|
||||
DIST clsync-0.4.1-20150524-v2.patch.xz 13632 SHA256 90a1ef820c83629c528e8c6fe4da5183caf60f8079c4de01a6d26945734c92f7 SHA512 d39c3c4f116eff2365668374ef62f4dfd8e5926267cbbf36b430f97ad5306f92cf6be3164c0e1c3d959db55453f5ded00d98d48af62f9eacde39a9f9667cfbf9 WHIRLPOOL d22fc6a1f0a59514506377f26ab7d9c0f4faca0abab044f2ce2e61ffa973ff04b43da561a4dd5c69d99e21108baa71d77bb2ea524313661b3b2440ceddca56aa
|
||||
DIST clsync-0.4.1.tar.gz 253890 SHA256 3f14a72d7c3c1747ea908e373f25bd1918ce00450492fbb7094549db6bf21e27 SHA512 875280f706026d44806b92c22fa58d016136b2792f67a6b7e77f932465081da7a1ebaf22c25e538e4b58bfe04cd1cd5450ecab99c3df53ddd2a0fa966442d444 WHIRLPOOL 10ab11821766f7d16d03993069ac4da5fe362a1e5977ea6721e49ada7044d3659e59b507b03be4de09609b0a0ca9d7878407d7b6e1f40df5dbe1d041dac373cb
|
||||
|
@ -1,61 +0,0 @@
|
||||
commit 1fe2a05438de390dc12a653bc50ddf591fa79733
|
||||
Author: Dmitry Yu Okunev <dyokunev@ut.mephi.ru>
|
||||
Date: Wed Jan 28 11:39:09 2015 +0300
|
||||
|
||||
Fixed the path '' in direct mode.
|
||||
|
||||
'' -> '.'
|
||||
|
||||
Thanks for bugreport to: Andrew A Savchenko <bircoph@gentoo.org>
|
||||
|
||||
diff --git a/sync.c b/sync.c
|
||||
index b6d3341..490ea39 100644
|
||||
--- a/sync.c
|
||||
+++ b/sync.c
|
||||
@@ -1959,6 +1959,25 @@ int fileischanged(ctx_t *ctx_p, indexes_t *indexes_p, const char *path_rel, stat
|
||||
return 1;
|
||||
}
|
||||
|
||||
+static inline int sync_indexes_fpath2ei_addfixed(ctx_t *ctx_p, indexes_t *indexes_p, const char *fpath, eventinfo_t *evinfo) {
|
||||
+ static const char fpath_dot[] = ".";
|
||||
+ const char *fpath_fixed;
|
||||
+
|
||||
+ fpath_fixed = fpath;
|
||||
+ switch (ctx_p->flags[MODE]) {
|
||||
+ case MODE_DIRECT:
|
||||
+
|
||||
+ // If fpath is empty (that means CWD) then assign it to "."
|
||||
+ if (!*fpath)
|
||||
+ fpath_fixed = fpath_dot;
|
||||
+ break;
|
||||
+ default:
|
||||
+ break;
|
||||
+ }
|
||||
+
|
||||
+ return indexes_fpath2ei_add(indexes_p, strdup(fpath_fixed), evinfo);
|
||||
+}
|
||||
+
|
||||
int sync_prequeue_loadmark
|
||||
(
|
||||
int monitored,
|
||||
@@ -2145,7 +2164,8 @@ int sync_prequeue_loadmark
|
||||
);
|
||||
|
||||
if (isnew)
|
||||
- indexes_fpath2ei_add(indexes_p, strdup(path_rel), evinfo);
|
||||
+ // Fix the path (if required) and call indexes_fpath2ei_add() to remeber the new object to be synced
|
||||
+ sync_indexes_fpath2ei_addfixed(ctx_p, indexes_p, path_rel, evinfo);
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -2288,7 +2308,9 @@ void _sync_idle_dosync_collectedevents(gpointer fpath_gp, gpointer evinfo_gp, gp
|
||||
|
||||
if (isnew) {
|
||||
debug(4, "Collecting \"%s\"", fpath);
|
||||
- indexes_fpath2ei_add(indexes_p, strdup(fpath), evinfo_idx);
|
||||
+
|
||||
+ // Fix the path (if required) and call indexes_fpath2ei_add() to remeber the new object to be synced
|
||||
+ sync_indexes_fpath2ei_addfixed(ctx_p, indexes_p, fpath, evinfo_idx);
|
||||
} else
|
||||
free(fpath);
|
||||
|
@ -1,32 +0,0 @@
|
||||
commit 4eea85337a3358baae0b4f0626d63a9626778a01
|
||||
Author: Andrew Savchenko <bircoph@gmail.com>
|
||||
Date: Wed Jan 28 02:50:36 2015 +0300
|
||||
|
||||
Add GIO to the list of allowed file monitors.
|
||||
|
||||
This allows to compile clsync ONLY with GIO support.
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index f497c67..a3f0324 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -262,7 +262,7 @@ dnl tre check
|
||||
# ;;
|
||||
#esac
|
||||
|
||||
-dnl kqueue/inotify/bsm
|
||||
+dnl kqueue/inotify/gio/bsm
|
||||
|
||||
AC_ARG_WITH(kqueue,
|
||||
AS_HELP_STRING(--with-kqueue,
|
||||
@@ -476,7 +476,9 @@ AM_CONDITIONAL([HAVE_SECCOMP], [test "x$HAVE_SECCOMP" != "x"])
|
||||
AM_CONDITIONAL([HAVE_TRE], [test "x$HAVE_TRE" != "x"])
|
||||
AM_CONDITIONAL([HAVE_LIBCGROUP], [test "x$HAVE_LIBCGROUP" != "x"])
|
||||
|
||||
-AS_IF([test "$HAVE_KQUEUE" = '' -a "$HAVE_INOTIFY" = '' -a "$HAVE_FANOTIFY" = '' -a "$HAVE_BSM" = '' ], [AC_MSG_FAILURE([kqueue, inotify and bsm are not supported on this system])])
|
||||
+AS_IF([test "$HAVE_KQUEUE" = '' -a "$HAVE_INOTIFY" = '' -a "$HAVE_FANOTIFY" = '' -a "$HAVE_BSM" = '' -a "$HAVE_GIO" = ''],
|
||||
+[AC_MSG_FAILURE([At least one monitoring engine must be enabled!
|
||||
+Available (depending on system): inotify, kqueue, gio, bsm])])
|
||||
|
||||
LIBS="${GLIB_LIBS} ${LIBS}"
|
||||
AM_CPPFLAGS="${GLIB_CFLAGS}"
|
@ -1,30 +0,0 @@
|
||||
commit a747384216597df71c99453dc5161100e1b41181
|
||||
Author: Dmitry Yu Okunev <dyokunev@ut.mephi.ru>
|
||||
Date: Wed Jan 28 11:46:57 2015 +0300
|
||||
|
||||
Fixed setting sync-handler without absoulte path
|
||||
|
||||
For example "-Secho"
|
||||
|
||||
diff --git a/main.c b/main.c
|
||||
index 53e71ae..792f1e4 100644
|
||||
--- a/main.c
|
||||
+++ b/main.c
|
||||
@@ -2526,12 +2526,16 @@ int main(int _argc, char *_argv[]) {
|
||||
|
||||
if (ctx_p->handlerfpath != NULL) {
|
||||
char *rhandlerfpath = realpath(ctx_p->handlerfpath, NULL);
|
||||
+/*
|
||||
if (rhandlerfpath == NULL) {
|
||||
error("Got error while realpath() on \"%s\" [#0].", ctx_p->handlerfpath);
|
||||
ret = errno;
|
||||
}
|
||||
debug(5, "rhandlerfpath == \"%s\"", rhandlerfpath);
|
||||
- ctx_p->handlerfpath = rhandlerfpath;
|
||||
+ ctx_p->handlerfpath = rhandlerfpath;*/
|
||||
+
|
||||
+ if (rhandlerfpath != NULL)
|
||||
+ ctx_p->handlerfpath = rhandlerfpath;
|
||||
|
||||
}
|
||||
|
@ -1,37 +0,0 @@
|
||||
commit 76c75f8180a7e7592da927e8b4c8f5f067470d05
|
||||
Author: Dmitry Yu Okunev <dyokunev@ut.mephi.ru>
|
||||
Date: Wed Jan 28 12:19:11 2015 +0300
|
||||
|
||||
[hl_locks] A try to fix a segfault on one core PC
|
||||
|
||||
Thanks for the bugreport to: Andrew A Savchenko <bircoph@gentoo.org>
|
||||
|
||||
diff --git a/privileged.c b/privileged.c
|
||||
index fafd5b7..668a536 100644
|
||||
--- a/privileged.c
|
||||
+++ b/privileged.c
|
||||
@@ -1680,11 +1680,6 @@ int privileged_init(ctx_t *ctx_p)
|
||||
#endif
|
||||
|
||||
#ifdef CAPABILITIES_SUPPORT
|
||||
-# ifdef HL_LOCKS
|
||||
- if (ncpus == 1)
|
||||
- hl_shutdown(HLLOCK_HANDLER);
|
||||
-# endif
|
||||
-
|
||||
if (ctx_p->flags[SPLITTING] == SM_OFF) {
|
||||
#endif
|
||||
|
||||
@@ -1792,6 +1787,12 @@ int privileged_init(ctx_t *ctx_p)
|
||||
default:
|
||||
critical("Invalid ctx_p->flags[SPLITTING]: %i", ctx_p->flags[SPLITTING]);
|
||||
}
|
||||
+
|
||||
+# ifdef HL_LOCKS
|
||||
+ if (ncpus == 1)
|
||||
+ hl_shutdown(HLLOCK_HANDLER);
|
||||
+# endif
|
||||
+
|
||||
critical_on(!helper_isalive());
|
||||
|
||||
# ifdef UNSHARE_SUPPORT
|
@ -1,13 +0,0 @@
|
||||
diff --git a/main.c b/main.c
|
||||
index 176e1f4..48aee6a 100644
|
||||
--- a/main.c
|
||||
+++ b/main.c
|
||||
@@ -116,7 +116,7 @@ static const struct option long_options[] =
|
||||
{"cgroup-group-name", required_argument, NULL, CG_GROUPNAME},
|
||||
#endif
|
||||
{"threading", required_argument, NULL, THREADING},
|
||||
- {"retries", optional_argument, NULL, RETRIES},
|
||||
+ {"retries", required_argument, NULL, RETRIES},
|
||||
{"ignore-failures", optional_argument, NULL, IGNOREFAILURES},
|
||||
{"exit-on-sync-skipping",optional_argument, NULL, EXITONSYNCSKIP},
|
||||
{"output", required_argument, NULL, OUTPUT_METHOD},
|
@ -1,179 +0,0 @@
|
||||
commit 41283d1359b652c728ca37406a33e62e8541bdda
|
||||
Author: Andrew Savchenko <bircoph@gmail.com>
|
||||
Date: Fri Feb 20 21:04:48 2015 +0300
|
||||
|
||||
parser: check correctness of str to int conversions.
|
||||
|
||||
diff --git a/main.c b/main.c
|
||||
index 48aee6a..d057489 100644
|
||||
--- a/main.c
|
||||
+++ b/main.c
|
||||
@@ -808,15 +808,33 @@ static int synchandler_arg1(char *arg, size_t arg_len, void *_ctx_p) {
|
||||
return synchandler_arg(arg, arg_len, _ctx_p, SHARGS_INITIAL);
|
||||
}
|
||||
|
||||
-int parse_customsignals(ctx_t *ctx_p, char *arg) {
|
||||
+/* strtol wrapper with error checks */
|
||||
+static inline long xstrtol(const char *str, int *err) {
|
||||
+ long res;
|
||||
+ char *endptr;
|
||||
+
|
||||
+ res = strtol(str, &endptr, 0);
|
||||
+ if (errno || *endptr) {
|
||||
+ error("argument \"%s\" can't be parsed as a number", str);
|
||||
+ *err = EINVAL;
|
||||
+ }
|
||||
+ return res;
|
||||
+}
|
||||
+
|
||||
+static inline int parse_customsignals(ctx_t *ctx_p, char *arg) {
|
||||
char *ptr = arg, *start = arg;
|
||||
+ int ret = 0;
|
||||
unsigned int signal;
|
||||
do {
|
||||
switch (*ptr) {
|
||||
case 0:
|
||||
case ',':
|
||||
case ':':
|
||||
- signal = (unsigned int)atoi(start);
|
||||
+ signal = (unsigned int)xstrtol(start, &ret);
|
||||
+ if (ret) {
|
||||
+ errno = ret;
|
||||
+ return errno;
|
||||
+ }
|
||||
if (signal == 0) {
|
||||
// flushing the setting
|
||||
int i = 0;
|
||||
@@ -883,7 +901,8 @@ int parse_customsignals(ctx_t *ctx_p, char *arg) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
-int parse_parameter(ctx_t *ctx_p, uint16_t param_id, char *arg, paramsource_t paramsource) {
|
||||
+static int parse_parameter(ctx_t *ctx_p, uint16_t param_id, char *arg, paramsource_t paramsource) {
|
||||
+ int ret = 0;
|
||||
#ifdef _DEBUG_FORCE
|
||||
fprintf(stderr, "Force-Debug: parse_parameter(): %i: %i = \"%s\"\n", paramsource, param_id, arg);
|
||||
#endif
|
||||
@@ -962,7 +981,7 @@ int parse_parameter(ctx_t *ctx_p, uint16_t param_id, char *arg, paramsource_t pa
|
||||
ctx_p->flags[param_id]++;
|
||||
|
||||
if (pwd == NULL) {
|
||||
- ctx_p->uid = (unsigned int)atol(arg);
|
||||
+ ctx_p->uid = (unsigned int)xstrtol(arg, &ret);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -974,7 +993,7 @@ int parse_parameter(ctx_t *ctx_p, uint16_t param_id, char *arg, paramsource_t pa
|
||||
ctx_p->flags[param_id]++;
|
||||
|
||||
if (grp == NULL) {
|
||||
- ctx_p->gid = (unsigned int)atol(arg);
|
||||
+ ctx_p->gid = (unsigned int)xstrtol(arg, &ret);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1028,7 +1047,7 @@ int parse_parameter(ctx_t *ctx_p, uint16_t param_id, char *arg, paramsource_t pa
|
||||
ctx_p->flags[param_id]++;
|
||||
|
||||
if (pwd == NULL) {
|
||||
- ctx_p->synchandler_uid = (unsigned int)atol(arg);
|
||||
+ ctx_p->synchandler_uid = (unsigned int)xstrtol(arg, &ret);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1040,7 +1059,7 @@ int parse_parameter(ctx_t *ctx_p, uint16_t param_id, char *arg, paramsource_t pa
|
||||
ctx_p->flags[param_id]++;
|
||||
|
||||
if (grp == NULL) {
|
||||
- ctx_p->synchandler_gid = (unsigned int)atol(arg);
|
||||
+ ctx_p->synchandler_gid = (unsigned int)xstrtol(arg, &ret);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1233,7 +1252,7 @@ int parse_parameter(ctx_t *ctx_p, uint16_t param_id, char *arg, paramsource_t pa
|
||||
ctx_p->pidfile = arg;
|
||||
break;
|
||||
case RETRIES:
|
||||
- ctx_p->retries = (unsigned int)atol(arg);
|
||||
+ ctx_p->retries = (unsigned int)xstrtol(arg, &ret);
|
||||
break;
|
||||
case THREADING: {
|
||||
char *value, *arg_orig = arg;
|
||||
@@ -1279,22 +1298,22 @@ int parse_parameter(ctx_t *ctx_p, uint16_t param_id, char *arg, paramsource_t pa
|
||||
ctx_p->cluster_mcastipaddr = arg;
|
||||
break;
|
||||
case CLUSTERMCASTIPPORT:
|
||||
- ctx_p->cluster_mcastipport = (uint16_t)atoi(arg);
|
||||
+ ctx_p->cluster_mcastipport = (uint16_t)xstrtol(arg, &ret);
|
||||
break;
|
||||
case CLUSTERTIMEOUT:
|
||||
- ctx_p->cluster_timeout = (unsigned int)atol(arg);
|
||||
+ ctx_p->cluster_timeout = (unsigned int)xstrtol(arg, &ret);
|
||||
break;
|
||||
case CLUSTERNODENAME:
|
||||
ctx_p->cluster_nodename = arg;
|
||||
break;
|
||||
case CLUSTERHDLMIN:
|
||||
- ctx_p->cluster_hash_dl_min = (uint16_t)atoi(arg);
|
||||
+ ctx_p->cluster_hash_dl_min = (uint16_t)xstrtol(arg, &ret);
|
||||
break;
|
||||
case CLUSTERHDLMAX:
|
||||
- ctx_p->cluster_hash_dl_max = (uint16_t)atoi(arg);
|
||||
+ ctx_p->cluster_hash_dl_max = (uint16_t)xstrtol(arg, &ret);
|
||||
break;
|
||||
case CLUSTERSDLMAX:
|
||||
- ctx_p->cluster_scan_dl_max = (uint16_t)atoi(arg);
|
||||
+ ctx_p->cluster_scan_dl_max = (uint16_t)xstrtol(arg, &ret);
|
||||
break;
|
||||
#endif
|
||||
case OUTLISTSDIR:
|
||||
@@ -1334,16 +1353,16 @@ int parse_parameter(ctx_t *ctx_p, uint16_t param_id, char *arg, paramsource_t pa
|
||||
break;
|
||||
}
|
||||
case SYNCDELAY:
|
||||
- ctx_p->syncdelay = (unsigned int)atol(arg);
|
||||
+ ctx_p->syncdelay = (unsigned int)xstrtol(arg, &ret);
|
||||
break;
|
||||
case DELAY:
|
||||
- ctx_p->_queues[QUEUE_NORMAL].collectdelay = (unsigned int)atol(arg);
|
||||
+ ctx_p->_queues[QUEUE_NORMAL].collectdelay = (unsigned int)xstrtol(arg, &ret);
|
||||
break;
|
||||
case BFILEDELAY:
|
||||
- ctx_p->_queues[QUEUE_BIGFILE].collectdelay = (unsigned int)atol(arg);
|
||||
+ ctx_p->_queues[QUEUE_BIGFILE].collectdelay = (unsigned int)xstrtol(arg, &ret);
|
||||
break;
|
||||
case BFILETHRESHOLD:
|
||||
- ctx_p->bfilethreshold = (unsigned long)atol(arg);
|
||||
+ ctx_p->bfilethreshold = (unsigned long)xstrtol(arg, &ret);
|
||||
break;
|
||||
case CANCEL_SYSCALLS: {
|
||||
char *subopts = arg;
|
||||
@@ -1412,10 +1431,10 @@ int parse_parameter(ctx_t *ctx_p, uint16_t param_id, char *arg, paramsource_t pa
|
||||
break;
|
||||
}
|
||||
case RSYNCINCLIMIT:
|
||||
- ctx_p->rsyncinclimit = (unsigned int)atol(arg);
|
||||
+ ctx_p->rsyncinclimit = (unsigned int)xstrtol(arg, &ret);
|
||||
break;
|
||||
case SYNCTIMEOUT:
|
||||
- ctx_p->synctimeout = (unsigned int)atol(arg);
|
||||
+ ctx_p->synctimeout = (unsigned int)xstrtol(arg, &ret);
|
||||
break;
|
||||
case PREEXITHOOK:
|
||||
if (strlen(arg)) {
|
||||
@@ -1611,13 +1630,13 @@ int parse_parameter(ctx_t *ctx_p, uint16_t param_id, char *arg, paramsource_t pa
|
||||
if (arg == NULL)
|
||||
ctx_p->flags[param_id]++;
|
||||
else
|
||||
- ctx_p->flags[param_id] = atoi(arg);
|
||||
+ ctx_p->flags[param_id] = xstrtol(arg, &ret);
|
||||
#ifdef _DEBUG_FORCE
|
||||
fprintf(stderr, "Force-Debug: flag %i is set to %i\n", param_id&0xff, ctx_p->flags[param_id]);
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
- return 0;
|
||||
+ return ret;
|
||||
}
|
||||
|
||||
int arguments_parse(int argc, char *argv[], struct ctx *ctx_p) {
|
@ -1,43 +0,0 @@
|
||||
commit 596f79fa65af66afdff4cf24b9135935bf511108
|
||||
Author: Dmitry Yu Okunev <dyokunev@ut.mephi.ru>
|
||||
Date: Wed Jan 28 14:27:51 2015 +0300
|
||||
|
||||
Fixed a segfault on non-set "HOME" environment variable
|
||||
|
||||
diff --git a/main.c b/main.c
|
||||
index 792f1e4..176e1f4 100644
|
||||
--- a/main.c
|
||||
+++ b/main.c
|
||||
@@ -1731,18 +1731,18 @@ int configs_parse(ctx_t *ctx_p, paramsource_t paramsource) {
|
||||
char **config_path_p = config_paths, *config_path_real = xmalloc(PATH_MAX);
|
||||
size_t config_path_real_size=PATH_MAX;
|
||||
|
||||
- char *homedir = getenv("HOME");
|
||||
- size_t homedir_len = strlen(homedir);
|
||||
+ char *homedir = getenv("HOME");
|
||||
+ size_t homedir_len = (homedir == NULL ? 0 :strlen(homedir));
|
||||
|
||||
- while(*config_path_p != NULL) {
|
||||
+ while (*config_path_p != NULL) {
|
||||
size_t config_path_len = strlen(*config_path_p);
|
||||
|
||||
- if(config_path_len+homedir_len+3 > config_path_real_size) {
|
||||
+ if (config_path_len+homedir_len+3 > config_path_real_size) {
|
||||
config_path_real_size = config_path_len+homedir_len+3;
|
||||
config_path_real = xmalloc(config_path_real_size);
|
||||
}
|
||||
|
||||
- if(*config_path_p[0] != '/') {
|
||||
+ if ((*config_path_p[0] != '/') && (homedir_len >= 0)) {
|
||||
memcpy(config_path_real, homedir, homedir_len);
|
||||
config_path_real[homedir_len] = '/';
|
||||
memcpy(&config_path_real[homedir_len+1], *config_path_p, config_path_len+1);
|
||||
@@ -1750,7 +1750,7 @@ int configs_parse(ctx_t *ctx_p, paramsource_t paramsource) {
|
||||
memcpy(config_path_real, *config_path_p, config_path_len+1);
|
||||
|
||||
debug(1, "Trying config-file \"%s\" (case #1)", config_path_real);
|
||||
- if(!g_key_file_load_from_file(gkf, config_path_real, G_KEY_FILE_NONE, NULL)) {
|
||||
+ if (!g_key_file_load_from_file(gkf, config_path_real, G_KEY_FILE_NONE, NULL)) {
|
||||
debug(1, "Cannot open/parse file \"%s\"", config_path_real);
|
||||
config_path_p++;
|
||||
continue;
|
@ -1,38 +0,0 @@
|
||||
commit a13f929cfe4a7fad58c7d814a139efff091601e0
|
||||
Author: Dmitry Yu Okunev <dyokunev@ut.mephi.ru>
|
||||
Date: Tue Jan 27 15:51:18 2015 +0300
|
||||
|
||||
"unshare()" support is configurable now
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index f474478..059ade0 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -87,6 +87,17 @@ AS_HELP_STRING(--enable-socket-library,
|
||||
[build libclsync socket library, default: no]))
|
||||
AM_CONDITIONAL([LIBCLSYNC], [test "x$enable_socket_library" = "xyes"])
|
||||
|
||||
+dnl --enable-unshare
|
||||
+AC_ARG_ENABLE(unshare,
|
||||
+AS_HELP_STRING(--enable-unshare,
|
||||
+[enable support of unshare(), default: yes]), [], [enable_unshare="yes"])
|
||||
+
|
||||
+HAVE_UNSHARE=0
|
||||
+AS_IF([ test "x$enable_unshare" = "xyes" ],
|
||||
+[
|
||||
+ AC_CHECK_FUNC([unshare], [HAVE_UNSHARE=1], [AC_MSG_FAILURE([Cannot find function unshare()])])
|
||||
+])
|
||||
+
|
||||
dnl --enable-highload-locks
|
||||
AC_ARG_ENABLE(highload-locks,
|
||||
AS_HELP_STRING(--enable-highload-locks,
|
||||
@@ -155,9 +166,6 @@ AC_CHECK_FUNC([getmntent], [HAVE_GETMNTENT=1])
|
||||
dnl searching for pivot_root
|
||||
AC_CHECK_FUNC([pivot_root], [HAVE_PIVOTROOT=1])
|
||||
|
||||
-dnl searching for unshare
|
||||
-AC_CHECK_FUNC([unshare], [HAVE_UNSHARE=1])
|
||||
-
|
||||
dnl libcgroup check
|
||||
AC_ARG_WITH(libcgroup,
|
||||
AS_HELP_STRING(--with-libcgroup,
|
@ -1,34 +0,0 @@
|
||||
commit a437518de6813202ab9cef124a6ca085d3eb555d
|
||||
Author: Dmitry Yu Okunev <dyokunev@ut.mephi.ru>
|
||||
Date: Tue Jan 27 18:56:02 2015 +0300
|
||||
|
||||
Added missed "#ifdef"-s for unshare()
|
||||
|
||||
diff --git a/privileged.c b/privileged.c
|
||||
index 4b35514..fafd5b7 100644
|
||||
--- a/privileged.c
|
||||
+++ b/privileged.c
|
||||
@@ -1747,7 +1747,9 @@ int privileged_init(ctx_t *ctx_p)
|
||||
|
||||
SAFE ( pthread_mutex_lock(pthread_mutex_runner_p), return errno;);
|
||||
|
||||
+# ifdef UNSHARE_SUPPORT
|
||||
unshare(CLONE_NEWIPC);
|
||||
+# endif
|
||||
|
||||
switch (ctx_p->flags[SPLITTING]) {
|
||||
case SM_THREAD: {
|
||||
@@ -1792,11 +1794,13 @@ int privileged_init(ctx_t *ctx_p)
|
||||
}
|
||||
critical_on(!helper_isalive());
|
||||
|
||||
+# ifdef UNSHARE_SUPPORT
|
||||
// The rest routines
|
||||
if (ctx_p->flags[DETACH_NETWORK] == DN_NONPRIVILEGED) {
|
||||
SAFE ( cap_enable(CAP_TO_MASK(CAP_SYS_ADMIN)), return errno; );
|
||||
SAFE ( unshare(CLONE_NEWNET), return errno; );
|
||||
}
|
||||
+# endif
|
||||
SAFE ( cap_drop(ctx_p, 0), return errno; );
|
||||
|
||||
debug(4, "Waiting for the privileged thread to get prepared");
|
@ -1,140 +0,0 @@
|
||||
Adapted commit 756ae28750b514473ae235218d466dc6fa960c30
|
||||
Author: Dmitry Yu Okunev <dyokunev@ut.mephi.ru>
|
||||
Date: Thu Jan 29 15:17:39 2015 +0300
|
||||
|
||||
[configure.ac] Removed dependency on libseccomp; renamed "--with-libseccomp" -> "--enable-seccomp", "--with-capabilities" -> "--enable-capabilities"
|
||||
|
||||
--- clsync-0.4/configure.ac.orig 2015-02-11 01:52:54.104682884 +0300
|
||||
+++ clsync-0.4/configure.ac 2015-02-11 01:58:07.397580398 +0300
|
||||
@@ -145,6 +145,51 @@
|
||||
)
|
||||
AS_IF([test $paranoid -eq 2], [CPPFLAGS="${CPPFLAGS} -DVERYPARANOID"])
|
||||
|
||||
+dnl searching for seccomp
|
||||
+AC_ARG_ENABLE(seccomp,
|
||||
+ AS_HELP_STRING(--enable-seccomp,
|
||||
+ [Enable seccomp support be able to forbid extra syscalls; values: no, check, yes; default: check]),
|
||||
+ ,
|
||||
+ [enable_seccomp=check]
|
||||
+)
|
||||
+
|
||||
+case "$enable_seccomp" in
|
||||
+ yes)
|
||||
+ AC_CHECK_TYPES([struct seccomp_data], [HAVE_SECCOMP=1], [AC_MSG_FAILURE([Cannot find valid linux/seccomp.h])], [[#include <linux/seccomp.h>]])
|
||||
+ ;;
|
||||
+ check)
|
||||
+ AC_CHECK_TYPES([struct seccomp_data], [HAVE_SECCOMP=1], , [[#include <linux/seccomp.h>]])
|
||||
+ ;;
|
||||
+esac
|
||||
+
|
||||
+dnl capabilities check
|
||||
+AC_ARG_ENABLE(capabilities,
|
||||
+ AS_HELP_STRING(--enable-capabilities,
|
||||
+ [Enable linux capabilities support; values: no, check, yes; default: check]),
|
||||
+ ,
|
||||
+ [enable_capabilities=check]
|
||||
+)
|
||||
+
|
||||
+case "$enable_capabilities" in
|
||||
+ yes)
|
||||
+ AC_CHECK_FUNC([capset],
|
||||
+ [
|
||||
+ AC_CHECK_HEADER(sys/capability.h, [HAVE_CAPABILITIES=2], [AC_MSG_FAILURE([Cannot find sys/capability.h])])
|
||||
+ ],
|
||||
+ [
|
||||
+ AC_MSG_FAILURE([There is no capabilities support on this system])
|
||||
+ ]
|
||||
+ )
|
||||
+ ;;
|
||||
+ check)
|
||||
+ AC_CHECK_FUNC([capset],
|
||||
+ [
|
||||
+ AC_CHECK_HEADER(sys/capability.h, [HAVE_CAPABILITIES=2])
|
||||
+ ]
|
||||
+ )
|
||||
+ ;;
|
||||
+esac
|
||||
+
|
||||
# Checks for programs.
|
||||
AC_PROG_CC_C99
|
||||
AC_PROG_INSTALL
|
||||
@@ -201,34 +246,6 @@
|
||||
;;
|
||||
esac
|
||||
|
||||
-dnl capabilities check
|
||||
-AC_ARG_WITH(capabilities,
|
||||
- AS_HELP_STRING(--with-capabilities,
|
||||
- [Enable linux capabilities support; values: no, check, yes; default: check]),
|
||||
- [],
|
||||
- [with_capabilities=check]
|
||||
-)
|
||||
-
|
||||
-case "$with_capabilities" in
|
||||
- yes)
|
||||
- AC_CHECK_FUNC([capset],
|
||||
- [
|
||||
- AC_CHECK_HEADER(sys/capability.h, [HAVE_CAPABILITIES=2], [AC_MSG_FAILURE([Cannot find sys/capability.h])])
|
||||
- ],
|
||||
- [
|
||||
- AC_MSG_FAILURE([There is no capabilities support on this system])
|
||||
- ]
|
||||
- )
|
||||
- ;;
|
||||
- check)
|
||||
- AC_CHECK_FUNC([capset],
|
||||
- [
|
||||
- AC_CHECK_HEADER(sys/capability.h, [HAVE_CAPABILITIES=2])
|
||||
- ]
|
||||
- )
|
||||
- ;;
|
||||
-esac
|
||||
-
|
||||
dnl tre check
|
||||
|
||||
#AC_ARG_WITH(tre,
|
||||
@@ -433,31 +450,6 @@
|
||||
|
||||
AS_IF([test "$HAVE_INOTIFY" != ""], [AC_CHECK_FUNC([inotify_init1], [], [INOTIFY_OLD=1])])
|
||||
|
||||
-dnl searching for seccomp
|
||||
-AC_ARG_WITH(libseccomp,
|
||||
- AS_HELP_STRING(--with-libseccomp,
|
||||
- [Enable seccomp support be able to forbid extra syscalls; values: no, check, yes; default: check]),
|
||||
- [],
|
||||
- [with_libseccomp=check]
|
||||
-)
|
||||
-
|
||||
-case "$with_libseccomp" in
|
||||
- yes)
|
||||
- AC_CHECK_TYPES([scmp_filter_ctx], [], [AC_MSG_FAILURE([Cannot find valid seccomp.h])], [[#include <seccomp.h>]])
|
||||
- AC_CHECK_DECLS([seccomp_syscall_resolve_name_arch], [], [AC_MSG_FAILURE([Cannot find valid seccomp.h])], [[#include <seccomp.h>]])
|
||||
- AC_CHECK_TYPES([struct seccomp_data], [HAVE_SECCOMP=1], [AC_MSG_FAILURE([Cannot find valid linux/seccomp.h])], [[#include <linux/seccomp.h>]])
|
||||
- ;;
|
||||
- check)
|
||||
- AC_CHECK_TYPES([scmp_filter_ctx], [
|
||||
- AC_CHECK_DECLS([seccomp_syscall_resolve_name_arch], [
|
||||
- AC_CHECK_TYPES([struct seccomp_data], [HAVE_SECCOMP=1], [], [[#include <linux/seccomp.h>]])
|
||||
- ], [], [[#include <seccomp.h>]])
|
||||
- ], [], [[#include <seccomp.h>]])
|
||||
- ;;
|
||||
-esac
|
||||
-AS_IF([test "$HAVE_CAPABILITIES" != ""], [
|
||||
-])
|
||||
-
|
||||
AM_CONDITIONAL([HAVE_KQUEUE], [test "x$HAVE_KQUEUE" != "x"])
|
||||
AM_CONDITIONAL([HAVE_INOTIFY], [test "x$HAVE_INOTIFY" != "x"])
|
||||
AM_CONDITIONAL([INOTIFY_OLD], [test "x$INOTIFY_OLD" != "x"])
|
||||
diff --git a/privileged.c b/privileged.c
|
||||
index 668a536..0e773cc 100644
|
||||
--- a/privileged.c
|
||||
+++ b/privileged.c
|
||||
@@ -59,7 +59,7 @@
|
||||
#include "privileged.h"
|
||||
|
||||
#ifdef SECCOMP_SUPPORT
|
||||
-# include <seccomp.h> // __NR_*
|
||||
+# include <syscall.h> // __NR_*
|
||||
# include <sys/prctl.h> // prctl()
|
||||
# include <linux/filter.h> // struct sock_filter
|
||||
# include <linux/seccomp.h> // SECCOMP_RET_*
|
@ -1,19 +0,0 @@
|
||||
commit e9eeb552896a3ac3f4f1e9d72ecab6a200f3c70c
|
||||
Author: Andrew Savchenko <bircoph@gmail.com>
|
||||
Date: Tue Jan 27 21:54:21 2015 +0300
|
||||
|
||||
update package string
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 45f5a23..3e0b3cc 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -2,7 +2,7 @@
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ([2.59])
|
||||
-AC_INIT([clsync],[0.3],[Dmitry Yu Okunev <dyokunev@ut.mephi.ru>],,[https://github.com/xaionaro/clsync])
|
||||
+AC_INIT([clsync],[0.4],[Dmitry Yu Okunev <dyokunev@ut.mephi.ru>],,[https://github.com/xaionaro/clsync])
|
||||
AC_CONFIG_SRCDIR([sync.c])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AM_INIT_AUTOMAKE([1.11 foreign -Wall -Wno-portability])
|
@ -1 +1,2 @@
|
||||
DIST r10k-1.1.3.gem 30720 SHA256 4b4732046a7478f28668dd3db08ce2527bb45c6da83ec0c604f16d09fce9b91a SHA512 9ddb06c3535c4d5f4f0d8156ddf7671f248283874ef7fab4a2e9d00534e6d165e1b7a32937ecef8043a7fb8ff1143a9dd7bc388f0d7c810de86bc369a22fb502 WHIRLPOOL ea9b3a291cc581c719c2852a0d5f268be2389ed783368a0b20c6dc81b047d5725c60956de3282a353dfefd034a4be2eadaceba1a79ee9c0c16b3afaca3be2ac8
|
||||
DIST r10k-1.5.1.gem 164864 SHA256 4dd4edfb1b69400324780784bf214a80bec3d0dbd46bc94113683904d503fdb0 SHA512 4440a893aaa6ec0337f9347b620f92afd93099465c148bfe90cd44c2c6fe29cc8411b8c225044a9547d24a8857b580dcf2ea190bf64fe9ba180d1c5c3832d1dd WHIRLPOOL b8a3a49857bc97e4b1529c4a8f33ace1e6c1cca270bd4be3669494568bbc9a0b85e15419103bbb63622aadd3ad1453e11ae63b85b9c86a67d013962f4d7b2761
|
||||
|
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/r10k/r10k-1.5.1.ebuild,v 1.1 2015/05/24 22:58:40 robbat2 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Puppet environment and module deployment"
|
||||
HOMEPAGE="http://github.com/adrienthebo/r10k"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+git"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/colored-1.2
|
||||
=dev-ruby/cri-2.7*
|
||||
>=dev-ruby/systemu-2.5.2
|
||||
>=dev-ruby/log4r-1.1.10
|
||||
>=dev-ruby/faraday-0.9.0
|
||||
>=dev-ruby/faraday_middleware-0.9.0
|
||||
>=dev-ruby/faraday_middleware-multi_json-0.0.6
|
||||
>=dev-ruby/multi_json-1.10
|
||||
>=dev-ruby/semantic_puppet-0.1.1
|
||||
dev-ruby/json"
|
||||
|
||||
RDEPEND="${RDEPEND} git? ( >=dev-vcs/git-1.6.6 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e 's/json_pure/json/' \
|
||||
-e '/cri/ s/2\.6\../2.7/' \
|
||||
-e '/systemu/ s/2.5.2/2.5/' \
|
||||
-e '/s.files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn
|
||||
ewarn "If you are upgrading from 1.1.0 and are using multiple sources, please read"
|
||||
ewarn "this. (If not, feel free to continue with your regularly scheduled day.)"
|
||||
ewarn
|
||||
ewarn "GH-48 (https://github.com/adrienthebo/r10k/issues/48) introduced the ability"
|
||||
ewarn "for environments to be prefixed with the source name so that multiple sources"
|
||||
ewarn "installed into the same directory would not overwrite each other. However"
|
||||
ewarn "prefixing was automatically enabled and would break existing setups where"
|
||||
ewarn "multiple sources were cloned into different directories."
|
||||
ewarn
|
||||
ewarn "Because this introduced a breaking change, SemVer dictates that the automatic"
|
||||
ewarn "prefixing has to be rolled back. Prefixing can be enabled but always defaults"
|
||||
ewarn "to off. If you are relying on this behavior you will need to update your r10k.yaml"
|
||||
ewarn "to enable prefixing on a per-source basis."
|
||||
ewarn
|
||||
ewarn "Please see the issue (https://github.com/adrienthebo/r10k/issues/48) for more"
|
||||
ewarn "information."
|
||||
}
|
@ -1 +1 @@
|
||||
DIST clsync-0.4.tar.gz 253396 SHA256 6f0ce7a5f61fbb50db53b787b62cf5347870f3be315acb02c4aee6b76206d19e SHA512 9b17f5f8f0bfc48531f3d8cb4f1c1edd3116e0b7d140e8ab2465dd1c590521c9857202ed3f36466f13fb3309abb9232fb4acbe25b5652914a816fac498f74a48 WHIRLPOOL 18ae12df2d7e0403b21c5d4ab7352cd81446729d94fb300a799b98dad9f88aeaa98deb2ba5f52858d3b6ba7406d777e53e97dae5c3a4802a229511db9c8a3482
|
||||
DIST clsync-0.4.1.tar.gz 253890 SHA256 3f14a72d7c3c1747ea908e373f25bd1918ce00450492fbb7094549db6bf21e27 SHA512 875280f706026d44806b92c22fa58d016136b2792f67a6b7e77f932465081da7a1ebaf22c25e538e4b58bfe04cd1cd5450ecab99c3df53ddd2a0fa966442d444 WHIRLPOOL 10ab11821766f7d16d03993069ac4da5fe362a1e5977ea6721e49ada7044d3659e59b507b03be4de09609b0a0ca9d7878407d7b6e1f40df5dbe1d041dac373cb
|
||||
|
@ -1,8 +1,8 @@
|
||||
DIST libvirt-1.2.10-20150127.tar.xz 5584 SHA256 f2b259ca1161322b09851c481ea69c352f4efb065ec593aaf2589cada4282604 SHA512 6247f133dae53d0387e11846c8afced5baeb7cc3794adc015039a9fb34a850afbf2e898add7af4806a1f6f1c1400a0f5978a69b830c74776258de0dfa85d0ed4 WHIRLPOOL 1a6154558bf36416df3db4fe54de3b8fa4e730b689a4e166b75bef9e053d14ae02bd99ddc343bdc4734eef298b8d98e32021186e931d7fd330da290fa81f9469
|
||||
DIST libvirt-1.2.10-20150524.tar.xz 7836 SHA256 621b3fea9f43eb99944734224d7e51200badc16fafa15ebc03585d8027cd8588 SHA512 214a180621fe0ee71ba074c891f28e45498928f03b8fe6f968341e3006714a95ece025036552b74e67504b2eb4437f736eb6de867c794c2378bbc8f7a6542ee5 WHIRLPOOL 4e4bf4e5fede7d256d9d81c4f4bca97d968c8c7ced6b03bcb65795231cf2e7d4aa6911be71fb017cdd5045ff9efbee6675aaa10243dcfd113c4f07aac1bae0c4
|
||||
DIST libvirt-1.2.10.tar.gz 30029503 SHA256 5050f4cea3dd59d3eca25c3d3f16085e10d624ecc18bd35820cd3dac6f46c08e SHA512 9cd5d2a604769cf70e388c367abcde27ee8d6d7043227f17dd2cac92a467ea06547374e1d83c7b1ee4c5322d8b3d9e4cbb6db373efae5eaaceed1b1376cbd09d WHIRLPOOL 986c1fd0128101f936897c97a36d646b8893d9ee0a223d05b004d73408a2720aeb9bb5fe3e4a7c476947021b89d955fb4a1b3a64dfe8dfe0d30dbfe75487b8fe
|
||||
DIST libvirt-1.2.11-20150127.tar.xz 1248 SHA256 a5ba09f85eb2bbe5f6a727c667777b5bdefe3447c8fe6532ad665368b42a4a1d SHA512 ffe0a8f0c207bdb7ca4d99b77fae9b2653bf37551c182334ad3c60874b5fc8942a6ee31e260da8b832c90c904f9caccc57e4f49651c0cd6e0ed8a7fbfb172c7e WHIRLPOOL 907fb49dc0228bcf0624833d3e27dfe609df8dac9420e014e4d0882edc9f1c8cbca008d24bd072d98c351681b33f167d678d88db96fc939a87ab46f6e7dc72da
|
||||
DIST libvirt-1.2.11.tar.gz 30571605 SHA256 1b886429734a53fc9a201f46d77448fda963e1323246269eb0dcb4c12fb02fcc SHA512 4aaeb2eeb563f0a9105a1586054d69c24dada12ddf9b71edd3742ad602eb8c892d9f615ee1a2159051bec52699897c6707d9d0204b8f0fe61bae15885ee986f2 WHIRLPOOL b64ee58d633e4b3fec52125bd9b582f7d07045baa66c492fd2b6bc521d994cec95fa460c3a8b32a0f73043ad812e36d81832c31046bbacc280fb2f2764e9bd75
|
||||
DIST libvirt-1.2.12-20150524.tar.xz 6188 SHA256 68e1cbadf424eb12cbfa3308a19c6a5e298693fd030b5ea947983169435072bd SHA512 6041cdbb7af80fee3bb87cde23d5a45b55d8458a52c617aea6519e373051eea0b63007444cf8b8f2d213dbd8ccd3f4babd68da3e471d9f1fd2cde9cf8cbe3c4e WHIRLPOOL c1fe5cb92ad63b2535b1bee5fb898b40d0a692f57119481234bc4eed3a007db891c5cdfa0d96d3346b2da3744c70dec036ffac0e164b1894d6b9bd51e9ec3792
|
||||
DIST libvirt-1.2.12.tar.gz 30710487 SHA256 eff5227f774560d97f0b44402a444e821c51e8cd44add89f74bc3c1f4dede66a SHA512 643986d72886fe3de0191b282f561241721a8967911418ff317cecd68e1afb13f32e0aeb5000ae11cc452bfaac6220c472091276c81a69eb569166b87d05e736 WHIRLPOOL 1b02150643145efb851335139661b69999641904c1350c3a1b391efcc7761de7c28ba19307867e21a5c1516da8ab365e01fcdfb542efb56a3cce8ed61be65f0f
|
||||
DIST libvirt-1.2.13.tar.gz 30861600 SHA256 944163d93949db61f49eace85838b1bd55ce855e88b014df16c50fd2102bdaf6 SHA512 f590cd4ad55fb8f09980ba2dfd05eb6b978c602c2eecc1188acc6536ae2d4ffb8ad70756a39c95b2b69688981e950cce3e7f232bf96b50fdb01d60b05ecf990d WHIRLPOOL b46013116fe3872156de29c2c27bb76c5ad9fad08d7e489ad061db2be1d82e7d64117e3dd90ca999efb9edd35584ff944c03659fd6690fd9f961586d255a8d97
|
||||
DIST libvirt-1.2.14-20150524.tar.xz 2404 SHA256 5f2bafd9643c1aca78390400ecd88222ae88882ac11f43bbf0e5e8a25f380738 SHA512 4656d8e215514d3afd35ab06f5a2d653591d38cfd09f164cabfa078b86b13a48d5333654fc53ad62b32d04e0339b742a9aeeecbf007c3df8f5fbb35d739ecde3 WHIRLPOOL 2df415ab668e37a6cfe797780bba896f398fa1cdd79257b26e6670e080c36d99b248a1033a33677eeab164d0ca16bca3b2f62085fd4edb171ba410599819dbee
|
||||
DIST libvirt-1.2.14.tar.gz 28947850 SHA256 b8e8e6f1fc91eb8694fa21f9c57a736fa4a5af10562e14e4aa2c7e23510c4c07 SHA512 ea5a68211ce3940f73444777ae5e2c8de7405df3e1a78d2871a9e18591bc8bf036288a6733da5ab23180b6ed88e03347e898554a46c0ad440da48590b32340ad WHIRLPOOL 8a9791a780c3daa416abeff711a9204093b4f979a2bb1ee8d2adb93f033b48ff3c576811b1f8d943a3f93a95cab9592293d9b4309f11eb2b16515b32cf5cc033
|
||||
DIST libvirt-1.2.15.tar.gz 29094868 SHA256 5f88041b8c212f8f687c672fe583108833240d6175b512ce4de92ab6660194c6 SHA512 c5dd3af86e89e3804d6c3b527c6dbd98c79d87d2591725a13af33530e0e9a9a2e9aeb9491844469d44ec4f4d17adb036c76391f964158ada23ec042a75556fbc WHIRLPOOL a43aad4caeff707c8d7a6872ff3c46911c96fd90ece02a7f6ceabb4ccd00e467b5341ab9d922912cc2968a2bb8826e970b253b257c5a8981b37364550f9b3616
|
||||
|
@ -0,0 +1,24 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/files/virtlockd.init-r1,v 1.1 2015/05/24 21:05:42 tamiko Exp $
|
||||
|
||||
description="libvirt virtual machine lock manager"
|
||||
command="/usr/sbin/virtlockd"
|
||||
command_args="-d"
|
||||
pidfile="/var/run/virtlockd.pid"
|
||||
|
||||
extra_started_commands="reload"
|
||||
description_reload="re-exec the daemon, while maintaining locks and clients"
|
||||
|
||||
|
||||
depend() {
|
||||
after ntp-client ntpd nfs nfsmount corosync
|
||||
}
|
||||
|
||||
reload() {
|
||||
ebegin "re-exec() virtlockd"
|
||||
|
||||
start-stop-daemon --signal SIGUSR1 \
|
||||
--exec "${command}" --pidfile "${pidfile}"
|
||||
}
|
@ -1,461 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-1.2.11-r4.ebuild,v 1.2 2015/05/05 19:03:58 tamiko Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLIZE=yes
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
inherit eutils user autotools linux-info systemd readme.gentoo
|
||||
|
||||
BACKPORTS="20150127"
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://libvirt.org/libvirt.git"
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
SLOT="0"
|
||||
else
|
||||
# Versions with 4 numbers are stable updates:
|
||||
if [[ ${PV} =~ ^[0-9]+(\.[0-9]+){3} ]]; then
|
||||
SRC_URI="http://libvirt.org/sources/stable_updates/${MY_P}.tar.gz"
|
||||
else
|
||||
SRC_URI="http://libvirt.org/sources/${MY_P}.tar.gz"
|
||||
fi
|
||||
SRC_URI+=" ${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${P}-${BACKPORTS}.tar.xz
|
||||
http://dev.gentoo.org/~tamiko/distfiles/${P}-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0/${PV}"
|
||||
fi
|
||||
S="${WORKDIR}/${P%_rc*}"
|
||||
|
||||
DESCRIPTION="C toolkit to manipulate virtual machines"
|
||||
HOMEPAGE="http://www.libvirt.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
IUSE="audit avahi +caps firewalld fuse glusterfs iscsi +libvirtd lvm lxc \
|
||||
+macvtap nfs nls numa openvz parted pcap phyp policykit +qemu rbd sasl \
|
||||
selinux +udev uml +vepa virtualbox virt-network wireshark-plugins xen \
|
||||
elibc_glibc systemd"
|
||||
REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
|
||||
lxc? ( caps libvirtd )
|
||||
openvz? ( libvirtd )
|
||||
qemu? ( libvirtd )
|
||||
uml? ( libvirtd )
|
||||
vepa? ( macvtap )
|
||||
virtualbox? ( libvirtd )
|
||||
xen? ( libvirtd )
|
||||
virt-network? ( libvirtd )
|
||||
firewalld? ( virt-network )"
|
||||
|
||||
# gettext.sh command is used by the libvirt command wrappers, and it's
|
||||
# non-optional, so put it into RDEPEND.
|
||||
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
|
||||
# package will use 3 by default. Since we don't have slot pinning in an API,
|
||||
# we must go with the most recent
|
||||
RDEPEND="sys-libs/readline:0=
|
||||
sys-libs/ncurses
|
||||
>=net-misc/curl-7.18.0
|
||||
dev-libs/libgcrypt:0
|
||||
>=dev-libs/libxml2-2.7.6
|
||||
dev-libs/libnl:3
|
||||
>=net-libs/gnutls-1.0.25
|
||||
net-libs/libssh2
|
||||
sys-apps/dmidecode
|
||||
>=sys-apps/util-linux-2.17
|
||||
sys-devel/gettext
|
||||
>=net-analyzer/netcat6-1.0-r2
|
||||
app-misc/scrub
|
||||
audit? ( sys-process/audit )
|
||||
avahi? ( >=net-dns/avahi-0.6[dbus] )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
fuse? ( >=sys-fs/fuse-2.8.6 )
|
||||
glusterfs? ( >=sys-cluster/glusterfs-3.4.1 )
|
||||
iscsi? ( sys-block/open-iscsi )
|
||||
lxc? ( !systemd? ( sys-power/pm-utils ) )
|
||||
lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
|
||||
nfs? ( net-fs/nfs-utils )
|
||||
numa? (
|
||||
>sys-process/numactl-2.0.2
|
||||
sys-process/numad
|
||||
)
|
||||
openvz? ( sys-kernel/openvz-sources:* )
|
||||
parted? (
|
||||
>=sys-block/parted-1.8[device-mapper]
|
||||
sys-fs/lvm2
|
||||
)
|
||||
pcap? ( >=net-libs/libpcap-1.0.0 )
|
||||
policykit? ( >=sys-auth/polkit-0.9 )
|
||||
qemu? (
|
||||
>=app-emulation/qemu-0.13.0
|
||||
dev-libs/yajl
|
||||
!systemd? ( sys-power/pm-utils )
|
||||
)
|
||||
rbd? ( sys-cluster/ceph )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
||||
systemd? ( sys-apps/systemd )
|
||||
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
|
||||
wireshark-plugins? ( net-analyzer/wireshark:= )
|
||||
xen? ( app-emulation/xen-tools app-emulation/xen )
|
||||
udev? ( virtual/udev >=x11-libs/libpciaccess-0.10.9 )
|
||||
virt-network? ( net-dns/dnsmasq[script]
|
||||
>=net-firewall/iptables-1.4.10
|
||||
net-misc/radvd
|
||||
net-firewall/ebtables
|
||||
sys-apps/iproute2[-minimal]
|
||||
firewalld? ( net-firewall/firewalld )
|
||||
)
|
||||
elibc_glibc? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
app-text/xhtml1
|
||||
dev-lang/perl
|
||||
dev-libs/libxslt"
|
||||
|
||||
DOC_CONTENTS="For the basic networking support (bridged and routed networks)
|
||||
you don't need any extra software. For more complex network modes
|
||||
including but not limited to NATed network, you can enable the
|
||||
'virt-network' USE flag.\n\n
|
||||
If you are using dnsmasq on your system, you will have
|
||||
to configure /etc/dnsmasq.conf to enable the following settings:\n\n
|
||||
bind-interfaces\n
|
||||
interface or except-interface\n\n
|
||||
Otherwise you might have issues with your existing DNS server."
|
||||
|
||||
LXC_CONFIG_CHECK="
|
||||
~CGROUPS
|
||||
~CGROUP_FREEZER
|
||||
~CGROUP_DEVICE
|
||||
~CGROUP_CPUACCT
|
||||
~CGROUP_SCHED
|
||||
~CGROUP_PERF
|
||||
~BLK_CGROUP
|
||||
~NET_CLS_CGROUP
|
||||
~CGROUP_NET_PRIO
|
||||
~CPUSETS
|
||||
~RESOURCE_COUNTERS
|
||||
~NAMESPACES
|
||||
~UTS_NS
|
||||
~IPC_NS
|
||||
~PID_NS
|
||||
~NET_NS
|
||||
~USER_NS
|
||||
~DEVPTS_MULTIPLE_INSTANCES
|
||||
~VETH
|
||||
~MACVLAN
|
||||
~POSIX_MQUEUE
|
||||
~SECURITYFS
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS
|
||||
"
|
||||
|
||||
VIRTNET_CONFIG_CHECK="
|
||||
~BRIDGE_NF_EBTABLES
|
||||
~BRIDGE_EBT_MARK_T
|
||||
~NETFILTER_ADVANCED
|
||||
~NETFILTER_XT_TARGET_CHECKSUM
|
||||
~NETFILTER_XT_CONNMARK
|
||||
~NETFILTER_XT_MARK
|
||||
"
|
||||
|
||||
BWLMT_CONFIG_CHECK="
|
||||
~BRIDGE_EBT_T_NAT
|
||||
~NET_SCH_HTB
|
||||
~NET_SCH_SFQ
|
||||
~NET_SCH_INGRESS
|
||||
~NET_CLS_FW
|
||||
~NET_CLS_U32
|
||||
~NET_ACT_POLICE
|
||||
"
|
||||
|
||||
MACVTAP_CONFIG_CHECK=" ~MACVTAP"
|
||||
|
||||
LVM_CONFIG_CHECK=" ~BLK_DEV_DM ~DM_SNAPSHOT ~DM_MULTIPATH"
|
||||
|
||||
ERROR_USER_NS="Optional depending on LXC configuration."
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup qemu 77
|
||||
enewuser qemu 77 -1 -1 qemu kvm
|
||||
|
||||
# Some people used the masked ebuild which was not adding the qemu
|
||||
# user to the kvm group originally. This results in VMs failing to
|
||||
# start for some users. bug #430808
|
||||
egetent group kvm | grep -q qemu
|
||||
if [[ $? -ne 0 ]]; then
|
||||
gpasswd -a qemu kvm
|
||||
fi
|
||||
|
||||
# Handle specific kernel versions for different features
|
||||
kernel_is lt 3 6 && LXC_CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR"
|
||||
kernel_is ge 3 6 && LXC_CONFIG_CHECK+=" ~MEMCG ~MEMCG_SWAP ~MEMCG_KMEM"
|
||||
|
||||
CONFIG_CHECK=""
|
||||
use fuse && CONFIG_CHECK+=" ~FUSE_FS"
|
||||
use lvm && CONFIG_CHECK+="${LVM_CONFIG_CHECK}"
|
||||
use lxc && CONFIG_CHECK+="${LXC_CONFIG_CHECK}"
|
||||
use macvtap && CONFIG_CHECK+="${MACVTAP_CONFIG_CHECK}"
|
||||
use virt-network && CONFIG_CHECK+="${VIRTNET_CONFIG_CHECK}"
|
||||
# Bandwidth Limiting Support
|
||||
use virt-network && CONFIG_CHECK+="${BWLMT_CONFIG_CHECK}"
|
||||
if [[ -n ${CONFIG_CHECK} ]]; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
touch "${S}/.mailmap"
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# git checkouts require bootstrapping to create the configure script.
|
||||
# Additionally the submodules must be cloned to the right locations
|
||||
# bug #377279
|
||||
./bootstrap || die "bootstrap failed"
|
||||
(
|
||||
git submodule status | sed 's/^[ +-]//;s/ .*//'
|
||||
git hash-object bootstrap.conf
|
||||
) >.git-module-status
|
||||
fi
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-1.2.9-do_not_use_sysconf.patch
|
||||
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" \
|
||||
EPATCH_SOURCE="${WORKDIR}/patches" epatch
|
||||
|
||||
epatch_user
|
||||
|
||||
[[ -n ${AUTOTOOLIZE} ]] && eautoreconf
|
||||
|
||||
# Tweak the init script
|
||||
local avahi_init=
|
||||
local iscsi_init=
|
||||
local rbd_init=
|
||||
local firewalld_init=
|
||||
cp "${FILESDIR}/libvirtd.init-r14" "${S}/libvirtd.init"
|
||||
use avahi && avahi_init='avahi-daemon'
|
||||
use iscsi && iscsi_init='iscsid'
|
||||
use rbd && rbd_init='ceph'
|
||||
use firewalld && firewalld_init='need firewalld'
|
||||
|
||||
sed -e "s/USE_FLAG_FIREWALLD/${firewalld_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_AVAHI/${avahi_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_ISCSI/${iscsi_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_RBD/${rbd_init}/" -i "${S}/libvirtd.init"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
## enable/disable daemon, otherwise client only utils
|
||||
myconf+=" $(use_with libvirtd)"
|
||||
|
||||
## enable/disable the daemon using avahi to find VMs
|
||||
myconf+=" $(use_with avahi)"
|
||||
|
||||
## hypervisors on the local host
|
||||
myconf+=" $(use_with xen) $(use_with xen xen-inotify)"
|
||||
myconf+=" --without-xenapi"
|
||||
if use xen && has_version ">=app-emulation/xen-tools-4.2.0"; then
|
||||
myconf+=" --with-libxl"
|
||||
else
|
||||
myconf+=" --without-libxl"
|
||||
fi
|
||||
myconf+=" $(use_with openvz)"
|
||||
myconf+=" $(use_with lxc)"
|
||||
if use virtualbox && has_version app-emulation/virtualbox-ose; then
|
||||
myconf+=" --with-vbox=/usr/lib/virtualbox-ose/"
|
||||
else
|
||||
myconf+=" $(use_with virtualbox vbox)"
|
||||
fi
|
||||
myconf+=" $(use_with uml)"
|
||||
myconf+=" $(use_with qemu)"
|
||||
myconf+=" $(use_with qemu yajl)" # Use QMP over HMP
|
||||
myconf+=" $(use_with phyp)"
|
||||
myconf+=" --with-esx"
|
||||
myconf+=" --with-vmware"
|
||||
|
||||
## additional host drivers
|
||||
myconf+=" $(use_with virt-network network)"
|
||||
myconf+=" --with-storage-fs"
|
||||
myconf+=" $(use_with lvm storage-lvm)"
|
||||
myconf+=" $(use_with iscsi storage-iscsi)"
|
||||
myconf+=" $(use_with parted storage-disk)"
|
||||
mycond+=" $(use_with glusterfs)"
|
||||
mycond+=" $(use_with glusterfs storage-gluster)"
|
||||
myconf+=" $(use_with lvm storage-mpath)"
|
||||
myconf+=" $(use_with rbd storage-rbd)"
|
||||
myconf+=" $(use_with numa numactl)"
|
||||
myconf+=" $(use_with numa numad)"
|
||||
myconf+=" $(use_with selinux)"
|
||||
myconf+=" $(use_with fuse)"
|
||||
|
||||
# udev for device support details
|
||||
myconf+=" $(use_with udev)"
|
||||
myconf+=" --without-hal"
|
||||
|
||||
# linux capability support so we don't need privileged accounts
|
||||
myconf+=" $(use_with caps capng)"
|
||||
|
||||
## auth stuff
|
||||
myconf+=" $(use_with policykit polkit)"
|
||||
myconf+=" $(use_with sasl)"
|
||||
|
||||
# network bits
|
||||
myconf+=" $(use_with macvtap)"
|
||||
myconf+=" $(use_with pcap libpcap)"
|
||||
myconf+=" $(use_with vepa virtualport)"
|
||||
myconf+=" $(use_with firewalld)"
|
||||
|
||||
## other
|
||||
myconf+=" $(use_enable nls)"
|
||||
|
||||
# user privilege bits fir qemu/kvm
|
||||
if use caps; then
|
||||
myconf+=" --with-qemu-user=qemu"
|
||||
myconf+=" --with-qemu-group=qemu"
|
||||
else
|
||||
myconf+=" --with-qemu-user=root"
|
||||
myconf+=" --with-qemu-group=root"
|
||||
fi
|
||||
|
||||
# audit support
|
||||
myconf+=" $(use_with audit)"
|
||||
|
||||
# wireshark dissector
|
||||
myconf+=" $(use_with wireshark-plugins wireshark-dissector)"
|
||||
|
||||
## stuff we don't yet support
|
||||
myconf+=" --without-netcf"
|
||||
|
||||
# locking support
|
||||
myconf+=" --without-sanlock"
|
||||
|
||||
# systemd unit files
|
||||
myconf+=" $(use_with systemd systemd-daemon)"
|
||||
use systemd && myconf+=" --with-init-script=systemd"
|
||||
|
||||
# this is a nasty trick to work around the problem in bug
|
||||
# #275073. The reason why we don't solve this properly is that
|
||||
# it'll require us to rebuild autotools (and we don't really want
|
||||
# to do that right now). The proper solution has been sent
|
||||
# upstream and should hopefully land in 0.7.7, in the mean time,
|
||||
# mime the same functionality with this.
|
||||
case ${CHOST} in
|
||||
*cygwin* | *mingw* )
|
||||
;;
|
||||
*)
|
||||
ac_cv_prog_WINDRES=no
|
||||
;;
|
||||
esac
|
||||
|
||||
econf \
|
||||
${myconf} \
|
||||
--disable-static \
|
||||
--disable-werror \
|
||||
--with-remote \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--localstatedir=/var
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Restore gnulib's config.sub and config.guess
|
||||
# bug #377279
|
||||
(cd .gnulib && git reset --hard > /dev/null)
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Explicitly allow parallel build of tests
|
||||
export VIR_TEST_DEBUG=1
|
||||
HOME="${T}" emake check || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install \
|
||||
DESTDIR="${D}" \
|
||||
HTML_DIR=/usr/share/doc/${PF}/html \
|
||||
DOCS_DIR=/usr/share/doc/${PF} \
|
||||
EXAMPLE_DIR=/usr/share/doc/${PF}/examples \
|
||||
SYSTEMD_UNIT_DIR="$(systemd_get_unitdir)" \
|
||||
|| die "emake install failed"
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
# Remove bogus, empty directories. They are either not used, or
|
||||
# libvirtd is able to create them on demand
|
||||
rm -rf "${D}"/etc/sysconf
|
||||
rm -rf "${D}"/var/cache
|
||||
rm -rf "${D}"/var/run
|
||||
rm -rf "${D}"/var/log
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
use systemd && systemd_install_serviced \
|
||||
"${FILESDIR}"/libvirtd.service.conf libvirtd.service
|
||||
|
||||
newinitd "${S}/libvirtd.init" libvirtd || die
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r4" libvirtd || die
|
||||
newinitd "${FILESDIR}/virtlockd.init" virtlockd || die
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# we only ever want to generate this once
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
# We really don't want to use or support old PolicyKit cause it
|
||||
# screws with the new polkit integration
|
||||
if has_version sys-auth/policykit; then
|
||||
rm -rf "${D}"/usr/share/PolicyKit/policy/org.libvirt.unix.policy
|
||||
fi
|
||||
|
||||
# Only sysctl files ending in .conf work
|
||||
dodir /etc/sysctl.d
|
||||
mv "${D}"/usr/lib/sysctl.d/libvirtd.conf "${D}"/etc/sysctl.d/libvirtd.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
if ! use policykit; then
|
||||
elog "To allow normal users to connect to libvirtd you must change the"
|
||||
elog "unix sock group and/or perms in /etc/libvirt/libvirtd.conf"
|
||||
fi
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
readme.gentoo_print_elog
|
||||
|
||||
if use caps && use qemu; then
|
||||
elog "libvirt will now start qemu/kvm VMs with non-root privileges."
|
||||
elog "Ensure any resources your VMs use are accessible by qemu:qemu"
|
||||
fi
|
||||
|
||||
if [[ -n "${REPLACING_VERSIONS}" ]]; then
|
||||
elog ""
|
||||
elog "The systemd service-file configuration under /etc/sysconfig has"
|
||||
elog "been removed. Please use"
|
||||
elog " /etc/systemd/system/libvirtd.service.d/00gentoo.conf"
|
||||
elog "to control the '--listen' parameter for libvirtd. The configuration"
|
||||
elog "for the libvirt-guests.service is now found under"
|
||||
elog " /etc/libvirt/libvirt-guests.conf"
|
||||
elog "The openrc configuration has not been changed. Thus no action is"
|
||||
elog "required for the openrc service manager."
|
||||
elog ""
|
||||
fi
|
||||
}
|
@ -1,12 +1,24 @@
|
||||
DIST amd64-debug-libreoffice-4.4.1.2.tar.xz 1415014996 SHA256 ae2ed9ef00fb529c0c8f297a81ea3edb5e54fb911ab2fc19554a47b6f266116e SHA512 965164c5599f31d0ef7245d8b0b1b60d07dbb425f25bc8badb63e4c8a738988d5b677f0ae5316ccba694e9953b535842662660aaa4f66ff0fc3b15c93e5ee9da WHIRLPOOL b51dac8e2325f381893bf4be118a42d14b8ff964bbfc1d4249a9229682123264d18040edd8d996e2d4474e93079ff091a22ffdde2def2691244ee2220335015a
|
||||
DIST amd64-debug-libreoffice-4.4.3.2.tar.xz 1415074056 SHA256 5fb8e6cb5a931359da8209ab2b3356a076a3a663cc0c4f540404a505a327287d SHA512 edb2bd5b712d295842680abd9d1ab7f7d6fff10afdb87e0b79e63bbf523e5e0bd8366e81323834bc9aa7f1b29c6f205cf57a54dd210cbdf8a92c96fd90fd69f8 WHIRLPOOL 68328b52e21eccd87c23e6794c983d3f7e98896b0bdd79b8f8c5ee32c9728853d3f11f532ec7e93ef66ffbe1f02c930a649a12c275754f2423a3fce3911572ea
|
||||
DIST amd64-debug-libreoffice-gnome-4.4.1.2.xd3 6511227 SHA256 7387837d55d3230574c2978e775c91750c844e593ab0c4638483f666eec10cc7 SHA512 9508dd198d45b97fa316ab3c7a71ac6f498b27f8aca29fe54312e89480ed1b4c6b7cd724807964239781275d5f841e61f9145073b8615f666d183ab19de82b0b WHIRLPOOL 6c8837f64ed9d236a4f636d867de9352ac6e21e758e160a21bea790fad5ecdee346539ee8d4fc6bd5562e7a6ee8e3d94976433cd7d5516d54ed16fc55646928c
|
||||
DIST amd64-debug-libreoffice-gnome-4.4.3.2.xd3 6516986 SHA256 35dde02368f692c289ef06df243ed27c0bce127a788e02a9d6dc03f2edc77bed SHA512 523f7ae1b883db8a5c06a56766dc866c357fd9e001f797680f2b33c755ccc94f173bd5056f9709bcabd03bc181f25bb29f112593e0ce2627e6f2d79b82e9fdef WHIRLPOOL 62e1e24c3e1658f59fdd07b884c85e1acfe8f8e91868ed7d7248c2d191b824e4eecc6d30eb18d552402cb0f0476a91b62309f6e8d06d9bbaf17e5eb65f7643ee
|
||||
DIST amd64-debug-libreoffice-gnome-java-4.4.1.2.xd3 656027505 SHA256 8734639ff4efbecc199d8897d6ed6cd056cb206fb382a14b57e34a01993a45d8 SHA512 2bd993fdede0799ae3dff122568a696eca5f8263f1fb1a3a6b9796d8979aa2d386269513d5bfbfc33caca240e9e32a8decb64ee2c5a4b4152a871df8dda6785c WHIRLPOOL 39f6c5d6fae7031f7a37d533626d722e3e9a851ed78b228aec99ac91fe75e1250909d43907c4bd9bad445b41115509e18d8305eec2ca6e512a59f043bef85d26
|
||||
DIST amd64-debug-libreoffice-gnome-java-4.4.3.2.xd3 658211332 SHA256 6fc0f972dd6b9b9939b696f85b9e77dc2328314f2c38df11ee5e3ca172b30ca4 SHA512 59f19277cd36b00190f82143ef9b8b92cd61ef3aab2bd8a0696a004bcd477c87f796ca19771867101d80b652a3e3859c7623b11c630380a47fbcd355169c8b9c WHIRLPOOL 17bcc44556bbc84df01f11e4f4e50e95e14d798063a1cbc40a0130e2f9712ffbde20fef78ae3ad0c649331cf6f52ce1fba467f258c1df7ed12ffd16e244b963d
|
||||
DIST amd64-debug-libreoffice-java-4.4.1.2.xd3 652648893 SHA256 3495a3a76fb6b84267a7f185d9ab8841311145dec03110b4a0eafdbd203bae26 SHA512 9f02a873f6f3df0e8c01ef28539651ff441e51193829615649301aea802a081e80561b593e085893771665b443d909f485912d1213a569cbb65b9a7a4fd65ec4 WHIRLPOOL af38489048ff11cab3fea9c10236ffa74f02c013a4d84a3b8a6fc9362c7cd3ea2d7959cfb87c3847a6495861a3ce7408d1dfa2078c605627d7047c9ff3e2fbc4
|
||||
DIST amd64-debug-libreoffice-java-4.4.3.2.xd3 654871217 SHA256 d1bf1b39d7544ef99a7206adb4b8acbb847c648c1a77ce315ca961975553ec6a SHA512 437552eca9970cbb45cc3f1ce7b739d82e99a4b14f9ac66f87bf018b57d4d6db581e91e58cf0122fed06e2be42dfb3da8f07f4ece9b378aad9c8cd659185e320 WHIRLPOOL e79b888eb87dfc9be76586430078526327ac109abeb5f7dcd46c535ab4455597e6ca709cc8ad2973d1941c58cad157172fc86706c7fd8bf48cbd669776607c57
|
||||
DIST amd64-debug-libreoffice-kde-4.4.1.2.xd3 385293658 SHA256 3f4857c38ad86521b01c752506ae3edbde4a72fb714e11783ea72d1113561575 SHA512 1ed21dd2cc57f1045c7d7c55500d68e8fc516bd510c94ccca099fc6f1dfa3417cc471156caeed2fef7ba3a0e9abbe29053158db1ff8b7d70724a7e169d967a19 WHIRLPOOL 0d93cf64437bc4210a3d8acc2d52821ba1b8c782273e8e67f5a68a9e57585e5cccf5fdb8664875d685b4d50348d2849e997a75d055e1f09e1e2e584b5e6ad84c
|
||||
DIST amd64-debug-libreoffice-kde-4.4.3.2.xd3 386319569 SHA256 58e21e5193a92ceb1f67ddda35d494d0bbb0eaf00de2fbb49f2f6b43b4f66652 SHA512 4b708fccc26cc1f6a6a3d615fd0b7ae70237f481f201a761152cf2980c2813b36f18c0a297b0cb2da73b0f35f99df2ccddbd303a0dfcb27530398594b569170c WHIRLPOOL 4db5cc0153b2fcbd70981135fffa4d0b6a621b36ed3f5fdffd0e58b5d231ba795ddb23682fbf0fef8a4cd51be88f94743a097984278a2ef5aa493b7769701fa7
|
||||
DIST amd64-debug-libreoffice-kde-java-4.4.1.2.xd3 654592642 SHA256 70a3ac78d4898a524d2d8c2646140cc27061eb19a6bfb70a86f2a85457b67ec7 SHA512 affbf45165e077ce9c3a1b0e621d7ca697e33e16d94c060250d041101c7104a208ae6e7f0d6b0ea1567cc759236a1ffc1a1c7877fd5542c8d3bfc12400df7d0d WHIRLPOOL a2078a249082bdc9f4ff8c69e5d18b31f49546b117e01fd6250363327ac71f5b4f029abbd21da58b1f8b40e3451f546ee7d47ffcc6ed7bdff0fd1f06ee47bc82
|
||||
DIST amd64-debug-libreoffice-kde-java-4.4.3.2.xd3 656861052 SHA256 3277c9d9c95a988a638edc65e31fd546a9dc8f4c1c9c27865338b8fe1452c15c SHA512 839dff9a63c0d23c34ec7260122bce435290442dda3ce3f6427b538feaf1f2ac03d1ab0b753a167cb0f1afe0b2bb119058246f1e6cfd46af7117caa8119eb298 WHIRLPOOL 2d2da1e7b593fab3306f67d87d13ad25ac6db9e5873db709e1950a31c380beb6c1a2e151ed2960e98d5837daf9a34eb1d827c5d9f2d6470c56eee34d4fe9f74d
|
||||
DIST x86-debug-libreoffice-4.4.1.2.tar.xz 1398181172 SHA256 51691a5d331fb4b9bd2826b3adeb187c53be0c785f129e3ac51b1ce6da4a09a5 SHA512 a70b108a2f4f667134cd0c16f67414f13faf1ef8020b23d707fd04c58cb3f4ca88a4909bca97f65df884bbe4180be1a7922eea7944a46cc5f4946e9b444149d6 WHIRLPOOL fa02a636a3f980d1c306475aa2e7962d3d88f5679b821e6b214be899408bd6033d6628a5d491e8cdfc50cb4f92e82c7857e2e93ef1a30dd5f152c779221e16b8
|
||||
DIST x86-debug-libreoffice-4.4.3.2.tar.xz 1398493780 SHA256 15b9bb52e77fb4833f9c652a5e1adf2f7adb1536fff900c8decd004bde252604 SHA512 7075778346830de5a42bec7863f3c9e0831a41fba84bf6851921479f230457e5a7ae605795d92d69ff34b93f80c6d1c0a88fa57277535d322bba105bfad8abc4 WHIRLPOOL 901a6997081c83f89016812567c81f95accf1453ef390d519c230624c8dc641182200c824dff54ff0ae51480a5dbf0d07f0696303c63a1aca38cf85bfacc7d8e
|
||||
DIST x86-debug-libreoffice-gnome-4.4.1.2.xd3 6437322 SHA256 df8a3facbda9c0f6e5685d21bb5f7445dad7b28ec69f00cce9772797ac2c73e8 SHA512 4a0178faa2b8ea42694c1885325180b815b8eb3ea5de4cb406294a2f0b672ec6675da31dbb65cc725d0befbaf9dda25a07efd05d4ccc60e0b84519bc4ccd18fa WHIRLPOOL 16f01236ff3f1f88b60253232fb5e437ec5ca681c56a5165265adf70e7d60553131d5aee61b41031f9ae7f5e0581d7e58b74c98868735e87b44527c642eedc70
|
||||
DIST x86-debug-libreoffice-gnome-4.4.3.2.xd3 6439936 SHA256 31bcc536b004a3594d60784d1a6e1b682bc2c4395f26c447c3e68f9efbf1f38f SHA512 2fc7ec8343772bdb8a52ecca6412f674a3f4920234845e9040a3f48782453c2cab8b83dfec33b4a580442881c734a85d33b80bc0b8b1b45b8ebfa5cffe7cac70 WHIRLPOOL f720c1146c71fe6672d6b60fc1bcb05169786f9abfe66c69ee827030a6695796b69bf79c88b7c16f2a0f5ab463f26ab3205965287bb0125e2154c4e59ea20bd8
|
||||
DIST x86-debug-libreoffice-gnome-java-4.4.1.2.xd3 638871922 SHA256 aeb5671959852921e7cec2dd981fdd106ef3f69993dfb5b73b0571bf02d37886 SHA512 ba970b51faed1a577d85f3069c8367a1305bdbdfb060040968b72ee4f6387b3e243e40f8c4237f8f4d6f9e0d809070e135f5fe6ec8c4b60fc3d2e3c21c720266 WHIRLPOOL 050be18b2e050f9d667f9166d754d503df187fb1d654b00e04f7b7d544fd88597f18522f5646439935be4a1ae5b9f3a711db79b17e915e7246c5fcf549cbea76
|
||||
DIST x86-debug-libreoffice-gnome-java-4.4.3.2.xd3 639760505 SHA256 8e01d5d5e212ad14722f77d4400cb12866ec737e34e255a46bdc475ab0b1679b SHA512 96cf21d751f7b466a10dfaec639462402b59e70679fc9776c617d22e36f62e714e971e62f361f326a1e989aa053e74c71f9c929f5990b62086595582e12c5c71 WHIRLPOOL 70f49de62ced481357c6fa9cd8c51e495dd2935b46742504daf81ee1c7370399542609265e87ee1eb1b65564794a60da679bff00c7f60895baa09660c6cdab07
|
||||
DIST x86-debug-libreoffice-java-4.4.1.2.xd3 635336316 SHA256 80cc6167b544df5c0312adeef9a76e1b0d947570756f49b1c38e3c1b5cd0cf4a SHA512 ef030c23ed3571546e848cb9b987e1168a754d90c4a73f3b72132aa6c4a6c8870171f6da1aa8caae5c199a0d44381df64c6c019675f7be7b9f66d1eb92ffe5e7 WHIRLPOOL d20a4ceb94b4256cc30d8ffd2dc3c11fb32f6b694332573d0c79141d6cc56ab0bd4538623db72440abda8b0ccfb7714a3c798b4a5813dec80d6cccbf70515db3
|
||||
DIST x86-debug-libreoffice-java-4.4.3.2.xd3 636190786 SHA256 385920d0b6aed2a79120bd8ae4db483c7727f8e3bb845d3612eb177897308ac3 SHA512 74275a4535e8e7e477c105f82bda5ebe3ef8a37646b798dd64467637cfe748304f43a5ac8a75feb6f7dfea4e2fcbbf615427dee9af5c75cf79e1a52138862a94 WHIRLPOOL 0ec7b58f33ee27a0e95d0da8cddbcd07b9fdb5a2c6e06f149fd485329d51e2959a58ab3a78a8fef2f272f5716f0f202a45a5e671b4694a191b27554e5e05e4f7
|
||||
DIST x86-debug-libreoffice-kde-4.4.1.2.xd3 380068933 SHA256 e0fc6c48e3809c5c859f964245bda3a7839a38e0c67a2379a5355c94bb890ec4 SHA512 79bbfbfecc5ff87226f6fedc6477c55e9c273f18a378730eb320899b95a5a328a96073f010a3abd94cff2f43d3c44384a3bfcee430ba1642d5cf5a3eea049e45 WHIRLPOOL 6af0fe287affe1b73c23cfd0efe9d89227db37e7796723f1911bbd9f5b0cf19e3111162a43ba1715ae135699ec3c809d534d3eb36d61ac49796d576f6f84084f
|
||||
DIST x86-debug-libreoffice-kde-4.4.3.2.xd3 378579134 SHA256 37a0b1ff4c96438b3b6a9d34fcd4fda1bf4898e2f3aadd9e1b97d2a0b8b36b00 SHA512 7031ada076170f6d88139519af8933896bd4989a8223214a7afa9d7334f72a93ced1d9c43a26ac8ff39002dcd3ed9cfd99e90fa56299018c35bbabd1d1b1093f WHIRLPOOL 17f5f73e16f42c508e978142202effa95fdf45e339a5af942be7015194788539883f072f6e7754ac1bb5b2569bca1a770e85b6a2edc589685591dbc2f13d2d73
|
||||
DIST x86-debug-libreoffice-kde-java-4.4.1.2.xd3 637330424 SHA256 1ab784fd7dfbab5e221f693d8d1e4719b1d7f2048d3a561a4d1f6851c3e23a4e SHA512 4c9ead8dd165530bf5e36756c72fa184b00b3ea3c813e9eeb70e15bfeac52703445ac98e1d455b6117cf4608378974d989000533e5af2d89960350b1241b50fc WHIRLPOOL a91b90be52fd782891821b5a981eadba7f8a290f54372eda05f2fdf41c5a51f5d42b298468a0462d3fe42c694bf0e0e471137f25c47ad118fa266b74e5c41baa
|
||||
DIST x86-debug-libreoffice-kde-java-4.4.3.2.xd3 638201949 SHA256 da1355009bbb4c5d6ba4094d79bec314e98cca75beccb981f43ce5f2b7474982 SHA512 1a97e8b934a7c0fe9ae05adc2a006983b165894bf553642ae48f620499559e94524e34450890bf82b7624ecaef35e8b9b2f47d37bff2969fe7afa3c2e6da188d WHIRLPOOL 5d5f834a025da60a2025f7f05c9edf8d0094025963ef0d4d404e6c0b0ce601fdffca5936f35b5251b4a182adbc1dde1ee3ba8684fddf5738a2c5196701d6cbea
|
||||
|
@ -0,0 +1,86 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin-debug/libreoffice-bin-debug-4.4.3.2.ebuild,v 1.1 2015/05/24 16:38:20 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
BASE_PACKAGENAME="debug"
|
||||
BASE_AMD64_URI="http://packages.gentooexperimental.org/packages/amd64-libreoffice/amd64-${BASE_PACKAGENAME}-"
|
||||
BASE_X86_URI="http://packages.gentooexperimental.org/packages/x86-libreoffice/x86-${BASE_PACKAGENAME}-"
|
||||
|
||||
DESCRIPTION="LibreOffice, a full office productivity suite. Binary package, debug info"
|
||||
HOMEPAGE="http://www.libreoffice.org"
|
||||
SRC_URI_AMD64="
|
||||
${BASE_AMD64_URI}libreoffice-${PVR}.tar.xz
|
||||
kde? (
|
||||
!java? ( ${BASE_AMD64_URI}libreoffice-kde-${PVR}.xd3 )
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-kde-java-${PVR}.xd3 )
|
||||
)
|
||||
gnome? (
|
||||
!java? ( ${BASE_AMD64_URI}libreoffice-gnome-${PVR}.xd3 )
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-gnome-java-${PVR}.xd3 )
|
||||
)
|
||||
!kde? ( !gnome? (
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-java-${PVR}.xd3 )
|
||||
) )
|
||||
"
|
||||
SRC_URI_X86="
|
||||
${BASE_X86_URI}libreoffice-${PVR}.tar.xz
|
||||
kde? (
|
||||
!java? ( ${BASE_X86_URI}libreoffice-kde-${PVR}.xd3 )
|
||||
java? ( ${BASE_X86_URI}libreoffice-kde-java-${PVR}.xd3 )
|
||||
)
|
||||
gnome? (
|
||||
!java? ( ${BASE_X86_URI}libreoffice-gnome-${PVR}.xd3 )
|
||||
java? ( ${BASE_X86_URI}libreoffice-gnome-java-${PVR}.xd3 )
|
||||
)
|
||||
!kde? ( !gnome? (
|
||||
java? ( ${BASE_X86_URI}libreoffice-java-${PVR}.xd3 )
|
||||
) )
|
||||
"
|
||||
|
||||
SRC_URI="
|
||||
amd64? ( ${SRC_URI_AMD64} )
|
||||
x86? ( ${SRC_URI_X86} )
|
||||
"
|
||||
|
||||
IUSE="gnome java kde"
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
|
||||
RDEPEND="=app-office/${PN/-debug}-${PVR}[gnome=,java=,kde=]"
|
||||
|
||||
DEPEND="dev-util/xdelta:3"
|
||||
|
||||
RESTRICT="test strip"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
einfo "Uncompressing distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz"
|
||||
xz -cd "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz" > "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
|
||||
|
||||
local patchname
|
||||
use kde && patchname="-kde"
|
||||
use gnome && patchname="-gnome"
|
||||
use java && patchname="${patchname}-java"
|
||||
|
||||
if [ -n "${patchname}" ]; then
|
||||
einfo "Patching distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar using ${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3"
|
||||
xdelta3 -d -s "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3" "${WORKDIR}/tmpdist.tar" || die
|
||||
mv "${WORKDIR}/tmpdist.tar" "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
|
||||
fi
|
||||
|
||||
einfo "Unpacking new ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
|
||||
unpack "./${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
|
||||
}
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
dodir /usr
|
||||
cp -aR "${S}"/usr/* "${ED}"/usr/ || die
|
||||
}
|
@ -1,12 +1,24 @@
|
||||
DIST amd64-bin-libreoffice-4.4.1.2.tar.xz 71650512 SHA256 cce00b9aca658614c44875615b6bfa0eafb81eabb041571ed475485ff21a71b2 SHA512 617c717ef4ce1dacbed7afcf6e8883e38a0913c7accb4e088c2a094151f6d22057fcc86644a71912f721bbf9e49badd0b6b324156613dc189f3fbf725ef0eb50 WHIRLPOOL ed88dd4fb93d99010057a1f31a968238bf34e4b6db918c25cd4a5e56553c1abd728a76f5bc080a553fe6fca36c2ac67ddd5899a2c8bad2348189ac75ccc39eae
|
||||
DIST amd64-bin-libreoffice-4.4.3.2.tar.xz 71655888 SHA256 325d0d76b2f8df03633b7230f8e88753cfa9bb580643fa5b7aaa1ff8892a423c SHA512 ba33175332a1896bf5ebf8795bea97631336aea09aba5044ef78e3ec3c5d7586b360519e47bec234724e6fe510bf42bf0da57ea79a91226ad746804fbd0d997d WHIRLPOOL efc8b40ec04850dce869d0f03fa8f14ef979770206649f92f48e126519d69cb43966cd904061ecd2aa5493a4a3d8c6cc6810d8ecee88c407a4a6fe4b1d0ef437
|
||||
DIST amd64-bin-libreoffice-gnome-4.4.1.2.xd3 425674 SHA256 685038e133021a6a6475770fbe2ea89b269c678a5864cf23201967fa3bdc22fd SHA512 6a0efa77c058678706b20b94f163c79dd9cc3b1bbf408cceca86999aa3ecebee87b6bc376edc50545b408b325d03c52679fdf5af32be90bec25f958fbc94d15f WHIRLPOOL 9033c480713aa54a7c25907ffb63c3af740f2408995ced6b524e8e4e581d5487b9edcfc3ee8aa1e0c2d0c40465365bc3430b5f2f13d5bafe6f5f618539e79f51
|
||||
DIST amd64-bin-libreoffice-gnome-4.4.3.2.xd3 426137 SHA256 cd37b3a8be96ea7f999744ae6e74154be5b2fd5035ddd1966ec54e9e22804687 SHA512 445ccc8ced749ce20635de47bed05f5e99fba2bbd3d5ffe35fea986e1bdd062454c350f91ea8cd0c943f549629accb9dfa34cf72dc04ab1ae281f8c806a67b37 WHIRLPOOL 1fa3fbea502aa973f5903e580ce9c2219674ed2845649aafc5fccd6708ec29421362758ef1a0929901cf2e72214e44d5cdecefc89d23ceb7ae3915ed8bd20616
|
||||
DIST amd64-bin-libreoffice-gnome-java-4.4.1.2.xd3 23857861 SHA256 4b9c1837d71941608bea5f2173e05adfa5e7f9f61a0dd1fc858efee874767f29 SHA512 d033d459a05554cacefc5aafdd0e134b1956768f10e42c9ca3a14859398daa1399964dbb84f666c0ec0f3ba7ee50b0628e668d0de2edaf87b9c9a346d2bb40dd WHIRLPOOL 57768ff4a91ad361096bd5305a7b521567498101d34597e87e93cba8ab1f250c79d0185d1b47ca2cebe816f9d33df746ea6dcf25f71c1ffb2bbfb7c3b24cbc36
|
||||
DIST amd64-bin-libreoffice-gnome-java-4.4.3.2.xd3 23890690 SHA256 525d2db19397f7e6baae5c11bb5f5560f450e3c90d200521dad54c9231163486 SHA512 9f7032c6c1bfab02a8fffa35e645620371d10ee759d94a032e45a973966604fc2cdde90eecb2c0dc6157b86f6f541fbe7220c9f6f515101687941edc784ee072 WHIRLPOOL c21d0d1de6d72876a7497fc5e7dde651971a1941e255543f03efe94bf6def42c7182d2a3ae44e1f8825f0828684a5bbd821cc04b70171d7704fa976cb7325f01
|
||||
DIST amd64-bin-libreoffice-java-4.4.1.2.xd3 23501021 SHA256 25993ce0879d6b45fdccd306d4775348f29be2c31126dcd2c6f7d912ad0b7095 SHA512 18e0ed309b761abedc79f1713169be8aa3a86cb8aab357deaf4897970ef011b41d4e8d01f003291ff7746bd6c0f86eff7176103e98f5fcc6014c022a45248347 WHIRLPOOL 52911b15e56cd6dd6c2b4efbd4e4422134754dbdb530f7b9fca7af703b716e4f5471f8cc5169ef38a9e9b3ff5ee5dd46a27ae9376ef9aa1bf382abaf9c55fc65
|
||||
DIST amd64-bin-libreoffice-java-4.4.3.2.xd3 23543159 SHA256 c781f63e250944ff69422ec4e1e7c468b4077f9d0dd65e77c257396479a064fd SHA512 f5364ec16ee42bd9ace1b3c9e27b17ffc0de084e94483aab876b6173f55454c7f905d3cd5b1dff34818b61dae9827668ca6f7fbdbcc5d8857f07ff2312257e6a WHIRLPOOL 93a939cc1cdb31b82c222a3f82ddc61d09ad988aa4b0572a7fc58bfc1faece4ce5d03af2aadddd44c8aec175b1efebaa6cf5d1c4e7693a2ed5a095bd0abcae72
|
||||
DIST amd64-bin-libreoffice-kde-4.4.1.2.xd3 7420940 SHA256 852bd95429e8cb571ca2eec1a1d45a613bded680323053e596a5b8e50bd07c82 SHA512 41d62a84ec6c0d74fcab9de4924a487d74c8ed38b695c1e786b3d9c838771936cba0b1c9b79bc3d169d871448f0eaae58cbc644b03f3bdadb7b184022d04b70a WHIRLPOOL 6d17daddc80806fec48db9e9d33eec13d2f11b54f21452050d2cc00e032a0e20e9441a3e1f5695da9a5da4fe137ba769c78fdc28c7a97db20e47ef8eb4483ebb
|
||||
DIST amd64-bin-libreoffice-kde-4.4.3.2.xd3 7427375 SHA256 a3ab73a23c34ed725faa1f2b8c3941344bc92638cf35fdc15e70cb5af84358bf SHA512 0c5ff5fbfdddbe3e866434809b8b058a9e1ce4ff5adc9b5c8d3f3f061c8235af75aa25471005c17b91ea922c5739d6380a6a2e5bfec1a85f8e7f437f2859f9b7 WHIRLPOOL 461c555aff0020b1e3db116433cbfa48b9e3e94941451d46f55f4f4ab71cbe8b32982744e92d48d5da516c5856a2e6ac92d4bdd41d2cd65f77d413a8922dcf57
|
||||
DIST amd64-bin-libreoffice-kde-java-4.4.1.2.xd3 23618565 SHA256 df79c72a2906429e62264103c582b469184b754db592bc19fb5671769c01c8b8 SHA512 37e9a4a5e9d1b377ef2973934d51f4516ecb61e65faa94c8dd417d4c958c259234affba31df71825dd0a15305d90c742f2c752f9190e29837d4fa2fb9dfbebbf WHIRLPOOL 4c1d7dc5ce53aa48389d14f7918a2ed76a10001cff17eb9e4c38e696ffbb1a5bdd2b844055732ac18d0eefe3030a9d07780b38c780bc669d9b6ccc4d897f1eff
|
||||
DIST amd64-bin-libreoffice-kde-java-4.4.3.2.xd3 23602362 SHA256 07d71dd55918143a1d28743e86714689dcb27c0db6bc3dc88aae1945bee5c0a7 SHA512 dd33274967c0a90bed8a81d93d02f6871e5712dbc2677832bb166912d695ee05431e14ea8ec81dca94fd3605413379c56e9aae977600cd25ec4c7fe90b818cdf WHIRLPOOL 69720f3f21035ff28130c9fdcf7b18077247bba6eb7bd401ca01e20049e2396ada6fc5d28a178b7c3079581a33bd48f419d982a6a00a02da1d733680837c6c0e
|
||||
DIST x86-bin-libreoffice-4.4.1.2.tar.xz 70082492 SHA256 a5bada5ad45fa92fe8be518ad44f36182eaab4d7c3a421b06a669aec055195aa SHA512 7eb3934ceca365b2254e764c77cf57899561143d9431e08eb10d2019c9887123b040f37534dd92366c4e86ed8d0500d0acbe217f0b283824aaae17b97433305f WHIRLPOOL fd5c62f234db086f965cecaf144e0628e3490eaf4cc516f0463ffed9afe5cbf770122b0e1bb41d6fe4667683e49b52f9c369c007206c96c651871a91514621a2
|
||||
DIST x86-bin-libreoffice-4.4.3.2.tar.xz 70107948 SHA256 e6a4fd93ebf071471aaff660790e6c9baf6e04dbbde5dade639a14db033861d8 SHA512 c502300b2483a8ecc97abc50e48c7ca54075934fa3cc65af3da5c4039fe56076f659efdd893d25f3b12dc7726c50ca63361ad763200aa9b0713d3f0959c3df37 WHIRLPOOL 1f6580cb84b5040b5edd20e3df2ba23487c912b2c873b9aac155bf037732080ea3177fbfbabe8f80d780383d0be023de0548df7125c1837ca15e290e46a7d3da
|
||||
DIST x86-bin-libreoffice-gnome-4.4.1.2.xd3 390016 SHA256 5c1312c9f2c7a6f52746de590a3921683b1eee60c4f9efc2e794333347677c26 SHA512 3eef91abc8210bfe9ea2acea6bcc42fae2da242900bf623689461e90e638bbf05ec08cb2690c801d79a25af5a6869a026a9ac1cbc9e70b4a68010225cc4d4c12 WHIRLPOOL e1d64e2e472120c6cc93202f83a7b8a612867b0a8e34f2c98703278697805e03edac42d6cfd1fb5312bd45a2e9235bb55e68d8605872d2deaf0d75a81b1b9a30
|
||||
DIST x86-bin-libreoffice-gnome-4.4.3.2.xd3 391937 SHA256 6bccea9637f10fdc66b2ef36e0e2cf3bfc858aa6f5403611a59ed113e577140c SHA512 8fc71833eca1489cee8b71518ff28fa3bf2951c763ed31b37a6518a3023aff7c20ec5a25697661017f73a71c39f3dad273ad19ebc0f4a953aee0acfba1914fe8 WHIRLPOOL fed003a63a414e85e4b593dbf9c16dac1acbbc89f9b478acd457b943dcdda550689ff4df9ab12e7976baeae44a89cd87e343e2dd62bc9357ccb57d842175e449
|
||||
DIST x86-bin-libreoffice-gnome-java-4.4.1.2.xd3 22896722 SHA256 ae38e9eda7dc1ff89419499b92c2c11d2ca1bc894a7823e94974faebe98573e2 SHA512 60efe57b3366b904dfcfd7c6e177566e14d0b13abc9012c026d5968eebdcfbd0dfe527a9a2fc6d91aafbc2aacd8da94c95d2cbecaaedfcb7dfcb9e0d5a2028c1 WHIRLPOOL 8e5339d5406badeb3df9b33694a6883d47abd0ec25517928994a37a94614c8769d5dc6c395bedc96eb26266f1c4cabda33e2f9a5cce5cbb46e4c50e0acfbc53e
|
||||
DIST x86-bin-libreoffice-gnome-java-4.4.3.2.xd3 21335945 SHA256 7cfc412368f4cf62baced58ff03b853b5d7531768778f14c298f388a284adc99 SHA512 c87fdf144123567db5d765bec7e88db1a33ca9c8b34b3692ea510729d17054c814e55b1b56d9c77052f558d77bbe61c8f24054c3ac97edc88c9a4fe568cebe3a WHIRLPOOL a127d11a1151c991bdc2b58b33374c7b2024c1a56bda888b31092e49eaec6aa246cb177d450407982ce686fc417d8f4aa752b3013fab8b75d761f191b9fff485
|
||||
DIST x86-bin-libreoffice-java-4.4.1.2.xd3 20601544 SHA256 bcd5cc7cfc44da913a55a8f13d6f9021ad701e4bf14fcc97bcc317e33ad00ac8 SHA512 bd9161109751ba4572aaadee8bbe678fd98f49931d88e7110c12949e24928d8c5ca99582db1b810c8061adcdd2b8a5c1f5ce3ce2c29767d77c357bf0a1e0cf05 WHIRLPOOL b39707089a2435466b44ed538cbbea605bd79406d5c14e8791ae1c4b3b7e33cefe19fd6c1c1911a803c0a2c7ac68ddd339a0e3cbb4bf5a9b13f2f1c3d22d2407
|
||||
DIST x86-bin-libreoffice-java-4.4.3.2.xd3 21011199 SHA256 1c74fbb689c3abcbe2d315570de1fe1531dd2d5e56f9a28aa422d312e1f40059 SHA512 59f8f7276018437dc31f24ae5dc6499313fc1f98ada85d24383e6ecc1719419cfb09081047ce839831ffa97106c11b3e3d46fe9a38adfe7e44e0690daa22324b WHIRLPOOL 326c45950da8c313b9aecd8976058b20455e8acf8b79174c97827fdbb2bf6c19333b4f015d9820d8f124ed0ef5f0b81a387c7396226495336532819c50c1608c
|
||||
DIST x86-bin-libreoffice-kde-4.4.1.2.xd3 4415074 SHA256 5aec17705a5f88e8bb7f57b4d270d5df4c93316bef087035ebd9f4525e2833ea SHA512 bf1a7fd0040011045bcdcd98ae86b549da93ceee7aa276fd88ce20a21e038534b3a03bb31134d433d9bf7d70b094af2f9759f7fcaac02db4e6ca050f9e3a3f0b WHIRLPOOL fc5b8c48d00432bb5e873def7ffea7ad28276e23cf8ab96ff4286c95b9af7211a1187b7e4510886ecbb140118f788fab1db33e89e90b2a324a9dc11fd53e7bbd
|
||||
DIST x86-bin-libreoffice-kde-4.4.3.2.xd3 5388159 SHA256 b14ba158d8a4d22201b468a598b21918be1731c340bfde9ecd041fc3f07480fa SHA512 9b245d2029b2d35521ff6f989b1a70e8c90ba6c2468f9706424bc0ce6b16e3e88bc0dfa7b5713776389e453dca0c72c9f1abaaf585f907046133dcaafbcc73ed WHIRLPOOL 6a8da4594cfeab90fe2defdf2d452cf335ec8da50e08588cca6c6a31259bdb0ea39471c227b7d2d2c0be057f39ba8ebbe0e64a368a603762e2331223e8fc27b6
|
||||
DIST x86-bin-libreoffice-kde-java-4.4.1.2.xd3 20688876 SHA256 9e9dfba4fbac04e618f6b5fce8be6c8cfa5a8c5169b4d7c31a59bc1a2f49e493 SHA512 cc093a79997bbc9035d6fbbe630d196c9d7e078b731b3b54ade62e3ed59d65b2cad3760e7ccbe3aa3946d4d3eb49d8c5143166aceda1fc894578529c8d284716 WHIRLPOOL 088054290682bacc73b97f1f439ffa037597a54500d16a1e2459e2eedec37abd5c1f70c6391f927f35ea54bb1ec035db202deb863dda0c9187283982072e3975
|
||||
DIST x86-bin-libreoffice-kde-java-4.4.3.2.xd3 21136005 SHA256 aa4f89c2caaf96bf5cd3a2e06c921123637526c853f1683ff90d8b410be6129d SHA512 1160b24188d5b9fc8a4cc58292439a5e17231a48b51cfba3f1dbba32883c75828bced6947a3959eb03b388ed31130065e6497dce52c9106e012d5c9fe8130778 WHIRLPOOL eb2178aebc678e6511e6a259f1fb1364e25b729c76ed6db002a2e248f92223536a7e66fababc0e0dc19c2bd71cdbc27775c6d142bbd0dbf1dd2806a9d62a1fc0
|
||||
|
@ -0,0 +1,234 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/libreoffice-bin-4.4.3.2.ebuild,v 1.1 2015/05/24 16:37:05 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_REQUIRED="optional"
|
||||
CMAKE_REQUIRED="never"
|
||||
|
||||
BASE_PACKAGENAME="bin"
|
||||
BASE_AMD64_URI="http://packages.gentooexperimental.org/packages/amd64-libreoffice/amd64-${BASE_PACKAGENAME}-"
|
||||
BASE_X86_URI="http://packages.gentooexperimental.org/packages/x86-libreoffice/x86-${BASE_PACKAGENAME}-"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
|
||||
PYTHON_REQ_USE="threads,xml"
|
||||
|
||||
inherit kde4-base java-pkg-opt-2 python-single-r1 pax-utils prefix versionator
|
||||
|
||||
DESCRIPTION="LibreOffice, a full office productivity suite. Binary package"
|
||||
HOMEPAGE="http://www.libreoffice.org"
|
||||
SRC_URI_AMD64="
|
||||
${BASE_AMD64_URI}libreoffice-${PVR}.tar.xz
|
||||
kde? (
|
||||
!java? ( ${BASE_AMD64_URI}libreoffice-kde-${PVR}.xd3 )
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-kde-java-${PVR}.xd3 )
|
||||
)
|
||||
gnome? (
|
||||
!java? ( ${BASE_AMD64_URI}libreoffice-gnome-${PVR}.xd3 )
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-gnome-java-${PVR}.xd3 )
|
||||
)
|
||||
!kde? ( !gnome? (
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-java-${PVR}.xd3 )
|
||||
) )
|
||||
"
|
||||
SRC_URI_X86="
|
||||
${BASE_X86_URI}libreoffice-${PVR}.tar.xz
|
||||
kde? (
|
||||
!java? ( ${BASE_X86_URI}libreoffice-kde-${PVR}.xd3 )
|
||||
java? ( ${BASE_X86_URI}libreoffice-kde-java-${PVR}.xd3 )
|
||||
)
|
||||
gnome? (
|
||||
!java? ( ${BASE_X86_URI}libreoffice-gnome-${PVR}.xd3 )
|
||||
java? ( ${BASE_X86_URI}libreoffice-gnome-java-${PVR}.xd3 )
|
||||
)
|
||||
!kde? ( !gnome? (
|
||||
java? ( ${BASE_X86_URI}libreoffice-java-${PVR}.xd3 )
|
||||
) )
|
||||
"
|
||||
|
||||
SRC_URI="
|
||||
amd64? ( ${SRC_URI_AMD64} )
|
||||
x86? ( ${SRC_URI_X86} )
|
||||
"
|
||||
|
||||
IUSE="gnome java kde"
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
|
||||
BIN_COMMON_DEPEND="
|
||||
=app-text/libexttextcat-3.4*
|
||||
=app-text/libmwaw-0.3*
|
||||
app-text/poppler:0/51
|
||||
dev-libs/boost:0/1.55.0
|
||||
dev-libs/icu:0/55
|
||||
=media-gfx/graphite2-1.2*
|
||||
media-libs/glew:0/1.10
|
||||
media-libs/harfbuzz:0/0.9.18[icu]
|
||||
media-libs/libpng:0/16
|
||||
>=sys-libs/glibc-2.20-r2
|
||||
virtual/jpeg:62
|
||||
kde? ( >=kde-base/kdelibs-4.14.3-r1:4 >=dev-qt/qtcore-4.8.6-r2:4 >=dev-qt/qtgui-4.8.6-r4:4 )
|
||||
"
|
||||
|
||||
# PLEASE place any restrictions that are specific to the binary builds
|
||||
# into the BIN_COMMON_DEPEND block above.
|
||||
# All dependencies below this point should remain identical to those in
|
||||
# the source ebuilds.
|
||||
|
||||
COMMON_DEPEND="
|
||||
${BIN_COMMON_DEPEND}
|
||||
${PYTHON_DEPS}
|
||||
app-arch/zip
|
||||
app-arch/unzip
|
||||
>=app-text/hunspell-1.3.2-r3
|
||||
app-text/mythes
|
||||
>=app-text/libabw-0.1.0
|
||||
>=app-text/libexttextcat-3.2
|
||||
>=app-text/libebook-0.1.1
|
||||
>=app-text/libetonyek-0.1.1
|
||||
app-text/liblangtag
|
||||
>=app-text/libmspub-0.1.0
|
||||
>=app-text/libmwaw-0.3.4
|
||||
>=app-text/libodfgen-0.1.0
|
||||
app-text/libwpd:0.10[tools]
|
||||
app-text/libwpg:0.3
|
||||
=app-text/libwps-0.3*
|
||||
>=app-text/poppler-0.16:=[xpdf-headers(+),cxx]
|
||||
>=dev-cpp/clucene-2.3.3.4-r2
|
||||
=dev-cpp/libcmis-0.5*
|
||||
dev-db/unixODBC
|
||||
>=dev-libs/boost-1.55:=
|
||||
dev-libs/expat
|
||||
>=dev-libs/hyphen-2.7.1
|
||||
>=dev-libs/icu-4.8.1.1:=
|
||||
>=dev-libs/liborcus-0.7.0
|
||||
>=dev-libs/librevenge-0.0.1
|
||||
>=dev-libs/nspr-4.8.8
|
||||
>=dev-libs/nss-3.12.9
|
||||
>=dev-lang/perl-5.0
|
||||
>=dev-libs/openssl-1.0.0d:0
|
||||
>=dev-libs/redland-1.0.16
|
||||
media-gfx/graphite2
|
||||
>=media-libs/fontconfig-2.8.0
|
||||
media-libs/freetype:2
|
||||
>=media-libs/glew-1.10
|
||||
>=media-libs/harfbuzz-0.9.18:=[icu(+)]
|
||||
media-libs/lcms:2
|
||||
>=media-libs/libpng-1.4:0=
|
||||
>=media-libs/libcdr-0.1.0
|
||||
>=media-libs/libfreehand-0.1.0
|
||||
media-libs/libpagemaker
|
||||
>=media-libs/libvisio-0.1.0
|
||||
>=net-misc/curl-7.21.4
|
||||
net-libs/neon
|
||||
net-nds/openldap
|
||||
sci-mathematics/lpsolve
|
||||
virtual/jpeg:0
|
||||
>=x11-libs/cairo-1.10.0[X]
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
net-print/cups
|
||||
>=dev-libs/dbus-glib-0.92
|
||||
gnome? ( gnome-extra/evolution-data-server )
|
||||
gnome? ( gnome-base/gconf:2 )
|
||||
x11-libs/gdk-pixbuf[X]
|
||||
>=x11-libs/gtk+-2.24:2
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!app-office/libreoffice
|
||||
!<app-office/openoffice-bin-3.4.0-r1
|
||||
!app-office/openoffice
|
||||
media-fonts/libertine
|
||||
media-fonts/liberation-fonts
|
||||
media-fonts/urw-fonts
|
||||
java? ( >=virtual/jre-1.6 )
|
||||
kde? ( || ( $(add_kdeapps_dep kioclient) $(add_kdebase_dep kioclient) ) )
|
||||
"
|
||||
|
||||
PDEPEND="
|
||||
=app-office/libreoffice-l10n-${PV}*
|
||||
"
|
||||
|
||||
DEPEND="dev-util/xdelta:3"
|
||||
|
||||
# only one flavor at a time
|
||||
REQUIRED_USE="kde? ( !gnome ) gnome? ( !kde )"
|
||||
|
||||
RESTRICT="test strip"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
PYTHON_UPDATER_IGNORE="1"
|
||||
|
||||
pkg_pretend() {
|
||||
[[ $(gcc-major-version) -lt 4 ]] || \
|
||||
( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 4 ]] ) \
|
||||
&& die "Sorry, but gcc-4.4 and earlier won't work for libreoffice-bin package (see bug #387515)."
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
kde4-base_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
einfo "Uncompressing distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz"
|
||||
xz -cd "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz" > "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
|
||||
|
||||
local patchname
|
||||
use kde && patchname="-kde"
|
||||
use gnome && patchname="-gnome"
|
||||
use java && patchname="${patchname}-java"
|
||||
|
||||
if [ -n "${patchname}" ]; then
|
||||
einfo "Patching distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar using ${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3"
|
||||
xdelta3 -d -s "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3" "${WORKDIR}/tmpdist.tar" || die
|
||||
mv "${WORKDIR}/tmpdist.tar" "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
|
||||
fi
|
||||
|
||||
einfo "Unpacking new ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
|
||||
unpack "./${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cp "${FILESDIR}"/50-${PN} "${T}"
|
||||
eprefixify "${T}"/50-${PN}
|
||||
}
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
dodir /usr
|
||||
cp -aR "${S}"/usr/* "${ED}"/usr/
|
||||
|
||||
# prevent revdep-rebuild from attempting to rebuild all the time
|
||||
insinto /etc/revdep-rebuild && doins "${T}/50-${PN}"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# Cache updates - all handled by kde eclass for all environments
|
||||
kde4-base_pkg_preinst
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
kde4-base_pkg_postinst
|
||||
|
||||
pax-mark -m "${EPREFIX}"/usr/$(get_libdir)/libreoffice/program/soffice.bin
|
||||
pax-mark -m "${EPREFIX}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin
|
||||
|
||||
use java || \
|
||||
ewarn 'If you plan to use lbase application you should enable java or you will get various crashes.'
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
kde4-base_pkg_postrm
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST groonga-4.0.7.tar.gz 10990151 SHA256 ec1d19b05c7a592a316e845ff4c5549c6236cc7ea83423c0fc7831c16161bbbf SHA512 942c28205ffb2c7d3ba767ff68b342ef5b7b9fef72131782635e86682c82a4ea3dad9d5263a42563ded22db573015c9859e49dc20c812f7a6534478b22d8b9a8 WHIRLPOOL 2473c14bcc50c87bfb925e73cc3c4cd2c02915ac498a5e40aeee312ac9873857406e38e8146fabe722250f2d258b6444813d4c47726c16ce4cfceea35f207d3a
|
||||
DIST groonga-5.0.3.tar.gz 12421501 SHA256 d4f3e9d00cb16c0028cb32422fa666cbbfb32f47597988fd308931274d94cf52 SHA512 c4595054f46e150b0b95b3d1fb6a18098c93471ee0cdeefc54d266a710db57d6b68a6aceb1a61ede5ebb4e1b5518be64b9b96809bd85634b61c84c1923cbf158 WHIRLPOOL bbcf91770eb626dfaf5d01e04b6f4b2f4ee6fff8fad73cdca36c500560ce8d0b9dc606391b1ae0a23d2fd763ba4eddbc69f2eb8b692a5c3c59c1b21745d01de0
|
||||
|
@ -0,0 +1,92 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/groonga/groonga-5.0.3.ebuild,v 1.1 2015/05/25 00:29:28 grknight Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils libtool user
|
||||
|
||||
DESCRIPTION="An Embeddable Fulltext Search Engine"
|
||||
HOMEPAGE="http://groonga.org/"
|
||||
SRC_URI="http://packages.groonga.org/source/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="abort benchmark debug doc dynamic-malloc-change +exact-alloc-count examples fmalloc futex libedit libevent lzo mecab msgpack +nfkc sphinx static-libs uyield zeromq zlib"
|
||||
|
||||
RDEPEND="benchmark? ( >=dev-libs/glib-2.8 )
|
||||
libedit? ( >=dev-libs/libedit-3 )
|
||||
libevent? ( dev-libs/libevent )
|
||||
lzo? ( dev-libs/lzo )
|
||||
mecab? ( >=app-text/mecab-0.80 )
|
||||
msgpack? ( dev-libs/msgpack )
|
||||
sphinx? ( >=dev-python/sphinx-1.0.1 )
|
||||
zeromq? ( net-libs/zeromq )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
sphinx? ( dev-python/sphinx )"
|
||||
|
||||
REQUIRED_USE=" abort? ( dynamic-malloc-change ) fmalloc? ( dynamic-malloc-change ) sphinx? ( doc )"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup groonga
|
||||
enewuser groonga -1 -1 -1 groonga
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# httpd is a bundled copy of nginx; disabled for security reasons
|
||||
# prce only is used with httpd
|
||||
# kytea and libstemmer are not available in portage
|
||||
# ruby is only used for an http test
|
||||
econf \
|
||||
--disable-groonga-httpd \
|
||||
--without-pcre \
|
||||
--without-kytea \
|
||||
--without-libstemmer \
|
||||
--with-log-path="${EROOT}var/log/${PN}.log" \
|
||||
--docdir="${EROOT}usr/share/doc/${P}" \
|
||||
--without-ruby \
|
||||
$(use_enable abort) \
|
||||
$(use_enable benchmark) \
|
||||
$(use_enable debug memory-debug) \
|
||||
$(use_enable doc document) \
|
||||
$(use_enable dynamic-malloc-change) \
|
||||
$(use_enable exact-alloc-count) \
|
||||
$(use_enable fmalloc) \
|
||||
$(use_enable futex) \
|
||||
$(use_enable libedit) \
|
||||
$(use_with libevent) \
|
||||
$(use_with lzo) \
|
||||
$(use_with mecab) \
|
||||
$(use_with msgpack message-pack "${EROOT}usr") \
|
||||
$(use_enable nfkc) \
|
||||
$(use_with sphinx sphinx-build) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable uyield) \
|
||||
$(use_enable zeromq) \
|
||||
$(use_with zlib)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
prune_libtool_files
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd" ${PN}
|
||||
|
||||
keepdir /var/{log,lib}/${PN}
|
||||
fowners groonga:groonga /var/{log,lib}/${PN}
|
||||
|
||||
dodoc README.md
|
||||
|
||||
use examples || rm -r "${D}usr/share/${PN}" || die
|
||||
# Extra init script
|
||||
rm -r "${D}usr/sbin/groonga-httpd-restart" || die
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
Sadly the CMake side of openjpeg slotting in Gentoo is broken.
|
||||
To reliably find openjpeg:2 we need to use pkg-config.
|
||||
|
||||
diff -ruN poppler-0.33.0.orig/CMakeLists.txt poppler-0.33.0/CMakeLists.txt
|
||||
--- poppler-0.33.0.orig/CMakeLists.txt 2015-05-14 20:22:31.000000000 +0200
|
||||
+++ poppler-0.33.0/CMakeLists.txt 2015-05-24 20:39:30.163709257 +0200
|
||||
@@ -172,7 +172,7 @@
|
||||
set(USE_OPENJPEG1 ${LIBOPENJPEG_FOUND})
|
||||
set(WITH_OPENJPEG ${LIBOPENJPEG_FOUND})
|
||||
elseif(ENABLE_LIBOPENJPEG STREQUAL "openjpeg2")
|
||||
- find_package(LIBOPENJPEG2)
|
||||
+ pkg_check_modules(LIBOPENJPEG2 libopenjp2)
|
||||
set(USE_OPENJPEG2 ${LIBOPENJPEG2_FOUND})
|
||||
set(WITH_OPENJPEG ${LIBOPENJPEG2_FOUND})
|
||||
endif()
|
@ -0,0 +1,112 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/poppler-0.33.0-r1.ebuild,v 1.1 2015/05/24 18:45:23 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils toolchain-funcs
|
||||
|
||||
if [[ "${PV}" == "9999" ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://git.freedesktop.org/git/${PN}/${PN}"
|
||||
SLOT="0/9999"
|
||||
else
|
||||
SRC_URI="http://poppler.freedesktop.org/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0/52" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION
|
||||
fi
|
||||
|
||||
DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
|
||||
HOMEPAGE="http://poppler.freedesktop.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
IUSE="cairo cjk curl cxx debug doc +introspection +jpeg jpeg2k +lcms png qt4 qt5 tiff +utils"
|
||||
|
||||
# No test data provided
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=media-libs/fontconfig-2.6.0
|
||||
>=media-libs/freetype-2.3.9
|
||||
sys-libs/zlib
|
||||
cairo? (
|
||||
dev-libs/glib:2
|
||||
>=x11-libs/cairo-1.10.0
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.32.1 )
|
||||
)
|
||||
curl? ( net-misc/curl )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
jpeg2k? ( media-libs/openjpeg:2 )
|
||||
lcms? ( media-libs/lcms:2 )
|
||||
png? ( media-libs/libpng:0= )
|
||||
qt4? (
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
)
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtxml:5
|
||||
)
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
cjk? ( >=app-text/poppler-data-0.4.4 )
|
||||
"
|
||||
|
||||
DOCS=(AUTHORS NEWS README README-XPDF TODO)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.26.0-qt5-dependencies.patch"
|
||||
"${FILESDIR}/${PN}-0.28.1-fix-multilib-configuration.patch"
|
||||
"${FILESDIR}/${PN}-0.28.1-respect-cflags.patch"
|
||||
"${FILESDIR}/${PN}-0.33.0-openjpeg2.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_GTK_TESTS=OFF
|
||||
-DBUILD_QT4_TESTS=OFF
|
||||
-DBUILD_QT5_TESTS=OFF
|
||||
-DBUILD_CPP_TESTS=OFF
|
||||
-DENABLE_SPLASH=ON
|
||||
-DENABLE_ZLIB=ON
|
||||
-DENABLE_XPDF_HEADERS=ON
|
||||
$(cmake-utils_use_enable curl LIBCURL)
|
||||
$(cmake-utils_use_enable cxx CPP)
|
||||
$(cmake-utils_use_enable utils)
|
||||
$(cmake-utils_use_with cairo)
|
||||
$(cmake-utils_use_with introspection GObjectIntrospection)
|
||||
$(cmake-utils_use_with jpeg)
|
||||
$(cmake-utils_use_with png)
|
||||
$(cmake-utils_use_with qt4)
|
||||
$(cmake-utils_use_find_package qt5 Qt5Core)
|
||||
$(cmake-utils_use_with tiff)
|
||||
)
|
||||
if use jpeg2k; then
|
||||
mycmakeargs+=(-DENABLE_LIBOPENJPEG=openjpeg2)
|
||||
else
|
||||
mycmakeargs+=(-DENABLE_LIBOPENJPEG=)
|
||||
fi
|
||||
if use lcms; then
|
||||
mycmakeargs+=(-DENABLE_CMS=lcms2)
|
||||
else
|
||||
mycmakeargs+=(-DENABLE_CMS=)
|
||||
fi
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
if use cairo && use doc; then
|
||||
# For now install gtk-doc there
|
||||
insinto /usr/share/gtk-doc/html/poppler
|
||||
# nonfatal, because live version doesn't provide html documentation.
|
||||
nonfatal doins -r "${S}"/glib/reference/html/*
|
||||
fi
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
DIST go-fs-2788f0dbd16903de03cb8186e5c7d97b69ad387b.tar.gz 4366 SHA256 5b8ebbacf88942136f42ccef13822c2d45f3304520be0aabc40309dcb931c707 SHA512 1d1687513caf338a82e5b15624fe7b3702fd42326c433cbf4100551a2f5aa587814201166946739a2dadfecf861661b0ed31934e13bfbe3aac6221ff2624733f WHIRLPOOL 3c38f344d232daf7109449bed55158c95f4657d9067d3623a05abadecfed274033f65375c715518c4617c30985519e735440474fb984a654739c081792c19324
|
||||
DIST godep-0_p20150520.tar.gz 20433 SHA256 3c461f14db4a65a1fa72ad3e4444986d25e75b99461b978452e65e9b751fb25d SHA512 f26bad4094ee5d35bc2cb4518094b113a84c55d196bdb59d3ffc48715151f64136cc32103bb624c28d72db97bca3aff94af71922b5daf32285421e85ee164dfd WHIRLPOOL 2a03b9c7724715a06228ac216a578974f11646f553b3e5a0c763907b673c872ac536c733f1230a15ca3603c18346a24c38ce10fe66fb779011a9a02e0f95ec3c
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-go/godep/godep-0_p20150520.ebuild,v 1.2 2015/05/24 21:47:40 zmedico Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
DESCRIPTION="dependency tool for go"
|
||||
GO_PN=github.com/tools/${PN}
|
||||
HOMEPAGE="https://${GO_PN}"
|
||||
EGIT_COMMIT="98f5c2e8906df47a9eaafebbcd406adde2c8d0a7"
|
||||
SRC_URI="https://${GO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/kr/fs/archive/2788f0dbd16903de03cb8186e5c7d97b69ad387b.tar.gz -> go-fs-2788f0dbd16903de03cb8186e5c7d97b69ad387b.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
DEPEND=">=dev-lang/go-1.4"
|
||||
RDEPEND=""
|
||||
S="${WORKDIR}/src/${GO_PN}"
|
||||
STRIP_MASK="*.a"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
mkdir -p src/${GO_PN%/*} || die
|
||||
mv ${PN}-${EGIT_COMMIT} src/${GO_PN} || die
|
||||
mkdir -p src/github.com/kr || die
|
||||
mv fs-2788f0dbd16903de03cb8186e5c7d97b69ad387b src/github.com/kr/fs || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# disable broken tests
|
||||
sed -e 's:TestSave(:_\0:' -i save_test.go || die
|
||||
sed -e 's:TestUpdate(:_\0:' -i update_test.go || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
GOPATH=${WORKDIR} go install -v -x -work ${GO_PN}/... || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
GOPATH=${WORKDIR} \
|
||||
go test -x -v ${GO_PN}/... || die $?
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${WORKDIR}"/bin/*
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>zmedico@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-configuration/commons-configuration-1.6-r1.ebuild,v 1.1 2015/05/24 19:32:56 monsieurp Exp $
|
||||
|
||||
EAPI=1
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Generic interface for reading configuration data from a variety of sources"
|
||||
HOMEPAGE="http://commons.apache.org/configuration/"
|
||||
SRC_URI="mirror://apache/commons/configuration/source/${P}-src.tar.gz"
|
||||
|
||||
# it needs functionality from ant-core, although not providing an ant task
|
||||
# the functionality is apparently needed only for 1.4 jdk
|
||||
# but I don't feel like adding virtual for this
|
||||
COMMON_DEPENDS="
|
||||
>=dev-java/commons-beanutils-1.7.0:1.7
|
||||
>=dev-java/commons-codec-1.3:0
|
||||
>=dev-java/commons-collections-3.1:0
|
||||
>=dev-java/commons-digester-1.8:0
|
||||
>=dev-java/commons-jxpath-1.2:0
|
||||
>=dev-java/commons-lang-2.4:2.1
|
||||
>=dev-java/commons-logging-1.1.1:0
|
||||
java-virtuals/servlet-api:2.5
|
||||
dev-java/ant-core:0"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
${COMMON_DEPENDS}"
|
||||
RDEPEND=">=virtual/jre-1.6
|
||||
${COMMON_DEPENDS}"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${P}-src"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
# Tweak build classpath and don't automatically run tests
|
||||
epatch "${FILESDIR}/${P}-gentoo.patch"
|
||||
|
||||
java-ant_rewrite-classpath
|
||||
}
|
||||
|
||||
EANT_GENTOO_CLASSPATH="
|
||||
commons-beanutils:1.7
|
||||
commons-codec
|
||||
commons-collections
|
||||
commons-digester
|
||||
commons-jxpath
|
||||
commons-lang:2.1
|
||||
commons-logging
|
||||
servlet-api:2.5
|
||||
ant-core"
|
||||
|
||||
# Would need mockobjects with j2ee support which we don't have
|
||||
# Check overlay for ebuild with test support
|
||||
RESTRICT="test"
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar target/${P}.jar
|
||||
dodoc RELEASE-NOTES.txt || die
|
||||
use doc && java-pkg_dojavadoc dist/docs/api
|
||||
use source && java-pkg_dosrc src/java/*
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-jxpath/commons-jxpath-1.3-r1.ebuild,v 1.1 2015/05/24 21:56:29 monsieurp Exp $
|
||||
|
||||
EAPI=1
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Applies XPath expressions to graphs of objects of all kinds"
|
||||
HOMEPAGE="http://commons.apache.org/jxpath/"
|
||||
SRC_URI="mirror://apache/commons/jxpath/source/${P}-src.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${P}-src"
|
||||
|
||||
CDEPEND="dev-java/commons-beanutils:1.7
|
||||
java-virtuals/servlet-api:2.5
|
||||
dev-java/jdom:1.0"
|
||||
RDEPEND=">=virtual/jre-1.6
|
||||
${CDEPEND}"
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
test? (
|
||||
dev-java/commons-collections:0
|
||||
dev-java/commons-logging:0
|
||||
)
|
||||
${CDEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
# Don't automatically run tests
|
||||
sed 's/depends="compile,test"/depends="compile"/' -i build.xml || die
|
||||
|
||||
mkdir -p "${S}/target/lib"
|
||||
cd "${S}/target/lib"
|
||||
java-pkg_jar-from commons-beanutils-1.7
|
||||
java-pkg_jar-from servlet-api-2.5
|
||||
java-pkg_jar-from jdom-1.0
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# this one needs mockrunner #259027
|
||||
rm src/test/org/apache/commons/jxpath/servlet/JXPathServletContextTest.java || die
|
||||
java-pkg_jar-from --into target/lib \
|
||||
commons-collections,commons-logging,junit
|
||||
ANT_TASKS="ant-junit" eant test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar target/${PN}.jar
|
||||
use doc && java-pkg_dojavadoc dist/docs/api
|
||||
use source && java-pkg_dosrc src/java/*
|
||||
}
|
@ -1 +1 @@
|
||||
DIST clsync-0.4.tar.gz 253396 SHA256 6f0ce7a5f61fbb50db53b787b62cf5347870f3be315acb02c4aee6b76206d19e SHA512 9b17f5f8f0bfc48531f3d8cb4f1c1edd3116e0b7d140e8ab2465dd1c590521c9857202ed3f36466f13fb3309abb9232fb4acbe25b5652914a816fac498f74a48 WHIRLPOOL 18ae12df2d7e0403b21c5d4ab7352cd81446729d94fb300a799b98dad9f88aeaa98deb2ba5f52858d3b6ba7406d777e53e97dae5c3a4802a229511db9c8a3482
|
||||
DIST clsync-0.4.1.tar.gz 253890 SHA256 3f14a72d7c3c1747ea908e373f25bd1918ce00450492fbb7094549db6bf21e27 SHA512 875280f706026d44806b92c22fa58d016136b2792f67a6b7e77f932465081da7a1ebaf22c25e538e4b58bfe04cd1cd5450ecab99c3df53ddd2a0fa966442d444 WHIRLPOOL 10ab11821766f7d16d03993069ac4da5fe362a1e5977ea6721e49ada7044d3659e59b507b03be4de09609b0a0ca9d7878407d7b6e1f40df5dbe1d041dac373cb
|
||||
|
@ -1,19 +0,0 @@
|
||||
commit e9eeb552896a3ac3f4f1e9d72ecab6a200f3c70c
|
||||
Author: Andrew Savchenko <bircoph@gmail.com>
|
||||
Date: Tue Jan 27 21:54:21 2015 +0300
|
||||
|
||||
update package string
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 45f5a23..3e0b3cc 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -2,7 +2,7 @@
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ([2.59])
|
||||
-AC_INIT([clsync],[0.3],[Dmitry Yu Okunev <dyokunev@ut.mephi.ru>],,[https://github.com/xaionaro/clsync])
|
||||
+AC_INIT([clsync],[0.4],[Dmitry Yu Okunev <dyokunev@ut.mephi.ru>],,[https://github.com/xaionaro/clsync])
|
||||
AC_CONFIG_SRCDIR([sync.c])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AM_INIT_AUTOMAKE([1.11 foreign -Wall -Wno-portability])
|
@ -1 +1,2 @@
|
||||
DIST qqwing-1.3.3.tar.gz 89629 SHA256 e037748255d821439dfef9fb4bae2969e7ea600bb4e4cb0a0c1d7bc7883c596e SHA512 cce6e3122f0620b4a27f5c4186b468906006b6f9deda0b3fc474d40e678722bbb07474c479a75cbcac0812a097e5be4d7ae58339810a897f966d5a73b07a6833 WHIRLPOOL c5cfd0779faeee57cf760d8c94c37ae2343c156781c07320cf68c51a3dfe67d3c0f5bf8b077c33a88dc1e217ae742bb130f4a70b1ff96205427158232f867b76
|
||||
DIST qqwing-1.3.4.tar.gz 352060 SHA256 1753736c31feea0085f5cfac33143743204f8a7e66b81ccd17e249ecafba802f SHA512 6762b97d7595e7831edb80d9fac06ca784c6dfb6c5717e72adaac6973ec94bec417806f8ae4b80ed95b876388c8c1a00906b0fa8653a115998c5170db25aab0d WHIRLPOOL 9d491ad8e7ad9afbc3376f35f63b1b956750a5fc41fa2cd34c07ee8b897b81c8dbddd9edac60acfbbd325bfe1872e3819f2901b94b1a2a9ca2bce44c8da7685a
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/qqwing/qqwing-1.3.4.ebuild,v 1.2 2015/05/24 14:01:15 eva Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Sudoku puzzle generator and solver"
|
||||
HOMEPAGE="http://qqwing.com/"
|
||||
SRC_URI="http://qqwing.com/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0/2"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files
|
||||
}
|
@ -1,6 +1,4 @@
|
||||
DIST libvirt-python-1.2.10.tar.gz 162075 SHA256 fd38d589da34de523756e2b39980453bd1149fe162d109fbb7cf65df0c250ba7 SHA512 faec1209c2d1ce170225677cc0080d60c39dcc3ef6bf1e50ccf347519e051490cf4a019fe4a15e32e9de2e137f70904dabc3d288b44bb00c5de465ffc2104837 WHIRLPOOL a3b192bbef5b24ab00d9a9565cfc04972b6b4d5288fc9ac5077232b23d2bb54424a147b789b8b230299f7ac68af8c78febd84dc5db97a007680202de97006a61
|
||||
DIST libvirt-python-1.2.11.tar.gz 163854 SHA256 4a526f5d847cee6ef7efcebac1ea18e18a3164fc77704aba948429be88ad7d5e SHA512 f3768ae9d5ee2bda68611d60712b25b653a0f24d961de8757d9f52c4617e2920dcd6ffbcdecefe60f3d29b9466f78b98a2609c00aafe4e1d7fe49f0a7135f1a0 WHIRLPOOL cf92d662383490e24b6e0eb5322e81079a49e575d12054c7bfc2a94c6906549293c5e2fe50f15ba1f5942bea34d4e674c72b53d27b1bd6fb65358a6a19c96bdb
|
||||
DIST libvirt-python-1.2.12.tar.gz 164708 SHA256 432f438f9759e216424490f51a8804398b70fb1b2f2211f45fb05f72f5ad849f SHA512 f9196734fd91f135671b75e2e967bdcdcbf9daec7d898a57080251bf306c29b7367f99361098924ffd7eb321809b61ef28147f395465d3d84b99389d505ea1f2 WHIRLPOOL 191d4ae091ac7903a0927a72e63c1bb075aac23341dcd000b8ab2bb423a12e62d324d667ffc213da1748b995218b1fcb90a4e6d819d17e75af7157c4a863f603
|
||||
DIST libvirt-python-1.2.13.tar.gz 164722 SHA256 fa22a6012a5d47aa728bdcf9f42d9d06e4dd8fa3ea9bc92b10122ea8300e9c39 SHA512 bdcd74c8551a39f5f88ade133c5ea12f23763f3d15edea01575dda50f84ccbaf1932d63c54ff5d421b156f0386c15713ababe8a764a04bd91a5441a5061ba018 WHIRLPOOL 40a52e9ebcabc84538a233f2622f8bd352ffba35e12d94163534b20b180a7011e02e6086f7379ba0952c9c9bc4ed203c27f83567d46c3abc75c43a05349bcf08
|
||||
DIST libvirt-python-1.2.14.tar.gz 165276 SHA256 0dc3c2bd8eeb570921e7c5cc7cfc202795e5ffd63b0f356ae89dbe0575ee0581 SHA512 38b7af055f92ac1e7473174368db75aa4c3b2ec090ab73bf8728c622e6576b3da04789ffda4388168f5b051701f021a6b8eecd8e83f6f36ecb46565c53a04714 WHIRLPOOL 029c8dfad830f8c7647d209ab117ea6a68baca3b78629530fa8e55550de7da72282ec90b68501218e9ecb5510a9e4e3eb78f6d87b9b54fd1ed6623f86ac7b2cf
|
||||
DIST libvirt-python-1.2.15.tar.gz 166128 SHA256 9a6dfbd487d49f887a41aca4bfb1b4e043fd9fbdfc041252cae84023f5c387ba SHA512 5687308c2f16199ecc4ec935719da1e2d34d0fb3752437a4c662d7c83d972f49ee5e852daf7233fa9aa29f25bbaed1c26d17740faf56c1771bbc2134bcb8958b WHIRLPOOL d2173060d5d3763ba367fbf3140800d6534c27f36b91d7a944ff2f5ce36f9ac54bd86fb6df1399cfa8610ef62c0b0b87427fc68dc1e0be77b0c7b3f94f7d9e30
|
||||
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/libvirt-python/libvirt-python-1.2.11.ebuild,v 1.1 2014/12/13 12:52:24 tamiko Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
AUTOTOOLIZE=yes
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
inherit eutils distutils-r1
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://libvirt.org/libvirt-python.git"
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
RDEPEND="app-emulation/libvirt:=[-python(-)]"
|
||||
else
|
||||
SRC_URI="http://libvirt.org/sources/python/${MY_P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
RDEPEND="app-emulation/libvirt:0/${PV}"
|
||||
fi
|
||||
S="${WORKDIR}/${P%_rc*}"
|
||||
|
||||
DESCRIPTION="libvirt Python bindings"
|
||||
HOMEPAGE="http://www.libvirt.org"
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? ( dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
# testsuite is currently not included in upstream tarball
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/libvirt-python/libvirt-python-1.2.13.ebuild,v 1.1 2015/03/13 12:36:59 tamiko Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
AUTOTOOLIZE=yes
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
inherit eutils distutils-r1
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://libvirt.org/libvirt-python.git"
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
RDEPEND="app-emulation/libvirt:=[-python(-)]"
|
||||
else
|
||||
SRC_URI="http://libvirt.org/sources/python/${MY_P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
RDEPEND="app-emulation/libvirt:0/${PV}"
|
||||
fi
|
||||
S="${WORKDIR}/${P%_rc*}"
|
||||
|
||||
DESCRIPTION="libvirt Python bindings"
|
||||
HOMEPAGE="http://www.libvirt.org"
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? ( dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
# testsuite is currently not included in upstream tarball
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST pycanberra-0_pre20130515.zip 14945 SHA256 5d80b30c774bedec1ba37bda6e68d57f8f9f7977590ffe5f5d630a79f348b80f SHA512 9836ed3d5aea9a80a3ffd64ef85b327c7dcdf24793c65010f43139c548d7c77522ab32f407930efed89493509efd117c64ec0fbf4d1d6d567d4d34d12d1936aa WHIRLPOOL d1d81f7cfdbf7097b6fb0e33f127f93524d2921a86bd11d690e4b72ecb0924af9e79686413a68b73dccbc2043ebd6f0b101ea89a715865f2bbd8c25f5a33d8f8
|
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>gnome</herd>
|
||||
<herd>python</herd>
|
||||
<herd>sound</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pycanberra/pycanberra-0_pre20130515.ebuild,v 1.1 2015/05/24 19:22:35 tetromino Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit python-r1
|
||||
|
||||
DESCRIPTION="Basic Python wrapper for libcanberra"
|
||||
HOMEPAGE="https://github.com/psykoyiko/pycanberra/"
|
||||
PCOMMIT="88c53cd44a626ede3b07dab0b548f8bcfda42867"
|
||||
SRC_URI="https://github.com/psykoyiko/pycanberra/archive/${PCOMMIT}.zip -> ${P}.zip"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
media-libs/libcanberra"
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${PCOMMIT}"
|
||||
|
||||
src_prepare() { :; }
|
||||
src_compile() { :; }
|
||||
src_install() {
|
||||
python_foreach_impl python_domodule pycanberra.py
|
||||
default
|
||||
}
|
@ -1,8 +1,4 @@
|
||||
DIST rails-3.2.21.tgz 3568729 SHA256 95dcf2a848a7fd09acbb12c47e6901baeea08645c32c37e2ae04e2650cf01deb SHA512 952c799736dd2a48532a4340d97ffbbbdc2451fc509e7f86ca47c09f5c6a3f4e5cb9b87c3e803692bc8a810bc178513bbe74f3037fdf8f786c30f0c85dd26948 WHIRLPOOL a2c79df0091ea0ca6f3969a91b4d73c14f79cab9d31ec30591a640321487aedafd0318326080ad4d9be0523002eab2c3c5e9e49b2c6b0b5ef6f5dac8da0bfab5
|
||||
DIST rails-4.0.12.tgz 3760696 SHA256 bfa46d6fc75b0d919831f837bfcdc13ced1d893b3e09ff168e6c401f0eb2c16f SHA512 7c405ac4da32b941e06d1761dbd1afb4cbb9389b4b97baac51bd0064c8ff8d2f300109683f2785d4bd3a4593aa21c8e92c8bdb190e5d6d8a96e7793e776da6cf WHIRLPOOL 42ddb51fdf30160206b76d2d3944ad670a1e91ab7be14179d61b04637188cfdd339369b24c97cbd688e7335aacf726ddceba2fee08bdedb52b267f33f5a4e805
|
||||
DIST rails-4.0.13.tgz 3761572 SHA256 a693a8c5f767d153e765634cecb6356855ca51b6554b3af1a38888023a204a51 SHA512 3f2cca90187f800d1ec57fc6cbc58c1f3213113a94d1dee7d9cfd3dc0264b7f3a9c6cfc6dd95ef2fb3aa7d8ca5d6da50cedecc288ff8ff7e5305dc0309b4365d WHIRLPOOL a5b3f7f828a88d04b5687b3217b40903192ccea5eca36ca58cbb2baeec7471241fe5529f13688bd1f6396a384cf282c94bfaf54ee1cfafdf5ef400707dee7d01
|
||||
DIST rails-4.1.10.tgz 3723355 SHA256 f8060783a25002bdd8120411f3ef7f5b696b5069477135ebf481501f4b69384c SHA512 9493d52ae6d417e11dc141c9e9fa0abf5b4d1ba355d89f5cabbcf774d54128c9e2815b60467bbc0ba275cde8f771b9845c9a4cb1ba775ac8228223a87a51f807 WHIRLPOOL 1a34cd978da13ec1804791cc31aba12de4e1be67787aeda23a50eb2cc54c568a613d89e0d7d61a2969bca1e551e12ba23f362cafedd0b0bc7b0c37e12ab02c05
|
||||
DIST rails-4.1.8.tgz 3711426 SHA256 419e7cdd8e7fd2b2d45d3a37fb37f01b70ada51db77ca116f83636711d845814 SHA512 140a58c1baa39f89e383c9ef7db22702b7703f4c978937e80c0e336ab5fe1a45d3720d25416f165bfe74ec16453098393a434c3c031522594c37fc13f7e80e48 WHIRLPOOL a3ffcb86a8c482f02cc541f790a0aa8e837864bd7dae2ea91b8dad22e0840d8bd399caa7f59990bd3c5437d35aa1ff8cf45c098eed66d54374da8a17761f19e2
|
||||
DIST rails-4.1.9.tgz 3717073 SHA256 3ca76afa66e94b0b5553c4dc05cf4a31e481e7be725f9a49680c47525db088b5 SHA512 396176b89fa2e2e4c7c1acee0e765d9819fbaca18638e93c5e48984dca4fd5ae84c1337e66d022e97f0eba99a093ec7d974f91328dba96967515cbdcf3a64460 WHIRLPOOL f4aeedd312d2131d365a0d32d09c9e2193754059c1b51be4724815ed6f1f45889da75a909b6fac060576abc8ea108eba520735856ce11e74c09b1fa57422a4f5
|
||||
DIST rails-4.2.0.tgz 4129017 SHA256 eec1c20546bc57bece29b222a18cd54cc1398c475d71b8fc821e7df07edfa926 SHA512 312b4a1a449f136cafebf05d82015e3cc51e54df6703d97154fc0ad7b2ff92194a20818d31e16e864d0adaebed493ef6af1067f73b7d84f94e1bf42006c7ff2c WHIRLPOOL 94a12782829630fb160aa8e3489eec1a8ea0daeac9e892a7681ef34124888f436df511e8c3d07a8494c4cdd16e13787134d1e424aca234c9a7f95e38abe3d867
|
||||
DIST rails-4.2.1.tgz 4149447 SHA256 11237cc395c5d4a7f64636f2043cf8c248e862e1946f7491244f448e1c509af7 SHA512 00720fa889b7d0a25c4ef497a8dc95330393300ed05108c5de1413a8f2fa62babf9674b62a627adbd29f1f337395a7ec8c46985753dbed2550023f5159942d91 WHIRLPOOL d09243b37810d2288fe9ea64d82c15c5281b52847e7143a6b7076b5da103cbe02e705788cccdcaf366cced2e9fc6f14362da4b6ddb67df17281ac9a5d1cf5fa7
|
||||
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/actionmailer-4.0.12.ebuild,v 1.1 2014/11/17 20:19:39 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Framework for designing email-service layers"
|
||||
HOMEPAGE="https://github.com/rails/rails"
|
||||
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/actionpack-${PV}
|
||||
>=dev-ruby/mail-2.5.4:2.5"
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/bundler
|
||||
dev-ruby/mocha:0.13
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\)/d" ../Gemfile || die
|
||||
sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
|
||||
|
||||
# Add json to Gemfile to fix mime-types not doing this itself.
|
||||
sed -e '5igem "json"' -i ../Gemfile || die
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/actionmailer-4.1.8.ebuild,v 1.1 2014/11/17 20:19:39 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Framework for designing email-service layers"
|
||||
HOMEPAGE="https://github.com/rails/rails"
|
||||
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/actionpack-${PV}
|
||||
>=dev-ruby/mail-2.5.4:2.5"
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/test-unit:2
|
||||
dev-ruby/mocha:0.14
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
||||
sed -i -e '/\/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
|
||||
|
||||
# Make sure we use the test-unit gem since ruby18 does not provide
|
||||
# all the test-unit features needed.
|
||||
sed -i -e '1igem "test-unit"' test/abstract_unit.rb || die
|
||||
|
||||
# Avoid a test failing only on attachment ordering, since this is a
|
||||
# security release.
|
||||
sed -i -e '/adding inline attachments while rendering mail works/askip "gentoo: fails on ordering"' test/base_test.rb || die
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/actionmailer-4.1.9.ebuild,v 1.1 2015/01/07 07:05:21 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Framework for designing email-service layers"
|
||||
HOMEPAGE="https://github.com/rails/rails"
|
||||
SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/actionpack-${PV}
|
||||
>=dev-ruby/mail-2.5.4:2.5"
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/test-unit:2
|
||||
dev-ruby/mocha:0.14
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|uglifier\|minitest\)/ s:^:#:" ../Gemfile || die
|
||||
|
||||
# Make sure we use the test-unit gem since ruby18 does not provide
|
||||
# all the test-unit features needed.
|
||||
sed -i -e '1igem "test-unit"' test/abstract_unit.rb || die
|
||||
|
||||
# Avoid a test failing only on attachment ordering, since this is a
|
||||
# security release.
|
||||
sed -i -e '/adding inline attachments while rendering mail works/askip "gentoo: fails on ordering"' test/base_test.rb || die
|
||||
}
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/actionmailer-4.2.0.ebuild,v 1.4 2015/01/08 20:58:13 maekke Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Framework for designing email-service layers"
|
||||
HOMEPAGE="https://github.com/rails/rails"
|
||||
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/actionpack-${PV}
|
||||
~dev-ruby/actionview-${PV}
|
||||
~dev-ruby/activejob-${PV}
|
||||
>=dev-ruby/mail-2.5.4:2.5
|
||||
>=dev-ruby/rails-dom-testing-1.0.5:1"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/test-unit:2
|
||||
dev-ruby/mocha:0.14
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
||||
sed -i -e '/\/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
|
||||
|
||||
# Make sure we use the test-unit gem since ruby18 does not provide
|
||||
# all the test-unit features needed.
|
||||
sed -i -e '1igem "test-unit"' test/abstract_unit.rb || die
|
||||
|
||||
# Avoid a test failing only on attachment ordering, since this is a
|
||||
# security release.
|
||||
sed -i -e '/adding inline attachments while rendering mail works/askip "gentoo: fails on ordering"' test/base_test.rb || die
|
||||
}
|
@ -1,8 +1,4 @@
|
||||
DIST rails-3.2.21.tgz 3568729 SHA256 95dcf2a848a7fd09acbb12c47e6901baeea08645c32c37e2ae04e2650cf01deb SHA512 952c799736dd2a48532a4340d97ffbbbdc2451fc509e7f86ca47c09f5c6a3f4e5cb9b87c3e803692bc8a810bc178513bbe74f3037fdf8f786c30f0c85dd26948 WHIRLPOOL a2c79df0091ea0ca6f3969a91b4d73c14f79cab9d31ec30591a640321487aedafd0318326080ad4d9be0523002eab2c3c5e9e49b2c6b0b5ef6f5dac8da0bfab5
|
||||
DIST rails-4.0.12.tgz 3760696 SHA256 bfa46d6fc75b0d919831f837bfcdc13ced1d893b3e09ff168e6c401f0eb2c16f SHA512 7c405ac4da32b941e06d1761dbd1afb4cbb9389b4b97baac51bd0064c8ff8d2f300109683f2785d4bd3a4593aa21c8e92c8bdb190e5d6d8a96e7793e776da6cf WHIRLPOOL 42ddb51fdf30160206b76d2d3944ad670a1e91ab7be14179d61b04637188cfdd339369b24c97cbd688e7335aacf726ddceba2fee08bdedb52b267f33f5a4e805
|
||||
DIST rails-4.0.13.tgz 3761572 SHA256 a693a8c5f767d153e765634cecb6356855ca51b6554b3af1a38888023a204a51 SHA512 3f2cca90187f800d1ec57fc6cbc58c1f3213113a94d1dee7d9cfd3dc0264b7f3a9c6cfc6dd95ef2fb3aa7d8ca5d6da50cedecc288ff8ff7e5305dc0309b4365d WHIRLPOOL a5b3f7f828a88d04b5687b3217b40903192ccea5eca36ca58cbb2baeec7471241fe5529f13688bd1f6396a384cf282c94bfaf54ee1cfafdf5ef400707dee7d01
|
||||
DIST rails-4.1.10.tgz 3723355 SHA256 f8060783a25002bdd8120411f3ef7f5b696b5069477135ebf481501f4b69384c SHA512 9493d52ae6d417e11dc141c9e9fa0abf5b4d1ba355d89f5cabbcf774d54128c9e2815b60467bbc0ba275cde8f771b9845c9a4cb1ba775ac8228223a87a51f807 WHIRLPOOL 1a34cd978da13ec1804791cc31aba12de4e1be67787aeda23a50eb2cc54c568a613d89e0d7d61a2969bca1e551e12ba23f362cafedd0b0bc7b0c37e12ab02c05
|
||||
DIST rails-4.1.8.tgz 3711426 SHA256 419e7cdd8e7fd2b2d45d3a37fb37f01b70ada51db77ca116f83636711d845814 SHA512 140a58c1baa39f89e383c9ef7db22702b7703f4c978937e80c0e336ab5fe1a45d3720d25416f165bfe74ec16453098393a434c3c031522594c37fc13f7e80e48 WHIRLPOOL a3ffcb86a8c482f02cc541f790a0aa8e837864bd7dae2ea91b8dad22e0840d8bd399caa7f59990bd3c5437d35aa1ff8cf45c098eed66d54374da8a17761f19e2
|
||||
DIST rails-4.1.9.tgz 3717073 SHA256 3ca76afa66e94b0b5553c4dc05cf4a31e481e7be725f9a49680c47525db088b5 SHA512 396176b89fa2e2e4c7c1acee0e765d9819fbaca18638e93c5e48984dca4fd5ae84c1337e66d022e97f0eba99a093ec7d974f91328dba96967515cbdcf3a64460 WHIRLPOOL f4aeedd312d2131d365a0d32d09c9e2193754059c1b51be4724815ed6f1f45889da75a909b6fac060576abc8ea108eba520735856ce11e74c09b1fa57422a4f5
|
||||
DIST rails-4.2.0.tgz 4129017 SHA256 eec1c20546bc57bece29b222a18cd54cc1398c475d71b8fc821e7df07edfa926 SHA512 312b4a1a449f136cafebf05d82015e3cc51e54df6703d97154fc0ad7b2ff92194a20818d31e16e864d0adaebed493ef6af1067f73b7d84f94e1bf42006c7ff2c WHIRLPOOL 94a12782829630fb160aa8e3489eec1a8ea0daeac9e892a7681ef34124888f436df511e8c3d07a8494c4cdd16e13787134d1e424aca234c9a7f95e38abe3d867
|
||||
DIST rails-4.2.1.tgz 4149447 SHA256 11237cc395c5d4a7f64636f2043cf8c248e862e1946f7491244f448e1c509af7 SHA512 00720fa889b7d0a25c4ef497a8dc95330393300ed05108c5de1413a8f2fa62babf9674b62a627adbd29f1f337395a7ec8c46985753dbed2550023f5159942d91 WHIRLPOOL d09243b37810d2288fe9ea64d82c15c5281b52847e7143a6b7076b5da103cbe02e705788cccdcaf366cced2e9fc6f14362da4b6ddb67df17281ac9a5d1cf5fa7
|
||||
|
@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-4.0.12.ebuild,v 1.1 2014/11/17 20:19:20 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
# The default test task tries to test activerecord with SQLite as well.
|
||||
RUBY_FAKEGEM_TASK_TEST="test_action_pack"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Eases web-request routing, handling, and response"
|
||||
HOMEPAGE="http://rubyforge.org/projects/actionpack/"
|
||||
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
>=dev-ruby/builder-3.1.0:3.1
|
||||
>=dev-ruby/rack-1.5.2:1.5
|
||||
>=dev-ruby/rack-test-0.6.2:0.6
|
||||
>=dev-ruby/erubis-2.7.0"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/mocha:0.13
|
||||
dev-ruby/bundler
|
||||
~dev-ruby/activemodel-${PV}
|
||||
~dev-ruby/activerecord-${PV}
|
||||
~dev-ruby/actionmailer-${PV}
|
||||
dev-ruby/sprockets-rails:2.0
|
||||
>=dev-ruby/tzinfo-0.3.37:0
|
||||
>=dev-ruby/uglifier-1.0.3
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\)/d" ../Gemfile || die
|
||||
|
||||
sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
|
||||
sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
|
||||
|
||||
sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die
|
||||
|
||||
# Add back json in the Gemfile because we dropped some dependencies
|
||||
# earlier that implicitly required it.
|
||||
sed -i -e '$agem "json"' ../Gemfile || die
|
||||
|
||||
# Avoid fragile test that gets more output than it expects.
|
||||
sed -i -e '/test_locals_option_to_assert_template_is_not_supported/,/end/ s:^:#:' test/controller/render_test.rb || die
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-4.1.8.ebuild,v 1.1 2014/11/17 20:19:20 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Eases web-request routing, handling, and response"
|
||||
HOMEPAGE="http://rubyforge.org/projects/actionpack/"
|
||||
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
~dev-ruby/actionview-${PV}
|
||||
>=dev-ruby/rack-1.5.2:1.5
|
||||
>=dev-ruby/rack-test-0.6.2:0.6"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/mocha:0.14
|
||||
dev-ruby/bundler
|
||||
~dev-ruby/activemodel-${PV}
|
||||
>=dev-ruby/rack-cache-1.2:1.2
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\)/ s:^:#:" ../Gemfile || die
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-4.1.9.ebuild,v 1.1 2015/01/07 07:04:56 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Eases web-request routing, handling, and response"
|
||||
HOMEPAGE="http://rubyforge.org/projects/actionpack/"
|
||||
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
~dev-ruby/actionview-${PV}
|
||||
>=dev-ruby/rack-1.5.2:1.5
|
||||
>=dev-ruby/rack-test-0.6.2:0.6"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/mocha:0.14
|
||||
dev-ruby/bundler
|
||||
~dev-ruby/activemodel-${PV}
|
||||
>=dev-ruby/rack-cache-1.2:1.2
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\)/ s:^:#:" ../Gemfile || die
|
||||
}
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-4.2.0.ebuild,v 1.4 2015/01/08 20:55:34 maekke Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Eases web-request routing, handling, and response"
|
||||
HOMEPAGE="http://rubyforge.org/projects/actionpack/"
|
||||
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
~dev-ruby/actionview-${PV}
|
||||
>=dev-ruby/rack-1.6.0:1.6
|
||||
>=dev-ruby/rack-test-0.6.2:0.6
|
||||
>=dev-ruby/rails-html-sanitizer-1.0.1:1
|
||||
>=dev-ruby/rails-dom-testing-1.0.5:1
|
||||
"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/mocha:0.14
|
||||
dev-ruby/bundler
|
||||
~dev-ruby/activemodel-${PV}
|
||||
>=dev-ruby/rack-cache-1.2:1.2
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\)/ s:^:#:" \
|
||||
-e '/:job/,/end/ s:^:#:' ../Gemfile || die
|
||||
}
|
@ -1,5 +1,2 @@
|
||||
DIST rails-4.1.10.tgz 3723355 SHA256 f8060783a25002bdd8120411f3ef7f5b696b5069477135ebf481501f4b69384c SHA512 9493d52ae6d417e11dc141c9e9fa0abf5b4d1ba355d89f5cabbcf774d54128c9e2815b60467bbc0ba275cde8f771b9845c9a4cb1ba775ac8228223a87a51f807 WHIRLPOOL 1a34cd978da13ec1804791cc31aba12de4e1be67787aeda23a50eb2cc54c568a613d89e0d7d61a2969bca1e551e12ba23f362cafedd0b0bc7b0c37e12ab02c05
|
||||
DIST rails-4.1.8.tgz 3711426 SHA256 419e7cdd8e7fd2b2d45d3a37fb37f01b70ada51db77ca116f83636711d845814 SHA512 140a58c1baa39f89e383c9ef7db22702b7703f4c978937e80c0e336ab5fe1a45d3720d25416f165bfe74ec16453098393a434c3c031522594c37fc13f7e80e48 WHIRLPOOL a3ffcb86a8c482f02cc541f790a0aa8e837864bd7dae2ea91b8dad22e0840d8bd399caa7f59990bd3c5437d35aa1ff8cf45c098eed66d54374da8a17761f19e2
|
||||
DIST rails-4.1.9.tgz 3717073 SHA256 3ca76afa66e94b0b5553c4dc05cf4a31e481e7be725f9a49680c47525db088b5 SHA512 396176b89fa2e2e4c7c1acee0e765d9819fbaca18638e93c5e48984dca4fd5ae84c1337e66d022e97f0eba99a093ec7d974f91328dba96967515cbdcf3a64460 WHIRLPOOL f4aeedd312d2131d365a0d32d09c9e2193754059c1b51be4724815ed6f1f45889da75a909b6fac060576abc8ea108eba520735856ce11e74c09b1fa57422a4f5
|
||||
DIST rails-4.2.0.tgz 4129017 SHA256 eec1c20546bc57bece29b222a18cd54cc1398c475d71b8fc821e7df07edfa926 SHA512 312b4a1a449f136cafebf05d82015e3cc51e54df6703d97154fc0ad7b2ff92194a20818d31e16e864d0adaebed493ef6af1067f73b7d84f94e1bf42006c7ff2c WHIRLPOOL 94a12782829630fb160aa8e3489eec1a8ea0daeac9e892a7681ef34124888f436df511e8c3d07a8494c4cdd16e13787134d1e424aca234c9a7f95e38abe3d867
|
||||
DIST rails-4.2.1.tgz 4149447 SHA256 11237cc395c5d4a7f64636f2043cf8c248e862e1946f7491244f448e1c509af7 SHA512 00720fa889b7d0a25c4ef497a8dc95330393300ed05108c5de1413a8f2fa62babf9674b62a627adbd29f1f337395a7ec8c46985753dbed2550023f5159942d91 WHIRLPOOL d09243b37810d2288fe9ea64d82c15c5281b52847e7143a6b7076b5da103cbe02e705788cccdcaf366cced2e9fc6f14362da4b6ddb67df17281ac9a5d1cf5fa7
|
||||
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionview/actionview-4.1.8.ebuild,v 1.1 2014/11/17 20:18:56 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Simple, battle-tested conventions and helpers for building web pages"
|
||||
HOMEPAGE="https://github.com/rails/rails/"
|
||||
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
>=dev-ruby/builder-3.1 =dev-ruby/builder-3*
|
||||
>=dev-ruby/erubis-2.7.0
|
||||
"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/mocha:0.14
|
||||
~dev-ruby/actionpack-${PV}
|
||||
~dev-ruby/activemodel-${PV}
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\)/ s:^:#:" ../Gemfile || die
|
||||
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionview/actionview-4.1.9.ebuild,v 1.1 2015/01/07 07:04:34 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Simple, battle-tested conventions and helpers for building web pages"
|
||||
HOMEPAGE="https://github.com/rails/rails/"
|
||||
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
>=dev-ruby/builder-3.1 =dev-ruby/builder-3*
|
||||
>=dev-ruby/erubis-2.7.0
|
||||
"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/mocha:0.14
|
||||
~dev-ruby/actionpack-${PV}
|
||||
~dev-ruby/activemodel-${PV}
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\)/ s:^:#:" ../Gemfile || die
|
||||
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionview/actionview-4.2.0.ebuild,v 1.4 2015/01/08 20:59:24 maekke Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Simple, battle-tested conventions and helpers for building web pages"
|
||||
HOMEPAGE="https://github.com/rails/rails/"
|
||||
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
>=dev-ruby/builder-3.1 =dev-ruby/builder-3*
|
||||
>=dev-ruby/erubis-2.7.0
|
||||
>=dev-ruby/rails-html-sanitizer-1.0.1:1
|
||||
>=dev-ruby/rails-dom-testing-1.0.5:1
|
||||
"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/mocha:0.14
|
||||
~dev-ruby/actionpack-${PV}
|
||||
~dev-ruby/activemodel-${PV}
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\)/ s:^:#:" \
|
||||
-e '/:job/,/end/ s:^:#:' ../Gemfile || die
|
||||
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST rails-4.2.0.tgz 4129017 SHA256 eec1c20546bc57bece29b222a18cd54cc1398c475d71b8fc821e7df07edfa926 SHA512 312b4a1a449f136cafebf05d82015e3cc51e54df6703d97154fc0ad7b2ff92194a20818d31e16e864d0adaebed493ef6af1067f73b7d84f94e1bf42006c7ff2c WHIRLPOOL 94a12782829630fb160aa8e3489eec1a8ea0daeac9e892a7681ef34124888f436df511e8c3d07a8494c4cdd16e13787134d1e424aca234c9a7f95e38abe3d867
|
||||
DIST rails-4.2.1.tgz 4149447 SHA256 11237cc395c5d4a7f64636f2043cf8c248e862e1946f7491244f448e1c509af7 SHA512 00720fa889b7d0a25c4ef497a8dc95330393300ed05108c5de1413a8f2fa62babf9674b62a627adbd29f1f337395a7ec8c46985753dbed2550023f5159942d91 WHIRLPOOL d09243b37810d2288fe9ea64d82c15c5281b52847e7143a6b7076b5da103cbe02e705788cccdcaf366cced2e9fc6f14362da4b6ddb67df17281ac9a5d1cf5fa7
|
||||
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activejob/activejob-4.2.0.ebuild,v 1.3 2015/01/08 20:57:37 maekke Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Job framework with pluggable queues"
|
||||
HOMEPAGE="http://github.com/rails/rails"
|
||||
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
>=dev-ruby/globalid-0.3.0
|
||||
"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/mocha-0.14.0:0.14
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
sed -i -e '/load_paths/d' test/helper.rb || die "Unable to remove load paths"
|
||||
|
||||
# Remove all currently unpackaged queues.
|
||||
sed -i -e 's/delayed_job qu que queue_classic resque sidekiq sneakers sucker_punch backburner//' Rakefile || die
|
||||
}
|
@ -1,8 +1,4 @@
|
||||
DIST rails-3.2.21.tgz 3568729 SHA256 95dcf2a848a7fd09acbb12c47e6901baeea08645c32c37e2ae04e2650cf01deb SHA512 952c799736dd2a48532a4340d97ffbbbdc2451fc509e7f86ca47c09f5c6a3f4e5cb9b87c3e803692bc8a810bc178513bbe74f3037fdf8f786c30f0c85dd26948 WHIRLPOOL a2c79df0091ea0ca6f3969a91b4d73c14f79cab9d31ec30591a640321487aedafd0318326080ad4d9be0523002eab2c3c5e9e49b2c6b0b5ef6f5dac8da0bfab5
|
||||
DIST rails-4.0.12.tgz 3760696 SHA256 bfa46d6fc75b0d919831f837bfcdc13ced1d893b3e09ff168e6c401f0eb2c16f SHA512 7c405ac4da32b941e06d1761dbd1afb4cbb9389b4b97baac51bd0064c8ff8d2f300109683f2785d4bd3a4593aa21c8e92c8bdb190e5d6d8a96e7793e776da6cf WHIRLPOOL 42ddb51fdf30160206b76d2d3944ad670a1e91ab7be14179d61b04637188cfdd339369b24c97cbd688e7335aacf726ddceba2fee08bdedb52b267f33f5a4e805
|
||||
DIST rails-4.0.13.tgz 3761572 SHA256 a693a8c5f767d153e765634cecb6356855ca51b6554b3af1a38888023a204a51 SHA512 3f2cca90187f800d1ec57fc6cbc58c1f3213113a94d1dee7d9cfd3dc0264b7f3a9c6cfc6dd95ef2fb3aa7d8ca5d6da50cedecc288ff8ff7e5305dc0309b4365d WHIRLPOOL a5b3f7f828a88d04b5687b3217b40903192ccea5eca36ca58cbb2baeec7471241fe5529f13688bd1f6396a384cf282c94bfaf54ee1cfafdf5ef400707dee7d01
|
||||
DIST rails-4.1.10.tgz 3723355 SHA256 f8060783a25002bdd8120411f3ef7f5b696b5069477135ebf481501f4b69384c SHA512 9493d52ae6d417e11dc141c9e9fa0abf5b4d1ba355d89f5cabbcf774d54128c9e2815b60467bbc0ba275cde8f771b9845c9a4cb1ba775ac8228223a87a51f807 WHIRLPOOL 1a34cd978da13ec1804791cc31aba12de4e1be67787aeda23a50eb2cc54c568a613d89e0d7d61a2969bca1e551e12ba23f362cafedd0b0bc7b0c37e12ab02c05
|
||||
DIST rails-4.1.8.tgz 3711426 SHA256 419e7cdd8e7fd2b2d45d3a37fb37f01b70ada51db77ca116f83636711d845814 SHA512 140a58c1baa39f89e383c9ef7db22702b7703f4c978937e80c0e336ab5fe1a45d3720d25416f165bfe74ec16453098393a434c3c031522594c37fc13f7e80e48 WHIRLPOOL a3ffcb86a8c482f02cc541f790a0aa8e837864bd7dae2ea91b8dad22e0840d8bd399caa7f59990bd3c5437d35aa1ff8cf45c098eed66d54374da8a17761f19e2
|
||||
DIST rails-4.1.9.tgz 3717073 SHA256 3ca76afa66e94b0b5553c4dc05cf4a31e481e7be725f9a49680c47525db088b5 SHA512 396176b89fa2e2e4c7c1acee0e765d9819fbaca18638e93c5e48984dca4fd5ae84c1337e66d022e97f0eba99a093ec7d974f91328dba96967515cbdcf3a64460 WHIRLPOOL f4aeedd312d2131d365a0d32d09c9e2193754059c1b51be4724815ed6f1f45889da75a909b6fac060576abc8ea108eba520735856ce11e74c09b1fa57422a4f5
|
||||
DIST rails-4.2.0.tgz 4129017 SHA256 eec1c20546bc57bece29b222a18cd54cc1398c475d71b8fc821e7df07edfa926 SHA512 312b4a1a449f136cafebf05d82015e3cc51e54df6703d97154fc0ad7b2ff92194a20818d31e16e864d0adaebed493ef6af1067f73b7d84f94e1bf42006c7ff2c WHIRLPOOL 94a12782829630fb160aa8e3489eec1a8ea0daeac9e892a7681ef34124888f436df511e8c3d07a8494c4cdd16e13787134d1e424aca234c9a7f95e38abe3d867
|
||||
DIST rails-4.2.1.tgz 4149447 SHA256 11237cc395c5d4a7f64636f2043cf8c248e862e1946f7491244f448e1c509af7 SHA512 00720fa889b7d0a25c4ef497a8dc95330393300ed05108c5de1413a8f2fa62babf9674b62a627adbd29f1f337395a7ec8c46985753dbed2550023f5159942d91 WHIRLPOOL d09243b37810d2288fe9ea64d82c15c5281b52847e7143a6b7076b5da103cbe02e705788cccdcaf366cced2e9fc6f14362da4b6ddb67df17281ac9a5d1cf5fa7
|
||||
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activemodel/activemodel-4.0.12.ebuild,v 1.1 2014/11/17 20:17:36 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activemodel.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="A toolkit for building modeling frameworks like Active Record and Active Resource"
|
||||
HOMEPAGE="http://github.com/rails/rails"
|
||||
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
>=dev-ruby/builder-3.1.0:3.1
|
||||
>=dev-ruby/bcrypt-ruby-3.1.7"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/bundler
|
||||
>=dev-ruby/railties-4.0.0
|
||||
dev-ruby/test-unit:2
|
||||
>=dev-ruby/mocha-0.13.0:0.13
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\)/d" ../Gemfile || die
|
||||
sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
|
||||
|
||||
# Fix bcrypt dependency since bcrypt uses semantic versioning.
|
||||
sed -i -e '/bcrypt-ruby/ s/3.0.0/3.0/' lib/active_model/secure_password.rb || die
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activemodel/activemodel-4.1.8.ebuild,v 1.1 2014/11/17 20:17:36 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activemodel.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="A toolkit for building modeling frameworks like Active Record and Active Resource"
|
||||
HOMEPAGE="http://github.com/rails/rails"
|
||||
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
>=dev-ruby/builder-3.1.0:3.1
|
||||
"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/railties-4.0.0
|
||||
dev-ruby/test-unit:2
|
||||
>=dev-ruby/mocha-0.14.0:0.14
|
||||
>=dev-ruby/bcrypt-ruby-3.1.7
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
sed -i -e '/load_paths/d' test/cases/helper.rb || die "Unable to remove load paths"
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activemodel/activemodel-4.1.9.ebuild,v 1.1 2015/01/07 07:04:15 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activemodel.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="A toolkit for building modeling frameworks like Active Record and Active Resource"
|
||||
HOMEPAGE="https://github.com/rails/rails"
|
||||
SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
>=dev-ruby/builder-3.1.0:3.1
|
||||
"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/railties-4.0.0
|
||||
dev-ruby/test-unit:2
|
||||
>=dev-ruby/mocha-0.14.0:0.14
|
||||
>=dev-ruby/bcrypt-ruby-3.1.7
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|uglifier\|minitest\)/ s:^:#:" ../Gemfile || die
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue