parent
90fa31fef8
commit
23b77f1deb
Binary file not shown.
Binary file not shown.
@ -1,3 +1 @@
|
|||||||
DIST dxf-7.0.1.tar.gz 292883 BLAKE2B 9723866611ea93b86196d13250eb0a435c8a92541f7ad95a432724a056153af8f9bff5498d6a564c7e98f3cffee0ef6dc605b90c3d4e9ddcc2f8d12ff9276cf7 SHA512 01b5b9d77fc59cf552c94b778700af219302d795ce07399d45fb51d98e72ba6d03cc473ac6f6641a9562d6a196d4d72f44b963ac9e210863f76b3a6ab7a9628e
|
|
||||||
DIST dxf-7.1.0.tar.gz 293437 BLAKE2B 24bc00f0d94c86c3a2cd053aac34c8828bd32bf3eaf17c0479d67849ee20ade4ed48e5cf48e6f64a39d82ab286ba69d9e89cc9f0ff1f1c1b46bc213a8eed9f3a SHA512 628d9aac2621e6502c2aa705e59947f95481b7bc447deaae1e538f8b6737e83d6139eeafe518e45d912a5dca07561622d6e8f320fde32f09edea45e04640fcfe
|
|
||||||
DIST dxf-7.1.1.tar.gz 293629 BLAKE2B b6657e2b3b402e07a1f22dc5f8ece033fc8c7492e18a1654e7354420862c042ece359cdbb377dd9daefec606aaab865a22d26247d463097469c322d2877f4ea7 SHA512 9e9be7a69d885bfaf4f062ec601f33c7de2123c4c2910f046fc4b3f199608d08626e76ff47e2c9691149e6f3e0c6fb05e2264b83b3d74c06fe907f5bb7de5254
|
DIST dxf-7.1.1.tar.gz 293629 BLAKE2B b6657e2b3b402e07a1f22dc5f8ece033fc8c7492e18a1654e7354420862c042ece359cdbb377dd9daefec606aaab865a22d26247d463097469c322d2877f4ea7 SHA512 9e9be7a69d885bfaf4f062ec601f33c7de2123c4c2910f046fc4b3f199608d08626e76ff47e2c9691149e6f3e0c6fb05e2264b83b3d74c06fe907f5bb7de5254
|
||||||
|
@ -1,29 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Docker registry v2 client in Python"
|
|
||||||
HOMEPAGE="https://github.com/davedoesdev/dxf"
|
|
||||||
SRC_URI="https://github.com/davedoesdev/dxf/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND=">=dev-python/jwcrypto-0.4.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/requests-2.9.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/tqdm-4.10.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/www-authenticate-0.9.2[${PYTHON_USEDEP}]"
|
|
||||||
|
|
||||||
RESTRICT="test"
|
|
||||||
# Require dockerd running
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
emake test
|
|
||||||
}
|
|
@ -1,29 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Docker registry v2 client in Python"
|
|
||||||
HOMEPAGE="https://github.com/davedoesdev/dxf"
|
|
||||||
SRC_URI="https://github.com/davedoesdev/dxf/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND=">=dev-python/jwcrypto-0.4.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/requests-2.18.4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/tqdm-4.19.4[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/www-authenticate-0.9.2[${PYTHON_USEDEP}]"
|
|
||||||
|
|
||||||
RESTRICT="test"
|
|
||||||
# Require dockerd running
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
emake test
|
|
||||||
}
|
|
@ -1,3 +1,4 @@
|
|||||||
DIST syslog-ng-3.13.2.tar.gz 9047998 BLAKE2B a18b11a31e1bf4c981071e7509ff154f08076c5ca659e814a3d8a49108dcc6f324ba3025f4e43bb32d23a9554fc188da4b116089fe29bf866f323f76280c460f SHA512 fd5c6645f1e8e10cba940ea29715f9e7cc286cd49c2f45bde2a447731189d6171ca204aa066ac96dd09246fd7ed1751130d143d807c979518d688e7750490cfe
|
DIST syslog-ng-3.13.2.tar.gz 9047998 BLAKE2B a18b11a31e1bf4c981071e7509ff154f08076c5ca659e814a3d8a49108dcc6f324ba3025f4e43bb32d23a9554fc188da4b116089fe29bf866f323f76280c460f SHA512 fd5c6645f1e8e10cba940ea29715f9e7cc286cd49c2f45bde2a447731189d6171ca204aa066ac96dd09246fd7ed1751130d143d807c979518d688e7750490cfe
|
||||||
DIST syslog-ng-3.14.1.tar.gz 9039910 BLAKE2B 688eb52557c41a2556835978809b74ef4cc6b78e54580c4f349a8b9ebc07a6cf5ab99d8cda2a0212cb0186fe9e0a276d46ab9846c5ed1c391d734596ccc2d0a9 SHA512 86e5b59f76de3f585781accc9e426b2f74a73a560a6b49364e3f2b71b6fdd382b8473b468ac396e09c1dd0e00aa525a25874af67ce6c81978df2995c9b920aa7
|
DIST syslog-ng-3.14.1.tar.gz 9039910 BLAKE2B 688eb52557c41a2556835978809b74ef4cc6b78e54580c4f349a8b9ebc07a6cf5ab99d8cda2a0212cb0186fe9e0a276d46ab9846c5ed1c391d734596ccc2d0a9 SHA512 86e5b59f76de3f585781accc9e426b2f74a73a560a6b49364e3f2b71b6fdd382b8473b468ac396e09c1dd0e00aa525a25874af67ce6c81978df2995c9b920aa7
|
||||||
|
DIST syslog-ng-3.15.1.tar.gz 9147238 BLAKE2B 86c51a51569efed2c2127a6102a10224a0599d40af0d34f28b5b52e314687851753f979a8d9edabdba02d347407b1b2856bce11991eeda53cbe10ad135934534 SHA512 79b4f2eff92bcbfe8a875bc72eb98bb43d86ef3c63deaf4acefcdad4f3a98df9de4e7935fc2ebbe017fd5eb22aa0743f1ff428d0ccf3790a1767f4e25c6a7b13
|
||||||
DIST syslog-ng-3.7.3.tar.gz 3511155 BLAKE2B 25ba2ca241a5847c75792c78d39a4667f55cf1fcff46be5102256ee6a9d2f39e2042ac00fa0b1559f94e0df80a0853249692b443b565dd4f46f0354c453cacaf SHA512 e58d793bd1a8b48c5836090ee244f6e8b223f234f5a27fbf81f6a838b9b1e3e45f73a66dab2bc58a0bba230bd778a247ae22bf529a28fb2e9fee52b8181d304b
|
DIST syslog-ng-3.7.3.tar.gz 3511155 BLAKE2B 25ba2ca241a5847c75792c78d39a4667f55cf1fcff46be5102256ee6a9d2f39e2042ac00fa0b1559f94e0df80a0853249692b443b565dd4f46f0354c453cacaf SHA512 e58d793bd1a8b48c5836090ee244f6e8b223f234f5a27fbf81f6a838b9b1e3e45f73a66dab2bc58a0bba230bd778a247ae22bf529a28fb2e9fee52b8181d304b
|
||||||
|
@ -0,0 +1,24 @@
|
|||||||
|
@version: @SYSLOGNG_VERSION@
|
||||||
|
#
|
||||||
|
# Syslog-ng default configuration file for Gentoo FreeBSD
|
||||||
|
#
|
||||||
|
|
||||||
|
# https://bugs.gentoo.org/426814
|
||||||
|
@include "scl.conf"
|
||||||
|
|
||||||
|
options {
|
||||||
|
threaded(yes);
|
||||||
|
chain_hostnames(no);
|
||||||
|
|
||||||
|
# The default action of syslog-ng is to log a STATS line
|
||||||
|
# to the file every 10 minutes. That's pretty ugly after a while.
|
||||||
|
# Change it to every 12 hours so you get a nice daily update of
|
||||||
|
# how many messages syslog-ng missed (0).
|
||||||
|
stats_freq(43200);
|
||||||
|
};
|
||||||
|
|
||||||
|
source src { system(); internal(); };
|
||||||
|
|
||||||
|
destination messages { file("/var/log/messages"); };
|
||||||
|
|
||||||
|
log { source(src); destination(messages); };
|
@ -0,0 +1,115 @@
|
|||||||
|
@version: @SYSLOGNG_VERSION@
|
||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# https://bugs.gentoo.org/426814
|
||||||
|
@include "scl.conf"
|
||||||
|
|
||||||
|
#
|
||||||
|
# Syslog-ng configuration file, compatible with default hardened installations.
|
||||||
|
#
|
||||||
|
|
||||||
|
options {
|
||||||
|
threaded(yes);
|
||||||
|
chain_hostnames(no);
|
||||||
|
stats_freq(43200);
|
||||||
|
};
|
||||||
|
|
||||||
|
source src {
|
||||||
|
system();
|
||||||
|
internal();
|
||||||
|
};
|
||||||
|
|
||||||
|
source kernsrc {
|
||||||
|
file("/proc/kmsg");
|
||||||
|
};
|
||||||
|
|
||||||
|
#source net { udp(); };
|
||||||
|
#log { source(net); destination(net_logs); };
|
||||||
|
#destination net_logs { file("/var/log/HOSTS/$HOST/$YEAR$MONTH$DAY.log"); };
|
||||||
|
|
||||||
|
destination authlog { file("/var/log/auth.log"); };
|
||||||
|
destination _syslog { file("/var/log/syslog"); };
|
||||||
|
destination cron { file("/var/log/cron.log"); };
|
||||||
|
destination daemon { file("/var/log/daemon.log"); };
|
||||||
|
destination kern { file("/var/log/kern.log"); };
|
||||||
|
destination lpr { file("/var/log/lpr.log"); };
|
||||||
|
destination user { file("/var/log/user.log"); };
|
||||||
|
destination uucp { file("/var/log/uucp.log"); };
|
||||||
|
#destination ppp { file("/var/log/ppp.log"); };
|
||||||
|
destination mail { file("/var/log/mail.log"); };
|
||||||
|
|
||||||
|
destination avc { file("/var/log/avc.log"); };
|
||||||
|
destination audit { file("/var/log/audit.log"); };
|
||||||
|
destination pax { file("/var/log/pax.log"); };
|
||||||
|
destination grsec { file("/var/log/grsec.log"); };
|
||||||
|
|
||||||
|
destination mailinfo { file("/var/log/mail.info"); };
|
||||||
|
destination mailwarn { file("/var/log/mail.warn"); };
|
||||||
|
destination mailerr { file("/var/log/mail.err"); };
|
||||||
|
|
||||||
|
destination newscrit { file("/var/log/news/news.crit"); };
|
||||||
|
destination newserr { file("/var/log/news/news.err"); };
|
||||||
|
destination newsnotice { file("/var/log/news/news.notice"); };
|
||||||
|
|
||||||
|
destination debug { file("/var/log/debug"); };
|
||||||
|
destination messages { file("/var/log/messages"); };
|
||||||
|
destination console { usertty("root"); };
|
||||||
|
destination console_all { file("/dev/tty12"); };
|
||||||
|
#destination loghost { udp("loghost" port(999)); };
|
||||||
|
|
||||||
|
destination xconsole { pipe("/dev/xconsole"); };
|
||||||
|
|
||||||
|
filter f_auth { facility(auth); };
|
||||||
|
filter f_authpriv { facility(auth, authpriv); };
|
||||||
|
filter f_syslog { not facility(authpriv, mail); };
|
||||||
|
filter f_cron { facility(cron); };
|
||||||
|
filter f_daemon { facility(daemon); };
|
||||||
|
filter f_kern { facility(kern); };
|
||||||
|
filter f_lpr { facility(lpr); };
|
||||||
|
filter f_mail { facility(mail); };
|
||||||
|
filter f_user { facility(user); };
|
||||||
|
filter f_uucp { facility(uucp); };
|
||||||
|
#filter f_ppp { facility(ppp); };
|
||||||
|
filter f_news { facility(news); };
|
||||||
|
filter f_debug { not facility(auth, authpriv, news, mail); };
|
||||||
|
filter f_messages { level(info..warn)
|
||||||
|
and not facility(auth, authpriv, mail, news); };
|
||||||
|
filter f_emergency { level(emerg); };
|
||||||
|
|
||||||
|
filter f_info { level(info); };
|
||||||
|
|
||||||
|
filter f_notice { level(notice); };
|
||||||
|
filter f_warn { level(warn); };
|
||||||
|
filter f_crit { level(crit); };
|
||||||
|
filter f_err { level(err); };
|
||||||
|
|
||||||
|
filter f_avc { message(".*avc: .*"); };
|
||||||
|
filter f_audit { message("^(\\[.*\..*\] |)audit.*") and not message(".*avc: .*"); };
|
||||||
|
filter f_pax { message("^(\\[.*\..*\] |)PAX:.*"); };
|
||||||
|
filter f_grsec { message("^(\\[.*\..*\] |)grsec:.*"); };
|
||||||
|
|
||||||
|
log { source(src); filter(f_authpriv); destination(authlog); };
|
||||||
|
log { source(src); filter(f_syslog); destination(_syslog); };
|
||||||
|
log { source(src); filter(f_cron); destination(cron); };
|
||||||
|
log { source(src); filter(f_daemon); destination(daemon); };
|
||||||
|
log { source(kernsrc); filter(f_kern); destination(kern); destination(console_all); };
|
||||||
|
log { source(src); filter(f_lpr); destination(lpr); };
|
||||||
|
log { source(src); filter(f_mail); destination(mail); };
|
||||||
|
log { source(src); filter(f_user); destination(user); };
|
||||||
|
log { source(src); filter(f_uucp); destination(uucp); };
|
||||||
|
log { source(kernsrc); filter(f_pax); destination(pax); };
|
||||||
|
log { source(kernsrc); filter(f_grsec); destination(grsec); };
|
||||||
|
log { source(kernsrc); filter(f_audit); destination(audit); };
|
||||||
|
log { source(kernsrc); filter(f_avc); destination(avc); };
|
||||||
|
log { source(src); filter(f_mail); filter(f_info); destination(mailinfo); };
|
||||||
|
log { source(src); filter(f_mail); filter(f_warn); destination(mailwarn); };
|
||||||
|
log { source(src); filter(f_mail); filter(f_err); destination(mailerr); };
|
||||||
|
log { source(src); filter(f_news); filter(f_crit); destination(newscrit); };
|
||||||
|
log { source(src); filter(f_news); filter(f_err); destination(newserr); };
|
||||||
|
log { source(src); filter(f_news); filter(f_notice); destination(newsnotice); };
|
||||||
|
log { source(src); filter(f_debug); destination(debug); };
|
||||||
|
log { source(src); filter(f_messages); destination(messages); };
|
||||||
|
log { source(src); filter(f_emergency); destination(console); };
|
||||||
|
#log { source(src); filter(f_ppp); destination(ppp); };
|
||||||
|
log { source(src); destination(console_all); };
|
@ -0,0 +1,36 @@
|
|||||||
|
@version: @SYSLOGNG_VERSION@
|
||||||
|
#
|
||||||
|
# Syslog-ng default configuration file for Gentoo Linux
|
||||||
|
|
||||||
|
# https://bugs.gentoo.org/426814
|
||||||
|
@include "scl.conf"
|
||||||
|
|
||||||
|
options {
|
||||||
|
threaded(yes);
|
||||||
|
chain_hostnames(no);
|
||||||
|
|
||||||
|
# The default action of syslog-ng is to log a STATS line
|
||||||
|
# to the file every 10 minutes. That's pretty ugly after a while.
|
||||||
|
# Change it to every 12 hours so you get a nice daily update of
|
||||||
|
# how many messages syslog-ng missed (0).
|
||||||
|
stats_freq(43200);
|
||||||
|
# The default action of syslog-ng is to log a MARK line
|
||||||
|
# to the file every 20 minutes. That's seems high for most
|
||||||
|
# people so turn it down to once an hour. Set it to zero
|
||||||
|
# if you don't want the functionality at all.
|
||||||
|
mark_freq(3600);
|
||||||
|
};
|
||||||
|
|
||||||
|
source src { system(); internal(); };
|
||||||
|
|
||||||
|
destination messages { file("/var/log/messages"); };
|
||||||
|
|
||||||
|
# By default messages are logged to tty12...
|
||||||
|
destination console_all { file("/dev/tty12"); };
|
||||||
|
# ...if you intend to use /dev/console for programs like xconsole
|
||||||
|
# you can comment out the destination line above that references /dev/tty12
|
||||||
|
# and uncomment the line below.
|
||||||
|
#destination console_all { file("/dev/console"); };
|
||||||
|
|
||||||
|
log { source(src); destination(messages); };
|
||||||
|
log { source(src); destination(console_all); };
|
@ -0,0 +1,43 @@
|
|||||||
|
# Config file for /etc/init.d/syslog-ng
|
||||||
|
|
||||||
|
# If you are not using network logging, this entire section should be
|
||||||
|
# commented out. Otherwise, choose one of the settings below based on
|
||||||
|
# how you are configuring your network.
|
||||||
|
#
|
||||||
|
# If you are using the net.* scripts to configure your network, you should
|
||||||
|
# set rc_need to match the interface through which your logging server
|
||||||
|
# can be reached.
|
||||||
|
#rc_need="net.eth0"
|
||||||
|
#
|
||||||
|
# If you are using an interface manager like wicd, dhcpcd in standalone
|
||||||
|
# mode, networkmanager, etc to control your interfaces, set rc_need to
|
||||||
|
# the name of that service.
|
||||||
|
# rc_need="dhcpcd"
|
||||||
|
#rc_need="networkmanager"
|
||||||
|
#
|
||||||
|
# If you are using newnet and configuring your interface statically with
|
||||||
|
# the network script, you should use this setting.
|
||||||
|
#rc_need="network"
|
||||||
|
#
|
||||||
|
# You can use this setting, but I do not recommend relying on it.
|
||||||
|
#rc_need="net"
|
||||||
|
#
|
||||||
|
# You may also want to uncomment the following if you are using network
|
||||||
|
# logging.
|
||||||
|
#rc_use="stunnel"
|
||||||
|
|
||||||
|
# For very customized setups these variables can be adjusted as needed
|
||||||
|
# but for most situations they should remain commented:
|
||||||
|
# SYSLOG_NG_CONFIGFILE=/etc/syslog-ng/syslog-ng.conf
|
||||||
|
# SYSLOG_NG_CONTROLFILE=${SYSLOG_NG_STATEFILE_DIR}/syslog-ng.ctl
|
||||||
|
# SYSLOG_NG_STATEFILE_DIR=/var/lib/syslog-ng
|
||||||
|
# SYSLOG_NG_STATEFILE=${SYSLOG_NG_STATEFILE_DIR}/syslog-ng.persist
|
||||||
|
# SYSLOG_NG_PIDFILE_DIR=/run
|
||||||
|
# SYSLOG_NG_PIDFILE=${SYSLOG_NG_PIDFILE_DIR}/syslog-ng.pid
|
||||||
|
# SYSLOG_NG_GROUP=root
|
||||||
|
# SYSLOG_NG_USER=root
|
||||||
|
|
||||||
|
# Put any additional options for syslog-ng here.
|
||||||
|
# See syslog-ng(8) for more information.
|
||||||
|
|
||||||
|
SYSLOG_NG_OPTS=""
|
@ -0,0 +1,59 @@
|
|||||||
|
#!/sbin/openrc-run
|
||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
: ${SYSLOG_NG_CONFIGFILE:=/etc/syslog-ng/${RC_SVCNAME}.conf}
|
||||||
|
: ${SYSLOG_NG_STATEFILE_DIR:=/var/lib/${RC_SVCNAME}}
|
||||||
|
: ${SYSLOG_NG_STATEFILE:=${SYSLOG_NG_STATEFILE_DIR}/${RC_SVCNAME}.persist}
|
||||||
|
: ${SYSLOG_NG_PIDFILE_DIR:=/run}
|
||||||
|
: ${SYSLOG_NG_PIDFILE:=${SYSLOG_NG_PIDFILE_DIR}/${RC_SVCNAME}.pid}
|
||||||
|
: ${SYSLOG_NG_CONTROLFILE:=${SYSLOG_NG_PIDFILE_DIR}/${RC_SVCNAME}.ctl}
|
||||||
|
|
||||||
|
: ${SYSLOG_NG_GROUP:=root}
|
||||||
|
: ${SYSLOG_NG_USER:=root}
|
||||||
|
|
||||||
|
command="/usr/sbin/syslog-ng"
|
||||||
|
command_args="--cfgfile \"${SYSLOG_NG_CONFIGFILE}\" --control \"${SYSLOG_NG_CONTROLFILE}\" --persist-file \"${SYSLOG_NG_STATEFILE}\" --pidfile \"${SYSLOG_NG_PIDFILE}\" ${SYSLOG_NG_OPTS}"
|
||||||
|
command_user="${SYSLOG_NG_USER}:${SYSLOG_NG_GROUP}"
|
||||||
|
extra_commands="checkconfig"
|
||||||
|
extra_started_commands="reload"
|
||||||
|
pidfile="${SYSLOG_NG_PIDFILE}"
|
||||||
|
description="Syslog-ng is a syslog replacement with advanced filtering features."
|
||||||
|
description_checkconfig="Check the configuration file that will be used by \"start\""
|
||||||
|
description_reload="Reload the configuration without exiting"
|
||||||
|
required_files="${SYSLOG_NG_CONFIGFILE}"
|
||||||
|
required_dirs="${SYSLOG_NG_PIDFILE_DIR}"
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
use clock
|
||||||
|
need hostname localmount
|
||||||
|
after bootmisc
|
||||||
|
provide logger
|
||||||
|
}
|
||||||
|
|
||||||
|
checkconfig() {
|
||||||
|
ebegin "Checking your configfile (${SYSLOG_NG_CONFIGFILE})"
|
||||||
|
syslog-ng -s -f "${SYSLOG_NG_CONFIGFILE}"
|
||||||
|
eend $? "Configuration error. Please fix your configfile (${SYSLOG_NG_CONFIGFILE})"
|
||||||
|
}
|
||||||
|
|
||||||
|
start_pre() {
|
||||||
|
checkconfig || return 1
|
||||||
|
checkpath \
|
||||||
|
-d \
|
||||||
|
--mode 0700 \
|
||||||
|
--owner "${SYSLOG_NG_USER}:${SYSLOG_NG_GROUP}" \
|
||||||
|
"${SYSLOG_NG_STATEFILE_DIR}"
|
||||||
|
}
|
||||||
|
|
||||||
|
stop_pre() {
|
||||||
|
[ "${RC_CMD}" = "restart" ] && sleep 1
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
reload() {
|
||||||
|
checkconfig || return 1
|
||||||
|
ebegin "Reloading configuration and re-opening log files"
|
||||||
|
start-stop-daemon --signal HUP --pidfile "${pidfile}"
|
||||||
|
eend $?
|
||||||
|
}
|
@ -0,0 +1,164 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||||
|
|
||||||
|
inherit autotools eapi7-ver python-single-r1 systemd
|
||||||
|
|
||||||
|
MY_PV_MM=$(ver_cut 1-2)
|
||||||
|
DESCRIPTION="syslog replacement with advanced filtering features"
|
||||||
|
HOMEPAGE="https://syslog-ng.com/open-source-log-management"
|
||||||
|
SRC_URI="https://github.com/balabit/syslog-ng/releases/download/${P}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+ LGPL-2.1+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||||
|
IUSE="amqp caps dbi geoip http ipv6 json libressl mongodb pacct python redis smtp spoof-source systemd tcpd"
|
||||||
|
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||||
|
# unit tests require https://github.com/Snaipe/Criterion with additional deps
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-libs/glib-2.10.1:2
|
||||||
|
>=dev-libs/ivykis-0.36.1
|
||||||
|
>=dev-libs/libpcre-6.1:=
|
||||||
|
!dev-libs/eventlog
|
||||||
|
amqp? ( >=net-libs/rabbitmq-c-0.8.0:= )
|
||||||
|
caps? ( sys-libs/libcap )
|
||||||
|
dbi? ( >=dev-db/libdbi-0.9.0 )
|
||||||
|
geoip? ( >=dev-libs/geoip-1.5.0 )
|
||||||
|
http? ( net-misc/curl )
|
||||||
|
json? ( >=dev-libs/json-c-0.9:= )
|
||||||
|
mongodb? ( >=dev-libs/mongo-c-driver-1.2.0 )
|
||||||
|
python? ( ${PYTHON_DEPS} )
|
||||||
|
redis? ( >=dev-libs/hiredis-0.11.0:= )
|
||||||
|
smtp? ( net-libs/libesmtp )
|
||||||
|
spoof-source? ( net-libs/libnet:1.1= )
|
||||||
|
systemd? ( sys-apps/systemd:= )
|
||||||
|
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
|
||||||
|
!libressl? ( dev-libs/openssl:0= )
|
||||||
|
libressl? ( dev-libs/libressl:0= )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
sys-devel/flex
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
DOCS=( AUTHORS NEWS.md CONTRIBUTING.md contrib/syslog-ng.conf.{HP-UX,RedHat,SunOS,doc}
|
||||||
|
contrib/syslog2ng "${T}/syslog-ng.conf.gentoo.hardened"
|
||||||
|
"${T}/syslog-ng.logrotate.hardened" "${FILESDIR}/README.hardened" )
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
use python && python-single-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
local f
|
||||||
|
|
||||||
|
use python && python_fix_shebang .
|
||||||
|
|
||||||
|
# remove bundled libs
|
||||||
|
rm -r lib/ivykis modules/afmongodb/mongo-c-driver modules/afamqp/rabbitmq-c || die
|
||||||
|
|
||||||
|
# drop scl modules requiring json
|
||||||
|
if use !json; then
|
||||||
|
sed -i -r '/cim|elasticsearch|ewmm|graylog2|loggly|logmatic/d' scl/Makefile.am || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# use gentoo default path
|
||||||
|
if use systemd; then
|
||||||
|
sed -e 's@/etc/syslog-ng.conf@/etc/syslog-ng/syslog-ng.conf@g;s@/var/run@/run@g' \
|
||||||
|
-i contrib/systemd/syslog-ng@default || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
for f in syslog-ng.logrotate.hardened.in syslog-ng.logrotate.in; do
|
||||||
|
sed \
|
||||||
|
-e "s#@GENTOO_RESTART@#$(usex systemd "systemctl kill -s HUP syslog-ng@default" \
|
||||||
|
"/etc/init.d/syslog-ng reload")#g" \
|
||||||
|
"${FILESDIR}/${f}" > "${T}/${f/.in/}" || die
|
||||||
|
done
|
||||||
|
|
||||||
|
for f in syslog-ng.conf.gentoo.fbsd.in \
|
||||||
|
syslog-ng.conf.gentoo.hardened.in \
|
||||||
|
syslog-ng.conf.gentoo.in; do
|
||||||
|
sed -e "s/@SYSLOGNG_VERSION@/${MY_PV_MM}/g" "${FILESDIR}/${f}" > "${T}/${f/.in/}" || die
|
||||||
|
done
|
||||||
|
|
||||||
|
default
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf=(
|
||||||
|
--disable-docs
|
||||||
|
--disable-java
|
||||||
|
--disable-java-modules
|
||||||
|
--disable-riemann
|
||||||
|
--enable-manpages
|
||||||
|
--localstatedir=/var/lib/syslog-ng
|
||||||
|
--sysconfdir=/etc/syslog-ng
|
||||||
|
--with-embedded-crypto
|
||||||
|
--with-ivykis=system
|
||||||
|
--with-module-dir=/usr/$(get_libdir)/syslog-ng
|
||||||
|
--with-pidfile-dir=/var/run
|
||||||
|
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
|
||||||
|
$(use_enable amqp)
|
||||||
|
$(usex amqp --with-librabbitmq-client=system --without-librabbitmq-client)
|
||||||
|
$(use_enable caps linux-caps)
|
||||||
|
$(use_enable dbi sql)
|
||||||
|
$(use_enable geoip)
|
||||||
|
$(use_enable http)
|
||||||
|
$(use_enable ipv6)
|
||||||
|
$(use_enable json)
|
||||||
|
$(use_enable mongodb)
|
||||||
|
$(usex mongodb --with-mongoc=system "--without-mongoc --disable-legacy-mongodb-options")
|
||||||
|
$(use_enable pacct)
|
||||||
|
$(use_enable python)
|
||||||
|
$(use_enable redis)
|
||||||
|
$(use_enable smtp)
|
||||||
|
$(use_enable spoof-source)
|
||||||
|
$(use_enable systemd)
|
||||||
|
$(use_enable tcpd tcp-wrapper)
|
||||||
|
)
|
||||||
|
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# Install default configuration
|
||||||
|
insinto /etc/default
|
||||||
|
doins contrib/systemd/syslog-ng@default
|
||||||
|
|
||||||
|
insinto /etc/syslog-ng
|
||||||
|
if use userland_BSD ; then
|
||||||
|
newins "${T}/syslog-ng.conf.gentoo.fbsd" syslog-ng.conf
|
||||||
|
else
|
||||||
|
newins "${T}/syslog-ng.conf.gentoo" syslog-ng.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
insinto /etc/logrotate.d
|
||||||
|
newins "${T}/syslog-ng.logrotate" syslog-ng
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}/syslog-ng.rc" syslog-ng
|
||||||
|
newconfd "${FILESDIR}/syslog-ng.confd" syslog-ng
|
||||||
|
keepdir /etc/syslog-ng/patterndb.d /var/lib/syslog-ng
|
||||||
|
find "${D}" -name '*.la' -delete || die
|
||||||
|
|
||||||
|
use python && python_optimize
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
# bug #355257
|
||||||
|
if ! has_version app-admin/logrotate ; then
|
||||||
|
elog "It is highly recommended that app-admin/logrotate be emerged to"
|
||||||
|
elog "manage the log files. ${PN} installs a file in /etc/logrotate.d"
|
||||||
|
elog "for logrotate to use."
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use systemd; then
|
||||||
|
ewarn "The service file for systemd has changed to support multiple instances."
|
||||||
|
ewarn "To start the default instance issue:"
|
||||||
|
ewarn "# systemctl start syslog-ng@default"
|
||||||
|
fi
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST cfssl-1.3.1.tar.gz 6865684 BLAKE2B e7ecf0f8e2f489e4e0bd9064523a90255bf2c85d0edd62f346f90aa27cd5c68bf80432fd77bb8fc64954b75c7add26b8f3230a43c3f82265632079ef699542c4 SHA512 1c33527d1d0c08cac39647e7c6237e655569c474a872b144b962af3e7c39c420d002e719875bbea1f5b502fa640483e63d9a7061bed7875c64565d3f6c15cf47
|
|
||||||
DIST cfssl-1.3.2.tar.gz 6867118 BLAKE2B 775b3419ecf878d9add13faf03a3e1d4cca7b30d965f1ca55c8faa5abf679188a1ea1f80c1416f19c85bc551395628a31da8669ca647e1c1e7a1a313d68f4c7b SHA512 aba27a282c8ca8e95769996aea7e5300b0c3f8fea7ae26484d19a7e1a0330f0b3a0649407062f1a10e8c93136693954e3b24c92456f69db3abee509f982ba554
|
DIST cfssl-1.3.2.tar.gz 6867118 BLAKE2B 775b3419ecf878d9add13faf03a3e1d4cca7b30d965f1ca55c8faa5abf679188a1ea1f80c1416f19c85bc551395628a31da8669ca647e1c1e7a1a313d68f4c7b SHA512 aba27a282c8ca8e95769996aea7e5300b0c3f8fea7ae26484d19a7e1a0330f0b3a0649407062f1a10e8c93136693954e3b24c92456f69db3abee509f982ba554
|
||||||
|
@ -1,33 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
EGO_PN="github.com/cloudflare/${PN}"
|
|
||||||
inherit golang-build golang-vcs-snapshot
|
|
||||||
|
|
||||||
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
|
|
||||||
DESCRIPTION="Cloudflare's PKI and TLS toolkit"
|
|
||||||
HOMEPAGE="https://github.com/cloudflare/cfssl"
|
|
||||||
LICENSE="BSD-2"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="hardened"
|
|
||||||
|
|
||||||
RDEPEND="!!dev-lang/mono" #File collision (bug 614364)
|
|
||||||
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
pushd src || die
|
|
||||||
CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" GOPATH="${S}" go install -v github.com/cloudflare/cfssl/cmd/... || die
|
|
||||||
popd || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin bin/*
|
|
||||||
pushd src/${EGO_PN} || die
|
|
||||||
dodoc CHANGELOG README.md
|
|
||||||
popd || die
|
|
||||||
}
|
|
@ -0,0 +1,38 @@
|
|||||||
|
From e854f357f4037e2c8c781ebd04ec5164a882b9b3 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Andreas Sturmlechner <asturm@gentoo.org>
|
||||||
|
Date: Thu, 12 Apr 2018 00:45:50 +0200
|
||||||
|
Subject: [PATCH] Make Qt5Network conditional on BUILD_TESTS
|
||||||
|
|
||||||
|
Summary: I did not find it in use somewhere else.
|
||||||
|
|
||||||
|
Reviewers: iromanov, sitter, rjvbb
|
||||||
|
|
||||||
|
Reviewed By: rjvbb
|
||||||
|
|
||||||
|
Subscribers: fvogt
|
||||||
|
|
||||||
|
Differential Revision: https://phabricator.kde.org/D12129
|
||||||
|
---
|
||||||
|
CMakeLists.txt | 6 +++++-
|
||||||
|
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index 28b0169..65b95f8 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -59,7 +59,11 @@ if (Qt5Core_FOUND)
|
||||||
|
message(STATUS "Building with Qt5 support")
|
||||||
|
# Got from ECM
|
||||||
|
# Distros have no ECM. So I just copied required cmake modules.
|
||||||
|
- find_package(Qt5Transitional REQUIRED Core Network)
|
||||||
|
+ if(BUILD_TESTS)
|
||||||
|
+ find_package(Qt5Transitional REQUIRED Core Network)
|
||||||
|
+ else()
|
||||||
|
+ find_package(Qt5Transitional REQUIRED Core)
|
||||||
|
+ endif()
|
||||||
|
include(ECMQt4To5Porting)
|
||||||
|
|
||||||
|
include(GNUInstallDirs)
|
||||||
|
--
|
||||||
|
2.17.1
|
||||||
|
|
Binary file not shown.
Binary file not shown.
@ -1,4 +1,2 @@
|
|||||||
DIST docker-compose-1.18.0.tar.gz 231256 BLAKE2B be9b57dd89a81734b850f61622a924a3ace5ace907c4d1365a18315ddfbe3f1a9a56b222766980d16d5eddbe6818caf94a5833c5cddac082fa230bf290977ee3 SHA512 9cf29d892f6419e9ef639e1b9edddecb47ddb5ba7f97830f732e463ee510ac5464d6d81f58a2bf4ae5e7aee78b3d2d4afd59e6e1b53974899edb3e090bcb991f
|
|
||||||
DIST docker-compose-1.19.0.tar.gz 238307 BLAKE2B 2a7bbcf50c2cc591eba1d59db30cb0341e33e3f1ebe948e0b6762d9bffcdcc72d98e2da19fc549c5fabda192fca69a9d54e016601ddb4f4a94f0dc1c93f99a29 SHA512 f1d522621580a5130378508e6b15ad2e4708e9c5ff713627ca54308ab3e6bf000e21c55bbdf9585b2116e73648fdc773500a5415ab81a72dd2c69c9c07e71581
|
DIST docker-compose-1.19.0.tar.gz 238307 BLAKE2B 2a7bbcf50c2cc591eba1d59db30cb0341e33e3f1ebe948e0b6762d9bffcdcc72d98e2da19fc549c5fabda192fca69a9d54e016601ddb4f4a94f0dc1c93f99a29 SHA512 f1d522621580a5130378508e6b15ad2e4708e9c5ff713627ca54308ab3e6bf000e21c55bbdf9585b2116e73648fdc773500a5415ab81a72dd2c69c9c07e71581
|
||||||
DIST docker-compose-1.20.1.tar.gz 246159 BLAKE2B 32836f06239d6f1506ecebac48c8b56c58620d0ba309b8469c073ec3b048bf3743afb1ff6f63d2031df4bb316191d9cd32d5cf85a2cb86544254c6054a7dd502 SHA512 faba24ea501c4e4aaf04bddf1d498eaa7702385458ac7a41f6054e9153f9e03e1e6f50aebc5156d6a814d567aedea1d16ff532872a1765bbabbd3c8da47e36e0
|
DIST docker-compose-1.21.2.tar.gz 294070 BLAKE2B c27ce8708f20385ee3f072c4aa832a42dc975d08d71d9e61ce3a822055d606db7e1e7b6e182523e64115922416d5c1baeca14897a241e84873a97aa755bce539 SHA512 6392582d8c6c321458b1163336f1c902548cc250f9ab5b765d144287b006ef6dacdc47199fafbb6efe426e382325b94986aa159df08dec4974a71968862a8435
|
||||||
DIST docker-compose-1.21.0.tar.gz 250262 BLAKE2B e27c6a24d9f02a6746e53d42845424d3c2eef0a816106a988a1eb7dfdc7ea39b1025afb6a4bc361bc97af501af554cb4b34ab62c150e500620c3256074d69a44 SHA512 1926abbb67508216312880f3f0ad7a752760f324a0d17548ecefa924f571896a55a7fc5d174f6ef3ede314c488dec8a7edbccdc399eea6d34459cb812cf103ac
|
|
||||||
|
@ -1,71 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
|
|
||||||
|
|
||||||
inherit bash-completion-r1 distutils-r1 vcs-snapshot
|
|
||||||
|
|
||||||
MY_PV=${PV/_/}
|
|
||||||
|
|
||||||
DESCRIPTION="Multi-container orchestration for Docker"
|
|
||||||
HOMEPAGE="https://www.docker.com/"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64"
|
|
||||||
IUSE="test"
|
|
||||||
|
|
||||||
CDEPEND="
|
|
||||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/cached-property-1.2.0[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/cached-property-2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/dockerpty-0.4.1[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/dockerpty-0.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/docker-py-2.6.1[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/docker-py-3.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/docopt-0.6.1[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/docopt-0.7[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/jsonschema-2.5.1[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/jsonschema-3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/PySocks-1.5.7[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/PySocks-2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/pyyaml-4[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/requests-2.11.0[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/requests-2.19[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/requests-2.6.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/six-1.3.0[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/six-2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/texttable-0.9[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/texttable-0.10[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/websocket-client-0.32.0[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/websocket-client-1.0[${PYTHON_USEDEP}]
|
|
||||||
$(python_gen_cond_dep '>=dev-python/enum34-1.0.4[${PYTHON_USEDEP}]' 'python2_7' )
|
|
||||||
$(python_gen_cond_dep '<dev-python/enum34-2[${PYTHON_USEDEP}]' 'python2_7' )
|
|
||||||
$(python_gen_cond_dep '>=dev-python/ipaddress-1.0.16[${PYTHON_USEDEP}]' 'python2_7' )
|
|
||||||
$(python_gen_cond_dep '>=dev-python/backports-ssl-match-hostname-3.5[${PYTHON_USEDEP}]' 'python2_7' )
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
${CDEPEND}
|
|
||||||
test? (
|
|
||||||
dev-python/pytest[${PYTHON_USEDEP}]
|
|
||||||
$(python_gen_cond_dep '>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]' 'python2_7' )
|
|
||||||
)
|
|
||||||
"
|
|
||||||
RDEPEND="${CDEPEND}"
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
${PYTHON} -m pytest tests/unit || die "tests failed under ${EPYTHON}"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
newbashcomp contrib/completion/bash/docker-compose ${PN}
|
|
||||||
|
|
||||||
insinto /usr/share/zsh/site-functions
|
|
||||||
doins contrib/completion/zsh/*
|
|
||||||
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
}
|
|
@ -1,71 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
|
|
||||||
|
|
||||||
inherit bash-completion-r1 distutils-r1 vcs-snapshot
|
|
||||||
|
|
||||||
MY_PV=${PV/_/}
|
|
||||||
|
|
||||||
DESCRIPTION="Multi-container orchestration for Docker"
|
|
||||||
HOMEPAGE="https://www.docker.com/"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
IUSE="test"
|
|
||||||
|
|
||||||
CDEPEND="
|
|
||||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/cached-property-1.2.0[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/cached-property-2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/dockerpty-0.4.1[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/dockerpty-0.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/docker-py-3.1.4[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/docker-py-4.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/docopt-0.6.1[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/docopt-0.7[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/jsonschema-2.5.1[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/jsonschema-3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/PySocks-1.5.7[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/PySocks-2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/pyyaml-4[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/requests-2.11.0[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/requests-2.19[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/requests-2.6.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/six-1.3.0[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/six-2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/texttable-0.9[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/texttable-0.10[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/websocket-client-0.32.0[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/websocket-client-1.0[${PYTHON_USEDEP}]
|
|
||||||
$(python_gen_cond_dep '>=dev-python/enum34-1.0.4[${PYTHON_USEDEP}]' 'python2_7' )
|
|
||||||
$(python_gen_cond_dep '<dev-python/enum34-2[${PYTHON_USEDEP}]' 'python2_7' )
|
|
||||||
$(python_gen_cond_dep '>=dev-python/ipaddress-1.0.16[${PYTHON_USEDEP}]' 'python2_7' )
|
|
||||||
$(python_gen_cond_dep '>=dev-python/backports-ssl-match-hostname-3.5[${PYTHON_USEDEP}]' 'python2_7' )
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
${CDEPEND}
|
|
||||||
test? (
|
|
||||||
dev-python/pytest[${PYTHON_USEDEP}]
|
|
||||||
$(python_gen_cond_dep '>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]' 'python2_7' )
|
|
||||||
)
|
|
||||||
"
|
|
||||||
RDEPEND="${CDEPEND}"
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
${PYTHON} -m pytest tests/unit || die "tests failed under ${EPYTHON}"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
newbashcomp contrib/completion/bash/docker-compose ${PN}
|
|
||||||
|
|
||||||
insinto /usr/share/zsh/site-functions
|
|
||||||
doins contrib/completion/zsh/*
|
|
||||||
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
}
|
|
@ -1,2 +1,3 @@
|
|||||||
DIST img-0.3.9.tar.gz 6153717 BLAKE2B b561ed349c2b08f0e3448886b6c979d86fd6d4f47af0f03d7dd479a12f078b99f39e10d6a6b3ba9caffe2a9966102e3f3069fa6eacb70bb36f9842314e8a8e7b SHA512 23bf1e85cb9238742ffef44408bece52b5b0fefbeae9541a7740a4d798d1dc2c0f8efd02d8342842753925135dee843c4a7a20abe3a87ce1c475178461c9b8da
|
DIST img-0.3.9.tar.gz 6153717 BLAKE2B b561ed349c2b08f0e3448886b6c979d86fd6d4f47af0f03d7dd479a12f078b99f39e10d6a6b3ba9caffe2a9966102e3f3069fa6eacb70bb36f9842314e8a8e7b SHA512 23bf1e85cb9238742ffef44408bece52b5b0fefbeae9541a7740a4d798d1dc2c0f8efd02d8342842753925135dee843c4a7a20abe3a87ce1c475178461c9b8da
|
||||||
DIST img-0.4.2.tar.gz 5622223 BLAKE2B 0a97a169111c359ec784c2f2a1acc5c67a2495003819403ba71d2462ee373f36540b03b6a581481e659fec51c84aaf17f9b0129481d060239e0d09c08777c646 SHA512 c9bd8cdfbc18515d64cbd36a3b9259381f582eff02c22a437960f098c139c9be784d4fcc225f66540e4c243b05e568250dc5fd3c1fdb09cbbcb9227db18e47c6
|
DIST img-0.4.2.tar.gz 5622223 BLAKE2B 0a97a169111c359ec784c2f2a1acc5c67a2495003819403ba71d2462ee373f36540b03b6a581481e659fec51c84aaf17f9b0129481d060239e0d09c08777c646 SHA512 c9bd8cdfbc18515d64cbd36a3b9259381f582eff02c22a437960f098c139c9be784d4fcc225f66540e4c243b05e568250dc5fd3c1fdb09cbbcb9227db18e47c6
|
||||||
|
DIST img-0.4.4.tar.gz 5626989 BLAKE2B ba67acb795cb4e1da412773fe37be5c64fe0743d527e2565fe03fabad0cf45cbb3c2abba24da9346b5aa25842be69150d9d195e4ceb737a6ac5a47f372da9816 SHA512 718ced82f7df555c8c3f35c7e466842129190d422fc36a82feae4837045d65f86ba2e162c590369dcc758f3f3ddab21f758b03131796f41daab186df06e96697
|
||||||
|
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
inherit golang-build golang-vcs-snapshot
|
||||||
|
|
||||||
|
EGO_PN="github.com/genuinetools/img"
|
||||||
|
EGIT_COMMIT="v${PV}"
|
||||||
|
GIT_COMMIT="3e14a5ba47c580651b08fa2d63d5f4af42ebb180"
|
||||||
|
ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
DESCRIPTION="Standalone daemon-less unprivileged Dockerfile and OCI container image builder"
|
||||||
|
HOMEPAGE="https://github.com/genuinetools/img"
|
||||||
|
SRC_URI="${ARCHIVE_URI}"
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="seccomp"
|
||||||
|
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
local TAGS=$(usex seccomp 'seccomp' '')
|
||||||
|
pushd src/${EGO_PN} || die
|
||||||
|
GOPATH="${S}" go build -tags "noembed ${TAGS}" -v -ldflags "-X ${EGO_PN}/version.GITCOMMIT=${GIT_COMMIT} -X ${EGO_PN}/version.VERSION=${PV}" -o "${S}"/bin/img . || die
|
||||||
|
popd || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin bin/*
|
||||||
|
dodoc -r src/${EGO_PN}/README.md
|
||||||
|
}
|
Binary file not shown.
@ -1,26 +0,0 @@
|
|||||||
diff -Naur Sigil-0.9.4/internal/gumbo/CMakeLists.txt Sigil-0.9.4.b/internal/gumbo/CMakeLists.txt
|
|
||||||
--- Sigil-0.9.4/internal/gumbo/CMakeLists.txt 2016-03-13 20:20:52.000000000 +0100
|
|
||||||
+++ Sigil-0.9.4.b/internal/gumbo/CMakeLists.txt 2016-03-22 14:50:26.026558216 +0100
|
|
||||||
@@ -40,4 +40,5 @@
|
|
||||||
|
|
||||||
if( UNIX AND NOT APPLE )
|
|
||||||
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99" )
|
|
||||||
+ install( TARGETS sigilgumbo DESTINATION ${CMAKE_INSTALL_PREFIX}/${LIBDIR}/sigil/ )
|
|
||||||
endif()
|
|
||||||
diff -Naur Sigil-0.9.4/src/CMakeLists.txt Sigil-0.9.4.b/src/CMakeLists.txt
|
|
||||||
--- Sigil-0.9.4/src/CMakeLists.txt 2016-03-13 20:20:52.000000000 +0100
|
|
||||||
+++ Sigil-0.9.4.b/src/CMakeLists.txt 2016-03-22 14:49:49.628556236 +0100
|
|
||||||
@@ -1015,12 +1015,10 @@
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Standard Linux 'make install'
|
|
||||||
- install( TARGETS sigil DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/sigil/ )
|
|
||||||
+ install( TARGETS sigil DESTINATION ${CMAKE_INSTALL_PREFIX}/${LIBDIR}/sigil/ )
|
|
||||||
install( PROGRAMS ${LINUX_LAUNCH_INSTALL_SCRIPT_CONFIGURED} DESTINATION ${CMAKE_INSTALL_PREFIX}/bin/ RENAME ${PROJECT_NAME} )
|
|
||||||
if( NOT USE_SYSTEM_LIBS OR NOT HUNSPELL_FOUND )
|
|
||||||
- install( PROGRAMS ${HUNSPELL_NAME} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/sigil/ )
|
|
||||||
endif()
|
|
||||||
- install( PROGRAMS ${GUMBO_NAME} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/sigil/ )
|
|
||||||
install( FILES ${LINUX_DESKTOP_FILE} DESTINATION ${SHARE_INSTALL_PREFIX}/share/applications/ )
|
|
||||||
install( FILES ${LINUX_DESKTOP_ICON_FILE} DESTINATION ${SHARE_INSTALL_PREFIX}/share/pixmaps RENAME sigil.png )
|
|
||||||
install( FILES ${QM_FILES} DESTINATION ${SIGIL_SHARE_ROOT}/translations/ )
|
|
@ -1,53 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
# This ebuild could use some python checks, as sigil contains python plugin architecture.
|
|
||||||
|
|
||||||
inherit cmake-utils
|
|
||||||
|
|
||||||
MY_PN="Sigil"
|
|
||||||
|
|
||||||
DESCRIPTION="Sigil is a multi-platform WYSIWYG ebook editor for ePub format"
|
|
||||||
HOMEPAGE="https://sigil-ebook.com/"
|
|
||||||
SRC_URI="https://github.com/Sigil-Ebook/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=app-text/hunspell-1.3.2
|
|
||||||
>=dev-libs/boost-1.49[threads]
|
|
||||||
>=dev-libs/libpcre-8.31[pcre16]
|
|
||||||
>=dev-libs/xerces-c-3.1.1[icu]
|
|
||||||
>=dev-qt/qtconcurrent-5.4:5
|
|
||||||
>=dev-qt/qtcore-5.4:5
|
|
||||||
>=dev-qt/qtgui-5.4:5
|
|
||||||
>=dev-qt/qtnetwork-5.4:5
|
|
||||||
>=dev-qt/qtprintsupport-5.4:5
|
|
||||||
>=dev-qt/qtsvg-5.4:5
|
|
||||||
>=dev-qt/qtwebkit-5.4:5
|
|
||||||
>=dev-qt/qtwidgets-5.4:5
|
|
||||||
>=dev-qt/qtxml-5.4:5
|
|
||||||
>=dev-qt/qtxmlpatterns-5.4:5
|
|
||||||
>=sys-libs/zlib-1.2.7[minizip]
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
>=sys-devel/gcc-4.8
|
|
||||||
virtual/pkgconfig
|
|
||||||
>=dev-qt/linguist-tools-5.4:5
|
|
||||||
"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
DOCS=( README.md )
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# sigil tries to copy non-needed qt libs for deb package, safe to ignore this completely
|
|
||||||
sed -e '/set( QT_LIBS/d' -i src/Sigil/CMakeLists.txt || die "sed failed"
|
|
||||||
|
|
||||||
cmake-utils_src_prepare
|
|
||||||
}
|
|
@ -1,82 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_4 python3_5 )
|
|
||||||
|
|
||||||
inherit cmake-utils python-single-r1
|
|
||||||
|
|
||||||
my_pn="Sigil"
|
|
||||||
|
|
||||||
DESCRIPTION="Sigil is a multi-platform WYSIWYG ebook editor for ePub format"
|
|
||||||
HOMEPAGE="https://sigil-ebook.com/"
|
|
||||||
SRC_URI="https://github.com/Sigil-Ebook/${my_pn}/releases/download/${PV}/${my_pn}-${PV}-Code.zip"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE=""
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
app-text/hunspell
|
|
||||||
dev-libs/boost[threads]
|
|
||||||
dev-libs/libpcre[pcre16]
|
|
||||||
dev-libs/xerces-c[icu]
|
|
||||||
dev-python/chardet[${PYTHON_USEDEP}]
|
|
||||||
dev-python/cssselect[${PYTHON_USEDEP}]
|
|
||||||
dev-python/cssutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/html5lib[${PYTHON_USEDEP}]
|
|
||||||
dev-python/lxml[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pillow[${PYTHON_USEDEP}]
|
|
||||||
dev-python/regex[${PYTHON_USEDEP}]
|
|
||||||
dev-python/six[${PYTHON_USEDEP}]
|
|
||||||
>=dev-qt/qtconcurrent-5.4:5
|
|
||||||
>=dev-qt/qtcore-5.4:5
|
|
||||||
>=dev-qt/qtgui-5.4:5
|
|
||||||
>=dev-qt/qtprintsupport-5.4:5
|
|
||||||
>=dev-qt/qtwebkit-5.4:5
|
|
||||||
>=dev-qt/qtwidgets-5.4:5
|
|
||||||
>=dev-qt/qtxmlpatterns-5.4:5
|
|
||||||
sys-libs/zlib[minizip]
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
>=sys-devel/gcc-4.8
|
|
||||||
virtual/pkgconfig
|
|
||||||
>=dev-qt/linguist-tools-5.4:5
|
|
||||||
app-arch/unzip
|
|
||||||
"
|
|
||||||
|
|
||||||
S="${WORKDIR}"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
# sigil tries to copy non-needed qt libs for deb package, safe to ignore this completely
|
|
||||||
"${FILESDIR}"/${PN}-0.9.4-proper-gumbo-install.patch
|
|
||||||
)
|
|
||||||
DOCS=( ChangeLog.txt README.md )
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DUSE_SYSTEM_LIBS=1
|
|
||||||
-DSYSTEM_LIBS_REQUIRED=1
|
|
||||||
-DLIBDIR="$(get_libdir)"
|
|
||||||
)
|
|
||||||
cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog "From Sigil's release notes:"
|
|
||||||
elog "When you fire up Sigil for the very first time:"
|
|
||||||
elog "navigate to the new General Preferences and select the default"
|
|
||||||
elog "epub version you plan to work with (epub 2 or epub3) so that new"
|
|
||||||
elog "empty ebooks start with the correct code."
|
|
||||||
elog "if you plan to work with epub3 epubs, you should change your"
|
|
||||||
elog "PreserveEntities setting to use ONLY NUMERIC entities."
|
|
||||||
elog ""
|
|
||||||
elog "For example use & # 1 6 0 ; for non-breaking spaces and etc."
|
|
||||||
elog ""
|
|
||||||
elog "We strongly recommend enabling Mend On Open in your settings"
|
|
||||||
elog "for best performance with Sigil."
|
|
||||||
}
|
|
@ -1,82 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_4 python3_5 )
|
|
||||||
|
|
||||||
inherit cmake-utils python-single-r1
|
|
||||||
|
|
||||||
my_pn="Sigil"
|
|
||||||
|
|
||||||
DESCRIPTION="Sigil is a multi-platform WYSIWYG ebook editor for ePub format"
|
|
||||||
HOMEPAGE="https://sigil-ebook.com/"
|
|
||||||
SRC_URI="https://github.com/Sigil-Ebook/${my_pn}/releases/download/${PV}/${my_pn}-${PV}-Code.zip"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE=""
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
app-text/hunspell
|
|
||||||
dev-libs/boost[threads]
|
|
||||||
dev-libs/libpcre[pcre16]
|
|
||||||
dev-libs/xerces-c[icu]
|
|
||||||
dev-python/chardet[${PYTHON_USEDEP}]
|
|
||||||
dev-python/cssselect[${PYTHON_USEDEP}]
|
|
||||||
dev-python/cssutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/html5lib[${PYTHON_USEDEP}]
|
|
||||||
dev-python/lxml[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pillow[${PYTHON_USEDEP}]
|
|
||||||
dev-python/regex[${PYTHON_USEDEP}]
|
|
||||||
dev-python/six[${PYTHON_USEDEP}]
|
|
||||||
>=dev-qt/qtconcurrent-5.4:5
|
|
||||||
>=dev-qt/qtcore-5.4:5
|
|
||||||
>=dev-qt/qtgui-5.4:5
|
|
||||||
>=dev-qt/qtprintsupport-5.4:5
|
|
||||||
>=dev-qt/qtwebkit-5.4:5
|
|
||||||
>=dev-qt/qtwidgets-5.4:5
|
|
||||||
>=dev-qt/qtxmlpatterns-5.4:5
|
|
||||||
sys-libs/zlib[minizip]
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
>=sys-devel/gcc-4.8
|
|
||||||
virtual/pkgconfig
|
|
||||||
>=dev-qt/linguist-tools-5.4:5
|
|
||||||
app-arch/unzip
|
|
||||||
"
|
|
||||||
|
|
||||||
S="${WORKDIR}"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
# sigil tries to copy non-needed qt libs for deb package, safe to ignore this completely
|
|
||||||
"${FILESDIR}"/${PN}-0.9.4-proper-gumbo-install.patch
|
|
||||||
)
|
|
||||||
DOCS=( ChangeLog.txt README.md )
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DUSE_SYSTEM_LIBS=1
|
|
||||||
-DSYSTEM_LIBS_REQUIRED=1
|
|
||||||
-DLIBDIR="$(get_libdir)"
|
|
||||||
)
|
|
||||||
cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog "From Sigil's release notes:"
|
|
||||||
elog "When you fire up Sigil for the very first time:"
|
|
||||||
elog "navigate to the new General Preferences and select the default"
|
|
||||||
elog "epub version you plan to work with (epub 2 or epub3) so that new"
|
|
||||||
elog "empty ebooks start with the correct code."
|
|
||||||
elog "if you plan to work with epub3 epubs, you should change your"
|
|
||||||
elog "PreserveEntities setting to use ONLY NUMERIC entities."
|
|
||||||
elog ""
|
|
||||||
elog "For example use & # 1 6 0 ; for non-breaking spaces and etc."
|
|
||||||
elog ""
|
|
||||||
elog "We strongly recommend enabling Mend On Open in your settings"
|
|
||||||
elog "for best performance with Sigil."
|
|
||||||
}
|
|
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST ctrlp-1.80.tar.gz 75269 BLAKE2B 38b70168d5b220dca220b2f1bfddcae1234fabf01348083fd9db4e1ca0396b56eb3f88f1cda84c22884c3946b731de06a710ca89f51a916f4758345afa748b19 SHA512 40175e64bb9c4ccdc202bc31b8956b96ede5761a3a4f17706c4d915f8083991cb7729e33c79d021bf6faff00f381fe9272145f852981e487b279f0471b86cadd
|
DIST ctrlp-1.80.tar.gz 75269 BLAKE2B 38b70168d5b220dca220b2f1bfddcae1234fabf01348083fd9db4e1ca0396b56eb3f88f1cda84c22884c3946b731de06a710ca89f51a916f4758345afa748b19 SHA512 40175e64bb9c4ccdc202bc31b8956b96ede5761a3a4f17706c4d915f8083991cb7729e33c79d021bf6faff00f381fe9272145f852981e487b279f0471b86cadd
|
||||||
|
DIST ctrlp-1.80_p20180418.tar.gz 76376 BLAKE2B 2ae3e85eac29bb07bfafcc60b879b506b57b7874ee9798d4fc0e420e06283ceca4cfe4d282fb9552c1971db48de25dc8df03d3e20d85ae1bbfc72f1162cc1fba SHA512 08a566087e0be0496c3dd1d60e24d65421b7fc758c95d3959181293502dd1e3581066bebea58cc1ef85f2a7cba76b45eee2e5ff2c522e27523ea31bebe4a36d5
|
||||||
|
@ -0,0 +1,17 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit vim-plugin vcs-snapshot
|
||||||
|
|
||||||
|
# Commit Date: 18 Apr 2018
|
||||||
|
COMMIT="4b9e7cac612902a25498cca49f13475fe1a821a4"
|
||||||
|
|
||||||
|
DESCRIPTION="vim plugin: fuzzy file, buffer, mru, tag, ... finder with regex support"
|
||||||
|
HOMEPAGE="https://github.com/ctrlpvim/ctrlp.vim"
|
||||||
|
SRC_URI="https://github.com/${PN}vim/${PN}.vim/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||||
|
LICENSE="vim"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
@ -0,0 +1,20 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit vim-plugin
|
||||||
|
|
||||||
|
DESCRIPTION="vim plugin: library with various useful functions"
|
||||||
|
HOMEPAGE="https://www.vim.org/scripts/script.php?script_id=197"
|
||||||
|
SRC_URI="https://www.vim.org/scripts/download_script.php?src_id=11399 -> ${P}.zip"
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~sparc ~x86"
|
||||||
|
|
||||||
|
VIM_PLUGIN_HELPTEXT=\
|
||||||
|
"This plugin provides library functions and is not intended to be used
|
||||||
|
directly by the user."
|
||||||
|
|
||||||
|
DEPEND="app-arch/unzip"
|
||||||
|
|
||||||
|
S="${WORKDIR}"
|
@ -1 +1 @@
|
|||||||
DIST indentpython-0.3.zip 2682 BLAKE2B 0c803921ce23796dc48792a2e55ab721edd86d690e75df35e646cb71c53d32e3aa37870e2840b2363bb1ae277d4e35631a1b6d0d1735a62374b4fbc6e14154d9 SHA512 d358579357d5197dc035816b02557b8e84d5f0c85fb6433d171b9880e211dee75ef6f5fd7a37651677591c6c31a570c39094d6bbd5052a29ef344ec18b0e13c5
|
DIST indentpython-0.3.tar.gz 2305 BLAKE2B 080224b87a10d1a7cd87523b37257b099efc873a954a5af63d8046351ad67fa6a58c6d84405ca50416b735f52835029e2fe653a24cd80d66dfb851f050b2421c SHA512 a3750ad7f935be914821cdff6b55b9bca1fe4d076d6c364be3854679c8c3466f14a4df486258fbee5a24d58373bc6258080e598992b22a0897e18a170555ebd6
|
||||||
|
@ -1 +1 @@
|
|||||||
DIST vim-flake8-1.6.zip 6499 BLAKE2B 2e07dce7d53ce96f02c4d2fdb1ddbc55a9ae8c877ce1ca6ec59046fef6dce1311e9a182960646b732690599ca66add6fecdc0a6d0c2ac6b1092b87dc3ae52789 SHA512 2cd6427d946d3ab310c9d04441355545065f501d9176b11e90a2df5b8c0fad679f56b77e934f9cf4078a947f8f35d0200411add0da34f33e6cfef4b9b4089c98
|
DIST vim-flake8-1.6.tar.gz 5345 BLAKE2B dd726798a49231841f9fcb915999cf965a42b8b5f593a66f97268bc6d7993584d5f9ed0cfc50508bc57d60c5dcd19c8476e86ae26fb8be9c1dcf7007db2d0323 SHA512 a4208478f9754ef2d188a51e3262c449ef16b48fc0208425795d71c304118c129ae20a723fff96863291bae66237f1479a591cc23e5ec90222e0614d2dcccce9
|
||||||
|
@ -1 +1 @@
|
|||||||
DIST vim-go-1.13.zip 900566 BLAKE2B 31867c47ce7ab11a4948ad52775793586f51ebbfdcdb49ae934ee26842e1d25156ac606b44dcaee56787bd4ea761705f1730f092ff59a3ab6cfffd8c9acfef9c SHA512 3a1818c126c6ab01cd6993336c9e87f88357375b5252e0aeed434dccd0514cbcb1b7c96dce2aaf8f8c2e21909a17bf4bbb39a386ee1f7049b50a85ed9c635817
|
DIST vim-go-1.13.tar.gz 870173 BLAKE2B a2f67cef249191cf91caf45c120e471301a89ee365ba9add839edea17990ff3aba7238965dac1c71a89d2004dfcfd486319fc4f1474c7ee94d3845724cd9b289 SHA512 c2aa31104168f3a8e1f96b0ad2c51dc1c2e5a1de3db76f0009edfb38bf60ebfcd9bd8a86fedb6ff6d6d789973a557d6ed03e38e67159bc43c5231449b0253c25
|
||||||
|
@ -1 +1 @@
|
|||||||
DIST vim-tmux-3.0.0.zip 12713 BLAKE2B 11b2aa2a3a2da98d1977023b42063dd66ffc330894e76284699a0988d94d373116606decc4505b739ecf9454261bec43f9f88ada1196a1050320788709aebc99 SHA512 d6bc94c34ab32608610fdfffc3a3522b6056b3b61dd3cb9c63a71cb20d1597954aec65a06c5ce22352731d4e70b6a239ca5f303427182cce93324042b7f10c8c
|
DIST vim-tmux-3.0.0.tar.gz 9658 BLAKE2B 188485b4c74e60292aa153693246c9e612cbc4736accb7aafad3ee901084023b3f40374212afe2139c634b8457c2ec871f0cf5e6d02beb69fc3c433f26b8610d SHA512 d251ff07b0702e4f9969d02a9c32924db62f77b71250fda175053883abc35c18932f9869ea0514df1b7acb9cc65f6b39e2b8c640ad77ff36a19ceaa74d13d77b
|
||||||
|
@ -1 +1 @@
|
|||||||
DIST vimclojure-2.3.6.zip 44737 BLAKE2B a2eb0beafa54413d5557f8353c84274068df82a716890d2f1511d27c599d301c2ff2f7363e14e2f3132b52ede59ee4cd2eb091d94034aebc7f6a4aec398b8371 SHA512 daf4f691500c3b901a57849c6f07b500c49f7086e0733921f589e362a53a0d07b99eab7d6ea42f1828822942b294f51a684eec93ebab1797438da4b81199ca9d
|
DIST vimclojure-2.3.6.tar.gz 32456 BLAKE2B 7c80611516cf7e1d46400c8cc8c9f9f8146ce8f1ce2fc7458ad9e5a7c778f54496f3a1b2fe47a6cc9cb28cb8f6f0e0e67ace77a09c7258f1585cb76758d6e908 SHA512 186fd5607ccaa4b4344aed4d165d257d0518b3fe19d7b9d858b11a672f68c601bbd453fde7189dd61c3fc2f0b8517c3481579355bf5405ab90517dc48900fd51
|
||||||
|
@ -1,47 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
inherit vim-plugin
|
|
||||||
|
|
||||||
MY_PN="VimClojure"
|
|
||||||
|
|
||||||
DESCRIPTION="vim plugin: Clojure syntax highlighting, filetype and indent settings"
|
|
||||||
HOMEPAGE="https://github.com/vim-scripts/VimClojure"
|
|
||||||
SRC_URI="https://github.com/vim-scripts/${MY_PN}/archive/${PV}.zip -> ${P}.zip"
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="BSD"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="dev-lang/clojure"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
# Files with similar names are already installed by app-vim/slimv.
|
|
||||||
DUPLICATE_FILES=(
|
|
||||||
indent/clojure.vim
|
|
||||||
ftdetect/clojure.vim
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
find . -type f -name \*.bat -exec rm -v {} \; || die
|
|
||||||
|
|
||||||
# Let's simply rename them.
|
|
||||||
for file in "${DUPLICATE_FILES[@]}"; do
|
|
||||||
[[ -f "${file}" ]] || die "Couldn't find: ${file}"
|
|
||||||
bname="${file##*/}"
|
|
||||||
path="${file%/*}"
|
|
||||||
noext="${bname%%.*}"
|
|
||||||
newname="${path}/${PN}_${noext}.vim"
|
|
||||||
mv "${file}" "${newname}" || die
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local my_license="doc/LICENSE.txt"
|
|
||||||
dodoc "${my_license}"
|
|
||||||
rm -v "${my_license}" || die
|
|
||||||
vim-plugin_src_install
|
|
||||||
}
|
|
Binary file not shown.
@ -1,3 +1 @@
|
|||||||
DIST goversion-1.0.0_p20180403.tar.gz 8562 BLAKE2B 937d5531ef0f4cf8d72c1fded8ae0e1c6230f87a6ebadd3444aa87875c6712ff82d12b17ce78fcd41c6e6c2e51944a3dd824dbd0ffc3d768316c0b7b4b96edb9 SHA512 d446ca4d7b512b6fd5e510b3a7c2c11a7c72f6e915f4dd0ad9c61f8f93359ef08ff5256133245138798df3b0a3ab6d19157ddf76ea935858ba3230653cfde7ad
|
|
||||||
DIST goversion-1.0.0_p20180404.tar.gz 8580 BLAKE2B 3a9f80194d022c44836bfe5e12f9ff0bc3204be236047bbb9b00147374ae65ead37087376a60509653299d46bfdbb92dc7abec547e47bbfd0855eda134f8b301 SHA512 a8b99d9f01ea72ebbd4dad2ea73d1d08b75b3806821cbea3fe70828d748e50f34452c980acdd48a2b5bf4bf1399a28904e80b284f465fda356f46bb9895d6c52
|
|
||||||
DIST goversion-1.2.0.tar.gz 8586 BLAKE2B 76001c1ebbf55bf742a20f7434d7b28da3aaa8e24e2cb6d14c182192735d16184aabbfc47aedb5872ed2610c81c4e6d637f425597cebaacbbd7095f18cd715f4 SHA512 27a8ebe71679c9161556c8aa49356c2da54c7e7b3bf580aa18518e49bb919ea836a9958ae9fc8fdc86c3750afc900d6e1c17d87dea406366467a6ea9c8ed8931
|
DIST goversion-1.2.0.tar.gz 8586 BLAKE2B 76001c1ebbf55bf742a20f7434d7b28da3aaa8e24e2cb6d14c182192735d16184aabbfc47aedb5872ed2610c81c4e6d637f425597cebaacbbd7095f18cd715f4 SHA512 27a8ebe71679c9161556c8aa49356c2da54c7e7b3bf580aa18518e49bb919ea836a9958ae9fc8fdc86c3750afc900d6e1c17d87dea406366467a6ea9c8ed8931
|
||||||
|
@ -1,31 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
EGO_PN="rsc.io/goversion"
|
|
||||||
|
|
||||||
EGIT_COMMIT="38f6ce479a8bd51821a711abdc8343164d820be4"
|
|
||||||
|
|
||||||
inherit golang-build golang-vcs-snapshot bash-completion-r1
|
|
||||||
ARCHIVE_URI="https://github.com/rsc/goversion/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
|
|
||||||
DESCRIPTION="Print version used to build Go executables"
|
|
||||||
HOMEPAGE="https://github.com/rsc/goversion https://rsc.io/goversion"
|
|
||||||
SRC_URI="${ARCHIVE_URI}"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
pushd src/${EGO_PN} || die
|
|
||||||
GOPATH="${S}" go build -o ${PN} . || die
|
|
||||||
popd || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin src/${EGO_PN}/${PN}
|
|
||||||
dodoc src/${EGO_PN}/README.md
|
|
||||||
}
|
|
@ -1,31 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
EGO_PN="rsc.io/goversion"
|
|
||||||
|
|
||||||
EGIT_COMMIT="597212e462da05a7902d6cea0ec895a0d9b8b218"
|
|
||||||
|
|
||||||
inherit golang-build golang-vcs-snapshot bash-completion-r1
|
|
||||||
ARCHIVE_URI="https://github.com/rsc/goversion/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
|
|
||||||
DESCRIPTION="Print version used to build Go executables"
|
|
||||||
HOMEPAGE="https://github.com/rsc/goversion https://rsc.io/goversion"
|
|
||||||
SRC_URI="${ARCHIVE_URI}"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
pushd src/${EGO_PN} || die
|
|
||||||
GOPATH="${S}" go build -o ${PN} . || die
|
|
||||||
popd || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin src/${EGO_PN}/${PN}
|
|
||||||
dodoc src/${EGO_PN}/README.md
|
|
||||||
}
|
|
Binary file not shown.
@ -0,0 +1,63 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
JAVA_PKG_IUSE="doc source test"
|
||||||
|
|
||||||
|
inherit java-pkg-2 java-ant-2
|
||||||
|
|
||||||
|
DESCRIPTION="Applies XPath expressions to graphs of objects of all kinds"
|
||||||
|
HOMEPAGE="https://commons.apache.org/jxpath/"
|
||||||
|
SRC_URI="mirror://apache/commons/jxpath/source/${P}-src.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${P}-src"
|
||||||
|
|
||||||
|
CDEPEND="
|
||||||
|
dev-java/jdom:0
|
||||||
|
java-virtuals/servlet-api:3.0
|
||||||
|
dev-java/commons-beanutils:1.7"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
${CDEPEND}
|
||||||
|
>=virtual/jre-1.6"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
${CDEPEND}
|
||||||
|
test? (
|
||||||
|
dev-java/ant-junit:0
|
||||||
|
dev-java/commons-logging:0
|
||||||
|
dev-java/commons-collections:0
|
||||||
|
)
|
||||||
|
>=virtual/jdk-1.6"
|
||||||
|
|
||||||
|
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||||
|
EANT_GENTOO_CLASSPATH="jdom,servlet-api-3.0,commons-beanutils-1.7"
|
||||||
|
|
||||||
|
EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},commons-logging,commons-collections,ant-junit"
|
||||||
|
ANT_TASKS="ant-junit"
|
||||||
|
EANT_TEST_TARGET="test"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# Don't automatically run tests.
|
||||||
|
sed 's/depends="compile,test"/depends="compile"/' -i build.xml || die
|
||||||
|
|
||||||
|
# This one needs mockrunner. See #259027.
|
||||||
|
rm -v src/test/org/apache/commons/jxpath/servlet/JXPathServletContextTest.java || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
java-pkg-2_src_test
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
java-pkg_dojar target/${PN}.jar
|
||||||
|
use doc && java-pkg_dojavadoc dist/docs/api
|
||||||
|
use source && java-pkg_dosrc src/java/*
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,125 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit eutils bash-completion-r1 versionator toolchain-funcs
|
||||||
|
|
||||||
|
MY_P="rust-${PV}"
|
||||||
|
|
||||||
|
DESCRIPTION="Systems programming language from Mozilla"
|
||||||
|
HOMEPAGE="http://www.rust-lang.org/"
|
||||||
|
SRC_URI="amd64? ( http://static.rust-lang.org/dist/${MY_P}-x86_64-unknown-linux-gnu.tar.xz )
|
||||||
|
arm? (
|
||||||
|
http://static.rust-lang.org/dist/${MY_P}-arm-unknown-linux-gnueabi.tar.xz
|
||||||
|
http://static.rust-lang.org/dist/${MY_P}-arm-unknown-linux-gnueabihf.tar.xz
|
||||||
|
http://static.rust-lang.org/dist/${MY_P}-armv7-unknown-linux-gnueabihf.tar.xz
|
||||||
|
)
|
||||||
|
x86? ( http://static.rust-lang.org/dist/${MY_P}-i686-unknown-linux-gnu.tar.xz )"
|
||||||
|
|
||||||
|
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
|
||||||
|
SLOT="stable"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="doc"
|
||||||
|
|
||||||
|
CARGO_DEPEND_VERSION="0.$(($(get_version_component_range 2) + 1)).0"
|
||||||
|
|
||||||
|
DEPEND=">=app-eselect/eselect-rust-0.3_pre20150425
|
||||||
|
!dev-lang/rust:0
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
PDEPEND=">=dev-util/cargo-${CARGO_DEPEND_VERSION}"
|
||||||
|
|
||||||
|
QA_PREBUILT="
|
||||||
|
opt/${P}/bin/rustc-bin-${PV}
|
||||||
|
opt/${P}/bin/rustdoc-bin-${PV}
|
||||||
|
opt/${P}/lib/*.so
|
||||||
|
opt/${P}/lib/rustlib/*/lib/*.so
|
||||||
|
opt/${P}/lib/rustlib/*/lib/*.rlib*
|
||||||
|
"
|
||||||
|
|
||||||
|
pkg_pretend () {
|
||||||
|
if [[ "$(tc-is-softfloat)" != "no" ]] && [[ ${CHOST} == armv7* ]]; then
|
||||||
|
die "${CHOST} is not supported by upstream Rust. You must use a hard float version."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
default
|
||||||
|
|
||||||
|
local postfix
|
||||||
|
use amd64 && postfix=x86_64-unknown-linux-gnu
|
||||||
|
|
||||||
|
if use arm && [[ "$(tc-is-softfloat)" != "no" ]] && [[ ${CHOST} == armv6* ]]; then
|
||||||
|
postfix=arm-unknown-linux-gnueabi
|
||||||
|
elif use arm && [[ ${CHOST} == armv6*h* ]]; then
|
||||||
|
postfix=arm-unknown-linux-gnueabihf
|
||||||
|
elif use arm && [[ ${CHOST} == armv7*h* ]]; then
|
||||||
|
postfix=armv7-unknown-linux-gnueabihf
|
||||||
|
fi
|
||||||
|
|
||||||
|
use x86 && postfix=i686-unknown-linux-gnu
|
||||||
|
mv "${WORKDIR}/${MY_P}-${postfix}" "${S}" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local std=$(grep 'std' ./components)
|
||||||
|
local components="rustc,${std}"
|
||||||
|
use doc && components="${components},rust-docs"
|
||||||
|
./install.sh \
|
||||||
|
--components="${components}" \
|
||||||
|
--disable-verify \
|
||||||
|
--prefix="${D}/opt/${P}" \
|
||||||
|
--mandir="${D}/usr/share/${P}/man" \
|
||||||
|
--disable-ldconfig \
|
||||||
|
|| die
|
||||||
|
|
||||||
|
local rustc=rustc-bin-${PV}
|
||||||
|
local rustdoc=rustdoc-bin-${PV}
|
||||||
|
local rustgdb=rust-gdb-bin-${PV}
|
||||||
|
|
||||||
|
mv "${D}/opt/${P}/bin/rustc" "${D}/opt/${P}/bin/${rustc}" || die
|
||||||
|
mv "${D}/opt/${P}/bin/rustdoc" "${D}/opt/${P}/bin/${rustdoc}" || die
|
||||||
|
mv "${D}/opt/${P}/bin/rust-gdb" "${D}/opt/${P}/bin/${rustgdb}" || die
|
||||||
|
|
||||||
|
dosym "../../opt/${P}/bin/${rustc}" "/usr/bin/${rustc}"
|
||||||
|
dosym "../../opt/${P}/bin/${rustdoc}" "/usr/bin/${rustdoc}"
|
||||||
|
dosym "../../opt/${P}/bin/${rustgdb}" "/usr/bin/${rustgdb}"
|
||||||
|
|
||||||
|
cat <<-EOF > "${T}"/50${P}
|
||||||
|
LDPATH="/opt/${P}/lib"
|
||||||
|
MANPATH="/usr/share/${P}/man"
|
||||||
|
EOF
|
||||||
|
doenvd "${T}"/50${P}
|
||||||
|
|
||||||
|
cat <<-EOF > "${T}/provider-${P}"
|
||||||
|
/usr/bin/rustdoc
|
||||||
|
/usr/bin/rust-gdb
|
||||||
|
EOF
|
||||||
|
dodir /etc/env.d/rust
|
||||||
|
insinto /etc/env.d/rust
|
||||||
|
doins "${T}/provider-${P}"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
eselect rust update --if-unset
|
||||||
|
|
||||||
|
elog "Rust installs a helper script for calling GDB now,"
|
||||||
|
elog "for your convenience it is installed under /usr/bin/rust-gdb-bin-${PV},"
|
||||||
|
|
||||||
|
if has_version app-editors/emacs || has_version app-editors/emacs-vcs; then
|
||||||
|
elog "install app-emacs/rust-mode to get emacs support for rust."
|
||||||
|
fi
|
||||||
|
|
||||||
|
if has_version app-editors/gvim || has_version app-editors/vim; then
|
||||||
|
elog "install app-vim/rust-vim to get vim support for rust."
|
||||||
|
fi
|
||||||
|
|
||||||
|
if has_version 'app-shells/zsh'; then
|
||||||
|
elog "install app-shells/rust-zshcomp to get zsh completion for rust."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
eselect rust unset --if-invalid
|
||||||
|
}
|
@ -0,0 +1,232 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python2_7 python3_{5,6} pypy )
|
||||||
|
|
||||||
|
inherit multiprocessing multilib-build python-any-r1 versionator toolchain-funcs
|
||||||
|
|
||||||
|
if [[ ${PV} = *beta* ]]; then
|
||||||
|
betaver=${PV//*beta}
|
||||||
|
BETA_SNAPSHOT="${betaver:0:4}-${betaver:4:2}-${betaver:6:2}"
|
||||||
|
MY_P="rustc-beta"
|
||||||
|
SLOT="beta/${PV}"
|
||||||
|
SRC="${BETA_SNAPSHOT}/rustc-beta-src.tar.xz"
|
||||||
|
KEYWORDS=""
|
||||||
|
else
|
||||||
|
ABI_VER="$(get_version_component_range 1-2)"
|
||||||
|
SLOT="stable/${ABI_VER}"
|
||||||
|
MY_P="rustc-${PV}"
|
||||||
|
SRC="${MY_P}-src.tar.xz"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
CHOST_amd64=x86_64-unknown-linux-gnu
|
||||||
|
CHOST_x86=i686-unknown-linux-gnu
|
||||||
|
CHOST_arm64=aarch64-unknown-linux-gnu
|
||||||
|
|
||||||
|
RUST_STAGE0_VERSION="1.$(($(get_version_component_range 2) - 1)).0"
|
||||||
|
RUST_STAGE0_amd64="rust-${RUST_STAGE0_VERSION}-${CHOST_amd64}"
|
||||||
|
RUST_STAGE0_x86="rust-${RUST_STAGE0_VERSION}-${CHOST_x86}"
|
||||||
|
RUST_STAGE0_arm64="rust-${RUST_STAGE0_VERSION}-${CHOST_arm64}"
|
||||||
|
|
||||||
|
CARGO_DEPEND_VERSION="0.$(($(get_version_component_range 2) + 1)).0"
|
||||||
|
|
||||||
|
DESCRIPTION="Systems programming language from Mozilla"
|
||||||
|
HOMEPAGE="http://www.rust-lang.org/"
|
||||||
|
|
||||||
|
SRC_URI="https://static.rust-lang.org/dist/${SRC} -> rustc-${PV}-src.tar.xz
|
||||||
|
amd64? ( https://static.rust-lang.org/dist/${RUST_STAGE0_amd64}.tar.xz )
|
||||||
|
x86? ( https://static.rust-lang.org/dist/${RUST_STAGE0_x86}.tar.xz )
|
||||||
|
arm64? ( https://static.rust-lang.org/dist/${RUST_STAGE0_arm64}.tar.xz )
|
||||||
|
"
|
||||||
|
|
||||||
|
ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430
|
||||||
|
NVPTX PowerPC Sparc SystemZ X86 XCore )
|
||||||
|
ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
|
||||||
|
LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
|
||||||
|
|
||||||
|
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
|
||||||
|
|
||||||
|
IUSE="debug doc extended +jemalloc wasm ${ALL_LLVM_TARGETS[*]}"
|
||||||
|
|
||||||
|
RDEPEND=">=app-eselect/eselect-rust-0.3_pre20150425
|
||||||
|
jemalloc? ( dev-libs/jemalloc )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
|| (
|
||||||
|
>=sys-devel/gcc-4.7
|
||||||
|
>=sys-devel/clang-3.5
|
||||||
|
)
|
||||||
|
dev-util/cmake
|
||||||
|
"
|
||||||
|
PDEPEND="!extended? ( >=dev-util/cargo-${CARGO_DEPEND_VERSION} )"
|
||||||
|
|
||||||
|
REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}-src"
|
||||||
|
|
||||||
|
toml_usex() {
|
||||||
|
usex "$1" true false
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
local rust_stage0_root="${WORKDIR}"/rust-stage0
|
||||||
|
|
||||||
|
local rust_stage0_name="RUST_STAGE0_${ARCH}"
|
||||||
|
local rust_stage0="${!rust_stage0_name}"
|
||||||
|
|
||||||
|
"${WORKDIR}/${rust_stage0}"/install.sh --disable-ldconfig --destdir="${rust_stage0_root}" --prefix=/ || die
|
||||||
|
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local rust_target="" rust_targets="" rust_target_name arch_cflags
|
||||||
|
|
||||||
|
# Collect rust target names to compile standard libs for all ABIs.
|
||||||
|
for v in $(multilib_get_enabled_abi_pairs); do
|
||||||
|
rust_target_name="CHOST_${v##*.}"
|
||||||
|
rust_targets="${rust_targets},\"${!rust_target_name}\""
|
||||||
|
done
|
||||||
|
if use wasm; then
|
||||||
|
rust_targets="${rust_targets},\"wasm32-unknown-unknown\""
|
||||||
|
fi
|
||||||
|
rust_targets="${rust_targets#,}"
|
||||||
|
|
||||||
|
local rust_stage0_root="${WORKDIR}"/rust-stage0
|
||||||
|
|
||||||
|
rust_target_name="CHOST_${ARCH}"
|
||||||
|
rust_target="${!rust_target_name}"
|
||||||
|
|
||||||
|
cat <<- EOF > "${S}"/config.toml
|
||||||
|
[llvm]
|
||||||
|
optimize = $(toml_usex !debug)
|
||||||
|
release-debuginfo = $(toml_usex debug)
|
||||||
|
assertions = $(toml_usex debug)
|
||||||
|
targets = "${LLVM_TARGETS// /;}"
|
||||||
|
[build]
|
||||||
|
build = "${rust_target}"
|
||||||
|
host = ["${rust_target}"]
|
||||||
|
target = [${rust_targets}]
|
||||||
|
cargo = "${rust_stage0_root}/bin/cargo"
|
||||||
|
rustc = "${rust_stage0_root}/bin/rustc"
|
||||||
|
docs = $(toml_usex doc)
|
||||||
|
submodules = false
|
||||||
|
python = "${EPYTHON}"
|
||||||
|
locked-deps = true
|
||||||
|
vendor = true
|
||||||
|
verbose = 2
|
||||||
|
extended = $(toml_usex extended)
|
||||||
|
[install]
|
||||||
|
prefix = "${EPREFIX}/usr"
|
||||||
|
libdir = "$(get_libdir)"
|
||||||
|
docdir = "share/doc/${P}"
|
||||||
|
mandir = "share/${P}/man"
|
||||||
|
[rust]
|
||||||
|
optimize = $(toml_usex !debug)
|
||||||
|
debuginfo = $(toml_usex debug)
|
||||||
|
debug-assertions = $(toml_usex debug)
|
||||||
|
use-jemalloc = $(toml_usex jemalloc)
|
||||||
|
default-linker = "$(tc-getCC)"
|
||||||
|
rpath = false
|
||||||
|
lld = $(toml_usex wasm)
|
||||||
|
EOF
|
||||||
|
|
||||||
|
for v in $(multilib_get_enabled_abi_pairs); do
|
||||||
|
rust_target=$(get_abi_CHOST ${v##*.})
|
||||||
|
arch_cflags="$(get_abi_CFLAGS ${v##*.})"
|
||||||
|
|
||||||
|
cat <<- EOF >> "${S}"/config.env
|
||||||
|
CFLAGS_${rust_target}=${arch_cflags}
|
||||||
|
EOF
|
||||||
|
|
||||||
|
cat <<- EOF >> "${S}"/config.toml
|
||||||
|
[target.${rust_target}]
|
||||||
|
cc = "$(tc-getBUILD_CC)"
|
||||||
|
cxx = "$(tc-getBUILD_CXX)"
|
||||||
|
linker = "$(tc-getCC)"
|
||||||
|
ar = "$(tc-getAR)"
|
||||||
|
EOF
|
||||||
|
done
|
||||||
|
|
||||||
|
if use wasm; then
|
||||||
|
cat <<- EOF >> "${S}"/config.toml
|
||||||
|
[target.wasm32-unknown-unknown]
|
||||||
|
linker = "lld"
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
env $(cat "${S}"/config.env)\
|
||||||
|
./x.py build --verbose --config="${S}"/config.toml -j$(makeopts_jobs) || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local rust_target abi_libdir
|
||||||
|
|
||||||
|
env DESTDIR="${D}" ./x.py install || die
|
||||||
|
|
||||||
|
mv "${D}/usr/bin/rustc" "${D}/usr/bin/rustc-${PV}" || die
|
||||||
|
mv "${D}/usr/bin/rustdoc" "${D}/usr/bin/rustdoc-${PV}" || die
|
||||||
|
mv "${D}/usr/bin/rust-gdb" "${D}/usr/bin/rust-gdb-${PV}" || die
|
||||||
|
mv "${D}/usr/bin/rust-lldb" "${D}/usr/bin/rust-lldb-${PV}" || die
|
||||||
|
|
||||||
|
# Copy shared library versions of standard libraries for all targets
|
||||||
|
# into the system's abi-dependent lib directories because the rust
|
||||||
|
# installer only does so for the native ABI.
|
||||||
|
for v in $(multilib_get_enabled_abi_pairs); do
|
||||||
|
if [ ${v##*.} = ${DEFAULT_ABI} ]; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
abi_libdir=$(get_abi_LIBDIR ${v##*.})
|
||||||
|
rust_target=$(get_abi_CHOST ${v##*.})
|
||||||
|
mkdir -p "${D}/usr/${abi_libdir}"
|
||||||
|
cp "${D}/usr/$(get_libdir)/rustlib/${rust_target}/lib/*.so" \
|
||||||
|
"${D}/usr/${abi_libdir}" || die
|
||||||
|
done
|
||||||
|
|
||||||
|
dodoc COPYRIGHT
|
||||||
|
|
||||||
|
# FIXME:
|
||||||
|
# Really not sure if that env is needed, specailly LDPATH
|
||||||
|
cat <<-EOF > "${T}"/50${P}
|
||||||
|
LDPATH="/usr/$(get_libdir)/${P}"
|
||||||
|
MANPATH="/usr/share/${P}/man"
|
||||||
|
EOF
|
||||||
|
doenvd "${T}"/50${P}
|
||||||
|
|
||||||
|
cat <<-EOF > "${T}/provider-${P}"
|
||||||
|
/usr/bin/rustdoc
|
||||||
|
/usr/bin/rust-gdb
|
||||||
|
/usr/bin/rust-lldb
|
||||||
|
EOF
|
||||||
|
dodir /etc/env.d/rust
|
||||||
|
insinto /etc/env.d/rust
|
||||||
|
doins "${T}/provider-${P}"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
eselect rust update --if-unset
|
||||||
|
|
||||||
|
elog "Rust installs a helper script for calling GDB and LLDB,"
|
||||||
|
elog "for your convenience it is installed under /usr/bin/rust-{gdb,lldb}-${PV}."
|
||||||
|
|
||||||
|
if has_version app-editors/emacs || has_version app-editors/emacs-vcs; then
|
||||||
|
elog "install app-emacs/rust-mode to get emacs support for rust."
|
||||||
|
fi
|
||||||
|
|
||||||
|
if has_version app-editors/gvim || has_version app-editors/vim; then
|
||||||
|
elog "install app-vim/rust-vim to get vim support for rust."
|
||||||
|
fi
|
||||||
|
|
||||||
|
if has_version 'app-shells/zsh'; then
|
||||||
|
elog "install app-shells/rust-zshcomp to get zsh completion for rust."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
eselect rust unset --if-invalid
|
||||||
|
}
|
Binary file not shown.
@ -1,3 +1 @@
|
|||||||
DIST libdynd-0.6.5.tar.gz 1238404 BLAKE2B be3b1c921c1d8b4d8cdc7d70ef908fea5d38f97743db9db8f4b8716ee58d633f3040c727eb0b9287701d751ea8929b78f1e5f07e7d3b9900630594ec3d81444e SHA512 ebf64b94b38300e4e471f975a51e4b014879937e855af5d72a3f759af4445fa9024e42962ab1284ebe7b2ae2ddf51ea418d106c9894e1841f0984622afbef115
|
|
||||||
DIST libdynd-0.6.6.tar.gz 1261349 BLAKE2B 73c9eba440dfa71cd8403ecfe4c77bb1ec19530333bea8689e9d8cd8863da6a37718af878f4ab5ca278631e0acf67035df4bc00ec4e3360c4558c0184e1f33e9 SHA512 efeb52a5b5dd3154ca293f388d5b967ff983450253435572b919f7c4a1445ad3cb416def4c736f908fdb3b06cddebae881a58420e528f1ca145973a997af7a28
|
|
||||||
DIST libdynd-0.7.2.tar.gz 1342364 BLAKE2B 28617a6b01c09dd8030d376f73c6dc6ddb4cd031aaa59348283fbb1226bb401e2d7ab48385263b8abc4ca95ffd75d2ce9f3b52a417fe04c6597886f8626cdd3f SHA512 134195ba5839e05af07dd9ad0b8e749a83345511acd2a22a029a4d9a2c0fc77a8a1f36722bce20653d28189b7883afe7feb651c7d32ff921ef257a8a9aa4bd7f
|
DIST libdynd-0.7.2.tar.gz 1342364 BLAKE2B 28617a6b01c09dd8030d376f73c6dc6ddb4cd031aaa59348283fbb1226bb401e2d7ab48385263b8abc4ca95ffd75d2ce9f3b52a417fe04c6597886f8626cdd3f SHA512 134195ba5839e05af07dd9ad0b8e749a83345511acd2a22a029a4d9a2c0fc77a8a1f36722bce20653d28189b7883afe7feb651c7d32ff921ef257a8a9aa4bd7f
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
--- tests/CMakeLists.txt.orig 2014-02-10 14:25:18.041841087 -0800
|
|
||||||
+++ tests/CMakeLists.txt 2014-02-10 14:25:40.224975614 -0800
|
|
||||||
@@ -105,12 +105,6 @@
|
|
||||||
)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
-# If installation is requested, install the program
|
|
||||||
-if (DYND_INSTALL_LIB)
|
|
||||||
- install(TARGETS test_libdynd
|
|
||||||
- RUNTIME DESTINATION bin)
|
|
||||||
-endif()
|
|
||||||
-
|
|
||||||
# Compile-time tests: test code that is supposed to produce compile errors
|
|
||||||
# I couldn't find a properly specified way to do this, so hacked together
|
|
||||||
# this function.
|
|
@ -1,66 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
inherit cmake-utils multilib cuda
|
|
||||||
|
|
||||||
# change each release, to avoid git in tree dependency
|
|
||||||
DYND_GIT_SHA1=2e140844d4a21c436ca0fc46996bf8606ffc21d5
|
|
||||||
|
|
||||||
DESCRIPTION="C++ dynamic multi-dimensionnal array library with Python exposure"
|
|
||||||
HOMEPAGE="https://github.com/ContinuumIO/libdynd"
|
|
||||||
SRC_URI="https://github.com/ContinuumIO/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE="cuda doc fftw test"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-libs/c-blosc:0=
|
|
||||||
cuda? ( x11-drivers/nvidia-drivers dev-util/nvidia-cuda-toolkit )
|
|
||||||
fftw? ( sci-libs/fftw:3.0 )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
DOCS=( README.md )
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-0.6.0-dont-install-test.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
cmake-utils_src_prepare
|
|
||||||
# each relase comes with a different set...
|
|
||||||
# remove forced strong flags
|
|
||||||
sed -i \
|
|
||||||
-e "s|@DYND_GIT_SHA1@|${DYND_GIT_SHA1}|" \
|
|
||||||
-e "s|@DYND_VERSION@|${PV}|" \
|
|
||||||
-e 's|-fomit-frame-pointer||' \
|
|
||||||
-e 's|-Werror||g' \
|
|
||||||
CMakeLists.txt || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
sed -i \
|
|
||||||
-e '/add_subdirectory(examples)/d' \
|
|
||||||
CMakeLists.txt || die
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DDYND_SHARED_LIB=ON
|
|
||||||
-DDYND_INSTALL_LIB=ON
|
|
||||||
$(cmake-utils_use cuda DYND_CUDA)
|
|
||||||
$(cmake-utils_use test DYND_BUILD_TESTS)
|
|
||||||
)
|
|
||||||
cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
cd "${BUILD_DIR}" || die
|
|
||||||
./tests/test_libdynd || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cmake-utils_src_install
|
|
||||||
use doc && dodoc documents/*
|
|
||||||
}
|
|
@ -1,66 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
inherit cmake-utils multilib cuda
|
|
||||||
|
|
||||||
# change each release, to avoid git in tree dependency
|
|
||||||
DYND_GIT_SHA1=09fb7e5eccadbe1ec49ff4b05fec724939331e6d
|
|
||||||
|
|
||||||
DESCRIPTION="C++ dynamic multi-dimensionnal array library with Python exposure"
|
|
||||||
HOMEPAGE="https://github.com/ContinuumIO/libdynd"
|
|
||||||
SRC_URI="https://github.com/ContinuumIO/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE="cuda doc fftw test"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-libs/c-blosc:0=
|
|
||||||
cuda? ( x11-drivers/nvidia-drivers dev-util/nvidia-cuda-toolkit )
|
|
||||||
fftw? ( sci-libs/fftw:3.0 )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
DOCS=( README.md )
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-0.6.0-dont-install-test.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
cmake-utils_src_prepare
|
|
||||||
# each relase comes with a different set...
|
|
||||||
# remove forced strong flags
|
|
||||||
sed -i \
|
|
||||||
-e "s|@DYND_GIT_SHA1@|${DYND_GIT_SHA1}|" \
|
|
||||||
-e "s|@DYND_VERSION@|${PV}|" \
|
|
||||||
-e 's|-fomit-frame-pointer||' \
|
|
||||||
-e 's|-Werror||g' \
|
|
||||||
CMakeLists.txt || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
sed -i \
|
|
||||||
-e '/add_subdirectory(examples)/d' \
|
|
||||||
CMakeLists.txt || die
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DDYND_SHARED_LIB=ON
|
|
||||||
-DDYND_INSTALL_LIB=ON
|
|
||||||
$(cmake-utils_use cuda DYND_CUDA)
|
|
||||||
$(cmake-utils_use test DYND_BUILD_TESTS)
|
|
||||||
)
|
|
||||||
cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
cd "${BUILD_DIR}" || die
|
|
||||||
./tests/test_libdynd || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cmake-utils_src_install
|
|
||||||
use doc && dodoc documents/*
|
|
||||||
}
|
|
@ -1,6 +1,5 @@
|
|||||||
DIST nss-3.29.5.tar.gz 7480246 BLAKE2B 9ab16cbbd95aa31358b5b686bee64cd81c8343524dad8aac084f7c86883f1eaead78912dc1021b0461d027b0085356c4b7156f1d80010c3a0ece29d542deef50 SHA512 ce18bc7e793d2b3698db412b2e5fcabbfd9862eca3def120d5e44bc67276526bff6b33ffa84b8128f8af6d35101000e6f7bb24194f63a55461b3c245fac11faa
|
DIST nss-3.29.5.tar.gz 7480246 BLAKE2B 9ab16cbbd95aa31358b5b686bee64cd81c8343524dad8aac084f7c86883f1eaead78912dc1021b0461d027b0085356c4b7156f1d80010c3a0ece29d542deef50 SHA512 ce18bc7e793d2b3698db412b2e5fcabbfd9862eca3def120d5e44bc67276526bff6b33ffa84b8128f8af6d35101000e6f7bb24194f63a55461b3c245fac11faa
|
||||||
DIST nss-3.36.1.tar.gz 23026430 BLAKE2B 76eaf5b24f8954a4e14cf556912250a3ddb7b333054a2ea4ee3d218493a8f12c77a37455aae354ef6ddd9bd55c33a269dad515806d70ef38727fa8a382d47fd4 SHA512 096fe4360b6d584a746ac6156830f8cff821fd173bd889d7a396238919328a227fa4ebb46f738970a4001773046f3dd4f4675b85ff6de8420a4a7657b3ba0c65
|
DIST nss-3.36.1.tar.gz 23026430 BLAKE2B 76eaf5b24f8954a4e14cf556912250a3ddb7b333054a2ea4ee3d218493a8f12c77a37455aae354ef6ddd9bd55c33a269dad515806d70ef38727fa8a382d47fd4 SHA512 096fe4360b6d584a746ac6156830f8cff821fd173bd889d7a396238919328a227fa4ebb46f738970a4001773046f3dd4f4675b85ff6de8420a4a7657b3ba0c65
|
||||||
DIST nss-3.37.1.tar.gz 23034142 BLAKE2B dd196606bf922a58c2d1f7443c6b8c570d5c5c5437f51b8c6c4ddfe84aad7d576cff46f2eba23e4d32f41984fb6ea8aaa29a63b2f010b6807df74ee71144b11d SHA512 61b8186f45afa5fade6f45737d60a86f519c8b5535963f4cc6f13fa6694be0723cdd8b0ed48bbc2eae621dfbfd80ccc249998eeb89ed565797ac4553895a01a1
|
DIST nss-3.37.3.tar.gz 23034239 BLAKE2B 3e30b0fe14501ca0e6b9d14322af73f191164989e6857b9ba46572b7363cdc65c88b672285982f2764ed44fcaf615cb249eea2f45b98050dfc6675003dc74a3b SHA512 11b21818f9fcff11d0e7f4c066ae9fbce0052a30a6b30df9a20022792039b5348554834a472e1b1195e467b9902067f9719678d5ca32efb4e60f1df161feed6f
|
||||||
DIST nss-3.37.tar.gz 23027581 BLAKE2B 0ce7190a029321d5620dc8b9aedf1f4252c53dbef57149afbad432b6bc4b590db026505d23f5c766827d5c0179ab931b8a0435a2e9785eff3db515ed7211e512 SHA512 ad5175f126705f57092ac80421ac005bcc32bb18a4a44a527df25994fa90b3bc18af08506683564f619a22076f71232e2b3c9e6e25d6312d0bfed63684139103
|
|
||||||
DIST nss-cacert-class1-class3.patch 22950 BLAKE2B 9d5e60df5f161a3c27c41e5a9419440a54f888eda454e3cde5ebe626d4075b65cf9938b5144d0fb022377f4bd415bff5e5c67d104409860aa9391b3eb8872c68 SHA512 a5aa740bf110a3f0262e3f1ef2fc739ac2b44f042e220039d48aee8e97cd764d5c10718220364f4098aba955882bd02cadb5481512388971a8290312f88a7df0
|
DIST nss-cacert-class1-class3.patch 22950 BLAKE2B 9d5e60df5f161a3c27c41e5a9419440a54f888eda454e3cde5ebe626d4075b65cf9938b5144d0fb022377f4bd415bff5e5c67d104409860aa9391b3eb8872c68 SHA512 a5aa740bf110a3f0262e3f1ef2fc739ac2b44f042e220039d48aee8e97cd764d5c10718220364f4098aba955882bd02cadb5481512388971a8290312f88a7df0
|
||||||
DIST nss-pem-20160329.tar.xz 27732 BLAKE2B 7c23133a7bfb969d8eac98fb6311e76ab60c5d6601c7329f3c492da30c017e66d64a1f8bc827dd36e52e65c1a1ec02b58816442aaf410345c5ed759a02264b84 SHA512 5834b06e4c64205447573d4f4c8989e20986ae67ee00eebce3817eb73794a6355a404143ba1c676ec302ceefaf9df103cb879b1d4ff14ba4e3790dbee3e40eb2
|
DIST nss-pem-20160329.tar.xz 27732 BLAKE2B 7c23133a7bfb969d8eac98fb6311e76ab60c5d6601c7329f3c492da30c017e66d64a1f8bc827dd36e52e65c1a1ec02b58816442aaf410345c5ed759a02264b84 SHA512 5834b06e4c64205447573d4f4c8989e20986ae67ee00eebce3817eb73794a6355a404143ba1c676ec302ceefaf9df103cb879b1d4ff14ba4e3790dbee3e40eb2
|
||||||
|
@ -1,34 +0,0 @@
|
|||||||
# HG changeset patch
|
|
||||||
# User Jan Beich <jbeich@FreeBSD.org>
|
|
||||||
# Date 1525728934 0
|
|
||||||
# Node ID 259444458a1a7f2ce1813ebe88d924173d5daf0c
|
|
||||||
# Parent 5db9e969c74a2a02c4b1d918792827014d1a9d5e
|
|
||||||
Bug 1459739 - Build FStar.o on 32-bit ARM even with make. r=fkiefer
|
|
||||||
|
|
||||||
|
|
||||||
diff --git a/lib/freebl/Makefile b/lib/freebl/Makefile
|
|
||||||
--- a/lib/freebl/Makefile
|
|
||||||
+++ b/lib/freebl/Makefile
|
|
||||||
@@ -534,16 +534,19 @@ endif # NSS_DISABLE_CHACHAPOLY
|
|
||||||
ifeq (,$(filter-out i386 x386 x86 x86_64 aarch64,$(CPU_ARCH)))
|
|
||||||
# All intel architectures get the 64 bit version
|
|
||||||
# With custom uint128 if necessary (faster than generic 32 bit version).
|
|
||||||
ECL_SRCS += curve25519_64.c
|
|
||||||
VERIFIED_SRCS += Hacl_Curve25519.c FStar.c
|
|
||||||
else
|
|
||||||
# All non intel architectures get the generic 32 bit implementation (slow!)
|
|
||||||
ECL_SRCS += curve25519_32.c
|
|
||||||
+ifndef NSS_DISABLE_CHACHAPOLY
|
|
||||||
+ VERIFIED_SRCS += FStar.c
|
|
||||||
+endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
#######################################################################
|
|
||||||
# (5) Execute "global" rules. (OPTIONAL) #
|
|
||||||
#######################################################################
|
|
||||||
|
|
||||||
include $(CORE_DEPTH)/coreconf/rules.mk
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,372 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit eutils flag-o-matic multilib toolchain-funcs multilib-minimal
|
|
||||||
|
|
||||||
NSPR_VER="4.16"
|
|
||||||
RTM_NAME="NSS_${PV//./_}_RTM"
|
|
||||||
# Rev of https://git.fedorahosted.org/cgit/nss-pem.git
|
|
||||||
PEM_GIT_REV="429b0222759d8ad8e6dcd29e62875ae3efd69116"
|
|
||||||
PEM_P="${PN}-pem-20160329"
|
|
||||||
|
|
||||||
DESCRIPTION="Mozilla's Network Security Services library that implements PKI support"
|
|
||||||
HOMEPAGE="http://www.mozilla.org/projects/security/pki/nss/"
|
|
||||||
SRC_URI="https://archive.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/${P}.tar.gz
|
|
||||||
cacert? ( https://dev.gentoo.org/~axs/distfiles/${PN}-cacert-class1-class3.patch )
|
|
||||||
nss-pem? ( https://dev.gentoo.org/~polynomial-c/${PEM_P}.tar.xz )"
|
|
||||||
|
|
||||||
LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="cacert +nss-pem utils"
|
|
||||||
CDEPEND=">=dev-db/sqlite-3.8.2[${MULTILIB_USEDEP}]
|
|
||||||
>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]"
|
|
||||||
DEPEND=">=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
|
|
||||||
>=dev-libs/nspr-${NSPR_VER}[${MULTILIB_USEDEP}]
|
|
||||||
${CDEPEND}"
|
|
||||||
RDEPEND=">=dev-libs/nspr-${NSPR_VER}[${MULTILIB_USEDEP}]
|
|
||||||
${CDEPEND}
|
|
||||||
"
|
|
||||||
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${P}/${PN}"
|
|
||||||
|
|
||||||
MULTILIB_CHOST_TOOLS=(
|
|
||||||
/usr/bin/nss-config
|
|
||||||
)
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
# Custom changes for gentoo
|
|
||||||
"${FILESDIR}/${PN}-3.32-gentoo-fixups.patch"
|
|
||||||
"${FILESDIR}/${PN}-3.21-gentoo-fixup-warnings.patch"
|
|
||||||
"${FILESDIR}/${PN}-3.23-hppa-byte_order.patch"
|
|
||||||
"${FILESDIR}/${PN}-3.37-fix-fstar-missing-symbols.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
if use nss-pem ; then
|
|
||||||
mv "${PN}"/lib/ckfw/pem/ "${S}"/lib/ckfw/ || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
if use nss-pem ; then
|
|
||||||
PATCHES+=(
|
|
||||||
"${FILESDIR}/${PN}-3.21-enable-pem.patch"
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
if use cacert ; then #521462
|
|
||||||
PATCHES+=(
|
|
||||||
"${DISTDIR}/${PN}-cacert-class1-class3.patch"
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
default
|
|
||||||
|
|
||||||
pushd coreconf >/dev/null || die
|
|
||||||
# hack nspr paths
|
|
||||||
echo 'INCLUDES += -I$(DIST)/include/dbm' \
|
|
||||||
>> headers.mk || die "failed to append include"
|
|
||||||
|
|
||||||
# modify install path
|
|
||||||
sed -e '/CORE_DEPTH/s:SOURCE_PREFIX.*$:SOURCE_PREFIX = $(CORE_DEPTH)/dist:' \
|
|
||||||
-i source.mk || die
|
|
||||||
|
|
||||||
# Respect LDFLAGS
|
|
||||||
sed -i -e 's/\$(MKSHLIB) -o/\$(MKSHLIB) \$(LDFLAGS) -o/g' rules.mk
|
|
||||||
popd >/dev/null || die
|
|
||||||
|
|
||||||
# Fix pkgconfig file for Prefix
|
|
||||||
sed -i -e "/^PREFIX =/s:= /usr:= ${EPREFIX}/usr:" \
|
|
||||||
config/Makefile || die
|
|
||||||
|
|
||||||
# use host shlibsign if need be #436216
|
|
||||||
if tc-is-cross-compiler ; then
|
|
||||||
sed -i \
|
|
||||||
-e 's:"${2}"/shlibsign:shlibsign:' \
|
|
||||||
cmd/shlibsign/sign.sh || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
# dirty hack
|
|
||||||
sed -i -e "/CRYPTOLIB/s:\$(SOFTOKEN_LIB_DIR):../freebl/\$(OBJDIR):" \
|
|
||||||
lib/ssl/config.mk || die
|
|
||||||
sed -i -e "/CRYPTOLIB/s:\$(SOFTOKEN_LIB_DIR):../../lib/freebl/\$(OBJDIR):" \
|
|
||||||
cmd/platlibs.mk || die
|
|
||||||
|
|
||||||
multilib_copy_sources
|
|
||||||
|
|
||||||
strip-flags
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
# Ensure we stay multilib aware
|
|
||||||
sed -i -e "/@libdir@/ s:lib64:$(get_libdir):" config/Makefile || die
|
|
||||||
}
|
|
||||||
|
|
||||||
nssarch() {
|
|
||||||
# Most of the arches are the same as $ARCH
|
|
||||||
local t=${1:-${CHOST}}
|
|
||||||
case ${t} in
|
|
||||||
aarch64*)echo "aarch64";;
|
|
||||||
hppa*) echo "parisc";;
|
|
||||||
i?86*) echo "i686";;
|
|
||||||
x86_64*) echo "x86_64";;
|
|
||||||
*) tc-arch ${t};;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
nssbits() {
|
|
||||||
local cc cppflags="${1}CPPFLAGS" cflags="${1}CFLAGS"
|
|
||||||
if [[ ${1} == BUILD_ ]]; then
|
|
||||||
cc=$(tc-getBUILD_CC)
|
|
||||||
else
|
|
||||||
cc=$(tc-getCC)
|
|
||||||
fi
|
|
||||||
echo > "${T}"/test.c || die
|
|
||||||
${cc} ${!cppflags} ${!cflags} -c "${T}"/test.c -o "${T}/${1}test.o" || die
|
|
||||||
case $(file "${T}/${1}test.o") in
|
|
||||||
*32-bit*x86-64*) echo USE_X32=1;;
|
|
||||||
*64-bit*|*ppc64*|*x86_64*) echo USE_64=1;;
|
|
||||||
*32-bit*|*ppc*|*i386*) ;;
|
|
||||||
*) die "Failed to detect whether ${cc} builds 64bits or 32bits, disable distcc if you're using it, please";;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_compile() {
|
|
||||||
# use ABI to determine bit'ness, or fallback if unset
|
|
||||||
local buildbits mybits
|
|
||||||
case "${ABI}" in
|
|
||||||
n32) mybits="USE_N32=1";;
|
|
||||||
x32) mybits="USE_X32=1";;
|
|
||||||
s390x|*64) mybits="USE_64=1";;
|
|
||||||
${DEFAULT_ABI})
|
|
||||||
einfo "Running compilation test to determine bit'ness"
|
|
||||||
mybits=$(nssbits)
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
# bitness of host may differ from target
|
|
||||||
if tc-is-cross-compiler; then
|
|
||||||
buildbits=$(nssbits BUILD_)
|
|
||||||
fi
|
|
||||||
|
|
||||||
local makeargs=(
|
|
||||||
CC="$(tc-getCC)"
|
|
||||||
CCC="$(tc-getCXX)"
|
|
||||||
AR="$(tc-getAR) rc \$@"
|
|
||||||
RANLIB="$(tc-getRANLIB)"
|
|
||||||
OPTIMIZER=
|
|
||||||
${mybits}
|
|
||||||
)
|
|
||||||
|
|
||||||
# Take care of nspr settings #436216
|
|
||||||
local myCPPFLAGS="${CPPFLAGS} $($(tc-getPKG_CONFIG) nspr --cflags)"
|
|
||||||
unset NSPR_INCLUDE_DIR
|
|
||||||
|
|
||||||
# Do not let `uname` be used.
|
|
||||||
if use kernel_linux ; then
|
|
||||||
makeargs+=(
|
|
||||||
OS_TARGET=Linux
|
|
||||||
OS_RELEASE=2.6
|
|
||||||
OS_TEST="$(nssarch)"
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
export NSS_ENABLE_WERROR=0 #567158
|
|
||||||
export BUILD_OPT=1
|
|
||||||
export NSS_USE_SYSTEM_SQLITE=1
|
|
||||||
export NSDISTMODE=copy
|
|
||||||
export NSS_ENABLE_ECC=1
|
|
||||||
export FREEBL_NO_DEPEND=1
|
|
||||||
export ASFLAGS=""
|
|
||||||
|
|
||||||
local d
|
|
||||||
|
|
||||||
# Build the host tools first.
|
|
||||||
LDFLAGS="${BUILD_LDFLAGS}" \
|
|
||||||
XCFLAGS="${BUILD_CFLAGS}" \
|
|
||||||
NSPR_LIB_DIR="${T}/fakedir" \
|
|
||||||
emake -j1 -C coreconf \
|
|
||||||
CC="$(tc-getBUILD_CC)" \
|
|
||||||
${buildbits:-${mybits}}
|
|
||||||
makeargs+=( NSINSTALL="${PWD}/$(find -type f -name nsinstall)" )
|
|
||||||
|
|
||||||
# Then build the target tools.
|
|
||||||
for d in . lib/dbm ; do
|
|
||||||
CPPFLAGS="${myCPPFLAGS}" \
|
|
||||||
XCFLAGS="${CFLAGS} ${CPPFLAGS}" \
|
|
||||||
NSPR_LIB_DIR="${T}/fakedir" \
|
|
||||||
emake -j1 "${makeargs[@]}" -C ${d}
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
# Altering these 3 libraries breaks the CHK verification.
|
|
||||||
# All of the following cause it to break:
|
|
||||||
# - stripping
|
|
||||||
# - prelink
|
|
||||||
# - ELF signing
|
|
||||||
# http://www.mozilla.org/projects/security/pki/nss/tech-notes/tn6.html
|
|
||||||
# Either we have to NOT strip them, or we have to forcibly resign after
|
|
||||||
# stripping.
|
|
||||||
#local_libdir="$(get_libdir)"
|
|
||||||
#export STRIP_MASK="
|
|
||||||
# */${local_libdir}/libfreebl3.so*
|
|
||||||
# */${local_libdir}/libnssdbm3.so*
|
|
||||||
# */${local_libdir}/libsoftokn3.so*"
|
|
||||||
|
|
||||||
export NSS_CHK_SIGN_LIBS="freebl3 nssdbm3 softokn3"
|
|
||||||
|
|
||||||
generate_chk() {
|
|
||||||
local shlibsign="$1"
|
|
||||||
local libdir="$2"
|
|
||||||
einfo "Resigning core NSS libraries for FIPS validation"
|
|
||||||
shift 2
|
|
||||||
local i
|
|
||||||
for i in ${NSS_CHK_SIGN_LIBS} ; do
|
|
||||||
local libname=lib${i}.so
|
|
||||||
local chkname=lib${i}.chk
|
|
||||||
"${shlibsign}" \
|
|
||||||
-i "${libdir}"/${libname} \
|
|
||||||
-o "${libdir}"/${chkname}.tmp \
|
|
||||||
&& mv -f \
|
|
||||||
"${libdir}"/${chkname}.tmp \
|
|
||||||
"${libdir}"/${chkname} \
|
|
||||||
|| die "Failed to sign ${libname}"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
cleanup_chk() {
|
|
||||||
local libdir="$1"
|
|
||||||
shift 1
|
|
||||||
local i
|
|
||||||
for i in ${NSS_CHK_SIGN_LIBS} ; do
|
|
||||||
local libfname="${libdir}/lib${i}.so"
|
|
||||||
# If the major version has changed, then we have old chk files.
|
|
||||||
[ ! -f "${libfname}" -a -f "${libfname}.chk" ] \
|
|
||||||
&& rm -f "${libfname}.chk"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install() {
|
|
||||||
pushd dist >/dev/null || die
|
|
||||||
|
|
||||||
dodir /usr/$(get_libdir)
|
|
||||||
cp -L */lib/*$(get_libname) "${ED%/}"/usr/$(get_libdir) || die "copying shared libs failed"
|
|
||||||
local i
|
|
||||||
for i in crmf freebl nssb nssckfw ; do
|
|
||||||
cp -L */lib/lib${i}.a "${ED%/}"/usr/$(get_libdir) || die "copying libs failed"
|
|
||||||
done
|
|
||||||
|
|
||||||
# Install nss-config and pkgconfig file
|
|
||||||
dodir /usr/bin
|
|
||||||
cp -L */bin/nss-config "${ED%/}"/usr/bin || die
|
|
||||||
dodir /usr/$(get_libdir)/pkgconfig
|
|
||||||
cp -L */lib/pkgconfig/nss.pc "${ED%/}"/usr/$(get_libdir)/pkgconfig || die
|
|
||||||
|
|
||||||
# create an nss-softokn.pc from nss.pc for libfreebl and some private headers
|
|
||||||
# bug 517266
|
|
||||||
sed -e 's#Libs:#Libs: -lfreebl#' \
|
|
||||||
-e 's#Cflags:#Cflags: -I${includedir}/private#' \
|
|
||||||
*/lib/pkgconfig/nss.pc >"${ED%/}"/usr/$(get_libdir)/pkgconfig/nss-softokn.pc \
|
|
||||||
|| die "could not create nss-softokn.pc"
|
|
||||||
|
|
||||||
# all the include files
|
|
||||||
insinto /usr/include/nss
|
|
||||||
doins public/nss/*.{h,api}
|
|
||||||
insinto /usr/include/nss/private
|
|
||||||
doins private/nss/{blapi,alghmac}.h
|
|
||||||
|
|
||||||
popd >/dev/null || die
|
|
||||||
|
|
||||||
local f nssutils
|
|
||||||
# Always enabled because we need it for chk generation.
|
|
||||||
nssutils=( shlibsign )
|
|
||||||
|
|
||||||
if multilib_is_native_abi ; then
|
|
||||||
if use utils; then
|
|
||||||
# The tests we do not need to install.
|
|
||||||
#nssutils_test="bltest crmftest dbtest dertimetest
|
|
||||||
#fipstest remtest sdrtest"
|
|
||||||
# checkcert utils has been removed in nss-3.22:
|
|
||||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1187545
|
|
||||||
# https://hg.mozilla.org/projects/nss/rev/df1729d37870
|
|
||||||
# certcgi has been removed in nss-3.36:
|
|
||||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1426602
|
|
||||||
nssutils+=(
|
|
||||||
addbuiltin
|
|
||||||
atob
|
|
||||||
baddbdir
|
|
||||||
btoa
|
|
||||||
certutil
|
|
||||||
cmsutil
|
|
||||||
conflict
|
|
||||||
crlutil
|
|
||||||
derdump
|
|
||||||
digest
|
|
||||||
makepqg
|
|
||||||
mangle
|
|
||||||
modutil
|
|
||||||
multinit
|
|
||||||
nonspr10
|
|
||||||
ocspclnt
|
|
||||||
oidcalc
|
|
||||||
p7content
|
|
||||||
p7env
|
|
||||||
p7sign
|
|
||||||
p7verify
|
|
||||||
pk11mode
|
|
||||||
pk12util
|
|
||||||
pp
|
|
||||||
rsaperf
|
|
||||||
selfserv
|
|
||||||
signtool
|
|
||||||
signver
|
|
||||||
ssltap
|
|
||||||
strsclnt
|
|
||||||
symkeyutil
|
|
||||||
tstclnt
|
|
||||||
vfychain
|
|
||||||
vfyserv
|
|
||||||
)
|
|
||||||
# install man-pages for utils (bug #516810)
|
|
||||||
doman doc/nroff/*.1
|
|
||||||
fi
|
|
||||||
pushd dist/*/bin >/dev/null || die
|
|
||||||
for f in ${nssutils[@]}; do
|
|
||||||
dobin ${f}
|
|
||||||
done
|
|
||||||
popd >/dev/null || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Prelink breaks the CHK files. We don't have any reliable way to run
|
|
||||||
# shlibsign after prelink.
|
|
||||||
dodir /etc/prelink.conf.d
|
|
||||||
printf -- "-b ${EPREFIX}/usr/$(get_libdir)/lib%s.so\n" ${NSS_CHK_SIGN_LIBS} \
|
|
||||||
> "${ED%/}"/etc/prelink.conf.d/nss.conf
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
multilib_pkg_postinst() {
|
|
||||||
# We must re-sign the libraries AFTER they are stripped.
|
|
||||||
local shlibsign="${EROOT}/usr/bin/shlibsign"
|
|
||||||
# See if we can execute it (cross-compiling & such). #436216
|
|
||||||
"${shlibsign}" -h >&/dev/null
|
|
||||||
if [[ $? -gt 1 ]] ; then
|
|
||||||
shlibsign="shlibsign"
|
|
||||||
fi
|
|
||||||
generate_chk "${shlibsign}" "${EROOT}"/usr/$(get_libdir)
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_foreach_abi multilib_pkg_postinst
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
multilib_pkg_postrm() {
|
|
||||||
cleanup_chk "${EROOT}"/usr/$(get_libdir)
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_foreach_abi multilib_pkg_postrm
|
|
||||||
}
|
|
@ -1,3 +1,4 @@
|
|||||||
DIST re2-2016-05-01.tar.gz 399509 BLAKE2B ec7676da99493bb2be56bd661f8f3bd57b123bbdc1f6cc5ccd294a17d819b75f9f505b247e86368735a454417f5df8aa4027c20f0fce129625c14caa166a97ad SHA512 6d37ab1eae51a73f60d3c8280ea1162c420638363f0eb1313d7c2d5cee65a5abd4c2927da1a53572afbcb7d07fac2993a7e54c6cbc85e24aaae93c46dab19b14
|
DIST re2-2016-05-01.tar.gz 399509 BLAKE2B ec7676da99493bb2be56bd661f8f3bd57b123bbdc1f6cc5ccd294a17d819b75f9f505b247e86368735a454417f5df8aa4027c20f0fce129625c14caa166a97ad SHA512 6d37ab1eae51a73f60d3c8280ea1162c420638363f0eb1313d7c2d5cee65a5abd4c2927da1a53572afbcb7d07fac2993a7e54c6cbc85e24aaae93c46dab19b14
|
||||||
DIST re2-2016-11-01.tar.gz 379816 BLAKE2B 251c45684fa4f3f85e0138c6f788f7a35fbc2ad8766f6a9bc0daf7305ac2140a1102602cf8843242f7a311ec09bf4fe516b605e39e8c857aa2f475783085c231 SHA512 1be7d2551737cb9dc1031dac9335f82dfb58f3612bdb745bf6c5121334bf8689bb0564b751c23e4c002478cc46cc237ce4da294090adb983b0c1db25a9fac0a7
|
DIST re2-2016-11-01.tar.gz 379816 BLAKE2B 251c45684fa4f3f85e0138c6f788f7a35fbc2ad8766f6a9bc0daf7305ac2140a1102602cf8843242f7a311ec09bf4fe516b605e39e8c857aa2f475783085c231 SHA512 1be7d2551737cb9dc1031dac9335f82dfb58f3612bdb745bf6c5121334bf8689bb0564b751c23e4c002478cc46cc237ce4da294090adb983b0c1db25a9fac0a7
|
||||||
DIST re2-2017-03-01.tar.gz 382241 BLAKE2B 0a034267f435386b1bfc1680c98aabf4d18dac40cbce3c5a5705cb6a383d54f81b90e22fdd0f16220434eca2eb1c6a5d28ae7e903cdca2397bbc6c10c11ac703 SHA512 566a3ff6598fc9b26dcabe175efa48becd38459185d6bb86b3abb1856a3e7b0f9b5e302594b1ac4817dcb5968920df43d23279a6cff2a74b6b0c174dc9379f88
|
DIST re2-2017-03-01.tar.gz 382241 BLAKE2B 0a034267f435386b1bfc1680c98aabf4d18dac40cbce3c5a5705cb6a383d54f81b90e22fdd0f16220434eca2eb1c6a5d28ae7e903cdca2397bbc6c10c11ac703 SHA512 566a3ff6598fc9b26dcabe175efa48becd38459185d6bb86b3abb1856a3e7b0f9b5e302594b1ac4817dcb5968920df43d23279a6cff2a74b6b0c174dc9379f88
|
||||||
|
DIST re2-2018-04-01.tar.gz 389724 BLAKE2B 629d5cf82a465dfd2d50a3761f0b6504dba6309e5a2605a6f1fde20cae7e7cbb7bef6703abc12161891cb14e7308db3d18b25e575d3ffd8bbdd5cfba6f067983 SHA512 862d9bcb574ea986b1497d6c079104a0cf27b418a6ec8c24047f0d43ede2c8f7f0bdc6a3ccddaeb746f0d821e3e7fd701f438d7fed101db969785c4b344e0462
|
||||||
|
@ -0,0 +1,52 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit multilib-minimal toolchain-funcs
|
||||||
|
|
||||||
|
# Different date format used upstream.
|
||||||
|
RE2_VER=${PV#0.}
|
||||||
|
RE2_VER=${RE2_VER//./-}
|
||||||
|
|
||||||
|
DESCRIPTION="An efficent, principled regular expression library"
|
||||||
|
HOMEPAGE="https://github.com/google/re2"
|
||||||
|
SRC_URI="https://github.com/google/re2/archive/${RE2_VER}.tar.gz -> re2-${RE2_VER}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
# NOTE: Always run libre2 through abi-compliance-checker!
|
||||||
|
# https://abi-laboratory.pro/tracker/timeline/re2/
|
||||||
|
SONAME="gentoo-2017-03-01"
|
||||||
|
SLOT="0/${SONAME}"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||||
|
IUSE="icu"
|
||||||
|
|
||||||
|
RDEPEND="icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
icu? ( virtual/pkgconfig )"
|
||||||
|
|
||||||
|
S="${WORKDIR}/re2-${RE2_VER}"
|
||||||
|
|
||||||
|
DOCS=( AUTHORS CONTRIBUTORS README doc/syntax.txt )
|
||||||
|
HTML_DOCS=( doc/syntax.html )
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
grep -qv '^SONAME=0$' Makefile || die "Check SONAME in Makefile"
|
||||||
|
if use icu; then
|
||||||
|
sed -i -e 's:^# \(\(CC\|LD\)ICU=.*\):\1:' Makefile || die
|
||||||
|
fi
|
||||||
|
multilib_copy_sources
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
tc-export AR CXX NM
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
emake SONAME="${SONAME}"
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install() {
|
||||||
|
emake SONAME="${SONAME}" DESTDIR="${D}" prefix="${EPREFIX}/usr" libdir="\$(exec_prefix)/$(get_libdir)" install
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1 @@
|
|||||||
DIST dynd-python-0.6.5.tar.gz 231313 BLAKE2B 423c78d3e634862676622dff4b5f6a999e943b9480fdf9f24da189d19dc76ed8b9b131d64da606c3751d5c25e38206e05bf223f139886fec264a74f9daf51868 SHA512 46af19bc26c8f410ac26d4e756a726a56f2d852bfa21dca03c4c47210ed9074a7e017bdd2ecb1de3d00af37815b4a20885cd7945af4c8536941e9106bcf49f12
|
|
||||||
DIST dynd-python-0.6.6.tar.gz 233618 BLAKE2B 9aaa9c5145f3f595c5f6036fc27c80af83e141dca3444b7049b9221504a178e93e088febde6eeac74729e8e9fb30f4fafc174c6c32c9084add87670ab99dc81a SHA512 c6be9acf0a4dd2446d613cc0c251b56fcd529fac733ecd63d0450806d7f4af2191ef4e861d015177140ca997464b591562a9f478ea83638516fab8552ee88c06
|
|
||||||
DIST dynd-python-0.7.2.tar.gz 184981 BLAKE2B 826a46c7c920533dbd64f310ce6136e37f5d3f7e2bb1190977c72e9c7b65aa9957547b02ca92f5aadc1db268ca4ceda9459036e9fe24a57e090f4312645d348b SHA512 e51df7b368b1f6869338cb12a2f093064b1e7531ef674a83dbc7b9cc1dc6143cbe12cb37273bcc01e7b1066eda541b3b15473bc01e88fd9a8d1b594f6f37eaba
|
DIST dynd-python-0.7.2.tar.gz 184981 BLAKE2B 826a46c7c920533dbd64f310ce6136e37f5d3f7e2bb1190977c72e9c7b65aa9957547b02ca92f5aadc1db268ca4ceda9459036e9fe24a57e090f4312645d348b SHA512 e51df7b368b1f6869338cb12a2f093064b1e7531ef674a83dbc7b9cc1dc6143cbe12cb37273bcc01e7b1066eda541b3b15473bc01e88fd9a8d1b594f6f37eaba
|
||||||
|
@ -1,74 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python{2_7,3_4} )
|
|
||||||
|
|
||||||
inherit cmake-utils python-r1
|
|
||||||
|
|
||||||
# change each release, to avoid git in tree dependency
|
|
||||||
DYND_GIT_SHA1=e5578b6b862c025dd757f77aaae69be48cde5613
|
|
||||||
|
|
||||||
DESCRIPTION="Python exposure of multidimensionnal array library libdynd"
|
|
||||||
HOMEPAGE="https://github.com/ContinuumIO/dynd-python"
|
|
||||||
SRC_URI="https://github.com/ContinuumIO/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE="doc test"
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
~dev-libs/libdynd-${PV}
|
|
||||||
>=dev-python/numpy-1.5[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
>=dev-python/cython-0.19[${PYTHON_USEDEP}]
|
|
||||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}"/${PN}-0.6.2-out-of-git-versioning.patch )
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
cmake-utils_src_prepare
|
|
||||||
# each relase comes with a different set...
|
|
||||||
# remove forced strong flags
|
|
||||||
sed -i \
|
|
||||||
-e "s|@DYND_GIT_SHA1@|${DYND_GIT_SHA1}|" \
|
|
||||||
-e "s|@DYND_VERSION@|${PV}|" \
|
|
||||||
-e 's|-g -fomit-frame-pointer||' \
|
|
||||||
-e 's|-Werror||g' \
|
|
||||||
CMakeLists.txt || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DUSE_SEPARATE_LIBDYND=ON
|
|
||||||
-DDYND_INSTALL_LIB=ON
|
|
||||||
$(cmake-utils_use test DYND_BUILD_TESTS)
|
|
||||||
)
|
|
||||||
python_foreach_impl cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
python_foreach_impl cmake-utils_src_make
|
|
||||||
use doc && emake -C doc html
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
testing() {
|
|
||||||
cmake-utils_src_make DESTDIR="${WORKDIR}-test-${EPYTHON}" install
|
|
||||||
cd "${WORKDIR}-test-${EPYTHON}"/$(python_get_sitedir) || die
|
|
||||||
${PYTHON} -c 'import dynd; dynd.test()' || die
|
|
||||||
}
|
|
||||||
python_foreach_impl testing
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
python_foreach_impl cmake-utils_src_install
|
|
||||||
dodoc README.md
|
|
||||||
use doc && dohtml -r doc/build/html/*
|
|
||||||
}
|
|
@ -1,74 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 python3_{4,5} )
|
|
||||||
|
|
||||||
inherit cmake-utils python-r1
|
|
||||||
|
|
||||||
# change each release, to avoid git in tree dependency
|
|
||||||
DYND_GIT_SHA1=d7ec36c6f1beb0621d6037ab0953db7e4c1b9150
|
|
||||||
|
|
||||||
DESCRIPTION="Python exposure of multidimensionnal array library libdynd"
|
|
||||||
HOMEPAGE="https://github.com/ContinuumIO/dynd-python"
|
|
||||||
SRC_URI="https://github.com/ContinuumIO/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE="doc test"
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
~dev-libs/libdynd-${PV}
|
|
||||||
>=dev-python/numpy-1.5[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
>=dev-python/cython-0.19[${PYTHON_USEDEP}]
|
|
||||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}"/${PN}-0.6.2-out-of-git-versioning.patch )
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
cmake-utils_src_prepare
|
|
||||||
# each relase comes with a different set...
|
|
||||||
# remove forced strong flags
|
|
||||||
sed -i \
|
|
||||||
-e "s|@DYND_GIT_SHA1@|${DYND_GIT_SHA1}|" \
|
|
||||||
-e "s|@DYND_VERSION@|${PV}|" \
|
|
||||||
-e 's|-g -fomit-frame-pointer||' \
|
|
||||||
-e 's|-Werror||g' \
|
|
||||||
CMakeLists.txt || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DUSE_SEPARATE_LIBDYND=ON
|
|
||||||
-DDYND_INSTALL_LIB=ON
|
|
||||||
$(cmake-utils_use test DYND_BUILD_TESTS)
|
|
||||||
)
|
|
||||||
python_foreach_impl cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
python_foreach_impl cmake-utils_src_make
|
|
||||||
use doc && emake -C doc html
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
testing() {
|
|
||||||
cmake-utils_src_make DESTDIR="${WORKDIR}-test-${EPYTHON}" install
|
|
||||||
cd "${WORKDIR}-test-${EPYTHON}"/$(python_get_sitedir) || die
|
|
||||||
${PYTHON} -c 'import dynd; dynd.test()' || die
|
|
||||||
}
|
|
||||||
python_foreach_impl testing
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
python_foreach_impl cmake-utils_src_install
|
|
||||||
dodoc README.md
|
|
||||||
use doc && dohtml -r doc/build/html/*
|
|
||||||
}
|
|
@ -1,14 +0,0 @@
|
|||||||
--- CMakeLists.txt.orig 2014-05-12 14:00:52.000000000 +0400
|
|
||||||
+++ CMakeLists.txt 2014-05-12 14:03:39.000000000 +0400
|
|
||||||
@@ -86,8 +86,9 @@
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Get the git revision
|
|
||||||
-get_git_head_revision("${CMAKE_CURRENT_SOURCE_DIR}" GIT_REFSPEC DYND_PYTHON_GIT_SHA1)
|
|
||||||
-git_describe("${CMAKE_CURRENT_SOURCE_DIR}" DYND_PYTHON_VERSION_STRING --dirty --always --match "v*")
|
|
||||||
+SET(DYND_PYTHON_GIT_SHA1 "@DYND_PYTHON_GIT_SHA1@")
|
|
||||||
+SET(DYND_PYTHON_VERSION_STRING "@DYND_PYTHON_VERSION@")
|
|
||||||
+
|
|
||||||
message(STATUS "DyND-Python version: ${DYND_PYTHON_VERSION_STRING}")
|
|
||||||
configure_file(
|
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/src/git_version.cpp.in"
|
|
@ -1,3 +1 @@
|
|||||||
DIST flann-1.8.4-src.zip 561057 BLAKE2B 0cd1cf7bc394501d878d848246f76919924e39dc950e49e82bd2c8dbf46d9626fc9749ba4578ce62aabd0313314969dd7f6883c42167545238bc89561ce028ce SHA512 47ac6be66e3ec7303d28febc5a4cea2f8d1b3d81c3b7081f27cf17936074e06e91e30123569b41269a2b97c9960274dc485a575d77c1a386e8f539a76a8d3a0a
|
|
||||||
DIST flann-1.8.4-testdata.tar.xz 26744244 BLAKE2B eb8a5066d79dedd2ff4ec48f0e0969d6486417abfb2cc5c2e3e1e0f8dfef637f2cb290e8f1868b819ff7e4d71687daf2aaeb16c8197f5642125ea50ef775441f SHA512 f2bee5e2dfe2fbb42953df563f178b67639b62e26fc31be14e07c196ba3e84db21804e594af44991f7cf45ca5e10ff753093cf160abf33e90d19735a9a0b51cb
|
|
||||||
DIST flann-1.9.1.tar.gz 485391 BLAKE2B bf1e1e7feb33e939e1d0586db593bea3fdf66726fbadec63df9ed9c7bdb678babb11001769f0d041a7a569186b3d700db8b96af5eb9740615f6dfd880460f68b SHA512 0da78bb14111013318160dd3dee1f93eb6ed077b18439fd6496017b62a8a6070cc859cfb3e08dad4c614e48d9dc1da5f7c4a21726ee45896d360506da074a6f7
|
DIST flann-1.9.1.tar.gz 485391 BLAKE2B bf1e1e7feb33e939e1d0586db593bea3fdf66726fbadec63df9ed9c7bdb678babb11001769f0d041a7a569186b3d700db8b96af5eb9740615f6dfd880460f68b SHA512 0da78bb14111013318160dd3dee1f93eb6ed077b18439fd6496017b62a8a6070cc859cfb3e08dad4c614e48d9dc1da5f7c4a21726ee45896d360506da074a6f7
|
||||||
|
@ -1,47 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Python bindings for FLANN artificial neural network library"
|
|
||||||
HOMEPAGE="http://www.cs.ubc.ca/~mariusm/index.php/FLANN/FLANN/"
|
|
||||||
SRC_URI="http://people.cs.ubc.ca/~mariusm/uploads/FLANN/flann-${PV}-src.zip
|
|
||||||
test? ( https://dev.gentoo.org/~bicatali/distfiles/flann-${PV}-testdata.tar.xz )"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE="test"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/numpy[${PYTHON_USEDEP}]
|
|
||||||
~sci-libs/flann-${PV}"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
|
||||||
|
|
||||||
S="${WORKDIR}/flann-${PV}-src/src/python"
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
sed -e "s/@FLANN_VERSION@/${PV}/" \
|
|
||||||
-e '/package_d/d' \
|
|
||||||
-e "s/,.*'pyflann.lib'//" \
|
|
||||||
setup.py.tpl >> setup.py
|
|
||||||
|
|
||||||
use test && ln -s "${WORKDIR}"/testdata/* "${WORKDIR}"/flann-${PV}-src/test/
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
cd "${WORKDIR}"/flann-${PV}-src/test/
|
|
||||||
local t
|
|
||||||
#for t in test*.py; do
|
|
||||||
# test_autotune buggy
|
|
||||||
for t in test_{nn,nn_index,index_save,clustering}.py; do
|
|
||||||
einfo "Running ${t}"
|
|
||||||
PYTHONPATH="${BUILD_DIR}/lib" ${EPYTHON} ${t} || die
|
|
||||||
done
|
|
||||||
}
|
|
@ -0,0 +1 @@
|
|||||||
|
DIST pyotp-2.2.6.tar.gz 10602 BLAKE2B 801f48646ff15a039b9295948ed292c3c432f8b0b629d249554259802335b7430a2c82f8c3bee1f54df71b0972ec293d69a2005c35cac120a51cec1a3548b2c1 SHA512 4f962704411ceebff967cf13af5ec5b815da0f82af665a086c4e5d53acc735453d638c65aa2afa40fe546e92d04a9250f6964cb22270a67c9609f8486eb5ba90
|
@ -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>oleksandr.trotsenko@gmail.com</email>
|
||||||
|
<name>Oleksandr Trotsenko</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>proxy-maint@gentoo.org</email>
|
||||||
|
<name>Proxy Maintainers</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,22 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="PyOTP is a Python library for generating and verifying one-time passwords."
|
||||||
|
HOMEPAGE="https://github.com/pyotp/pyotp https://pypi.org/project/pyotp/"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
"${EPYTHON}" -m unittest discover -v || die "Testing failed with ${EPYTHON}"
|
||||||
|
}
|
Binary file not shown.
@ -1,3 +1,2 @@
|
|||||||
DIST drone-cli-0.7.0_p20170717.tar.gz 1148862 BLAKE2B a631b546917c542dc9395a2390a8f22c6f041314ece6cd185fbfd312a636040098c7f50f1ae07bedaba5ca1d718ad2a6741a24322ad0d9c291addf11b9b74035 SHA512 f901b9409354c9dc3bf21024f82a188e789c8ab05e8bca179cc77069baf024f40ce13995230f48d5c40e7485ab31bb3f22fae0ca68a8669295cdfb11dbb1b168
|
DIST drone-cli-0.7.0_p20170717.tar.gz 1148862 BLAKE2B a631b546917c542dc9395a2390a8f22c6f041314ece6cd185fbfd312a636040098c7f50f1ae07bedaba5ca1d718ad2a6741a24322ad0d9c291addf11b9b74035 SHA512 f901b9409354c9dc3bf21024f82a188e789c8ab05e8bca179cc77069baf024f40ce13995230f48d5c40e7485ab31bb3f22fae0ca68a8669295cdfb11dbb1b168
|
||||||
DIST drone-cli-0.8.5.tar.gz 1381755 BLAKE2B 329a73490af7dced38e5a8ca7c8799e3cec5f8f2da396cf2c7e307cf65967c7688e1d9df3484a45da1906a187edfc3d4e45c48c7953549d61cf40903c334da07 SHA512 2e42b5aedf6b4b2666da84e457a161312c59a2e0d8785167ddc272f016d5ffaf4e5964e0da4135ad459a767b16259f8905fdd222e87247ad1915cdf2f85ed50f
|
|
||||||
DIST drone-cli-0.8.6.tar.gz 1778122 BLAKE2B 040c93386330990a5f4e38f6ca353226145a99d14adc141243900fb4cd3d28bc87665bc6f466b31cd1e5561df31edd378049f0e38e28006206c3cf02ac0d5c21 SHA512 51eb538d5571b2e48722e4e4de6f9d6fc67375e55284f6bdec5c4c495a67e0808f9d158ba925849353bdff7903df2ecae7a073d88185fc607d45383f4f2f5c0d
|
DIST drone-cli-0.8.6.tar.gz 1778122 BLAKE2B 040c93386330990a5f4e38f6ca353226145a99d14adc141243900fb4cd3d28bc87665bc6f466b31cd1e5561df31edd378049f0e38e28006206c3cf02ac0d5c21 SHA512 51eb538d5571b2e48722e4e4de6f9d6fc67375e55284f6bdec5c4c495a67e0808f9d158ba925849353bdff7903df2ecae7a073d88185fc607d45383f4f2f5c0d
|
||||||
|
@ -1,35 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
EGO_PN="github.com/drone/drone-cli"
|
|
||||||
EGIT_COMMIT="80e17b70e6323c282a02a764158b470f42704128"
|
|
||||||
|
|
||||||
inherit golang-build golang-vcs-snapshot
|
|
||||||
|
|
||||||
ARCHIVE_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
|
|
||||||
DESCRIPTION="Command-line interface for Drone"
|
|
||||||
HOMEPAGE="https://github.com/drone/drone-cli"
|
|
||||||
SRC_URI="${ARCHIVE_URI}"
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
RDEPEND="!!<dev-util/drone-0.7"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
pushd src || die
|
|
||||||
GOPATH="${WORKDIR}/${P}"\
|
|
||||||
go install -ldflags "-X main.version=${PV}.${EGIT_COMMIT:0:7}" ${EGO_PN}/drone || die
|
|
||||||
popd || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin bin/drone
|
|
||||||
dodoc src/${EGO_PN}/README.md
|
|
||||||
}
|
|
Binary file not shown.
@ -1,6 +1,9 @@
|
|||||||
DIST git-2.16.4.tar.xz 4968252 BLAKE2B 77f76408bde02bfacdb99d22baca05893f63c96d1fb7508c7e92541f8f7ec9ced0dad650be788fd28a1e03b5d88b88708652d07a47bedaae60a9cbd4e2eec858 SHA512 f54e431e78289349dcb927ec34873dfb801c49a41cbb3d0138346d603af26bd7d86f9ac95e7a61a4831017f3503f33374510ccf68b0e62b0691fc5a43283f1ac
|
DIST git-2.16.4.tar.xz 4968252 BLAKE2B 77f76408bde02bfacdb99d22baca05893f63c96d1fb7508c7e92541f8f7ec9ced0dad650be788fd28a1e03b5d88b88708652d07a47bedaae60a9cbd4e2eec858 SHA512 f54e431e78289349dcb927ec34873dfb801c49a41cbb3d0138346d603af26bd7d86f9ac95e7a61a4831017f3503f33374510ccf68b0e62b0691fc5a43283f1ac
|
||||||
DIST git-2.17.1.tar.xz 5015484 BLAKE2B d3a61023872a15e3176e4dae6df83d4c2369a377244d44dfd7a63a15ecc3a7b145093afd5d6fa72e4eca98ba4f81f7ccd89ac2400c9cf8107ac04fd35d8bf6e4 SHA512 77c27569d40fbae1842130baa0cdda674a02e384631bd8fb1f2ddf67ce372dd4903b2ce6b4283a4ae506cdedd5daa55baa2afe6a6689528511e24e4beb864960
|
DIST git-2.17.1.tar.xz 5015484 BLAKE2B d3a61023872a15e3176e4dae6df83d4c2369a377244d44dfd7a63a15ecc3a7b145093afd5d6fa72e4eca98ba4f81f7ccd89ac2400c9cf8107ac04fd35d8bf6e4 SHA512 77c27569d40fbae1842130baa0cdda674a02e384631bd8fb1f2ddf67ce372dd4903b2ce6b4283a4ae506cdedd5daa55baa2afe6a6689528511e24e4beb864960
|
||||||
|
DIST git-2.18.0.rc1.tar.xz 5057828 BLAKE2B 9ab6979f86f601e6b2c8838eedf2cd8db0514b2644cc107c984d25e35c5ebc3bc3da8788451f51d59fdeee537f3f7de6981e7c0bf35b3e9c41084fc97f8208b0 SHA512 b3910a0aa699785bbe75fa642105151889eecc79534509a64b32f0af192f9fbc9e546b0209b3ae2882ce46af7c45cea7ad1209e5655af708528712bd9c9049d3
|
||||||
DIST git-htmldocs-2.16.4.tar.xz 1164256 BLAKE2B 88a7ab5b094f15bc2b6c0f4d4c3eae185f6e6c0f00f4aca75492f0cc964428d1bf53002e0e43468b60b62058af5f13b061231061247e19b32bc70c2c8adb04eb SHA512 8f4a8c51656559af81296fb064ecf0f88444952c7f8ee91b85e5a61b20d200267d7432f720ded12046bab986361cff48cf7a2f5d21e05c1ac7648cc3168a0049
|
DIST git-htmldocs-2.16.4.tar.xz 1164256 BLAKE2B 88a7ab5b094f15bc2b6c0f4d4c3eae185f6e6c0f00f4aca75492f0cc964428d1bf53002e0e43468b60b62058af5f13b061231061247e19b32bc70c2c8adb04eb SHA512 8f4a8c51656559af81296fb064ecf0f88444952c7f8ee91b85e5a61b20d200267d7432f720ded12046bab986361cff48cf7a2f5d21e05c1ac7648cc3168a0049
|
||||||
DIST git-htmldocs-2.17.1.tar.xz 1173296 BLAKE2B 5133a86fb73cd58d6a9d4ed05d32949f642c9a670a49ea67c7170dfb39c4ff3f63d5f220abebcc979f87a360ec2990ccf5a9e3c18e8fcb07082bac111ecb12c7 SHA512 69054b087ffd1c88532672c6edea3cd27e08421f25c09a1a304420ec6aa20806888f71e4ef21aac1bc2fed81a045a64ae164a9dc377eb48d61887bf8d787782c
|
DIST git-htmldocs-2.17.1.tar.xz 1173296 BLAKE2B 5133a86fb73cd58d6a9d4ed05d32949f642c9a670a49ea67c7170dfb39c4ff3f63d5f220abebcc979f87a360ec2990ccf5a9e3c18e8fcb07082bac111ecb12c7 SHA512 69054b087ffd1c88532672c6edea3cd27e08421f25c09a1a304420ec6aa20806888f71e4ef21aac1bc2fed81a045a64ae164a9dc377eb48d61887bf8d787782c
|
||||||
|
DIST git-htmldocs-2.18.0.rc1.tar.xz 1200624 BLAKE2B 367a27cada3ddd563347382c7569d61f7f367f900840feff6bc4404bb6b1863700ae12729b2bd4008c8a70558c103220ea9dbbf39bdace8d79dee94d1406077d SHA512 ac5c4770989645b268e5b966bbff47495b35fefbde7e4e0636eddb33c0a70b81470c26b1007a85b7078a425e537727a9b36c06bba1fcdd54716cb4bd1a316de5
|
||||||
DIST git-manpages-2.16.4.tar.xz 417136 BLAKE2B 9a75913dae62fa2eb31cf48e77e266aa8d91c67b8a753c1740283b1d626dea1e9aa8d7cea06d9b97887f801b4d1f1b927014851105cefd3241ca7ab7330bfc8b SHA512 8029e9fac1eca542e809da1247f4eec3a2c81c0eb12d03aa816dcf120677011d3e409b06c28c8e7dbf41cbbcca873ec93846dc317bc73e57f4d4701ce7abf73d
|
DIST git-manpages-2.16.4.tar.xz 417136 BLAKE2B 9a75913dae62fa2eb31cf48e77e266aa8d91c67b8a753c1740283b1d626dea1e9aa8d7cea06d9b97887f801b4d1f1b927014851105cefd3241ca7ab7330bfc8b SHA512 8029e9fac1eca542e809da1247f4eec3a2c81c0eb12d03aa816dcf120677011d3e409b06c28c8e7dbf41cbbcca873ec93846dc317bc73e57f4d4701ce7abf73d
|
||||||
DIST git-manpages-2.17.1.tar.xz 419400 BLAKE2B af8cef1ac43c6b5ee073c7e18c161ba3ebe0669e474833211c95e72b33524050c30ca133ada98e07c8b481ffc4a5cbce1e7d68427b7aeb9bb80534c2ef3623f0 SHA512 fbdd4ef99419d244bc7c03b10cf09e92d1f0894879fe159ee1f53262daebdc7fe72d6c2bbe9e21fe354f8afb26fa06b35788e54b0c078b686706b511bf7c33ee
|
DIST git-manpages-2.17.1.tar.xz 419400 BLAKE2B af8cef1ac43c6b5ee073c7e18c161ba3ebe0669e474833211c95e72b33524050c30ca133ada98e07c8b481ffc4a5cbce1e7d68427b7aeb9bb80534c2ef3623f0 SHA512 fbdd4ef99419d244bc7c03b10cf09e92d1f0894879fe159ee1f53262daebdc7fe72d6c2bbe9e21fe354f8afb26fa06b35788e54b0c078b686706b511bf7c33ee
|
||||||
|
DIST git-manpages-2.18.0.rc1.tar.xz 425484 BLAKE2B a421e3fc79e5bde92c0a4cd4df1aa9fb6235d57136ec704f8170bce0804da66c0b38f8027b598bae66ad355943b1e820d3e840b9f07bf6a6b9b58b853f80803a SHA512 5307bed496468447e3890a4af0362646a3cbdcb517da94eba09fd5c34294588dd27844812c73bacf0151a950abaf0239cf70f9739d340f03d3dd047c896b6143
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue