parent
08948654c8
commit
7234019f6e
Binary file not shown.
Binary file not shown.
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6} )
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||
HOMEPAGE="https://ansible.com/"
|
||||
SRC_URI="https://releases.ansible.com/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x64-macos"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/netaddr[${PYTHON_USEDEP}]
|
||||
net-misc/sshpass
|
||||
virtual/ssh
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-16.6[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
|
||||
dev-python/passlib[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/unittest2[${PYTHON_USEDEP}]
|
||||
dev-vcs/git
|
||||
)"
|
||||
|
||||
# not included in release tarball
|
||||
RESTRICT="test"
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
cd docs/docsite || die
|
||||
export CPUS=4
|
||||
emake -f Makefile.sphinx html
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/docsite/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
|
||||
doman docs/man/man1/*.1
|
||||
dodoc -r examples
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST BestCrypt-2.0.11.tar.gz 2191182 BLAKE2B 5fe6d18b0c89273491fbcdb9bf7c73332342fca77cdf457c83f106f5cca693532eea6668e04f7c93828b3d5dc4419872066eda22fb10c780a838ddd78cf79255 SHA512 f6848153fc68690c116796bd5feb80dc1776f344327de5ac485dddc5b60280b491e2e5c9f266d6f30b7095396cd06b5bdad5d322b4ac24ab612ec642dbc08fe2
|
||||
DIST BestCrypt-2.0.14.tar.gz 2211286 BLAKE2B 1ff777a72528ec22ca168492c335ec54be924b653323670619049cc9dfbcd144c28702bf857517c5189c937f3712e749c47ef14006a8883c63419b866b8f48f9 SHA512 1e542f00886413f1519ca5667bb297cce25a46fb5ec90a7e1a61934df3cd34e0d680f32e0b111727865459ef7d89d2761b379b4a557ada6d7ee3e47e32bf762c
|
||||
|
@ -0,0 +1,81 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit linux-mod toolchain-funcs versionator
|
||||
|
||||
MY_PN="BestCrypt"
|
||||
DESCRIPTION="commercially licensed transparent filesystem encryption"
|
||||
HOMEPAGE="http://www.jetico.com/"
|
||||
SRC_URI="http://www.jetico.com/linux/${MY_PN}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="bestcrypt"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="virtual/linux-sources
|
||||
app-shells/bash"
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
DOCS=(
|
||||
HIDDEN_PART README
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-build.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
CONFIG_CHECK="MODULES"
|
||||
linux-mod_pkg_setup
|
||||
|
||||
MODULE_NAMES="bestcrypt(block::kernel/kmod)
|
||||
bc_3des(crypto::kernel/kmod/crypto/algs/3des)
|
||||
bc_bf128(crypto::kernel/kmod/crypto/algs/bf128)
|
||||
bc_bf448(crypto::kernel/kmod/crypto/algs/bf448)
|
||||
bc_blowfish(crypto::kernel/kmod/crypto/algs/blowfish)
|
||||
bc_cast(crypto::kernel/kmod/crypto/algs/cast)
|
||||
bc_des(crypto::kernel/kmod/crypto/algs/des)
|
||||
bc_gost(crypto::kernel/kmod/crypto/algs/gost)
|
||||
bc_idea(crypto::kernel/kmod/crypto/algs/idea)
|
||||
bc_rijn(crypto::kernel/kmod/crypto/algs/rijn)"
|
||||
BUILD_TARGETS="module"
|
||||
BUILD_PARAMS=" \
|
||||
BC_KERNEL_DIR=\"${KERNEL_DIR}\""
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
MAKEOPTS="-j1" linux-mod_src_compile \
|
||||
CXX="$(tc-getCXX)"
|
||||
MAKEOPTS="-j1" emake \
|
||||
CC="$(tc-getCC)" \
|
||||
CXX="$(tc-getCXX)" \
|
||||
AR="$(tc-getAR)" \
|
||||
CFLAGS="${CXXFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
|
||||
emake install PREFIX="${ED}" install
|
||||
|
||||
newinitd "${FILESDIR}/bcrypt3" bcrypt
|
||||
sed -e '/\(bc_rc6\|bc_serpent\|bc_twofish\)/d' -i "${D}etc/init.d/bcrypt"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
linux-mod_pkg_postinst
|
||||
|
||||
ewarn
|
||||
ewarn "The BestCrypt drivers are not free - Please purchace a license from "
|
||||
ewarn "http://www.jetico.com/"
|
||||
ewarn
|
||||
ewarn "Upstream do not support this package any more, it was patched to"
|
||||
ewarn "make it built. Use at your own risk!"
|
||||
ewarn
|
||||
}
|
@ -0,0 +1,522 @@
|
||||
From 71bd6e496af5990836c34e4dd2d9d0107467349a Mon Sep 17 00:00:00 2001
|
||||
From: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
Date: Tue, 11 Sep 2018 18:49:17 +0300
|
||||
Subject: [PATCH 1/6] build: do not auto build/install module
|
||||
|
||||
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
---
|
||||
Makefile | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index ec0fd7e..d52f509 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -98,7 +98,7 @@ TESTS_TARGET = $(TARGET_DIR)/tests/bctool-tests
|
||||
#
|
||||
|
||||
# default target builds console tool with modules
|
||||
-all: Makefile helpers module console
|
||||
+all: Makefile helpers console
|
||||
true
|
||||
|
||||
rebuild: clean all
|
||||
@@ -233,7 +233,7 @@ module-clean:
|
||||
#
|
||||
|
||||
# install for default target
|
||||
-install: module-install console-install helpers-install
|
||||
+install: console-install helpers-install
|
||||
|
||||
# used by RPM creation script
|
||||
build-install: module-put-files console-install helpers-install
|
||||
--
|
||||
2.16.4
|
||||
|
||||
From 42816e0a4e47e77f290b46460e35a1666748f8b0 Mon Sep 17 00:00:00 2001
|
||||
From: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
Date: Tue, 11 Sep 2018 19:35:26 +0300
|
||||
Subject: [PATCH 2/6] build: remove useless log
|
||||
|
||||
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
---
|
||||
certificate/CertificateLib/symmetricAlgs/cAlgRIJN.cpp | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/certificate/CertificateLib/symmetricAlgs/cAlgRIJN.cpp b/certificate/CertificateLib/symmetricAlgs/cAlgRIJN.cpp
|
||||
index 3c6fad8..9821073 100644
|
||||
--- a/certificate/CertificateLib/symmetricAlgs/cAlgRIJN.cpp
|
||||
+++ b/certificate/CertificateLib/symmetricAlgs/cAlgRIJN.cpp
|
||||
@@ -78,14 +78,12 @@ cSymAlg * cAlgRIJN::createAlg( BYTE *key, int keySize ) // keySize in bytes
|
||||
return alg;
|
||||
}
|
||||
|
||||
-#include "../../../../fs-lib/log.h"
|
||||
int cAlgRIJN::encryptECB(
|
||||
const BYTE *inBf, // Input plaintext buffer.
|
||||
BYTE *outBf, // Output encrypted buffer
|
||||
int bfSize // In/out buffers' size.
|
||||
)
|
||||
{
|
||||
- LIBLOG_INFO("");
|
||||
int i;
|
||||
|
||||
if ((bfSize % BC_BLOCK_SIZE) != 0) return sae_invalidBlockSize;
|
||||
--
|
||||
2.16.4
|
||||
|
||||
From a0ffdc5a135b549b62e1421fcf75d627e0394529 Mon Sep 17 00:00:00 2001
|
||||
From: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
Date: Tue, 11 Sep 2018 19:41:17 +0300
|
||||
Subject: [PATCH 3/6] build: do not strip binaries
|
||||
|
||||
---
|
||||
Makefile | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index d52f509..a93b850 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -243,9 +243,9 @@ uninstall: before-uninstall module-uninstall console-uninstall helpers-uninstall
|
||||
|
||||
helpers-install:
|
||||
install -o root -m 0755 -d $(PREFIX)/sbin
|
||||
- install -o root -m 4755 -s $(TARGET_DIR)/bcmount_helper $(PREFIX)/sbin
|
||||
- install -o root -m 4755 -s $(TARGET_DIR)/bcumount_helper $(PREFIX)/sbin
|
||||
- install -o root -m 4755 -s $(TARGET_DIR)/bcrrpart_helper $(PREFIX)/sbin
|
||||
+ install -o root -m 4755 $(TARGET_DIR)/bcmount_helper $(PREFIX)/sbin
|
||||
+ install -o root -m 4755 $(TARGET_DIR)/bcumount_helper $(PREFIX)/sbin
|
||||
+ install -o root -m 4755 $(TARGET_DIR)/bcrrpart_helper $(PREFIX)/sbin
|
||||
|
||||
helpers-uninstall:
|
||||
rm -f $(PREFIX)/sbin/bcmount_helper
|
||||
@@ -267,7 +267,7 @@ before-uninstall:
|
||||
.PHONY: console-install
|
||||
console-install:
|
||||
install -o root -m 0755 -d $(PREFIX)/usr/bin
|
||||
- install -o root -m 0755 -s build/bctool $(PREFIX)/usr/bin/
|
||||
+ install -o root -m 0755 build/bctool $(PREFIX)/usr/bin/
|
||||
install -o root -m 0755 -d $(PREFIX)/$(MAN_PATH)/man8
|
||||
install -m 644 bctool.8 $(PREFIX)/$(MAN_PATH)/man8/
|
||||
|
||||
--
|
||||
2.16.4
|
||||
|
||||
From 7947ac3e152da1ed590364b7c8948deb602a5b50 Mon Sep 17 00:00:00 2001
|
||||
From: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
Date: Tue, 11 Sep 2018 18:52:32 +0300
|
||||
Subject: [PATCH 4/6] build: allow override programs
|
||||
|
||||
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
---
|
||||
Makefile | 11 +++++++----
|
||||
certificate/CertificateLib/Makefile | 4 +++-
|
||||
disk/Makefile | 6 ++++--
|
||||
fslib/Makefile | 16 +++++++++-------
|
||||
kernel/Makefile | 5 +++--
|
||||
keygens/kgghost/Makefile | 7 +++++--
|
||||
keygens/kgsha/Makefile | 7 +++++--
|
||||
mount/Makefile | 9 +++++----
|
||||
spacemap/Makefile | 6 ++++--
|
||||
tests/Makefile | 12 ++++++------
|
||||
10 files changed, 51 insertions(+), 32 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index a93b850..d57ee79 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -56,6 +56,9 @@ KGSHA_LIB = $(KGSHA_BUILD_DIR)/lib$(KGSHA_LIB_NAME).a
|
||||
KGGHOST_LIB = $(KGGHOST_BUILD_DIR)/lib$(KGGHOST_LIB_NAME).a
|
||||
SPACEMAP_LIB = $(SPACEMAP_BUILD_DIR)/lib$(SPACEMAP_LIB_NAME).a
|
||||
|
||||
+CC = gcc
|
||||
+CXX = g++
|
||||
+
|
||||
BC_EXTRA_CFLAGS= $(CFLAGS) -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
|
||||
BC_EXTRA_LDFLAGS = $(LDFLAGS)
|
||||
|
||||
@@ -125,7 +128,7 @@ helpers: create-dirs
|
||||
console: spacemap-lib certificate-lib fs-lib kernel-lib keygen-libs $(TARGET)
|
||||
true
|
||||
$(TARGET): $(BCTOOL_OBJS)
|
||||
- g++ $(BCTOOL_OBJS) $(BCTOOL_CFLAGS) $(BCTOOL_LDFLAGS) -o $(TARGET)
|
||||
+ $(CXX) $(BCTOOL_OBJS) $(BCTOOL_CFLAGS) $(BCTOOL_LDFLAGS) -o $(TARGET)
|
||||
|
||||
# GUI executable only (w/o console and helpers)
|
||||
panel: certificate-lib kernel-lib keygen-libs fs-lib
|
||||
@@ -339,10 +342,10 @@ module-uninstall:
|
||||
bash ./scripts/remove_mods
|
||||
|
||||
%.o:%.cpp
|
||||
- g++ -c $(BCTOOL_CFLAGS) $< -o $@
|
||||
+ $(CXX) -c $(BCTOOL_CFLAGS) $< -o $@
|
||||
|
||||
%.o:%.cc
|
||||
- g++ -c $(BCTOOL_CFLAGS) $< -o $@
|
||||
+ $(CXX) -c $(BCTOOL_CFLAGS) $< -o $@
|
||||
|
||||
%.o:%.c
|
||||
- gcc -c $(BCTOOL_CFLAGS) $< -o $@
|
||||
+ $(CC) -c $(BCTOOL_CFLAGS) $< -o $@
|
||||
diff --git a/certificate/CertificateLib/Makefile b/certificate/CertificateLib/Makefile
|
||||
index 06353bc..19b772c 100644
|
||||
--- a/certificate/CertificateLib/Makefile
|
||||
+++ b/certificate/CertificateLib/Makefile
|
||||
@@ -1,5 +1,7 @@
|
||||
|
||||
-CP = cp
|
||||
+CC = gcc
|
||||
+CXX = g++
|
||||
+AR = ar
|
||||
CFLAGS += -Wall -fPIC -fno-strict-aliasing
|
||||
CXXFLAGS = -Wall -fPIC
|
||||
#-Werror
|
||||
diff --git a/disk/Makefile b/disk/Makefile
|
||||
index e3915b0..1a9ff01 100644
|
||||
--- a/disk/Makefile
|
||||
+++ b/disk/Makefile
|
||||
@@ -1,14 +1,16 @@
|
||||
DISKMON_OBJS = disk.o diskmon.o
|
||||
+
|
||||
+CXX = g++
|
||||
CFLAGS += -Wall -I. -I../ -p -gdwarf-2 #-DBC_DEBUG
|
||||
LDFLAGS += -ludev
|
||||
|
||||
all:diskmon Makefile
|
||||
|
||||
diskmon:$(DISKMON_OBJS)
|
||||
- g++ $(DISKMON_OBJS) $(LDFLAGS) -o diskmon
|
||||
+ $(CXX) $(DISKMON_OBJS) $(LDFLAGS) -o diskmon
|
||||
|
||||
%.o:%.cc
|
||||
- g++ $(CFLAGS) -c $< -o $@
|
||||
+ $(CXX) $(CFLAGS) -c $< -o $@
|
||||
|
||||
clean:
|
||||
rm -rf diskmon *.o
|
||||
diff --git a/fslib/Makefile b/fslib/Makefile
|
||||
index 9b99e89..0075a9f 100644
|
||||
--- a/fslib/Makefile
|
||||
+++ b/fslib/Makefile
|
||||
@@ -1,3 +1,5 @@
|
||||
+CC = gcc
|
||||
+AR = ar
|
||||
|
||||
FSLIB_CFLAGS = $(CFLAGS) -Wall -fPIC -O0 -DFSLIB_DEBUG -g # -O3
|
||||
FSLIB_CFLAGS += -I. -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 #-fvisibility=hidden
|
||||
@@ -17,25 +19,25 @@ FSLIB_TOOLS = file_hfs test_hfs test_info test_free_space diskinfo
|
||||
all: Makefile $(FSLIB) $(FSLIB_TOOLS)
|
||||
|
||||
$(FSLIB): $(OBJS)
|
||||
- ar rcs $(FSLIB) $(OBJS)
|
||||
+ $(AR) rcs $(FSLIB) $(OBJS)
|
||||
|
||||
test_hfs: $(FSLIB) test/test_hfs.o
|
||||
- gcc test/test_hfs.o $(OBJS) $(FSLIB_LDFLAGS) -o test_hfs
|
||||
+ $(CC) test/test_hfs.o $(OBJS) $(FSLIB_LDFLAGS) -o test_hfs
|
||||
|
||||
file_hfs: $(FSLIB) test/file_hfs.o
|
||||
- gcc test/file_hfs.o $(OBJS) $(FSLIB_LDFLAGS) -o file_hfs
|
||||
+ $(CC) test/file_hfs.o $(OBJS) $(FSLIB_LDFLAGS) -o file_hfs
|
||||
|
||||
test_info: $(FSLIB) test/test_info.o
|
||||
- gcc test/test_info.o $(OBJS) $(FSLIB_LDFLAGS) -o test_info
|
||||
+ $(CC) test/test_info.o $(OBJS) $(FSLIB_LDFLAGS) -o test_info
|
||||
|
||||
test_free_space: $(FSLIB) test/test_free_space.o
|
||||
- gcc test/test_free_space.o $(FSLIB_CFLAGS) $(OBJS) $(FSLIB_LDFLAGS) -o test_free_space
|
||||
+ $(CC) test/test_free_space.o $(FSLIB_CFLAGS) $(OBJS) $(FSLIB_LDFLAGS) -o test_free_space
|
||||
|
||||
diskinfo: $(FSLIB) test/diskinfo.o
|
||||
- gcc test/diskinfo.o $(OBJS) $(FSLIB_LDFLAGS) -g -o diskinfo
|
||||
+ $(CC) test/diskinfo.o $(OBJS) $(FSLIB_LDFLAGS) -g -o diskinfo
|
||||
|
||||
.c.o:
|
||||
- gcc $(FSLIB_CFLAGS) -c $< -o $@
|
||||
+ $(CC) $(FSLIB_CFLAGS) -c $< -o $@
|
||||
|
||||
clean:
|
||||
rm -rf *~ *.o test/*.o $(OBJS) $(FSLIB) $(FSLIB_TOOLS)
|
||||
diff --git a/kernel/Makefile b/kernel/Makefile
|
||||
index 1a71617..4f9760d 100644
|
||||
--- a/kernel/Makefile
|
||||
+++ b/kernel/Makefile
|
||||
@@ -3,6 +3,7 @@ OBJECTS = $(SOURCES:.cc=.o)
|
||||
TARGET_DIR = ./build/
|
||||
TARGET = $(TARGET_DIR)/libbckernel.a
|
||||
BC_CFLAGS = $(BC_EXTRA_CFLAGS) -fPIC -c -Wall -ludev -L../build/ -lspacemap -I../ -fvisibility=hidden #-fvisibility-inlines-hidden
|
||||
+CXX = g++
|
||||
|
||||
|
||||
### Build ###
|
||||
@@ -21,12 +22,12 @@ module: create-dirs force_look
|
||||
|
||||
kernel-lib: create-dirs $(TARGET)
|
||||
$(TARGET): $(OBJECTS)
|
||||
- ar rcs $(TARGET) $(OBJECTS)
|
||||
+ $(AR) rcs $(TARGET) $(OBJECTS)
|
||||
|
||||
$(OBJECTS): Makefile $(SOURCES) BCKernel.h
|
||||
set -e; \
|
||||
for i in $(SOURCES); do \
|
||||
- g++ -c $(BC_CFLAGS) $$i -o $${i%.cc}.o; \
|
||||
+ $(CXX) -c $(BC_CFLAGS) $$i -o $${i%.cc}.o; \
|
||||
done
|
||||
|
||||
create-dirs: $(TARGET_DIR)
|
||||
diff --git a/keygens/kgghost/Makefile b/keygens/kgghost/Makefile
|
||||
index 65c4bf6..a7b0af8 100644
|
||||
--- a/keygens/kgghost/Makefile
|
||||
+++ b/keygens/kgghost/Makefile
|
||||
@@ -5,10 +5,13 @@ KGGHOST_OBJS = hash.o pbe.o keyblock.o datablock.o kgghost.o
|
||||
KGGHOST_CFLAGS = -Wall -fPIC -p -ggdb -I. -I../../ -I../../certificate -DBC_LINUX
|
||||
KGGHOST_CFLAGS += $(BC_EXTRA_CFLAGS)
|
||||
|
||||
+CXX = g++
|
||||
+AR = ar
|
||||
+
|
||||
all: $(KGGHOST) Makefile
|
||||
|
||||
$(KGGHOST):$(KGGHOST_OBJS) $(CERTIFICATE_LIB)
|
||||
- ar rcs $(KGGHOST) $(KGGHOST_OBJS)
|
||||
+ $(AR) rcs $(KGGHOST) $(KGGHOST_OBJS)
|
||||
|
||||
$(CERTIFICATE_LIB):
|
||||
make -C ../../certificate/CertificateLib
|
||||
@@ -17,7 +20,7 @@ $(KERNEL_LIB):
|
||||
make -C ../../kernel/build
|
||||
|
||||
%.o:%.cpp
|
||||
- g++ $(KGGHOST_CFLAGS) -c -o $@ $<
|
||||
+ $(CXX) $(KGGHOST_CFLAGS) -c -o $@ $<
|
||||
|
||||
clean:
|
||||
rm -f *.o *.ver *~ $(KGGHOST)
|
||||
diff --git a/keygens/kgsha/Makefile b/keygens/kgsha/Makefile
|
||||
index d3a33d0..9c8c688 100644
|
||||
--- a/keygens/kgsha/Makefile
|
||||
+++ b/keygens/kgsha/Makefile
|
||||
@@ -10,10 +10,13 @@ KGSHA_OBJS = hash.o datablock.o kgsha.o
|
||||
KGSHA_CFLAGS = -Wall -fPIC -p -gdwarf-2 -I. -I../../ -I../../certificate -DBC_LINUX
|
||||
KGSHA_CFLAGS += $(EXTRA_CFLAGS)
|
||||
|
||||
+CXX = g++
|
||||
+AR = ar
|
||||
+
|
||||
all: $(KGSHA) $(KGSHA_OBJS) Makefile hidden_sector.h defs.h datablock.h
|
||||
|
||||
$(KGSHA): $(KGSHA_OBJS) $(CERTIFICATE_LIB) $(KERN_LIB)
|
||||
- ar rcs $(KGSHA) $(KGSHA_OBJS)
|
||||
+ $(AR) rcs $(KGSHA) $(KGSHA_OBJS)
|
||||
|
||||
$(CERT_LIB):
|
||||
make -C ../../certificate/CertificateLib
|
||||
@@ -22,7 +25,7 @@ $(KERN_LIB):
|
||||
make -C ../../kernel/
|
||||
|
||||
%.o:%.cpp
|
||||
- g++ $(KGSHA_CFLAGS) -c -o $@ $<
|
||||
+ $(CXX) $(KGSHA_CFLAGS) -c -o $@ $<
|
||||
|
||||
clean:
|
||||
rm -f *.o *.ver *~ $(KGSHA)
|
||||
diff --git a/mount/Makefile b/mount/Makefile
|
||||
index 7a3d66b..0e60095 100644
|
||||
--- a/mount/Makefile
|
||||
+++ b/mount/Makefile
|
||||
@@ -1,22 +1,23 @@
|
||||
|
||||
HELPERS = bcrrpart_helper bcmount_helper bcumount_helper
|
||||
|
||||
+CC = gcc
|
||||
OBJS = common.o
|
||||
CFLAGS += -Wall -O3
|
||||
|
||||
all: $(HELPERS) Makefile
|
||||
|
||||
bcrrpart_helper: $(OBJS) rrpart.o
|
||||
- gcc $(OBJS) rrpart.o $(LDFLAGS) -o bcrrpart_helper
|
||||
+ $(CC) $(OBJS) rrpart.o $(LDFLAGS) -o bcrrpart_helper
|
||||
|
||||
bcmount_helper: $(OBJS) mount.o
|
||||
- gcc $(OBJS) mount.o $(LDFLAGS) -o bcmount_helper
|
||||
+ $(CC) $(OBJS) mount.o $(LDFLAGS) -o bcmount_helper
|
||||
|
||||
bcumount_helper: $(OBJS) umount.o
|
||||
- gcc $(OBJS) umount.o $(LDFLAGS) -o bcumount_helper
|
||||
+ $(CC) $(OBJS) umount.o $(LDFLAGS) -o bcumount_helper
|
||||
|
||||
%.o:%.c
|
||||
- gcc $(CFLAGS) -c -o $@ $<
|
||||
+ $(CC) $(CFLAGS) -c -o $@ $<
|
||||
|
||||
clean:
|
||||
rm -f *.o *.ver *~ $(HELPERS)
|
||||
diff --git a/spacemap/Makefile b/spacemap/Makefile
|
||||
index 6dff240..7dd2ad9 100644
|
||||
--- a/spacemap/Makefile
|
||||
+++ b/spacemap/Makefile
|
||||
@@ -5,17 +5,19 @@ LIB_NAME = spacemap
|
||||
STATIC_TARGET = lib$(LIB_NAME).a
|
||||
OBJECT_CFLAGS = -fPIC -g -c -Wall -ludev -fvisibility=hidden #-fvisibility-inlines-hidden
|
||||
|
||||
+CXX = g++
|
||||
+AR = ar
|
||||
|
||||
all: static
|
||||
true
|
||||
|
||||
static: $(OBJECTS)
|
||||
- ar rcs $(STATIC_TARGET) $(OBJECTS)
|
||||
+ $(AR) rcs $(STATIC_TARGET) $(OBJECTS)
|
||||
|
||||
$(OBJECTS): $(SOURCES)
|
||||
set -e; \
|
||||
for i in $(SOURCES); do \
|
||||
- g++ $(OBJECT_CFLAGS) $$i -o $${i%.c}.o; \
|
||||
+ $(CXX) $(OBJECT_CFLAGS) $$i -o $${i%.c}.o; \
|
||||
done
|
||||
|
||||
clean:
|
||||
diff --git a/tests/Makefile b/tests/Makefile
|
||||
index c6d78f0..419020b 100644
|
||||
--- a/tests/Makefile
|
||||
+++ b/tests/Makefile
|
||||
@@ -2,8 +2,8 @@ TESTS_PWD = ../build/tests/
|
||||
TESTS_TARGET = $(TESTS_PWD)/bctool-tests
|
||||
TESTS_SOURCES = tests-main.c ../container/cipher.cc ../keygens/kgsha/datablock.cpp ../keygens/kgsha/hash.cpp ../container/linux/file.cpp
|
||||
TESTS_CFLAGS = -I../ -I../certificate/ -L../build/ -L../build/kernel/ -DBC_LINUX -ludev -g
|
||||
-CP = gcc
|
||||
-CPP = g++
|
||||
+CC = gcc
|
||||
+CXX = g++
|
||||
CERT_LIB_NAME = certificate
|
||||
KERN_LIB_NAME = bckernel
|
||||
SPACEMAP_LIB_NAME = spacemap
|
||||
@@ -15,11 +15,11 @@ all: $(TESTS_TARGET)
|
||||
cp insert-modules.sh remove-modules.sh bcmod-loaded.sh $(TESTS_PWD)
|
||||
|
||||
$(TESTS_TARGET): $(TESTS_SOURCES) Makefile
|
||||
- $(CPP) -o $(TESTS_TARGET) $(TESTS_CFLAGS) $(TESTS_SOURCES) -l$(CERT_LIB_NAME) -l$(KERN_LIB_NAME) -l$(SPACEMAP_LIB_NAME) -lcunit -ludev
|
||||
+ $(CXX) -o $(TESTS_TARGET) $(TESTS_CFLAGS) $(TESTS_SOURCES) -l$(CERT_LIB_NAME) -l$(KERN_LIB_NAME) -l$(SPACEMAP_LIB_NAME) -lcunit -ludev
|
||||
cp kernel/print-struct-size.c $(TESTS_PWD)
|
||||
- $(CP) -o $(TESTS_PWD)test-data-generator kernel/test-data-generator.c $(TESTS_CFLAGS) -l$(KERN_LIB_NAME) -l$(SPACEMAP_LIB_NAME)
|
||||
- $(CPP) -o $(TESTS_PWD)kgsha-key-generator kgsha/kgsha-data-generator.cpp ../keygens/kgsha/datablock.cpp ../keygens/kgsha/hash.cpp ../container/cipher.cc $(TESTS_CFLAGS) -l$(KERN_LIB_NAME) -l$(CERT_LIB_NAME) -l$(SPACEMAP_LIB_NAME)
|
||||
- $(CP) -o $(TESTS_PWD)/bcdevchecker bcdevchecker.c
|
||||
+ $(CC) -o $(TESTS_PWD)test-data-generator kernel/test-data-generator.c $(TESTS_CFLAGS) -l$(KERN_LIB_NAME) -l$(SPACEMAP_LIB_NAME)
|
||||
+ $(CXX) -o $(TESTS_PWD)kgsha-key-generator kgsha/kgsha-data-generator.cpp ../keygens/kgsha/datablock.cpp ../keygens/kgsha/hash.cpp ../container/cipher.cc $(TESTS_CFLAGS) -l$(KERN_LIB_NAME) -l$(CERT_LIB_NAME) -l$(SPACEMAP_LIB_NAME)
|
||||
+ $(CC) -o $(TESTS_PWD)/bcdevchecker bcdevchecker.c
|
||||
|
||||
clean:
|
||||
rm -rf $(TESTS_PWD)
|
||||
--
|
||||
2.16.4
|
||||
|
||||
From a7e9a6048e443b0a592c56b1b48e66d20092cf76 Mon Sep 17 00:00:00 2001
|
||||
From: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
Date: Tue, 11 Sep 2018 19:34:59 +0300
|
||||
Subject: [PATCH 5/6] build: add missing sys/sysmacros.h
|
||||
|
||||
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
---
|
||||
mount/common.c | 1 +
|
||||
mount/mount.c | 1 +
|
||||
mount/rrpart.c | 1 +
|
||||
3 files changed, 3 insertions(+)
|
||||
|
||||
diff --git a/mount/common.c b/mount/common.c
|
||||
index 0a14ea4..d88394e 100644
|
||||
--- a/mount/common.c
|
||||
+++ b/mount/common.c
|
||||
@@ -9,6 +9,7 @@
|
||||
#include <stdarg.h>
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
#include <sys/stat.h>
|
||||
diff --git a/mount/mount.c b/mount/mount.c
|
||||
index c57594f..7c802fe 100644
|
||||
--- a/mount/mount.c
|
||||
+++ b/mount/mount.c
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
#include <sys/stat.h>
|
||||
diff --git a/mount/rrpart.c b/mount/rrpart.c
|
||||
index f7ce125..7ba5692 100644
|
||||
--- a/mount/rrpart.c
|
||||
+++ b/mount/rrpart.c
|
||||
@@ -13,6 +13,7 @@
|
||||
#include <unistd.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/stat.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#include <sys/types.h>
|
||||
#include <linux/fs.h>
|
||||
|
||||
--
|
||||
2.16.4
|
||||
|
||||
From 9cb62cc4cbe9cb929aa1fca34d3d807a4e83bcca Mon Sep 17 00:00:00 2001
|
||||
From: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
Date: Tue, 11 Sep 2018 19:12:13 +0300
|
||||
Subject: [PATCH 6/6] modules: build for kernel-4.14
|
||||
|
||||
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
---
|
||||
kernel/kmod/bc_dev.c | 4 +++-
|
||||
kernel/kmod/bc_mem.c | 1 +
|
||||
spacemap/defs.h | 1 +
|
||||
3 files changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/kernel/kmod/bc_dev.c b/kernel/kmod/bc_dev.c
|
||||
index cddbf49..8b5657b 100644
|
||||
--- a/kernel/kmod/bc_dev.c
|
||||
+++ b/kernel/kmod/bc_dev.c
|
||||
@@ -86,9 +86,11 @@ static void reject_bio(struct bio *bio)
|
||||
{
|
||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(4,3,0))
|
||||
bio_endio(bio, -EIO);
|
||||
-#else
|
||||
+#elif (LINUX_VERSION_CODE < KERNEL_VERSION(4,14,0))
|
||||
bio->bi_error = -EIO;
|
||||
bio_endio(bio);
|
||||
+#else
|
||||
+ bio_io_error(bio);
|
||||
#endif
|
||||
}
|
||||
|
||||
diff --git a/kernel/kmod/bc_mem.c b/kernel/kmod/bc_mem.c
|
||||
index 0b516c8..69ec832 100644
|
||||
--- a/kernel/kmod/bc_mem.c
|
||||
+++ b/kernel/kmod/bc_mem.c
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <linux/init.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/kernel.h>
|
||||
+#include <linux/sched.h>
|
||||
#include <asm/uaccess.h>
|
||||
|
||||
#define BC_GET_CALLER_PTR __builtin_return_address(0)
|
||||
diff --git a/spacemap/defs.h b/spacemap/defs.h
|
||||
index f0c87ba..7de9052 100644
|
||||
--- a/spacemap/defs.h
|
||||
+++ b/spacemap/defs.h
|
||||
@@ -17,6 +17,7 @@
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/slab.h>
|
||||
+#include <linux/sched.h>
|
||||
#include <asm/uaccess.h>
|
||||
|
||||
typedef int8_t bc_8;
|
||||
--
|
||||
2.16.4
|
||||
|
@ -1,3 +1 @@
|
||||
DIST glep63-check-4.tar.gz 5898 BLAKE2B b28dd0843138bb54c81142959a28b121b043b7da4e3dc797b8ad3ebabfde6f850a11c40e94e3d20b9cf152b2138165733ba36754859081eb59bbbd5e99f2b98e SHA512 65a40ce097937df0517f86d1b32fd47e23d39abc6a49fa45dfa9075e7f7a163c2c2e25f6e39538a5e47c295bfdb2390bc4909e14a06b21f2bf14edf8cf43f199
|
||||
DIST glep63-check-5.tar.gz 61234 BLAKE2B 15b2e38e00ec044c963f4aaea9be4bf0659441a94ba9958aa1e70ecd425cc9f3dada31ab194092abdf9953ca10d711aa0cdd615365a6e78761b07fb0739fadd5 SHA512 d79a2e2a92dc4f123fbfa73df501fb9a0829a879e0d3674e8d6a854b8a2b437698b77793d92c6862d646a58ef302638cb9e5d152f60e634c9ec06e804dea79b4
|
||||
DIST glep63-check-6.tar.gz 61318 BLAKE2B 9310a70556deabf90003c154c326480e7a5fb58992bf79201100c21fbbeb17ebfdb560d861586d1c206a8d4ed3e64500a8eca4d99dacd072dce121736cdb2d3e SHA512 f0729683095222f60243923bcb7d9c1b984eb10cb0d8a0da2ec756b40a11c3f4f3de466fa533a66d4f645a2de09137a12a47eda5e80d7d5d562b0926a30b1a72
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{4,5,6,7} )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="GLEP 63 compliance checker for OpenPGP keys"
|
||||
HOMEPAGE="https://github.com/mgorny/glep63-check/"
|
||||
SRC_URI="https://github.com/mgorny/glep63-check/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
app-crypt/gnupg"
|
||||
|
||||
src_compile() {
|
||||
python_fix_shebang glep63-check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin glep63-check
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{4,5,6,7} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="GLEP 63 compliance checker for OpenPGP keys"
|
||||
HOMEPAGE="https://github.com/mgorny/glep63-check/"
|
||||
SRC_URI="https://github.com/mgorny/glep63-check/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="app-crypt/gnupg"
|
||||
DEPEND="test? ( ${RDEPEND} )"
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" -m unittest -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
--- a/kencfs-plasma.pro 2017-02-05 10:09:37.000000000 +0100
|
||||
+++ b/kencfs-plasma.pro 2018-09-11 19:43:41.594198503 +0200
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
TRANSLATIONS = kencfs_it_IT.ts kencfs_ro_RO.ts kencfs_cs_CZ.ts kencfs_ru_RU.ts
|
||||
|
||||
-QT += widgets KWallet KConfigCore KNotifications
|
||||
+QT += dbus widgets KWallet KConfigCore KNotifications
|
||||
CONFIG += qtsingleapplication
|
||||
|
||||
include(singleapplication.pri)
|
@ -0,0 +1,120 @@
|
||||
|
||||
Pull request:
|
||||
https://github.com/PeterHuewe/tpm-emulator/pull/37
|
||||
|
||||
|
||||
From 694b7c24ac09e0ec1e54ab71eb9c82a8d4f41d33 Mon Sep 17 00:00:00 2001
|
||||
From: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
Date: Tue, 11 Sep 2018 14:08:49 +0300
|
||||
Subject: [PATCH 1/3] build: use GNUInstallDirs to allow override install
|
||||
directories
|
||||
|
||||
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
---
|
||||
CMakeLists.txt | 1 +
|
||||
tddl/CMakeLists.txt | 6 +++---
|
||||
tpmd/unix/CMakeLists.txt | 2 +-
|
||||
3 files changed, 5 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index f362298..d047ce3 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -6,6 +6,7 @@
|
||||
project(TPM_Emulator C)
|
||||
|
||||
cmake_minimum_required(VERSION 2.4)
|
||||
+include(GNUInstallDirs)
|
||||
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
|
||||
if(COMMAND cmake_policy)
|
||||
cmake_policy(SET CMP0003 NEW)
|
||||
diff --git a/tddl/CMakeLists.txt b/tddl/CMakeLists.txt
|
||||
index 0be3281..6cc63b3 100644
|
||||
--- a/tddl/CMakeLists.txt
|
||||
+++ b/tddl/CMakeLists.txt
|
||||
@@ -15,9 +15,9 @@ elseif(WIN32)
|
||||
set_target_properties(tddl PROPERTIES PREFIX "")
|
||||
endif()
|
||||
|
||||
-install(TARGETS tddl DESTINATION lib)
|
||||
-install(TARGETS tddl_static DESTINATION lib)
|
||||
-install(FILES "tddl.h" DESTINATION include)
|
||||
+install(TARGETS tddl DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
+install(TARGETS tddl_static DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
+install(FILES "tddl.h" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
||||
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
||||
add_executable(test_tddl test_tddl.c)
|
||||
diff --git a/tpmd/unix/CMakeLists.txt b/tpmd/unix/CMakeLists.txt
|
||||
index 40c436b..c5c394a 100644
|
||||
--- a/tpmd/unix/CMakeLists.txt
|
||||
+++ b/tpmd/unix/CMakeLists.txt
|
||||
@@ -13,5 +13,5 @@ target_link_libraries(tpmd mtm tpm tpm_crypto)
|
||||
else()
|
||||
target_link_libraries(tpmd tpm tpm_crypto)
|
||||
endif()
|
||||
-install(TARGETS tpmd RUNTIME DESTINATION bin)
|
||||
+install(TARGETS tpmd RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
|
||||
--
|
||||
2.16.4
|
||||
|
||||
From 89bf733368dda265040cf44ff8be69a15ab66712 Mon Sep 17 00:00:00 2001
|
||||
From: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
Date: Tue, 11 Sep 2018 16:36:12 +0300
|
||||
Subject: [PATCH 2/3] build: do not build mtm unless enabled
|
||||
|
||||
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
---
|
||||
CMakeLists.txt | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index d047ce3..b8b68a3 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -67,7 +67,9 @@ include_directories(${CMAKE_BINARY_DIR})
|
||||
|
||||
# add internal libraries
|
||||
add_subdirectory(tpm)
|
||||
-add_subdirectory(mtm)
|
||||
+if(MTM_EMULATOR)
|
||||
+ add_subdirectory(mtm)
|
||||
+endif()
|
||||
add_subdirectory(crypto)
|
||||
|
||||
# add TDDL
|
||||
--
|
||||
2.16.4
|
||||
|
||||
From 24bbf683de0b0b24f0ec81d093c03e1f6a9570f2 Mon Sep 17 00:00:00 2001
|
||||
From: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
Date: Tue, 11 Sep 2018 14:20:19 +0300
|
||||
Subject: [PATCH 3/3] build: support BUILD_DEV to disable device build
|
||||
|
||||
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
---
|
||||
CMakeLists.txt | 7 ++++++-
|
||||
1 file changed, 6 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index b8b68a3..9ae6562 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -76,7 +76,12 @@ add_subdirectory(crypto)
|
||||
add_subdirectory(tddl)
|
||||
|
||||
# add kernel modules
|
||||
-add_subdirectory(tpmd_dev)
|
||||
+if(NOT DEFINED BUILD_DEV)
|
||||
+ set(BUILD_DEV ON)
|
||||
+endif()
|
||||
+if(BUILD_DEV)
|
||||
+ add_subdirectory(tpmd_dev)
|
||||
+endif()
|
||||
|
||||
# add executables
|
||||
add_subdirectory(tpmd)
|
||||
--
|
||||
2.16.4
|
||||
|
@ -0,0 +1 @@
|
||||
STARTUP_MODE="save"
|
@ -0,0 +1,46 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License, v2 or later
|
||||
|
||||
STARTUP_MODE="${STARTUP_MODE:-save}";
|
||||
|
||||
extra_started_commands="clear save deactivated"
|
||||
description="TPM emulator"
|
||||
command="/usr/bin/tpmd"
|
||||
my_command_args="-f"
|
||||
command_background=1
|
||||
command_user="tss:tss"
|
||||
pidfile="/var/run/${RC_SVCNAME}.pid"
|
||||
|
||||
depend() {
|
||||
use logger
|
||||
after coldplug
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkpath -d -m 0775 -o tss /var/run/tpm
|
||||
service_set_value STARTUP_MODE "${STARTUP_MODE}"
|
||||
}
|
||||
|
||||
start() {
|
||||
command_args="${my_command_args} $(service_get_value STARTUP_MODE)"
|
||||
default_start
|
||||
}
|
||||
|
||||
_doit() {
|
||||
service_set_value STARTUP_MODE "$1"
|
||||
stop
|
||||
start
|
||||
}
|
||||
|
||||
clear() {
|
||||
_doit clear
|
||||
}
|
||||
|
||||
save() {
|
||||
_doit save
|
||||
}
|
||||
|
||||
deactivated() {
|
||||
_doit deactivated
|
||||
}
|
@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
MODULES_OPTIONAL_USE="modules"
|
||||
inherit flag-o-matic user linux-mod cmake-utils udev
|
||||
|
||||
MY_P=${P/-/_}
|
||||
DESCRIPTION="Emulator driver for tpm"
|
||||
HOMEPAGE="https://sourceforge.net/projects/tpm-emulator.berlios/"
|
||||
SRC_URI="mirror://sourceforge/tpm-emulator/${MY_P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="libressl mtm-emulator ssl"
|
||||
RDEPEND="ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
!ssl? ( dev-libs/gmp )"
|
||||
|
||||
S=${WORKDIR}/${P/-/_}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-build.patch"
|
||||
"${FILESDIR}/${P}-cmake.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup tss
|
||||
enewuser tss -1 -1 /var/lib/tpm tss
|
||||
if use modules; then
|
||||
CONFIG_CHECK="MODULES"
|
||||
MODULE_NAMES="tpmd_dev(extra:tpmd_dev/linux:)"
|
||||
BUILD_TARGETS="all tpmd_dev.rules"
|
||||
BUILD_PARAMS="KERNEL_BUILD=${KERNEL_DIR}"
|
||||
linux-mod_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DUSE_OPENSSL=$(usex ssl ON OFF)
|
||||
-DMTM_EMULATOR=$(usex mtm-emulator ON OFF)
|
||||
-DBUILD_DEV=OFF
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
|
||||
use modules && ln -s "${BUILD_DIR}/config.h" tpmd_dev/linux
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
use modules && linux-mod_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
if use modules; then
|
||||
linux-mod_src_install
|
||||
udev_newrules "tpmd_dev/linux/tpmd_dev.rules" 60-tpmd_dev.rules
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}"
|
||||
newconfd "${FILESDIR}/${PN}.confd-r2" "${PN}"
|
||||
|
||||
keepdir /var/log/tpm
|
||||
fowners tss:tss /var/log/tpm
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use modules; then
|
||||
linux-mod_pkg_postinst
|
||||
|
||||
ewarn ""
|
||||
ewarn "The new init.d script does not load the tpmd_dev any more as it is optional."
|
||||
ewarn "If you use the tpmd_dev, please load it explicitly in /etc/conf.d/modules"
|
||||
ewarn ""
|
||||
fi
|
||||
|
||||
einfo "tpmd socket is located at /var/run/tpm/tpmd_socket:0"
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
diff --git a/lib/Makefile.am b/lib/Makefile.am
|
||||
index cef6a2f..d7092a7 100644
|
||||
--- a/lib/Makefile.am
|
||||
+++ b/lib/Makefile.am
|
||||
@@ -80,4 +80,4 @@ endif
|
||||
# Unseal library - for addition to existing apps, counter part of seal cmd
|
||||
libtpm_unseal_la_SOURCES = tpm_unseal.c
|
||||
libtpm_unseal_la_LDFLAGS = -shared -version-info 1:0:0
|
||||
-libtpm_unseal_la_LIBADD = -ltspi libtpm_tspi.la @INTLLIBS@
|
||||
+libtpm_unseal_la_LIBADD = -ltspi libtpm_tspi.la -lcrypto @INTLLIBS@
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST eselect-repository-3.tar.gz 5448 BLAKE2B 36a079f2a876709a2cc045e0c113f44f9feaa491c49d3773eb3e123ee7e7a7ffa2ad05060ffa62ac39ff8091a64ff995ea948f3c784ffbb7d8ddca5e468364d3 SHA512 ac3396a6d14fcc7d4df1f9b058bc3025875707f3febdf4d1e03122445d0e6273759b8a66443525c94daaf19f91b411c469aabc0e0082cd53980886a91f38a062
|
||||
DIST eselect-repository-4.tar.gz 5535 BLAKE2B 4dce6c0136ec9394c9bf4128ec26ab67260d4b96a165825ae7b15b8476d10d23fcc5190946fc54013d6eb8e4f18988b07df4c849ba50844571986a6823511547 SHA512 0d3c204d73bb4314bc24fdf6cd837f2a56ac00d1d11fbec7f072af874bc468777676bba40e0cc17553f6dec7a907f10865f9c356a6390372e0734173465ac483
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{3_4,3_5,3_6} )
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="Manage repos.conf via eselect"
|
||||
HOMEPAGE="https://github.com/mgorny/eselect-repository"
|
||||
SRC_URI="https://github.com/mgorny/eselect-repository/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm x86"
|
||||
IUSE=""
|
||||
REQUIRED_USE=${PYTHON_REQUIRED_USE}
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
app-admin/eselect
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
net-misc/wget"
|
||||
|
||||
src_compile() {
|
||||
MAKEARGS=(
|
||||
PREFIX="${EPREFIX}/usr"
|
||||
SYSCONFDIR="${EPREFIX}/etc"
|
||||
SHAREDSTATEDIR="${EPREFIX}/var"
|
||||
ESELECTDIR="${EPREFIX}/usr/share/eselect/modules"
|
||||
)
|
||||
|
||||
emake "${MAKEARGS[@]}"
|
||||
python_fix_shebang eselect-repo-helper
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake "${MAKEARGS[@]}" DESTDIR="${D}" install
|
||||
keepdir /var/db/repos
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
@ -1,4 +1,2 @@
|
||||
DIST poedit-2.0.6.tar.gz 2511777 BLAKE2B f28e8940310e80ee15fc70f10492e061097f88b62938f8a85194170fd107100c739dbfd1c1cf12516e6fe3d2a9b282986a4368615cf8fcb2ac889075fe64cc6b SHA512 e7beceeb4cd9e4e0269666d634e48622f175a7788219288ba6349a5b15f8360a929018480372e3eecb664d7d2e3093d6788640651696323d6dda0f0780aa5cd2
|
||||
DIST poedit-2.0.7.tar.gz 2558220 BLAKE2B e4a958e516a5c4b56331b6f9f37d9fa627072a4a161f17b9e809df86af7ab86130c704b9f41d081a86dbc2dc3b24acf62615e843b73f78874c42730bd46f9b55 SHA512 7b8b41b5f55252b1845c452edbdad56dc841c507c4fb7a24267bd2af8490610f5f3eb72f31ed4d062fdaef939ef4ecd9c30ddc85a5dad3a792ac5857567dac71
|
||||
DIST poedit-2.0.9.tar.gz 2567156 BLAKE2B 29e616256a19430cb3efd3db5d6c2cc450155009e30ee056f6be712bac9e631e5aa20b0758262e9fbe00937eedf6ac777cd8e7407a3060f04503e3fa4d9cd6d0 SHA512 9981339ae0c3f11f972ed2f25e0c96e5c0cc0210771cc44d163e219c32eb951fa4180c8a03acdd7f0232a5e4b535f3202dda703b57ccfb02773eb24e6a1eb02d
|
||||
DIST poedit-2.1.1.tar.gz 2722379 BLAKE2B 3e5102ab9b2b6b6701abd3f44dab846d6989e5abdbcadf924cf7032d725fa1b405425cefa37eb0230d3de68ea0c60ec05e7bfe84f906cdec0230d8c1284f5779 SHA512 0b5e13c3e59c9bde78b95b45aa8765c16c03d12ca9fbabe4448e409ff4cd627676d1b77c011c75a54dc0e10acda23ceb49ca063e76a29154344dc5fdb9e5f8a8
|
||||
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
WX_GTK_VER=3.0-gtk3
|
||||
|
||||
PLOCALES="an ar az be be@latin bg bs ca ckb co cs da de el en_GB es et eu fa fi fr ga gl he hr hu hy id is it ja ka kab kk ko lt lv ms nb nl oc pa pl pt_BR pt_PT ro ru sk sl sq sr sv tg th tr uk uz vi zh_CN zh_TW"
|
||||
|
||||
inherit gnome2-utils l10n wxwidgets xdg
|
||||
|
||||
DESCRIPTION="GUI gettext translations editor"
|
||||
HOMEPAGE="https://poedit.net"
|
||||
SRC_URI="https://github.com/vslavik/${PN}/releases/download/v${PV}-oss/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~hppa ppc ppc64 sparc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
app-text/gtkspell:3
|
||||
x11-libs/gtk+:3
|
||||
>=dev-cpp/lucene++-3.0.5
|
||||
dev-libs/boost:=[nls]
|
||||
dev-libs/icu:=
|
||||
>=x11-libs/wxGTK-3.0.3:${WX_GTK_VER}[X]
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
my_rm_loc() {
|
||||
sed -i -e "/^POEDIT_LINGUAS = /s: ${1}::" locales/Makefile.in || die
|
||||
rm "locales/${1}.mo" || die
|
||||
}
|
||||
l10n_find_plocales_changes 'locales' '' '.mo'
|
||||
l10n_for_each_disabled_locale_do my_rm_loc
|
||||
|
||||
setup-wxwidgets
|
||||
xdg_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --without-cpprest --without-cld2
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
WX_GTK_VER=3.0-gtk3
|
||||
|
||||
PLOCALES="an ar az be be@latin bg bs ca ckb co cs da de el en_GB es et eu fa fi fr ga gl he hr hu hy id is it ja ka kab kk ko lt lv ms nb nl oc pa pl pt_BR pt_PT ro ru sk sl sq sr sv tg th tr uk uz vi zh_CN zh_TW"
|
||||
|
||||
inherit gnome2-utils l10n wxwidgets xdg
|
||||
|
||||
DESCRIPTION="GUI gettext translations editor"
|
||||
HOMEPAGE="https://poedit.net"
|
||||
SRC_URI="https://github.com/vslavik/${PN}/releases/download/v${PV}-oss/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
app-text/gtkspell:3
|
||||
x11-libs/gtk+:3
|
||||
>=dev-cpp/lucene++-3.0.5
|
||||
dev-libs/boost:=[nls]
|
||||
dev-libs/icu:=
|
||||
>=x11-libs/wxGTK-3.0.3:${WX_GTK_VER}[X]
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
my_rm_loc() {
|
||||
sed -i -e "/^POEDIT_LINGUAS = /s: ${1}::" locales/Makefile.in || die
|
||||
rm "locales/${1}.mo" || die
|
||||
}
|
||||
l10n_find_plocales_changes 'locales' '' '.mo'
|
||||
l10n_for_each_disabled_locale_do my_rm_loc
|
||||
|
||||
setup-wxwidgets
|
||||
xdg_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --without-cpprest --without-cld2
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_icon_cache_update
|
||||
}
|
Binary file not shown.
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Apple Cinema Display Control"
|
||||
HOMEPAGE="https://web.archive.org/web/20090725222711/http://technocage.com:80/~caskey/acdctl/"
|
||||
SRC_URI="http://www.technocage.com/~caskey/acdctl/download/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="ppc"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/libusb:0"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_install() {
|
||||
dobin acdctl
|
||||
dodoc CHANGELOG README
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST datovka-3.0.3.tar.gz 671555 BLAKE2B e8fd9a196ed2d3c353dd94c4be4d734666f5a90866de7ddf0a8efd3ff9b6e96343719810cf585b8f4321c5028b9f229a0224cbc9ee4cb1ddb18727012bfa4d5d SHA512 c3dfa23125849fb1c5691a4ad6077fedd307b8c0417c72e014876f56c1185a2da73478927fb594cac45ada77a71a3798f57a75032a4d83cd81c194fe3257397d
|
||||
DIST datovka-4.10.2.tar.xz 2465696 BLAKE2B 1c355070c4bce005f1a601875edbf40c279e11f32653e59d52321f284b93abd6e404774f41d3bc0430b9b01a13bd1667223e8aafd60f89058ba4eee2ebeb8269 SHA512 e1338d9448b042b26b9829341b93cd8d07fd7d2b854dce33b80731c9a9d41965ea646ac95c7883615ac4f682ed28fb1d3184554505acfb5e76b4ef03ab32bc98
|
||||
DIST datovka-4.10.3.tar.xz 2554488 BLAKE2B a06c122403f7571c19abddca93e4d7270b66dbac9b86eb073634cc2c22dd26ad230ad36580b8f977e7033656d8f7066be89532c786ea554b293a2fab46309b9f SHA512 8a07c338b214bd0fdac216d6b278ebceee48aeb4df2d97a77a42f627479641d1824c5ed16f336f5da3205c46e753203aadfd0f83934b7caff4dc9c819e0cee0a
|
||||
DIST datovka-4.9.2.tar.xz 2373540 BLAKE2B 2de754a5a9b59b5184f63dd8e1790b3345cc6fc2429aeafc60d6944a8f7372b898e11bfab7aaf21b9041697532b454cd7d91a968435a0cb297183902881b705b SHA512 a906a032d138be33f6011c9e5869c5c8ae44f305279fc531e6e21e7911a04d3f3f2a360d561f0553c581806fe3ac8344dbb30bcdc604e79db37fc948f12a7e1a
|
||||
DIST datovka-4.11.0.tar.xz 2575132 BLAKE2B c5fb753fe0a68c03571c490443428d36a76859b9be123e79a6fd32eb220f6f9f963c65e13b90e72554370c5d20bfef9fff6d47ebaa78e9865aff51d377280140 SHA512 ad245b0c2028a03690eeca6363e94852847ab20a4234aa89a4926d5727e9537e97a2dd53a6f8bfd7691e23480ab2c50ce681ffb7017a80996075bb000d6e1c5f
|
||||
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="GUI to access Czech eGov \"Datove schranky\""
|
||||
HOMEPAGE="https://labs.nic.cz/page/969/datovka/"
|
||||
SRC_URI="https://www.nic.cz/public_media/datove_schranky/releases/src/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-python/pygtk:2[${PYTHON_USEDEP}]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
dev-python/reportlab[${PYTHON_USEDEP}]
|
||||
dev-python/sqlalchemy[${PYTHON_USEDEP}]
|
||||
media-fonts/dejavu
|
||||
>=net-libs/dslib-3.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit qmake-utils
|
||||
|
||||
DESCRIPTION="GUI to access the Czech eGov system of Datove schranky"
|
||||
HOMEPAGE="https://labs.nic.cz/cs/datovka.html"
|
||||
SRC_URI="https://secure.nic.cz/files/datove_schranky/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# minimum Qt version required
|
||||
QT_PV="5.3.2:5"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/openssl-1.0.2
|
||||
>=dev-qt/qtcore-${QT_PV}
|
||||
>=dev-qt/qtgui-${QT_PV}
|
||||
>=dev-qt/qtnetwork-${QT_PV}
|
||||
>=dev-qt/qtprintsupport-${QT_PV}
|
||||
>=dev-qt/qtsql-${QT_PV}[sqlite]
|
||||
>=dev-qt/qtsvg-${QT_PV}
|
||||
>=dev-qt/qtwidgets-${QT_PV}
|
||||
>=net-libs/libisds-0.10.7
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
>=dev-qt/linguist-tools-${QT_PV}
|
||||
"
|
||||
|
||||
DOCS=( ChangeLog README )
|
||||
|
||||
src_configure() {
|
||||
lrelease datovka.pro
|
||||
eqmake5 PREFIX="/usr" DISABLE_VERSION_CHECK_BY_DEFAULT=1 TEXT_FILES_INST_DIR="/usr/share/${PN}/"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install INSTALL_ROOT="${D}"
|
||||
einstalldocs
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST ranger-1.9.1.tar.gz 245872 BLAKE2B 3ed48c4fe0cb42be7e001508a9c1f558e415e155eb5f68c9a8eb3e6d906ad287080391ab0310c0e9d67c9bc3210621827dc11107d99ac4173a4d8c64d74ab28b SHA512 c7fdc8f423860c7c420d7be61ebcc92629e444529c982f24260a9eeb68452adbbc6d40d53921c556da3d08a75b1c718bb05257cf869a15f7d932e8f00836cfe3
|
||||
DIST ranger-1.9.2.tar.gz 265295 BLAKE2B 93e4d8ff1ad41c9bdf94af4a3ed9ab013048d1a601242553592b0e246f000b3a0226644b126ae7ec1c70562ff80b3f6c6711ee0e53dc1b7363c9ddf8f5fa75cc SHA512 5eb4743beaf0478d745cce8e5bfc2ac07c98ab5784e9394772782d06c0bb27dcd5478ead191ac527f21cce76db09a51eb46db0fabc7993684a6b5aaec0d43104
|
||||
|
@ -0,0 +1,43 @@
|
||||
# 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} )
|
||||
PYTHON_REQ_USE="ncurses"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/ranger/ranger.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A vim-inspired file manager for the console"
|
||||
HOMEPAGE="https://ranger.github.io/"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="virtual/pager"
|
||||
DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
src_prepare() {
|
||||
# use versioned doc path
|
||||
sed -i "s|share/doc/ranger|share/doc/${PF}|" setup.py doc/ranger.1 || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test -v tests/ranger || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
elog "Ranger has many optional dependencies to support enhanced file previews."
|
||||
elog "See the README or homepage for more details."
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,3 +1,2 @@
|
||||
DIST gemato-13.0.tar.gz 66899 BLAKE2B e75a16d6a26f010801df072154897a485e9aee6434cf60962d59d11fda70b790284a734d9137ccc7910b0a95278d922640aece45e42ca497d1118e01992c2a15 SHA512 0ca17f1df8606e09a88411d75d144094bd13e440b04721175c8d9a3ea92fc616b34de0c80c817898ee94a1d82e37e4de50319634a351a52bccaec9653ad2f166
|
||||
DIST gemato-14.0-multiprocessing.tar.gz 71359 BLAKE2B b8c6fbcf8a83c8e85db4045ad23296944b94623d132a6c5f15b8388662fd092cb589600fda1d11c9645541106dc735dceaeed87d642b1fadf0f352f4a9b3f108 SHA512 2f1a1cbd837ab316bf544f713470f570286a313e002a4dcc075e464e77a3b10ba86410f805aad3d5702f3deedda48f8270f1274a67d76086b4ad5cd597426c5e
|
||||
DIST gemato-14.0.tar.gz 70754 BLAKE2B e66d63a20e144e809555b2eeff6a24f899e1f488c95a14b2250c6eb45c39a6e6b0e614afe30a64f5a353720ab38371ba3e4bf9948052dae3e06f9f82ac3d04a2 SHA512 0494b8fab720b4e5ad2b190fab128baf997073137b933bc113dddc8c5f2c54f53d09bc640b01565e9757b41197d039c8487cb2b78de77313722d19baf008b51f
|
||||
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
# pyblake2 & pysha3 are broken with pypy3
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
|
||||
PYTHON_REQ_USE='threads(+)'
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Stand-alone Manifest generation & verification tool"
|
||||
HOMEPAGE="https://github.com/mgorny/gemato"
|
||||
SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~x64-cygwin ~amd64-fbsd"
|
||||
IUSE="+blake2 bzip2 +gpg lzma sha3 test tools"
|
||||
|
||||
MODULE_RDEPEND="
|
||||
blake2? ( $(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' python{2_7,3_4,3_5} pypy{,3}) )
|
||||
bzip2? ( $(python_gen_cond_dep 'dev-python/bz2file[${PYTHON_USEDEP}]' python2_7 pypy) )
|
||||
gpg? ( app-crypt/gnupg )
|
||||
lzma? ( $(python_gen_cond_dep 'dev-python/backports-lzma[${PYTHON_USEDEP}]' python2_7 pypy) )
|
||||
sha3? ( $(python_gen_cond_dep 'dev-python/pysha3[${PYTHON_USEDEP}]' python{2_7,3_4,3_5} pypy{,3}) )"
|
||||
|
||||
RDEPEND="${MODULE_RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
DEPEND=">=dev-python/setuptools-34[${PYTHON_USEDEP}]
|
||||
test? ( ${MODULE_RDEPEND} )"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
if use tools; then
|
||||
exeinto /usr/share/gemato
|
||||
doexe utils/*.{bash,py}
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST smart-live-rebuild-1.3.5.tar.bz2 16004 BLAKE2B fa1fcb13c739ef15b343de3460b029a311a4c08be3ec44ff5c0c89fef4d07fde7fa5558444b25ce234d64b03465b4a401593600f3fec5cbbfba76bdc76fcca34 SHA512 46933334c8c46a056c837e60a5d8aed30a35b1ddd20d7c0f03e813f6cac11cc2dc9469674b1e9c23d94c9ebc474e5eacc7aa0e8f82492554a7f49b438ed740d2
|
||||
DIST smart-live-rebuild-1.3.6.tar.gz 17194 BLAKE2B a1c4f07e66ce3328ae70f88d086c33875bed68aea645a180e68fbd997051c6d398c1133d8e9c72378741fe41c519e941e76dc25d9c3f9c61c36531fe6fbe8e79 SHA512 f9fe57269654d69c3b21d0b6e378dfa3d2c00e67dae44278b2b81d631e4645346ecaeb5c9f43b77d39312b97edee247ba8b05303be903d6a3573bc226159c40f
|
||||
|
@ -1,34 +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,3_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Check live packages for updates and emerge them as necessary"
|
||||
HOMEPAGE="https://github.com/mgorny/smart-live-rebuild/"
|
||||
SRC_URI="https://github.com/mgorny/smart-live-rebuild/releases/download/v${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm ~mips x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-portage/gentoopm-0.2.1[${PYTHON_USEDEP}]"
|
||||
|
||||
# Tests need to be fixed
|
||||
RESTRICT=test
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
insinto /etc/portage
|
||||
newins smart-live-rebuild.conf{.example,}
|
||||
insinto /usr/share/portage/config/sets
|
||||
newins sets.conf.example smart-live-rebuild.conf
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST unsymlink-lib-12.tar.gz 8689 BLAKE2B 3c170886bfa3980ef0d51be1e3636afcd700aad94514a2783a1bf221970022fb4812640ac0c2f54e6b0d3b93244a64221b092768425faa1ddcfdc21ba76d9cd1 SHA512 e964cf8dae4107cbe0f5a304e693794d50316b914cca6cdf068ac3e715c8a6fab44d96ec38bd34e5c4f65dd169629bcaca3a0b6ce3256c3d40dbff69dac56fe5
|
||||
DIST unsymlink-lib-13.tar.gz 8736 BLAKE2B 5b44112299232185f3f7a5d88057caa7e9161ca03a3e79bebd9dbf70a61ddde255d3a24679b9004cc572fedcfc24ffeb42693319e5dfa1f8371f8fed1408b15d SHA512 c87676b80259f2a20fde257e2b090380c3b04be1542a5a92832487327b8d1eb737059a6e6898f713fa378b792e23d2896280b94cb00d7961a0beba81cd6b3bd2
|
||||
|
@ -1,28 +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,5,6}} )
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="Convert your system to SYMLINK_LIB=no"
|
||||
HOMEPAGE="https://github.com/mgorny/unsymlink-lib"
|
||||
SRC_URI="https://github.com/mgorny/unsymlink-lib/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
IUSE=""
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
|| (
|
||||
sys-apps/portage[${PYTHON_USEDEP}]
|
||||
sys-apps/portage-mgorny[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
src_install() {
|
||||
python_doscript unsymlink-lib
|
||||
dodoc README
|
||||
}
|
Binary file not shown.
@ -0,0 +1,211 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic prefix
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit git-r3 autotools
|
||||
EGIT_REPO_URI="https://git.code.sf.net/p/zsh/code"
|
||||
else
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
SRC_URI="https://www.zsh.org/pub/${P}.tar.xz
|
||||
doc? ( https://www.zsh.org/pub/${P}-doc.tar.xz )"
|
||||
fi
|
||||
|
||||
DESCRIPTION="UNIX Shell similar to the Korn shell"
|
||||
HOMEPAGE="https://www.zsh.org/"
|
||||
|
||||
LICENSE="ZSH gdbm? ( GPL-2 )"
|
||||
SLOT="0"
|
||||
IUSE="caps debug doc examples gdbm maildir pcre static unicode"
|
||||
|
||||
RDEPEND="
|
||||
>=sys-libs/ncurses-5.1:0=
|
||||
static? ( >=sys-libs/ncurses-5.7-r4:0=[static-libs] )
|
||||
caps? ( sys-libs/libcap )
|
||||
pcre? (
|
||||
>=dev-libs/libpcre-3.9
|
||||
static? ( >=dev-libs/libpcre-3.9[static-libs] )
|
||||
)
|
||||
gdbm? ( sys-libs/gdbm:= )
|
||||
!<sys-apps/baselayout-2.4.1
|
||||
"
|
||||
DEPEND="sys-apps/groff
|
||||
${RDEPEND}"
|
||||
PDEPEND="
|
||||
examples? ( app-doc/zsh-lovers )
|
||||
"
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
DEPEND+=" app-text/yodl
|
||||
doc? (
|
||||
sys-apps/texinfo
|
||||
app-text/texi2html
|
||||
virtual/latex-base
|
||||
)"
|
||||
fi
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]]; then
|
||||
# fix zshall problem with soelim
|
||||
ln -s Doc man1 || die
|
||||
mv Doc/zshall.1 Doc/zshall.1.soelim || die
|
||||
soelim Doc/zshall.1.soelim > Doc/zshall.1 || die
|
||||
|
||||
# add openrc specific options for init.d completion
|
||||
eapply "${FILESDIR}"/${PN}-5.3-init.d-gentoo.diff
|
||||
fi
|
||||
|
||||
eapply_user
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
sed -i "/^VERSION=/s/=.*/=${PV}/" Config/version.mk || die
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--bindir="${EPREFIX}"/bin
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir)
|
||||
--enable-etcdir="${EPREFIX}"/etc/zsh
|
||||
--enable-runhelpdir="${EPREFIX}"/usr/share/zsh/${PV%_*}/help
|
||||
--enable-fndir="${EPREFIX}"/usr/share/zsh/${PV%_*}/functions
|
||||
--enable-site-fndir="${EPREFIX}"/usr/share/zsh/site-functions
|
||||
--enable-function-subdirs
|
||||
--with-tcsetpgrp
|
||||
$(use_enable maildir maildir-support)
|
||||
$(use_enable pcre)
|
||||
$(use_enable caps cap)
|
||||
$(use_enable unicode multibyte)
|
||||
$(use_enable gdbm)
|
||||
)
|
||||
|
||||
if use static ; then
|
||||
myconf+=( --disable-dynamic )
|
||||
append-ldflags -static
|
||||
fi
|
||||
if use debug ; then
|
||||
myconf+=(
|
||||
--enable-zsh-debug
|
||||
--enable-zsh-mem-debug
|
||||
--enable-zsh-mem-warning
|
||||
--enable-zsh-secure-free
|
||||
--enable-zsh-hash-debug
|
||||
)
|
||||
fi
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
myconf+=( --enable-libs=-liconv )
|
||||
append-ldflags -Wl,-x
|
||||
fi
|
||||
|
||||
econf "${myconf[@]}"
|
||||
|
||||
if use static ; then
|
||||
# compile all modules statically, see Bug #27392
|
||||
# removed cap and curses because linking failes
|
||||
sed -e "s,link=no,link=static,g" \
|
||||
-e "/^name=zsh\/cap/s,link=static,link=no," \
|
||||
-e "/^name=zsh\/curses/s,link=static,link=no," \
|
||||
-i "${S}"/config.modules || die
|
||||
if ! use gdbm ; then
|
||||
sed -i '/^name=zsh\/db\/gdbm/s,link=static,link=no,' \
|
||||
"${S}"/config.modules || die
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if [[ ${PV} == 9999* ]] && use doc ; then
|
||||
emake -C Doc everything
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
addpredict /dev/ptmx
|
||||
local i
|
||||
for i in C02cond.ztst V08zpty.ztst X02zlevi.ztst Y01completion.ztst Y02compmatch.ztst Y03arguments.ztst ; do
|
||||
rm "${S}"/Test/${i} || die
|
||||
done
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install $(usex doc "install.info" "")
|
||||
|
||||
insinto /etc/zsh
|
||||
export PREFIX_QUOTE_CHAR='"' PREFIX_EXTRA_REGEX="/EUID/s,0,${EUID},"
|
||||
newins "$(prefixify_ro "${FILESDIR}"/zprofile-4)" zprofile
|
||||
|
||||
keepdir /usr/share/zsh/site-functions
|
||||
insinto /usr/share/zsh/${PV%_*}/functions/Prompts
|
||||
newins "${FILESDIR}"/prompt_gentoo_setup-1 prompt_gentoo_setup
|
||||
|
||||
local i
|
||||
|
||||
# install miscellaneous scripts (bug #54520)
|
||||
sed -e "s:/usr/local/bin/perl:${EPREFIX}/usr/bin/perl:g" \
|
||||
-e "s:/usr/local/bin/zsh:${EPREFIX}/bin/zsh:g" \
|
||||
-i {Util,Misc}/* || die
|
||||
for i in Util Misc ; do
|
||||
insinto /usr/share/zsh/${PV%_*}/${i}
|
||||
doins ${i}/*
|
||||
done
|
||||
|
||||
# install header files (bug #538684)
|
||||
insinto /usr/include/zsh
|
||||
doins config.h Src/*.epro
|
||||
for i in Src/{zsh.mdh,*.h} ; do
|
||||
sed -e 's@\.\./config\.h@config.h@' \
|
||||
-e 's@#\(\s*\)include "\([^"]\+\)"@#\1include <zsh/\2>@' \
|
||||
-i "${i}"
|
||||
doins "${i}"
|
||||
done
|
||||
|
||||
dodoc ChangeLog* META-FAQ NEWS README config.modules
|
||||
|
||||
if use doc ; then
|
||||
pushd "${WORKDIR}/${PN}-${PV%_*}" >/dev/null
|
||||
docinto html
|
||||
dodoc Doc/*.html
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins Doc/zsh.{dvi,pdf}
|
||||
popd >/dev/null
|
||||
fi
|
||||
|
||||
docinto StartupFiles
|
||||
dodoc StartupFiles/z*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
echo
|
||||
elog "If you want to enable Portage completions and Gentoo prompt,"
|
||||
elog "emerge app-shells/gentoo-zsh-completions and add"
|
||||
elog " autoload -U compinit promptinit"
|
||||
elog " compinit"
|
||||
elog " promptinit; prompt gentoo"
|
||||
elog "to your ~/.zshrc"
|
||||
echo
|
||||
elog "Also, if you want to enable cache for the completions, add"
|
||||
elog " zstyle ':completion::complete:*' use-cache 1"
|
||||
elog "to your ~/.zshrc"
|
||||
echo
|
||||
elog "Note that a system zprofile startup file is installed. This will override"
|
||||
elog "PATH and possibly other variables that a user may set in ~/.zshenv."
|
||||
elog "Custom PATH settings and similar overridden variables can be moved to ~/.zprofile"
|
||||
elog "or other user startup files that are sourced after the system zprofile."
|
||||
echo
|
||||
elog "If PATH must be set in ~/.zshenv to affect things like non-login ssh shells,"
|
||||
elog "one method is to use a separate path-setting file that is conditionally sourced"
|
||||
elog "in ~/.zshenv and also sourced from ~/.zprofile. For more information, see the"
|
||||
elog "zshenv example in ${EROOT}/usr/share/doc/${PF}/StartupFiles/."
|
||||
echo
|
||||
elog "See https://wiki.gentoo.org/wiki/Zsh/HOWTO for more introduction documentation."
|
||||
echo
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Recodes HTML file using a new character set"
|
||||
HOMEPAGE="https://bisqwit.iki.fi/source/htmlrecode.html"
|
||||
SRC_URI="https://bisqwit.iki.fi/src/arch/${P}.tar.bz2"
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=sys-apps/sed-4"
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-ar.patch"
|
||||
touch .depend argh/.depend
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local makeopts=(
|
||||
AR="$(tc-getAR)"
|
||||
CPPDEBUG=
|
||||
CXX="$(tc-getCXX)"
|
||||
CXXFLAGS="${CXXFLAGS}"
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
)
|
||||
emake "${makeopts[@]}" -C argh libargh.a
|
||||
emake "${makeopts[@]}" htmlrecode
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin htmlrecode
|
||||
dohtml README.html
|
||||
}
|
Binary file not shown.
@ -1,3 +1,2 @@
|
||||
DIST mycli-1.10.0.tar.gz 272722 BLAKE2B f2a4d7b76684718167fb6bb4f90a96a31b669cf1f35c266ed544d00b4fe4f9b0cb2c6d81e161d41f1df785e2dcf79056a675857f8400d8cd7811199ea00064b7 SHA512 d66866fd23ee2be3f1bb47d1414b8151c2b50e8844a2553e139f753ae55dd010d1c23aae7c5863891ea4f347b124145405dc7894efc27fc8fcb74127c14261f8
|
||||
DIST mycli-1.15.0.tar.gz 275065 BLAKE2B 47ae049a7a669d18fc2bb467dd4ee6d1bbe23a86115db6d1965c48c93a2a1be9bb8b4427b377f8ce935b957c854c1c4bf4a87fdea07f27329a13fd6a28b59559 SHA512 7a7d98220c4a679340dbf3c3c9fb3eaab7698f7abbe3e62835a03df10b59c79f0dfd916e9f7b39f12215063849ecadf9d08d086d14b00666b67bac1d092609f2
|
||||
DIST mycli-1.7.1.tar.gz 266597 BLAKE2B 8fc6006dbb85a7053d67040d492ba12619507160efd240fdb89125794a01fbb439756bdeb420c306a883db925f6ec7ae0c36657c4c4b2197cfb702fc77babcb1 SHA512 5c61fe67f3205dd1123ed8d38441cda0574db04dd46b7e075d216f7aa8cd856a2f06a1b4bf7dbe9fd0b07f3e91c151fe3f885d10d3db488b6c306e0ce9ac9e7c
|
||||
DIST mycli-1.17.0.tar.gz 276786 BLAKE2B 203c54b58a7876fd0bab5a05880621263e5cdf786b13207f04dfaf38866f5a7250e8fe8e1c5870aa9d3f562cf9963f15cc433e3ddd2232531f4c823e46778ac7 SHA512 bd64f44ed7b16a1e9c684da52fa60436876b26333e2705e5226c4fab3a979c6680314447333d01e4fdb274d33a7f093cbb2f732e5b4e04c5330066f9918a35ba
|
||||
|
@ -1,26 +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 distutils-r1
|
||||
|
||||
DESCRIPTION="CLI for MySQL Database with auto-completion and syntax highlighting"
|
||||
|
||||
HOMEPAGE="https://www.mycli.net"
|
||||
SRC_URI="https://github.com/dbcli/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="BSD MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="
|
||||
>=dev-python/click-4.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/configobj-5.0.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/prompt_toolkit-1.0.10[${PYTHON_USEDEP}]
|
||||
dev-python/pycryptodome[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygments-2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pymysql-0.6.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-sqlparse-0.1.19[${PYTHON_USEDEP}]
|
||||
"
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="CLI for MySQL Database with auto-completion and syntax highlighting"
|
||||
|
||||
HOMEPAGE="https://www.mycli.net"
|
||||
SRC_URI="https://github.com/dbcli/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="BSD MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RDEPEND="
|
||||
>=dev-python/cli_helpers-1.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/click-4.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/configobj-5.0.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/prompt_toolkit-1.0.10[${PYTHON_USEDEP}]
|
||||
!>=dev-python/prompt_toolkit-1.1.0
|
||||
>=dev-python/pygments-2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pymysql-0.9.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-sqlparse-0.2.2[${PYTHON_USEDEP}]
|
||||
!>=dev-python/python-sqlparse-0.3.0
|
||||
"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] ${RDEPEND} )"
|
||||
|
||||
python_test() {
|
||||
pytest --capture=sys \
|
||||
--showlocals \
|
||||
--doctest-modules \
|
||||
--doctest-ignore-import-errors \
|
||||
--ignore=setup.py \
|
||||
--ignore=mycli/magic.py \
|
||||
--ignore=mycli/packages/parseutils.py \
|
||||
--ignore=test/features
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="CLI for MySQL Database with auto-completion and syntax highlighting"
|
||||
|
||||
HOMEPAGE="https://www.mycli.net"
|
||||
SRC_URI="https://github.com/dbcli/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="BSD MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="
|
||||
>=dev-python/click-4.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/configobj-5.0.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/prompt_toolkit-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycrypto-2.6.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygments-2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pymysql-0.6.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-sqlparse-0.1.19[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
rm mycli/packages/counter.py || die "Could not remove python 2.6 counter.py"
|
||||
distutils-r1_src_prepare
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST pgbadger-10.0.tar.gz 775322 BLAKE2B 072a3b4c2d2d109734fdbf68ff466e34065a852948ae7961e8ba6a40a6881a98653258ee7b483c2a3c9d2d8238370fd842c9b525a0dd11baf1fbf98a0d322406 SHA512 dd1633f1186069a9d59d271cbf0913cf80bcfa88af8236a194f7580c96c84a3513ca0658628069b38ef43a9c9ca7c5573afb2b35e2b1b6d3526f240c2c673bff
|
||||
DIST pgbadger-9.2.tar.gz 745128 BLAKE2B 63e7d60992e903a136d4f91422a378a6adc5c0477e69ae1cae3d4c1940dc02517f0b6f16d0fa7c5fe0ea365851807dc800bfaef0e95c546d6c4eb4afe0e2d09d SHA512 c99636fc03e3e1c1cf4c8c034e58e2152ec1118954d4fd9bdfa782d7781eee308cdd7450c0bcca6f5936c173b3780c9362fccc8cf79f5b0fffc895f73a322c9e
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="pgBadger is a PostgreSQL log analyzer."
|
||||
HOMEPAGE="http://dalibo.github.io/pgbadger/"
|
||||
SRC_URI="https://github.com/darold/pgbadger/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-perl/JSON-XS
|
||||
dev-perl/Text-CSV_XS
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST pcfi-2010.08.09.jar 6731455 BLAKE2B 438dda63e91494231fba890d995227e7c6428b25a698ad5905a7ca0f2a29f511ff4cc34136c96c878ca04ec7630a062bbff3bbf0400a332b4edb6a6972175920 SHA512 067394ddac4a48ba8ac94b03f907d0faf98a91be658689a34eb85fdce49515582426f6a1fa433bfa87ca417ce3a6fa3aa89d89126a36176d8e04f3359c36d10b
|
||||
DIST pdfbox-1.8.11-src.zip 11026359 BLAKE2B b3eb1add38e9bd0e5a1fcb116263fdbc372d6adb77132aeb0647a6c5d2c2b735345220f0a5c22caa97d04f78ad6517df388327aaa625677bd8c99d2051329a9c SHA512 05c8e5075379ed5ebb09555b39434dd936fce9dd24445871d24ea7f0f6afa49e74242bf0c9eba2d1a847b505143789b687dd039ca51ce76851132f2f18d434d1
|
||||
DIST pdfbox-1.8.15-src.zip 11078696 BLAKE2B e468a1c263007484d47861945b50a8b0c9afed2d792619a49f41e57b313d86f4e04d317d1b75406876592d755958771c0468446eb23fe3b26ff529e07d467ffb SHA512 ac3f4b131f5cd2153ec2a744c486db921bc2165d596b243ad673cfc94be1bc4ae27bdf2981b63419fead18db569a2008264d6fdc7c89cf47f69f81c4a7d3a2a6
|
||||
|
@ -0,0 +1,78 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
BC_SLOT="1.45"
|
||||
ADOBE_FILES="pcfi-2010.08.09.jar"
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Java library and utilities for working with PDF documents"
|
||||
HOMEPAGE="https://pdfbox.apache.org/"
|
||||
SRC_URI="mirror://apache/${PN}/${PV}/${P}-src.zip
|
||||
http://repo2.maven.org/maven2/com/adobe/pdf/pcfi/2010.08.09/${ADOBE_FILES}"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="1.8"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="test" # Explosive even when manually using unmodified build.xml.
|
||||
|
||||
CDEPEND="dev-java/fontbox:${SLOT}
|
||||
dev-java/jempbox:${SLOT}
|
||||
dev-java/bcmail:${BC_SLOT}
|
||||
dev-java/bcprov:${BC_SLOT}
|
||||
>=dev-java/commons-logging-1.1.1:0
|
||||
dev-java/icu4j:55"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
>=virtual/jre-1.6"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
>=virtual/jdk-1.6
|
||||
app-arch/unzip
|
||||
test? ( dev-java/junit:4 )"
|
||||
|
||||
S="${WORKDIR}/${P}/${PN}"
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
JAVA_ENCODING="ISO-8859-1"
|
||||
JAVA_GENTOO_CLASSPATH="fontbox-${SLOT},jempbox-${SLOT},bcmail-${BC_SLOT},bcprov-${BC_SLOT},commons-logging,icu4j-55"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}-src.zip
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local DIR=target/classes/org/apache/${PN}/resources
|
||||
mkdir -p "${DIR}/afm" || die
|
||||
|
||||
unzip -j -d "${DIR}" "${DISTDIR}/${ADOBE_FILES}" com/adobe/pdf/pcfi/glyphlist.txt || die
|
||||
unzip -j -d "${DIR}/afm" "${DISTDIR}/${ADOBE_FILES}" com/adobe/pdf/pcfi/afm/*.afm || die
|
||||
|
||||
echo "${PN}.version=${PV}" > ${DIR}/${PN}.version || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
java-pkg-simple_src_compile
|
||||
java-pkg_addres ${PN}.jar src/main/resources
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
java-pkg_dolauncher ${PN} --main org.apache.${PN}.PDFBox
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local DIR=src/test/java
|
||||
local CP="${DIR}:${PN}.jar:$(java-pkg_getjars junit-4,${JAVA_GENTOO_CLASSPATH})"
|
||||
local TESTS=$(find ${DIR} -name "*Test.java")
|
||||
TESTS="${TESTS//src\/test\/java\/}"
|
||||
TESTS="${TESTS//.java}"
|
||||
TESTS="${TESTS//\//.}"
|
||||
|
||||
ejavac -encoding ${JAVA_ENCODING} -cp "${CP}" -d ${DIR} $(find ${DIR} -name "*.java")
|
||||
ejunit4 -classpath "${CP}" ${TESTS}
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST gobject-introspection-1.50.0.tar.xz 1415700 BLAKE2B 7707d0affc35e60d272312debd429a96a578cc6ea4e889244a0a1dc34f23e3b686cea06076427575fa620f570141e173990ed12649cb669808141dab1fdffb19 SHA512 cb108cf3d49743e1686fe4ae99f2360799bc8825ad97bf0b97e097b3f89e2771079593de0f497a9e5b9cff892f6fbf870834a6c4d13f11bcde99162e9388ecfa
|
||||
DIST gobject-introspection-1.52.1.tar.xz 1384292 BLAKE2B e1176bff177d7b6deee3e93159425a176d8056fbac2af5038950b7bc4486785ca988fc4c8c4d6a069b2bf623092e57f096aea37bbb9a767adaa695ec8f0db4e6 SHA512 878653ffa80c064c73453ea2878a977e52f0d6a0b2123bee8c3429379366f9da3e9fd991fad0dda170d74e4241314ea6c5120f5988e68fad4bfe9c333d11389f
|
||||
DIST gobject-introspection-1.56.1.tar.xz 1397812 BLAKE2B 070597f3bd6e4e58d1ae1964cf6e8d7881daa68aeeddc5e9b64bc410fad6d435f2041171f4dfc2a6b477d39f2d7e9181b9917d1244fcb45b3a37491726381649 SHA512 2bfcd45b8c5ad68a3f6550c2f80a6804db0e1a72ffaf4fdd3cec3d8acc23e79ad14bb5bf612fe26fc896691839ab19ca8dd1c9994db14d730e56fa79df9d973d
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
GNOME_ORG_MODULE="gobject-introspection"
|
||||
|
||||
inherit gnome.org
|
||||
|
||||
DESCRIPTION="Build infrastructure for GObject Introspection"
|
||||
HOMEPAGE="https://wiki.gnome.org/Projects/GObjectIntrospection"
|
||||
|
||||
LICENSE="HPND"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!<${CATEGORY}/${PN/-common}-${PV}"
|
||||
# Use !<${PV} because mixing gobject-introspection with different version of -common can cause issues like:
|
||||
# https://forums.gentoo.org/viewtopic-p-7421930.html
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
dodir /usr/share/aclocal
|
||||
insinto /usr/share/aclocal
|
||||
doins m4/introspection.m4
|
||||
|
||||
dodir /usr/share/gobject-introspection-1.0
|
||||
insinto /usr/share/gobject-introspection-1.0
|
||||
doins Makefile.introspection
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST gobject-introspection-1.50.0.tar.xz 1415700 BLAKE2B 7707d0affc35e60d272312debd429a96a578cc6ea4e889244a0a1dc34f23e3b686cea06076427575fa620f570141e173990ed12649cb669808141dab1fdffb19 SHA512 cb108cf3d49743e1686fe4ae99f2360799bc8825ad97bf0b97e097b3f89e2771079593de0f497a9e5b9cff892f6fbf870834a6c4d13f11bcde99162e9388ecfa
|
||||
DIST gobject-introspection-1.52.1.tar.xz 1384292 BLAKE2B e1176bff177d7b6deee3e93159425a176d8056fbac2af5038950b7bc4486785ca988fc4c8c4d6a069b2bf623092e57f096aea37bbb9a767adaa695ec8f0db4e6 SHA512 878653ffa80c064c73453ea2878a977e52f0d6a0b2123bee8c3429379366f9da3e9fd991fad0dda170d74e4241314ea6c5120f5988e68fad4bfe9c333d11389f
|
||||
DIST gobject-introspection-1.56.1.tar.xz 1397812 BLAKE2B 070597f3bd6e4e58d1ae1964cf6e8d7881daa68aeeddc5e9b64bc410fad6d435f2041171f4dfc2a6b477d39f2d7e9181b9917d1244fcb45b3a37491726381649 SHA512 2bfcd45b8c5ad68a3f6550c2f80a6804db0e1a72ffaf4fdd3cec3d8acc23e79ad14bb5bf612fe26fc896691839ab19ca8dd1c9994db14d730e56fa79df9d973d
|
||||
|
@ -0,0 +1,71 @@
|
||||
# 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,3_7} )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit gnome2 python-single-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="Introspection system for GObject-based libraries"
|
||||
HOMEPAGE="https://wiki.gnome.org/Projects/GObjectIntrospection"
|
||||
|
||||
LICENSE="LGPL-2+ GPL-2+"
|
||||
SLOT="0"
|
||||
IUSE="cairo doctool test"
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
test? ( cairo )
|
||||
"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
# virtual/pkgconfig needed at runtime, bug #505408
|
||||
# We force glib and g-i to be in sync by this way as explained in bug #518424
|
||||
RDEPEND="
|
||||
>=dev-libs/gobject-introspection-common-${PV}
|
||||
>=dev-libs/glib-2.56.1:2
|
||||
doctool? ( dev-python/mako[${PYTHON_USEDEP}] )
|
||||
virtual/libffi:=
|
||||
virtual/pkgconfig
|
||||
!<dev-lang/vala-0.20.0
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
# Wants real bison, not virtual/yacc
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/gtk-doc-am-1.19
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
test? ( x11-libs/cairo[glib] )
|
||||
"
|
||||
# PDEPEND to avoid circular dependencies, bug #391213; but needed for tests, thus test DEPEND as well
|
||||
PDEPEND="cairo? ( x11-libs/cairo[glib] )"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if ! has_version "x11-libs/cairo[glib]"; then
|
||||
# Bug #391213: enable cairo-gobject support even if it's not installed
|
||||
# We only PDEPEND on cairo to avoid circular dependencies
|
||||
export CAIRO_LIBS="-lcairo -lcairo-gobject"
|
||||
export CAIRO_CFLAGS="-I${EPREFIX}/usr/include/cairo"
|
||||
fi
|
||||
|
||||
# To prevent crosscompiling problems, bug #414105
|
||||
gnome2_src_configure \
|
||||
--disable-static \
|
||||
CC="$(tc-getCC)" \
|
||||
YACC="$(type -p yacc)" \
|
||||
$(use_with cairo) \
|
||||
$(use_enable doctool)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
|
||||
# Prevent collision with gobject-introspection-common
|
||||
rm -v "${ED}"usr/share/aclocal/introspection.m4 \
|
||||
"${ED}"usr/share/gobject-introspection-1.0/Makefile.introspection || die
|
||||
rmdir "${ED}"usr/share/aclocal || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST libinput-1.10.7.tar.xz 494648 BLAKE2B ddcbe5f54b90f8291c16e5912fa3d673fb2c66f0247c9d771f7c2dfeeef9b51404f31d7ac99cfd20b37e1d01d6b2b3bc95155ab6581c6a94e922e153d9098892 SHA512 b102b8065ceed7511ad26efba34d5d9b0c13f0f7aaa882bb21501f7a5166f4cbe140fcbb488e90e6880bd47bb2b27667a4d6aa79b8726269fa1337897034a684
|
||||
DIST libinput-1.11.3.tar.xz 487408 BLAKE2B 38dc14cf018ca59279e8b6e85fd91f4b29545b4a55ab968cb11d9a8afc8d80c311efc6e57339b9baa9fb270f52cfb0758ff8ea313991867c35f3da47910977ac SHA512 5e18daab6202bcbfddeebc35dac4cabb5f726b5b73f5fc87975b58f3019a54a4b1f506a3200e920638ddddfb978a0b96c23c2e90b081942f86d33c16d4836949
|
||||
DIST libinput-1.12.0.tar.xz 519320 BLAKE2B b40036740350180ca0e183088651647e3604bca236ab27c99a941934b27ed67a21d8596be9baab68dd798dea9c5967cca3a038623ba2870dc2ad3db8336e0b96 SHA512 4aee877785f9ac080e4f8ee20f3643bc4f3ddbc568aca6c363a962f8c8f76b8db7dc113c8167092f0277d112346a85b9a7e7c3c3f227ed243aaba32c9092c924
|
||||
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit meson udev
|
||||
|
||||
DESCRIPTION="Library to handle input devices in Wayland"
|
||||
HOMEPAGE="https://www.freedesktop.org/wiki/Software/libinput/"
|
||||
SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/10"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="doc input_devices_wacom"
|
||||
# Tests require write access to udev rules directory which is a no-no for live system.
|
||||
# Other tests are just about logs, exported symbols and autotest of the test library.
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
input_devices_wacom? ( >=dev-libs/libwacom-0.20 )
|
||||
>=dev-libs/libevdev-1.3
|
||||
>=sys-libs/mtdev-1.1
|
||||
virtual/libudev:=
|
||||
virtual/udev
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
>=app-doc/doxygen-1.8.3
|
||||
>=media-gfx/graphviz-2.38.0
|
||||
)
|
||||
"
|
||||
# test? (
|
||||
# >=dev-libs/check-0.9.10
|
||||
# dev-util/valgrind
|
||||
# sys-libs/libunwind )
|
||||
|
||||
src_configure() {
|
||||
# gui can be built but will not be installed
|
||||
local emesonargs=(
|
||||
-Ddebug-gui=false
|
||||
$(meson_use doc documentation)
|
||||
$(meson_use input_devices_wacom libwacom)
|
||||
-Dtests=false # tests are restricted
|
||||
-Dudev-dir="$(get_udevdir)"
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
if use doc ; then
|
||||
docinto html
|
||||
dodoc -r "${BUILD_DIR}"/html/.
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
udevadm hwdb --update --root="${ROOT%/}"
|
||||
}
|
@ -1,244 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit flag-o-matic toolchain-funcs multilib multilib-minimal
|
||||
|
||||
MY_P=${P/_/-}
|
||||
DESCRIPTION="full-strength general purpose cryptography library (including SSL and TLS)"
|
||||
HOMEPAGE="https://www.openssl.org/"
|
||||
SRC_URI="mirror://openssl/source/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="openssl"
|
||||
SLOT="0/1.1" # .so version of libssl/libcrypto
|
||||
[[ "${PV}" = *_pre* ]] || \
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-linux"
|
||||
IUSE="+asm bindist elibc_musl rfc3779 sctp cpu_flags_x86_sse2 sslv3 static-libs test tls-heartbeat vanilla zlib"
|
||||
RESTRICT="!bindist? ( bindist )"
|
||||
|
||||
RDEPEND=">=app-misc/c_rehash-1.7-r1
|
||||
zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-lang/perl-5
|
||||
sctp? ( >=net-misc/lksctp-tools-1.0.12 )
|
||||
test? (
|
||||
sys-apps/diffutils
|
||||
sys-devel/bc
|
||||
)"
|
||||
PDEPEND="app-misc/ca-certificates"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
usr/include/openssl/opensslconf.h
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.0.2a-x32-asm.patch #542618
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# keep this in sync with app-misc/c_rehash
|
||||
SSL_CNF_DIR="/etc/ssl"
|
||||
|
||||
# Make sure we only ever touch Makefile.org and avoid patching a file
|
||||
# that gets blown away anyways by the Configure script in src_configure
|
||||
rm -f Makefile
|
||||
|
||||
if ! use vanilla ; then
|
||||
eapply "${PATCHES[@]}"
|
||||
fi
|
||||
|
||||
eapply_user #332661
|
||||
|
||||
# make sure the man pages are suffixed #302165
|
||||
# don't bother building man pages if they're disabled
|
||||
# Make DOCDIR Gentoo compliant
|
||||
sed -i \
|
||||
-e '/^MANSUFFIX/s:=.*:=ssl:' \
|
||||
-e '/^MAKEDEPPROG/s:=.*:=$(CC):' \
|
||||
-e $(has noman FEATURES \
|
||||
&& echo '/^install:/s:install_docs::' \
|
||||
|| echo '/^MANDIR=/s:=.*:='${EPREFIX}'/usr/share/man:') \
|
||||
-e "/^DOCDIR/s@\$(BASENAME)@&-${PF}@" \
|
||||
Configurations/unix-Makefile.tmpl \
|
||||
|| die
|
||||
|
||||
# quiet out unknown driver argument warnings since openssl
|
||||
# doesn't have well-split CFLAGS and we're making it even worse
|
||||
# and 'make depend' uses -Werror for added fun (#417795 again)
|
||||
[[ ${CC} == *clang* ]] && append-flags -Qunused-arguments
|
||||
|
||||
# allow openssl to be cross-compiled
|
||||
cp "${FILESDIR}"/gentoo.config-1.0.2 gentoo.config || die
|
||||
chmod a+rx gentoo.config || die
|
||||
|
||||
append-flags -fno-strict-aliasing
|
||||
append-flags $(test-flags-CC -Wa,--noexecstack)
|
||||
append-cppflags -DOPENSSL_NO_BUF_FREELISTS
|
||||
|
||||
# Prefixify Configure shebang (#141906)
|
||||
sed \
|
||||
-e "1s,/usr/bin/env,${EPREFIX}&," \
|
||||
-i Configure || die
|
||||
# Remove test target when FEATURES=test isn't set
|
||||
if ! use test ; then
|
||||
sed \
|
||||
-e '/^$config{dirs}/s@ "test",@@' \
|
||||
-i Configure || die
|
||||
fi
|
||||
# The config script does stupid stuff to prompt the user. Kill it.
|
||||
sed -i '/stty -icanon min 0 time 50; read waste/d' config || die
|
||||
./config --test-sanity || die "I AM NOT SANE"
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
unset APPS #197996
|
||||
unset SCRIPTS #312551
|
||||
unset CROSS_COMPILE #311473
|
||||
|
||||
tc-export CC AR RANLIB RC
|
||||
|
||||
# Clean out patent-or-otherwise-encumbered code
|
||||
# Camellia: Royalty Free https://en.wikipedia.org/wiki/Camellia_(cipher)
|
||||
# IDEA: Expired https://en.wikipedia.org/wiki/International_Data_Encryption_Algorithm
|
||||
# EC: ????????? ??/??/2015 https://en.wikipedia.org/wiki/Elliptic_Curve_Cryptography
|
||||
# MDC2: Expired https://en.wikipedia.org/wiki/MDC-2
|
||||
# RC5: Expired https://en.wikipedia.org/wiki/RC5
|
||||
|
||||
use_ssl() { usex $1 "enable-${2:-$1}" "no-${2:-$1}" " ${*:3}" ; }
|
||||
echoit() { echo "$@" ; "$@" ; }
|
||||
|
||||
local krb5=$(has_version app-crypt/mit-krb5 && echo "MIT" || echo "Heimdal")
|
||||
|
||||
# See if our toolchain supports __uint128_t. If so, it's 64bit
|
||||
# friendly and can use the nicely optimized code paths. #460790
|
||||
local ec_nistp_64_gcc_128
|
||||
# Disable it for now though #469976
|
||||
#if ! use bindist ; then
|
||||
# echo "__uint128_t i;" > "${T}"/128.c
|
||||
# if ${CC} ${CFLAGS} -c "${T}"/128.c -o /dev/null >&/dev/null ; then
|
||||
# ec_nistp_64_gcc_128="enable-ec_nistp_64_gcc_128"
|
||||
# fi
|
||||
#fi
|
||||
|
||||
local sslout=$(./gentoo.config)
|
||||
einfo "Use configuration ${sslout:-(openssl knows best)}"
|
||||
local config="Configure"
|
||||
[[ -z ${sslout} ]] && config="config"
|
||||
|
||||
# 'srp' was restricted until early 2017 as well.
|
||||
# "disable-deprecated" option breaks too many consumers.
|
||||
# Don't set it without thorough revdeps testing.
|
||||
echoit \
|
||||
./${config} \
|
||||
${sslout} \
|
||||
$(use cpu_flags_x86_sse2 || echo "no-sse2") \
|
||||
enable-camellia \
|
||||
$(use_ssl !bindist ec) \
|
||||
$(use_ssl !bindist srp) \
|
||||
$(use elibc_musl && echo "no-async") \
|
||||
${ec_nistp_64_gcc_128} \
|
||||
enable-idea \
|
||||
enable-mdc2 \
|
||||
enable-rc5 \
|
||||
$(use_ssl sslv3 ssl3) \
|
||||
$(use_ssl sslv3 ssl3-method) \
|
||||
$(use_ssl asm) \
|
||||
$(use_ssl rfc3779) \
|
||||
$(use_ssl sctp) \
|
||||
$(use_ssl tls-heartbeat heartbeats) \
|
||||
$(use_ssl zlib) \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--openssldir="${EPREFIX}"${SSL_CNF_DIR} \
|
||||
--libdir=$(get_libdir) \
|
||||
shared threads \
|
||||
|| die
|
||||
|
||||
# Clean out hardcoded flags that openssl uses
|
||||
# Fix quoting for sed
|
||||
local DEFAULT_CFLAGS=$(grep ^CFLAGS= Makefile | LC_ALL=C sed \
|
||||
-e 's:^CFLAGS=::' \
|
||||
-e 's:-fomit-frame-pointer ::g' \
|
||||
-e 's:-O[0-9] ::g' \
|
||||
-e 's:-march=[-a-z0-9]* ::g' \
|
||||
-e 's:-mcpu=[-a-z0-9]* ::g' \
|
||||
-e 's:-m[a-z0-9]* ::g' \
|
||||
-e 's:\\:\\\\:g' \
|
||||
)
|
||||
sed -i \
|
||||
-e "/^CFLAGS=/s|=.*|=${DEFAULT_CFLAGS} ${CFLAGS}|" \
|
||||
-e "/^LDFLAGS=/s|=[[:space:]]*$|=${LDFLAGS}|" \
|
||||
Makefile || die
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
# depend is needed to use $confopts; it also doesn't matter
|
||||
# that it's -j1 as the code itself serializes subdirs
|
||||
emake -j1 depend
|
||||
emake all
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
emake -j1 test
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
# openssl installs perl version of c_rehash by default, but
|
||||
# we provide a shell version via app-misc/c_rehash
|
||||
rm "${ED%/}"/usr/bin/c_rehash || die
|
||||
|
||||
dodoc CHANGES* FAQ NEWS README doc/*.txt doc/${PN}-c-indent.el
|
||||
|
||||
# This is crappy in that the static archives are still built even
|
||||
# when USE=static-libs. But this is due to a failing in the openssl
|
||||
# build system: the static archives are built as PIC all the time.
|
||||
# Only way around this would be to manually configure+compile openssl
|
||||
# twice; once with shared lib support enabled and once without.
|
||||
use static-libs || rm -f "${ED%/}"/usr/lib*/lib*.a
|
||||
|
||||
# create the certs directory
|
||||
keepdir ${SSL_CNF_DIR}/certs
|
||||
|
||||
# Namespace openssl programs to prevent conflicts with other man pages
|
||||
cd "${ED%/}"/usr/share/man || die
|
||||
local m d s
|
||||
for m in $(find . -type f | xargs grep -L '#include') ; do
|
||||
d=${m%/*} ; d=${d#./} ; m=${m##*/}
|
||||
[[ ${m} == openssl.1* ]] && continue
|
||||
[[ -n $(find -L ${d} -type l) ]] && die "erp, broken links already!"
|
||||
mv ${d}/{,ssl-}${m}
|
||||
# fix up references to renamed man pages
|
||||
sed -i '/^[.]SH "SEE ALSO"/,/^[.]/s:\([^(, ]*(1)\):ssl-\1:g' ${d}/ssl-${m}
|
||||
ln -s ssl-${m} ${d}/openssl-${m}
|
||||
# locate any symlinks that point to this man page ... we assume
|
||||
# that any broken links are due to the above renaming
|
||||
for s in $(find -L ${d} -type l) ; do
|
||||
s=${s##*/}
|
||||
rm -f ${d}/${s}
|
||||
# We don't want to "|| die" here
|
||||
ln -s ssl-${m} ${d}/ssl-${s}
|
||||
ln -s ssl-${s} ${d}/openssl-${s}
|
||||
done
|
||||
done
|
||||
[[ -n $(find -L ${d} -type l) ]] && die "broken manpage links found :("
|
||||
|
||||
dodir /etc/sandbox.d #254521
|
||||
echo 'SANDBOX_PREDICT="/dev/crypto"' > "${ED%/}"/etc/sandbox.d/10openssl
|
||||
|
||||
diropts -m0700
|
||||
keepdir ${SSL_CNF_DIR}/private
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ebegin "Running 'c_rehash ${EROOT%/}${SSL_CNF_DIR}/certs/' to rebuild hashes #333069"
|
||||
c_rehash "${EROOT%/}${SSL_CNF_DIR}/certs" >/dev/null
|
||||
eend $?
|
||||
}
|
Binary file not shown.
@ -1,4 +1,2 @@
|
||||
DIST PyGithub-1.28.tar.gz 2662625 BLAKE2B 86d972c51be81bd1f52ea18d89d22c207b0327ad9c4cc39da3aa8996ec280a164f270256c87718676d8ed2501c9ff7819a59df1ec9c7ddb5db794d141f0ed103 SHA512 e1d9f6f473d757074220f4ec6a96f0e0a6de89af6436b8f0ab30ed22eb24b0955f0b64e6b25eae36bfe19bce580677552aedc82a7749520c5b1baac03428db7d
|
||||
DIST PyGithub-1.35.tar.gz 2677633 BLAKE2B c034ba44e203bf15c47f54087294295f302ea5deaabcaf09f8420a9b0a7fb51bfd6b2f7b64cf2c25004e146d8208cd0d90d2cb8baf2776de25f23ed15a2e7887 SHA512 d852f459e5514310ac7bbb3cd9742a7269f9ea5c3e0fdfb0f385616fa31d35b72b19f63b650c60241c5e2f29860ddc35caa907a623c661bc77a29dfe4da3613b
|
||||
DIST PyGithub-1.39.tar.gz 2662602 BLAKE2B 5e3e4ca2483e7ade968f170e7615258b4bcca0f1c6741146c38b3c7405fb1fb66351fa5686863892a6751bc4cb6ea39b6cf4ec0d8e6cc878b302c87512c9d159 SHA512 5fa6e5a1b8e7cbe2be13e7f866ce8586f6ba37bfc8f3bfb5a52497a9edc267c14512e4572f56e898c61b8c84dfc8aa8f325c5eb2563e68450b8a3b2acf8308d4
|
||||
DIST PyGithub-1.40a4.tar.gz 2668409 BLAKE2B 5638f228620fc5c6741f79e3272ba374a71b1a0a9fe3d6f0edd45a7b0468fd4ed1a6fe967d37e6169a4cfc90a3f084c948f0d72592cd225569275a3d8ae3546a SHA512 6d832e2a101a80e2b0aec45a99ec2f28d9d64d130bf23f291a643bc8450a86c4ed9296a005de000c975e28d91d52e648937abb09399554b9d17988fd58f280e7
|
||||
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2017 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 distutils-r1
|
||||
|
||||
DESCRIPTION="Python library to access the Github API v3"
|
||||
HOMEPAGE="https://github.com/jacquev6/PyGithub/"
|
||||
# Use github since pypi is missing test data
|
||||
SRC_URI="https://github.com/jacquev6/PyGithub/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2017 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 distutils-r1
|
||||
|
||||
DESCRIPTION="Python library to access the Github API v3"
|
||||
HOMEPAGE="https://github.com/PyGithub/PyGithub/"
|
||||
# Use github since pypi is missing test data
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="dev-python/pyjwt[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST llvmlite-0.20.0.tar.gz 96753 BLAKE2B ec9cfa554f44162c0d6e755628603c9afd85642998f56ed49c2ff29c3ef975ef4ce14c6555382ca282b70d71a1ff7347c0b773b339b14345e10d3b9ac96ac55e SHA512 c2e0918e7acfba68922f60889180ec660da13ea199c9e8dfb3ac075c295baeb8c90784a6acc3c463cdd696f8f61c42226548d38db5bd8c4397a23cfa7c7ff764
|
||||
DIST llvmlite-0.22.0.gh.tar.gz 156077 BLAKE2B 1b95a0636807fcf38955b32bd5c7c19784df2cc6708f23624c047f0e9caf4eb2fc26c7a1cb778d7cc7e42b8aeaee1ed43c92bcdaf7eb2e798c25f692b96b786a SHA512 633ec4d294dc246ebff5c7931e9bea86efa28323242411f3f54bc34c99085ebaef477b5bfd8224080790a12b188308ff9662c284b360e1a2939f4fe9b84a9458
|
||||
DIST llvmlite-0.24.0.gh.tar.gz 169577 BLAKE2B 7fedf8b9ec49f537db27a77c5880fb3bb41d126c615e73a4fd503ff781dcd4745c4f708cccd31d9b5544609ab7821e8ef1299856ef13ec3912ad2341af12a3ce SHA512 14b8918f9f58a88596607e697212aa516a99c65f71257d22f09e6b735f517a38f11142a63bf2e8f117c6ceff97153a5e686fa322d62abd14000db7e9ae136900
|
||||
DIST llvmlite-0.25.0rc1.gh.tar.gz 173302 BLAKE2B 20d5596e4c1b0fad64ae29f8ed4f7541b57668f12058d77595993db9c1adda97da2355a6dee266aa34bee39cddaffb92dcf6b4820afb1619d975f1e4b2331cda SHA512 0252d717f9f59dbf35333f1c207847a7b004e3e8c0094fc0639c64c9d09a90b370c814e219ee949ebecc49c5f2230831d566d00924e610b29674fbed93acc7e5
|
||||
|
@ -0,0 +1,63 @@
|
||||
# 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,3_7} )
|
||||
|
||||
inherit distutils-r1 llvm
|
||||
|
||||
DESCRIPTION="Python wrapper around the llvm C++ library"
|
||||
HOMEPAGE="http://llvmlite.pydata.org/"
|
||||
SRC_URI="https://github.com/numba/llvmlite/archive/v${PV/_/}.tar.gz -> ${P/_/}.gh.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="examples"
|
||||
|
||||
LLVM_MAX_SLOT=6
|
||||
|
||||
RDEPEND="
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
>=sys-devel/llvm-6.0.0-r1:${LLVM_MAX_SLOT}
|
||||
sys-libs/zlib:0=
|
||||
virtual/python-enum34[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${P/_/}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/llvmlite-0.15.0-use-system-six.patch
|
||||
)
|
||||
|
||||
python_configure_all() {
|
||||
# upstream's build system is just horrible, and they ignored the PR
|
||||
# fixing it, so let's build the shared lib properly using implicit
|
||||
# make rules
|
||||
|
||||
export LDLIBS=$(llvm-config --libs all)
|
||||
export CXXFLAGS="$(llvm-config --cxxflags) -fPIC ${CXXFLAGS}"
|
||||
export LDFLAGS="$(llvm-config --ldflags) ${LDFLAGS}"
|
||||
|
||||
local files=( ffi/*.cpp )
|
||||
emake -f - <<EOF
|
||||
ffi/libllvmlite.so: ${files[*]/.cpp/.o}
|
||||
\$(CXX) -shared \$(CXXFLAGS) \$(LDFLAGS) -o \$@ \$^ \$(LDLIBS)
|
||||
EOF
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" runtests.py -v || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST pathlib2-2.1.0.tar.gz 30390 BLAKE2B e009fa866dcdb2a6f078d746c423484bd90df049d59c89427c631cd63ac11376bb5549f45f0e98da036b15c6674040ffc8844fc08b95abb1d677783dedf9e126 SHA512 5dad54d4bf7a37a2c425afeca030a23d802a8a450186292f3d80aa9ee5c2985701871a0386a2f58e2b05b4bbfd7734a238d0a73625c5839237e4f3984088a8b1
|
||||
DIST pathlib2-2.3.0.tar.gz 34291 BLAKE2B ef1768f8a9cc9b28f85ef84c0dfdbfce0b0087c1ffb6718e2b13eb007ea3e0ab0eebe946a1bcc2683fed7db46867f415ad2b52abedcdc87fb67bd45d5998aea5 SHA512 715fbd981d42767862dcaf2cc0fee31b9ec5050915ef7d909d14587609a7a5939e32b39736b586a890e7625443bb163832896fcf138b5c2863c451b71c36a124
|
||||
DIST pathlib2-2.3.2.tar.gz 33764 BLAKE2B c652069d60f489e482c6d75c0a201c5ac67c6b18b4acd6c8b00f7f12832f7165a45293d93ca7f6c45f1451c842e59931b6b8c45608de1bac91ad822cc3536105 SHA512 46ba0cc8b26006bc4cb914118b7c453dc49cc8a80147ea7a4b3d5a17e97d5538c5d73a3029bd7e5b59f42f256baba30ea273382e57468df1a459ac6f7c237ddc
|
||||
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2017 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} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Fork of pathlib aiming to support the full stdlib Python API"
|
||||
HOMEPAGE="https://github.com/mcmtroffaes/pathlib2"
|
||||
SRC_URI="mirror://pypi/p/pathlib2/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
${EPYTHON} test_pathlib2.py || die
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST pymysql-0.7.11.tar.gz 82213 BLAKE2B 45ef3b4c8f4d9a9d3cb5b706f68a52b860bc21298b9fb7d983ea3fc6910c5a53e9e963a712735f93588501ff7297a2f10a74b44965eab4554a554a4a9f0e2b0e SHA512 b83fbbf77fad8e775ba48cf56f32deb61d2d54d64bd1f83e097c61d87b33a881787125c839b78f18b413722299c24a8a14dc9b36f5df7ff7f9c6ea56b2597150
|
||||
DIST pymysql-0.8.0.tar.gz 82975 BLAKE2B c1345ff6d266d5a3670d8bb1d7d7becad218ed294ab912f3f28e49163851e2e36fc1bb5a13a5d0f62ba753d264f736a6a87e11d290cc4fd604714fe1d4f9569d SHA512 41597d3955a35283656b5cbc137b0cb63eb48658dc61f0ba1fc0c207bad07472896e557b2996e52fbc2646163bce69e7d2fed81349355e72368cf395f51e2916
|
||||
DIST pymysql-0.8.1.tar.gz 83887 BLAKE2B 0181970d714d45db644636b57105bba1ea8d8d3ded537555ab1ae5afdc0cad308dbdfe6a67c50905ba1a2ea8cd5302bac8f997f64f0b6874436e4b90a3ea8a78 SHA512 0a58bb6a74281aaec5d23c4e59407ff1d7f3fd379285a21a39f14ad18008303d79aa87b99ebfe2536775f8b369875b15907ae6653d038a2d44589cf47ac0a2b9
|
||||
DIST pymysql-0.9.2.tar.gz 86913 BLAKE2B fc1cd695a75c9f52c4da231f7caae58f902002f38a39a1702f19d23b46bdb1a4753aea98d90e051ec56a5721999149a13b028e1614efdfcac23c76c8382a8d33 SHA512 110306477c167d0b497700b7b22c186c001c803800975b4b4e26e98116f47589b0a4bb7e02d502a62beed6d7dc1ae3fe8a817824c1f3a5caee0898b5f5d21734
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="PyMySQL"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Pure-Python MySQL Driver"
|
||||
HOMEPAGE="https://github.com/PyMySQL/PyMySQL"
|
||||
SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
# While tests exist, they require an unsecure server to run without manual config file
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
${PYTHON} runtests.py || die
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue