parent
e29eaeffdd
commit
3ff240fc98
@ -0,0 +1,9 @@
|
||||
diff -Nuar a/Makefile.am b/Makefile.am
|
||||
--- a/Makefile.am 2016-08-03 12:25:47.000000000 +0200
|
||||
+++ b/Makefile.am 2016-08-03 23:28:16.420071763 +0200
|
||||
@@ -1,4 +1,4 @@
|
||||
-AM_CFLAGS = -Wall -Werror
|
||||
+AM_CFLAGS = -Wall
|
||||
sbin_PROGRAMS = logrotate
|
||||
logrotate_SOURCES = basenames.c config.c log.c logrotate.c \
|
||||
basenames.h config.h log.h logrotate.h queue.h
|
@ -0,0 +1,43 @@
|
||||
diff -Nuar a/logrotate.c b/logrotate.c
|
||||
--- a/logrotate.c 2016-08-03 23:20:52.900062834 +0200
|
||||
+++ b/logrotate.c 2016-08-03 23:25:18.080068173 +0200
|
||||
@@ -368,15 +368,18 @@
|
||||
int createOutputFile(char *fileName, int flags, struct stat *sb, acl_type acl, int force_mode)
|
||||
{
|
||||
int fd;
|
||||
- struct stat sb_create;
|
||||
- int acl_set = 0;
|
||||
-
|
||||
- fd = open(fileName, (flags | O_EXCL | O_NOFOLLOW),
|
||||
- (S_IRUSR | S_IWUSR) & sb->st_mode);
|
||||
+ int acl_set = 0;
|
||||
+ struct stat sb_create;
|
||||
+ char template[PATH_MAX + 1];
|
||||
+ mode_t umask_value;
|
||||
+ snprintf(template, PATH_MAX, "%s/logrotate_temp.XXXXXX", ourDirName(fileName));
|
||||
+ umask_value = umask(0000);
|
||||
+ fd = mkostemp(template, (flags | O_EXCL | O_NOFOLLOW));
|
||||
+ umask(umask_value);
|
||||
|
||||
if (fd < 0) {
|
||||
- message(MESS_ERROR, "error creating output file %s: %s\n",
|
||||
- fileName, strerror(errno));
|
||||
+ message(MESS_ERROR, "error creating unique temp file: %s\n",
|
||||
+ strerror(errno));
|
||||
return -1;
|
||||
}
|
||||
if (fchmod(fd, (S_IRUSR | S_IWUSR) & sb->st_mode)) {
|
||||
@@ -427,6 +430,13 @@
|
||||
}
|
||||
}
|
||||
|
||||
+ if (rename(template, fileName)) {
|
||||
+ message(MESS_ERROR, "error renaming temp file to %s: %s\n",
|
||||
+ fileName, strerror(errno));
|
||||
+ close(fd);
|
||||
+ return -1;
|
||||
+ }
|
||||
+
|
||||
return fd;
|
||||
}
|
||||
|
@ -0,0 +1,57 @@
|
||||
diff -Nuar a/config.c b/config.c
|
||||
--- a/config.c 2016-08-03 23:19:33.730061240 +0200
|
||||
+++ b/config.c 2016-08-03 23:20:31.200062397 +0200
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "queue.h"
|
||||
/* Alloca is defined in stdlib.h in NetBSD */
|
||||
-#ifndef __NetBSD__
|
||||
+#if !defined(__NetBSD__) && !defined(__FreeBSD__)
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
#include <limits.h>
|
||||
@@ -24,6 +24,10 @@
|
||||
#include <fnmatch.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
+#if !defined(PATH_MAX) && defined(__FreeBSD__)
|
||||
+#include <sys/param.h>
|
||||
+#endif
|
||||
+
|
||||
#include "basenames.h"
|
||||
#include "log.h"
|
||||
#include "logrotate.h"
|
||||
diff -Nuar a/logrotate.c b/logrotate.c
|
||||
--- a/logrotate.c 2016-08-03 12:25:47.000000000 +0200
|
||||
+++ b/logrotate.c 2016-08-03 23:20:52.900062834 +0200
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "queue.h"
|
||||
/* alloca() is defined in stdlib.h in NetBSD */
|
||||
-#ifndef __NetBSD__
|
||||
+#if !defined(__NetBSD__) && !defined(__FreeBSD__)
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
#include <limits.h>
|
||||
@@ -26,6 +27,10 @@
|
||||
#include <limits.h>
|
||||
#endif
|
||||
|
||||
+#if !defined(PATH_MAX) && defined(__FreeBSD__)
|
||||
+#include <sys/param.h>
|
||||
+#endif
|
||||
+
|
||||
#include "basenames.h"
|
||||
#include "log.h"
|
||||
#include "logrotate.h"
|
||||
diff -Nuar a/Makefile.legacy b/Makefile.legacy
|
||||
--- a/Makefile.legacy 2016-08-03 12:25:47.000000000 +0200
|
||||
+++ b/Makefile.legacy 2016-08-03 23:21:07.370063125 +0200
|
||||
@@ -22,7 +22,9 @@
|
||||
|
||||
ifeq ($(WITH_ACL),yes)
|
||||
CFLAGS += -DWITH_ACL
|
||||
+ifneq ($(OS_NAME),FreeBSD)
|
||||
LOADLIBES += -lacl
|
||||
+endif
|
||||
# See pretest
|
||||
TEST_ACL=1
|
||||
else
|
@ -0,0 +1,14 @@
|
||||
diff -Nuar a/config.c b/config.c
|
||||
--- a/config.c 2016-08-03 12:25:47.000000000 +0200
|
||||
+++ b/config.c 2016-08-03 23:19:33.730061240 +0200
|
||||
@@ -359,7 +359,9 @@
|
||||
char *pattern;
|
||||
|
||||
/* Check if fname is '.' or '..'; if so, return false */
|
||||
- if (fname[0] == '.' && (!fname[1] || (fname[1] == '.' && !fname[2])))
|
||||
+ /* Don't include 'hidden' files either; this breaks Gentoo
|
||||
+ portage config file management http://bugs.gentoo.org/87683 */
|
||||
+ if (fname[0] == '.')
|
||||
return 0;
|
||||
|
||||
/* Check if fname is ending in a taboo-extension; if so, return false */
|
@ -0,0 +1,11 @@
|
||||
diff -Nuar a/configure.ac b/configure.ac
|
||||
--- a/configure.ac 2016-08-03 12:25:47.000000000 +0200
|
||||
+++ b/configure.ac 2016-08-03 23:29:44.540073537 +0200
|
||||
@@ -9,6 +9,7 @@
|
||||
AC_PROG_CC_STDC
|
||||
AC_STRUCT_ST_BLKSIZE
|
||||
AC_STRUCT_ST_BLOCKS
|
||||
+AC_SYS_LARGEFILE
|
||||
|
||||
AC_CHECK_LIB([popt],[poptParseArgvString],,
|
||||
AC_MSG_ERROR([libpopt required but not found]))
|
@ -0,0 +1,55 @@
|
||||
diff -Nuar a/config.c b/config.c
|
||||
--- a/config.c 2016-08-03 23:20:31.200062397 +0200
|
||||
+++ b/config.c 2016-08-03 23:22:52.830065248 +0200
|
||||
@@ -49,39 +49,6 @@
|
||||
#include "asprintf.c"
|
||||
#endif
|
||||
|
||||
-#if !defined(asprintf) && !defined(_FORTIFY_SOURCE)
|
||||
-#include <stdarg.h>
|
||||
-
|
||||
-int asprintf(char **string_ptr, const char *format, ...)
|
||||
-{
|
||||
- va_list arg;
|
||||
- char *str;
|
||||
- int size;
|
||||
- int rv;
|
||||
-
|
||||
- va_start(arg, format);
|
||||
- size = vsnprintf(NULL, 0, format, arg);
|
||||
- size++;
|
||||
- va_start(arg, format);
|
||||
- str = malloc(size);
|
||||
- if (str == NULL) {
|
||||
- va_end(arg);
|
||||
- /*
|
||||
- * Strictly speaking, GNU asprintf doesn't do this,
|
||||
- * but the caller isn't checking the return value.
|
||||
- */
|
||||
- fprintf(stderr, "failed to allocate memory\\n");
|
||||
- exit(1);
|
||||
- }
|
||||
- rv = vsnprintf(str, size, format, arg);
|
||||
- va_end(arg);
|
||||
-
|
||||
- *string_ptr = str;
|
||||
- return (rv);
|
||||
-}
|
||||
-
|
||||
-#endif
|
||||
-
|
||||
#if !defined(strndup)
|
||||
char *strndup(const char *s, size_t n)
|
||||
{
|
||||
diff -Nuar a/logrotate.h b/logrotate.h
|
||||
--- a/logrotate.h 2016-08-03 12:25:47.000000000 +0200
|
||||
+++ b/logrotate.h 2016-08-03 23:23:15.220065699 +0200
|
||||
@@ -80,8 +80,5 @@
|
||||
extern int debug;
|
||||
|
||||
int readAllConfigPaths(const char **paths);
|
||||
-#if !defined(asprintf) && !defined(_FORTIFY_SOURCE)
|
||||
-int asprintf(char **string_ptr, const char *format, ...);
|
||||
-#endif
|
||||
|
||||
#endif
|
@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="Rotates, compresses, and mails system logs"
|
||||
HOMEPAGE="https://github.com/logrotate/logrotate"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="acl +cron selinux"
|
||||
|
||||
CDEPEND="
|
||||
>=dev-libs/popt-1.5
|
||||
selinux? (
|
||||
sys-libs/libselinux
|
||||
)
|
||||
acl? ( virtual/acl )"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
>=sys-apps/sed-4"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-logrotate )
|
||||
cron? ( virtual/cron )"
|
||||
|
||||
install_cron_file() {
|
||||
sed -i 's#/usr/sbin/logrotate#/usr/bin/logrotate#' "${S}"/examples/logrotate.cron
|
||||
exeinto /etc/cron.daily
|
||||
newexe "${S}"/examples/logrotate.cron "${PN}"
|
||||
}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/"${P}"-ignore-hidden.patch \
|
||||
"${FILESDIR}"/"${P}"-fbsd.patch \
|
||||
"${FILESDIR}"/"${P}"-noasprintf.patch \
|
||||
"${FILESDIR}"/"${P}"-atomic-create.patch \
|
||||
"${FILESDIR}"/"${P}"-Werror.patch \
|
||||
"${FILESDIR}"/"${P}"-lfs.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with acl) $(use_with selinux)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake ${myconf} RPM_OPT_FLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr
|
||||
dobin logrotate
|
||||
doman logrotate.8
|
||||
dodoc CHANGES examples/logrotate*
|
||||
|
||||
insinto /etc
|
||||
doins "${FILESDIR}"/logrotate.conf
|
||||
|
||||
use cron && install_cron_file
|
||||
|
||||
keepdir /etc/logrotate.d
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The ${PN} binary is now installed under /usr/bin. Please"
|
||||
elog "update your links"
|
||||
elog
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
elog "If you wish to have logrotate e-mail you updates, please"
|
||||
elog "emerge virtual/mailx and configure logrotate in"
|
||||
elog "/etc/logrotate.conf appropriately"
|
||||
elog
|
||||
elog "Additionally, /etc/logrotate.conf may need to be modified"
|
||||
elog "for your particular needs. See man logrotate for details."
|
||||
fi
|
||||
}
|
@ -1,8 +1,11 @@
|
||||
AUX bbackupd.rc 408 SHA256 b1839ef9a191a1e0eeff04c11422554d2f95c28d7961acdb35714836c726ea0c SHA512 d45b15e272e76f66dab071bbabf7cc1d0b220a67918f9d47de6cc000bc8e4e231917b7aaf7ec98536be7fa3b7dde2218d82bb783aa339bed89e63f1206ccb185 WHIRLPOOL 101ca4edf13b762f92be4592fd3b78303d1e3a036b84a15bc97132941b12cdf1d8829d4d5a1a3c04d848ce46b7015e9ede51c816a0ad9fd5eef829ba9d563749
|
||||
AUX bbstored.rc 420 SHA256 ab006ae39e11b2d1b9d782ca627d125f86fccb222b8b80772beb65d260185e7d SHA512 d3d040dc74d4ec62a38134fab4592067f1a8c08c26eb57ee1742f317a01feb14def77105fa5464cf4158f94a2420a8875aaf5006c471a613b0630d787cbddf99 WHIRLPOOL 15f100b5837a60509d023561bc8ccf88ace2d1a3071157798b64c02ee51926fd9a23801b5204c530bc04745bbf5cdfdd7ed5046b8b3eb856e78c2bb115b74b7b
|
||||
AUX boxbackup-0.11.1-fix-Wformat-security.patch 820 SHA256 e67ce1452a4ce85660ab71716d01204fdc24c20f0c715a75c0ea901b75c3a0f0 SHA512 ad6412ce8797e602b1c32e7a13d656a782629633b4ef46933d727e7fbeaadd1ac0ef4c031fa8d8b495fcca6a2a140eda4037f8f2d831b17f55a0e26fa066125c WHIRLPOOL 86d77f729dd67ecc6fd074f8be4c8225af9b118bb15d903bd3d161e8fabf0e36c6dc2c4bc9052ce1359e6648e1a1bbab149dfb3b0491d324c68a19dfd1d4b1d2
|
||||
AUX boxbackup-0.11.1-fix-mandir.patch 426 SHA256 9ed9d079fbd77379e2d13d1a0664874f5b073428d87a759e07210bf748a9c1ac SHA512 90eb90d66c0d124cfad38fdf2833da71f6ef08e3a533e0c299321a7a0c738952dba1705aaba18c13c5c894573d85bbdec9aae964b0c7ee4e01c7541a83512931 WHIRLPOOL a73174f87148f82f8cb742a2088c2212a0c3784bc7f95a7abed5655dbd3874f5608e2d8b8217c2db579a343cf31cb8a184384bdb9176dc35be26bd19ba3e4bb6
|
||||
AUX boxbackup-0.11_rc8-testbbackupd.patch 464 SHA256 c873ce18cccd9db00972652b76fd62db69c46434b58755d92d87d11a34a9c03f SHA512 002a2ea09e86e7c492dcd049b0fe0aee061db24b84c7e129e6e666228687ab8393075a66404292d464818f1319d84df350b0b132cbdb0649f4127406f67afec5 WHIRLPOOL 70b7bfd9b6bb75c652ab3e4073b4065102531eeccde60c1f2a3b1e94db945dea945a4d0cc43ca073033a3f40c5e753b4fc70fd20b041e23f687e99a6c443ff97
|
||||
DIST boxbackup-0.11.1.tgz 1863270 SHA256 1328b010477259c4767276dbfebab6580e883336cc9d25696c39991b09cc6d32 SHA512 15ceceae3659f14254f422136805a8b3ed3c39d14f8a1ffd0c96efb05b7acb5be310e13144ed86fe4afd24a3c0b86ec771b7d3a9f08b2789bb98e18468ca97f8 WHIRLPOOL 9abcae4e907d526e6df0ebfee813cd374e8f981e5f25e0a2cbc2e958e0bf4d0ce10a455d71e036dc13aa31c01c422349cdbb1f1a36a0ea8ae16cf2b14f0f97fc
|
||||
EBUILD boxbackup-0.11.1-r1.ebuild 2033 SHA256 db082c07237aa47771707283b0fda1f16c6fb75fa5d59bff15423e59ab22c398 SHA512 0253c3e4daa32c66d33406d860fe742777480553e6d210ae0c5bdf42ad957e7876926a14bcd517089abfe5d8190bfebca67099335a82e1a33b29a02906699150 WHIRLPOOL 925a54313b3f62753851422bbced596cdea01a286b13d3f319d4c5f6b00f336c28f0b332d1d5dd497c4388398169e9db8f79561064608f3cb03d53112c0ed214
|
||||
MISC ChangeLog 3626 SHA256 6f972efa233a60485d131cc916ee41da805642a1724f7abbeefd5e96c8de5616 SHA512 1569915d8b26f1a1fdf8172169f0039ee43dceefc28e0a1973d9fac363e826b002a7821dbd575a603798815718efc26702552fb19116166c901512f7e68af0b0 WHIRLPOOL 67bd2b45e5791f34bd3413e008398f9c4b514b98a1fd174ea0b0fc61e3dfcb7851c8670061a88d7b043ec860a2ca8c3f05ee0a95562d42cb201e410d2e70e1b6
|
||||
EBUILD boxbackup-0.11.1-r2.ebuild 1834 SHA256 fc95e00aab68710fcef7df0e16c2dd167a8a6963d037d1598a767b5a7f3576d0 SHA512 f88e4e8312fcfde58561fed7fb1304324e14b90759311ca0ed495623b99adb536b3d3dcd9a0b4eab0d3a2a772553647e8c61beda23342d9cfa35d7e840438f3a WHIRLPOOL 3e91e74ab0227be87d14f11a254ca7cb72769b060895208707e31a40c6aa22d64afccc5c5336cd11dfaef0059427a3e54443ab43ea38596853a5e24330250833
|
||||
MISC ChangeLog 4189 SHA256 d17fb7f8535e19e1cd7b75d4970180f11ce1725816da82ed89e5e35f866754c8 SHA512 a4fd6b4bdb0bebc865ab38a6825be9c4cbc65c4d7548d1706b07159886afd92014e7299914b0701f766b2d50496e0450a66226b1a49c5c069cd0394d1878cde2 WHIRLPOOL c94acc5fa486e71be08f28f776a136813ac8e0f02d7d0279929e17859e4ae194e6c3f421454a45ca91140770670f7e3ae43d35fdf1db99ca8836a79ded82a007
|
||||
MISC ChangeLog-2015 4750 SHA256 cd8f4cee87cd7289c6f4d5f68f7e77cd37650d4b88d21ef3e430b3284abb8969 SHA512 99cc4ac964689080ed3b6320a924f0a8e40d8937f9c1017a535431c82f1d25b94e81aebe6886b522f7c06a73f8ffbba6b94e47d719c4efbb38f3b5fa607db811 WHIRLPOOL ed4dfd06676d7f4b0d66011b1d3c1f1022631693e12185ab1dcab0c71a2b8149bce5a031e9c4c352139ba5360b1acb7c623596a9877df3f097def2e0c14f6abf
|
||||
MISC metadata.xml 453 SHA256 8d537b45b56a344ebbc98cdc0a74faea02dcad555deebc174bc44e33a52268a7 SHA512 f4302b369d062cbefffcd1b33028e0b638f03810086451ec95b1e8ddee27585b49b90ddb2169cfbc21e4b43e7bb9e70ec667700d7cba16bd5fff8ee568c92ab3 WHIRLPOOL cee6db7a1b0095088a416786dc360e216db99d4a45e0c30770dfba534c80838f87088453512cb633f9772346bbb64b71766a37aa830214b03c640e261d6acff0
|
||||
|
@ -0,0 +1,75 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit user
|
||||
|
||||
DESCRIPTION="A completely automatic on-line backup system"
|
||||
HOMEPAGE="http://boxbackup.org/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
|
||||
SRC_URI="http://boxbackup.org/svn/box/packages/${P/_/}.tgz"
|
||||
|
||||
# GPL-2 is included for the init script, bug 425884.
|
||||
LICENSE="BSD GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~ppc-macos ~x86-macos"
|
||||
IUSE="client-only libressl"
|
||||
DEPEND="sys-libs/zlib
|
||||
sys-libs/db:=
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
>=dev-lang/perl-5.6"
|
||||
RDEPEND="${DEPEND}
|
||||
virtual/mta"
|
||||
|
||||
S="${WORKDIR}/${P/_/}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.11_rc8-testbbackupd.patch"
|
||||
"${FILESDIR}/${PN}-0.11.1-fix-Wformat-security.patch"
|
||||
"${FILESDIR}/${PN}-0.11.1-fix-mandir.patch"
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
# Bug 299411.
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
emake -j1 DESTDIR="${D}" install-backup-client
|
||||
|
||||
dodoc BUGS.txt CONTACT.txt DOCUMENTATION.txt ExceptionCodes.txt THANKS.txt
|
||||
newinitd "${FILESDIR}"/bbackupd.rc bbackupd
|
||||
|
||||
if ! use client-only ; then
|
||||
emake -j1 DESTDIR="${D}" install-backup-server
|
||||
newinitd "${FILESDIR}"/bbstored.rc bbstored
|
||||
fi
|
||||
|
||||
keepdir /etc/boxbackup
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if ! use client-only ; then
|
||||
enewgroup bbstored
|
||||
enewuser bbstored -1 -1 -1 bbstored
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
while read line; do elog "${line}"; done <<EOF
|
||||
After configuring the Box Backup client and/or server, you can start
|
||||
the daemon using the init scripts /etc/init.d/bbackupd and
|
||||
/etc/init.d/bbstored.
|
||||
The configuration files can be found in /etc/boxbackup
|
||||
|
||||
More information about configuring the client can be found at
|
||||
${HOMEPAGE}client.html,
|
||||
and more information about configuring the server can be found at
|
||||
${HOMEPAGE}server.html.
|
||||
EOF
|
||||
echo
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
From 53e968624b5540bf0c97bb69636f1bc908f9b00a Mon Sep 17 00:00:00 2001
|
||||
From: Michael Orlitzky <michael@orlitzky.com>
|
||||
Date: Wed, 3 Aug 2016 16:38:23 -0400
|
||||
Subject: [PATCH 1/1] bin/bbackupquery/BackupQueries.cpp: fix trivial
|
||||
-Wformat-security warning.
|
||||
|
||||
Gentoo-Bug: 520978
|
||||
---
|
||||
bin/bbackupquery/BackupQueries.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/bin/bbackupquery/BackupQueries.cpp b/bin/bbackupquery/BackupQueries.cpp
|
||||
index 0418ec9..b377218 100644
|
||||
--- a/bin/bbackupquery/BackupQueries.cpp
|
||||
+++ b/bin/bbackupquery/BackupQueries.cpp
|
||||
@@ -613,7 +613,7 @@ void BackupQueries::List(int64_t DirID, const std::string &rListRoot, const bool
|
||||
// terminate
|
||||
*(f++) = ' ';
|
||||
*(f++) = '\0';
|
||||
- printf(displayflags);
|
||||
+ printf("%s", displayflags);
|
||||
|
||||
if(en_flags != 0)
|
||||
{
|
||||
--
|
||||
2.7.3
|
||||
|
@ -0,0 +1,14 @@
|
||||
Install man pages into /usr/share/man instead of /usr/man. This patch
|
||||
was provided by a Gentoo user in bug 515422.
|
||||
|
||||
--- a/infrastructure/makeparcels.pl.in 2015-04-30 15:28:26.790570655 +0200
|
||||
+++ b/infrastructure/makeparcels.pl.in 2015-04-30 15:35:40.795699542 +0200
|
||||
@@ -304,7 +304,7 @@
|
||||
if ($type eq 'man')
|
||||
{
|
||||
$name =~ /([0-9])$/;
|
||||
- $dest = "man/man$1";
|
||||
+ $dest = "share/man/man$1";
|
||||
$name =~ s/$/\.gz/;
|
||||
}
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
if [[ ${PV} == "99999999" ]] ; then
|
||||
inherit autotools git-r3
|
||||
EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://dev.gentoo.org/~floppym/dist/${P}.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-aix ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Eselect module for management of multiple Python versions"
|
||||
HOMEPAGE="https://www.gentoo.org/proj/en/Python/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
# python-exec-2.4.2 for working -l option
|
||||
RDEPEND=">=app-admin/eselect-1.2.3
|
||||
>=dev-lang/python-exec-2.4.2"
|
||||
|
||||
src_prepare() {
|
||||
[[ ${PV} == "99999999" ]] && eautoreconf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local py
|
||||
|
||||
if has_version 'dev-lang/python'; then
|
||||
eselect python update --if-unset
|
||||
fi
|
||||
|
||||
if has_version "=dev-lang/python-3*"; then
|
||||
eselect python update "--python3" --if-unset
|
||||
fi
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
# ChangeLog for dev-db/percona-xtrabackup
|
||||
# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2
|
||||
# (auto-generated from git log)
|
||||
|
||||
*percona-xtrabackup-2.4.4 (03 Aug 2016)
|
||||
|
||||
03 Aug 2016; Patrice Clement <monsieurp@gentoo.org> +metadata.xml,
|
||||
+percona-xtrabackup-2.4.4.ebuild:
|
||||
New package.
|
||||
|
||||
Percona XtraBackup is an online non-blocking backup tool for MySQL,
|
||||
MariaDB and Percona Server.
|
||||
|
||||
Gentoo-Bug: https://bugs.gentoo.org/265407
|
||||
|
||||
Package-Manager: portage-2.3.0
|
||||
Closes: https://github.com/gentoo/gentoo/pull/1998
|
||||
|
||||
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
|
||||
|
@ -0,0 +1,5 @@
|
||||
DIST boost_1_59_0.tar.gz 83709983 SHA256 47f11c8844e579d02691a607fbd32540104a9ac7a2534a8ddaef50daf502baac SHA512 05fdbe5637543defdbc630b921515425885593d16db14534ed7b9aa60925ade8fb598d50cb894aed6dae688e789047216daa1bf03fa1aeb6b531060d9dae52ae WHIRLPOOL b316c2b5e445010766b7ce3f6582565177e1ed763381912dd6b21a882176e19e382c929e1f5a2419e2ed701058c56320cdbf8487234835a00fb94e7115059b67
|
||||
DIST percona-xtrabackup-2.4.4.tar.gz 54060567 SHA256 e3ec54eb468482503bccdd1619136e798798086042e9eb7c6daa2fb9b78783a3 SHA512 aa013aa8f2bef49c66fd14a980444039bdbabb17c09efec3119d5fc074623d6c5f7492602c759f1d51e3a01898729e1209d2195081b537f679a3713b37a7cf0d WHIRLPOOL 77ef90b028cfcec60b0aa7dea4aab2bbebb3be8f18ae50406af81c1cdfe6339f08b29eded004ca6b91ce86303ef694803e34dc5c4d723606b34c1b95120bd8f7
|
||||
EBUILD percona-xtrabackup-2.4.4.ebuild 1177 SHA256 cad8259f6b22ba4b33a09246e6ed362e23077436ecd5ccfe36376ac6166d9be5 SHA512 1180a18ab542314e3615771f51304f2c61a149e2013bd4437e4c85bb83b2a000e8233a48f3d56c23b30419f3934fbf2853b3753d3a3d0657b9be9d1135a89201 WHIRLPOOL 61fb529f2eab3c1135b0daa2e33e36f8851d76fcf1eaec56e40844320d1b0f7886d03a717d1c132ee7ec53142537fd378d7381673564cb3ab6897f6d21367d98
|
||||
MISC ChangeLog 598 SHA256 6222c04b187d454db3fc26b7c8fe438a669e50351ad04a51bed4347005b51edd SHA512 6ace41628c68d096fc80068b34f2f1458a5ff55af81082c97cc0d5f6b158da582f61837e5cac8ca1c1f97f94f70e53b5affb8923a420d2e0f53548ea87922fd7 WHIRLPOOL 50dcd18af804a56976446e155a30bca94a90a8e5c571c7f30018de5c8ac548d83014108c35321f2a63be60f3d9d928dc0f6cf22741742418a8c8ad1f557ecc08
|
||||
MISC metadata.xml 633 SHA256 0d73278715eefc362f58a13f4b89b76411e6cf10665f853166989de4c35acfaf SHA512 5f91c9b263090bec4efab1f7abe9c360a7bc189938b3349cd17657e357b178230fa164435cf48056fe1a06fced509c0e3a7b391613224e493a4c9e453360f597 WHIRLPOOL 6949411ce2347f28ae052537aa5304f360cdec7dbdeab61cbcf93306c15327125d81436ed2b92ba97ded95b65ac085d9e9aff98bb88b83402aa66f6082e3f3e7
|
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>hydrapolic@gmail.com</email>
|
||||
<name>Tomáš Mózes</name>
|
||||
<description>Proxy maintainer</description>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="system-boost">Use system boost (dev-libs/boost) instead of bundled one</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">percona/percona-xtrabackup</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Hot backup utility for MySQL based servers"
|
||||
HOMEPAGE="https://www.percona.com/software/mysql-database/percona-xtrabackup"
|
||||
SRC_URI="https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-${PV}/source/tarball/${P}.tar.gz
|
||||
!system-boost? ( http://jenkins.percona.com/downloads/boost/boost_1_59_0.tar.gz )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="system-boost"
|
||||
|
||||
DEPEND="system-boost? ( =dev-libs/boost-1.59.0 )
|
||||
dev-libs/libaio
|
||||
dev-libs/libev
|
||||
dev-libs/libgcrypt:0=
|
||||
dev-libs/libgpg-error
|
||||
dev-python/sphinx
|
||||
net-misc/curl
|
||||
sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}
|
||||
!dev-db/xtrabackup-bin"
|
||||
|
||||
src_configure() {
|
||||
local my_args
|
||||
|
||||
if ! use system-boost; then
|
||||
my_args="-DDOWNLOAD_BOOST=0 -DWITH_BOOST=${WORKDIR}"
|
||||
fi
|
||||
|
||||
cmake -DBUILD_CONFIG=xtrabackup_release $my_args || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local p="storage/innobase/xtrabackup"
|
||||
|
||||
for tool in xbcloud xbcrypt xbstream xtrabackup; do
|
||||
dobin ${p}/src/${tool}
|
||||
done
|
||||
|
||||
dosym xtrabackup /usr/bin/innobackupex
|
||||
|
||||
doman ${p}/doc/source/build/man/*
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST p1_pam-1.0.0.tar.gz 44008 SHA256 0febab627700f9570bfafd1a93499a5f43de74d85c7a5bdfda8067c6b75f8f4f SHA512 c0b1fbdc1e910f24b2f39ea34cf6fd5859f3ab0cf762a16cf9ef71b1e49129c8238001151dd9031046049967f31fd2cb3d0c06a7d8bdd46e49f19862c143f374 WHIRLPOOL 9037a749657ea55024a355f2f6f96b906118175be6a68ef8cc0d78a379da1181b01114d739c2d5fc8cee61775d710ac84903a8f5e59ce82bdd9b7bbb5fd405c0
|
||||
EBUILD p1_pam-1.0.0.ebuild 547 SHA256 967ac37c7c72080c65602025e9a7e1d39fd4f814f094ac6ebb0d32a1a1ed4fbd SHA512 2819c86231555c42cc205c49f3a54c2842eb757dee04cdb4d2007ade71b3717d17e9d3b11c22166ed6d63536ebae1b44d2a072fee3150aafaf29e44f1de37f8e WHIRLPOOL bfbee66f4567ac9082841b8c52e0c979e68e990d7dc300112633107fd61ce9d45be2ce1a3a543a8bcd0fe4170a650cd571f8349f779d57b1d893b078b344f655
|
||||
MISC ChangeLog 889 SHA256 8152490549d254413828e228c9ebf53e8da726bbd8781a64f5670afc5162cfe4 SHA512 07e7e8b965e4d8db353f30031054ce1ab947900f179f778c136fd7248c1cbca7fc4af1cf36ea372b3d92c10811911f3953d99c7ad03c9dbd472c108d3dda3948 WHIRLPOOL 94d468f65bd2c13fe37b233ac6af9493563d8026f2c3521d47992e7d4126f23fb583467d1dc4a7f8fea97f623aaab51f2dd0b7e6a4321d03e713a49348f36337
|
||||
EBUILD p1_pam-1.0.0.ebuild 561 SHA256 9a9dac284d9e5a40f934e5d8fc6f74e4a0ce0f4f875e70cb73076aa66b1e925f SHA512 faa10004c067b5e3e5549a5365b1683d1d5a7aef99e659da20813f8552771342f9b4f796e88667bbd8d10919b29b19507a28f97e6e2f9fd9902a9e76e7aeab66 WHIRLPOOL 5f9713468c6212dee206ec8630b196ee262529904e9b81c36ccea4c0027f48182d3ea43798bb9385ae4900044fa61373c432d519f82873d019d59b581c69e5ca
|
||||
MISC ChangeLog 1049 SHA256 11cc81407d9ad545f6120ab5a65ba5528046e540213f10cddb2d1b4740381870 SHA512 8d3c5993c22b23f6f8c3aaeab2d431259269e6250c3a90183dbe35159a271365c8ac8630edecb00146cb9f0e1d783ffbebc2b77acf7ce190048c1f5de4a9860f WHIRLPOOL e9e6fbb8a96093b8b21c1c17a615d3b0ec4cd71fe739580d474fc2d3a02480cdfeba288d26c0a880af2c95fa1c4395c64fa9b7fab93e11f723407b7e5c7f5336
|
||||
MISC metadata.xml 254 SHA256 bc1d425de600b5d90ae322e8659e50210e4c49d7ab71d0ebdbd69730d6dfb17b SHA512 b3850bc7c75c11c1cd29ad3560299a281a67d1c39cfb052c1964422209446da77036d4072ad192a2bd9c793aab2f0878426ff9a3ac723ea18553a0564271225d WHIRLPOOL 89252b8745957620577f96407c844d2abced35e09af62196c3af1ebabf831581737b21c9e61b038e625f9670214ee52f3fa3bcdf9dbd49f915b00181af2ff382
|
||||
|
@ -0,0 +1,12 @@
|
||||
# ChangeLog for dev-java/javax-mail
|
||||
# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2
|
||||
# (auto-generated from git log)
|
||||
|
||||
*javax-mail-1.4 (03 Aug 2016)
|
||||
|
||||
03 Aug 2016; Austin English <wizardedit@gentoo.org> +javax-mail-1.4.ebuild,
|
||||
+metadata.xml:
|
||||
new ebuild
|
||||
|
||||
Package-Manager: portage-2.3.0
|
||||
|
@ -0,0 +1,4 @@
|
||||
DIST mail-1.4-sources.jar 465692 SHA256 a20f7b4b98307424cb065ed4478dbce0a5831dfa48e1dea08d3d775632a9e1a6 SHA512 a4be6983d77a4baababcdb20d8586da7dc2f6a75419a02a1c8d72456023d4043b1aae6981321092a54e9f8dd0dc0ec7ab7d1080ab10fd9d84827e6c7a1d4c31c WHIRLPOOL 2885f46cd8780e708236ce0a336e12dfe373208638e0a2c9203452ca212deb44a55331620e2a25274889e9d9b9463bd4848541809fabc1cf4ff24722057c6561
|
||||
EBUILD javax-mail-1.4.ebuild 604 SHA256 d36d628365239a016631bb52e59413a49a75d4257186147b241c39308ae58f0c SHA512 b7ae42c38f8a3f052fd837237c61d17769876352e95d4f0e848925a39ac68aae5dd36602ff2addf81fc2aa50f90f261cec8982ec20b8b77b6fd9a66d187a42a6 WHIRLPOOL b0b74bae9334430cd3e262ba6455adfcea22231919d29cf755af5aeb665d3b548d2590c3a330f7777efdd95158ca49ede46362394b7ba9b8aaa64170c60fc42b
|
||||
MISC ChangeLog 313 SHA256 7e5cb90022972dd316da8c19fe1c0aecd10872a35625b03239747393967a9433 SHA512 8072d1b6938b96f6e0716f286ad5d6ed81588f242d1baad7b6b9033681a8cfbb1b76274afda1c3e39a428400f2039895f08dca0091adc299aac0d4d6c5bf8b65 WHIRLPOOL e0d12d67b5ca75227ceb53a7f49a248a570e9c232e1beef40fb39916d0bfccb136e077ba1d5a141784d08b42d8eb5efe7c4bda059dde9bac3ee25a435591b7f3
|
||||
MISC metadata.xml 242 SHA256 653cd0d34675fe6c6201752e96e6b035bad682c39a376c236b0a8f70dbdcc1c9 SHA512 50f4d6219b995b723d6ebbb4f2a18adbf558a685f862aea00f072254dcc0fe6c1388e4aeaf21fb3ce0fb840a2ef4851807536d037c9682b21cb1986198715a4f WHIRLPOOL 12c33e00040d7a3f4c26a8b7a6a6eaf10007a9e29af9904d192f89db5120a2760a7174fa40c40068eb6066d6a4f0dbbc57a12e852581de95cc956e210351b705
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Provides a platform/protocol-independent framework for mail and messaging apps"
|
||||
HOMEPAGE="https://javamail.java.net/"
|
||||
SRC_URI="http://repo1.maven.org/maven2/javax/mail/mail/${PV}/mail-${PV}-sources.jar"
|
||||
|
||||
LICENSE="|| ( CDDL GPL-2-with-classpath-exception )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jre-1.6"
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jdk-1.6
|
||||
app-arch/unzip"
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue