Browse Source

Sync with portage [Sat Dec 3 23:08:58 MSK 2016].

mhiretskiy 666
root 5 years ago
parent
commit
78fdc573d1
  1. 18
      app-admin/ec2-ami-tools/ec2-ami-tools-1.5.6-r1.ebuild
  2. 1
      app-admin/filebeat/Manifest
  3. 65
      app-admin/filebeat/filebeat-5.0.2.ebuild
  4. 1
      app-admin/logrotate/Manifest
  5. 12
      app-admin/logrotate/files/logrotate-3.11.0-Werror.patch
  6. 57
      app-admin/logrotate/files/logrotate-3.11.0-fbsd.patch
  7. 14
      app-admin/logrotate/files/logrotate-3.11.0-ignore-hidden.patch
  8. 11
      app-admin/logrotate/files/logrotate-3.11.0-lfs.patch
  9. 55
      app-admin/logrotate/files/logrotate-3.11.0-noasprintf.patch
  10. 12
      app-admin/logrotate/logrotate-3.10.0.ebuild
  11. 89
      app-admin/logrotate/logrotate-3.11.0.ebuild
  12. 14
      app-admin/supervisor/metadata.xml
  13. 51
      app-admin/supervisor/supervisor-3.3.1-r1.ebuild
  14. 2
      app-arch/dump/dump-0.4.46.ebuild
  15. 1
      app-crypt/monkeysphere/Manifest
  16. 55
      app-crypt/monkeysphere/monkeysphere-0.41.ebuild
  17. 2
      app-crypt/pinentry/pinentry-0.9.7-r1.ebuild
  18. 2
      app-editors/gvim/gvim-8.0.0106.ebuild
  19. 2
      app-editors/vim-core/vim-core-8.0.0106.ebuild
  20. 2
      app-editors/vim/vim-8.0.0106.ebuild
  21. 1
      app-emacs/multi-term/Manifest
  22. 18
      app-emacs/multi-term/multi-term-1.3.ebuild
  23. 1
      app-emulation/lxc/Manifest
  24. 27
      app-emulation/lxc/files/lxc-2.0.6-bash-completion.patch
  25. 200
      app-emulation/lxc/lxc-2.0.6.ebuild
  26. 2
      app-emulation/virt-viewer/virt-viewer-5.0.ebuild
  27. 164
      app-emulation/xen-pvgrub/xen-pvgrub-4.7.1-r1.ebuild
  28. 4
      app-misc/ca-certificates/Manifest
  29. 176
      app-misc/ca-certificates/ca-certificates-20160104.3.23.ebuild
  30. 26
      app-misc/ca-certificates/ca-certificates-20161102.3.27.2-r1.ebuild
  31. 11
      app-misc/neofetch/neofetch-1.9.1.ebuild
  32. 4
      app-mobilephone/obexftp/obexftp-0.24-r1.ebuild
  33. 58
      app-mobilephone/obexftp/obexftp-0.24.ebuild
  34. 4
      app-office/geierlein/Manifest
  35. 30
      app-office/geierlein/geierlein-0.8.0.ebuild
  36. 30
      app-office/geierlein/geierlein-0.9.4.ebuild
  37. 2
      app-office/geierlein/geierlein-0.9.6.ebuild
  38. 2
      app-portage/distpatch/distpatch-0.1.2.ebuild
  39. 2
      app-text/a2ps/a2ps-4.14-r5.ebuild
  40. 1
      app-text/docbook-xsl-stylesheets/Manifest
  41. 81
      app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.78.0-r1.ebuild
  42. 2
      app-text/htmldoc/htmldoc-1.8.29.ebuild
  43. 21
      app-text/stardict/metadata.xml
  44. 204
      app-text/stardict/stardict-3.0.6-r3.ebuild
  45. 8
      app-text/xmlformat/xmlformat-1.04.ebuild
  46. 2
      dev-lang/fsharp/Manifest
  47. 0
      dev-lang/fsharp/fsharp-4.0.1.20.ebuild
  48. 2
      dev-lang/lua/lua-5.1.5-r4.ebuild
  49. 1
      dev-lang/php/Manifest
  50. 739
      dev-lang/php/php-7.1.0.ebuild
  51. 2
      dev-libs/gmime/gmime-2.6.20-r3.ebuild
  52. 2
      dev-libs/icu/icu-58.1-r1.ebuild
  53. 1
      dev-libs/leatherman/Manifest
  54. 52
      dev-libs/leatherman/leatherman-0.10.0.ebuild
  55. 4
      dev-libs/openobex/openobex-1.7.1.ebuild
  56. 7
      dev-lua/LuaBitOp/LuaBitOp-1.0.2-r1.ebuild
  57. 1
      dev-python/bandit/Manifest
  58. 52
      dev-python/bandit/bandit-1.3.0.ebuild
  59. 2
      dev-python/flask-admin/flask-admin-1.4.2-r1.ebuild
  60. 2
      dev-python/geoalchemy2/geoalchemy2-0.3.ebuild
  61. 2
      dev-python/irc/Manifest
  62. 14
      dev-python/irc/irc-15.0.5.ebuild
  63. 1
      dev-python/irc/metadata.xml
  64. 1
      dev-python/pandas/Manifest
  65. 27
      dev-python/pandas/files/pandas-0.19.1-gapi.patch
  66. 357
      dev-python/pandas/files/pandas-0.19.1-seqf.patch
  67. 166
      dev-python/pandas/pandas-0.19.1.ebuild
  68. 130
      dev-python/pandas/pandas-9999.ebuild
  69. 2
      dev-python/soappy/soappy-0.12.22.ebuild
  70. 1
      dev-python/tqdm/Manifest
  71. 21
      dev-python/tqdm/tqdm-4.10.0.ebuild
  72. 1
      dev-python/xarray/Manifest
  73. 15
      dev-python/xarray/metadata.xml
  74. 29
      dev-python/xarray/xarray-0.8.2.ebuild
  75. 43
      dev-ruby/bcat/bcat-0.6.2-r1.ebuild
  76. 2
      dev-ruby/bcat/bcat-0.6.2-r2.ebuild
  77. 2
      dev-ruby/bundler/bundler-1.8.9.ebuild
  78. 3
      dev-ruby/commander/Manifest
  79. 26
      dev-ruby/commander/commander-4.3.8.ebuild
  80. 2
      dev-ruby/commander/commander-4.4.1.ebuild
  81. 91
      dev-ruby/gherkin/gherkin-2.12.0-r2.ebuild
  82. 2
      dev-ruby/gherkin/gherkin-2.12.0-r3.ebuild
  83. 2
      dev-ruby/highline/highline-1.7.8.ebuild
  84. 2
      dev-ruby/rrdtool-bindings/rrdtool-bindings-1.4.8.ebuild
  85. 1
      dev-ruby/vcard/Manifest
  86. 26
      dev-ruby/vcard/vcard-0.2.15.ebuild
  87. 2
      dev-util/artifactory-bin/Manifest
  88. 97
      dev-util/artifactory-bin/artifactory-bin-4.14.1.ebuild
  89. 97
      dev-util/artifactory-bin/artifactory-bin-4.14.2.ebuild
  90. 2
      dev-util/aruba/aruba-0.5.4-r1.ebuild
  91. 2
      dev-util/cucumber/cucumber-1.3.17.ebuild
  92. 2
      dev-vcs/subversion/subversion-1.8.17.ebuild
  93. 2
      dev-vcs/subversion/subversion-1.9.5.ebuild
  94. 8
      eclass/kernel-2.eclass
  95. 8
      eclass/mozconfig-v6.49.eclass
  96. 83
      games-puzzle/galaxis/files/galaxis-1.7-gentoo.patch
  97. 21
      games-puzzle/tanglet/files/tanglet-1.2.1-datadir.patch
  98. 11
      games-rpg/eternal-lands/files/eternal-lands-1.9.0-glext.patch
  99. 42
      games-simulation/openttd/files/openttd-1.5.3-cflags.patch
  100. 15
      games-sports/xmoto/files/xmoto-0.5.11-utf8.patch

18
app-admin/ec2-ami-tools/ec2-ami-tools-1.5.6.ebuild → app-admin/ec2-ami-tools/ec2-ami-tools-1.5.6-r1.ebuild

@ -1,12 +1,14 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit versionator
USE_RUBY="ruby21"
DESCRIPTION="These command-line tools serve as the client interface to the Amazon EC2 web service"
inherit ruby-single versionator
DESCRIPTION="Command-line tools that serve as client interface to the Amazon EC2 web service"
HOMEPAGE="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=368&categoryID=88"
SRC_URI="http://s3.amazonaws.com/ec2-downloads/${P}.zip"
@ -15,18 +17,14 @@ LICENSE="Amazon
SLOT="0"
KEYWORDS="~amd64 ~x86"
ruby_slot="2.0"
DEPEND="app-arch/unzip"
RDEPEND="dev-lang/ruby:${ruby_slot}[ssl]
RDEPEND="
${RUBY_DEPS}
virtual/ruby-ssl
net-misc/rsync
net-misc/curl"
src_prepare() {
# Simplify the scripts to always run Ruby 20, since Gentoo supports
# alternative implementations as well it is not guaranteed that ruby is ruby19.
sed -i -e "\$s:^ruby:exec ruby${ruby_slot/./}:" bin/* || die 'Sed failed.'
# Remove a left behind license file.
rm lib/ec2/oem/LICENSE.txt || die 'Removal of LICENSE failed.'
}

1
app-admin/filebeat/Manifest

@ -1,2 +1,3 @@
DIST filebeat-1.3.1.tar.gz 10225540 SHA256 1d8e41b42a0b2dd59403795ff07cbfd8a9a76477731c38122aa9242b47b054e0 SHA512 60f6d4ae93bb01e74311d7ccc3d367707f888f58898b89a0ea7512c96b6e1369edf7dc2afe3615df97e8c311629d9fc1e9fc2f1abe8edcbb5bc5bcf47c82107c WHIRLPOOL 608b825fa4dc99d792deb9d23672eea0e66318461adb944dc484d42edc3d3acb1cf1f65cd4024cf0437dd5e5ed088ff5b5aeec967f7efad03b82f259793410f0
DIST filebeat-5.0.0.tar.gz 15736495 SHA256 3e6b7cf2ee5f52e78ae87ef04ab9dd49977c89f86a09416586896aeaea844e34 SHA512 0838fb5e04d2266b15a6f21ebf1109626b60591a9154f4bb11cde73ae127a7695defb1e238a115ab59e0a7441bd9fa5642d4eb924663f00467b715224a3fa076 WHIRLPOOL a2b39bccfb45a32a25de9ae32ad881cd79e7a854280d6eb17614f4c274e9f92d956f8b811e6ff6371d16e7d723a98c59e82906d90029a25d079b33089142df5f
DIST filebeat-5.0.2.tar.gz 15774694 SHA256 feef1e53b978c12b3b3c552534fd666839df5d7d3b974e16636360ca6c4ab7c0 SHA512 2481ed584efda67051e59a27b45ba52039d960d6dc335d9225e2370bc71e5167f5e4e9e7cc0cb7e689c9a73d5edf27655c4764b0acb6f1422f18bfc10fc44fe9 WHIRLPOOL 82d79d09d4c138b40841227e7b4b137b262fb251ec83b736914bb4cda00837d8eedf7af01618d2a04c368cc50650121148cd507da38acce481a3f4dd93281ae8

65
app-admin/filebeat/filebeat-5.0.2.ebuild

@ -0,0 +1,65 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DESCRIPTION="Lightweight log shipper for Logstash and Elasticsearch"
HOMEPAGE="https://www.elastic.co/products/beats"
SRC_URI="https://github.com/elastic/beats/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="dev-lang/go"
RDEPEND="!app-admin/filebeat-bin"
ELASTIC="${WORKDIR}/src/github.com/elastic"
BEATS="${ELASTIC}/beats"
S="${BEATS}"
src_unpack() {
mkdir -p "${ELASTIC}" || die
unpack ${P}.tar.gz
mv beats-${PV} "${BEATS}" || die
}
src_compile() {
cd ${BEATS}/filebeat || die
GOPATH="${WORKDIR}" emake
}
src_install() {
keepdir /var/{lib,log}/${PN}
fperms 0750 /var/{lib,log}/${PN}
newconfd "${FILESDIR}/${PN}.confd-r1" ${PN}
newinitd "${FILESDIR}/${PN}.initd-r1" ${PN}
insinto "/usr/share/doc/${PF}/examples"
doins ${PN}/{filebeat.yml,filebeat.full.yml}
insinto "/etc/${PN}"
doins ${PN}/{filebeat.template.json,filebeat.template-es2x.json}
exeinto "/usr/share/${PN}"
doexe libbeat/scripts/migrate_beat_config_1_x_to_5_0.py
dobin filebeat/filebeat
}
pkg_postinst() {
if [[ -n "${REPLACING_VERSIONS}" ]]; then
elog "Please read the migration guide at:"
elog "https://www.elastic.co/guide/en/beats/libbeat/5.0/upgrading.html"
elog ""
elog "The migration script:"
elog "${EROOT%/}/usr/share/filebeat/migrate_beat_config_1_x_to_5_0.py"
elog ""
fi
elog "Example configurations:"
elog "${EROOT%/}/usr/share/doc/${PF}/examples"
}

1
app-admin/logrotate/Manifest

@ -1,3 +1,4 @@
DIST logrotate-3.10.0.tar.gz 162640 SHA256 dbc76cae5d4912455b5221654bb6114e43d91a3a0879ce3e20a62a157532912e SHA512 ec0328fbf4410c7a2f1386ebb7bd266d2fd7702eb1e3859e7cfb98fd0fcf313140bd1ad46aff1672a6613c0c524b2f98f1e6b9836858961c6e1ecdcd0988b6cd WHIRLPOOL bccf0d434b09f4777e8aca7150cecf81582d85017fc9688f5a652d7373c158a885be6a1d452dc360b3d053065f3522e498a5ea1aa9be36835dec8764215b9996
DIST logrotate-3.11.0.tar.gz 176488 SHA256 7dcb440ed2f1937459e1e06f841c6af1e564b77b2df8009147b56c8649197910 SHA512 67ceb2e18c175a5935c81e7699af7a5e6625cef50a3f52e993d49d6c10d9c433f6c7354a8dd05cb35ab28e4393d1db198f2e46e5f6eafd3e6f040b6518438cc1 WHIRLPOOL 0a581aa5922386b84a7c40a9490364287f4e162f7180fd0e15bf191694294168b663947c7081e92755406fe4f0b3b8792b6f0c5f0e646afa5505a17995a86858
DIST logrotate-3.9.1.tar.gz 79061 SHA256 022769e3288c80981559a8421703c88e8438b447235e36dd3c8e97cd94c52545 SHA512 e6da7c7f067befaf2441e9c6ce77e53cf5ddb4f56cc3304c3e50873b6f20c68520f4a0e50ec466cbebcbed20bfd77bf6dfc489975a8131e9573fb19856c0fe28 WHIRLPOOL 9b3558bb03c6c95f8f386ea75ca09bfda802ae4c45b9ef8408692e3aa7a2ee57447cf15ce04d0289946b9cae2266acb5509d8151d15ac6ea0ad9113aeb32dc17
DIST logrotate-3.9.2.tar.gz 80711 SHA256 2de00c65e23fa9d7909cae6594e550b9abe9a7eb1553669ddeaca92d30f97009 SHA512 62c84a98ec3373562a5c0ab0abd68e33620787cbbafbcf442cb5c7bdc1a41a7f673ee5dabc5f905ad4dd3fffebcbee0dab2ea8698f20de04cc13950212aaab33 WHIRLPOOL b77338f2cc88e6bd03310cea40c26cd4d890238455b4d9507f64a3f8de1006bf98e0d3b783f6536da963f3d695ab604ab3f9bb0e6aa1ae9575005a665b497ec1

12
app-admin/logrotate/files/logrotate-3.11.0-Werror.patch

@ -0,0 +1,12 @@
diff -Nuar a/Makefile.am b/Makefile.am
--- a/Makefile.am 2016-11-30 13:05:55.000000000 +0100
+++ b/Makefile.am 2016-12-02 23:46:15.288908073 +0100
@@ -8,7 +8,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
-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

57
app-admin/logrotate/files/logrotate-3.11.0-fbsd.patch

@ -0,0 +1,57 @@
diff -Nuar a/config.c b/config.c
--- a/config.c 2016-12-02 23:33:36.768905615 +0100
+++ b/config.c 2016-12-02 23:36:15.568906130 +0100
@@ -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-11-30 14:07:15.000000000 +0100
+++ b/logrotate.c 2016-12-02 23:36:44.218906223 +0100
@@ -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 +26,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-11-30 13:05:55.000000000 +0100
+++ b/Makefile.legacy 2016-12-02 23:37:33.938906384 +0100
@@ -22,7 +22,9 @@
ifeq ($(WITH_ACL),yes)
CFLAGS += -DWITH_ACL
+ifneq ($(OS_NAME),FreeBSD)
LOADLIBES += -lacl
+endif
# See pretest
TEST_ACL=1
else

14
app-admin/logrotate/files/logrotate-3.11.0-ignore-hidden.patch

@ -0,0 +1,14 @@
diff -Nuar a/config.c b/config.c
--- a/config.c 2016-11-30 13:05:55.000000000 +0100
+++ b/config.c 2016-12-02 23:33:36.768905615 +0100
@@ -383,7 +383,9 @@
int i;
/* 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 */

11
app-admin/logrotate/files/logrotate-3.11.0-lfs.patch

@ -0,0 +1,11 @@
diff -Nuar a/configure.ac b/configure.ac
--- a/configure.ac 2016-12-02 14:08:40.000000000 +0100
+++ b/configure.ac 2016-12-02 23:48:03.878908425 +0100
@@ -12,6 +12,7 @@
AC_PROG_CC_STDC
AC_STRUCT_ST_BLKSIZE
AC_STRUCT_ST_BLOCKS
+AC_SYS_LARGEFILE
dnl Use 64-bit file offsets on 32-bit systems (defines C macros if necessary)
AC_SYS_LARGEFILE

55
app-admin/logrotate/files/logrotate-3.11.0-noasprintf.patch

@ -0,0 +1,55 @@
diff -Nuar a/config.c b/config.c
--- a/config.c 2016-12-02 23:36:15.568906130 +0100
+++ b/config.c 2016-12-02 23:41:17.438907108 +0100
@@ -49,39 +49,6 @@
#include "asprintf.c"
#endif
-#if !defined(HAVE_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(HAVE_STRNDUP)
char *strndup(const char *s, size_t n)
{
diff -Nuar a/logrotate.h b/logrotate.h
--- a/logrotate.h 2016-11-30 13:05:55.000000000 +0100
+++ b/logrotate.h 2016-12-02 23:40:54.518907034 +0100
@@ -82,8 +82,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

12
app-admin/logrotate/logrotate-3.10.0.ebuild

@ -36,12 +36,12 @@ install_cron_file() {
}
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
"${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() {

89
app-admin/logrotate/logrotate-3.11.0.ebuild

@ -0,0 +1,89 @@
# 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 || die
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}-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 ChangeLog.md 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
}

14
app-admin/supervisor/metadata.xml

@ -1,8 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<maintainer type="person">
<email>sautier.louis@gmail.com</email>
<name>Louis Sautier</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<remote-id type="pypi">supervisor</remote-id>
<remote-id type="github">Supervisor/supervisor</remote-id>
<bugs-to>https://github.com/Supervisor/supervisor/issues</bugs-to>
</upstream>
<longdescription lang="en">
Supervisor is a client/server system that allows its users to control a number of processes on UNIX-like operating systems.
</longdescription>
</pkgmetadata>

51
app-admin/supervisor/supervisor-3.3.1-r1.ebuild

@ -0,0 +1,51 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 ) # py2 only
# xml.etree.ElementTree module required.
PYTHON_REQ_USE="xml"
inherit distutils-r1
MY_PV="${PV/_beta/b}"
DESCRIPTION="A system for controlling process state under UNIX"
HOMEPAGE="http://supervisord.org/ https://pypi.python.org/pypi/supervisor"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
LICENSE="repoze ZPL BSD HPND GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
RDEPEND="
dev-python/meld3[${PYTHON_USEDEP}]
"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? (
${RDEPEND}
dev-python/mock[${PYTHON_USEDEP}]
)
"
S="${WORKDIR}/${PN}-${MY_PV}"
python_compile_all() {
use doc && emake -C docs html
}
python_test() {
esetup.py test
}
python_install_all() {
newinitd "${FILESDIR}/init.d-r1" supervisord
newconfd "${FILESDIR}/conf.d" supervisord
use doc && local HTML_DOCS=( docs/.build/html/. )
distutils-r1_python_install_all
}

2
app-arch/dump/dump-0.4.46.ebuild

@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
KEYWORDS="alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
# We keep uuid USE flag default dsiabled for this version. Don't forget
# to default enable it for later versions as this is the upstream default.
IUSE="bzip2 debug ermt libressl lzo readline selinux sqlite ssl static test uuid zlib"

1
app-crypt/monkeysphere/Manifest

@ -2,3 +2,4 @@ DIST monkeysphere_0.36.orig.tar.gz 98876 SHA256 6ae4edeff2cc29b6913346e15b61500e
DIST monkeysphere_0.37.orig.tar.gz 99557 SHA256 b510b8a414fb400356e80f1f882488785df72ac54078410b54d4c50a84686e59 SHA512 ebf636caaa0985a2495314375a9d78d131173ccedc116993e02b7bbc0ddc8c43c718dc65cb725619ecf7e72e0b7e11b941f3eb342d7c23d17ca0507b2ab28512 WHIRLPOOL d27a3712ce4cd529986c4ac0af7398f8d69d66c1b5aed9842d3b21f417bab5d2b3afc7be9e069ce0e9f307b17ad33ef9e8d49d7624ec0d7d2aab60949982b9c1
DIST monkeysphere_0.38.orig.tar.gz 107546 SHA256 6951821d11ad646e6e7651d677bfab8f800fbc52703a0ab9942d03cd13959073 SHA512 fd87460fe16b0133fd507ff93926a5dea6419343b45c3ba33e6e981333646f4fa840c127bb1f3e7750bc3ede66c5e07f4155557a8354cf38d89159422dca390f WHIRLPOOL 26f96f1d845ce1178337cc23e50140576a785536f656e73ceaba4d64192106b2462bb046328758c2771b48de64abe1a3d866cfc2fadc7ac0d0e2341778cd9105
DIST monkeysphere_0.39.orig.tar.gz 107735 SHA256 73331e2df361b22e1dc6445a7d2b0b2c5a124daa4d850c2ecce721579592c29f SHA512 069acbc3e4f1409a130d4efc95875c72b9e4c55af6ff211fb954a90ff26605ecf9cdbbe7d7f7849de479cafaab7957a33fccefd5f2d54a2317f18bc5454190c2 WHIRLPOOL 3b0b260e002e5bbc4f894f468da77c9b3eb0c020316ceed920663f66e0db525c2baea4d9be7a36e82544c02bc3ece3bb0bbfa455c47d8f89896de08e4ff7211f
DIST monkeysphere_0.41.orig.tar.gz 109040 SHA256 911a2f1622ddb81151b0f41cf569ccf2154d10a09b2f446dbe98fac7279fe74b SHA512 fcc3dd6c191635ed7ef27a8219d4c9d7043629dc8a02de947fcc4dfc8e612ec767f68d4e4c41252a0c0fc80e4184018e53991d85fcde50cb5def75b925341962 WHIRLPOOL 3a71264e78a8b2fa5cde35167df219d6becb082d87dfd8dd22902e0091bbf5397c380c1b5609e79d8743219d948a4ee89b354907cc5aab95275bd805b6ebc223

55
app-crypt/monkeysphere/monkeysphere-0.41.ebuild

@ -0,0 +1,55 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils user
DESCRIPTION="Leverage the OpenPGP web of trust for OpenSSH and Web authentication"
HOMEPAGE="http://web.monkeysphere.info/"
LICENSE="GPL-3"
SLOT="0/0"
IUSE=""
SRC_URI="mirror://debian/pool/monkeysphere/m/monkeysphere/monkeysphere_${PV}.orig.tar.gz http://archive.monkeysphere.info/debian/pool/monkeysphere/m/monkeysphere/monkeysphere_${PV}.orig.tar.gz"
KEYWORDS="~amd64 ~arm ~x86"
DOCS=( README Changelog )
## Tests fail upstream for SSH connection. Issue has been reported.
RESTRICT="test"
DEPEND="app-crypt/gnupg:0=
net-misc/socat:0=
dev-perl/Crypt-OpenSSL-RSA:0=
dev-perl/Digest-SHA1:0=
app-misc/lockfile-progs:0="
RDEPEND="${DEPEND}"
pkg_setup()
{
einfo "Creating named group and user"
enewgroup monkeysphere
enewuser monkeysphere -1 -1 /var/lib/monkeysphere monkeysphere
# Using fperms and fowner in src_install leave unusable config with error
# Authentication refused: bad ownership or modes for directory /var/lib/monkeysphere
chown root:monkeysphere /var/lib/monkeysphere
chmod 751 /var/lib/monkeysphere
}
src_prepare()
{
sed -i "s#share/doc/monkeysphere#share/doc/${PF}#" Makefile || die
}
src_install()
{
default
dodir /var/lib/monkeysphere
}
pkg_postinst()
{
monkeysphere-authentication setup || die
}

2
app-crypt/pinentry/pinentry-0.9.7-r1.ebuild

@ -12,7 +12,7 @@ SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="emacs gtk ncurses qt4 qt5 caps gnome-keyring static"
CDEPEND="

2
app-editors/gvim/gvim-8.0.0106.ebuild

@ -15,7 +15,7 @@ if [[ ${PV} == 9999* ]] ; then
else
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz
https://dev.gentoo.org/~radhermit/vim/vim-8.0.0106-gentoo-patches.tar.bz2"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
KEYWORDS="alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
fi
DESCRIPTION="GUI version of the Vim text editor"

2
app-editors/vim-core/vim-core-8.0.0106.ebuild

@ -13,7 +13,7 @@ if [[ ${PV} == 9999* ]] ; then
else
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz
https://dev.gentoo.org/~radhermit/vim/vim-8.0.0106-gentoo-patches.tar.bz2"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
DESCRIPTION="vim and gvim shared files"

2
app-editors/vim/vim-8.0.0106.ebuild

@ -14,7 +14,7 @@ if [[ ${PV} == 9999* ]] ; then
else
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://dev.gentoo.org/~radhermit/vim/vim-8.0.0106-gentoo-patches.tar.bz2"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
DESCRIPTION="Vim, an improved vi-style text editor"

1
app-emacs/multi-term/Manifest

@ -1 +1,2 @@
DIST multi-term-1.2.el.xz 7876 SHA256 8fbc1b1f08b4905eab33187d6a2eb82399308a98092f39eeb4f4c12849bce3b3 SHA512 4041c7fa61aa6840aaad67d13a3e73717c2f9cbb4df68c4ba450c454d65aa4f3b3da749c346d0b06ac1ccf0c43b52dde771335148e03f66bbc561d84ba452180 WHIRLPOOL 02beb9b6d64ea4bda1fcb1a40e0f994c4bc50f4e80ad1f9fc4a448f9da2e3f6efa82e6931447478d09cc2695e3f719a5119435f01ad0149131a17506b387fd25
DIST multi-term-1.3.el.xz 7968 SHA256 9e151e0e5fa81ff69c9ab7ea8c561dc8713fdd64628c195b6652fecbc17b3d93 SHA512 fcb31da193f84fde653583b999e344fb7ec7404948fbf64b15f9a86eb69e9cc9514ad4380ce5b9c3813a74226d8addf8c87bb539f9ee927d4a0c0a7c2ea7c361 WHIRLPOOL ca52cda0c7012a5daa9de88917e93f1b7e29c52aa6b1991cc77330d3502e1e16b84ed0b7b79603e5556f1b0f38d2047eb8c32a4d07a7a4e866c42d3051f024b3

18
app-emacs/multi-term/multi-term-1.3.ebuild

@ -0,0 +1,18 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit elisp
DESCRIPTION="Manage multiple terminal buffers in Emacs"
HOMEPAGE="http://www.emacswiki.org/emacs/MultiTerm"
# Taken from http://www.emacswiki.org/emacs/download/${PN}.el
SRC_URI="https://dev.gentoo.org/~mjo/distfiles/${P}.el.xz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
SITEFILE="50${PN}-gentoo.el"

1
app-emulation/lxc/Manifest

@ -3,3 +3,4 @@ DIST lxc-1.0.8.tar.gz 575127 SHA256 399ac3eb4e0a89d657fb2e2a57f686ed061d3f1ea473
DIST lxc-2.0.3.tar.gz 772448 SHA256 635afa330088fea57883018da326fc72f85460b5a6c7802ad68044381aff14f3 SHA512 df714f189ec7aa681710fbd58405b8958740102032c0130d8a0eaaae0341a9bc91a215136203c404ad79773800f620bf6f71f811b3effe559aed66efa4f34fef WHIRLPOOL 89ce2f6762c7279e24658c1154b5c2960d3db32e0ec3724b338f5d30da77cc0b33a2376e5eebe6d9c356bdd34c2aa9da1e2434aecd7e428fa4b729389e35b862
DIST lxc-2.0.4.tar.gz 775634 SHA256 57d40234aeecf5b60fb29d563e5a09d6a04c89e1267eb22a6704388ac8573e7b SHA512 3f985bba5aaa8a70f0329316ea4f42ab135d58c47611154c62e103718212a4b2c5e4f25fd45c372424db1fbf40afdc8269ae98655fb3bc8e31085a5d948f702b WHIRLPOOL b001c75d67d676e75b203d789cf2c0643ba9a47aa31965441340b66f28e18371415b9d44ce752e35102bc8677688eec6e586d800a33a2a965c8a046c091ebc06
DIST lxc-2.0.5.tar.gz 778842 SHA256 1f1c491b2ad5e74a85b8eb791ccac8128e6eaf5ddcc1323e9360997c030f7072 SHA512 8e14036597fa3407c87fb92d13b40bbca9a646d27d817e0a9d20fe626625d6cf04a1df65b1a723391d41a311b9f4f3432b3213004892d64355fe0edc7858cb9f WHIRLPOOL fa6ac86d67fe563f92411cbd09a0d66d729a0a15fe48076b42f4b3996e6b786826990bd51382c14606fd1b5240d413bc8d217fac37becd9baccd89de15d30b22
DIST lxc-2.0.6.tar.gz 788483 SHA256 8723ef5973a47e7b2c439002c28590d74689e871d36f03089965503c0c0d50b2 SHA512 f44c0498876462d78e57d19816eab666e90470badc2bbd38fed9f504e8b21c3e68e4d0f63a8676fa8716be60481befb3db44098228fd71b480972af2b5dcf1e3 WHIRLPOOL 5bb2648637a46e3547edeba2ad46eb131b2ae194f5efe52a688157cfa3f361f51a832554a94bcd47074e65cbf8d1e1119d23548bdf83ca62c131400c40aff34a

27
app-emulation/lxc/files/lxc-2.0.6-bash-completion.patch

@ -0,0 +1,27 @@
diff --git a/config/bash/lxc.in b/config/bash/lxc.in
index 7dcf302..5927fe2 100644
--- a/config/bash/lxc.in
+++ b/config/bash/lxc.in
@@ -1,4 +1,3 @@
-_have lxc-start && {
_lxc_names() {
COMPREPLY=( $( compgen -W "$( lxc-ls )" "$cur" ) )
}
@@ -100,4 +99,3 @@ _have lxc-start && {
complete -o default -F _lxc_generic_o lxc-copy
complete -o default -F _lxc_generic_o lxc-start-ephemeral
-}
diff --git a/configure.ac b/configure.ac
index 4640c0d..14ccdd3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -478,7 +478,7 @@ AM_CONDITIONAL([ENABLE_BASH], [test "x$enable_bash" = "xyes"])
AM_COND_IF([ENABLE_BASH],
[AC_MSG_CHECKING([bash completion directory])
PKG_CHECK_VAR(bashcompdir, [bash-completion], [completionsdir], ,
- bashcompdir="${sysconfdir}/bash_completion.d")
+ bashcompdir="$datadir/bash-completion/completions")
AC_MSG_RESULT([$bashcompdir])
AC_SUBST(bashcompdir)
])

200
app-emulation/lxc/lxc-2.0.6.ebuild

@ -0,0 +1,200 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="6"
MY_P="${P/_/-}"
PYTHON_COMPAT=( python{3_4,3_5} )
DISTUTILS_OPTIONAL=1
inherit autotools bash-completion-r1 distutils-r1 linux-info versionator flag-o-matic systemd
DESCRIPTION="LinuX Containers userspace utilities"
HOMEPAGE="https://linuxcontainers.org/"
SRC_URI="https://github.com/lxc/lxc/archive/${MY_P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64"
LICENSE="LGPL-3"
SLOT="0"
IUSE="cgmanager doc examples lua python seccomp"
RDEPEND="net-libs/gnutls
sys-libs/libcap
cgmanager? ( app-admin/cgmanager )
lua? ( >=dev-lang/lua-5.1:= )
python? ( ${PYTHON_DEPS} )
seccomp? ( sys-libs/libseccomp )"
DEPEND="${RDEPEND}
doc? ( app-text/docbook-sgml-utils )
>=sys-kernel/linux-headers-3.2"
RDEPEND="${RDEPEND}
sys-process/criu
sys-apps/util-linux
app-misc/pax-utils
virtual/awk"
CONFIG_CHECK="~CGROUPS ~CGROUP_DEVICE
~CPUSETS ~CGROUP_CPUACCT
~CGROUP_SCHED
~NAMESPACES
~IPC_NS ~USER_NS ~PID_NS
~NETLINK_DIAG ~PACKET_DIAG
~INET_UDP_DIAG ~INET_TCP_DIAG
~UNIX_DIAG ~CHECKPOINT_RESTORE
~CGROUP_FREEZER
~UTS_NS ~NET_NS
~VETH ~MACVLAN
~POSIX_MQUEUE
~!NETPRIO_CGROUP
~!GRKERNSEC_CHROOT_MOUNT
~!GRKERNSEC_CHROOT_DOUBLE
~!GRKERNSEC_CHROOT_PIVOT
~!GRKERNSEC_CHROOT_CHMOD
~!GRKERNSEC_CHROOT_CAPS
~!GRKERNSEC_PROC
~!GRKERNSEC_SYSFS_RESTRICT
"
ERROR_DEVPTS_MULTIPLE_INSTANCES="CONFIG_DEVPTS_MULTIPLE_INSTANCES: needed for pts inside container"
ERROR_CGROUP_FREEZER="CONFIG_CGROUP_FREEZER: needed to freeze containers"
ERROR_UTS_NS="CONFIG_UTS_NS: needed to unshare hostnames and uname info"
ERROR_NET_NS="CONFIG_NET_NS: needed for unshared network"
ERROR_VETH="CONFIG_VETH: needed for internal (host-to-container) networking"
ERROR_MACVLAN="CONFIG_MACVLAN: needed for internal (inter-container) networking"
ERROR_NETLINK_DIAG="CONFIG_NETLINK_DIAG: needed for lxc-checkpoint"
ERROR_PACKET_DIAG="CONFIG_PACKET_DIAG: needed for lxc-checkpoint"
ERROR_INET_UDP_DIAG="CONFIG_INET_UDP_DIAG: needed for lxc-checkpoint"
ERROR_INET_TCP_DIAG="CONFIG_INET_TCP_DIAG: needed for lxc-checkpoint"
ERROR_UNIX_DIAG="CONFIG_UNIX_DIAG: needed for lxc-checkpoint"
ERROR_CHECKPOINT_RESTORE="CONFIG_CHECKPOINT_RESTORE: needed for lxc-checkpoint"
ERROR_POSIX_MQUEUE="CONFIG_POSIX_MQUEUE: needed for lxc-execute command"
ERROR_NETPRIO_CGROUP="CONFIG_NETPRIO_CGROUP: as of kernel 3.3 and lxc 0.8.0_rc1 this causes LXCs to fail booting."
ERROR_GRKERNSEC_CHROOT_MOUNT="CONFIG_GRKERNSEC_CHROOT_MOUNT: some GRSEC features make LXC unusable see postinst notes"
ERROR_GRKERNSEC_CHROOT_DOUBLE="CONFIG_GRKERNSEC_CHROOT_DOUBLE: some GRSEC features make LXC unusable see postinst notes"
ERROR_GRKERNSEC_CHROOT_PIVOT="CONFIG_GRKERNSEC_CHROOT_PIVOT: some GRSEC features make LXC unusable see postinst notes"
ERROR_GRKERNSEC_CHROOT_CHMOD="CONFIG_GRKERNSEC_CHROOT_CHMOD: some GRSEC features make LXC unusable see postinst notes"
ERROR_GRKERNSEC_CHROOT_CAPS="CONFIG_GRKERNSEC_CHROOT_CAPS: some GRSEC features make LXC unusable see postinst notes"
ERROR_GRKERNSEC_PROC="CONFIG_GRKERNSEC_PROC: this GRSEC feature is incompatible with unprivileged containers"
ERROR_GRKERNSEC_SYSFS_RESTRICT="CONFIG_GRKERNSEC_SYSFS_RESTRICT: this GRSEC feature is incompatible with unprivileged containers"
DOCS=(AUTHORS CONTRIBUTING MAINTAINERS NEWS README doc/FAQ.txt)
S="${WORKDIR}/${PN}-${MY_P}"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
pkg_setup() {
kernel_is -lt 4 7 && CONFIG_CHECK="${CONFIG_CHECK} ~DEVPTS_MULTIPLE_INSTANCES"
linux-info_pkg_setup
}
src_prepare() {
eapply "${FILESDIR}"/${P}-bash-completion.patch
#558854
eapply "${FILESDIR}"/${PN}-2.0.5-omit-sysconfig.patch
eapply_user
eautoreconf
}
src_configure() {
append-flags -fno-strict-aliasing
if use python; then
#541932
python_setup "python3*"
export PKG_CONFIG_PATH="${T}/${EPYTHON}/pkgconfig:${PKG_CONFIG_PATH}"
fi
# I am not sure about the --with-rootfs-path
# /var/lib/lxc is probably more appropriate than
# /usr/lib/lxc.
econf \
--localstatedir=/var \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--with-config-path=/var/lib/lxc \
--with-rootfs-path=/var/lib/lxc/rootfs \
--with-distro=gentoo \
--with-runtime-path=/run \
--disable-apparmor \
$(use_enable cgmanager) \
$(use_enable doc) \
$(use_enable examples) \
$(use_enable lua) \
$(use_enable python) \
$(use_enable seccomp)
}
python_compile() {
distutils-r1_python_compile build_ext -I ../ -L ../${PN}
}
src_compile() {
default
if use python; then
pushd "${S}/src/python-${PN}" > /dev/null
distutils-r1_src_compile
popd > /dev/null
fi
}
src_install() {
default
# start-ephemeral is no longer a command but removing it here
# generates QA warnings (still in upstream completion script)
bashcomp_alias ${PN} \
${PN}-{start,attach,cgroup,copy,console,create,destroy,device,execute,freeze,info,monitor,snapshot,start-ephemeral,stop,unfreeze,wait}
if use python; then
pushd "${S}/src/python-lxc" > /dev/null
# Unset DOCS. This has been handled by the default target
unset DOCS
distutils-r1_src_install
popd > /dev/null
fi
keepdir /etc/lxc /var/lib/lxc/rootfs /var/log/lxc
find "${D}" -name '*.la' -delete
# Gentoo-specific additions!
newinitd "${FILESDIR}/${PN}.initd.5" ${PN}
# Remember to compare our systemd unit file with the upstream one
# config/init/systemd/lxc.service.in
systemd_newunit "${FILESDIR}"/${PN}_at.service.4 "lxc@.service"
}
pkg_postinst() {
elog ""
elog "Starting from version ${PN}-1.1.0-r3, the default lxc path has been"
elog "moved from /etc/lxc to /var/lib/lxc. If you still want to use /etc/lxc"
elog "please add the following to your /etc/lxc/default.conf"
elog "lxc.lxcpath = /etc/lxc"
elog ""
elog "There is an init script provided with the package now; no documentation"
elog "is currently available though, so please check out /etc/init.d/lxc ."
elog "You _should_ only need to symlink it to /etc/init.d/lxc.configname"
elog "to start the container defined into /etc/lxc/configname.conf ."
elog "For further information about LXC development see"
elog "http://blog.flameeyes.eu/tag/lxc" # remove once proper doc is available
elog ""
}

2
app-emulation/virt-viewer/virt-viewer-5.0.ebuild

@ -18,7 +18,7 @@ RDEPEND=">=app-emulation/libvirt-0.10.0[sasl?]
app-emulation/libvirt-glib
>=dev-libs/libxml2-2.6
x11-libs/gtk+:3
spice? ( >=net-misc/spice-gtk-0.31[sasl?,gtk3] )
spice? ( >=net-misc/spice-gtk-0.33[sasl?,gtk3] )
vnc? ( >=net-libs/gtk-vnc-0.5.0[sasl?,gtk3] )"
DEPEND="${RDEPEND}
dev-lang/perl

164
app-emulation/xen-pvgrub/xen-pvgrub-4.7.1-r1.ebuild

@ -0,0 +1,164 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE='xml,threads'
inherit flag-o-matic eutils multilib python-single-r1 toolchain-funcs
XEN_EXTFILES_URL="http://xenbits.xensource.com/xen-extfiles"
LIBPCI_URL=ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci
GRUB_URL=mirror://gnu-alpha/grub
UPSTREAM_VER=
[[ -n ${UPSTREAM_VER} ]] && \
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
SRC_URI="
http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
$GRUB_URL/grub-0.97.tar.gz
$XEN_EXTFILES_URL/zlib-1.2.3.tar.gz
$LIBPCI_URL/pciutils-2.2.9.tar.bz2
$XEN_EXTFILES_URL/lwip-1.3.0.tar.gz
$XEN_EXTFILES_URL/newlib/newlib-1.16.0.tar.gz
$XEN_EXTFILES_URL/polarssl-1.1.4-gpl.tgz
${UPSTREAM_PATCHSET_URI}"
S="${WORKDIR}/xen-${PV}"
DESCRIPTION="allows to boot Xen domU kernels from a menu.lst laying inside guest filesystem"
HOMEPAGE="http://xen.org/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="custom-cflags"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="sys-devel/gettext
sys-devel/bin86
sys-apps/texinfo
x11-libs/pixman"
RDEPEND=">=app-emulation/xen-tools-${PV}"
pkg_setup() {
python-single-r1_pkg_setup
}
retar-externals() {
# Purely to unclutter src_prepare
local set="grub-0.97.tar.gz lwip-1.3.0.tar.gz newlib-1.16.0.tar.gz polarssl-1.1.4-gpl.tgz zlib-1.2.3.tar.gz"
# epatch can't patch in $WORKDIR, requires a sed; Bug #455194. Patchable, but sed informative
sed -e s':AR=${AR-"ar rc"}:AR=${AR-"ar"}:' \
-i "${WORKDIR}"/zlib-1.2.3/configure
sed -e 's:^AR=ar rc:AR=ar:' \
-e s':$(AR) $@:$(AR) rc $@:' \
-i "${WORKDIR}"/zlib-1.2.3/{Makefile,Makefile.in}
einfo "zlib Makefile edited"
cd "${WORKDIR}"
tar czp zlib-1.2.3 -f zlib-1.2.3.tar.gz
tar czp grub-0.97 -f grub-0.97.tar.gz
tar czp lwip -f lwip-1.3.0.tar.gz
tar czp newlib-1.16.0 -f newlib-1.16.0.tar.gz
tar czp polarssl-1.1.4 -f polarssl-1.1.4-gpl.tgz
mv $set "${S}"/stubdom/
einfo "tarballs moved to source"
}
src_prepare() {
# Upstream's patchset
if [[ -n ${UPSTREAM_VER} ]]; then
einfo "Try to apply Xen Upstream patch set"
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
EPATCH_OPTS="-p1" \
epatch "${WORKDIR}"/patches-upstream
fi
# if the user *really* wants to use their own custom-cflags, let them
if use custom-cflags; then
einfo "User wants their own CFLAGS - removing defaults"
# try and remove all the default custom-cflags
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
-i {} \;
fi
# Patch the unmergeable newlib, fix most of the leftover gcc QA issues
cp "${FILESDIR}"/newlib-implicits.patch stubdom || die
# Patch stubdom/Makefile to patch insource newlib & prevent internal downloading
epatch "${FILESDIR}"/${PN/-pvgrub/}-4.3-externals.patch
# fix jobserver in Makefile
epatch "${FILESDIR}"/${PN}-4.2-jserver.patch
# bug 595354
epatch "${FILESDIR}"/${PN}-4.7.0-fix-boot-p2m.patch
#Substitute for internal downloading. pciutils copied only due to the only .bz2
cp "${DISTDIR}"/pciutils-2.2.9.tar.bz2 ./stubdom/ || die "pciutils not copied to stubdom"
retar-externals || die "re-tar procedure failed"
epatch_user
}
src_configure() {
local myconf="--prefix=${PREFIX}/usr \
--libdir=${PREFIX}/usr/$(get_libdir) \
--libexecdir=${PREFIX}/usr/libexec \
--disable-werror \
--disable-xen"
econf ${myconf}
}
src_compile() {
use custom-cflags || unset CFLAGS
if test-flag-CC -fno-strict-overflow; then
append-flags -fno-strict-overflow
fi
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" -C tools/include
if use x86; then
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" \
XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub
elif use amd64; then
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" \
XEN_TARGET_ARCH="x86_64" -C stubdom pv-grub
if has_multilib_profile; then
multilib_toolchain_setup x86
emake CC="$(tc-getCC)" AR="$(tc-getAR)" \
XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub
fi
fi
}
src_install() {
if use x86; then
emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub
fi
if use amd64; then
emake XEN_TARGET_ARCH="x86_64" DESTDIR="${D}" -C stubdom install-grub
if has_multilib_profile; then
emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub
fi
fi
}
pkg_postinst() {
elog "Official Xen Guide and the offical wiki page:"
elog "https://wiki.gentoo.org/wiki/Xen"
elog "http://wiki.xen.org/wiki/Main_Page"
}

4
app-misc/ca-certificates/Manifest

@ -1,6 +1,8 @@
DIST ca-certificates_20151214.tar.xz 293672 SHA256 59286e6403f482a24c672e09b810c7d089a73153d4772ff4a66e86053a920525 SHA512 acee5565aa7d1f0cc120a6abb6503e0ac4b4e12f5fd1cb12442ec1374ae1570ec6dc3a8f3a247fad6835a29d96e856f12c664f466e92344db3aa1ae6292a27ac WHIRLPOOL c03d214fb15a791c14f235c58296fb06f1408c98bb78049f58b3ebf7bc1c1cea4662f90a031d86de2548267feacf6a9e3fef957aa44a19e29e9a6ba803aaa3fa
DIST ca-certificates_20160104.tar.xz 293632 SHA256 09eb770122e23260316120c0cbbddc8a1d33e7147210ce44e146084d5d5abcdd SHA512 4291ba58057b66d56853162b71862832135eab6f444a5e2cf3dd1089495d44624246dc0c540871851fe9aaceb42054516309402525c8f16a88911d3af9c3518a WHIRLPOOL 8a45acdf2c0673156bc546808df5160ebbfc3a85d775cefa8918c5b64ea6ba905e89017689a407a20444f3e550133c2af228f4d4a878670af50d88fc4739edeb
DIST ca-certificates_20161102.tar.xz 298544 SHA256 25384a67e2f1e76495ceeb00abfdbe831033780324128cb1587d09132dd173a5 SHA512 8630cbc15d311b71936901bfa4c1a61d78d4468a7d8d0c492d72afc579679402b99e563cc6f88b0377eb7ebee8dcbad1b090fb0831d610a5b8e5bbdb3d8ce284 WHIRLPOOL 8b92ba4228880bcc7b296e9b1333f695194c31e724a02bafaec97bac838f6c36b20fa052935d256930977e2944ed7450c1e1ab2c95b40c8391dffd766938cea7
DIST nss-3.14.1-add_spi+cacerts_ca_certs.patch 25018 SHA256 82ca25982828fd7153ad15fc6e81408c115476eeeb4045d3a71469380b56824b SHA512 2aafbd972b073061bfd66a66a4b50060691957f2910f716f7a69d22d655c499f186f05db2101bea5248a00949f339327ba8bfffec024c61c8ee908766201ae00 WHIRLPOOL c9fe397e316dac7983b187acf7227078ebd8f8da5df53f77f2564489e85f123c4d2afb88d56e8dc14b9ebfffe8a71ade4724b3c1ea683c5c4c487cb3a64eda43
DIST nss-3.21.tar.gz 6978112 SHA256 3f7a5b027d7cdd5c0e4ff7544da33fdc6f56c2f8c27fff02938fd4a6fbe87239 SHA512 0645465b5d1ab05d819355a3f4a2879499539a00d95bfab3ca14a7dcd901e510b5d9ae797386ff5a42f68b0b57f7bbec4ec9d3a85ebd508eb824aba1fb589d53 WHIRLPOOL 7504d83de606d61840e06cb855ea688eb022d5eef062bcb7ac4d1064db96b96e35ae4ce0aff9d389a2140a7c3b974aaa9a86ada52af1199d462fdb48b11b42e4
DIST nss-3.23.tar.gz 7467001 SHA256 94b383e31c9671e9dfcca81084a8a813817e8f05a57f54533509b318d26e11cf SHA512 f3e388a415493685faa6df932e9e968af41ea2e8e4cba3fbd539c60177443e4042e8d2e2bfe74183552e14522d49048be2f80fbe038bdbd499971e82abf2cc32 WHIRLPOOL 77e22bd7a525c5b10723e1d5fb6db1e9d2efebfcdf9828aa79296f71c441c065201ecda56291f37790333d9b1d1e38fef1391a033382a885b83da31a646d6243
DIST nss-3.27.1.tar.gz 7397737 SHA256 fd3637a1930cd838239a89633a7ed9a18859ae9b599043f3a18f726dc4ec2a6b SHA512 b52bc18e42cab78a325a8c4fcf2894ca879cecbb657a852baf460551ed9727f145bc328ebb61a43a1605b457f923a1495707ac4aee27be70220463818ed8db8d WHIRLPOOL 17174b7d43bd82b9e805d653a7ea8b79bc2647a5891806c1cb77e2ac99e40eb64ffee03e105a41c375ba37e26cafeff4bd4bad27c48e94ed388d0215d0545364
DIST nss-3.27.2.tar.gz 7397599 SHA256 dc8ac8524469d0230274fd13a53fdcd74efe4aa67205dde1a4a92be87dc28524 SHA512 699847665e93fd649cb60ce6bc8f849f452779e7232a09bbeb0613f9e6c57bb81948f1ae59cc86648e41a212cda259109850ccd14546d35910deb75f5d2a13b8 WHIRLPOOL 08229d87de1c7020c1d7fc12fb8a2afc4bc9ab9f0208aad12698aba17386fbe9163cb506101c7d4d568409fd99141fb88c0e71fc32cecbc6640a4a8f7a4efabf
DIST nss-cacert-class1-class3.patch 22950 SHA256 6bba29cee34276e2ca6436dabedfeba2b61fb46668c5d5ceabf0c871574649bf SHA512 a5aa740bf110a3f0262e3f1ef2fc739ac2b44f042e220039d48aee8e97cd764d5c10718220364f4098aba955882bd02cadb5481512388971a8290312f88a7df0 WHIRLPOOL 1246223b01292604e5609bb9c580f092dc5937bf8c98f6891b099e8bab960e03612b6617e30a55d6ff8817d88f190e03812fe8f89f84f25c20970493dc2f7700

176
app-misc/ca-certificates/ca-certificates-20160104.3.23.ebuild

