Sync with portage [Thu Feb 2 08:30:27 MSK 2017].

mhiretskiy 756
root 7 years ago
parent 7e337ade75
commit 2067acb8fa

@ -1,2 +1,3 @@
DIST mcollective-2.10.0.tar.gz 1509016 SHA256 0a93c7c1c0f10d3e73ab3f255a542e170f7f9eed13ad56cc5cef883bac2e27b0 SHA512 021d52d299adba05c1960a242d7815b5fc3f763163c227d7b11b1bc48db40c147b7ab281a29f60c54f8049acfd8a3489ff837e8cf4a590e1450b2c53435124b1 WHIRLPOOL 67a39f6c82e81da1a90e8a2b02aa4101bcf821f833669715a701c075505501bc4706c68d1ed000d5a6c99c0258b16a2711a470f7145cc452c0780ca588c8ca7b
DIST mcollective-2.8.8.tar.gz 1500476 SHA256 503b26cb0beeb505bf9cd2abbb8724c67bc743ffff4fbaddc321e2a4d663b133 SHA512 fad2a277bdcb06adb56e87f545c4b85a4b8039263e7230c7b386c561a04d6f3bf80923733e1087c8090b43da734d6b7efe02e52a757191c3cb3ecab50cc97bb6 WHIRLPOOL 3e7a52b1ce3b705ed6f705067a4ab900a2faa226d19a36f106e2c2c1e4c4fc3e631630c04012ca456f0230f8fcb47dd5bd97f1d2e849af6edde67fac129301d4
DIST mcollective-2.9.1.tar.gz 1504607 SHA256 89bc9fbd72846b22220074a57d19bbfac56473649078fc3ac8182cc728159249 SHA512 29fedacb61084e1952afd3b9deb302abde3e763d13630d85dc70f78b0853f5b353fb44ccbd00e48e5864d04bf2c7568d7cbe21b06af31e1da72e52aeef3c04cf WHIRLPOOL 8affee96fa344d12b34b5a4e120029ab315133df6fd6cd456d840ab608ceb2027b9411a6a1a74bc5b9d0b029968255a926de888b7a2a1183d1c7aed195f65f7a

@ -0,0 +1,61 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
USE_RUBY="ruby21 ruby22 ruby23"
inherit ruby-ng
DESCRIPTION="Framework to build server orchestration or parallel job execution
systems"
HOMEPAGE="http://marionette-collective.org/"
SRC_URI="https://github.com/puppetlabs/marionette-collective/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/all/marionette-collective-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc +client"
DEPEND=""
RDEPEND="dev-ruby/stomp"
src_compile() {
einfo "nothing to compile"
}
each_ruby_install() {
cd "marionette-collective-${PV}"
doruby -r lib/*
insinto /usr/share/mcollective
use client && dosbin bin/mco
dosbin bin/mcollectived
if use doc ; then
dohtml -r doc/*
insinto /usr/share/doc/${P}/ext
doins -r ext/*
fi
newinitd "${FILESDIR}"/mcollectived.initd mcollectived
insinto /etc/mcollective
cd etc
for cfg in *.dist ; do
newins "${cfg}" "${cfg%%.dist}"
sed -i -e "s:^libdir.*:libdir = /usr/share/mcollective/plugins:" \
"${D}"/etc/mcollective/${cfg%%.dist} || die "sed failed"
done
insinto /etc/mcollective/plugin.d
}
pkg_postinst() {
einfo "Mcollective requires a stomp server installed and functioning before"
einfo "you can use it. The recommended server to use is ActiveMQ [1] but"
einfo "any other stomp compatible server should work."
einfo
einfo "It is recommended you read the \'getting started\' guide [2] if this"
einfo "is a new installation"
einfo
einfo "[1] http://activemq.apache.org/"
einfo "[2] https://code.google.com/p/mcollective/wiki/GettingStarted"
}

@ -1,2 +1 @@
DIST BackupPC-3.3.0.tar.gz 554155 SHA256 8a9c1b6faa4502b4c40617be97e806813815d9e22544854d99983c3da7c1f69b SHA512 67ec1ca4d22ab1e81f9c0f409c758347a6c772e3d1aa39c93207f9d328176ac7b4e679d0b03972fc5870c37dde0480d28c61ae19975d54e144235ea0e84e9901 WHIRLPOOL 23a9ce5dd600843cea72354e1afe595e3779f883839f8d3feca7f1355ed20048026090097ddfbcf394632672b42bef4884bc6661203542d6fe2c6bc2e8ad7b96
DIST BackupPC-3.3.1.tar.gz 556461 SHA256 c9cc4aec28a7474a68d40f4bc460ff15140e05c96900c7f98ff3ef06c4f6ae4c SHA512 b6bb9de3103c5062098d80755055b7461ae9133a4a46a66b3d0af89d081086571694db1898e7d85880defa15b030bad522812116ae5361c0fbde90b877d139c6 WHIRLPOOL 1d895f530932fc1287cde9db584befc6ca0850b5841cc4e60927442d0db662ec092bda4efa4953650d3bfa13deb6e9fafa25c10f82e19b39c67969bb4e143bac

@ -1,223 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit eutils systemd webapp user
MY_P="BackupPC-${PV}"
DESCRIPTION="A high-performance system for backing up computers to a server's disk"
HOMEPAGE="http://backuppc.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="amd64 ~arm x86"
IUSE="rss samba"
DEPEND="dev-lang/perl
app-admin/apache-tools
app-admin/makepasswd"
RDEPEND="${DEPEND}
virtual/perl-IO-Compress
dev-perl/Archive-Zip
dev-perl/libwww-perl
>=app-arch/tar-1.13.20
app-arch/par2cmdline
app-arch/gzip
app-arch/bzip2
virtual/mta
www-apache/mod_perl
www-servers/apache
net-misc/rsync
>=dev-perl/File-RsyncP-0.68
rss? ( dev-perl/XML-RSS )
samba? ( net-fs/samba )"
WEBAPP_MANUAL_SLOT="yes"
SLOT="0"
S=${WORKDIR}/${MY_P}
CONFDIR="/etc/BackupPC"
DATADIR="/var/lib/backuppc"
LOGDIR="/var/log/BackupPC"
pkg_setup() {
webapp_pkg_setup
enewgroup backuppc
enewuser backuppc -1 /bin/bash /var/lib/backuppc backuppc
}
src_prepare() {
epatch "${FILESDIR}/3.3.0/01-fix-configure.pl.patch"
epatch "${FILESDIR}/3.3.0/02-fix-config.pl-formatting.patch"
epatch "${FILESDIR}/3.3.0/03-reasonable-config.pl-defaults.patch"
# Fix the documentation location in the CGI interface
epatch "${FILESDIR}/3.2.0/04-add-docdir-marker.patch"
sed -i "s+__DOCDIR__+/usr/share/doc/${PF}+" "lib/BackupPC/CGI/View.pm"
epatch "${FILESDIR}/3.2.0/05-nicelevel.patch"
sed -i -e 's/--chuid ${USER}//' "${S}"/init.d/src/gentoo-backuppc || die "Failed to fix the init script"
}
src_test() {
true
}
src_install() {
webapp_src_preinst
local myconf
myconf=""
if use samba ; then
myconf="--bin-path smbclient=$(type -p smbclient)"
myconf="${myconf} --bin-path nmblookup=$(type -p nmblookup)"
fi
/usr/bin/env perl ./configure.pl \
--batch \
--bin-path perl=$(type -p perl) \
--bin-path tar=$(type -p tar) \
--bin-path rsync=$(type -p rsync) \
--bin-path ping=$(type -p ping) \
--bin-path df=$(type -p df) \
--bin-path ssh=$(type -p ssh) \
--bin-path sendmail=$(type -p sendmail) \
--bin-path hostname=$(type -p hostname) \
--bin-path gzip=$(type -p gzip) \
--bin-path bzip2=$(type -p bzip2) \
--config-dir ${CONFDIR} \
--install-dir /usr \
--data-dir ${DATADIR} \
--hostname $(hostname) \
--uid-ignore \
--dest-dir "${D%/}" \
--html-dir ${MY_HTDOCSDIR}/image \
--html-dir-url /image \
--cgi-dir ${MY_HTDOCSDIR} \
--fhs \
${myconf} || die "failed the configure.pl script"
ebegin "Installing documentation"
pod2man \
-errors=none \
--section=8 \
--center="BackupPC manual" \
"${S}"/doc/BackupPC.pod backuppc.8 || die "failed to generate man page"
doman backuppc.8
# Place the documentation in the correct location
dodoc "${D}/usr/doc/BackupPC.html"
dodoc "${D}/usr/doc/BackupPC.pod"
rm -rf "${D}/usr/doc"
eend 0
# Setup directories
dodir ${CONFDIR}/pc
keepdir ${CONFDIR}
keepdir ${CONFDIR}/pc
keepdir ${DATADIR}/{trash,pool,pc,cpool}
keepdir ${LOGDIR}
ebegin "Setting up init.d/conf.d/systemd scripts"
newinitd "${S}"/init.d/gentoo-backuppc backuppc
newconfd "${S}"/init.d/gentoo-backuppc.conf backuppc
systemd_dounit "${FILESDIR}/${PN}.service"
eend 0
ebegin "Setting up an apache instance for backuppc"
cp "${FILESDIR}/apache2-backuppc."{conf,init} "${WORKDIR}/"
cp "${FILESDIR}/httpd.conf" "${WORKDIR}/httpd.conf"
sed -i -e "s+HTDOCSDIR+${MY_HTDOCSDIR}+g" "${WORKDIR}/httpd.conf"
sed -i -e "s+AUTHFILE+${CONFDIR}/users.htpasswd+g" "${WORKDIR}/httpd.conf"
moduledir="/usr/lib/apache2/modules"
# Check if the Apache ServerRoot is real.
# This is sometimes broken on older amd64 systems.
# In this case we just patch our config file appropriately.
if [[ ! -d "/usr/lib/apache2" ]]; then
if [[ -d "/usr/lib64/apache2" ]]; then
sed -i -e "s+/usr/lib/apache2+/usr/lib64/apache2+g" "${WORKDIR}/httpd.conf"
sed -i -e "s+/usr/lib/apache2+/usr/lib64/apache2+g" "${WORKDIR}/apache2-backuppc.conf"
moduledir="/usr/lib64/apache2/modules"
fi
fi
# Check if we're using mod_cgid instead of mod_cgi
# This happens if you install apache with USE="threads"
if [[ -f "${moduledir}/mod_cgid.so" ]]; then
sed -i -e "s+mod_cgi+mod_cgid+g" "${WORKDIR}/httpd.conf"
sed -i -e "s+cgi_module+cgid_module+g" "${WORKDIR}/httpd.conf"
fi
# Install conf.d/init.d files for apache2-backuppc
if [ -e /etc/init.d/apache2 ]; then
newconfd "${WORKDIR}/apache2-backuppc.conf" apache2-backuppc
newinitd /etc/init.d/apache2 apache2-backuppc
else
newconfd "${WORKDIR}/apache2-backuppc.conf" apache2-backuppc
newinitd "${WORKDIR}/apache2-backuppc.init" apache2-backuppc
fi
insopts -m 0644
insinto ${CONFDIR}
doins "${WORKDIR}/httpd.conf"
eend $?
webapp_src_install || die "webapp_src_install"
# Make sure that the ownership is correct
chown -R backuppc:backuppc "${D}${CONFDIR}"
chown -R backuppc:backuppc "${D}${DATADIR}"
chown -R backuppc:backuppc "${D}${LOGDIR}"
}
pkg_postinst() {
# This is disabled since BackupPC doesn't need it
# webapp_pkg_postinst
elog "Installation finished, now may now start using BackupPC."
elog ""
elog "- Read the documentation in /usr/share/doc/${PF}/BackupPC.html"
elog " Please pay special attention to the security section."
elog ""
elog "- You can launch backuppc and it's apache web interface by running:"
elog " # /etc/init.d/backuppc start"
elog " # /etc/init.d/apache2-backuppc start"
if [[ ! -e /etc/runlevels/default/backuppc ]]; then
elog ""
elog "- You also might want to add these scripts to your default runlevel:"
elog " # rc-update add backuppc default"
elog " # rc-update add apache2-backuppc default"
fi
# Generate a new password if there's no auth file
if [[ ! -f "${CONFDIR}/users.htpasswd" ]]; then
adminuser="backuppc"
adminpass=$( makepasswd --chars=12 )
htpasswd -bc "${CONFDIR}/users.htpasswd" $adminuser $adminpass
elog ""
elog "- Created admin user $adminuser with password $adminpass"
elog " To add new users, run: "
elog " # htpasswd ${CONFDIR}/users.htpasswd newUser"
fi
if [[ -d "/etc/backuppc" ]]; then
ewarn ""
ewarn "Detected old config directory in /etc/backuppc"
ewarn "Please migrate relevant config files to ${CONFDIR} before starting backuppc"
fi
}

@ -1,195 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit depend.apache eutils user systemd
MY_P="BackupPC-${PV}"
DESCRIPTION="High-performance backups to a server's disk"
HOMEPAGE="http://backuppc.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE="rss samba"
# The CGI modules are handled in $RDEPEND.
APACHE_MODULES="apache2_modules_alias," # RedirectMatch
APACHE_MODULES+="apache2_modules_authn_core," # AuthType
APACHE_MODULES+="apache2_modules_authz_core," # Require
APACHE_MODULES+="apache2_modules_authz_host," # Require host
APACHE_MODULES+="apache2_modules_authz_user" # Require valid-user
DEPEND="dev-lang/perl
app-admin/apache-tools
app-admin/makepasswd"
# Older versions of mod_perl think they're compatibile with apache-2.4,
# so we require the new one explicitly.
RDEPEND="${DEPEND}
virtual/perl-IO-Compress
dev-perl/Archive-Zip
dev-perl/libwww-perl
app-arch/tar
app-arch/par2cmdline
app-arch/gzip
app-arch/bzip2
virtual/mta
>=www-apache/mod_perl-2.0.9
www-apache/mpm_itk
|| ( >=www-servers/apache-2.4[${APACHE_MODULES},apache2_modules_cgi]
>=www-servers/apache-2.4[${APACHE_MODULES},apache2_modules_cgid]
>=www-servers/apache-2.4[${APACHE_MODULES},apache2_modules_fcgid] )
net-misc/rsync
dev-perl/File-RsyncP
rss? ( dev-perl/XML-RSS )
samba? ( net-fs/samba )"
need_apache2_4
SLOT="0"
S="${WORKDIR}/${MY_P}"
CGIDIR="/usr/lib/backuppc/htdocs"
CONFDIR="/etc/BackupPC"
DATADIR="/var/lib/backuppc"
DOCDIR="/usr/share/doc/${PF}"
LOGDIR="/var/log/BackupPC"
pkg_setup() {
enewgroup backuppc
enewuser backuppc -1 /bin/bash /var/lib/backuppc backuppc
}
src_prepare() {
epatch "${FILESDIR}/3.3.0/01-fix-configure.pl.patch"
epatch "${FILESDIR}/3.3.0/02-fix-config.pl-formatting.patch"
epatch "${FILESDIR}/3.3.0/03-reasonable-config.pl-defaults.patch"
epatch "${FILESDIR}/3.2.0/04-add-docdir-marker.patch"
epatch "${FILESDIR}/3.2.0/05-nicelevel.patch"
# Fix docs location using the marker that we've patched in.
sed -i "s+__DOCDIR__+${DOCDIR}+" "lib/BackupPC/CGI/View.pm" \
|| die "failed to sed the documentation location"
}
src_install() {
local myconf
myconf=""
if use samba ; then
myconf="--bin-path smbclient=$(type -p smbclient)"
myconf="${myconf} --bin-path nmblookup=$(type -p nmblookup)"
fi
/usr/bin/env perl ./configure.pl \
--batch \
--bin-path perl=$(type -p perl) \
--bin-path tar=$(type -p tar) \
--bin-path rsync=$(type -p rsync) \
--bin-path ping=$(type -p ping) \
--bin-path df=$(type -p df) \
--bin-path ssh=$(type -p ssh) \
--bin-path sendmail=$(type -p sendmail) \
--bin-path hostname=$(type -p hostname) \
--bin-path gzip=$(type -p gzip) \
--bin-path bzip2=$(type -p bzip2) \
--config-dir "${CONFDIR}" \
--install-dir /usr \
--data-dir "${DATADIR}" \
--hostname 127.0.0.1 \
--uid-ignore \
--dest-dir "${D%/}" \
--html-dir "${CGIDIR}"/image \
--html-dir-url /image \
--cgi-dir "${CGIDIR}" \
--fhs \
${myconf} || die "failed the configure.pl script"
ebegin "Installing documentation"
pod2man \
-errors=none \
--section=8 \
--center="BackupPC manual" \
"${S}"/doc/BackupPC.pod backuppc.8 \
|| die "failed to generate man page"
doman backuppc.8
# Place the documentation in the correct location
dodoc "${D}/usr/doc/BackupPC.html"
dodoc "${D}/usr/doc/BackupPC.pod"
rm -rf "${D}/usr/doc" || die
eend 0
# Setup directories
dodir "${CONFDIR}/pc"
keepdir "${CONFDIR}"
keepdir "${CONFDIR}/pc"
keepdir "${DATADIR}"/{trash,pool,pc,cpool}
keepdir "${LOGDIR}"
ebegin "Setting up init.d/conf.d/systemd scripts"
newinitd "${S}"/init.d/gentoo-backuppc backuppc
newconfd "${S}"/init.d/gentoo-backuppc.conf backuppc
systemd_dounit "${FILESDIR}/${PN}.service"
insinto "${APACHE_MODULES_CONFDIR}"
doins "${FILESDIR}"/99_backuppc.conf
# Make sure that the ownership is correct
chown -R backuppc:backuppc "${D}${CONFDIR}" || die
chown -R backuppc:backuppc "${D}${DATADIR}" || die
chown -R backuppc:backuppc "${D}${LOGDIR}" || die
}
pkg_postinst() {
elog "Installation finished, you may now start using BackupPC."
elog
elog "- Read the documentation in /usr/share/doc/${PF}/BackupPC.html"
elog " Please pay special attention to the security section."
elog
elog "- You can launch backuppc by running:"
elog
elog " # /etc/init.d/backuppc start"
elog
elog "- To enable the GUI, first edit ${ROOT}etc/conf.d/apache2 and add,"
elog
elog " \"-D BACKUPPC -D PERL -D MPM_ITK\""
elog
elog " to the APACHE2_OPTS line."
elog
elog " Then you must edit ${ROOT}etc/apache2/modules.d/00_mpm_itk.conf"
elog " and adjust the values of LimitUIDRange/LimitGIDRange to include"
elog " the UID and GID of the backuppc user."
elog
elog " Finally, start apache:"
elog
elog " # /etc/init.d/apache2 start"
elog
elog " The web interface should now be running on,"
elog
elog " http://127.0.0.1:8080/"
elog
# Generate a new password if there's no auth file
if [[ ! -f "${CONFDIR}/users.htpasswd" ]]; then
adminuser="backuppc"
adminpass=$( makepasswd --chars=12 )
htpasswd -bc "${CONFDIR}/users.htpasswd" $adminuser $adminpass
elog ""
elog "- Created admin user $adminuser with password $adminpass"
elog " To add new users, run: "
elog ""
elog " # htpasswd ${CONFDIR}/users.htpasswd newUser"
fi
}

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -32,6 +32,7 @@ DEPEND="dev-lang/perl
RDEPEND="${DEPEND}
virtual/perl-IO-Compress
dev-perl/Archive-Zip
dev-perl/CGI
dev-perl/libwww-perl
app-arch/tar
app-arch/par2cmdline

@ -1,30 +0,0 @@
--- configure.pl.orig 2010-07-31 20:52:58.000000000 +0300
+++ configure.pl 2010-09-03 22:09:46.437788435 +0300
@@ -158,7 +158,7 @@
# config file to get all the defaults.
#
my $ConfigPath = "";
-my $ConfigFileOK = 1;
+my $ConfigFileOK = 0;
while ( 1 ) {
if ( $ConfigFileOK && -f "/etc/BackupPC/config.pl" ) {
$ConfigPath = "/etc/BackupPC/config.pl";
@@ -213,7 +213,8 @@
$bpc->{LogDir} = $Conf{LogDir} = "$Conf{TopDir}/log"
if ( $Conf{LogDir} eq '' );
}
- $bpc->{ConfDir} = $Conf{ConfDir} = $confDir;
+ # Disable this as it's not really neccessary for this ebuild
+ # $bpc->{ConfDir} = $Conf{ConfDir} = $confDir;
my $err = $bpc->ServerConnect($Conf{ServerHost}, $Conf{ServerPort}, 1);
if ( $err eq "" ) {
print <<EOF;
@@ -726,7 +727,7 @@
if ( $Conf{CgiDir} =~ m{cgi-bin(/.*)} ) {
$Conf{CgiURL} = "'http://$Conf{ServerHost}/cgi-bin$1/BackupPC_Admin'";
} else {
- $Conf{CgiURL} = "'http://$Conf{ServerHost}/cgi-bin/BackupPC_Admin'";
+ $Conf{CgiURL} = "'http://$Conf{ServerHost}/BackupPC_Admin'";
}
}

@ -1,47 +0,0 @@
--- conf/config.pl.formatted 2010-09-03 23:09:13.035788559 +0300
+++ conf/config.pl 2010-09-03 23:10:19.314788450 +0300
@@ -1319,6 +1319,8 @@
'--times',
'--block-size=2048',
'--recursive',
+ '--specials',
+ '--checksum-seed=32761',
];
#
@@ -1385,6 +1387,8 @@
'--relative',
'--ignore-times',
'--recursive',
+ '--specials',
+ '--checksum-seed=32761',
];
###########################################################################
@@ -2015,7 +2019,7 @@
# --> administrative users are only craig and celia'.
#
$Conf{CgiAdminUserGroup} = '';
-$Conf{CgiAdminUsers} = '';
+$Conf{CgiAdminUsers} = 'backuppc';
#
# URL of the BackupPC_Admin CGI script. Used for email messages.
@@ -2062,7 +2066,7 @@
# dates (MM/DD), a value of 2 uses full YYYY-MM-DD format, and zero
# for international dates (DD/MM).
#
-$Conf{CgiDateFormatMMDD} = 1;
+$Conf{CgiDateFormatMMDD} = 2;
#
# If set, the complete list of hosts appears in the left navigation
@@ -2248,7 +2252,7 @@
ClientTimeout => 1,
MaxOldPerPCLogFiles => 1,
CompressLevel => 1,
- ClientNameAlias => 1,
+ ClientNameAlias => 0,
DumpPreUserCmd => 0,
DumpPostUserCmd => 0,
RestorePreUserCmd => 0,

@ -1,96 +1,6 @@
--- conf/config.pl.dist 2013-09-23 23:05:50.332064754 +0300
+++ conf/config.pl 2013-09-23 23:07:44.110943607 +0300
@@ -87,7 +87,7 @@
# Default value prevents any access from group other, and prevents
# group write.
#
-$Conf{UmaskMode} = 027;
+$Conf{UmaskMode} = 27;
#
# Times at which we wake up, check all the PCs, and schedule necessary
@@ -113,7 +113,31 @@
# you want BackupPC_nightly to run (eg: when you don't expect a lot
# of regular backups to run).
#
-$Conf{WakeupSchedule} = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23];
+$Conf{WakeupSchedule} = [
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 7,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 23
+];
#
# Maximum number of simultaneous backups to run. If there
@@ -224,9 +248,9 @@
# Full path to various commands for archiving
#
$Conf{SplitPath} = '';
-$Conf{ParPath} = '';
-$Conf{CatPath} = '';
-$Conf{GzipPath} = '';
+$Conf{ParPath} = '';
+$Conf{CatPath} = '';
+$Conf{GzipPath} = '';
$Conf{Bzip2Path} = '';
#
@@ -302,11 +326,11 @@
# a symbolic link to the new location, or mount the new BackupPC
# store at the existing $Conf{TopDir} setting.
#
-$Conf{TopDir} = '';
-$Conf{ConfDir} = '';
-$Conf{LogDir} = '';
-$Conf{InstallDir} = '';
-$Conf{CgiDir} = '';
+$Conf{TopDir} = '';
+$Conf{ConfDir} = '';
+$Conf{LogDir} = '';
+$Conf{InstallDir} = '';
+$Conf{CgiDir} = '';
#
# Whether BackupPC and the CGI script BackupPC_Admin verify that they
@@ -316,7 +340,7 @@
# BackupPC might be accidently started as root or the wrong user,
# or if the CGI script is not installed correctly.
#
-$Conf{BackupPCUserVerify} = 1;
+$Conf{BackupPCUserVerify} = '1';
#
# Maximum number of hardlinks supported by the $TopDir file system
@@ -333,7 +357,7 @@
# Advanced option for asking BackupPC to load additional perl modules.
# Can be a list (array ref) of module names to load at startup.
#
-$Conf{PerlModuleLoad} = undef;
+$Conf{PerlModuleLoad} = undef;
#
# Path to init.d script and command to use that script to start the
@@ -355,7 +379,7 @@
@@ -355,7 +355,7 @@
# needs to be a full path and you can't include shell syntax like
# redirection and pipes; put that in a script if you need it.
#
@ -99,7 +9,7 @@
$Conf{ServerInitdStartCmd} = '';
@@ -373,7 +397,7 @@
@@ -373,7 +373,7 @@
# time taken for the backup, plus the granularity of $Conf{WakeupSchedule}
# will make the actual backup interval a bit longer.
#
@ -108,7 +18,7 @@
#
# Minimum period in days between incremental backups (a user requested
@@ -383,7 +407,7 @@
@@ -383,7 +383,7 @@
# time taken for the backup, plus the granularity of $Conf{WakeupSchedule}
# will make the actual backup interval a bit longer.
#
@ -117,56 +27,16 @@
#
# Number of full backups to keep. Must be >= 1.
@@ -458,7 +482,9 @@
@@ -458,7 +458,7 @@
# $Conf{FullKeepCnt} = 4;
# $Conf{FullKeepCnt} = [4];
#
-$Conf{FullKeepCnt} = 1;
+$Conf{FullKeepCnt} = [
+ 1
+];
+$Conf{FullKeepCnt} = [1];
#
# Very old full backups are removed after $Conf{FullAgeMax} days. However,
@@ -470,7 +496,7 @@
# full backups to exceed $Conf{FullAgeMax}.
#
$Conf{FullKeepCntMin} = 1;
-$Conf{FullAgeMax} = 90;
+$Conf{FullAgeMax} = 90;
#
# Number of incremental backups to keep. Must be >= 1.
@@ -487,7 +513,7 @@
# matter how old they are.
#
$Conf{IncrKeepCntMin} = 1;
-$Conf{IncrAgeMax} = 30;
+$Conf{IncrAgeMax} = 30;
#
# Level of each incremental. "Level" follows the terminology
@@ -565,7 +591,9 @@
# meaning each incremental backed up all the files that
# changed since the last full.
#
-$Conf{IncrLevels} = [1];
+$Conf{IncrLevels} = [
+ 1
+];
#
# Disable all full and incremental backups. These settings are
@@ -631,7 +659,7 @@
# The default is off. You can turn this on or off at any
# time without affecting existing backups.
#
-$Conf{IncrFill} = 0;
+$Conf{IncrFill} = '0';
#
# Number of restore logs to keep. BackupPC remembers information about
@@ -683,7 +711,7 @@
@@ -688,7 +688,7 @@
# '*' => ['/myFiles', '/important'], # these are other shares
# };
#
@ -175,7 +45,7 @@
#
# List of directories or files to exclude from the backup. For Smb,
@@ -739,7 +767,7 @@
@@ -749,7 +749,7 @@
# '*' => ['/junk', '/dont_back_this_up'], # these are for other shares
# };
#
@ -184,145 +54,34 @@
#
# PCs that are always or often on the network can be backed up after
@@ -770,7 +798,7 @@
# to just set $Conf{WakeupSchedule} to a restricted schedule.
#
$Conf{BlackoutBadPingLimit} = 3;
-$Conf{BlackoutGoodCnt} = 7;
+$Conf{BlackoutGoodCnt} = 7;
#
# One or more blackout periods can be specified. If a client is
@@ -813,11 +841,17 @@
# Saturday night.
#
$Conf{BlackoutPeriods} = [
- {
- hourBegin => 7.0,
- hourEnd => 19.5,
- weekDays => [1, 2, 3, 4, 5],
- },
+ {
+ 'hourEnd' => '19.5',
+ 'weekDays' => [
+ 1,
+ 2,
+ 3,
+ 4,
+ 5
+ ],
+ 'hourBegin' => 7
+ }
];
#
@@ -826,7 +860,7 @@
# backed up. If you have shares that might be empty (and therefore an
# empty backup is valid) you should set this flag to 0.
#
-$Conf{BackupZeroFilesIsFatal} = 1;
+$Conf{BackupZeroFilesIsFatal} = '1';
###########################################################################
# How to backup a client
@@ -922,7 +956,9 @@
@@ -932,7 +932,7 @@
#
# This setting only matters if $Conf{XferMethod} = 'smb'.
#
-$Conf{SmbShareName} = 'C$';
+$Conf{SmbShareName} = [
+ 'C$'
+];
+$Conf{SmbShareName} = ['C$'];
#
# Smbclient share user name. This is passed to smbclient's -U argument.
@@ -975,9 +1011,7 @@
# needs to be a full path and you can't include shell syntax like
# redirection and pipes; put that in a script if you need it.
#
-$Conf{SmbClientFullCmd} = '$smbClientPath \\\\$host\\$shareName'
- . ' $I_option -U $userName -E -d 1'
- . ' -c tarmode\\ full -Tc$X_option - $fileList';
+$Conf{SmbClientFullCmd} = '$smbClientPath \\\\$host\\$shareName $I_option -U $userName -E -d 1 -c tarmode\\ full -Tc$X_option - $fileList';
#
# Command to run smbclient for an incremental dump.
@@ -989,9 +1023,7 @@
# needs to be a full path and you can't include shell syntax like
# redirection and pipes; put that in a script if you need it.
#
-$Conf{SmbClientIncrCmd} = '$smbClientPath \\\\$host\\$shareName'
- . ' $I_option -U $userName -E -d 1'
- . ' -c tarmode\\ full -TcN$X_option $timeStampFile - $fileList';
+$Conf{SmbClientIncrCmd} = '$smbClientPath \\\\$host\\$shareName $I_option -U $userName -E -d 1 -c tarmode\\ full -TcN$X_option $timeStampFile - $fileList';
#
# Command to run smbclient for a restore.
@@ -1007,9 +1039,7 @@
# needs to be a full path and you can't include shell syntax like
# redirection and pipes; put that in a script if you need it.
#
-$Conf{SmbClientRestoreCmd} = '$smbClientPath \\\\$host\\$shareName'
- . ' $I_option -U $userName -E -d 1'
- . ' -c tarmode\\ full -Tx -';
+$Conf{SmbClientRestoreCmd} = '$smbClientPath \\\\$host\\$shareName $I_option -U $userName -E -d 1 -c tarmode\\ full -Tx -';
###########################################################################
# Tar Configuration
@@ -1044,7 +1074,9 @@
@@ -1054,7 +1054,7 @@
#
# This setting only matters if $Conf{XferMethod} = 'tar'.
#
-$Conf{TarShareName} = '/';
+$Conf{TarShareName} = [
+ '/'
+];
+$Conf{TarShareName} = ['/'];
#
# Command to run tar on the client. GNU tar is required. You will
@@ -1088,9 +1120,7 @@
# needs to be a full path and you can't include shell syntax like
# redirection and pipes; put that in a script if you need it.
#
-$Conf{TarClientCmd} = '$sshPath -q -x -n -l root $host'
- . ' env LC_ALL=C $tarPath -c -v -f - -C $shareName+'
- . ' --totals';
+$Conf{TarClientCmd} = '$sshPath -q -x -n -l root $host env LC_ALL=C $tarPath -c -v -f - -C $shareName+ --totals';
#
# Extra tar arguments for full backups. Several variables are substituted at
@@ -1149,9 +1179,7 @@
# needs to be a full path and you can't include shell syntax like
# redirection and pipes; put that in a script if you need it.
#
-$Conf{TarClientRestoreCmd} = '$sshPath -q -x -l root $host'
- . ' env LC_ALL=C $tarPath -x -p --numeric-owner --same-owner'
- . ' -v -f - -C $shareName+';
+$Conf{TarClientRestoreCmd} = '$sshPath -q -x -l root $host env LC_ALL=C $tarPath -x -p --numeric-owner --same-owner -v -f - -C $shareName+';
#
# Full path for tar on the client. Security caution: normal users should not
@@ -1223,7 +1251,9 @@
@@ -1233,7 +1233,7 @@
#
# $Conf{RsyncShareName} = ['/', '/var', '/data', '/boot'];
#
-$Conf{RsyncShareName} = '/';
+$Conf{RsyncShareName} = [
+ '/'
+];
+$Conf{RsyncShareName} = ['/'];
#
# Rsync daemon port on the client, for $Conf{XferMethod} = "rsyncd".
@@ -1252,7 +1282,7 @@
# connect to an rsyncd on the client that is not password protected.
# Turn off at your own risk.
#
-$Conf{RsyncdAuthRequired} = 1;
+$Conf{RsyncdAuthRequired} = '1';
#
# When rsync checksum caching is enabled (by adding the
@@ -1275,35 +1305,23 @@
@@ -1285,7 +1285,7 @@
#
# This setting has no effect unless checksum caching is turned on.
#
@ -331,150 +90,7 @@
#
# Arguments to rsync for backup. Do not edit the first set unless you
# have a thorough understanding of how File::RsyncP works.
#
$Conf{RsyncArgs} = [
- #
- # Do not edit these!
- #
- '--numeric-ids',
- '--perms',
- '--owner',
- '--group',
- '-D',
- '--links',
- '--hard-links',
- '--times',
- '--block-size=2048',
- '--recursive',
-
- #
- # Rsync >= 2.6.3 supports the --checksum-seed option
- # which allows rsync checksum caching on the server.
- # Uncomment this to enable rsync checksum caching if
- # you have a recent client rsync version and you want
- # to enable checksum caching.
- #
- #'--checksum-seed=32761',
+ '--numeric-ids',
+ '--perms',
+ '--owner',
+ '--group',
+ '-D',
+ '--links',
+ '--hard-links',
+ '--times',
+ '--block-size=2048',
+ '--recursive',
];
#
@@ -1358,34 +1376,18 @@
# Note: $Conf{RsyncArgsExtra} doesn't apply to $Conf{RsyncRestoreArgs}.
#
$Conf{RsyncRestoreArgs} = [
- #
- # Do not edit these!
- #
- '--numeric-ids',
- '--perms',
- '--owner',
- '--group',
- '-D',
- '--links',
- '--hard-links',
- '--times',
- '--block-size=2048',
- '--relative',
- '--ignore-times',
- '--recursive',
-
- #
- # Rsync >= 2.6.3 supports the --checksum-seed option
- # which allows rsync checksum caching on the server.
- # Uncomment this to enable rsync checksum caching if
- # you have a recent client rsync version and you want
- # to enable checksum caching.
- #
- #'--checksum-seed=32761',
-
- #
- # Add additional arguments here
- #
+ '--numeric-ids',
+ '--perms',
+ '--owner',
+ '--group',
+ '-D',
+ '--links',
+ '--hard-links',
+ '--times',
+ '--block-size=2048',
+ '--relative',
+ '--ignore-times',
+ '--recursive',
];
###########################################################################
@@ -1518,7 +1520,7 @@
#
# Set to 0 to disable this feature.
#
-$Conf{ArchivePar} = 0;
+$Conf{ArchivePar} = '0';
#
# Archive Size Split
@@ -1554,9 +1556,7 @@
# needs to be a full path and you can't include shell syntax like
# redirection and pipes; put that in a script if you need it.
#
-$Conf{ArchiveClientCmd} = '$Installdir/bin/BackupPC_archiveHost'
- . ' $tarCreatePath $splitpath $parpath $host $backupnumber'
- . ' $compression $compext $splitsize $archiveloc $parfile *';
+$Conf{ArchiveClientCmd} = '$Installdir/bin/BackupPC_archiveHost $tarCreatePath $splitpath $parpath $host $backupnumber $compression $compext $splitsize $archiveloc $parfile *';
#
# Full path for ssh. Security caution: normal users should not
@@ -1628,7 +1628,7 @@
# setting this flag is a great way to verify that the machines have
# their netbios name set correctly before turning on DCHP.
#
-$Conf{FixedIPNetBiosNameCheck} = 0;
+$Conf{FixedIPNetBiosNameCheck} = '0';
#
# Full path to the ping command. Security caution: normal users
@@ -1805,13 +1805,13 @@
# needs to be a full path and you can't include shell syntax like
# redirection and pipes; put that in a script if you need it.
#
-$Conf{DumpPreUserCmd} = undef;
-$Conf{DumpPostUserCmd} = undef;
-$Conf{DumpPreShareCmd} = undef;
-$Conf{DumpPostShareCmd} = undef;
-$Conf{RestorePreUserCmd} = undef;
+$Conf{DumpPreUserCmd} = undef;
+$Conf{DumpPostUserCmd} = undef;
+$Conf{DumpPreShareCmd} = undef;
+$Conf{DumpPostShareCmd} = undef;
+$Conf{RestorePreUserCmd} = undef;
$Conf{RestorePostUserCmd} = undef;
-$Conf{ArchivePreUserCmd} = undef;
+$Conf{ArchivePreUserCmd} = undef;
$Conf{ArchivePostUserCmd} = undef;
#
@@ -1835,7 +1835,7 @@
# that snapshots or dumps a database which fails because
# of some database error.
#
-$Conf{UserCmdCheckStatus} = 0;
+$Conf{UserCmdCheckStatus} = '0';
#
# Override the client's host name. This allows multiple clients
@@ -1873,7 +1873,7 @@
@@ -1883,7 +1883,7 @@
# rounded up (ie: 2.5 means a user will never receive email more
# than once every 3 days).
#
@ -483,7 +99,7 @@
#
# Name to use as the "from" name for email. Depending upon your mail
@@ -1928,7 +1928,7 @@
@@ -1938,7 +1938,7 @@
# When there have been no backups in this number of days the user
# is sent an email.
#
@ -492,7 +108,7 @@
#
# This subject and message is sent to a user if their PC has not recently
@@ -1955,7 +1955,7 @@
@@ -1965,7 +1965,7 @@
# How old the most recent backup of Outlook files has to be before
# notifying user.
#
@ -501,301 +117,21 @@
#
# This subject and message is sent to a user if their Outlook files have
@@ -1983,10 +1983,9 @@
# Additional email headers. This sets to charset to
# utf8.
#
-$Conf{EMailHeaders} = <<EOF;
-MIME-Version: 1.0
+$Conf{EMailHeaders} = 'MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
-EOF
+';
###########################################################################
# CGI user interface configuration settings
@@ -2059,7 +2058,7 @@
# be rendered as a link to http://myhost/users/craig.html.
#
$Conf{CgiUserHomePageCheck} = '';
-$Conf{CgiUserUrlCreate} = 'mailto:%s';
+$Conf{CgiUserUrlCreate} = 'mailto:%s';
#
# Date display format for CGI interface. A value of 1 uses US-style
@@ -2074,12 +2073,12 @@
# the user is listed in the host file (as either the user or in moreUsers)
# are displayed.
#
-$Conf{CgiNavBarAdminAllHosts} = 1;
+$Conf{CgiNavBarAdminAllHosts} = '1';
#
# Enable/disable the search box in the navigation bar.
#
-$Conf{CgiSearchBoxEnable} = 1;
+$Conf{CgiSearchBoxEnable} = '1';
#
# Additional navigation bar links. These appear for both regular users
@@ -2089,31 +2088,34 @@
# just literally displaying name.
#
$Conf{CgiNavBarLinks} = [
- {
- link => "?action=view&type=docs",
- lname => "Documentation", # actually displays $Lang->{Documentation}
- },
- {
- link => "http://backuppc.wiki.sourceforge.net",
- name => "Wiki", # displays literal "Wiki"
- },
- {
- link => "http://backuppc.sourceforge.net",
- name => "SourceForge", # displays literal "SourceForge"
- },
+ {
+ 'link' => '?action=view&type=docs',
+ 'lname' => 'Documentation',
+ 'name' => undef
+ },
+ {
+ 'link' => 'http://backuppc.wiki.sourceforge.net',
+ 'lname' => undef,
+ 'name' => 'Wiki'
+ },
+ {
+ 'link' => 'http://backuppc.sourceforge.net',
+ 'lname' => undef,
+ 'name' => 'SourceForge'
+ }
@@ -2102,14 +2102,17 @@
{
link => "?action=view&type=docs",
lname => "Documentation", # actually displays $Lang->{Documentation}
+ name => undef,
},
{
link => "http://backuppc.wiki.sourceforge.net",
name => "Wiki", # displays literal "Wiki"
+ lname => undef,
},
{
link => "http://backuppc.sourceforge.net",
name => "SourceForge", # displays literal "SourceForge"
+ lname => undef,
},
];
#
# Hilight colors based on status that are used in the PC summary page.
#
$Conf{CgiStatusHilightColor} = {
- Reason_backup_failed => '#ffcccc',
- Reason_backup_done => '#ccffcc',
- Reason_no_ping => '#ffff99',
- Reason_backup_canceled_by_user => '#ff9900',
- Status_backup_in_progress => '#66cc99',
- Disabled_OnlyManualBackups => '#d1d1d1',
- Disabled_AllBackupsDisabled => '#d1d1d1',
+ 'Reason_backup_failed' => '#ffcccc',
+ 'Reason_backup_done' => '#ccffcc',
+ 'Reason_backup_canceled_by_user' => '#ff9900',
+ 'Reason_no_ping' => '#ffff99',
+ 'Disabled_OnlyManualBackups' => '#d1d1d1',
+ 'Status_backup_in_progress' => '#66cc99',
+ 'Disabled_AllBackupsDisabled' => '#d1d1d1'
};
#
@@ -2141,7 +2143,7 @@
# 'pl' => 'text/plain',
# };
#
-$Conf{CgiExt2ContentType} = { };
+$Conf{CgiExt2ContentType} = {};
#
# URL (without the leading http://host) for BackupPC's image directory.
@@ -2166,7 +2168,7 @@
#
# Whether the user is allowed to edit their per-PC config.
#
-$Conf{CgiUserConfigEditEnable} = 1;
+$Conf{CgiUserConfigEditEnable} = '1';
#
# Which per-host config variables a non-admin user is allowed
@@ -2180,96 +2182,96 @@
# sorts of bad things.
#
$Conf{CgiUserConfigEdit} = {
- FullPeriod => 1,
- IncrPeriod => 1,
- FullKeepCnt => 1,
- FullKeepCntMin => 1,
- FullAgeMax => 1,
- IncrKeepCnt => 1,
- IncrKeepCntMin => 1,
- IncrAgeMax => 1,
- IncrLevels => 1,
- IncrFill => 1,
- PartialAgeMax => 1,
- RestoreInfoKeepCnt => 1,
- ArchiveInfoKeepCnt => 1,
- BackupFilesOnly => 1,
- BackupFilesExclude => 1,
- BackupsDisable => 1,
- BlackoutBadPingLimit => 1,
- BlackoutGoodCnt => 1,
- BlackoutPeriods => 1,
- BackupZeroFilesIsFatal => 1,
- ClientCharset => 1,
- ClientCharsetLegacy => 1,
- XferMethod => 1,
- XferLogLevel => 1,
- SmbShareName => 1,
- SmbShareUserName => 1,
- SmbSharePasswd => 1,
- SmbClientFullCmd => 0,
- SmbClientIncrCmd => 0,
- SmbClientRestoreCmd => 0,
- TarShareName => 1,
- TarFullArgs => 1,
- TarIncrArgs => 1,
- TarClientCmd => 0,
- TarClientRestoreCmd => 0,
- TarClientPath => 0,
- RsyncShareName => 1,
- RsyncdClientPort => 1,
- RsyncdPasswd => 1,
- RsyncdUserName => 1,
- RsyncdAuthRequired => 1,
- RsyncCsumCacheVerifyProb => 1,
- RsyncArgs => 1,
- RsyncArgsExtra => 1,
- RsyncRestoreArgs => 1,
- RsyncClientCmd => 0,
- RsyncClientRestoreCmd => 0,
- RsyncClientPath => 0,
- FtpShareName => 1,
- FtpUserName => 1,
- FtpPasswd => 1,
- FtpBlockSize => 1,
- FtpPort => 1,
- FtpTimeout => 1,
- FtpFollowSymlinks => 1,
- FtpRestoreEnabled => 1,
- ArchiveDest => 1,
- ArchiveComp => 1,
- ArchivePar => 1,
- ArchiveSplit => 1,
- ArchiveClientCmd => 0,
- FixedIPNetBiosNameCheck => 1,
- NmbLookupCmd => 0,
- NmbLookupFindHostCmd => 0,
- PingMaxMsec => 1,
- PingCmd => 0,
- ClientTimeout => 1,
- MaxOldPerPCLogFiles => 1,
- CompressLevel => 1,
- ClientNameAlias => 1,
- DumpPreUserCmd => 0,
- DumpPostUserCmd => 0,
- RestorePreUserCmd => 0,
- RestorePostUserCmd => 0,
- ArchivePreUserCmd => 0,
- ArchivePostUserCmd => 0,
- DumpPostShareCmd => 0,
- DumpPreShareCmd => 0,
- UserCmdCheckStatus => 0,
- EMailNotifyMinDays => 1,
- EMailFromUserName => 1,
- EMailAdminUserName => 1,
- EMailUserDestDomain => 1,
- EMailNoBackupEverSubj => 1,
- EMailNoBackupEverMesg => 1,
- EMailNotifyOldBackupDays => 1,
- EMailNoBackupRecentSubj => 1,
- EMailNoBackupRecentMesg => 1,
- EMailNotifyOldOutlookDays => 1,
- EMailOutlookBackupSubj => 1,
- EMailOutlookBackupMesg => 1,
- EMailHeaders => 1,
+ FullPeriod => 1,
+ IncrPeriod => 1,
+ FullKeepCnt => 1,
+ FullKeepCntMin => 1,
+ FullAgeMax => 1,
+ IncrKeepCnt => 1,
+ IncrKeepCntMin => 1,
+ IncrAgeMax => 1,
+ IncrLevels => 1,
+ IncrFill => 1,
+ PartialAgeMax => 1,
+ RestoreInfoKeepCnt => 1,
+ ArchiveInfoKeepCnt => 1,
+ BackupFilesOnly => 1,
+ BackupFilesExclude => 1,
+ BackupsDisable => 1,
+ BlackoutBadPingLimit => 1,
+ BlackoutGoodCnt => 1,
+ BlackoutPeriods => 1,
+ BackupZeroFilesIsFatal => 1,
+ ClientCharset => 1,
+ ClientCharsetLegacy => 1,
+ XferMethod => 1,
+ XferLogLevel => 1,
+ SmbShareName => 1,
+ SmbShareUserName => 1,
+ SmbSharePasswd => 1,
+ SmbClientFullCmd => 0,
+ SmbClientIncrCmd => 0,
+ SmbClientRestoreCmd => 0,
+ TarShareName => 1,
+ TarFullArgs => 1,
+ TarIncrArgs => 1,
+ TarClientCmd => 0,
+ TarClientRestoreCmd => 0,
+ TarClientPath => 0,
+ RsyncShareName => 1,
+ RsyncdClientPort => 1,
+ RsyncdPasswd => 1,
+ RsyncdUserName => 1,
+ RsyncdAuthRequired => 1,
+ RsyncCsumCacheVerifyProb => 1,
+ RsyncArgs => 1,
+ RsyncArgsExtra => 1,
+ RsyncRestoreArgs => 1,
+ RsyncClientCmd => 0,
+ RsyncClientRestoreCmd => 0,
+ RsyncClientPath => 0,
+ FtpShareName => 1,
+ FtpUserName => 1,
+ FtpPasswd => 1,
+ FtpBlockSize => 1,
+ FtpPort => 1,
+ FtpTimeout => 1,
+ FtpFollowSymlinks => 1,
+ FtpRestoreEnabled => 1,
+ ArchiveDest => 1,
+ ArchiveComp => 1,
+ ArchivePar => 1,
+ ArchiveSplit => 1,
+ ArchiveClientCmd => 0,
+ FixedIPNetBiosNameCheck => 1,
+ NmbLookupCmd => 0,
+ NmbLookupFindHostCmd => 0,
+ PingMaxMsec => 1,
+ PingCmd => 0,
+ ClientTimeout => 1,
+ MaxOldPerPCLogFiles => 1,
+ CompressLevel => 1,
+ ClientNameAlias => 1,
+ DumpPreUserCmd => 0,
+ DumpPostUserCmd => 0,
+ RestorePreUserCmd => 0,
+ RestorePostUserCmd => 0,
+ ArchivePreUserCmd => 0,
+ ArchivePostUserCmd => 0,
+ DumpPostShareCmd => 0,
+ DumpPreShareCmd => 0,
+ UserCmdCheckStatus => 0,
+ EMailNotifyMinDays => 1,
+ EMailFromUserName => 1,
+ EMailAdminUserName => 1,
+ EMailUserDestDomain => 1,
+ EMailNoBackupEverSubj => 1,
+ EMailNoBackupEverMesg => 1,
+ EMailNotifyOldBackupDays => 1,
+ EMailNoBackupRecentSubj => 1,
+ EMailNoBackupRecentMesg => 1,
+ EMailNotifyOldOutlookDays => 1,
+ EMailOutlookBackupSubj => 1,
+ EMailOutlookBackupMesg => 1,
+ EMailHeaders => 1,
};

@ -1,24 +1,41 @@
--- conf/config.pl.formatted 2013-09-23 23:12:30.708129365 +0300
+++ conf/config.pl 2013-09-23 23:12:39.448043656 +0300
@@ -1322,6 +1322,8 @@
'--times',
'--block-size=2048',
'--recursive',
+ '--specials',
+ '--checksum-seed=32761',
@@ -1305,7 +1305,7 @@
'--times',
'--block-size=2048',
'--recursive',
-
+ '--specials',
#
# Rsync >= 2.6.3 supports the --checksum-seed option
# which allows rsync checksum caching on the server.
@@ -1313,7 +1313,7 @@
# you have a recent client rsync version and you want
# to enable checksum caching.
#
- #'--checksum-seed=32761',
+ '--checksum-seed=32761',
];
#
@@ -1388,6 +1390,8 @@
'--relative',
'--ignore-times',
'--recursive',
+ '--specials',
+ '--checksum-seed=32761',
];
@@ -1383,6 +1383,7 @@
'--relative',
'--ignore-times',
'--recursive',
+ '--specials',
#
# Rsync >= 2.6.3 supports the --checksum-seed option
@@ -1391,7 +1392,7 @@
# you have a recent client rsync version and you want
# to enable checksum caching.
#
- #'--checksum-seed=32761',
+ '--checksum-seed=32761',
###########################################################################
@@ -2018,7 +2022,7 @@
#
# Add additional arguments here
@@ -2029,7 +2030,7 @@
# --> administrative users are only craig and celia'.
#
$Conf{CgiAdminUserGroup} = '';
@ -27,7 +44,7 @@
#
# URL of the BackupPC_Admin CGI script. Used for email messages.
@@ -2065,7 +2069,7 @@
@@ -2076,7 +2077,7 @@
# dates (MM/DD), a value of 2 uses full YYYY-MM-DD format, and zero
# for international dates (DD/MM).
#
@ -36,12 +53,12 @@
#
# If set, the complete list of hosts appears in the left navigation
@@ -2251,7 +2255,7 @@
ClientTimeout => 1,
MaxOldPerPCLogFiles => 1,
CompressLevel => 1,
- ClientNameAlias => 1,
+ ClientNameAlias => 0,
DumpPreUserCmd => 0,
DumpPostUserCmd => 0,
RestorePreUserCmd => 0,
@@ -2262,7 +2263,7 @@
ClientTimeout => 1,
MaxOldPerPCLogFiles => 1,
CompressLevel => 1,
- ClientNameAlias => 1,
+ ClientNameAlias => 0,
DumpPreUserCmd => 0,
DumpPostUserCmd => 0,
RestorePreUserCmd => 0,

@ -1,73 +0,0 @@
# /etc/conf.d/apache2: config file for /etc/init.d/apache2
# When you install a module it is easy to activate or deactivate the modules
# and other features of apache using the APACHE2_OPTS line. Every module should
# install a configuration in /etc/apache2/modules.d. In that file will have an
# <IfDefine NNN> directive where NNN is the option to enable that module.
#
# Here are the options available in the default configuration:
#
# AUTH_DIGEST Enables mod_auth_digest
# AUTHNZ_LDAP Enables authentication through mod_ldap (available if USE=ldap)
# CACHE Enables mod_cache
# DAV Enables mod_dav
# ERRORDOCS Enables default error documents for many languages.
# INFO Enables mod_info, a useful module for debugging
# LANGUAGE Enables content-negotiation based on language and charset.
# LDAP Enables mod_ldap (available if USE=ldap)
# MANUAL Enables /manual/ to be the apache manual (available if USE=docs)
# MEM_CACHE Enables default configuration mod_mem_cache
# PROXY Enables mod_proxy
# SSL Enables SSL (available if USE=ssl)
# SUEXEC Enables running CGI scripts (in USERDIR) through suexec.
# USERDIR Enables /~username mapping to /home/username/public_html
#
#
# The following two options provide the default virtual host for the HTTP and
# HTTPS protocol. YOU NEED TO ENABLE AT LEAST ONE OF THEM, otherwise apache
# will not listen for incomming connections on the approriate port.
#
# DEFAULT_VHOST Enables name-based virtual hosts, with the default
# virtual host being in /var/www/localhost/htdocs
# SSL_DEFAULT_VHOST Enables default vhost for SSL (you should enable this
# when you enable SSL)
#
APACHE2_OPTS="-D LANGUAGE -D PERL -D BACKUPPC_VHOST"
# Extended options for advanced uses of Apache ONLY
# You don't need to edit these unless you are doing crazy Apache stuff
# As not having them set correctly, or feeding in an incorrect configuration
# via them will result in Apache failing to start
# YOU HAVE BEEN WARNED.
# PID file
PIDFILE=/var/run/apache-backuppc.pid
# timeout for startup/shutdown checks
#TIMEOUT=10
# ServerRoot setting
SERVERROOT=/usr/lib/apache2
# Configuration file location
# - If this does NOT start with a '/', then it is treated relative to
# $SERVERROOT by Apache
CONFIGFILE=/etc/BackupPC/httpd.conf
# Location to log startup errors to
# They are normally dumped to your terminal.
#STARTUPERRORLOG="/var/log/apache2/startuperror.log"
# A command that outputs a formatted text version of the HTML at the URL
# of the command line. Designed for lynx, however other programs may work.
#LYNX="lynx -dump"
# The URL to your server's mod_status status page.
# Required for status and fullstatus
#STATUSURL="http://localhost/server-status"
# Method to use when reloading the server
# Valid options are 'restart' and 'graceful'
# See https://httpd.apache.org/docs/2.2/stopping.html for information on
# what they do and how they differ.
#RELOAD_TYPE="graceful"

@ -1,170 +0,0 @@
#!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
opts="configdump configtest fullstatus graceful gracefulstop modules reload virtualhosts"
depend() {
need net
use mysql dns logger netmount postgresql
after sshd
}
configtest() {
ebegin "Checking ${SVCNAME} configuration"
checkconfig
eend $?
}
checkconfd() {
PIDFILE="${PIDFILE:-/var/run/apache2-backuppc.pid}"
TIMEOUT=${TIMEOUT:-10}
SERVERROOT="${SERVERROOT:-/usr/lib/apache2}"
if [ ! -d ${SERVERROOT} ]; then
eerror "SERVERROOT does not exist: ${SERVERROOT}"
return 1
fi
CONFIGFILE="${CONFIGFILE:-/etc/BackupPC/httpd.conf}"
[ "${CONFIGFILE#/}" = "${CONFIGFILE}" ] && CONFIGFILE="${SERVERROOT}/${CONFIGFILE}"
if [ ! -r "${CONFIGFILE}" ]; then
eerror "Unable to read configuration file: ${CONFIGFILE}"
return 1
fi
APACHE2_OPTS="${APACHE2_OPTS} -d ${SERVERROOT}"
APACHE2_OPTS="${APACHE2_OPTS} -f ${CONFIGFILE}"
[ -n "${STARTUPERRORLOG}" ] && APACHE2_OPTS="${APACHE2_OPTS} -E ${STARTUPERRORLOG}"
APACHE2="/usr/sbin/apache2"
}
checkconfig() {
checkconfd || return 1
${APACHE2} ${APACHE2_OPTS} -t 1>/dev/null 2>&1
ret=$?
if [ $ret -ne 0 ]; then
eerror "${SVCNAME} has detected a syntax error in your configuration files:"
${APACHE2} ${APACHE2_OPTS} -t
fi
return $ret
}
start() {
checkconfig || return 1
[ -f /var/log/apache2/ssl_scache ] && rm /var/log/apache2/ssl_scache
ebegin "Starting ${SVCNAME}"
${APACHE2} ${APACHE2_OPTS} -k start
let i=0
while [ ! -e "${PIDFILE}" ] && [ $i -lt ${TIMEOUT} ]; do
sleep 1 && i=$(expr $i + 1)
done
test $i -le ${TIMEOUT}
eend $?
}
stop() {
checkconfd || return 1
ebegin "Stopping ${SVCNAME}"
${APACHE2} ${APACHE2_OPTS} -k stop
let i=0
while pidof "${APACHE2}" >/dev/null && [ $i -lt ${TIMEOUT} ]; do
sleep 1 && i=$(expr $i + 1)
done
test $i -le ${TIMEOUT}
eend $?
}
reload() {
RELOAD_TYPE="${RELOAD_TYPE:-graceful}"
checkconfig || return 1
service_started "${SVCNAME}" || return
if [ "${RELOAD_TYPE}" = "restart" ]; then
ebegin "Restarting ${SVCNAME}"
${APACHE2} ${APACHE2_OPTS} -k restart
eend $?
elif [ "${RELOAD_TYPE}" = "graceful" ]; then
ebegin "Gracefully restarting ${SVCNAME}"
${APACHE2} ${APACHE2_OPTS} -k graceful
eend $?
else
eerror "${RELOAD_TYPE} is not a valid RELOAD_TYPE. Please edit /etc/conf.d/${SVCNAME}"
fi
}
graceful() {
checkconfig || return 1
service_started "${SVCNAME}" || return
ebegin "Gracefully restarting ${SVCNAME}"
${APACHE2} ${APACHE2_OPTS} -k graceful
eend $?
}
gracefulstop() {
checkconfig || return 1
# zap!
if service_started "${SVCNAME}"; then
mark_service_stopped "${SVCNAME}"
fi
ebegin "Gracefully stopping ${SVCNAME}"
${APACHE2} ${APACHE2_OPTS} -k graceful-stop
eend $?
}
modules() {
checkconfig || return 1
${APACHE2} ${APACHE2_OPTS} -M 2>&1
}
fullstatus() {
LYNX="${LYNX:-lynx -dump}"
STATUSURL="${STATUSURL:-http://localhost/server-status}"
if ! service_started "${SVCNAME}"; then
eerror "${SVCNAME} not started"
elif ! type -p ${LYNX} 2>&1 >/dev/null; then
eerror "lynx not found! you need to emerge www-client/lynx"
else
${LYNX} ${STATUSURL}
fi
}
virtualhosts() {
checkconfd || return 1
${APACHE2} ${APACHE2_OPTS} -S
}
configdump() {
LYNX="${LYNX:-lynx -dump}"
INFOURL="${INFOURL:-http://localhost/server-info}"
checkconfd || return 1
if ! service_started "${SVCNAME}"; then
eerror "${SVCNAME} not started"
elif ! type -p ${LYNX} 2>&1 >/dev/null; then
eerror "lynx not found! you need to emerge www-client/lynx"
else
echo "${APACHE2} started with '${APACHE2_OPTS}'"
for i in config server list; do
${LYNX} "${INFOURL}/?${i}" | sed '/Apache Server Information/d;/^[[:space:]]\+[_]\+$/Q'
done
fi
}
# vim: ts=4 filetype=gentoo-init-d

@ -1,332 +0,0 @@
# This is a modification of the default Apache 2.2 configuration file
# for Gentoo Linux.
#
# Support:
# http://www.gentoo.org/main/en/lists.xml [mailing lists]
# http://forums.gentoo.org/ [web forums]
# irc://irc.freenode.net#gentoo-apache [irc chat]
#
# Bug Reports:
# http://bugs.gentoo.org [gentoo related bugs]
# https://httpd.apache.org/bug_report.html [apache httpd related bugs]
#
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:https://httpd.apache.org/docs/2.2> for detailed information.
# In particular, see
# <URL:https://httpd.apache.org/docs/2.2/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path. If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "var/log/apache2/foo_log"
# with ServerRoot set to "/usr" will be interpreted by the
# server as "/usr/var/log/apache2/foo.log".
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# Do not add a slash at the end of the directory path. If you point
# ServerRoot at a non-local disk, be sure to point the LockFile directive
# at a local disk. If you wish to share the same ServerRoot for multiple
# httpd daemons, you will need to change at least LockFile and PidFile.
ServerRoot "/usr/lib/apache2"
# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
#
# Example:
# LoadModule foo_module modules/mod_foo.so
#
# GENTOO: Automatically defined based on APACHE2_MODULES USE_EXPAND variable.
# Do not change manually, it will be overwritten on upgrade.
#
# The following modules are considered as the default configuration.
# If you wish to disable one of them, you may have to alter other
# configuration directives.
#
# Change these at your own risk!
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule auth_basic_module modules/mod_auth_basic.so
<IfDefine AUTH_DIGEST>
LoadModule auth_digest_module modules/mod_auth_digest.so
</IfDefine>
LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule autoindex_module modules/mod_autoindex.so
<IfDefine CACHE>
LoadModule cache_module modules/mod_cache.so
</IfDefine>
LoadModule cgi_module modules/mod_cgi.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule dir_module modules/mod_dir.so
<IfDefine CACHE>
LoadModule disk_cache_module modules/mod_disk_cache.so
</IfDefine>
LoadModule env_module modules/mod_env.so
LoadModule expires_module modules/mod_expires.so
LoadModule ext_filter_module modules/mod_ext_filter.so
<IfDefine CACHE>
LoadModule file_cache_module modules/mod_file_cache.so
</IfDefine>
LoadModule filter_module modules/mod_filter.so
LoadModule headers_module modules/mod_headers.so
LoadModule include_module modules/mod_include.so
<IfDefine INFO>
LoadModule info_module modules/mod_info.so
</IfDefine>
LoadModule log_config_module modules/mod_log_config.so
LoadModule logio_module modules/mod_logio.so
<IfDefine CACHE>
LoadModule mem_cache_module modules/mod_mem_cache.so
</IfDefine>
LoadModule mime_module modules/mod_mime.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule negotiation_module modules/mod_negotiation.so
<IfDefine PROXY>
LoadModule proxy_module modules/mod_proxy.so
</IfDefine>
<IfDefine PROXY>
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
</IfDefine>
<IfDefine PROXY>
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
</IfDefine>
<IfDefine PROXY>
LoadModule proxy_connect_module modules/mod_proxy_connect.so
</IfDefine>
<IfDefine PROXY>
LoadModule proxy_http_module modules/mod_proxy_http.so
</IfDefine>
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule speling_module modules/mod_speling.so
<IfDefine SSL>
LoadModule ssl_module modules/mod_ssl.so
</IfDefine>
<IfDefine STATUS>
LoadModule status_module modules/mod_status.so
</IfDefine>
<IfDefine SUEXEC>
LoadModule suexec_module modules/mod_suexec.so
</IfDefine>
LoadModule unique_id_module modules/mod_unique_id.so
<IfDefine USERDIR>
LoadModule userdir_module modules/mod_userdir.so
</IfDefine>
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
#
# HostnameLookups: Log the names of clients or just their IP addresses
# e.g., www.apache.org (on) or 204.62.129.132 (off).
# The default is off because it'd be overall better for the net if people
# had to knowingly turn this feature on, since enabling it means that
# each client request will result in AT LEAST one lookup request to the
# nameserver.
#
HostnameLookups Off
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
User backuppc
Group backuppc
# Supplemental configuration
#
# Most of the configuration files in the /etc/apache2/modules.d/ directory can
# be turned on using APACHE2_OPTS in /etc/conf.d/apache2 to add extra features
# or to modify the default configuration of the server.
#
# To know which flag to add to APACHE2_OPTS, look at the first line of the
# the file, which will usually be an <IfDefine OPTION> where OPTION is the
# flag to use.
Include /etc/apache2/modules.d/*.conf
# Unique lock file
LockFile /var/lock/apache-backuppc.lock
# Very important for init script
# Unique process ID file
PidFile /var/run/apache-backuppc.pid
# Unique scoreboard file
ScoreBoardFile /var/run/apache-backuppc.scoreboard
# Common document root
<IfDefine BACKUPPC_VHOST>
# Common document root
DocumentRoot HTDOCSDIR
# see bug #178966 why this is in here
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen 80
# Use name-based virtual hosting.
NameVirtualHost *:80
# When virtual hosts are enabled, the main host defined in the default
# httpd.conf configuration will go away. We redefine it here so that it is
# still available.
#
# If you disable this vhost by removing -D DEFAULT_VHOST from
# /etc/conf.d/apache2, the first defined virtual host elsewhere will be
# the default.
<VirtualHost *:80>
ServerName backuppc
# Redirect requests to "/" to the CGI script
RedirectMatch "^/$" /BackupPC_Admin
<IfDefine SSL>
<IfModule ssl_module>
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [R,L]
## SSL Engine Switch:
# Enable/Disable SSL for this virtual host.
SSLEngine on
SSLOptions +StrictRequire
## SSL Cipher Suite:
# List the ciphers that the client is permitted to negotiate.
# See the mod_ssl documentation for a complete list.
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
## Server Certificate:
# Point SSLCertificateFile at a PEM encoded certificate. If the certificate
# is encrypted, then you will be prompted for a pass phrase. Note that a
# kill -HUP will prompt again. Keep in mind that if you have both an RSA
# and a DSA certificate you can configure both in parallel (to also allow
# the use of DSA ciphers, etc.)
SSLCertificateFile /etc/ssl/apache2/server.crt
## Server Private Key:
# If the key is not combined with the certificate, use this directive to
# point at the key file. Keep in mind that if you've both a RSA and a DSA
# private key you can configure both in parallel (to also allow the use of
# DSA ciphers, etc.)
SSLCertificateKeyFile /etc/ssl/apache2/server.key
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
## ssl-accurate-shutdown:
# This forces an accurate shutdown when the connection is closed, i.e. a
# SSL close notify alert is send and mod_ssl waits for the close notify
# alert of the client. This is 100% SSL/TLS standard compliant, but in
# practice often causes hanging connections with brain-dead browsers. Use
# this only for browsers where you know that their SSL implementation works
# correctly.
# Notice: Most problems of broken clients are also related to the HTTP
# keep-alive facility, so you usually additionally want to disable
# keep-alive for those clients, too. Use variable "nokeepalive" for this.
# Similarly, one has to force some clients to use HTTP/1.0 to workaround
# their broken HTTP/1.1 implementation. Use variables "downgrade-1.0" and
# "force-response-1.0" for this.
<IfModule setenvif_module>
BrowserMatch ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</IfModule>
## Per-Server Logging:
# The home of a custom SSL log file. Use this when you want a compact
# non-error SSL logfile on a virtual host basis.
<IfModule log_config_module>
CustomLog /var/log/apache2/ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</IfModule>
</IfModule>
</IfDefine>
<Directory "HTDOCSDIR">
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# https://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
Options Indexes FollowSymLinks
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
AllowOverride None
<IfDefine SSL>
<IfModule ssl_module>
SSLOptions +StdEnvVars
</IfModule>
</IfDefine>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI
Order allow,deny
Allow from all
AuthName "Backup Admin"
AuthType Basic
AuthUserFile AUTHFILE
Require valid-user
</Directory>
<Directory "HTDOCSDIR/image">
SetHandler None
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
<IfModule mpm_peruser_module>
ServerEnvironment backuppc backuppc
</IfModule>
</VirtualHost>
</IfDefine>
# vim: ts=4 filetype=apache

@ -0,0 +1 @@
DIST nitrokey-app-0.6.3.tar.gz 769503 SHA256 6ab756ca34e0deedfe5e99eeb5763a68adc9bafad78ee94b3b9aad2d28fed8c8 SHA512 23960b0ca740a4c9520a3d7043f396ffb6fb730ef28ad44b299aadbb0b7d2fa1a182c38a88fd684fe664c2079c5a03c5a6b8e6ceb7f8ca69a37fb64ef64237a6 WHIRLPOOL 07df2f16ef99b62c2c77ada77a51fed1709da3ec2ebfe95b41ca7ea025be0ba2293cfef1665aab777a30908c95c69cd5e265f17e90719386f059f2cddeb7e2a9

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>soap@gentoo.org</email>
<name>David Seifert</name>
</maintainer>
<upstream>
<remote-id type="github">Nitrokey/nitrokey-app</remote-id>
<bugs-to>https://github.com/Nitrokey/nitrokey-app/issues</bugs-to>
</upstream>
</pkgmetadata>

@ -0,0 +1,36 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit cmake-utils udev
DESCRIPTION="Cross platform personalization tool for the Nitrokey"
HOMEPAGE="https://github.com/Nitrokey/nitrokey-app"
SRC_URI="https://github.com/Nitrokey/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5"
DEPEND="
${RDEPEND}
virtual/pkgconfig"
mycmakeargs=( -DHAVE_LIBAPPINDICATOR=NO )
src_prepare() {
cmake-utils_src_prepare
sed -i "s:DESTINATION lib/udev/rules.d:DESTINATION $(get_udevdir)/rules.d:" \
CMakeLists.txt || die
}
pkg_postinst() {
udev_reload
}

@ -1,6 +1,4 @@
DIST layman-2.0.0.tar.gz 81184 SHA256 5843035ae4cc069693c05cf9821dae3d89d3ea7e2115b8137ea5a4a6c2807f33 SHA512 30756464d71ab1e047036550b6500d7e57999d808ebe3efba1d1ae6c037f8ca777ba704a4981d75a90285133635027a7bc13f1890f34823de33ae991ed99e2da WHIRLPOOL ec362189c4757ee032dc93e079ea0f5b291d5652231a84f1175fb308ca5622882d5008f23fd6a3d5143ff0dc98c91632d19c2e6604dcaa9b6a550bc902d79c1a
DIST layman-2.1.0.tar.gz 94150 SHA256 cb96306c84da1d49ff54a31f7511c62c859565361bd59164516cd2812c439987 SHA512 1fa21392157c811c7751b8e3a11b858308c48720e377871bdd5afc525ebb50a92772064aa1148a4c20e3019f77b676ff65552439a71361d498952e362398c67f WHIRLPOOL 77643bedb4167eb371357444328d439c8b433cfc22a8bf9e39693feb68b701ec158064db8d22da0e6eb5260f27d5604d8b252a67930b38d8bed5921822f71c29
DIST layman-2.2.0.tar.gz 116210 SHA256 4a10cfd3eb354e993886369995ae9b1243418e0370c6aabd4d0ef6c5b387b7a2 SHA512 34cac041d7b64274debdbc42cab079fd3bb3aee511ea9e80db726df0f828207d79a5262788483ced5cbf49924e3aa4f19fe21439c98dceea973d8f83473c2e41 WHIRLPOOL 8c5d3cbbfef35c6294dfac899cb42f49e0761745573721e38b7d6c9ac48031f95bbb961c9d8dd9d309e4672cc1e5b050107ba025a9f28127e5d7d6d9a73a6e9a
DIST layman-2.3.0.tar.gz 119223 SHA256 76559b8e202c012d124deac01b92bbe70b550afe711144a3b1e301c5d8bbd0f2 SHA512 d110fb1781017d87e995098ecb48c4223347323d67534b584a393dc4354b761a6d960fd31e6e6787b5f37fa7e63b357c49486042c7cb527f78dd5beb5373627d WHIRLPOOL 76c82f08b18830e925ffd4c97b490753de2e7d0b3c71a82a0a75fd776ed3af84d2ba2fe06dab25e5e4d2ea400b0f0b66eda65f1f4eded0521ec579a1a0c1b17f
DIST layman-2.4.0.tar.gz 130052 SHA256 0dd9dbcd05b5bf062139308cb812507b2c3310dd81f25c9cdc4c8f643b3f74c8 SHA512 011ac0e7dfed8415b875898ff1eecfe77ba5a68ccac208d8f5c693b9b880355ffef572490bb98ede62092bea1a84298bbd72e6c93a234fdfa319e96551e7eb07 WHIRLPOOL 0fdcd09ef4347f9450897237befd6fa73187a3e5ed0eff6b08345846ff270cd9751a3f38277f7b53baffb3b9a3e18e10f08ebe33c228ed7f7ccd01ce81d05a76
DIST layman-2.4.1.tar.gz 130388 SHA256 545792a15a0a2514c79f1b3090aceef15e413c656f294b6ff84f8a36da7aa2da SHA512 bdb713d4c7d3773129b45a385068278958040759bb564e48cfda4dda9da5224ccaa7833fce3d06151ed1fecddbb6f1a059db6e71534d0e887dff12640af6c806 WHIRLPOOL b6ef18f8f3633e9bb2a08df620306441f8352174dc66f2bbb68613cff0796e0914f7008de4f185167815ba3267c3b63a4fe22d2bcd794f70cd78bc20e706d7d8
DIST layman-2.4.2.tar.gz 137893 SHA256 e84f8b745dd160bacf7b08dfd95b5c6d117dc8721edca370600f29ef0676ff92 SHA512 9d32269f51f896c554e6cbf8a674c50009bce48dd83dfe773b08b75bafd567eb75c26c227ab3a60bc83c1ed511862a3979b8d851befe8ad16fd0847eb91337cf WHIRLPOOL eba1844f2279071947601a8baa9424db24e5bd1ba2d9ac14f90e4ae2c3e0b566dabf10378cf6286225d85d11940add45239df8cb5b150eea227b47223ce65485

@ -1,29 +0,0 @@
From 8f6005fcfb9d2012bba428863f89b6b9168c8226 Mon Sep 17 00:00:00 2001
From: Devan Franchini <twitch153@gentoo.org>
Date: Thu, 22 May 2014 22:57:08 -0400
Subject: [PATCH] updater.py: Fixes incorrect import for make.conf class
X-Gentoo-Bug: 521724
X-Gentoo-Bug-URL: https://bugs.gentoo.org/521724
---
layman/updater.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/layman/updater.py b/layman/updater.py
index 26aeed2..b2187e3 100644
--- a/layman/updater.py
+++ b/layman/updater.py
@@ -155,8 +155,8 @@ class Main(object):
self.output.info(" Creating layman's make.conf file")
# create layman's %(storage)s/make.conf
# so portage won't error
- from layman.makeconf import MakeConf
- maker = MakeConf(self.config, None)
+ from layman.makeconf import ConfigHandler
+ maker = ConfigHandler(self.config, None)
maker.write()
--
1.8.5.5

@ -1,27 +0,0 @@
From d0e5d9120c27f678e9039bb2f65cfc0e457be6c7 Mon Sep 17 00:00:00 2001
From: Douglas Freed <dwfreed@mtu.edu>
Date: Sat, 26 Jul 2014 15:54:11 -0700
Subject: [PATCH] Fix a bug when an overlay isn't in the remote list
If the overlay isn't in the remote list, it obviously isn't a different
type, nor has its URL changed, so just init those to False so we can
sync the overlay without hitting UnboundLocalError.
---
layman/api.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/layman/api.py b/layman/api.py
index a86970f..930f449 100755
--- a/layman/api.py
+++ b/layman/api.py
@@ -426,6 +426,7 @@ class LaymanAPI(object):
message = 'Overlay "%s" could not be found in the remote lists.\n' \
'Please check if it has been renamed and re-add if necessary.' % ovl
warnings.append((ovl, message))
+ (diff_type, update_url) = (False, False)
else:
self.output.debug("API.sync(); else: self._get_remote_db().select(ovl)", 5)
--
1.8.5.5

@ -1,72 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
PYTHON_COMPAT=( python{2_7,3_4} pypy )
PYTHON_REQ_USE="xml(+)"
inherit eutils distutils-r1 prefix
DESCRIPTION="Tool to manage Gentoo overlays"
HOMEPAGE="http://layman.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="bazaar cvs darcs +git mercurial subversion test"
DEPEND="test? ( dev-vcs/subversion )"
RDEPEND="
bazaar? ( dev-vcs/bzr )
cvs? ( dev-vcs/cvs )
darcs? ( dev-vcs/darcs )
git? ( dev-vcs/git )
mercurial? ( dev-vcs/mercurial )
subversion? (
|| (
>=dev-vcs/subversion-1.5.4[http]
>=dev-vcs/subversion-1.5.4[webdav-neon]
>=dev-vcs/subversion-1.5.4[webdav-serf]
)
)
sys-apps/portage[${PYTHON_USEDEP}]
>=dev-python/ssl-fetch-0.2[${PYTHON_USEDEP}]
"
python_prepare_all() {
distutils-r1_python_prepare_all
epatch "${FILESDIR}"/${P}-local_overlay.patch
epatch "${FILESDIR}"/${P}-incorrect-import-make-conf-fix.patch
eprefixify etc/layman.cfg layman/config.py
}
python_test() {
for suite in layman/tests/{dtest,external}.py ; do
PYTHONPATH="." "${PYTHON}" ${suite} \
|| die "test suite '${suite}' failed"
done
}
python_install_all() {
distutils-r1_python_install_all
insinto /etc/layman
doins etc/layman.cfg
doman doc/layman.8
dohtml doc/layman.8.html
keepdir /var/lib/layman
keepdir /etc/layman/overlays
}
pkg_postinst() {
# now run layman's update utility
einfo "Running layman-updater..."
"${EROOT}"/usr/bin/layman-updater
einfo
}

@ -1,93 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
PYTHON_REQ_USE="xml(+)"
inherit eutils distutils-r1 linux-info prefix
DESCRIPTION="Tool to manage Gentoo overlays"
HOMEPAGE="http://layman.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86"
IUSE="bazaar cvs darcs +git gpg g-sorcery mercurial squashfs subversion sync-plugin-portage test"
DEPEND="test? ( dev-vcs/subversion )
>=dev-python/ssl-fetch-0.2[${PYTHON_USEDEP}]
"
RDEPEND="
bazaar? ( dev-vcs/bzr )
cvs? ( dev-vcs/cvs )
darcs? ( dev-vcs/darcs )
git? ( dev-vcs/git )
mercurial? ( dev-vcs/mercurial )
g-sorcery? ( app-portage/g-sorcery )
subversion? (
|| (
>=dev-vcs/subversion-1.5.4[http]
>=dev-vcs/subversion-1.5.4[webdav-neon]
>=dev-vcs/subversion-1.5.4[webdav-serf]
)
)
sync-plugin-portage? ( >=sys-apps/portage-2.2.16[${PYTHON_USEDEP}] )
!sync-plugin-portage? ( sys-apps/portage[${PYTHON_USEDEP}] )
gpg? ( dev-python/pyGPG )
>=dev-python/ssl-fetch-0.2[${PYTHON_USEDEP}]
"
layman_check_kernel_config() {
local CONFIG_CHECK
use squashfs && CONFIG_CHECK+=" ~BLK_DEV_LOOP ~SQUASHFS"
[[ -n ${CONFIG_CHECK} ]] && check_extra_config
}
pkg_pretend() {
layman_check_kernel_config
}
pkg_setup() {
layman_check_kernel_config
}
python_prepare_all() {
python_setup
esetup.py setup_plugins
distutils-r1_python_prepare_all
#rm "${S}"/"${PN}"/tests/dtest.py
epatch "${FILESDIR}"/${P}-dir_check.patch
eprefixify etc/layman.cfg layman/config.py
}
python_test() {
for suite in layman/tests/external.py ; do
PYTHONPATH="." "${PYTHON}" ${suite} \
|| die "test suite '${suite}' failed"
done
}
python_install_all() {
distutils-r1_python_install_all
insinto /etc/layman
doins etc/layman.cfg
doman doc/layman.8
dohtml doc/layman.8.html
keepdir /var/lib/layman
keepdir /etc/layman/overlays
}
pkg_postinst() {
# now run layman's update utility
einfo "Running layman-updater..."
"${EROOT}"/usr/bin/layman-updater
einfo
}

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -35,7 +35,7 @@ RDEPEND="
>=dev-vcs/subversion-1.5.4[webdav-serf]
)
)
gpg? ( =dev-python/pyGPG-0.2 )
gpg? ( >=dev-python/pyGPG-0.2 )
sync-plugin-portage? ( >=sys-apps/portage-2.2.16[${PYTHON_USEDEP}] )
!sync-plugin-portage? ( sys-apps/portage[${PYTHON_USEDEP}] )
>=dev-python/ssl-fetch-0.4[${PYTHON_USEDEP}]

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -35,12 +35,13 @@ RDEPEND="
>=dev-vcs/subversion-1.5.4[webdav-serf]
)
)
gpg? ( =dev-python/pyGPG-0.2 )
gpg? ( >=dev-python/pyGPG-0.2 )
sync-plugin-portage? ( >=sys-apps/portage-2.2.16[${PYTHON_USEDEP}] )
!sync-plugin-portage? ( sys-apps/portage[${PYTHON_USEDEP}] )
>=dev-python/ssl-fetch-0.4[${PYTHON_USEDEP}]
"
layman_check_kernel_config() {
local CONFIG_CHECK
use squashfs && CONFIG_CHECK+=" ~BLK_DEV_LOOP ~SQUASHFS"

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -37,7 +37,7 @@ RDEPEND="
>=dev-vcs/subversion-1.5.4[webdav-serf]
)
)
gpg? ( =dev-python/pyGPG-9999 )
gpg? ( >=dev-python/pyGPG-0.2 )
sync-plugin-portage? ( >=sys-apps/portage-2.2.16[${PYTHON_USEDEP}] )
!sync-plugin-portage? ( sys-apps/portage[${PYTHON_USEDEP}] )
>=dev-python/ssl-fetch-0.4[${PYTHON_USEDEP}]

@ -3,3 +3,4 @@ DIST eigen-3.2.10.tar.bz2 1168527 SHA256 760e6656426fde71cc48586c971390816f456d3
DIST eigen-3.2.8.tar.bz2 1161201 SHA256 722a63d672b70f39c271c5e2a4a43ba14d12015674331790414fcb167c357e55 SHA512 53c27ba530c985dfef52188e03273eeef33abbc67e3f150cacd3371c8b9ddbd399228730595821c4c56c061d109cf509266c1dab2b8a7c730902cbd6fb18c100 WHIRLPOOL 75e54f5620299f49a540483b0b4163e3cf6c48695f30f5e258343925cb488c3915588862a3fbe2341b5dbe17ea20756409265000f19ea2f45e7706837cb2488a
DIST eigen-3.2.9.tar.bz2 1163762 SHA256 4d1e036ec1ed4f4805d5c6752b76072d67538889f4003fadf2f6e00a825845ff SHA512 2734ce70e0b04dc5839715a3cc9b8f90e05b341cfca42a7d586df213a9a14fe5642c76ccf36c16d020ae167c0d6e4d5cc306f0b3bf1f519c58372b0736ca7e63 WHIRLPOOL 7caba7b0676bc5dc203c8d8b5f57fc3a31a95171ddbb63b21ba8c84e58e5c5fde242d232299183e41886e970c3ea84bce821d506b6c32526ae44703ee3a599f9
DIST eigen-3.3.1.tar.bz2 1638315 SHA256 a0b4cebaabd8f371d1b364f9723585fbcc7c9640ca60273b99835e6cf115f056 SHA512 d679bc04279bad351a35caeb04c4a95ebdd7d69153209573603e0c4c1d15b0c4d23d74f8651928ad04d7f03ad132fa7184d662801be75f58be38fd78802c7724 WHIRLPOOL abbd43be2121aa43192b007f9ed3471fe163fbe71a41a0c0ef61308e96e7c52767c1900dca29b855c8358fc0390630f9bb0deddfb0c951782cbd5499dc53103f
DIST eigen-3.3.2.tar.bz2 1639615 SHA256 3e1fa6e8c45635938193f84fee6c35a87fac26ee7c39c68c230e5080c4a8fe98 SHA512 a1e1894eba8139a52a5cae33cd880e886352bed11af39a997ba65b0cd24f76c275ea54381f37db10dc54db4257c9485e7f8692c9f27a25be08f0fe1c03290d0a WHIRLPOOL ecf12c5780830ee133e477b9805dbbff6b933c815dd65242404366a013152ad4dfbf829f5a33692e97f0654e598ddcc06c0b8cd7d125dcf80644437a7016b720

@ -61,6 +61,10 @@ src_prepare() {
|| die "sed disable unused bundles failed"
if ! use test; then
sed -i CMakeLists.txt \
-e "/add_subdirectory(test/d" \
|| die "sed disable tests failed"
sed -i CMakeLists.txt \
-e "/add_subdirectory(blas/d" \
-e "/add_subdirectory(lapack/d" \
@ -81,7 +85,6 @@ src_compile() {
src_test() {
local mycmakeargs=(
-DEIGEN_BUILD_TESTS=ON
-DEIGEN_TEST_ALTIVEC="$(usex altivec)"
-DEIGEN_TEST_CXX11="$(usex c++11)"
-DEIGEN_TEST_CUDA="$(usex cuda)"

@ -0,0 +1,116 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
FORTRAN_NEEDED="test"
inherit cmake-utils cuda fortran-2
DESCRIPTION="C++ template library for linear algebra"
HOMEPAGE="http://eigen.tuxfamily.org/"
SRC_URI="https://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
LICENSE="LGPL-2 GPL-3"
SLOT="3"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="altivec c++11 cuda debug doc neon openmp test" #zvector vsx
IUSE_CPU_FLAGS=" avx avx2 f16c fma3 sse2 sse3 sse4_1 sse4_2 ssse3" #x87
IUSE+=" ${IUSE_CPU_FLAGS// / cpu_flags_x86_}"
RDEPEND="!dev-cpp/eigen:0"
DEPEND="
doc? ( app-doc/doxygen[dot,latex] )
test? (
dev-libs/gmp:0
dev-libs/mpfr:0
media-libs/freeglut
media-libs/glew
sci-libs/adolc
sci-libs/cholmod
sci-libs/fftw:3.0
sci-libs/pastix
sci-libs/umfpack
sci-libs/scotch
sci-libs/spqr
sci-libs/superlu
dev-qt/qtcore:4
virtual/opengl
virtual/pkgconfig
cuda? ( dev-util/nvidia-cuda-toolkit )
)
"
# Missing:
# METIS-5
# GOOGLEHASH
src_unpack() {
default
mv ${PN}* ${P} || die
}
src_prepare() {
sed \
-e 's:-g2::g' \
-i cmake/EigenConfigureTesting.cmake || die
sed -i CMakeLists.txt \
-e "/add_subdirectory(demos/d" \
|| die "sed disable unused bundles failed"
if ! use test; then
sed -i CMakeLists.txt \
-e "/add_subdirectory(test/d" \
|| die "sed disable tests failed"
sed -i CMakeLists.txt \
-e "/add_subdirectory(blas/d" \
-e "/add_subdirectory(lapack/d" \
|| die "sed disable unused bundles failed"
fi
sed -i -e "/Unknown build type/d" CMakeLists.txt || die
use cuda && cuda_src_prepare
cmake-utils_src_prepare
}
src_compile() {
cmake-utils_src_compile
use doc && cmake-utils_src_compile doc
}
src_test() {
local mycmakeargs=(
-DEIGEN_TEST_ALTIVEC="$(usex altivec)"
-DEIGEN_TEST_CXX11="$(usex c++11)"
-DEIGEN_TEST_CUDA="$(usex cuda)"
-DEIGEN_TEST_OPENMP="$(usex openmp)"
-DEIGEN_TEST_AVX="$(usex cpu_flags_x86_avx)"
-DEIGEN_TEST_AVX512="$(usex cpu_flags_x86_avx2)"
-DEIGEN_TEST_F16C="$(usex cpu_flags_x86_f16c)"
-DEIGEN_TEST_FMA="$(usex cpu_flags_x86_fma3)"
-DEIGEN_TEST_SSE3="$(usex cpu_flags_x86_sse3)"
-DEIGEN_TEST_SSE4_1="$(usex cpu_flags_x86_sse4_1)"
-DEIGEN_TEST_SSE4_2="$(usex cpu_flags_x86_sse4_2)"
-DEIGEN_TEST_SSSE3="$(usex cpu_flags_x86_ssse3)"
-DEIGEN_TEST_NEON64="$(usex neon)"
# -DEIGEN_TEST_X87="$(usex cpu_flags_x86_x87)"
)
cmake-utils_src_configure
cmake-utils_src_compile blas
cmake-utils_src_compile buildtests
cmake-utils_src_test
}
src_install() {
cmake-utils_src_install
use doc && dodoc -r "${BUILD_DIR}"/doc/html
# Debian installs it and some projects started using it.
insinto /usr/share/cmake/Modules/
doins "${S}/cmake/FindEigen3.cmake"
}

@ -1 +1,2 @@
DIST tbb2017_20161128oss_src.tgz 2965854 SHA256 c009166233c8ea0e34530a1c5f870b79314316d19e6876b37a7e7c854080a540 SHA512 3c48ce196d2d3557e86cea7ede9dea456bbaeb29dbed34210f99c6f380406403a6056ccfa3d5befe6b29c4f8a9ee58ca6da545249cf4ec4ec85b463e04e4518c WHIRLPOOL d1ce8d07ac002c617afa7c0aa1d5cad41928a6eefd064a744b4efdd0192dd310ad8cb32b949858a7c2c44211477deffc05dbd65e8101184d4cae26744143b922
DIST tbb43_20150611oss_src.tgz 2757631 SHA256 221f85fe64e11c9638e43b3c57d5750c26683905fc90827c0bcfefdb286e79c9 SHA512 83d5d827706b774ef5cd6df8082e5d7f48683388684423bb40565dfc25892fc2e57c382f719b78087d83e51edb3f7f7215f33d8b5039b55c32788d80efa6e0b8 WHIRLPOOL 8e98162b2307c759fb26923d76ab784dea81e166c8bf5323869d234da59641c333e5ae30b4a224bccbf20d4f5f6b75c658589f519a165ea3ad7658322f148c72

@ -0,0 +1,193 @@
diff --git a/build/FreeBSD.gcc.inc b/build/FreeBSD.gcc.inc
index e93f8f4..2b43c51 100644
--- a/build/FreeBSD.gcc.inc
+++ b/build/FreeBSD.gcc.inc
@@ -28,8 +28,8 @@ WARNING_KEY = -Wall
DYLIB_KEY = -shared
WARNING_SUPPRESS = -Wno-parentheses
-CPLUS = g++
-CONLY = gcc
+CPLUS = $(CXX)
+CONLY = $(CC)
LIB_LINK_FLAGS = -shared
LIBS = -lpthread
C_FLAGS = $(CPLUS_FLAGS)
@@ -42,7 +42,7 @@ ifneq (,$(shell gcc -dumpversion | egrep "^([6-9])"))
endif
ifeq ($(cfg), release)
- CPLUS_FLAGS = -g -O2 -DUSE_PTHREAD
+ CPLUS_FLAGS = -g -DUSE_PTHREAD
endif
ifeq ($(cfg), debug)
CPLUS_FLAGS = -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD
@@ -59,22 +59,12 @@ ifeq (ia64,$(arch))
CPLUS_FLAGS += $(PIC_KEY)
endif
-ifeq (intel64,$(arch))
- CPLUS_FLAGS += -m64
- LIB_LINK_FLAGS += -m64
-endif
-
-ifeq (ia32,$(arch))
- CPLUS_FLAGS += -m32
- LIB_LINK_FLAGS += -m32
-endif
-
#------------------------------------------------------------------------------
# Setting assembler data.
#------------------------------------------------------------------------------
ASSEMBLY_SOURCE=$(arch)-gas
ifeq (ia64,$(arch))
- ASM=as
+ ASM=$(AS)
TBB_ASM.OBJ = atomic_support.o lock_byte.o log2.o pause.o
MALLOC_ASM.OBJ = atomic_support.o lock_byte.o pause.o
endif
diff --git a/build/linux.clang.inc b/build/linux.clang.inc
index 237caae..8d6914e 100644
--- a/build/linux.clang.inc
+++ b/build/linux.clang.inc
@@ -31,15 +31,15 @@ DYLIB_KEY = -shared
EXPORT_KEY = -Wl,--version-script,
LIBDL = -ldl
-CPLUS = clang++
-CONLY = clang
+CPLUS := $(CXX)
+CONLY := $(CC)
LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY)
LIBS += -lpthread -lrt
LINK_FLAGS = -Wl,-rpath-link=. -rdynamic
C_FLAGS = $(CPLUS_FLAGS)
ifeq ($(cfg), release)
- CPLUS_FLAGS = $(ITT_NOTIFY) -g -O2 -DUSE_PTHREAD
+ CPLUS_FLAGS = $(ITT_NOTIFY) -g -DUSE_PTHREAD
endif
ifeq ($(cfg), debug)
CPLUS_FLAGS = -DTBB_USE_DEBUG $(ITT_NOTIFY) -g -O0 -DUSE_PTHREAD
@@ -60,24 +60,10 @@ MALLOC_ASM.OBJ=
ifeq (intel64,$(arch))
ITT_NOTIFY = -DDO_ITT_NOTIFY
- CPLUS_FLAGS += -m64
- LIB_LINK_FLAGS += -m64
endif
ifeq (ia32,$(arch))
ITT_NOTIFY = -DDO_ITT_NOTIFY
- CPLUS_FLAGS += -m32 -march=pentium4
- LIB_LINK_FLAGS += -m32
-endif
-
-ifeq (ppc64,$(arch))
- CPLUS_FLAGS += -m64
- LIB_LINK_FLAGS += -m64
-endif
-
-ifeq (ppc32,$(arch))
- CPLUS_FLAGS += -m32
- LIB_LINK_FLAGS += -m32
endif
ifeq (bg,$(arch))
@@ -89,12 +75,6 @@ endif
# Setting assembler data.
#------------------------------------------------------------------------------
ASM = as
-ifeq (intel64,$(arch))
- ASM_FLAGS += --64
-endif
-ifeq (ia32,$(arch))
- ASM_FLAGS += --32
-endif
ifeq ($(cfg),debug)
ASM_FLAGS += -g
endif
diff --git a/build/linux.gcc.inc b/build/linux.gcc.inc
index b7ed0c5..a8e8f85 100644
--- a/build/linux.gcc.inc
+++ b/build/linux.gcc.inc
@@ -32,12 +32,12 @@ DYLIB_KEY = -shared
EXPORT_KEY = -Wl,--version-script,
LIBDL = -ldl
-CPLUS = g++
-CONLY = gcc
+CPLUS := $(CXX)
+CONLY := $(CC)
LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY)
LIBS += -lpthread -lrt
LINK_FLAGS = -Wl,-rpath-link=. -rdynamic
-C_FLAGS = $(CPLUS_FLAGS)
+C_FLAGS := $(CPLUS_FLAGS)
# gcc 4.2 and higher support OpenMP
ifneq (,$(shell gcc -dumpversion | egrep "^(4\.[2-9]|[5-9])"))
@@ -68,7 +68,7 @@ ifneq (,$(shell gcc -dumpversion | egrep "^([6-9])"))
endif
ifeq ($(cfg), release)
- CPLUS_FLAGS = $(ITT_NOTIFY) -g -O2 -DUSE_PTHREAD
+ CPLUS_FLAGS = $(ITT_NOTIFY) -g -DUSE_PTHREAD
endif
ifeq ($(cfg), debug)
CPLUS_FLAGS = -DTBB_USE_DEBUG $(ITT_NOTIFY) -g -O0 -DUSE_PTHREAD
@@ -84,24 +84,12 @@ endif
ifeq (intel64,$(arch))
ITT_NOTIFY = -DDO_ITT_NOTIFY
- CPLUS_FLAGS += -m64 $(RTM_KEY)
- LIB_LINK_FLAGS += -m64
+ CPLUS_FLAGS += $(RTM_KEY)
endif
ifeq (ia32,$(arch))
ITT_NOTIFY = -DDO_ITT_NOTIFY
- CPLUS_FLAGS += -m32 -march=pentium4 $(RTM_KEY)
- LIB_LINK_FLAGS += -m32
-endif
-
-ifeq (ppc64,$(arch))
- CPLUS_FLAGS += -m64
- LIB_LINK_FLAGS += -m64
-endif
-
-ifeq (ppc32,$(arch))
- CPLUS_FLAGS += -m32
- LIB_LINK_FLAGS += -m32
+ CPLUS_FLAGS += $(RTM_KEY)
endif
ifeq (bg,$(arch))
@@ -109,12 +97,6 @@ ifeq (bg,$(arch))
CONLY = $(firstword $(notdir $(shell which powerpc{64,32,}-bg{z..a}-linux-gcc 2>/dev/null)))
endif
-# for some gcc versions on Solaris, -m64 may imply V9, but perhaps not everywhere (TODO: verify)
-ifeq (sparc,$(arch))
- CPLUS_FLAGS += -mcpu=v9 -m64
- LIB_LINK_FLAGS += -mcpu=v9 -m64
-endif
-
# automatically generate "IT" instructions when compiling for Thumb ISA
ifeq (armv7,$(arch))
CPLUS_FLAGS += -Wa,-mimplicit-it=thumb
@@ -123,13 +105,7 @@ endif
#------------------------------------------------------------------------------
# Setting assembler data.
#------------------------------------------------------------------------------
-ASM = as
-ifeq (intel64,$(arch))
- ASM_FLAGS += --64
-endif
-ifeq (ia32,$(arch))
- ASM_FLAGS += --32
-endif
+ASM := $(AS)
ifeq ($(cfg),debug)
ASM_FLAGS += -g
endif

@ -0,0 +1,15 @@
https://bugs.gentoo.org/show_bug.cgi?id=418447
--- a/build/Makefile.test
+++ b/build/Makefile.test
@@ -44,8 +44,8 @@
USE_PROXY_FLAG = $(DEFINE_KEY)HARNESS_USE_PROXY
CPLUS_FLAGS += $(USE_PROXY_FLAG)
LINK_TBB.LIB = $(PROXY.LIB)
- LIBS += $(LIBDL)
-endif
+endif
+LIBS += $(LIBDL)
TEST_SUFFIXES=secondary compiler_builtins pic
include $(tbb_root)/build/common_rules.inc

@ -0,0 +1,145 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit eutils flag-o-matic multilib-minimal toolchain-funcs versionator
PV1="$(get_version_component_range 1)"
PV2="$(get_version_component_range 2)"
MYP="${PN}${PV1}_${PV2}oss"
DESCRIPTION="High level abstract threading library"
HOMEPAGE="http://www.threadingbuildingblocks.org/"
SRC_URI="http://threadingbuildingblocks.org/sites/default/files/software_releases/source/${MYP}_src.tgz"
LICENSE="GPL-2-with-exceptions"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
IUSE="debug doc examples"
DEPEND=""
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MYP}"
PATCHES=(
"${FILESDIR}"/${P}-underlinking.patch
"${FILESDIR}"/${P}-build.patch
)
src_prepare() {
default
find include -name \*.html -delete || die
# Give it a soname on FreeBSD
echo 'LIB_LINK_FLAGS += -Wl,-soname=$(BUILDING_LIBRARY)' >> build/FreeBSD.gcc.inc
# Set proper versionning on FreeBSD
sed -i -e '/.DLL =/s/$/.1/' build/FreeBSD.inc || die
use debug || sed -i -e '/_debug/d' Makefile
}
multilib_src_configure() {
# pc files are for debian and fedora compatibility
# some deps use them
cat <<-EOF > ${PN}.pc.template
prefix=${EPREFIX}/usr
libdir=\${prefix}/$(get_libdir)
includedir=\${prefix}/include
Name: ${PN}
Description: ${DESCRIPTION}
Version: ${PV}
URL: ${HOMEPAGE}
Cflags: -I\${includedir}
EOF
cp ${PN}.pc.template ${PN}.pc || die
cat <<-EOF >> ${PN}.pc
Libs: -L\${libdir} -ltbb
Libs.private: -lm -lrt
EOF
cp ${PN}.pc.template ${PN}malloc.pc || die
cat <<-EOF >> ${PN}malloc.pc
Libs: -L\${libdir} -ltbbmalloc
Libs.private: -lm -lrt
EOF
cp ${PN}.pc.template ${PN}malloc_proxy.pc || die
cat <<-EOF >> ${PN}malloc_proxy.pc
Libs: -L\${libdir} -ltbbmalloc_proxy
Libs.private: -lrt
Requires: tbbmalloc
EOF
}
local_src_compile() {
cd "${S}"
local comp arch
case ${MULTILIB_ABI_FLAG} in
abi_x86_64) arch=x86_64 ;;
abi_x86_32) arch=ia32 ;;
abi_ppc_64) arch=ppc64 ;;
abi_ppc_32) arch=ppc32 ;;
esac
case "$(tc-getCXX)" in
*g++*) comp="gcc" ;;
*ic*c) comp="icc" ;;
*clang*) comp="clang" ;;
*) die "compiler $(tc-getCXX) not supported by build system" ;;
esac
CXX="$(tc-getCXX)" \
CC="$(tc-getCC)" \
AS="$(tc-getAS)" \
arch=${arch} \
CPLUS_FLAGS="${CXXFLAGS}" \
emake compiler=${comp} work_dir="${BUILD_DIR}" tbb_root="${S}" $@
}
multilib_src_compile() {
local_src_compile tbb tbbmalloc
}
multilib_src_test() {
CXXFLAGS="${CXXFLAGS} -fabi-version=4" \
local_src_compile -j1 test
}
multilib_src_install() {
local bt
local buildtypes
if use debug ; then
buildtypes="release debug"
else
buildtypes="release"
fi
for bt in ${buildtypes}; do
cd "${BUILD_DIR}_${bt}" || die
local l
for l in $(find . -name lib\*.so.\*); do
dolib.so ${l}
local bl=$(basename ${l})
dosym ${bl} /usr/$(get_libdir)/${bl%.*}
done
done
cd "${BUILD_DIR}" || die
insinto /usr/$(get_libdir)/pkgconfig
doins *.pc
}
multilib_src_install_all() {
doheader -r include/*
dodoc README CHANGES doc/Release_Notes.txt
use doc && dohtml -r doc/html/*
if use examples ; then
insinto /usr/share/doc/${PF}/examples/build
doins build/*.inc
insinto /usr/share/doc/${PF}/examples
doins -r examples
fi
}

@ -10,3 +10,4 @@ DIST go-linux-ppc64le-bootstrap.tbz 50134685 SHA256 ca816a3e3cbd7721200522fa3984
DIST go-linux-s390x-bootstrap.tbz 49809007 SHA256 80a87bc5ac2239c99f8d7425fbc6f4fefba63f549b0835505c25378c08114656 SHA512 1b7500e6c42508b6cb07214620070065262349d2cd3698deeac0638d0bf0bfeb89c59c2d72a284af34f3071b4cfb9ce543c5fdec7add4a46adc9580295909439 WHIRLPOOL d3782cb515ab67720105224e02d96ab1ca86518db661719b2d0f7c48aa1f4f896a7cc5fed5b6ddc032c8206e8a10c6262646be0e59def61723936044d6ceb143
DIST go-solaris-amd64-bootstrap.tbz 48367195 SHA256 92ebdbf001f243a78a6c2d8ee30e929ba2cecbedf8e0fc07e129b04b107453ad SHA512 cf8725db0d001d61badee71624799a3c9e75f61f77ab090c1f6c490d694c4be367019b28d88306045d877ab5a324a1f9b0674293caf3acb19c193fc3746a48f2 WHIRLPOOL 672c6642e340b6d4f38b633f67fdc3202e3725022a8a61e2129276fccd6c42ddc24ed06c1d57eb31a25ea8056b79686619cbb36431b9c23b6d4be5bcb715bd89
DIST go1.7.4.src.tar.gz 14198817 SHA256 4c189111e9ba651a2bb3ee868aa881fab36b2f2da3409e80885ca758a6b614cc SHA512 dc9950c3ea7100e536ad58fd93505d584276b7c50d4b8fe2ba7f20fd043dcf0d315b735c48945302055e91517594cc2b0061ccec9478a8ab48f1f2836c20afb3 WHIRLPOOL 054f496555dd30e0ba6a3c449b915ea048d5f85f1cf6d2ef6e8aa84939b6e9674b30cfccee99d050c5d75d028cf43d83bf0267703ffb02dfc5bc780fd0a1706f
DIST go1.7.5.src.tar.gz 14204325 SHA256 4e834513a2079f8cbbd357502cccaac9507fd00a1efe672375798858ff291815 SHA512 2dda0780a8b24d71fec4ddeb6858c58a42845f51d9afc171d924a7b763101878cc7f29ae1dd35f129b4ee45b84d45211093a1d20639745fed36b49fb7fe1ba07 WHIRLPOOL b28ab10558d9f8fba87d5db2c839a84eab0b61244d75f4b3d42b443365ca8a1ae1c60c2e1073ef2b4a854d957c26111fcc286b7caae4be892e6cba0e4b24e21d

@ -0,0 +1,222 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
export CBUILD=${CBUILD:-${CHOST}}
export CTARGET=${CTARGET:-${CHOST}}
MY_PV=${PV/_/}
inherit toolchain-funcs
BOOTSTRAP_DIST="https://dev.gentoo.org/~williamh/dist"
SRC_URI="!gccgo? (
kernel_Darwin? (
x64-macos? ( ${BOOTSTRAP_DIST}/go-darwin-amd64-bootstrap.tbz )
)
kernel_FreeBSD? (
amd64-fbsd? ( ${BOOTSTRAP_DIST}/go-freebsd-amd64-bootstrap.tbz )
x86-fbsd? ( ${BOOTSTRAP_DIST}/go-freebsd-386-bootstrap-1.tbz )
)
kernel_linux? (
amd64? ( ${BOOTSTRAP_DIST}/go-linux-amd64-bootstrap.tbz )
arm? ( ${BOOTSTRAP_DIST}/go-linux-arm-bootstrap.tbz )
arm64? ( ${BOOTSTRAP_DIST}/go-linux-arm64-bootstrap.tbz )
ppc64? (
${BOOTSTRAP_DIST}/go-linux-ppc64-bootstrap.tbz
${BOOTSTRAP_DIST}/go-linux-ppc64le-bootstrap.tbz
)
s390? ( ${BOOTSTRAP_DIST}/go-linux-s390x-bootstrap.tbz )
x86? ( ${BOOTSTRAP_DIST}/go-linux-386-bootstrap-1.tbz )
)
kernel_SunOS? (
x64-solaris? ( ${BOOTSTRAP_DIST}/go-solaris-amd64-bootstrap.tbz )
)
)
"
if [[ ${PV} = 9999 ]]; then
EGIT_REPO_URI="git://github.com/golang/go.git"
inherit git-r3
else
SRC_URI+="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz"
case ${PV} in
*9999*|*_rc*) ;;
*)
KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x64-solaris"
;;
esac
fi
DESCRIPTION="A concurrent garbage collected and typesafe programming language"
HOMEPAGE="http://www.golang.org"
LICENSE="BSD"
SLOT="0/${PV}"
IUSE="gccgo"
DEPEND="gccgo? ( >=sys-devel/gcc-5[go] )"
RDEPEND="!<dev-go/go-tools-0_pre20150902"
# These test data objects have writable/executable stacks.
QA_EXECSTACK="usr/lib/go/src/debug/elf/testdata/*.obj"
# Do not complain about CFLAGS, etc, since Go doesn't use them.
QA_FLAGS_IGNORED='.*'
REQUIRES_EXCLUDE="/usr/lib/go/src/debug/elf/testdata/*"
# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
# The go language uses *.a files which are _NOT_ libraries and should not be
# stripped. The test data objects should also be left alone and unstripped.
STRIP_MASK="/usr/lib/go/pkg/*.a
/usr/lib/go/src/debug/elf/testdata/*
/usr/lib/go/src/debug/dwarf/testdata/*
/usr/lib/go/src/runtime/race/*.syso"
if [[ ${PV} != 9999 ]]; then
S="${WORKDIR}"/go
fi
go_arch()
{
# By chance most portage arch names match Go
local portage_arch=$(tc-arch $@)
case "${portage_arch}" in
x86) echo 386;;
x64-*) echo amd64;;
ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo ppc64le ;;
s390) echo s390x ;;
*) echo "${portage_arch}";;
esac
}
go_arm()
{
case "${1:-${CHOST}}" in
armv5*) echo 5;;
armv6*) echo 6;;
armv7*) echo 7;;
*)
die "unknown GOARM for ${1:-${CHOST}}"
;;
esac
}
go_os()
{
case "${1:-${CHOST}}" in
*-linux*) echo linux;;
*-darwin*) echo darwin;;
*-freebsd*) echo freebsd;;
*-netbsd*) echo netbsd;;
*-openbsd*) echo openbsd;;
*-solaris*) echo solaris;;
*-cygwin*|*-interix*|*-winnt*)
echo windows
;;
*)
die "unknown GOOS for ${1:-${CHOST}}"
;;
esac
}
go_tuple()
{
echo "$(go_os $@)_$(go_arch $@)"
}
go_cross_compile()
{
[[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
}
pkg_pretend()
{
# make.bash does not understand cross-compiling a cross-compiler
if [[ $(go_tuple) != $(go_tuple ${CTARGET}) ]]; then
die "CHOST CTARGET pair unsupported: CHOST=${CHOST} CTARGET=${CTARGET}"
fi
}
src_unpack()
{
if [[ ${PV} = 9999 ]]; then
git-r3_src_unpack
fi
default
}
src_compile()
{
export GOROOT_BOOTSTRAP="${WORKDIR}"/go-$(go_os)-$(go_arch)-bootstrap
if use gccgo; then
mkdir -p "${GOROOT_BOOTSTRAP}/bin" || die
local go_binary=$(gcc-config --get-bin-path)/go-5
[[ -x ${go_binary} ]] || go_binary=$(
find "${EPREFIX}"/usr/${CHOST}/gcc-bin/*/go-5 | sort -V | tail -n1)
[[ -x ${go_binary} ]] || die "go-5: command not found"
ln -s "${go_binary}" "${GOROOT_BOOTSTRAP}/bin/go" || die
fi
export GOROOT_FINAL="${EPREFIX}"/usr/lib/go
export GOROOT="$(pwd)"
export GOBIN="${GOROOT}/bin"
# Go's build script does not use BUILD/HOST/TARGET consistently. :(
export GOHOSTARCH=$(go_arch ${CBUILD})
export GOHOSTOS=$(go_os ${CBUILD})
export CC=$(tc-getBUILD_CC)
export GOARCH=$(go_arch)
export GOOS=$(go_os)
export CC_FOR_TARGET=$(tc-getCC)
export CXX_FOR_TARGET=$(tc-getCXX)
if [[ ${ARCH} == arm ]]; then
export GOARM=$(go_arm)
fi
elog "GOROOT_BOOTSTRAP is ${GOROOT_BOOTSTRAP}"
cd src
./make.bash || die "build failed"
}
src_test()
{
go_cross_compile && return 0
cd src
PATH="${GOBIN}:${PATH}" \
./run.bash -no-rebuild || die "tests failed"
}
src_install()
{
local bin_path f x
dodir /usr/lib/go
insinto /usr/lib/go
# There is a known issue which requires the source tree to be installed [1].
# Once this is fixed, we can consider using the doc use flag to control
# installing the doc and src directories.
# [1] https://golang.org/issue/2775
doins -r bin doc lib pkg src
fperms -R +x /usr/lib/go/bin /usr/lib/go/pkg/tool
cp -a misc "${D}"/usr/lib/go/misc
if go_cross_compile; then
bin_path="bin/$(go_tuple)"
else
bin_path=bin
fi
for x in ${bin_path}/*; do
f=${x##*/}
dosym ../lib/go/${bin_path}/${f} /usr/bin/${f}
done
dodoc AUTHORS CONTRIBUTORS PATENTS README.md
}

@ -18,7 +18,7 @@ if [[ ${PV} == "9999" ]]; then
inherit git-r3
else
SRC_URI="https://github.com/edenhill/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="amd64 ~arm ~hppa x86"
KEYWORDS="amd64 ~arm hppa x86"
fi
LICENSE="BSD-2"

@ -1,7 +1,5 @@
DIST libressl-2.3.7.tar.gz 3013807 SHA256 f59f5d859ce4867cc4761a13d02024f699491e277d54a9fe76e053e5b5f70860 SHA512 5774ab7aa0e4c8f7c61c01192d6c5a782cef57022fcdc64cc61180b4f2ae483145c2e91d56eae78db27dfce04a7ca67fb63e6ce8a8b84b4bc961f65a2a108747 WHIRLPOOL e68251d15a9a2dc9d35b3a4bfd092f7e030d0ba03339f000f201bd297190538368b12324336e5437800bf3b2f481ff739027d30f3f26367ddd48937f35a8f4a3
DIST libressl-2.3.8.tar.gz 3013999 SHA256 ae6aa4ed2c7d201310fef184310a85c88a315506f633e93fcdeaaec0d5a54fc2 SHA512 5cd99e740894afffa6803087dde4e4207e035bf6f440904fcd4439ca1f63f22bdfe367423b2e95264bef06d1a0f929526d90e623864d0f7e99250a4f825bf282 WHIRLPOOL e4afccd135d0f5cda295e9fe06d81eb0f5fcfb3ffaa18ed2d9a06e5d2fe1c196dc7912eac7e5427f6aa62564f7e6432f00154d5fc11de207da91c6c9d334a254
DIST libressl-2.3.10.tar.gz 3015911 SHA256 2d0b5aade0c5ed31a3c194fad5f8dd71cdd218b70205342739d24a625a54c4d3 SHA512 c783a1923a03a9c7c5d77a16dd4f9c798374c50e332ee7bc94ad6d5c2e112fb3db1de987ce84b3aaf822a1f68f4385270fafd687870bc8b275cc581619cb1d1e WHIRLPOOL cbfb31375b767f74e73ff04078cd2ef0b23501900269770e9b540d9ee58714e1f87068b8c11799e62d78edc22eeb4e535c61c6db4a63f3f3b30ae90871a2269c
DIST libressl-2.3.9.tar.gz 3014155 SHA256 a6ff13664eb13af6dba00259cfb55a306b32b7688feef520a52fc0f60b8196fc SHA512 3b0f27d419bc6f69d6fbde8f3b6e6abcda86591c0400e49e2d4327b834a3996fd7838a2cfa3a999c4e949e29f7d1ee319e26ee4c2b1a25b3fb4f07fe15345810 WHIRLPOOL 26dd4c09f114bc533aad6845bc2110d1aa400032dc20f0f496bc049e8866acb6b5157973f62fcd4047c742247aedc9f28ea2ee346ab19a07395ef27202422e44
DIST libressl-2.4.2.tar.gz 3021644 SHA256 5f87d778e5d62822d60e38fa9621c1c5648fc559d198ba314bd9d89cbf67d9e3 SHA512 abacecb318a787f5ef9d8469638b7485fe237d4d993f410d7da8c0773ab8eff8c7da988fe965f793b268711afe599dc28f994eedeaa2aafebeb40faa30af38db WHIRLPOOL a2cdd3109dd200fa9dc4ae0f47f536b2b6d68fd2e53901d4f90a8f39e71af41010d925cd408616f8e5da56f7a8b0397ab21cccca5bfd32ac68ee9bf48ccbb99a
DIST libressl-2.4.3.tar.gz 3014721 SHA256 bd5726f3e247e7a7d30ce69946d174b8fb92d999d22710c65f176c969812960e SHA512 db3b585ca727eb3e5c5929200c8c86e01559f0d23edcddd6715141e596a3a72a9dd1a69fafda10239def92b586fc582578ecc0bf12bdfbaf083d18e0d3fe5300 WHIRLPOOL eb38d65066e007b7dc88eb26a634c8e45045a8c8a2b5ec19e082607e894b509d1ce93297b77313b1a4f6b12146a22397881e0af78a4e1bff79bfbab55c583c71
DIST libressl-2.4.4.tar.gz 3014463 SHA256 6fcfaf6934733ea1dcb2f6a4d459d9600e2f488793e51c2daf49b70518eebfd1 SHA512 3999e1a61d3e5f14fbce72fdb0089eaf1481fb20f8675a56b2ce8b5388cf7e1ef7d2f66d9593960b708037537053b47f87b2a7f820504213a756b21c34584fe4 WHIRLPOOL 8c3f2b78a31243f49a2e44ad2e43db6637465886652d164e290344fbe207479913a20d857514fd88cf0429131fb64ef2d31eefb178c362d779c400110e9605f1
DIST libressl-2.5.0.tar.gz 3012855 SHA256 8652bf6b55ab51fb37b686a3f604a2643e0e8fde2c56e6a936027d12afda6eae SHA512 6372b27f1696e957389646a05b0572ad6936443b34fee0e57153b063831e00318fa1b434e3e0369f0c3df872e15ad3bee2f85db0851021444612f2a6f266a332 WHIRLPOOL 9b145915734a1914f0d36df04a8b35aa2ce2c91f7d6b3a978c5c6845314c56c61718fce6c471ba1a03f3d1ff052246c3db767adee99bc3d38a6bd692b9086ad0
DIST libressl-2.4.5.tar.gz 3016462 SHA256 d300c4e358aee951af6dfd1684ef0c034758b47171544230f3ccf6ce24fe4347 SHA512 bdbd0fcb868e77e5fba26da7653fe6e7f7b5017455e1beb13e11b42b8db0742b9ca6442f0949adc91ddc1f53fb93549a6c0529795cd34db2bf887cbca2d33070 WHIRLPOOL 1caa2e18304ec86f15f73e935a586d774aaa3c4248970596a7fa869f718ef9d12f6211e2abdbee90af4e4f83dfba77b45b3529dcc1077fe71e26e3beecf38bbf
DIST libressl-2.5.1.tar.gz 3266271 SHA256 f71ae0a824b78fb1a47ffa23c9c26e9d96c5c9b29234eacedce6b4c7740287cd SHA512 44557c7c3e6bc9c0af9ae83b26765be9707d53708a32a5a945108a49ea20503afa4197919801830d27821c069b87e0e0edd284bd1b8a85340dbc0da2c162c2f9 WHIRLPOOL e31b487e9e88f372cd22db05e54e74900181120cf8c6105f5531658e7b467722680921f3630b8943ee0ec5f5777cb76a7ddc64e4d43f166903928aaa4f98509c

@ -1,8 +1,8 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
EAPI=6
inherit eutils multilib-minimal
@ -33,6 +33,8 @@ src_prepare() {
-e '/^[ \t]*USER_CFLAGS=/s#-O2 ##' \
-e '/^[ \t]*USER_CFLAGS=/s#-O2"#"#' \
configure || die "fixing CFLAGS failed"
eapply_user
}
multilib_src_configure() {

@ -1,51 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils multilib-minimal
DESCRIPTION="Free version of the SSL/TLS protocol forked from OpenSSL"
HOMEPAGE="http://www.libressl.org/"
SRC_URI="http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${P}.tar.gz"
LICENSE="ISC openssl"
# Reflects ABI of libcrypto.so and libssl.so. Since these can differ,
# we'll try to use the max of either. However, if either change between
# versions, we have to change the subslot to trigger rebuild of consumers.
SLOT="0/38"
KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86"
IUSE="+asm static-libs"
RDEPEND="!dev-libs/openssl:0"
DEPEND="${RDEPEND}"
PDEPEND="app-misc/ca-certificates"
src_prepare() {
touch crypto/Makefile.in
sed -i \
-e '/^[ \t]*CFLAGS=/s#-g ##' \
-e '/^[ \t]*CFLAGS=/s#-g"#"#' \
-e '/^[ \t]*CFLAGS=/s#-O2 ##' \
-e '/^[ \t]*CFLAGS=/s#-O2"#"#' \
-e '/^[ \t]*USER_CFLAGS=/s#-O2 ##' \
-e '/^[ \t]*USER_CFLAGS=/s#-O2"#"#' \
configure || die "fixing CFLAGS failed"
}
multilib_src_configure() {
ECONF_SOURCE="${S}" econf \
$(use_enable asm) \
$(use_enable static-libs static)
}
multilib_src_test() {
emake check
}
multilib_src_install_all() {
einstalldocs
prune_libtool_files
}

@ -1,51 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils multilib-minimal
DESCRIPTION="Free version of the SSL/TLS protocol forked from OpenSSL"
HOMEPAGE="http://www.libressl.org/"
SRC_URI="http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${P}.tar.gz"
LICENSE="ISC openssl"
# Reflects ABI of libcrypto.so and libssl.so. Since these can differ,
# we'll try to use the max of either. However, if either change between
# versions, we have to change the subslot to trigger rebuild of consumers.
SLOT="0/39"
KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86"
IUSE="+asm static-libs"
RDEPEND="!dev-libs/openssl:0"
DEPEND="${RDEPEND}"
PDEPEND="app-misc/ca-certificates"
src_prepare() {
touch crypto/Makefile.in
sed -i \
-e '/^[ \t]*CFLAGS=/s#-g ##' \
-e '/^[ \t]*CFLAGS=/s#-g"#"#' \
-e '/^[ \t]*CFLAGS=/s#-O2 ##' \
-e '/^[ \t]*CFLAGS=/s#-O2"#"#' \
-e '/^[ \t]*USER_CFLAGS=/s#-O2 ##' \
-e '/^[ \t]*USER_CFLAGS=/s#-O2"#"#' \
configure || die "fixing CFLAGS failed"
}
multilib_src_configure() {
ECONF_SOURCE="${S}" econf \
$(use_enable asm) \
$(use_enable static-libs static)
}
multilib_src_test() {
emake check
}
multilib_src_install_all() {
einstalldocs
prune_libtool_files
}

@ -1,8 +1,8 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
EAPI=6
inherit eutils multilib-minimal
@ -33,6 +33,8 @@ src_prepare() {
-e '/^[ \t]*USER_CFLAGS=/s#-O2 ##' \
-e '/^[ \t]*USER_CFLAGS=/s#-O2"#"#' \
configure || die "fixing CFLAGS failed"
eapply_user
}
multilib_src_configure() {

@ -1,8 +1,8 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
EAPI=6
inherit eutils multilib-minimal
@ -14,7 +14,7 @@ LICENSE="ISC openssl"
# Reflects ABI of libcrypto.so and libssl.so. Since these can differ,
# we'll try to use the max of either. However, if either change between
# versions, we have to change the subslot to trigger rebuild of consumers.
SLOT="0/39"
SLOT="0/43"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86"
IUSE="+asm static-libs"
@ -33,6 +33,8 @@ src_prepare() {
-e '/^[ \t]*USER_CFLAGS=/s#-O2 ##' \
-e '/^[ \t]*USER_CFLAGS=/s#-O2"#"#' \
configure || die "fixing CFLAGS failed"
eapply_user
}
multilib_src_configure() {

@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -22,7 +22,10 @@ RDEPEND="
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? ( >=dev-perl/Apache-Test-1.390.0 )
test? (
>=dev-perl/Apache-Test-1.390.0
!www-apache/mpm_itk
)
"
SRC_TEST="do parallel"

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -22,5 +22,8 @@ RDEPEND="
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? ( >=dev-perl/Apache-Test-1.390.0 )
test? (
>=dev-perl/Apache-Test-1.390.0
!www-apache/mpm_itk
)
"

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -24,5 +24,6 @@ DEPEND="${RDEPEND}
test? (
>=dev-perl/Apache-Test-1.390.0
>=virtual/perl-Test-Simple-0.940.0
!www-apache/mpm_itk
)
"

@ -0,0 +1,37 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=MSCHOUT
DIST_VERSION=3.26
inherit perl-module
DESCRIPTION="Perl Authentication and Authorization via cookies"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
>=www-apache/mod_perl-2
virtual/perl-Carp
>=dev-perl/Class-Load-0.30.0
virtual/perl-Encode
dev-perl/HTTP-Body
dev-perl/Hash-MultiValue
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? (
>=dev-perl/Apache-Test-1.390.0
>=dev-perl/URI-1.310.0
>=virtual/perl-Test-Simple-0.940.0
!www-apache/mpm_itk
)
"
src_test() {
perl_rm_files t/author-* t/signature.t
perl-module_src_test
}

@ -1,3 +1,4 @@
DIST Apache-AuthCookie-3.23.tar.gz 45053 SHA256 c40c7f28447ad1e17f00ac63c0855d0af41b31d212fcc72ae91cc284e5aee9a7 SHA512 e8948725c1f2ae3631004ec666ecd20b9c3b5fda86408b980e5d0a3e0d36a8780d905718b1c7b5ca117fc15e130bf35f59ef83c598870dc5b874ee362a4fdcb7 WHIRLPOOL 016a518371301209d4c81370e95afb071e013b4b85ad26b6b544f0a9e7383aae3b23fbfb0de446f84d55cf928eda7c64ab705698b636710bdd1460d53f5b7e13
DIST Apache-AuthCookie-3.24.tar.gz 48349 SHA256 af153ba6ad362d5834565b4484b0e06e2eca64a5d3e8d83eda6be03e23f9b5f9 SHA512 023cc9c695d5b43a92a46b80a2c8ce556d89f0f3ed83d05cb068db5b50d96e1a0e4cd52491d2eb5f0e680e073bc16b36c214b2527a5c5d31eee1a37ed6cd2f60 WHIRLPOOL f8f024bf663ad420057897763d034680366eeefe856b3512189dfbe1fea72c511c303b1adda01c84b934563980395520b7474a8cbddd15247da1478645456c05
DIST Apache-AuthCookie-3.25.tar.gz 50318 SHA256 30e8066eed5518fd7f686c621aefb2db0c7d22221a6d7e2b926dcf8f2a20d008 SHA512 73eb4c20170629e71663df7ef0cf9bcf780d25795e007674e797e78de2540a2eef04e9afa6e31cc1d372348c23af718750d610f67851ef17c8d39e8d6ae6ca42 WHIRLPOOL 9b749e631c811003f2f8318128eb05267a0f2187ce0cff5860c0d4382092dd1cc8b492eaa91736d441ad6ff4f315f3c9fd047ad3eca2a8590f91914b7ca0d360
DIST Apache-AuthCookie-3.26.tar.gz 57062 SHA256 2a37c984a470c69ca28c74bd23a8b7c8629fc728d1af36071796f2c478fb348a SHA512 afb156f305b1accfc796516238d68eb2c4d270e0ff0cf592ef11f93f476e4c7ecd7c93366447cf547abd5aa7d5b390800b24a7065552336a6647cefa2ff9f5ed WHIRLPOOL 0949e3b11dd0a6b7cc2b5c52459c86b6b663f8ff9f3d84bea85e0dfba123ea7976c179eee01eaf3710416fa6c15047b06ecd848cea2ae45960af67df24f638b4

@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -19,6 +19,9 @@ RDEPEND="dev-perl/Linux-Pid
!<www-apache/mod_perl-2.0.5
>=www-apache/mod_perl-2.0.5"
DEPEND="${RDEPEND}
test? ( >=dev-perl/Apache-Test-1.360.0 )"
test? (
>=dev-perl/Apache-Test-1.360.0
!www-apache/mpm_itk
)"
SRC_TEST="do"

@ -0,0 +1 @@
DIST WWW-Form-UrlEncoded-0.23.tar.gz 15068 SHA256 c87de2c895cf8a526bf5d3a231e6ca0e6d4cfdca72f8840b3fb039dbde478852 SHA512 1570edff2b2eaa8fb9a918ebb33ea8d4a26f883ad66093f291370ae96fcc1f06bf45b1c08f6099bff4064cbd20942f50f94d0455bf49a135373a3bffc5a2c50d WHIRLPOOL 07a4cca601c7189fdcd3940323485ae0648f9112c5c5ae20ddd54ee1cc0cc25c99c4ed8ac1425d96bca74dfb42a23be2043b9d9c5eff7f79883832d1a3c121fe

@ -0,0 +1,26 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=KAZEBURO
DIST_VERSION=0.23
DIST_EXAMPLES=( "eg/*" )
inherit perl-module
DESCRIPTION="parser and builder for application/x-www-form-urlencoded"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
virtual/perl-Exporter
"
DEPEND="${RDEPEND}
>=dev-perl/Module-Build-0.380.0
test? (
>=dev-perl/JSON-2.0.0
>=virtual/perl-Test-Simple-0.980.0
)
"

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>perl@gentoo.org</email>
<name>Gentoo Perl Project</name>
</maintainer>
<upstream>
<remote-id type="cpan">WWW-Form-UrlEncoded</remote-id>
<remote-id type="cpan-module">WWW::Form::UrlEncoded</remote-id>
<remote-id type="cpan-module">WWW::Form::UrlEncoded::PP</remote-id>
</upstream>
</pkgmetadata>

@ -1,2 +1,3 @@
DIST keystonemiddleware-4.4.1.tar.gz 194711 SHA256 dff35f0e4acb77f34c9c880bd4f456bbe26a1c4701815d82e8c27ff74a5dfb52 SHA512 c04383836740222d49324cb5f25f8b156424abaa74ac9482a2deb2e1d54cc6d990a864451a075bc12c3d7d38da7235f236e8a8cfb4c3748953c14a4505eeb99f WHIRLPOOL 76a96e6140752cd8eb1d060591c5dec1181abf873c82595be89d9597e3c3e5d3344739fab6b8d0058ae2ab47863e5169d4bbcb4a83f46a24dea042c0ccfac8d0
DIST keystonemiddleware-4.9.0.tar.gz 198244 SHA256 5d92ef9321a49f06c59d53a92fecc572c559d054abd7f5b7ce5945916770b993 SHA512 0b8870e93bfba3c385cac4515f86a15cc72371f1274db284560d4ecb0e6f4f50064b093a91060728051a2d0732ae7c40a9d2d2dd8b0cfa29ca527b6dceba9e80 WHIRLPOOL 6fd48a653bbe6d5d7d2c40a97dd46310489a153a55e5096d007a54dfd944e22c0f758715e100138f46fbbada241cce5da94338c89be3b293c2142f6cc328ac54
DIST keystonemiddleware-4.9.1.tar.gz 196430 SHA256 93fa012c70b2ac5773ecf7185ef94a224ca70a32728ad7d07cf12540f507043b SHA512 baff23d86e8157a465646a23fba873739fe019319873d7385ba5ef843c4546d14919913648075122e56a3805f03b91b2a1b03c3206bcbd05a3540a58925a1d01 WHIRLPOOL 6103d6621bce0020672ef7a04d5191be9eb876ae0fc279e83402655136f8e132fa4aaaffcab06f789dbd73a3f9246ef567d6c5dc77b7c3b14e6760a3cf857f2f

@ -0,0 +1,83 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
inherit distutils-r1
DESCRIPTION="A middleware for the OpenStack Keystone API"
HOMEPAGE="https://github.com/openstack/keystonemiddleware"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples test"
CDEPEND=">=dev-python/pbr-1.6[${PYTHON_USEDEP}]"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
${CDEPEND}
test? (
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
>=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]
>=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
!~dev-python/oslo-sphinx-3.4.0[${PYTHON_USEDEP}]
>=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]
>=dev-python/reno-1.8.0[${PYTHON_USEDEP}]
>=dev-python/requests-mock-1.0.0[${PYTHON_USEDEP}]
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
>=dev-python/stevedore-1.16.0[${PYTHON_USEDEP}]
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
>=dev-python/testresources-0.2.4[${PYTHON_USEDEP}]
>=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
>=dev-python/python-memcached-1.56[${PYTHON_USEDEP}]
>=dev-python/bandit-1.1.0[${PYTHON_USEDEP}]
)"
RDEPEND="
${CDEPEND}
>=dev-python/keystoneauth-2.10.0[${PYTHON_USEDEP}]
>=dev-python/oslo-config-3.14.0[${PYTHON_USEDEP}]
>=dev-python/oslo-context-2.9.0[${PYTHON_USEDEP}]
>=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}]
>=dev-python/oslo-serialization-1.10.0[${PYTHON_USEDEP}]
>=dev-python/oslo-utils-3.16.0[${PYTHON_USEDEP}]
>=dev-python/positional-1.0.1[${PYTHON_USEDEP}]
>=dev-python/pycadf-1.1.0[${PYTHON_USEDEP}]
!~dev-python/pycadf-2.0.0[${PYTHON_USEDEP}]
>=dev-python/python-keystoneclient-2.0.0[${PYTHON_USEDEP}]
!~dev-python/python-keystoneclient-2.1.0[${PYTHON_USEDEP}]
>=dev-python/requests-2.10.0[${PYTHON_USEDEP}]
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
>=dev-python/webob-1.2.3[${PYTHON_USEDEP}]"
PATCHES=(
)
python_prepare_all() {
sed -i '/^hacking/d' test-requirements.txt || die
distutils-r1_python_prepare_all
}
python_compile_all() {
use doc && emake -C doc html
}
python_test() {
testr init
testr run || die "testsuite failed under python2.7"
flake8 ${PN/python-/}/tests || die "run over tests folder by flake8 drew error"
}
python_install_all() {
use doc && local HTML_DOCS=( doc/build/html/. )
use examples && local EXAMPLES=( examples/.)
distutils-r1_python_install_all
}

@ -3,3 +3,4 @@ DIST python-2.7.12-docs-html.tar.bz2 4601696 SHA256 40891e010cdd9a752a17bd02e30a
DIST python-3.3.5-docs-html.tar.bz2 4955315 SHA256 471067c514a33b4ae4fc35ba600130572840326252a565e39157feb2911ef733 SHA512 6cf6d02bf980609561ec829407e0a4d541ddf949db0b6d3156f9fa90ed7c87f9ef16128e9c8226887568489826efcdde5ea38af246ec235a077227d73736ea71 WHIRLPOOL 78a6babcc5c7df64deb324368f32ae5cc5fed6fba9ff7392b7589f81187b893d9c977fa9a25168d60336b46f9237bf09ba5e6fbef888ee3489de57afd09e9067
DIST python-3.4.3-docs-html.tar.bz2 5444773 SHA256 87d4f8739205fe6f2cbcb10c6f1b33546d3b7f41e6bc96de34f992ccf5c10fbf SHA512 492038df0afb05d60806d56d66e06069d195249db708e4261d39fa6206e0baec5c2db730431b5be03d8d37296d935f39a25bf1d449fb29521bdc4823584b9bf9 WHIRLPOOL c55241d450c6440d4e084a8189b569046352bd65b88a576fd0a8bc9a23665f52cc534da4d32061c0cbc31f41b2b63870fe4098ef28be2fed42311fa8e0decc46
DIST python-3.5.2-docs-html.tar.bz2 5747460 SHA256 34bb14f352b39e7a9ed8a5e4d8332c464158d0ef3a75dccb373a40fcf6de2342 SHA512 2a9ce5b304c6edf3165728a1fe0c189222f8b105c446ca9026ce453d013c9498b4c53085fdef776b977d058fc138ba3af5ea9bf26291469ce47239ee1a8d9286 WHIRLPOOL 102d9d0a1ccaa5c2ba4c295872b1059498a79e39fdb06a249b62a52a790ed1f98f3dad4903e90e94c1dde41be7cdcc5142a7022d7fec1fd4a8b6415b92c66041
DIST python-3.6.0-docs-html.tar.bz2 5880912 SHA256 c6a11b760124e0820adbc4d2f57e0eeed0212c17b49e82da6ea22755186990f6 SHA512 433221763e410b1fea9a592b25fa9695af369bfc3d49055d4f912fbe34a54ebdf69a0ad2579d4f886d08d08b107c83264186851bb962c7ef2c1fc863e984f529 WHIRLPOOL a80b14dcfdb21d640218d574cb4f6c28ccd72197edbb93b2dad2f8bcbe38cfa2d50b889e397db9a15baeb38966d14fb720d8fc4839acefb45e06b085bb0a98a8

@ -0,0 +1,27 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
DESCRIPTION="HTML documentation for Python"
HOMEPAGE="http://www.python.org/doc/"
SRC_URI="mirror://gentoo/python-${PV}-docs-html.tar.bz2"
# The upstream digest is unstable, see https://bugs.python.org/issue25170
#SRC_URI="https://docs.python.org/${PV%.*}/archives/python-${PV}-docs-html.tar.bz2"
LICENSE="PSF-2"
SLOT="3.6"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE=""
DEPEND=""
RDEPEND=""
S="${WORKDIR}/python-${PV}-docs-html"
src_install() {
dohtml -A xml -A inv -r ./
echo "PYTHONDOCS_${SLOT//./_}=\"${EPREFIX}/usr/share/doc/${PF}/html/library\"" > "60python-docs-${SLOT}"
doenvd "60python-docs-${SLOT}"
}

@ -4,3 +4,4 @@ DIST facter-3.1.8.tar.gz 324710 SHA256 bd393026640baf149507c11d36be144759889d4c9
DIST facter-3.4.1.tar.gz 332857 SHA256 98a576c6891725d90686ff3a0afb94ef8562ddae8cae5e1ce2c0b0bdd4061e55 SHA512 5acee867cfbeab9d93521ab62f04aea233992c5a54bff342180de3c02929646b43ae198faf1c05465d8a6c9b2d5673cf2eb076be91dcb2754da175ce2c161f36 WHIRLPOOL 0632c73b882667aeeb4de7f37c16bc44ac53de94f41ef32abddd882cb0228160a30ab014d5d6b73a14b423596c89dca82aab09877a53384b84489ed8fa504802
DIST facter-3.5.0.tar.gz 358507 SHA256 dca30a5f0e2d7644d085ae4c315f81a2950e407e828dbc01a72c021e4ba29266 SHA512 1a867bb04b10a5c9009f0930fc27c9be5b1bad4c2c80ec951d0f2297f3db0bc05789e820d6fe5c6ea99c944c2b9669cd7bb09dc895b773301b0d49333b8c9153 WHIRLPOOL 516940b18dfd39f881a2a871cfd63ff0ad5377f510bb58ec6ed3382e69b4b447f7d978c2dc91b6c43ea0e1b1756b36e781a2f3b3ffdd998cc24d9f6b676e0881
DIST facter-3.5.1.tar.gz 359241 SHA256 119412d4490902a3119eb54659bef76fc530f25ac4b40139b71037ac81637cb2 SHA512 2d5dcc39ecb31796c17da96ca1d61f4b6a5acde9c8865db0af038021e73b088b7ba01e090bbc89e0c158d39b9d5c887790bcd2b322d3c436b50b0b602a9bd320 WHIRLPOOL 348e0f3ab564f9c439b4fce3ff1930820d41e6f522d9e2100494eaa316135318d5159d9fdb5deb34b9439b9cf1a001b9ae2adb251c128c82933b7c86c058de7e
DIST facter-3.6.0.tar.gz 364541 SHA256 58976dd9f806cf8fad329bdc5340d7f5644e61354b7e1dfeabbc0d534015a8ba SHA512 dd85b52581b15eb844007b42f6e46597f387b9f7df704e039eaa9484c92442a75a846f09e3e52a79844f76deee98661daf4df2d1900d2414a727e62431661fe3 WHIRLPOOL be4d558624b11fede768ee11b34b315cca236705b8e2b3657b9a839c7c7be9499b6ab363486decc0f4bf33e95931153fe7a5ff051c8c85ee2323db1a7d52392a

@ -0,0 +1,88 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
USE_RUBY="ruby21 ruby22"
inherit cmake-utils multilib ruby-ng
DESCRIPTION="A cross-platform ruby library for retrieving facts from operating systems"
HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/"
SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${S}/all/${P}"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="debug test"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
BDEPEND="
>=sys-devel/gcc-4.8:*
>=dev-libs/boost-1.54[nls]
>=dev-libs/leatherman-0.9.3
>=dev-cpp/yaml-cpp-0.5.1
dev-cpp/cpp-hocon"
CDEPEND="
dev-libs/openssl:*
sys-apps/util-linux
app-emulation/virt-what
net-misc/curl
!<app-admin/puppet-4.0.0"
RDEPEND="${CDEPEND}"
DEPEND="${BDEPEND}
${CDEPEND}"
src_prepare() {
# Remove the code that installs facter.rb to the wrong directory.
sed -i '/install(.*facter\.rb/d' lib/CMakeLists.txt || die
sed -i '/install(.*facter\.jar/d' lib/CMakeLists.txt || die
# make it support multilib
sed -i "s/\ lib)/\ $(get_libdir))/g" lib/CMakeLists.txt || die
sed -i "s/lib\")/$(get_libdir)\")/g" CMakeLists.txt || die
# patches
epatch "${FILESDIR}/facter-3.5.0-jar.patch"
epatch_user
}
src_configure() {
local mycmakeargs=(
-DCMAKE_VERBOSE_MAKEFILE=ON
-DCMAKE_BUILD_TYPE=None
-DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_INSTALL_SYSCONFDIR=/etc
-DCMAKE_INSTALL_LOCALSTATEDIR=/var
-DUSE_JRUBY_SUPPORT=FALSE
-DBLKID_LIBRARY=/$(get_libdir)/libblkid.so.1
)
if use debug; then
mycmakeargs+=(
-DCMAKE_BUILD_TYPE=Debug
)
fi
cmake-utils_src_configure
}
src_compile() {
cmake-utils_src_compile
}
each_ruby_install() {
doruby "${BUILD_DIR}"/lib/facter.rb
}
src_test() {
cmake-utils_src_test
}
src_install() {
cmake-utils_src_install
ruby-ng_src_install
if [[ $(get_libdir) == lib64 ]]; then
dodir /usr/lib64
mv "${D}/usr/lib/"* "${D}/usr/lib64/"
rmdir "${D}/usr/lib"
fi
doenvd "${FILESDIR}"/00facterdir
}

@ -1,3 +1,4 @@
DIST buildbot-console-view-0.9.0.post1.tar.gz 630459 SHA256 1415fb5afaa5a450a38349ce799190de34749449f1147ae42b6adf5ccfca8735 SHA512 c209c8dd320df2a7a9ab8bd8276a081c981981645ca85511320e5dc755957623cc051feb57904c5208e6f7e2b9f7c4ac6f204c574445cdff643685a2d5dafe17 WHIRLPOOL c81860f92bc6d55a5fa925d2b415ad640f4150573abfde878cf3e02c8f7cecba60de6e8d87571b8dd8f6d0d7ae24fcf29afbce532bb517e90f93644f4c80ec57
DIST buildbot-console-view-0.9.1.tar.gz 630486 SHA256 028288d2ba8f7c79043c8b0751a53cfedf50f3134dbf57740d310dc708f71cef SHA512 d5936c0494e626ad8db5b1f75994978805d0e65d57b9c4bcce7b1584f32699b4ca2023504b647b54f91ab669e084b7d18973060b512a316808cd892aca2e8fdd WHIRLPOOL 7476cb96e63da87953a6602ceca3aa75eaa0cb6d10e3d49871d333c476b185a068a0fe17ed07d9715ad7c148d686701a702a5366fdf05d96149a6ffb49ae5839
DIST buildbot-console-view-0.9.2.tar.gz 630903 SHA256 a5acb36e20410bd8fe7a6a34c3afd83115e80651f92f1705a0641e526344e74a SHA512 6b1e05b7b846ecd5cd0d1f091c5cb2f3fe9a7cb6db5651ad406cf7f62fc04ebe68390b459fab78c166b864305135dee7f982f1fbc02ec67060ac3d64c0b90edc WHIRLPOOL c3796d9b60149592d2c0c1c92f91c11039f47fb0260e3ce549b48f251637c0a49a6b83c69b71383838984fdf6b4aeab3508a93b8303c14bada2de0d87cc4d4e7
DIST buildbot-console-view-0.9.3.tar.gz 631462 SHA256 b389b4024e52824463e696d3ed9a56de8ea5de60abb01ddbb6e2f402ea547fe6 SHA512 0fc51252e323917f64f175ee2cfd46bdab7dc07a921d0fb74c0b5828cc5212ef5f5d2ae43c1f1fe5e2c32a0dab19a52d6bb7c7bb3ce50bdfdb18af02eaf4de82 WHIRLPOOL 63ad18e39c228226ce2ab5441785b013051c732738e54190c214a0a35476fc78e0f5b3c731ecce520f5920777bf728f20e2f0a42615ea9a4049c6f7fab4956df

@ -0,0 +1,45 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
PYTHON_REQ_USE="sqlite"
PYTHON_COMPAT=( python2_7 )
EGIT_REPO_URI="git://github.com/buildbot/buildbot.git"
[[ ${PV} == *9999 ]] && inherit git-r3
inherit distutils-r1
DESCRIPTION="Buildbot console-view plugin"
HOMEPAGE="http://trac.buildbot.net/ https://github.com/buildbot/buildbot http://pypi.python.org/pypi/buildbot"
MY_V="0.9.0.post1"
MY_P="${PN}-${MY_V}"
[[ ${PV} == *9999 ]] || SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
if [[ ${PV} == *9999 ]]; then
KEYWORDS=""
else
KEYWORDS="~amd64"
fi
RDEPEND="
~dev-util/buildbot-${PV}[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
~dev-util/buildbot-www-${PV}[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
>=dev-python/setuptools-21.2.1[${PYTHON_USEDEP}]
"
S="${WORKDIR}/${MY_P}"
#[[ ${PV} == *9999 ]] && S=${S}/www/base
python_install_all() {
distutils-r1_python_install_all
}

@ -1,3 +1,4 @@
DIST buildbot-pkg-0.9.0.post1.tar.gz 3369 SHA256 7149d8f4d906914b77375855c3de30ec2c9edb26f5da6c654dcceb360eb3353b SHA512 decef481958f4f85797260e00a501a55e6c8f0b3938ca9d8b98f773481a7484f221ceb5eb4e45ed7efc32e88bb16a4431ae0c2e7a8203c384915beea2f32f295 WHIRLPOOL d33a88b2c8ee8f21a62d46eaa8099fb3b579ba9c1c21cbf1cdc8569840cf66f4b8415c7a662344d3a2e472947984bb248c81e761df73d8aa2bb8ee471bc5e8d7
DIST buildbot-pkg-0.9.1.tar.gz 3800 SHA256 6dab917d6bc689fef1c6bc30d6af041ce4fc56c3dacd0378957c3d606094f3a3 SHA512 28b644c64a38d53305c6955a45596c6a27f988363a0d0bd980922842f3d6712b6ee35d74f7124eae5269b95c8755eb4922546d1ea9237b93f8694f4993baa1e8 WHIRLPOOL 09fed25389b43f2688db2e60b0ea7ad73fabd5acca893f2ed958214ccc5449373e950bacc297e403560ae0cabf9f588dae63763e3d8204b955d0705ecc6f2230
DIST buildbot-pkg-0.9.2.tar.gz 3803 SHA256 7c9c8e0e9c85d129e2147c596588df81f29aec72411b7284a57ebb7cfdba1a6e SHA512 b64f48fe2fe645282856ac5e720490cdb9af7b0a4763eeeb95777d652d46b8cb5f2b904b8c109ab6bc18a3f9fb01292a3ddc106ef1e89b84059c7ec025bcdda6 WHIRLPOOL 58765b2ef28d774d7b862f240017fe90ca1f519fee61e3f33045569418777c6ffe2c48f1bea0affb7b60846c1b139856857bce10b09ce23416dc6be33c8f03ed
DIST buildbot-pkg-0.9.3.tar.gz 3799 SHA256 d240d342be4ca01c4597bda039133af8db713ba7b7c2104718d0c357374b2409 SHA512 64fbcd8afee051afe9b76afec63eb463cf7cd2c89c320dafca2f024923a1dbc49fd67dd9f514d8108b85990ca2981be36ed650fcf37486c7b909bd1329efd832 WHIRLPOOL 2bb200ba9b703cec056f3fc1e92130881164193e46a170315bca84b0fac8d743a40e12b0005764b0517133bee973059ce5731a0eb1d5343c28a5bc20556365b1

@ -0,0 +1,43 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
PYTHON_REQ_USE="sqlite"
PYTHON_COMPAT=( python2_7 )
EGIT_REPO_URI="git://github.com/buildbot/buildbot.git"
[[ ${PV} == *9999 ]] && inherit git-r3
inherit distutils-r1
MY_V="0.9.0.post1"
MY_P="${PN}-${MY_V}"
DESCRIPTION="BuildBot common www build tools for packaging releases"
HOMEPAGE="http://trac.buildbot.net/ https://github.com/buildbot/buildbot http://pypi.python.org/pypi/buildbot"
[[ ${PV} == *9999 ]] || SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
if [[ ${PV} == *9999 ]]; then
KEYWORDS=""
else
KEYWORDS="~amd64"
fi
RDEPEND="
~dev-util/buildbot-${PV}[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
>=dev-python/setuptools-21.2.1[${PYTHON_USEDEP}]
"
S=${WORKDIR}/${MY_P}
python_install_all() {
distutils-r1_python_install_all
}

@ -1,3 +1,4 @@
DIST buildbot-waterfall-view-0.9.0.post1.tar.gz 704789 SHA256 0f5469dfa30572b5f8f12588003188d68c9541c80876860727f2fd5f02df3b75 SHA512 45e055f694f208f97d11c20db56a107eae3ee7c6308e4e74b5569b46baeb0a24bc3a2d99a30f28c3231570f2bbb3c492d503e7128a569d9d33ec684f8f59b72f WHIRLPOOL bc8ba2e309a6674c0afbb8781e1038d2b693217a45fd8cbdbaceda8cf9fefc705fea23c21ac74c23e87866676df0323e5a3eac4504da91df53dd108a044910b6
DIST buildbot-waterfall-view-0.9.1.tar.gz 704434 SHA256 b5026f746a0bea9af544f4ad46b21781e4dccaf64bf645ee5dc747e442100fbb SHA512 f97d974aee73cc84c4f9699a1bf4765434e31ed3b6ad2da58fff1da13a59f4cd327b736da19018c7e5ad609da5a3ba87ab9f4f11c28e8d3120d3c1a2796673ef WHIRLPOOL c481e3b8afe3ef7ea071b2259ea5df02e569e468043de58e1dc2eb34a827be8e99eb46bd1f9f9f22b75c2ee9068917b5ecf588c8b06124251b08ba4713dd8b67
DIST buildbot-waterfall-view-0.9.2.tar.gz 704942 SHA256 1be89234e8555c7c058a4b176e19e751edcbca4e0e415f09bec492668ac0da1e SHA512 b7c20175da7746ea650507dc79eb64fdb8d601ccfa7778120e9aa4653ae14f951d80fa79d016a77d0259ac56a3acb0326dad1325150e5db88bad044c31d79d74 WHIRLPOOL bb3b6560e55c9e4a4b146b8e9bc27e6bf2560b972dfd14fd75ed823cc33250fbf3bcd2e8b86b54ffdbde82010de0d0d1753c72620befef285a24501304473dcc
DIST buildbot-waterfall-view-0.9.3.tar.gz 705482 SHA256 cf3c83a3bc5682d235800c17dc5cf0fe54c165b5c7004e810c13da0f34137d0c SHA512 8eda91f327c73b674bc474bdd2139e9565482e59b4acc9ee9eb6d940ba8606c1f2985bce53511a827974552708ab1c6e31e64a5874deb4d16dea434c0b11067e WHIRLPOOL 3c57366b27f26b554762eb056ea938384572c0975a873582f54545d5e53d78e3d3d7ed7de1b88a0f5b68ab7fae93e7e59b0c3568e0f346b62a79e8eb1c0a6c09

@ -0,0 +1,45 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
PYTHON_REQ_USE="sqlite"
PYTHON_COMPAT=( python2_7 )
EGIT_REPO_URI="git://github.com/buildbot/buildbot.git"
[[ ${PV} == *9999 ]] && inherit git-r3
inherit distutils-r1
DESCRIPTION="Buildbot waterfall-view plugin"
HOMEPAGE="http://trac.buildbot.net/ https://github.com/buildbot/buildbot http://pypi.python.org/pypi/buildbot"
MY_V="0.9.0.post1"
MY_P="${PN}-${MY_V}"
[[ ${PV} == *9999 ]] || SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
if [[ ${PV} == *9999 ]]; then
KEYWORDS=""
else
KEYWORDS="~amd64"
fi
RDEPEND="
~dev-util/buildbot-${PV}[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
~dev-util/buildbot-www-${PV}[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
>=dev-python/setuptools-21.2.1[${PYTHON_USEDEP}]
"
S="${WORKDIR}/${MY_P}"
#[[ ${PV} == *9999 ]] && S=${S}/www/base
python_install_all() {
distutils-r1_python_install_all
}

@ -1,3 +1,4 @@
DIST buildbot-worker-0.9.0.post1.tar.gz 95780 SHA256 9da22fdf23462680a37d3995cde75410f204d3cb417491363e3f6561fc9011b9 SHA512 50eb98ad4f870f15b1cc34113db139b3b290bef377b4f66ac7c023590f277c102b8776e3a009f296209cf524377c10f60435b18f47cc39d6c27af04778d3296e WHIRLPOOL 1dd5d4274281fe4f582b5e7b83a99693c41282cb2a5262b8899319d3a1e95888417174b8db4ed9f8dcd52ee66785adac98f0d2ecc8abc158a661dfdfa6cd33da
DIST buildbot-worker-0.9.1.tar.gz 65852 SHA256 1d8ec4fd51e7a3a7dd4de7c512b282c221951cbacc6b2eaf15a157f371a0e902 SHA512 cf5749c6fd67fb72cd7043392efb502608cd2d11374cd43af351904a1b4e82d790338e5f745b47465b5cbf9501d2454d983648a70246c6ae55603ba51261a0d0 WHIRLPOOL e576879f141688e3f79e3cf746491bcc106cb4851f14d4960b10be45b7b01c33c6850fb856d6f083d8510ff78f73016e11250e9ef8864e33bace1834c315dafc
DIST buildbot-worker-0.9.2.tar.gz 66043 SHA256 3d05791ac0c556e3e4fe0ef78911ce47eab4fcbb0b5a51a436234ba49b9c236e SHA512 146c2f2b0c44f5c349459edbe61b448e88f9e42eb1c3b7769a0a07260533e4ad40d2d7bc3df2ebecd355d636834108debe8c2d165a9cdc6d849a537cf5743cc4 WHIRLPOOL f786c3a7ac486a2421877082da08a73079b7655ec0941a9509663983c03874bc8b5c12cb990628d0684db757d493528fab9ea3d99d09c22f2d2bbf606c69d0b5
DIST buildbot-worker-0.9.3.tar.gz 98622 SHA256 57b319a34d0118933e7b2488ee29732bc78c55be978fe34a90ef30f208b8d39c SHA512 a0b6b441eeb71e322a5009d6aa0049cbddc4bd4fc78c14cfd362f80d35385b3ffcf5546614b5920c7cdd574df195f5c510b4acdb925c37ad7e6823f7ab62df33 WHIRLPOOL c349bf7ed402fb90318f89135005976b0dbb8c8fc57679b1d5958ce0fdc52fc7f006aeccc9a3119cdd8c66912a8e6fd7e079471461181effd17d75ce9b16ddba

@ -0,0 +1,67 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
PYTHON_COMPAT=( python2_7 )
EGIT_REPO_URI="https://github.com/buildbot/buildbot.git"
[[ ${PV} == *9999 ]] && inherit git-r3
inherit readme.gentoo user distutils-r1
DESCRIPTION="BuildBot Slave Daemon"
HOMEPAGE="http://trac.buildbot.net/ http://code.google.com/p/buildbot/ http://pypi.python.org/pypi/buildbot-slave"
MY_V="0.9.0.post1"
MY_P="${PN}-${MY_V}"
[[ ${PV} == *9999 ]] || SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
if [[ ${PV} == *9999 ]]; then
KEYWORDS=""
else
KEYWORDS="~amd64"
fi
IUSE="test"
RDEPEND=">=dev-python/setuptools-21.2.1[${PYTHON_USEDEP}]
|| ( >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
>=dev-python/twisted-core-8.0.0[${PYTHON_USEDEP}]
)
dev-python/future[${PYTHON_USEDEP}]
!<dev-util/buildbot-0.9.0_rc1"
DEPEND="${RDEPEND}
test? ( dev-python/mock[${PYTHON_USEDEP}] )"
S="${WORKDIR}/${MY_P}"
[[ ${PV} == *9999 ]] && S=${S}/slave
pkg_setup() {
enewuser buildbot
DOC_CONTENTS="The \"buildbot\" user and the \"buildbot_worker\" init script has been added
to support starting buildbot_worker through Gentoo's init system. To use this,
set up your build worker following the documentation, make sure the
resulting directories are owned by the \"buildbot\" user and point
\"${ROOT}etc/conf.d/buildbot_worker\" at the right location. The scripts can
run as a different user if desired. If you need to run more than one
build worker, just copy the scripts."
}
python_install_all() {
distutils-r1_python_install_all
doman docs/buildbot-worker.1
newconfd "${FILESDIR}/buildbot_worker.confd" buildbot_worker
newinitd "${FILESDIR}/buildbot_worker.initd" buildbot_worker
systemd_dounit "${FILESDIR}/buildbot_worker.service"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}

@ -1,3 +1,4 @@
DIST buildbot-www-0.9.0.post1.tar.gz 687998 SHA256 54b6438d46001b97c09b37490e0359d4515357574a9f3f83b796ce4b74897c11 SHA512 e1ed618c7467ac8d3620a9ab1ff14010ed6826562ef117c893cecaab18c06cc4619d9883a45f85ea22b76259bdc1a5bba050afe112aba9449917b7f4c3b3f5ef WHIRLPOOL 870d349a9a52fc9d12a162cd0b5fa94cb9b44c7aacfbaa1d148151e753c11b9fa906f92b85f2858cdc796a2573694c93f560a5fd99ecd19adaed9be68342ed8e
DIST buildbot-www-0.9.1.tar.gz 686034 SHA256 795a951f62d5313543d6cdb848dfd6c658cf58871021ac7b33a153b76de773b6 SHA512 0700d73f1b039571082e9209db09d4faa5ffeeff50db5ac1da9cfade70594b680b083d7421244a0d111b80b36699fee4eb01a9fbbd06248e22c1a38d17b8dc11 WHIRLPOOL fcc86e430918876dc45aa12b5d17e976171eb25a1473e18acd91ec045bbc54eeddd2d5e5917b05bde743241560597243ae246173c1be1ac81d086c5cc6fcef18
DIST buildbot-www-0.9.2.tar.gz 689448 SHA256 063660ff23874e24b713d16d966beaaff5e0d67c437e3627db834f0631c49f82 SHA512 a5edf4da2a7e626b329b75242a5f1588c6ee95f4f242f155e23c4fd4c4ea4e372ba74cd23508f1ff4a3105f8086ed6171f9631d96cffbe8c7216a3ead9ac2320 WHIRLPOOL 58f2273dc425e6c1219a7dfdc25dcd647a7a94aada970777dd97c5607249ace710fda5c8c728feff703fa7976ac14873595ec4497ff1ddccfd958eecf66d74b4
DIST buildbot-www-0.9.3.tar.gz 690646 SHA256 ff0edacd78702f3b2a2052dc2a51c60eaf5859dd0f1aed17fa5ae91579fafa0e SHA512 3f4d1992ea9da7789a7dbeb06d500e8129d285146ef90e868da2cfc88bdab3de8342befdfd222f0641688353a9dc0a3aedd5324dfd39d1fbca96326176bd9651 WHIRLPOOL 17a0acbca3e1d8333772a8a4567e41851901c0f72ffee451d868756f3a3635aa3f88e6dccf1e3a7f83c1daa6c853caed1bd67eeab4f8479b898bab59059d90e3

@ -0,0 +1,44 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
PYTHON_REQ_USE="sqlite"
PYTHON_COMPAT=( python2_7 )
EGIT_REPO_URI="git://github.com/buildbot/buildbot.git"
[[ ${PV} == *9999 ]] && inherit git-r3
inherit distutils-r1
DESCRIPTION="BuildBot base web interface, use with buildbot-{console-view,waterfall-view}..."
HOMEPAGE="http://trac.buildbot.net/ https://github.com/buildbot/buildbot http://pypi.python.org/pypi/buildbot"
MY_V="0.9.0.post1"
MY_P="${PN}-${MY_V}"
[[ ${PV} == *9999 ]] || SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
if [[ ${PV} == *9999 ]]; then
KEYWORDS=""
else
KEYWORDS="~amd64"
fi
RDEPEND=""
DEPEND="${RDEPEND}
>=dev-python/setuptools-21.2.1[${PYTHON_USEDEP}]
~dev-util/buildbot-${PV}[${PYTHON_USEDEP}]
~dev-util/buildbot-pkg-${PV}[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
"
S="${WORKDIR}/${MY_P}"
#[[ ${PV} == *9999 ]] && S=${S}/www/base
python_install_all() {
distutils-r1_python_install_all
}

@ -1,5 +1,6 @@
DIST buildbot-0.8.10.tar.gz 4822307 SHA256 c4964d2ebd81cb80a14cb058fb2aab0572a1d8d86672d514e775b42deb08a5f4 SHA512 e148a1670a56837587d858d1697fe117661cbbfedab42bf7be905f9e8e4266e4ff0170b0cd81aed61234d30497a05427061c3084033f09811d0bc306b200661b WHIRLPOOL 26397b6f914266201aba4feb4df7353facad4fd0f51bdf7e35cf25205c45eadcf83f24c265e540b13d327750ce9561362be6a5aa237152cf1298d970c504f76c
DIST buildbot-0.8.12.tar.gz 4834352 SHA256 c6b66976dff712268566574d57131ec15e5682f6d4390cd5c8559bab0980c4d6 SHA512 18c5144132fb033f3581d3c494d5e8ff35d3e8b1548764452ce9ae543d710e58a2c6e3e8e46a0ef237804f9a6a45485890ae4616ab655fb00d4ccf328d6f6645 WHIRLPOOL 5754b7c0278fb5e7da8a7dd66253f6f4d12f54c125f6a78aa9018a2b6b22fd88a27e79e6821ab05e4cd9e87bf0dd08c3c73c7914d4c499ac13c48ca232ed21c8
DIST buildbot-0.9.0.post1.tar.gz 3013406 SHA256 afd8229c9fd33daa6d8227cd665c75b1b25c47ffcc4046ab5fd5b290ccd536a3 SHA512 0b171ca6ed15b15b4df23d0618cb7d98f6ae922efaa1e35a9458efaaf676b80a6ff3be36231b8ca31cadf89c3968425c560a0bff3630e8792d179462eba0da67 WHIRLPOOL e440826e4a027b42d28c0f3a0afca3c46ec5dc0b4d629fcef75de4b3350cffa2208e0024983f0ffebd1df38a5d860c6bd541fc1c3e28f8b6669ee93a4d4be8b4
DIST buildbot-0.9.1.tar.gz 3051975 SHA256 a9f385f66f5cc3021f4cbfce92496673ebf9171578fa9e5ae4f66732276d64ce SHA512 c3b845a3607c5eaa0a5076755bc0e285ba7c6809f9d7934fab7c6cf8299610e921034656cf3792113961176a821138c6d069122d4d1f1698f16badf3ef9a0dea WHIRLPOOL 6767878665f09ff7b6219ddcda73487b441f3e33ce580fc2df2f16d430217d4ac38b93e22a3f3abd9c8380ac6e6c93de6767faec1aa5615f82fbe8d8e20759e1
DIST buildbot-0.9.2.tar.gz 3026977 SHA256 d33ec059941cf830c8f7b7f336a76e32e7122e2690a27b784efeddc6dbf4564a SHA512 a1c6345bcceb5c8f4ed600542625eee81e59af00a1b12054fe77e3b4ed5536b7004fcbd07cfc96baa3061193eb79e4290e056cf7157b71831370654c057a2c57 WHIRLPOOL 075a00d85df5321180345348a02ac12cc8a1bea36d6e60617ebe54de71ce5a989fcf009822834dad1994a6f83ebb5c6132f350902fd31d5b279c5c13014bb4b9
DIST buildbot-0.9.3.tar.gz 3031033 SHA256 c2bc6a8139b0f97d304bfa047a4c414e42ea12ba94e34d82ae7cb356a69d87fb SHA512 a6f18e88c33fe1eafe0b9b154fb77f0d93db71145faab527ecd5ce53fcbbff48b915de4a02461da87eefbd58a649a56d3a9b16ba759d978e70a70898a15681b7 WHIRLPOOL b62fd5bea0b647b703674024e50731e7713e9488dec570d8e42beabaa2135a81349b955164cf01898b12ab0123d9a8f3b76e3364f65003b8af85a54755b6ad22

@ -0,0 +1,200 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
PYTHON_REQ_USE="sqlite"
PYTHON_COMPAT=( python2_7 )
EGIT_REPO_URI="https://github.com/buildbot/${PN}.git"
[[ ${PV} == *9999 ]] && inherit git-r3
inherit readme.gentoo-r1 user systemd distutils-r1
MY_V="0.9.0.post1"
MY_P="${PN}-${MY_V}"
DESCRIPTION="BuildBot build automation system"
HOMEPAGE="http://trac.buildbot.net/ https://github.com/buildbot/buildbot http://pypi.python.org/pypi/buildbot"
[[ ${PV} == *9999 ]] || SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
if [[ ${PV} == *9999 ]]; then
KEYWORDS=""
else
KEYWORDS="~amd64"
fi
IUSE="crypt doc examples irc mail manhole test"
RDEPEND=">=dev-python/jinja-2.1[${PYTHON_USEDEP}]
|| (
>=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
>=dev-python/twisted-web-14.0.1[${PYTHON_USEDEP}]
)
>=dev-python/autobahn-0.16.0[${PYTHON_USEDEP}]
>=dev-python/sqlalchemy-0.8[${PYTHON_USEDEP}]
>=dev-python/sqlalchemy-migrate-0.9[${PYTHON_USEDEP}]
crypt? (
>=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
dev-python/idna[${PYTHON_USEDEP}]
dev-python/service_identity[${PYTHON_USEDEP}]
)
irc? (
dev-python/txrequests[${PYTHON_USEDEP}]
|| ( >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
>=dev-python/twisted-words-14.0.1[${PYTHON_USEDEP}]
)
)
mail? (
|| ( >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
>=dev-python/twisted-mail-14.0.1[${PYTHON_USEDEP}]
)
)
manhole? (
|| ( >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
>=dev-python/twisted-conch-14.0.1[${PYTHON_USEDEP}]
)
)
dev-python/future[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-1.5[${PYTHON_USEDEP}]
>=dev-python/txaio-2.2.2[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
>=dev-python/setuptools-21.2.1[${PYTHON_USEDEP}]
doc? ( >=dev-python/sphinx-1.4.3[${PYTHON_USEDEP}] )
test? (
>=dev-python/python-dateutil-1.5[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
|| (
>=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
(
>=dev-python/twisted-mail-14.0.1[${PYTHON_USEDEP}]
>=dev-python/twisted-web-14.0.1[${PYTHON_USEDEP}]
>=dev-python/twisted-words-14.0.1[${PYTHON_USEDEP}]
)
)
dev-python/moto[${PYTHON_USEDEP}]
dev-python/boto3[${PYTHON_USEDEP}]
dev-python/ramlfications[${PYTHON_USEDEP}]
dev-python/pyjade[${PYTHON_USEDEP}]
dev-python/txgithub[${PYTHON_USEDEP}]
dev-python/txrequests[${PYTHON_USEDEP}]
)"
# still yet to be added deps
# doc? ( 'sphinxcontrib-blockdiag',
# 'sphinxcontrib-spelling',
# 'pyenchant',
# 'docutils>=0.8',
# 'sphinx-jinja',)
S=${WORKDIR}/${MY_P}
[[ ${PV} == *9999 ]] && S=${S}/master
pkg_setup() {
enewuser buildbot
DOC_CONTENTS="The \"buildbot\" user and the \"buildmaster\" init script has been added
to support starting buildbot through Gentoo's init system. To use this,
execute \"emerge --config =${CATEGORY}/${PF}\" to create a new instance.
The scripts can run as a different user if desired."
}
src_compile() {
distutils-r1_src_compile
if use doc; then
einfo "Generation of documentation"
pushd docs > /dev/null
#'man' target is currently broken
emake html
popd > /dev/null
fi
}
src_install() {
distutils-r1_src_install
doman docs/buildbot.1
if use doc; then
dohtml -r docs/_build/html/
# TODO: install man pages
fi
if use examples; then
insinto /usr/share/doc/${PF}
doins -r contrib docs/examples
fi
newconfd "${FILESDIR}/buildmaster.confd" buildmaster
newinitd "${FILESDIR}/buildmaster.initd" buildmaster
systemd_dounit "${FILESDIR}/buildmaster.target"
systemd_newunit "${FILESDIR}/buildmaster_at.service" "buildmaster@.service"
systemd_install_serviced "${FILESDIR}/buildmaster_at.service.conf" "buildmaster@.service"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
if [[ -n ${REPLACING_VERSIONS} ]]; then
ewarn
ewarn "Starting with buildbot-0.8.12-r2, more than one instance of buildmaster"
ewarn "can be run simultaneously. Note that \"BASEDIR\" in the buildbot configuration file"
ewarn "is now the common base directory for all instances. If you are migrating from an older"
ewarn "version, make sure that you copy the current contents of \"BASEDIR\" to a subdirectory."
ewarn "The name of the subdirectory corresponds to the name of the buildmaster instance."
ewarn "In order to start the service running OpenRC-based systems need to link to the init file:"
ewarn " ln --symbolic --relative /etc/init.d/buildmaster /etc/init.d/buildmaster.myinstance"
ewarn " rc-update add buildmaster.myinstance default"
ewarn " /etc/init.d/buildmaster.myinstance start"
ewarn "Systems using systemd can do the following:"
ewarn " systemctl enable buildmaster@myinstance.service"
ewarn " systemctl enable buildmaster.target"
ewarn " systemctl start buildmaster.target"
elog
elog "Upstream recommends the following when upgrading:"
elog "Each time you install a new version of Buildbot, you should run the"
elog "\"buildbot upgrade-master\" command on each of your pre-existing build masters."
elog "This will add files and fix (or at least detect) incompatibilities between"
elog "your old config and the new code."
fi
elog
elog "In order to create a new instance of buildmaster, execute:"
elog " emerge --config =${CATEGORY}/${PF}"
}
pkg_config() {
local buildmaster_path="/var/lib/buildmaster"
einfo "This will prepare a new buildmaster instance in ${buildmaster_path}."
einfo "Press Control-C to abort."
einfo "Enter the name for the new instance: "
read instance_name
[[ -z "${instance_name}" ]] && die "Invalid instance name"
local instance_path="${buildmaster_path}/${instance_name}"
if [[ -e "${instance_path}" ]]; then
eerror "The instance with the specified name already exists:"
eerror "${instance_path}"
die "Instance already exists"
fi
local buildbot="/usr/bin/buildbot"
if [[ ! -d "${buildmaster_path}" ]]; then
mkdir --parents "${buildmaster_path}" || die "Unable to create directory ${buildmaster_path}"
fi
"${buildbot}" create-master "${instance_path}" &>/dev/null || die "Creating instance failed"
chown --recursive buildbot "${instance_path}" || die "Setting permissions for instance failed"
mv "${instance_path}/master.cfg.sample" "${instance_path}/master.cfg" \
|| die "Moving sample configuration failed"
ln --symbolic --relative "/etc/init.d/buildmaster" "/etc/init.d/buildmaster.${instance_name}" \
|| die "Unable to create link to init file"
einfo "Successfully created a buildmaster instance at ${instance_path}."
einfo "To change the default settings edit the master.cfg file in this directory."
}

@ -10,7 +10,7 @@ SRC_URI="https://github.com/AlDanial/${PN}/releases/download/v${PV}/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
DEPEND="dev-lang/perl"
RDEPEND="${DEPEND}

@ -3,3 +3,4 @@ DIST mercurial-3.9.2.tar.gz 4798958 SHA256 69046a427c05e83097bf0145a1e37975ae0b6
DIST mercurial-4.0.1.tar.gz 4851421 SHA256 6aa4ade93c1b5e11937820880a466ebf1c824086d443cd799fc46e2617250d40 SHA512 145bb80d5dbefb5b770a8d74ce31929fafbd235bb3f641bcaa54b1f5278b2abef4298025152aaba212f639c307741d3aaf75be83e3fc52eaf440c86e4a804459 WHIRLPOOL d1cc3786e16d5a11b7d0a1a10e30190199c72cc281a6e2f3dd9c12829fc967d2b28fce902fb226dfc72531770db042333c5a23565a8c01129fab3a348b11a6f1
DIST mercurial-4.0.2.tar.gz 4852027 SHA256 ae6659dba27508a9a6417d535a89e282d5c8a5ea77b6e00af102822145b06d02 SHA512 774defa1d747a3a12d4ac99873320f8422f62ba163ecff1b628f07a1e95bff11eb35afca0b300374f085d14bd1d5637a543ae533ef840f0c8c1ac113fa14aed9 WHIRLPOOL f5c3fbe60c3a9966e289f684ec2270a5a2ba4fef3ee98025a9ea1e000c599e50293e960f8de46376f1dc8b3f508fa492df2fa22eb6dd5c73c3d2ca6506757bb8
DIST mercurial-4.0.tar.gz 4850316 SHA256 24be080745230840f214d93e9f9fb4e25510f9abbbec2e56fab18543fedc43a7 SHA512 8c1974a00efc4d0bcdaca1ce86a172528de58857ac0a78d8cac5c1182dcdd340c7f0f680c8dba82d384ffd3557abbfbdc2e473b5b0b8f05160bd6dbb915e76e4 WHIRLPOOL b4dad09ee488a2630ba37e4f24454de0d171a5b480bd5d161c28a1ec03f60f05efdc25c66c9626d638becebae1ace420312660f66cc9fbd834efca9824c5fbd6
DIST mercurial-4.1.tar.gz 5125009 SHA256 7b33c32cdd1d518bc2e2ae223e6ef63c486cf52e9d01a45b99cf8eab7bea5274 SHA512 02e4aabe47473194961870909d4512a4be6814cccb51b727dfa9a34dd0aa5f92bfad7b03e6b58ce6c7e2531df52dac530f02264df28dcfc801036fe103cd4471 WHIRLPOOL 9fc1bfdc0f1515122edaa0d342427709e4a3aa87dcd6315d33328fed25cb5e6aad143774e294363db33f38dda2aa87c4eb4a785efd55550768abca4422850c1f

@ -0,0 +1,135 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="threads"
inherit bash-completion-r1 elisp-common eutils distutils-r1 flag-o-matic
DESCRIPTION="Scalable distributed SCM"
HOMEPAGE="https://www.mercurial-scm.org/"
SRC_URI="https://www.mercurial-scm.org/release/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="bugzilla emacs gpg test tk"
RDEPEND="bugzilla? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
gpg? ( app-crypt/gnupg )
tk? ( dev-lang/tk )
app-misc/ca-certificates"
DEPEND="emacs? ( virtual/emacs )
test? ( app-arch/unzip
dev-python/pygments[${PYTHON_USEDEP}] )"
SITEFILE="70${PN}-gentoo.el"
PATCHES=( "${FILESDIR}/${PN}-3.0.1-po_fixes.patch" )
python_prepare_all() {
# fix up logic that won't work in Gentoo Prefix (also won't outside in
# certain cases), bug #362891
sed -i -e 's:xcodebuild:nocodebuild:' setup.py || die
distutils-r1_python_prepare_all
}
python_configure_all() {
strip-flags -ftracer -ftree-vectorize
# Note: make it impl-conditional if py3 is supported
append-flags -fno-strict-aliasing
"${PYTHON}" setup.py build_mo || die
}
python_compile_all() {
rm -r contrib/{win32,macosx} || die
if use emacs; then
cd contrib || die
elisp-compile mercurial.el || die "elisp-compile failed!"
fi
}
python_install_all() {
distutils-r1_python_install_all
newbashcomp contrib/bash_completion hg
insinto /usr/share/zsh/site-functions
newins contrib/zsh_completion _hg
rm -f doc/*.?.txt
dodoc CONTRIBUTORS
cp hgweb*.cgi "${ED}"/usr/share/doc/${PF}/ || die
dobin hgeditor
dobin contrib/hgk
python_foreach_impl python_doscript contrib/hg-ssh
if use emacs; then
elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!"
elisp-site-file-install "${FILESDIR}"/${SITEFILE}
fi
local RM_CONTRIB=(hgk hg-ssh bash_completion zsh_completion wix buildrpm plan9
*.el mercurial.spec)
for f in ${RM_CONTRIB[@]}; do
rm -r contrib/$f || die
done
dodoc -r contrib
docompress -x /usr/share/doc/${PF}/contrib
doman doc/*.?
insinto /etc/mercurial/hgrc.d
doins "${FILESDIR}/cacerts.rc"
}
src_test() {
pushd tests &>/dev/null || die
rm -rf *svn* # Subversion tests fail with 1.5
rm -f test-archive* # Fails due to verbose tar output changes
rm -f test-convert-baz* # GNU Arch baz
rm -f test-convert-cvs* # CVS
rm -f test-convert-darcs* # Darcs
rm -f test-convert-git* # git
rm -f test-convert-mtn* # monotone
rm -f test-convert-tla* # GNU Arch tla
#rm -f test-doctest* # doctest always fails with python 2.5.x
rm -f test-largefiles* # tends to time out
popd &>/dev/null || die
distutils-r1_src_test
}
python_test() {
local TEST_DIR
rm -rf "${TMPDIR}"/test
distutils_install_for_testing
cd tests || die
"${PYTHON}" run-tests.py --verbose \
--tmpdir="${TMPDIR}"/test \
--with-hg="${TEST_DIR}"/scripts/hg \
|| die "Tests fail with ${EPYTHON}"
}
pkg_postinst() {
use emacs && elisp-site-regen
elog "If you want to convert repositories from other tools using convert"
elog "extension please install correct tool:"
elog " dev-vcs/cvs"
elog " dev-vcs/darcs"
elog " dev-vcs/git"
elog " dev-vcs/monotone"
elog " dev-vcs/subversion"
}
pkg_postrm() {
use emacs && elisp-site-regen
}

@ -319,12 +319,10 @@ mysql-multilib-r1_src_prepare() {
if in_iuse tokudb ; then
# Don't build bundled xz-utils
if [[ -d "${S}/storage/tokudb/ft-index" ]] ; then
rm -f "${S}/storage/tokudb/ft-index/cmake_modules/TokuThirdParty.cmake" || die
touch "${S}/storage/tokudb/ft-index/cmake_modules/TokuThirdParty.cmake" || die
echo > "${S}/storage/tokudb/ft-index/cmake_modules/TokuThirdParty.cmake" || die
sed -i 's/ build_lzma//' "${S}/storage/tokudb/ft-index/ft/CMakeLists.txt" || die
elif [[ -d "${S}/storage/tokudb/PerconaFT" ]] ; then
rm "${S}/storage/tokudb/PerconaFT/cmake_modules/TokuThirdParty.cmake" || die
touch "${S}/storage/tokudb/PerconaFT/cmake_modules/TokuThirdParty.cmake" || die
echo > "${S}/storage/tokudb/PerconaFT/cmake_modules/TokuThirdParty.cmake" || die
sed -i -e 's/ build_lzma//' -e 's/ build_snappy//' "${S}/storage/tokudb/PerconaFT/ft/CMakeLists.txt" || die
sed -i -e 's/add_dependencies\(tokuportability_static_conv build_jemalloc\)//' "${S}/storage/tokudb/PerconaFT/portability/CMakeLists.txt" || die
fi
@ -340,6 +338,11 @@ mysql-multilib-r1_src_prepare() {
rm -r "${S}"/storage/mroonga/vendor/groonga || die "could not remove packaged groonga"
fi
# Remove the centos and rhel selinux policies to support mysqld_safe under SELinux
if [[ -d "${S}/support-files/SELinux" ]] ; then
echo > "${S}/support-files/SELinux/CMakeLists.txt" || die
fi
if [[ "${EAPI}x" == "5x" ]] ; then
epatch_user
else

@ -26,7 +26,7 @@ RDEPEND="!libressl? ( dev-libs/openssl:0=[-bindist] )
dev-db/sqlite:3
dev-libs/glib:2
dev-libs/gmime
dev-util/ragel
<dev-util/ragel-7.0
sys-apps/file
virtual/libiconv"
DEPEND="dev-util/ragel

@ -12,7 +12,7 @@ SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"
LICENSE="gd IJG HPND BSD"
SLOT="2/3"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-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 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib"
# fontconfig has prefixed font paths, details see bug #518970

@ -28,8 +28,8 @@ SLOT="0"
IUSE=""
DEPEND="
media-tv/kodi
media-libs/kodi-platform
=media-tv/kodi-17*
=media-libs/kodi-platform-17*
=dev-libs/libplatform-2*
"
RDEPEND="

@ -28,8 +28,8 @@ SLOT="0"
IUSE=""
DEPEND="
media-tv/kodi
media-libs/kodi-platform
=media-tv/kodi-9999
=media-libs/kodi-platform-9999
=dev-libs/libplatform-2*
"
RDEPEND="

@ -28,7 +28,7 @@ SLOT="0"
IUSE=""
DEPEND="
media-tv/kodi
=media-tv/kodi-9999
media-video/rtmpdump
"
RDEPEND="

@ -0,0 +1 @@
DIST kodi-peripheral-joystick-1.2.1.tar.gz 83344 SHA256 e0230e846d444ff5092c6b2d18c8773ac3330dcc1647626b5da3aaf46e02e982 SHA512 af86bf8c7e8f7a975f5282a4b4c1d36027552857b31f28bbed03eac0b8e1059bb46f284bf5461c261f0f8be56e2e5a221eb9f916aeff6567fcebc459e34398d6 WHIRLPOOL 5d823d27265966e5e2ab88660158919e2d648184d827d545111945f85ba84937dc7c095dc45ff9eaffa87c521ef396f61aa3a605401e2515d052e3ce1f3b3160

@ -0,0 +1,38 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit cmake-utils kodi-addon
DESCRIPTION="Libretro compatibility layer for the Kodi Game API"
HOMEPAGE="https://github.com/xbmc/peripheral.joystick"
SRC_URI=""
case ${PV} in
9999)
SRC_URI=""
EGIT_REPO_URI="git://github.com/xbmc/peripheral.joystick.git"
inherit git-r3
;;
*)
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/xbmc/peripheral.joystick/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/peripheral.joystick-${PV}"
;;
esac
LICENSE="GPL-2"
SLOT="0"
IUSE=""
DEPEND="
=media-tv/kodi-17*
=media-libs/kodi-platform-17*
=dev-libs/libplatform-2*
dev-libs/libpcre
"
RDEPEND="
${DEPEND}
"

@ -28,8 +28,8 @@ SLOT="0"
IUSE=""
DEPEND="
media-tv/kodi
media-libs/kodi-platform
=media-tv/kodi-9999
=media-libs/kodi-platform-9999
=dev-libs/libplatform-2*
dev-libs/libpcre
"

@ -18,7 +18,7 @@ case ${PV} in
;;
*)
CODENAME="Krypton"
KEYWORDS="~amd64"
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/kodi-pvr/pvr.argustv/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/pvr.argustv-${PV}-${CODENAME}"
;;
@ -29,8 +29,8 @@ SLOT="0"
IUSE=""
DEPEND="
=media-tv/kodi-16*
=media-libs/kodi-platform-16*
=media-tv/kodi-17*
=media-libs/kodi-platform-17*
dev-libs/jsoncpp
"

@ -18,7 +18,7 @@ case ${PV} in
;;
*)
CODENAME="Krypton"
KEYWORDS="~amd64"
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/kodi-pvr/pvr.demo/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/pvr.demo-${PV}-${CODENAME}"
;;
@ -29,8 +29,8 @@ SLOT="0"
IUSE=""
DEPEND="
=media-tv/kodi-16*
=media-libs/kodi-platform-16*
=media-tv/kodi-17*
=media-libs/kodi-platform-17*
dev-libs/tinyxml
"

@ -29,8 +29,8 @@ SLOT="0"
IUSE=""
DEPEND="
=media-tv/kodi-9999*
=media-libs/kodi-platform-9999*
=media-tv/kodi-9999
=media-libs/kodi-platform-9999
dev-libs/tinyxml
"

@ -18,7 +18,7 @@ case ${PV} in
;;
*)
CODENAME="Krypton"
KEYWORDS="~amd64"
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/kodi-pvr/pvr.dvblink/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/pvr.dvblink-${PV}-${CODENAME}"
;;
@ -29,8 +29,8 @@ SLOT="0"
IUSE=""
DEPEND="
=media-tv/kodi-16*
=media-libs/kodi-platform-16*
=media-tv/kodi-17*
=media-libs/kodi-platform-17*
dev-libs/tinyxml2
"

@ -1 +1 @@
DIST kodi-pvr-dvbviewer-2.4.6.tar.gz 92951 SHA256 7d8cf9b49cc05e7077b78c36ebc57b6d9517b66a8ac7d25547b1c0b948260315 SHA512 52f737c78ad7bb07bdcc2b0162127663b1fb58eb1f364de034197036ed1e176a6b9feac90847d9b3e0f13cb7119649e66625a514e679a17984f5e1d5e0ddaceb WHIRLPOOL ea675f9455d3d9efe2ee480c093bb8e10d14a9a804f5c86784f83176719d75db30639851524d4fa053fde370fe56ef7e1f6c0ba3e7f2a26491801a726cc6b3ce
DIST kodi-pvr-dvbviewer-2.4.6-Krypton.tar.gz 92982 SHA256 8b4eb77a7848c634ba3e214de85c46cc9b34d2dd411d7bc133169a04168adf5a SHA512 7253c977432617b73d63d9b923b8dc094342202103e6307c65abccea0b12e76e06fb85562cc1c1297e5ececc902932544c9e156a3c2c43f60b583d9c69610352 WHIRLPOOL 4d7a018e82031ac075e1d200fa9bd3944d18661da008864baeccb464480f1efdedd3c53261c810482c3ec3868b90e46bd7208f2adc0782ded049960a1e3142dc

@ -17,9 +17,10 @@ case ${PV} in
inherit git-r3
;;
*)
CODENAME="Krypton"
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/kodi-pvr/pvr.dvbviewer/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/pvr.dvbviewer-${PV}"
SRC_URI="https://github.com/kodi-pvr/pvr.dvbviewer/archive/${PV}-${CODENAME}.tar.gz -> ${P}-${CODENAME}.tar.gz"
S="${WORKDIR}/pvr.dvbviewer-${PV}-${CODENAME}"
;;
esac
@ -28,8 +29,8 @@ SLOT="0"
IUSE=""
DEPEND="
media-tv/kodi
media-libs/kodi-platform
=media-tv/kodi-17*
=media-libs/kodi-platform-17*
dev-libs/tinyxml
"

@ -17,9 +17,10 @@ case ${PV} in
inherit git-r3
;;
*)
CODENAME="Krypton"
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/kodi-pvr/pvr.dvbviewer/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/pvr.dvbviewer-${PV}"
SRC_URI="https://github.com/kodi-pvr/pvr.dvbviewer/archive/${PV}-${CODENAME}.tar.gz -> ${P}-${CODENAME}.tar.gz"
S="${WORKDIR}/pvr.dvbviewer-${PV}-${CODENAME}"
;;
esac
@ -28,8 +29,8 @@ SLOT="0"
IUSE=""
DEPEND="
media-tv/kodi
media-libs/kodi-platform
=media-tv/kodi-9999*
=media-libs/kodi-platform-9999*
dev-libs/tinyxml
"

@ -0,0 +1 @@
DIST kodi-pvr-filmon-1.4.7.tar.gz 103691 SHA256 87ad3adc22ec64be15b9408c51388bb7d12b0089dd466aae73ae082d0576320c SHA512 86bbfbe56607888983e7b80800680c2b955a743def3aedd9ba1a4cee8543af327b737b1c9a04dc03b09a950774a31c0ce9af8a0431103fca937b6f0fa7b76280 WHIRLPOOL a96f1afcaf856fdf23cf78d691f53fb5a02a51a355313a268d442329ff816ed63bfc6bae43c1536e61b6a02c6732ee8d68e517412b8986664084d3cf9a8975bb

@ -0,0 +1,39 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit cmake-utils kodi-addon
DESCRIPTION="Kodi's Filmon client addon"
HOMEPAGE="https://github.com/kodi-pvr/pvr.filmon"
SRC_URI=""
case ${PV} in
9999)
SRC_URI=""
EGIT_REPO_URI="git://github.com/kodi-pvr/pvr.filmon.git"
inherit git-r3
;;
*)
CODENAME="Krypton"
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/kodi-pvr/pvr.filmon/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/pvr.filmon-${PV}-${CODENAME}"
;;
esac
LICENSE="GPL-2"
SLOT="0"
IUSE=""
DEPEND="
=media-tv/kodi-17*
=media-libs/kodi-platform-17*
dev-libs/jsoncpp
"
RDEPEND="
${DEPEND}
"

@ -17,9 +17,10 @@ case ${PV} in
inherit git-r3
;;
*)
CODENAME="Krypton"
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/kodi-pvr/pvr.filmon/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/pvr.filmon-${PV}"
SRC_URI="https://github.com/kodi-pvr/pvr.filmon/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/pvr.filmon-${PV}-${CODENAME}"
;;
esac
@ -28,8 +29,8 @@ SLOT="0"
IUSE=""
DEPEND="
media-tv/kodi
media-libs/kodi-platform
=media-tv/kodi-9999
=media-libs/kodi-platform-9999
dev-libs/jsoncpp
"

@ -0,0 +1 @@
DIST kodi-pvr-iptvsimple-2.4.8.tar.gz 159663 SHA256 077f57a147d0036a0a6cfee1a2c53cd384c2cc7d29942dcc5d4c715943f7cd8b SHA512 da4e287f8c72b014b36fe2379f85568551e4d479a311479347de36aa7f4f497f344b0d8443c5646a0cfbe20db0ec25c90a653e6030c59faee7040f8c8341cbf7 WHIRLPOOL 3d97bc19adc2811df60e7b56630fe0cf8f6a0eec85e0c71fef287773cbe51a5a45679c6a007b8da7c36ae4c4b870da424feafbd6ebeda9938360a2fdf8622a92

@ -0,0 +1,40 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit cmake-utils kodi-addon
DESCRIPTION="Kodi's IPTVSimple client addon"
HOMEPAGE="https://github.com/kodi-pvr/pvr.iptvsimple"
SRC_URI=""
case ${PV} in
9999)
SRC_URI=""
EGIT_REPO_URI="git://github.com/kodi-pvr/pvr.iptvsimple.git"
inherit git-r3
;;
*)
CODENAME="Krypton"
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/kodi-pvr/pvr.iptvsimple/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/pvr.iptvsimple-${PV}-${CODENAME}"
;;
esac
LICENSE="GPL-2"
SLOT="0"
IUSE=""
DEPEND="
=dev-libs/libplatform-2*
=media-tv/kodi-17*
=media-libs/kodi-platform-17*
sys-libs/zlib
"
RDEPEND="
${DEPEND}
"

@ -17,9 +17,10 @@ case ${PV} in
inherit git-r3
;;
*)
CODENAME="Krypton"
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/kodi-pvr/pvr.iptvsimple/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/pvr.iptvsimple-${PV}"
SRC_URI="https://github.com/kodi-pvr/pvr.iptvsimple/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/pvr.iptvsimple-${PV}-${CODENAME}"
;;
esac
@ -29,8 +30,8 @@ IUSE=""
DEPEND="
=dev-libs/libplatform-2*
media-tv/kodi
media-libs/kodi-platform
=media-tv/kodi-9999
=media-libs/kodi-platform-9999
sys-libs/zlib
"

@ -1 +1 @@
DIST kodi-pvr-mediaportal-tvserver-2.4.14.tar.gz 386766 SHA256 d17bbc3723f19e630407b0c8b66a639317c1524b0df9517f9e1b18497baa5f5e SHA512 58ef9cfa4b7901c1def48fd6c0a840c63b40a15cd15c9ced2f9133c499d3268d3d92a6cbc7871eb400e87e9585b010e4be73ed9bd78546284dea86207c1dec23 WHIRLPOOL 768ac9e5f60bc2c7b48eef7d9fc393b7904e84f0b7aaa654630bc193b8df6ae0d2963db0b9c113a7680166648888fe32c80fedb42756de10f4b46029d414582b
DIST kodi-pvr-mediaportal-tvserver-2.4.16.tar.gz 385817 SHA256 59264354c79eaf1658755cb5bc05efc8bca581ed8fb762e82665ec128453e648 SHA512 f59e1fdcaaa1179452efa4226f780172a34602848ac6dc1d6c563c7baf72f8025fd1e418c33dc93d5bdac7d477e46702731aa1e8892207a47b6a07199cec3757 WHIRLPOOL 6a948d28a2635beff0d8f1ceb64484e500532290b626b25df8d1fcfd0dabf84f862619198b2c4e4930335d8328954b128a84ab69997d630f7d38930c6cf61ed8

@ -17,9 +17,10 @@ case ${PV} in
inherit git-r3
;;
*)
CODENAME="Krypton"
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/kodi-pvr/pvr.mediaportal.tvserver/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/pvr.mediaportal.tvserver-${PV}"
SRC_URI="https://github.com/kodi-pvr/pvr.mediaportal.tvserver/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/pvr.mediaportal.tvserver-${PV}-${CODENAME}"
;;
esac
@ -28,8 +29,8 @@ SLOT="0"
IUSE=""
DEPEND="
media-tv/kodi
media-libs/kodi-platform
=media-tv/kodi-17*
=media-libs/kodi-platform-17*
dev-libs/tinyxml
"

@ -17,9 +17,10 @@ case ${PV} in
inherit git-r3
;;
*)
CODENAME="Krypton"
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/kodi-pvr/pvr.mediaportal.tvserver/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/pvr.mediaportal.tvserver-${PV}"
SRC_URI="https://github.com/kodi-pvr/pvr.mediaportal.tvserver/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/pvr.mediaportal.tvserver-${PV}-${CODENAME}"
;;
esac
@ -28,8 +29,8 @@ SLOT="0"
IUSE=""
DEPEND="
media-tv/kodi
media-libs/kodi-platform
=media-tv/kodi-9999
=media-libs/kodi-platform-9999
dev-libs/tinyxml
"

@ -29,8 +29,8 @@ IUSE=""
DEPEND="
sys-libs/zlib
media-tv/kodi
media-libs/kodi-platform
=media-tv/kodi-17*
=media-libs/kodi-platform-17*
"
RDEPEND="
${DEPEND}

@ -29,8 +29,8 @@ IUSE=""
DEPEND="
sys-libs/zlib
media-tv/kodi
media-libs/kodi-platform
=media-tv/kodi-9999
=media-libs/kodi-platform-9999
"
RDEPEND="
${DEPEND}

@ -0,0 +1 @@
DIST kodi-pvr-nextpvr-2.4.11.tar.gz 111677 SHA256 5b0839141c9bdd1150442ef06974755bccb381b2998ddffa584eb234a83b7af5 SHA512 2c9e98cb6b99aca8c582d4751096c7ef445f97b09fb6d51c798767c7a7b54632bd4e5c7fb2d723b023eeb335daa73e53ba455156bd8e8ea863c3a98659e5e906 WHIRLPOOL b4af07be4e8e0dc17dbf32d2f8120a248d26ee3370de89315f77d6c195d76ecbc36344b055d63689e80b5713b06831910ae1f2d9cc7374a21b6ca3841fd8156b

@ -0,0 +1,39 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit cmake-utils kodi-addon
DESCRIPTION="Kodi's NextPVR client addon"
HOMEPAGE="https://github.com/kodi-pvr/pvr.nextpvr"
SRC_URI=""
case ${PV} in
9999)
SRC_URI=""
EGIT_REPO_URI="git://github.com/kodi-pvr/pvr.nextpvr.git"
inherit git-r3
;;
*)
CODENAME="Krypton"
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/kodi-pvr/pvr.nextpvr/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/pvr.nextpvr-${PV}-${CODENAME}"
;;
esac
LICENSE="GPL-2"
SLOT="0"
IUSE=""
DEPEND="
=media-tv/kodi-17*
=media-libs/kodi-platform-17*
dev-libs/tinyxml
"
RDEPEND="
${DEPEND}
"

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save