@ -1,176 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
# The Debian ca-certificates package merely takes the CA database as it exists
# in the nss package and repackages it for use by openssl.
#
# The issue with using the compiled debs directly is two fold:
# - they do not update frequently enough for us to rely on them
# - they pull the CA database from nss tip of tree rather than the release
#
# So we take the Debian source tools and combine them with the latest nss
# release to produce (largely) the same end result. The difference is that
# now we know our cert database is kept in sync with nss and, if need be,
# can be sync with nss tip of tree more frequently to respond to bugs.
# When triaging bugs from users, here's some handy tips:
# - To see what cert is hitting errors, use openssl:
# openssl s_client -port 443 -CApath /etc/ssl/certs/ -host $HOSTNAME
# Focus on the errors written to stderr.
#
# - Look at the upstream log as to why certs were added/removed:
# https://hg.mozilla.org/projects/nss/log/tip/lib/ckfw/builtins/certdata.txt
#
# - If people want to add/remove certs, tell them to file w/mozilla:
# https://bugzilla.mozilla.org/enter_bug.cgi?product=NSS&component=CA%20Certificates&version=trunk
EAPI="5"
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
inherit eutils python-any-r1
if [[ ${PV} == *.* ]] ; then
# Compile from source ourselves.
PRECOMPILED=false
inherit versionator
DEB_VER=$(get_version_component_range 1)
NSS_VER=$(get_version_component_range 2-)
RTM_NAME="NSS_${NSS_VER//./_}_RTM"
else
# Debian precompiled version.
PRECOMPILED=true
inherit unpacker
fi
DESCRIPTION="Common CA Certificates PEM files"
HOMEPAGE="http://packages.debian.org/sid/ca-certificates"
NMU_PR=""
if ${PRECOMPILED} ; then
SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb"
else
SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${DEB_VER}${NMU_PR:++nmu}${NMU_PR}.tar.xz
https://archive.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/nss-${NSS_VER}.tar.gz
cacert? ( https://dev.gentoo.org/~anarchy/patches/nss-3.14.1-add_spi+cacerts_ca_certs.patch )"
fi
LICENSE="MPL-1.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
IUSE=""
${PRECOMPILED} || IUSE+=" +cacert"
DEPEND=""
if ${PRECOMPILED} ; then
DEPEND+=" !<sys-apps/portage-2.1.10.41"
fi
# c_rehash: we run `c_rehash`
# debianutils: we run `run-parts`
RDEPEND="${DEPEND}
app-misc/c_rehash
sys-apps/debianutils"
if ! ${PRECOMPILED}; then
DEPEND+=" ${PYTHON_DEPS}"
fi
S=${WORKDIR}
pkg_setup() {
# For the conversion to having it in CONFIG_PROTECT_MASK,
# we need to tell users about it once manually first.
[[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \
|| ewarn "You should run update-ca-certificates manually after etc-update"
}
src_unpack() {
${PRECOMPILED} || default
# Do all the work in the image subdir to avoid conflicting with source
# dirs in $WORKDIR. Need to perform everything in the offset #381937
mkdir -p "image/${EPREFIX}"
cd "image/${EPREFIX}" || die
${PRECOMPILED} && unpacker_src_unpack
}
src_prepare() {
cd "image/${EPREFIX}" || die
if ! ${PRECOMPILED} ; then
mkdir -p usr/sbin
cp -p "${S}"/${PN}/sbin/update-ca-certificates usr/sbin/ || die
if use cacert ; then
pushd "${S}"/nss-${NSS_VER} >/dev/null
epatch "${DISTDIR}"/nss-3.14.1-add_spi+cacerts_ca_certs.patch
popd >/dev/null
fi
fi
epatch "${FILESDIR}"/${PN}-20150426-root.patch
local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g')
sed -i \
-e '/="$ROOT/s:ROOT:ROOT'"${EPREFIX}"':' \
-e '/RELPATH="\.\./s:"$:'"${relp}"'":' \
usr/sbin/update-ca-certificates || die
}
src_compile() {
cd "image/${EPREFIX}" || die
if ! ${PRECOMPILED} ; then
python_setup
local d="${S}/${PN}/mozilla"
# Grab the database from the nss sources.
cp "${S}"/nss-${NSS_VER}/nss/lib/ckfw/builtins/{certdata.txt,nssckbi.h} "${d}" || die
emake -C "${d}"
# Now move the files to the same places that the precompiled would.
mkdir -p etc/ssl/certs etc/ca-certificates/update.d usr/share/ca-certificates/mozilla
if use cacert ; then
mkdir -p usr/share/ca-certificates/{cacert.org,spi-inc.org}
mv "${d}"/CAcert_Inc..crt usr/share/ca-certificates/cacert.org/cacert.org_root.crt || die
mv "${d}"/SPI_Inc..crt usr/share/ca-certificates/spi-inc.org/spi-cacert-2008.crt || die
fi
mv "${d}"/*.crt usr/share/ca-certificates/mozilla/ || die
else
mv usr/share/doc/{ca-certificates,${PF}} || die
fi
(
echo "# Automatically generated by ${CATEGORY}/${PF}"
echo "# $(date -u)"
echo "# Do not edit."
cd usr/share/ca-certificates
find * -name '*.crt' | LC_ALL=C sort
) > etc/ca-certificates.conf
sh usr/sbin/update-ca-certificates --root "${S}/image" || die
}
src_install() {
cp -pPR image/* "${D}"/ || die
if ! ${PRECOMPILED} ; then
cd ca-certificates
doman sbin/*.8
dodoc debian/README.* examples/ca-certificates-local/README
fi
echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates
doenvd 98ca-certificates
}
pkg_postinst() {
if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then
# if the user has local certs, we need to rebuild again
# to include their stuff in the db.
# However it's too overzealous when the user has custom certs in place.
# --fresh is to clean up dangling symlinks
"${EROOT}"/usr/sbin/update-ca-certificates --root "${ROOT}"
fi
if [ -n "$(find -L "${EROOT}"etc/ssl/certs/ -type l)" ] ; then
ewarn "Removing the following broken symlinks:"
ewarn "$(find -L "${EROOT}"/etc/ssl/certs/ -type l -printf '%p -> %l\n' -delete)"
fi
}

26
app-misc/ca-certificates/ca-certificates-20160104.3.27.1.ebuild → app-misc/ca-certificates/ca-certificates-20161102.3.27.2-r1.ebuild

@ -52,13 +52,16 @@ if ${PRECOMPILED} ; then
else
SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${DEB_VER}${NMU_PR:++nmu}${NMU_PR}.tar.xz
https://archive.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/nss-${NSS_VER}.tar.gz
cacert? ( https://dev.gentoo.org/~anarchy/patches/nss-3.14.1-add_spi+cacerts_ca_certs.patch )"
cacert? (
https://dev.gentoo.org/~anarchy/patches/nss-3.14.1-add_spi+cacerts_ca_certs.patch
https://dev.gentoo.org/~axs/distfiles/nss-cacert-class1-class3.patch
)"
fi
LICENSE="MPL-1.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
IUSE=""
IUSE="insecure_certs"
${PRECOMPILED} || IUSE+=" cacert"
DEPEND=""
@ -104,6 +107,7 @@ src_prepare() {
if use cacert ; then
pushd "${S}"/nss-${NSS_VER} >/dev/null
epatch "${DISTDIR}"/nss-3.14.1-add_spi+cacerts_ca_certs.patch
epatch "${DISTDIR}"/nss-cacert-class1-class3.patch
popd >/dev/null
fi
fi
@ -120,27 +124,33 @@ src_compile() {
cd "image/${EPREFIX}" || die
if ! ${PRECOMPILED} ; then
python_setup
local d="${S}/${PN}/mozilla"
local d="${S}/${PN}/mozilla" c="usr/share/${PN}"
# Grab the database from the nss sources.
cp "${S}"/nss-${NSS_VER}/nss/lib/ckfw/builtins/{certdata.txt,nssckbi.h} "${d}" || die
emake -C "${d}"
# Now move the files to the same places that the precompiled would.
mkdir -p etc/ssl/certs etc/ca-certificates/update.d usr/share/ca-certificates/mozilla
mkdir -p etc/ssl/certs etc/ca-certificates/update.d "${c}"/mozilla
if use cacert ; then
mkdir -p usr/share/ca-certificates/cacert.org
mv "${d}"/CAcert_Inc..crt usr/share/ca-certificates/cacert.org/cacert.org_root.crt || die
mkdir -p "${c}"/cacert.org
mv "${d}"/CAcert_Inc..crt "${c}"/cacert.org/cacert.org_root.crt || die
fi
mv "${d}"/*.crt usr/share/ca-certificates/mozilla/ || die
mv "${d}"/*.crt "${c}"/mozilla/ || die
else
mv usr/share/doc/{ca-certificates,${PF}} || die
fi
if ! use insecure_certs ; then
# Remove untrusted certs from StartCom and WoSign (bug #598072)
rm "${c}"/mozilla/StartCom* || die
rm "${c}"/mozilla/WoSign* || die
fi
(
echo "# Automatically generated by ${CATEGORY}/${PF}"
echo "# $(date -u)"
echo "# Do not edit."
cd usr/share/ca-certificates
cd "${c}"
find * -name '*.crt' | LC_ALL=C sort
) > etc/ca-certificates.conf

11
app-misc/neofetch/neofetch-1.9.1.ebuild

@ -4,6 +4,8 @@
EAPI=6
inherit prefix
DESCRIPTION="Simple information system script"
HOMEPAGE="https://github.com/dylanaraps/neofetch"
SRC_URI="https://github.com/dylanaraps/${PN}/archive/${PV}/${P}.tar.gz"
@ -24,3 +26,12 @@ RDEPEND="${DEPEND}
media-libs/imlib2
media-gfx/imagemagick
)"
src_prepare() {
hprefixify ${PN}
default
}
src_install() {
emake DESTDIR="${ED}" install
}

4
app-mobilephone/obexftp/obexftp-0.24-r1.ebuild

@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/openobex/${P}-Source.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 hppa ~ppc ~x86"
KEYWORDS="amd64 hppa ~ppc ~x86"
# bluetooth support is not really optional, bug #529068
IUSE="perl python ruby tcl" #bluetooth
@ -23,7 +23,7 @@ RDEPEND="
net-wireless/bluez
perl? ( dev-lang/perl:= )
python? ( ${PYTHON_DEPS} )
ruby? ( || ( dev-lang/ruby:2.0 dev-lang/ruby:1.9 ) )
ruby? ( || ( dev-lang/ruby:2.1 dev-lang/ruby:2.0 ) )
tcl? ( dev-lang/tcl:0= )
"
DEPEND="

58
app-mobilephone/obexftp/obexftp-0.24.ebuild

@ -1,58 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python{2_7,3_4} )
inherit cmake-utils python-single-r1 python-utils-r1 eutils multilib
DESCRIPTION="File transfer over OBEX for mobile phones"
HOMEPAGE="http://dev.zuckschwerdt.org/openobex/wiki/ObexFtp"
SRC_URI="mirror://sourceforge/openobex/${P}-Source.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
IUSE="bluetooth perl python ruby tcl"
RDEPEND="
>=dev-libs/openobex-1.7
bluetooth? ( net-wireless/bluez )
perl? ( dev-lang/perl:= )
python? ( ${PYTHON_DEPS} )
ruby? ( || ( dev-lang/ruby:2.0 dev-lang/ruby:1.9 ) )
tcl? ( dev-lang/tcl:0= )
"
DEPEND="
${RDEPEND}
perl? ( dev-lang/swig )
python? ( dev-lang/swig )
ruby? ( dev-lang/swig )
tcl? ( dev-lang/swig )
virtual/pkgconfig
"
S=${WORKDIR}/${P}-Source
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
PATCHES=(
"${FILESDIR}"/${PN}-0.23-gentoo.patch
"${FILESDIR}"/${PN}-0.24-config.patch
"${FILESDIR}"/${PN}-0.24-enable_bluetooth.patch
"${FILESDIR}"/${PN}-0.24-python_sitedir.patch
)
src_configure() {
local mycmakeargs=(
-DENABLE_PERL=$(usex perl)
-DENABLE_BLUETOOTH=$(usex bluetooth)
-DENABLE_PYTHON=$(usex python)
$(usex python -DPYTHON_SITE_DIR=$(python_get_sitedir) '')
-DENABLE_RUBY=$(usex ruby)
-DENABLE_TCL=$(usex tcl)
)
cmake-utils_src_configure
}

4
app-office/geierlein/Manifest

@ -1,4 +1,2 @@
DIST geierlein-0.8.0.tar.gz 1123882 SHA256 1eeb1d0e055a92a4c5e2a102280e7488c292981a0575865e2df2c364d9aa294b SHA512 6df69690c94a94f69cb7d22dc62dca6cbc48dbd7701cf1751b179afadd7bf642fe6b8dcb1da77caf094c4b351049ee2d6aa40eb6cb019b66c132af4b1416c3e8 WHIRLPOOL 170633fefdb87f94ef8aa5525aa211b6784012f623ae69dee6dc94a4d6b456d2cd8ad563727497abadbb76401c2cb940274e5682aa4c7672f4806d27752ef4cf
DIST geierlein-0.9.1.tar.gz 1123700 SHA256 5b221134bf80b3102e82fd68d57c33531f594ca2ef9b88ffbeafe849921171b0 SHA512 4db9aa6d201727d30efe03f12d83de1d2f0218a4955eb206bd1490c00a51cd4f3dc3dc0598c1f95ab0cd4975d8cb24177472cc468e1a5b68577fb71caf319cfc WHIRLPOOL ecc95b5d931930f5c33292f1094ecc6cfc5f4d06ed3aa0b47cf53ed2e15ddc03821e1aa6c7ad250013872c40da77c198422aec64729c8d9c4287e1b775a64f29
DIST geierlein-0.9.4.tar.gz 1124800 SHA256 2c15de8dba1b436157ba9effd094f489b12876f4d3a2d3599e7906bbea66ae9e SHA512 502341596addd498c3042d0ba6a885d7c4765871d2e08cef3b41961866c212caa91891c822a8b002fd4052ab9c8f9eeb9a875f158766088a305d233ccd6fcfa4 WHIRLPOOL bfee2eca8d3cb94283db51d567aa1f52b4a74a10c0fe639e238a62579d645279f6d44ec7b80cd5701e2862a0a6639c44d24d4ddc21dd3a607fdd2519612a89a2
DIST geierlein-0.9.5.tar.gz 1124736 SHA256 7cc61913d6a282b5dc9803eb618d9fdd9c0d9d6e844a2096ec16f1b21176212c SHA512 e7df23350b61c903f8e52e4ef11b41458c587188b5e45a895b1798de23f0821c75721d1fd9efc09d6ecc9c0b2f722ddc487be6695d376fe331fc39f6a19e19b6 WHIRLPOOL 04944a7f85875664ccda6553b3ffe103e8dc237eee8a7b20b0f23e7f39384b8ac87999112c1ea1f19b10f2d5f0325ca74adec54e789895f40b2be47006763154
DIST geierlein-0.9.6.tar.gz 1124754 SHA256 b3020caa738921dca905bc53f846d3c486a102ca305031f71f82ec59cd837cf6 SHA512 34143200d055719331b29c8741a703e78a0aa036662c8cc5b2c6f24c064c1d27c00eef34278bfeb5d044121e7e0a2bd873db5013fa0c24e1474411600fe289f1 WHIRLPOOL 4ef1e2424a4afeffb723947bfd6627e05d6eb763dd293739b7d3ed0abe14cbdf7bd83992c313500af81e628bb6266c65262b4ac12d4d3d5cfc18044c8264d381

30
app-office/geierlein/geierlein-0.8.0.ebuild

@ -1,30 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
DESCRIPTION="Submit tax forms (Umsatzsteuervoranmeldung) to the german digital tax project ELSTER"
HOMEPAGE="https://stesie.github.com/geierlein/"
SRC_URI="https://github.com/stesie/geierlein/archive/V${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="|| ( www-client/firefox www-client/firefox-bin )"
DEPEND=""
# needs nodejs and a couple of modules we don't have packaged
RESTRICT="test"
src_compile() {
emake prefix=/usr
}
src_install() {
emake \
DESTDIR="${D}" \
prefix=/usr \
install || die
dodoc README.md
}

30
app-office/geierlein/geierlein-0.9.4.ebuild

@ -1,30 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
DESCRIPTION="Submit tax forms (Umsatzsteuervoranmeldung) to German ELSTER"
HOMEPAGE="https://stesie.github.com/geierlein/"
SRC_URI="https://github.com/stesie/geierlein/archive/V${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="|| ( www-client/firefox www-client/firefox-bin )"
DEPEND=""
# needs nodejs and a couple of modules we don't have packaged
RESTRICT="test"
src_compile() {
emake prefix=/usr
}
src_install() {
emake \
DESTDIR="${D}" \
prefix=/usr \
install || die
dodoc README.md
}

2
app-office/geierlein/geierlein-0.9.1.ebuild → app-office/geierlein/geierlein-0.9.6.ebuild

@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
EAPI=6
DESCRIPTION="Submit tax forms (Umsatzsteuervoranmeldung) to German ELSTER"
HOMEPAGE="https://stesie.github.com/geierlein/"

2
app-portage/distpatch/distpatch-0.1.2.ebuild

@ -9,7 +9,7 @@ PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
DESCRIPTION="Distfile Patching Support for Gentoo Linux (tools)"
HOMEPAGE="https://www.gentoo.org/proj/en/infrastructure/distpatch/"
HOMEPAGE="https://github.com/rafaelmartins/distpatch"
SRC_URI="https://github.com/rafaelmartins/${PN}/releases/download/v${PV}/${P}.tar.gz"
LICENSE="GPL-2"

2
app-text/a2ps/a2ps-4.14-r5.ebuild

@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
KEYWORDS="alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="emacs latex linguas_ja nls static-libs userland_BSD userland_GNU vanilla"
RESTRICT=test

1
app-text/docbook-xsl-stylesheets/Manifest

@ -1,3 +1,2 @@
DIST docbook-xsl-1.78.0.tar.bz2 5011106 SHA256 e43220bfe35cad7eb289291264da472819c4b781173a9a58f72d6e404a1f5923 SHA512 9611e354a8c8e86fa203a0b58356a6229e82f98197a94f9a668c10e10ef3ebb87f468fa03a04292068d1cca5ad31043d78e19981933ee3820910d70ca9e044e2 WHIRLPOOL a2ffba19a2da8c6fc1be9fbdc8ef5b5fc5f13ed8524ffc07bda56b7f986268f45b5c4df2261f6a04c7e12b97aadc2e2a6718268ffe3102aa58589f2db6e6f90c
DIST docbook-xsl-1.79.0.tar.bz2 21973361 SHA256 de7ba9cfdc75cb7df4f3e57f080d3a30d97ef2ba6841cbce8bdbd9f6eb43d606 SHA512 5761b9fafe7895a76afacbbf20607fff493fd5a9e3ab4d2f67780c887c24ef12c8313065ea384964a57b6e47d92c7a5167ed16bdf3c4e93576b0af5cb99463ab WHIRLPOOL 45eea4d335d4371d089284f66681702bb0c9b2602f95c7eafe98a22d1ebf9fa621b58a5390ec5735ecece88a104d6e04a7d90e1bd330d71af8d102325ce07853
DIST docbook-xsl-1.79.1.tar.bz2 21967928 SHA256 725f452e12b296956e8bfb876ccece71eeecdd14b94f667f3ed9091761a4a968 SHA512 83325cbaf1545da6b9b8b77f5f0e6fdece26e3c455164b300a1aa3d19e3bd29ae71fd563553a714a5394968d1a65684c6c7987c77524469358d18b8c227025c7 WHIRLPOOL 3bd03072aba15cda9e7a18cb6c1edfc91cdb706811fd07d5aa69df1ffd5a48394848079cf63c67360104f0c0ec89920268b49d358c62bf5f61d6030938be0a0f

81
app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.78.0-r1.ebuild

@ -1,81 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
DOCBOOKDIR="/usr/share/sgml/${PN/-//}"
MY_PN="${PN%-stylesheets}"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="XSL Stylesheets for Docbook"
HOMEPAGE="http://wiki.docbook.org/DocBookXslStylesheets"
SRC_URI="mirror://sourceforge/docbook/${MY_P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="ruby"
RDEPEND=">=app-text/build-docbook-catalog-1.1
ruby? ( || ( dev-lang/ruby:1.9 dev-lang/ruby:2.0 ) )"
DEPEND=""
S="${WORKDIR}/${MY_P}"
# Makefile is broken since 1.76.0
RESTRICT=test
# The makefile runs tests, not builds.
src_compile() { :; }
src_test() {
emake check
}
src_install() {
# The changelog is now zipped, and copied as the RELEASE-NOTES, so we
# don't need to install it
dodoc AUTHORS BUGS NEWS README RELEASE-NOTES.txt TODO
insinto ${DOCBOOKDIR}
doins VERSION VERSION.xsl
local i
for i in $(find . -maxdepth 1 -mindepth 1 -type d -exec basename {} \;); do
[[ "$i" == "epub" ]] && ! use ruby && continue
cd "${S}"/${i}
for doc in ChangeLog README; do
if [ -e "$doc" ]; then
mv ${doc} ${doc}.${i}
dodoc ${doc}.${i}
rm ${doc}.${i}
fi
done
doins -r "${S}"/${i}
done
if use ruby; then
local cmd="dbtoepub${MY_PN#docbook-xsl}"
# we can't use a symlink or it'll look for the library in the
# wrong path.
dodir /usr/bin
cat - > "${D}"/usr/bin/${cmd} <<EOF
#!/usr/bin/env ruby
load "${DOCBOOKDIR}/epub/bin/dbtoepub"
EOF