6018 changed files with 28948 additions and 33412 deletions
-
BINManifest.files.gz
-
BINacct-group/Manifest.gz
-
8acct-group/distcc/distcc-0.ebuild
-
8acct-group/distcc/distcc-1.ebuild
-
BINacct-user/Manifest.gz
-
12acct-user/distcc/distcc-0.ebuild
-
12acct-user/distcc/distcc-1.ebuild
-
BINapp-admin/Manifest.gz
-
6app-admin/conserver/conserver-8.2.6.ebuild
-
32app-admin/conserver/files/conserver-8.2.6-autoconf-2.70.patch
-
1app-admin/keepassxc/Manifest
-
90app-admin/keepassxc/keepassxc-2.6.3.ebuild
-
2app-admin/sudo/Manifest
-
45app-admin/sudo/files/sudo-1.9.4-without-sendmail_build_fix.patch
-
261app-admin/sudo/sudo-1.9.4_p1.ebuild
-
261app-admin/sudo/sudo-1.9.5_p1.ebuild
-
BINapp-arch/Manifest.gz
-
4app-arch/libarchive/libarchive-3.5.1.ebuild
-
BINapp-backup/Manifest.gz
-
1app-backup/btrbk/Manifest
-
77app-backup/btrbk/btrbk-0.31.0.ebuild
-
4app-backup/btrbk/btrbk-9999.ebuild
-
BINapp-benchmarks/Manifest.gz
-
1app-benchmarks/sysbench/Manifest
-
61app-benchmarks/sysbench/sysbench-1.0.15-r1.ebuild
-
2app-benchmarks/sysbench/sysbench-1.0.20.ebuild
-
BINapp-crypt/Manifest.gz
-
4app-crypt/argon2/argon2-20190702.ebuild
-
1app-crypt/gnupg/Manifest
-
2app-crypt/gnupg/gnupg-2.2.25.ebuild
-
160app-crypt/gnupg/gnupg-2.2.27.ebuild
-
BINapp-doc/Manifest.gz
-
1app-doc/kicad-doc/Manifest
-
47app-doc/kicad-doc/kicad-doc-5.1.9.ebuild
-
0app-doc/votca-csg-manual/Manifest
-
15app-doc/votca-csg-manual/metadata.xml
-
36app-doc/votca-csg-manual/votca-csg-manual-9999.ebuild
-
BINapp-editors/Manifest.gz
-
31app-editors/lpe/files/lpe-1.2.6.13-fno-common.patch
-
5app-editors/lpe/files/lpe-1.2.6.13-make-382.patch
-
24app-editors/lpe/lpe-1.2.6.13.ebuild
-
BINapp-emulation/Manifest.gz
-
2app-emulation/containerd/containerd-1.3.7.ebuild
-
2app-emulation/containerd/containerd-1.3.9.ebuild
-
2app-emulation/containerd/containerd-1.4.3-r1.ebuild
-
1app-emulation/docker-compose/Manifest
-
73app-emulation/docker-compose/docker-compose-1.28.0_rc3.ebuild
-
BINapp-misc/Manifest.gz
-
4app-misc/geekcode/files/geekcode-1.7.3-exit.patch
-
151app-misc/geekcode/files/geekcode-1.7.3-fno-common.patch
-
13app-misc/geekcode/geekcode-1.7.3-r1.ebuild
-
1app-misc/geneweb/Manifest
-
83app-misc/geneweb/geneweb-7.0.0.ebuild
-
1app-misc/note/Manifest
-
13app-misc/note/metadata.xml
-
66app-misc/note/note-1.3.26.ebuild
-
55app-misc/note/note-1.3.3-r1.ebuild
-
4app-misc/note/note-1.3.3-r2.ebuild
-
72app-misc/skim/Manifest
-
1app-misc/skim/metadata.xml
-
115app-misc/skim/skim-0.6.9.ebuild
-
4app-misc/skim/skim-0.8.1.ebuild
-
129app-misc/skim/skim-0.9.3.ebuild
-
1app-misc/worker/Manifest
-
23app-misc/worker/metadata.xml
-
63app-misc/worker/worker-4.6.1-r100.ebuild
-
58app-misc/worker/worker-4.6.1.ebuild
-
4app-misc/xmind/xmind-3.7.6_p201801311814.ebuild
-
BINapp-shells/Manifest.gz
-
2app-shells/bash/bash-5.0_p11-r1.ebuild
-
1app-shells/dash/Manifest
-
57app-shells/dash/dash-0.5.11.2.ebuild
-
2app-shells/dash/dash-0.5.11.3-r1.ebuild
-
57app-shells/dash/dash-0.5.11.3.ebuild
-
BINapp-text/Manifest.gz
-
1app-text/bibclean/Manifest
-
25app-text/bibclean/bibclean-3.04.ebuild
-
1app-text/djvu/Manifest
-
66app-text/djvu/djvu-3.5.28.ebuild
-
1app-text/dvisvgm/Manifest
-
2app-text/dvisvgm/dvisvgm-2.10.1.ebuild
-
49app-text/dvisvgm/dvisvgm-2.11.ebuild
-
30app-text/openjade/files/openjade-1.3.2-autoconf-2.70.patch
-
1app-text/openjade/openjade-1.3.2-r9.ebuild
-
3app-text/qpdf/Manifest
-
3app-text/qpdf/metadata.xml
-
60app-text/qpdf/qpdf-10.0.1-r2.ebuild
-
59app-text/qpdf/qpdf-9.0.2-r1.ebuild
-
55app-text/qpdf/qpdf-9.1.1-r2.ebuild
-
2app-text/qpdfview/qpdfview-0.4.18.ebuild
-
2app-text/qpdfview/qpdfview-0.4.18_p1.ebuild
-
1app-text/teckit/Manifest
-
44app-text/teckit/teckit-2.5.10.ebuild
-
BINdev-cpp/Manifest.gz
-
8dev-cpp/benchmark/benchmark-1.5.2.ebuild
-
30dev-cpp/benchmark/files/benchmark-1.5.2-Add-missing-limits-inclusion.patch
-
BINdev-db/Manifest.gz
-
1dev-db/freetds/Manifest
-
60dev-db/freetds/freetds-1.2.18.ebuild
-
3dev-db/freetds/metadata.xml
@ -1,8 +0,0 @@ |
|||
# Copyright 2021 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
inherit acct-group |
|||
|
|||
ACCT_GROUP_ID=358 |
@ -0,0 +1,8 @@ |
|||
# Copyright 2021 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
inherit acct-group |
|||
|
|||
ACCT_GROUP_ID=240 |
@ -1,12 +0,0 @@ |
|||
# Copyright 2021 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
inherit acct-user |
|||
|
|||
DESCRIPTION="User used to run distcc daemon" |
|||
ACCT_USER_ID=358 |
|||
ACCT_USER_GROUPS=( distcc ) |
|||
|
|||
acct-user_add_deps |
@ -0,0 +1,12 @@ |
|||
# Copyright 2021 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
inherit acct-user |
|||
|
|||
DESCRIPTION="User used to run distcc daemon" |
|||
ACCT_USER_ID=240 |
|||
ACCT_USER_GROUPS=( distcc ) |
|||
|
|||
acct-user_add_deps |
@ -0,0 +1,32 @@ |
|||
From ce3b4f1d000c75ace2be2be83a0cc0df84ff6983 Mon Sep 17 00:00:00 2001 |
|||
From: Lars Wendler <polynomial-c@gentoo.org> |
|||
Date: Tue, 12 Jan 2021 18:18:23 +0100 |
|||
Subject: [PATCH] configure.ac: autoconf-2.70 fix |
|||
|
|||
Gentoo-bug: https://bugs.gentoo.org/750230 |
|||
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> |
|||
---
|
|||
configure.ac | 4 ++-- |
|||
1 file changed, 2 insertions(+), 2 deletions(-) |
|||
|
|||
diff --git a/configure.ac b/configure.ac
|
|||
index ee2bc8a..26541f3 100644
|
|||
--- a/configure.ac
|
|||
+++ b/configure.ac
|
|||
@@ -30,11 +30,11 @@ AH_TEMPLATE([TRUST_UDS_CRED], [Defined if we trust credentials from UDS client])
|
|||
|
|||
dnl ### Normal initialization. ###################################### |
|||
AC_INIT([conserver],m4_esyscmd_s([./gen-version number])) |
|||
-AC_PREREQ(2.59)
|
|||
+AC_PREREQ(2.69)
|
|||
AC_CONFIG_SRCDIR([conserver/main.c]) |
|||
AC_CONFIG_HEADER(config.h) |
|||
|
|||
-AC_DEFINE_UNQUOTED(CONFIGINVOCATION, "$0 $@")
|
|||
+AC_DEFINE_UNQUOTED(CONFIGINVOCATION, "$0 $*")
|
|||
|
|||
dnl ### Set some option defaults. ################################### |
|||
if test -z "$CFLAGS"; then |
|||
--
|
|||
2.30.0 |
|||
|
@ -1,2 +1,3 @@ |
|||
DIST keepassxc-2.6.1-src.tar.xz 5715948 BLAKE2B 5490757fd939b572f2f281dc6ecfcd6afc7f9a5b2ebf3cc0c8ae4a95bb982ad755a9363f6133fb0f4ac2a2b5e0a6c66a7dba954911cb5baf70d447fc8d6089bf SHA512 9fb2d01d80e2b61c847c0544c280c1f3bfca671268e2dbbe78e0f3c1264f38125a3767ceb4591261f3586cd71f4fff47ecc6eacaecf1e707cea5e8907542313a |
|||
DIST keepassxc-2.6.2-src.tar.xz 5720788 BLAKE2B c6bcc0af594c3b697d8e74752edb0389c80c72008bd57dcc36d9606462ea4bc9c6012a9f3f31702a9c0f88004fdc66f1ee4fbebd8a501227f4579ea8f3f1078f SHA512 b297edc4fae32b65430802094bd63dc301addae36859365a3009899d5bc20b32934e174ea56bf3fd1ee633a263ab36b577cba5aaa75bf4ad597f44606f7b5fd1 |
|||
DIST keepassxc-2.6.3-src.tar.xz 7562816 BLAKE2B 1b33850ed996a2f07b1665309bb4680329a0f858d89e9e89f7ca39a84f27f1a4364bd8526d1907b4fc4d5dd586b3dc48d9d9b6235b78b52edc4db08ca72d79fa SHA512 37f97c0851731badffc9c40ed2dcc5c8fc200ea96b32281c21cf199799681abbd74fb191140022ad7872d69ee139e12646e19697010f539690e4e0f0f1c92558 |
@ -0,0 +1,90 @@ |
|||
# Copyright 1999-2021 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
inherit cmake xdg |
|||
|
|||
DESCRIPTION="KeePassXC - KeePass Cross-platform Community Edition" |
|||
HOMEPAGE="https://keepassxc.org" |
|||
|
|||
if [[ "${PV}" != 9999 ]] ; then |
|||
if [[ "${PV}" == *_beta* ]] ; then |
|||
SRC_URI="https://github.com/keepassxreboot/keepassxc/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz" |
|||
S="${WORKDIR}/${P/_/-}" |
|||
else |
|||
#SRC_URI="https://github.com/keepassxreboot/keepassxc/archive/${PV}.tar.gz -> ${P}.tar.gz" |
|||
SRC_URI="https://github.com/keepassxreboot/keepassxc/releases/download/${PV}/${P}-src.tar.xz" |
|||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" |
|||
fi |
|||
else |
|||
inherit git-r3 |
|||
EGIT_REPO_URI="https://github.com/keepassxreboot/${PN}" |
|||
fi |
|||
|
|||
LICENSE="LGPL-2.1 GPL-2 GPL-3" |
|||
SLOT="0" |
|||
IUSE="autotype browser ccache keeshare +network test yubikey" |
|||
|
|||
RDEPEND=" |
|||
app-crypt/argon2:= |
|||
dev-libs/libgcrypt:= |
|||
>=dev-libs/libsodium-1.0.12:= |
|||
dev-qt/qtconcurrent:5 |
|||
dev-qt/qtcore:5 |
|||
dev-qt/qtdbus:5 |
|||
dev-qt/qtgui:5 |
|||
dev-qt/qtnetwork:5 |
|||
dev-qt/qtsvg:5 |
|||
dev-qt/qtwidgets:5 |
|||
media-gfx/qrencode:= |
|||
sys-libs/readline:0= |
|||
sys-libs/zlib:= |
|||
autotype? ( |
|||
dev-qt/qtx11extras:5 |
|||
x11-libs/libX11 |
|||
x11-libs/libXi |
|||
x11-libs/libXtst |
|||
) |
|||
keeshare? ( dev-libs/quazip ) |
|||
yubikey? ( sys-auth/ykpers ) |
|||
" |
|||
|
|||
DEPEND=" |
|||
${RDEPEND} |
|||
dev-qt/linguist-tools:5 |
|||
dev-qt/qttest:5 |
|||
" |
|||
BDEPEND=" |
|||
ccache? ( dev-util/ccache ) |
|||
" |
|||
|
|||
RESTRICT="!test? ( test )" |
|||
|
|||
src_prepare() { |
|||
use test || \ |
|||
sed -e "/^find_package(Qt5Test/d" -i CMakeLists.txt || die |
|||
|
|||
cmake_src_prepare |
|||
} |
|||
|
|||
src_configure() { |
|||
local mycmakeargs=( |
|||
-DWITH_CCACHE="$(usex ccache)" |
|||
-DWITH_GUI_TESTS=OFF |
|||
-DWITH_TESTS="$(usex test)" |
|||
-DWITH_XC_AUTOTYPE="$(usex autotype)" |
|||
-DWITH_XC_DOCS=OFF |
|||
-DWITH_XC_BROWSER="$(usex browser)" |
|||
-DWITH_XC_FDOSECRETS=ON |
|||
-DWITH_XC_KEESHARE="$(usex keeshare)" |
|||
-DWITH_XC_NETWORKING="$(usex network)" |
|||
-DWITH_XC_SSHAGENT=ON |
|||
-DWITH_XC_UPDATECHECK=OFF |
|||
-DWITH_XC_YUBIKEY="$(usex yubikey)" |
|||
) |
|||
if [[ "${PV}" == *_beta* ]] ; then |
|||
mycmakeargs+=( -DOVERRIDE_VERSION="${PV/_/-}" ) |
|||
fi |
|||
cmake_src_configure |
|||
} |
@ -1,3 +1,3 @@ |
|||
DIST sudo-1.9.3p1.tar.gz 3958071 BLAKE2B b681c120faa5dc7f25e27c1be423d68cea70f63dcdfea2183fd386a34dec0376555453399d3f8886c66c6507343648d40b59a058710432154061b210df2a704c SHA512 3ad13fd03e5b371fd6bf7909731ffc11431d2182a744b654f7e5d4b810e47955d49bc78f551afe13ec56acbce694139c33a15bc022cea41b17af5496b8b7f89f |
|||
DIST sudo-1.9.4p1.tar.gz 3993946 BLAKE2B 171af5befe05e393846886077d0c210664ff86191ae1a093148d85ca80d4a8c6cd8c41ef91451207831f574267d32d4c621e47ecfa1d3b37ee8c498af6729369 SHA512 5d247c9ad68cd2c3ea504dc0a49db041f68c1575775b4bb3a5fb62abadc23295a42658d33430d6391152c7b44f66d9f165f77a91abb355edc2d2d8787d41cd91 |
|||
DIST sudo-1.9.4p2.tar.gz 3994184 BLAKE2B 110562792fa3d6f3f30fb0f07eefca975f062d41743fb84a34c27bf4c72296aa5f581de1f74895deedd6b47cb235399c52b9d3d818d274c6cdc61c741a0a287e SHA512 5258531d3dca0e812df5f4f8f26665f643c036d42534e3b98f5dd463624e9df0bba2a92c15da0c9958bda7e68f6f10b7b34875792ac9c205d1e70a12bc4f98a4 |
|||
DIST sudo-1.9.5p1.tar.gz 4008926 BLAKE2B f033a0dcea98d5b038ee310e76cb9f532abc3aa33880e4f606cb9463d5daf231c7697670c68b2829e3f33f687280c15e026ae700dec527a380e26d6e20fc1171 SHA512 0168f0b61a6c2d2f60a92b5b4d3c3254aed4116decabac3821d9ac2fd7f74bb7b019e35bb8955335315b3b00ddf4e4acd82540df0addc1d9bf4f44b60447a878 |
@ -1,45 +0,0 @@ |
|||
|
|||
# HG changeset patch |
|||
# User Todd C. Miller <Todd.Miller@sudo.ws> |
|||
# Date 1606767492 25200 |
|||
# Node ID 41db1aad85bbce444b511bcb28b9628a0a22fcd9 |
|||
# Parent 96a5cfe3c66b6ee84d7f7b6fb26d932f45a44b76 |
|||
Fix build when configured using --without-sendmail |
|||
Bug #947 |
|||
|
|||
diff -r 96a5cfe3c66b -r 41db1aad85bb lib/eventlog/eventlog.c
|
|||
--- a/lib/eventlog/eventlog.c Sun Nov 29 15:11:34 2020 -0700
|
|||
+++ b/lib/eventlog/eventlog.c Mon Nov 30 13:18:12 2020 -0700
|
|||
@@ -78,7 +78,7 @@
|
|||
static FILE *eventlog_stub_open_log(int type, const char *logfile); |
|||
static void eventlog_stub_close_log(int type, FILE *fp); |
|||
|
|||
-/* Eventlog config settings */
|
|||
+/* Eventlog config settings (default values). */
|
|||
static struct eventlog_config evl_conf = { |
|||
EVLOG_NONE, /* type */ |
|||
EVLOG_SUDO, /* format */ |
|||
@@ -91,7 +91,11 @@
|
|||
false, /* omit_hostname */ |
|||
_PATH_SUDO_LOGFILE, /* logpath */ |
|||
"%h %e %T", /* time_fmt */ |
|||
+#ifdef _PATH_SUDO_SENDMAIL
|
|||
_PATH_SUDO_SENDMAIL, /* mailerpath */ |
|||
+#else
|
|||
+ NULL, /* mailerpath (disabled) */
|
|||
+#endif
|
|||
"-t", /* mailerflags */ |
|||
NULL, /* mailfrom */ |
|||
MAILTO, /* mailto */ |
|||
@@ -1436,8 +1440,10 @@
|
|||
evl_conf.logpath = _PATH_SUDO_LOGFILE; |
|||
if (evl_conf.time_fmt == NULL) |
|||
evl_conf.time_fmt = "%h %e %T"; |
|||
+#ifdef _PATH_SUDO_SENDMAIL
|
|||
if (evl_conf.mailerpath == NULL) |
|||
evl_conf.mailerpath = _PATH_SUDO_SENDMAIL; |
|||
+#endif
|
|||
if (evl_conf.mailerflags == NULL) |
|||
evl_conf.mailerflags = "-t"; |
|||
if (evl_conf.mailto == NULL) |
|||
|
@ -1,261 +0,0 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
inherit pam multilib libtool systemd tmpfiles |
|||
|
|||
MY_P="${P/_/}" |
|||
MY_P="${MY_P/beta/b}" |
|||
|
|||
DESCRIPTION="Allows users or groups to run commands as other users" |
|||
HOMEPAGE="https://www.sudo.ws/" |
|||
if [[ ${PV} == "9999" ]] ; then |
|||
inherit mercurial |
|||
EHG_REPO_URI="https://www.sudo.ws/repos/sudo" |
|||
else |
|||
uri_prefix= |
|||
case ${P} in |
|||
*_beta*|*_rc*) uri_prefix=beta/ ;; |
|||
esac |
|||
|
|||
SRC_URI="https://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz |
|||
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz" |
|||
if [[ ${PV} != *_beta* ]] && [[ ${PV} != *_rc* ]] ; then |
|||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~sparc-solaris" |
|||
fi |
|||
fi |
|||
|
|||
# Basic license is ISC-style as-is, some files are released under |
|||
# 3-clause BSD license |
|||
LICENSE="ISC BSD" |
|||
SLOT="0" |
|||
IUSE="gcrypt ldap libressl nls offensive pam sasl +secure-path selinux +sendmail skey ssl sssd" |
|||
|
|||
DEPEND=" |
|||
sys-libs/zlib:= |
|||
gcrypt? ( dev-libs/libgcrypt:= ) |
|||
ldap? ( |
|||
>=net-nds/openldap-2.1.30-r1 |
|||
sasl? ( |
|||
dev-libs/cyrus-sasl |
|||
net-nds/openldap[sasl] |
|||
) |
|||
) |
|||
pam? ( sys-libs/pam ) |
|||
sasl? ( dev-libs/cyrus-sasl ) |
|||
skey? ( >=sys-auth/skey-1.1.5-r1 ) |
|||
ssl? ( |
|||
!libressl? ( dev-libs/openssl:0= ) |
|||
libressl? ( dev-libs/libressl:0= ) |
|||
) |
|||
sssd? ( sys-auth/sssd[sudo] ) |
|||
" |
|||
RDEPEND=" |
|||
${DEPEND} |
|||
>=app-misc/editor-wrapper-3 |
|||
virtual/editor |
|||
ldap? ( dev-lang/perl ) |
|||
pam? ( sys-auth/pambase ) |
|||
selinux? ( sec-policy/selinux-sudo ) |
|||
sendmail? ( virtual/mta ) |
|||
" |
|||
BDEPEND=" |
|||
sys-devel/bison |
|||
virtual/pkgconfig |
|||
" |
|||
|
|||
S="${WORKDIR}/${MY_P}" |
|||
|
|||
REQUIRED_USE=" |
|||
?? ( pam skey ) |
|||
?? ( gcrypt ssl ) |
|||
" |
|||
|
|||
MAKEOPTS+=" SAMPLES=" |
|||
|
|||
src_prepare() { |
|||
default |
|||
elibtoolize |
|||
} |
|||
|
|||
set_secure_path() { |
|||
# FIXME: secure_path is a compile time setting. using PATH or |
|||
# ROOTPATH is not perfect, env-update may invalidate this, but until it |
|||
# is available as a sudoers setting this will have to do. |
|||
einfo "Setting secure_path ..." |
|||
|
|||
# first extract the default ROOTPATH from build env |
|||
SECURE_PATH=$(unset ROOTPATH; . "${EPREFIX}"/etc/profile.env; |
|||
echo "${ROOTPATH}") |
|||
case "${SECURE_PATH}" in |
|||
*/usr/sbin*) ;; |
|||
*) SECURE_PATH=$(unset PATH; |
|||
. "${EPREFIX}"/etc/profile.env; echo "${PATH}") |
|||
;; |
|||
esac |
|||
if [[ -z ${SECURE_PATH} ]] ; then |
|||
ewarn " Failed to detect SECURE_PATH, please report this" |
|||
fi |
|||
|
|||
# then remove duplicate path entries |
|||
cleanpath() { |
|||
local newpath thisp IFS=: |
|||
for thisp in $1 ; do |
|||
if [[ :${newpath}: != *:${thisp}:* ]] ; then |
|||
newpath+=:${thisp} |
|||
else |
|||
einfo " Duplicate entry ${thisp} removed..." |
|||
fi |
|||
done |
|||
SECURE_PATH=${newpath#:} |
|||
} |
|||
cleanpath /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin${SECURE_PATH:+:${SECURE_PATH}} |
|||
|
|||
# finally, strip gcc paths #136027 |
|||
rmpath() { |
|||
local e newpath thisp IFS=: |
|||
for thisp in ${SECURE_PATH} ; do |
|||
for e ; do [[ ${thisp} == ${e} ]] && continue 2 ; done |
|||
newpath+=:${thisp} |
|||
done |
|||
SECURE_PATH=${newpath#:} |
|||
} |
|||
rmpath '*/gcc-bin/*' '*/gnat-gcc-bin/*' '*/gnat-gcc/*' |
|||
|
|||
einfo "... done" |
|||
} |
|||
|
|||
src_configure() { |
|||
local SECURE_PATH |
|||
set_secure_path |
|||
|
|||
# audit: somebody got to explain me how I can test this before I |
|||
# enable it.. - Diego |
|||
# plugindir: autoconf code is crappy and does not delay evaluation |
|||
# until `make` time, so we have to use a full path here rather than |
|||
# basing off other values. |
|||
myeconfargs=( |
|||
# requires some python eclass |
|||
--disable-python |
|||
--enable-tmpfiles.d="${EPREFIX}"/usr/lib/tmpfiles.d |
|||
--enable-zlib=system |
|||
--with-editor="${EPREFIX}"/usr/libexec/editor |
|||
--with-env-editor |
|||
--with-plugindir="${EPREFIX}"/usr/$(get_libdir)/sudo |
|||
--with-rundir="${EPREFIX}"/run/sudo |
|||
--with-vardir="${EPREFIX}"/var/db/sudo |
|||
--without-linux-audit |
|||
--without-opie |
|||
$(use_enable gcrypt) |
|||
$(use_enable nls) |
|||
$(use_enable sasl) |
|||
$(use_enable ssl openssl) |
|||
$(use_with ldap) |
|||
$(use_with ldap ldap_conf_file /etc/ldap.conf.sudo) |
|||
$(use_with offensive insults) |
|||
$(use_with offensive all-insults) |
|||
$(use_with pam) |
|||
$(use_with pam pam-login) |
|||
$(use_with secure-path secure-path "${SECURE_PATH}") |
|||
$(use_with selinux) |
|||
$(use_with sendmail) |
|||
$(use_with skey) |
|||
$(use_with sssd) |
|||
) |
|||
|
|||
econf "${myeconfargs[@]}" |
|||
} |
|||
|
|||
src_install() { |
|||
default |
|||
|
|||
if use ldap ; then |
|||
dodoc README.LDAP |
|||
|
|||
cat <<-EOF > "${T}"/ldap.conf.sudo |
|||
# See ldap.conf(5) and README.LDAP for details |
|||
# This file should only be readable by root |
|||
|
|||
# supported directives: host, port, ssl, ldap_version |
|||
# uri, binddn, bindpw, sudoers_base, sudoers_debug |
|||
# tls_{checkpeer,cacertfile,cacertdir,randfile,ciphers,cert,key} |
|||
EOF |
|||
|
|||
if use sasl ; then |
|||
cat <<-EOF >> "${T}"/ldap.conf.sudo |
|||
|
|||
# SASL directives: use_sasl, sasl_mech, sasl_auth_id |
|||
# sasl_secprops, rootuse_sasl, rootsasl_auth_id, krb5_ccname |
|||
EOF |
|||
fi |
|||
|
|||
insinto /etc |
|||
doins "${T}"/ldap.conf.sudo |
|||
fperms 0440 /etc/ldap.conf.sudo |
|||
|
|||
insinto /etc/openldap/schema |
|||
newins doc/schema.OpenLDAP sudo.schema |
|||
fi |
|||
|
|||
pamd_mimic system-auth sudo auth account session |
|||
pamd_mimic system-auth sudo-i auth account session |
|||
|
|||
keepdir /var/db/sudo/lectured |
|||
fperms 0700 /var/db/sudo/lectured |
|||
fperms 0711 /var/db/sudo #652958 |
|||
|
|||
# Don't install into /run as that is a tmpfs most of the time |
|||
# (bug #504854) |
|||
rm -rf "${ED}"/run || die |
|||
|
|||
find "${ED}" -type f -name "*.la" -delete || die #697812 |
|||
} |
|||
|
|||
pkg_postinst() { |
|||
tmpfiles_process sudo.conf |
|||
|
|||
#652958 |
|||
local sudo_db="${EROOT}/var/db/sudo" |
|||
if [[ "$(stat -c %a "${sudo_db}")" -ne 711 ]] ; then |
|||
chmod 711 "${sudo_db}" || die |
|||
fi |
|||
|
|||
if use ldap ; then |
|||
ewarn |
|||
ewarn "sudo uses the /etc/ldap.conf.sudo file for ldap configuration." |
|||
ewarn |
|||
if grep -qs '^[[:space:]]*sudoers:' "${ROOT}"/etc/nsswitch.conf ; then |
|||
ewarn "In 1.7 series, LDAP is no more consulted, unless explicitly" |
|||
ewarn "configured in /etc/nsswitch.conf." |
|||
ewarn |
|||
ewarn "To make use of LDAP, add this line to your /etc/nsswitch.conf:" |
|||
ewarn " sudoers: ldap files" |
|||
ewarn |
|||
fi |
|||
fi |
|||
if use prefix ; then |
|||
ewarn |
|||
ewarn "To use sudo, you need to change file ownership and permissions" |
|||
ewarn "with root privileges, as follows:" |
|||
ewarn |
|||
ewarn " # chown root:root ${EPREFIX}/usr/bin/sudo" |
|||
ewarn " # chown root:root ${EPREFIX}/usr/lib/sudo/sudoers.so" |
|||
ewarn " # chown root:root ${EPREFIX}/etc/sudoers" |
|||
ewarn " # chown root:root ${EPREFIX}/etc/sudoers.d" |
|||
ewarn " # chown root:root ${EPREFIX}/var/db/sudo" |
|||
ewarn " # chmod 4111 ${EPREFIX}/usr/bin/sudo" |
|||
ewarn |
|||
fi |
|||
|
|||
elog "To use the -A (askpass) option, you need to install a compatible" |
|||
elog "password program from the following list. Starred packages will" |
|||
elog "automatically register for the use with sudo (but will not force" |
|||
elog "the -A option):" |
|||
elog "" |
|||
elog " [*] net-misc/ssh-askpass-fullscreen" |
|||
elog " net-misc/x11-ssh-askpass" |
|||
elog "" |
|||
elog "You can override the choice by setting the SUDO_ASKPASS environmnent" |
|||
elog "variable to the program you want to use." |
|||
} |
@ -0,0 +1,261 @@ |
|||
# Copyright 1999-2021 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
inherit pam multilib libtool systemd tmpfiles |
|||
|
|||
MY_P="${P/_/}" |
|||
MY_P="${MY_P/beta/b}" |
|||
|
|||
DESCRIPTION="Allows users or groups to run commands as other users" |
|||
HOMEPAGE="https://www.sudo.ws/" |
|||
if [[ ${PV} == "9999" ]] ; then |
|||
inherit mercurial |
|||
EHG_REPO_URI="https://www.sudo.ws/repos/sudo" |
|||
else |
|||
uri_prefix= |
|||
case ${P} in |
|||
*_beta*|*_rc*) uri_prefix=beta/ ;; |
|||
esac |
|||
|
|||
SRC_URI="https://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz |
|||
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz" |
|||
if [[ ${PV} != *_beta* ]] && [[ ${PV} != *_rc* ]] ; then |
|||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 sparc x86 ~sparc-solaris" |
|||
fi |
|||
fi |
|||
|
|||
# Basic license is ISC-style as-is, some files are released under |
|||
# 3-clause BSD license |
|||
LICENSE="ISC BSD" |
|||
SLOT="0" |
|||
IUSE="gcrypt ldap libressl nls offensive pam sasl +secure-path selinux +sendmail skey ssl sssd" |
|||
|
|||
DEPEND=" |
|||
sys-libs/zlib:= |
|||
gcrypt? ( dev-libs/libgcrypt:= ) |
|||
ldap? ( |
|||
>=net-nds/openldap-2.1.30-r1 |
|||
sasl? ( |
|||
dev-libs/cyrus-sasl |
|||
net-nds/openldap[sasl] |
|||
) |
|||
) |
|||
pam? ( sys-libs/pam ) |
|||
sasl? ( dev-libs/cyrus-sasl ) |
|||
skey? ( >=sys-auth/skey-1.1.5-r1 ) |
|||
ssl? ( |
|||
!libressl? ( dev-libs/openssl:0= ) |
|||
libressl? ( dev-libs/libressl:0= ) |
|||
) |
|||
sssd? ( sys-auth/sssd[sudo] ) |
|||
" |
|||
RDEPEND=" |
|||
${DEPEND} |
|||
>=app-misc/editor-wrapper-3 |
|||
virtual/editor |
|||
ldap? ( dev-lang/perl ) |
|||
pam? ( sys-auth/pambase ) |
|||
selinux? ( sec-policy/selinux-sudo ) |
|||
sendmail? ( virtual/mta ) |
|||
" |
|||
BDEPEND=" |
|||
sys-devel/bison |
|||
virtual/pkgconfig |
|||
" |
|||
|
|||
S="${WORKDIR}/${MY_P}" |
|||
|
|||
REQUIRED_USE=" |
|||
?? ( pam skey ) |
|||
?? ( gcrypt ssl ) |
|||
" |
|||
|
|||
MAKEOPTS+=" SAMPLES=" |
|||
|
|||
src_prepare() { |
|||
default |
|||
elibtoolize |
|||
} |
|||
|
|||
set_secure_path() { |
|||
# FIXME: secure_path is a compile time setting. using PATH or |
|||
# ROOTPATH is not perfect, env-update may invalidate this, but until it |
|||
# is available as a sudoers setting this will have to do. |
|||
einfo "Setting secure_path ..." |
|||
|
|||
# first extract the default ROOTPATH from build env |
|||
SECURE_PATH=$(unset ROOTPATH; . "${EPREFIX}"/etc/profile.env; |
|||
echo "${ROOTPATH}") |
|||
case "${SECURE_PATH}" in |
|||
*/usr/sbin*) ;; |
|||
*) SECURE_PATH=$(unset PATH; |
|||
. "${EPREFIX}"/etc/profile.env; echo "${PATH}") |
|||
;; |
|||
esac |
|||
if [[ -z ${SECURE_PATH} ]] ; then |
|||
ewarn " Failed to detect SECURE_PATH, please report this" |
|||
fi |
|||
|
|||
# then remove duplicate path entries |
|||
cleanpath() { |
|||
local newpath thisp IFS=: |
|||
for thisp in $1 ; do |
|||
if [[ :${newpath}: != *:${thisp}:* ]] ; then |
|||
newpath+=:${thisp} |
|||
else |
|||
einfo " Duplicate entry ${thisp} removed..." |
|||
fi |
|||
done |
|||
SECURE_PATH=${newpath#:} |
|||
} |
|||
cleanpath /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin${SECURE_PATH:+:${SECURE_PATH}} |
|||
|
|||
# finally, strip gcc paths #136027 |
|||
rmpath() { |
|||
local e newpath thisp IFS=: |
|||
for thisp in ${SECURE_PATH} ; do |
|||
for e ; do [[ ${thisp} == ${e} ]] && continue 2 ; done |
|||
newpath+=:${thisp} |
|||
done |
|||
SECURE_PATH=${newpath#:} |
|||
} |
|||
rmpath '*/gcc-bin/*' '*/gnat-gcc-bin/*' '*/gnat-gcc/*' |
|||
|
|||
einfo "... done" |
|||
} |
|||
|
|||
src_configure() { |
|||
local SECURE_PATH |
|||
set_secure_path |
|||
|
|||
# audit: somebody got to explain me how I can test this before I |
|||
# enable it.. - Diego |
|||
# plugindir: autoconf code is crappy and does not delay evaluation |
|||
# until `make` time, so we have to use a full path here rather than |
|||
# basing off other values. |
|||
myeconfargs=( |
|||
# requires some python eclass |
|||
--disable-python |
|||
--enable-tmpfiles.d="${EPREFIX}"/usr/lib/tmpfiles.d |
|||
--enable-zlib=system |
|||
--with-editor="${EPREFIX}"/usr/libexec/editor |
|||
--with-env-editor |
|||
--with-plugindir="${EPREFIX}"/usr/$(get_libdir)/sudo |
|||
--with-rundir="${EPREFIX}"/run/sudo |
|||
--with-vardir="${EPREFIX}"/var/db/sudo |
|||
--without-linux-audit |
|||
--without-opie |
|||
$(use_enable gcrypt) |
|||
$(use_enable nls) |
|||
$(use_enable sasl) |
|||
$(use_enable ssl openssl) |
|||
$(use_with ldap) |
|||
$(use_with ldap ldap_conf_file /etc/ldap.conf.sudo) |
|||
$(use_with offensive insults) |
|||
$(use_with offensive all-insults) |
|||
$(use_with pam) |
|||
$(use_with pam pam-login) |
|||
$(use_with secure-path secure-path "${SECURE_PATH}") |
|||
$(use_with selinux) |
|||
$(use_with sendmail) |
|||
$(use_with skey) |
|||
$(use_with sssd) |
|||
) |
|||
|
|||
econf "${myeconfargs[@]}" |
|||
} |
|||
|
|||
src_install() { |
|||
default |
|||
|
|||
if use ldap ; then |
|||
dodoc README.LDAP |
|||
|
|||
cat <<-EOF > "${T}"/ldap.conf.sudo |
|||
# See ldap.conf(5) and README.LDAP for details |
|||
# This file should only be readable by root |
|||
|
|||
# supported directives: host, port, ssl, ldap_version |
|||
# uri, binddn, bindpw, sudoers_base, sudoers_debug |
|||
# tls_{checkpeer,cacertfile,cacertdir,randfile,ciphers,cert,key} |
|||
EOF |
|||
|
|||
if use sasl ; then |
|||
cat <<-EOF >> "${T}"/ldap.conf.sudo |
|||
|
|||
# SASL directives: use_sasl, sasl_mech, sasl_auth_id |
|||
# sasl_secprops, rootuse_sasl, rootsasl_auth_id, krb5_ccname |
|||
EOF |
|||
fi |
|||
|
|||
insinto /etc |
|||
doins "${T}"/ldap.conf.sudo |
|||
fperms 0440 /etc/ldap.conf.sudo |
|||
|
|||
insinto /etc/openldap/schema |
|||
newins doc/schema.OpenLDAP sudo.schema |
|||
fi |
|||
|
|||
pamd_mimic system-auth sudo auth account session |
|||
pamd_mimic system-auth sudo-i auth account session |
|||
|
|||
keepdir /var/db/sudo/lectured |
|||
fperms 0700 /var/db/sudo/lectured |
|||
fperms 0711 /var/db/sudo #652958 |
|||
|
|||
# Don't install into /run as that is a tmpfs most of the time |
|||
# (bug #504854) |
|||
rm -rf "${ED}"/run || die |
|||
|
|||
find "${ED}" -type f -name "*.la" -delete || die #697812 |
|||
} |
|||
|
|||
pkg_postinst() { |
|||
tmpfiles_process sudo.conf |
|||
|
|||
#652958 |
|||
local sudo_db="${EROOT}/var/db/sudo" |
|||
if [[ "$(stat -c %a "${sudo_db}")" -ne 711 ]] ; then |
|||
chmod 711 "${sudo_db}" || die |
|||
fi |
|||
|
|||
if use ldap ; then |
|||
ewarn |
|||
ewarn "sudo uses the /etc/ldap.conf.sudo file for ldap configuration." |
|||
ewarn |
|||
if grep -qs '^[[:space:]]*sudoers:' "${ROOT}"/etc/nsswitch.conf ; then |
|||
ewarn "In 1.7 series, LDAP is no more consulted, unless explicitly" |
|||
ewarn "configured in /etc/nsswitch.conf." |
|||
ewarn |
|||
ewarn "To make use of LDAP, add this line to your /etc/nsswitch.conf:" |
|||
ewarn " sudoers: ldap files" |
|||
ewarn |
|||
fi |
|||
fi |
|||
if use prefix ; then |
|||
ewarn |
|||
ewarn "To use sudo, you need to change file ownership and permissions" |
|||
ewarn "with root privileges, as follows:" |
|||
ewarn |
|||
ewarn " # chown root:root ${EPREFIX}/usr/bin/sudo" |
|||
ewarn " # chown root:root ${EPREFIX}/usr/lib/sudo/sudoers.so" |
|||
ewarn " # chown root:root ${EPREFIX}/etc/sudoers" |
|||
ewarn " # chown root:root ${EPREFIX}/etc/sudoers.d" |
|||
ewarn " # chown root:root ${EPREFIX}/var/db/sudo" |
|||
ewarn " # chmod 4111 ${EPREFIX}/usr/bin/sudo" |
|||
ewarn |
|||
fi |
|||
|
|||
elog "To use the -A (askpass) option, you need to install a compatible" |
|||
elog "password program from the following list. Starred packages will" |
|||
elog "automatically register for the use with sudo (but will not force" |
|||
elog "the -A option):" |
|||
elog "" |
|||
elog " [*] net-misc/ssh-askpass-fullscreen" |
|||
elog " net-misc/x11-ssh-askpass" |
|||
elog "" |
|||
elog "You can override the choice by setting the SUDO_ASKPASS environmnent" |
|||
elog "variable to the program you want to use." |
|||
} |
@ -1,2 +1,3 @@ |
|||
DIST btrbk-0.29.1.tar.xz 98320 BLAKE2B f7e4939fec27cc85847d7cae8797de9c59040de641ed4c3c4dcd37102daad1d3910e2ef40c3ad486614a167a7d2206c92b961ba6e5d78e351dedb8de565e3172 SHA512 78bb24fff3606bcf5cb3f4b7e31c5423ca01208cf667efa6a67978696b06ffd4f368aed372d57372ef268ea9329d51f8abd7e2e9dc59dfb0d3133c992d1d788e |
|||
DIST btrbk-0.30.0.tar.xz 101104 BLAKE2B f963fa64a409810552f1232e42d2d7ed740cbcf498098307ebff31a6e4db06d43a2c4fd5df6120847a009fd606ea4453ca93eaa6cf7a18744d557f94722876f8 SHA512 127d184fda13cb036c737f2cad428ef8313af46ceac0b6d273d670656f874d0e096bcd2daf96a2b6e7087a9985e47a99a905515376a9270171575166ca5d6449 |
|||
DIST btrbk-0.31.0.tar.xz 106064 BLAKE2B 4cac3502396debb97b6e842be75a643b6229209eb0a28a8fa8ee5ec9cb70621bd9e7f2ca5a06fda1e167d59ac1bbfef76ab00b6a2d041a5371b4286c76701df9 SHA512 df27c8e2785b1a49aae6031f1787a69d41b61cdab7e58b43bc87232c99e534b664b545121c909c0317fb9adfaee48085ba07be0a465dec05c4869ed620b8c94f |
@ -0,0 +1,77 @@ |
|||
# Copyright 1999-2021 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
inherit systemd |
|||
|
|||
if [[ ${PV} == "9999" ]] ; then |
|||
EGIT_REPO_URI="https://github.com/digint/btrbk.git" |
|||
inherit git-r3 |
|||
SRC_URI="" |
|||
else |
|||
SRC_URI="https://digint.ch/download/btrbk/releases/${P}.tar.xz" |
|||
KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
|||
fi |
|||
|
|||
DESCRIPTION="Tool for creating snapshots and remote backups of btrfs subvolumes" |
|||
HOMEPAGE="https://digint.ch/btrbk/" |
|||
LICENSE="GPL-3+" |
|||
SLOT="0" |
|||
IUSE="+mbuffer +doc +lsbtr" |
|||
|
|||
DEPEND="doc? ( >=dev-ruby/asciidoctor-1.5.7 )" |
|||
|
|||
RDEPEND="dev-lang/perl |
|||
net-misc/openssh |
|||
mbuffer? ( >=sys-block/mbuffer-20180505 ) |
|||
>=sys-fs/btrfs-progs-4.12" |
|||
|
|||
src_compile() { |
|||
emake clean |
|||
use doc && emake -C doc |
|||
} |
|||
src_install() { |
|||
local targets="install-bin install-etc install-share install-systemd" |
|||
use doc && targets="${targets} install-man install-doc" |
|||
use lsbtr && targets="${targets} install-bin-links" |
|||
emake \ |
|||
DESTDIR="${D}" \ |
|||
DOCDIR="/usr/share/doc/${PF}" \ |
|||
SYSTEMDDIR="$(systemd_get_systemunitdir)" \ |
|||
${targets} |
|||
} |
|||
pkg_preinst() { |
|||
if has_version "<${CATEGORY}/${PN}-0.26.0" ; then |
|||
upgrade_0_26_0_warning="1" |
|||
fi |
|||
if has_version "<${CATEGORY}/${PN}-0.27.0" ; then |
|||
upgrade_0_27_0_warning="1" |
|||
fi |
|||
} |
|||
pkg_postinst() { |
|||
if [[ "${upgrade_0_26_0_warning}" == "1" ]]; then |
|||
ewarn "If you are using raw targets, make sure to run the" |
|||
ewarn "\"raw_suffix2sidecar\" utility in each target directory." |
|||
fi |
|||
if [[ "${upgrade_0_27_0_warning}" == "1" ]]; then |
|||
ewarn 'Due to a bugfix in the scheduler [1] [2], previously preserved' |
|||
ewarn 'monthly/yearly backups could get deleted when upgrading to' |
|||
ewarn 'btrbk-0.27.0.' |
|||
ewarn '' |
|||
ewarn 'Before upgrading to btrbk-0.27.0, make sure to stop all cron jobs' |
|||
ewarn 'or systemd timers calling btrbk.' |
|||
ewarn '' |
|||
ewarn 'After upgrading, run "btrbk prune --dry-run --print-schedule" and' |
|||
ewarn 'check if any snapshots/backups would get deleted. If you want to' |
|||
ewarn 'forcibly preserve a snapshot/backup forever, rename it:' |
|||
ewarn '' |
|||
ewarn ' mv mysubvol.YYYYMMDD mysubvol.YYYYMMDD.keep_forever' |
|||
ewarn '' |
|||
ewarn 'Note that btrbk ignores subvolumes with unknown naming scheme, e.g.' |
|||
ewarn '(".keep_forever" suffix in the example above).' |
|||
ewarn '' |
|||
ewarn ' [1] https://github.com/digint/btrbk/issues/217' |
|||
ewarn ' [2] https://github.com/digint/btrbk/commit/719fb5f' |
|||
fi |
|||
} |
@ -1,2 +1 @@ |
|||
DIST sysbench-1.0.15.tar.gz 1507930 BLAKE2B d4f18b08a122b8574b916b5ddadf69dd37718ac94642fb8d31582c79788569190a26fad3b3cccaadb695a65a3b9efda59943e32947a709918b3fb6d80aee6cac SHA512 ff68ad15c037006a2a49e3d59062611062336860205816ca6d9cdd20832fc55b631960411caa718dff881e926196046a7317b33e803061868e524a819569d3a2 |
|||
DIST sysbench-1.0.20.tar.gz 1509630 BLAKE2B 9b63c1c2703fc2311e03561c8dde2c39b249b6aadffebddfd99cdcfb5319606a484132e9dcb23a4365aecfc1148c5c5c56c918ac8c363ffcb1beece26aaf15c7 SHA512 510453f26c4304eee74cff82a99356b668478f97eaf942fa3654a27692743b52d39dda526fa8d136568b5ad136157c8658ae5eb2ae4e8593b161dcd49621f24f |
@ -1,61 +0,0 @@ |
|||
# Copyright 1999-2019 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=6 |
|||
|
|||
inherit autotools pax-utils |
|||
|
|||
DESCRIPTION="System performance benchmark" |
|||
HOMEPAGE="https://github.com/akopytov/sysbench" |
|||
SRC_URI="https://github.com/akopytov/sysbench/archive/${PV}.tar.gz -> ${P}.tar.gz" |
|||
|
|||
LICENSE="GPL-2+" |
|||
SLOT="0" |
|||
KEYWORDS="amd64 x86" |
|||
IUSE="aio mysql postgres test" |
|||
RESTRICT="!test? ( test )" |
|||
|
|||
RDEPEND="aio? ( dev-libs/libaio ) |
|||
mysql? ( dev-db/mysql-connector-c:= ) |
|||
postgres? ( dev-db/postgresql:= ) |
|||
dev-lang/luajit:=" |
|||
DEPEND="${RDEPEND} |
|||
dev-libs/concurrencykit |
|||
dev-libs/libxslt |
|||
sys-devel/libtool |
|||
virtual/pkgconfig |
|||
test? ( dev-util/cram )" |
|||
|
|||
src_prepare() { |
|||
default |
|||
|
|||
# remove bundled libs |
|||
rm -r third_party/luajit/luajit third_party/concurrency_kit/ck third_party/cram || die |
|||
|
|||
eautoreconf |
|||
} |
|||
|
|||
src_configure() { |
|||
local myeconfargs=( |
|||
$(use_enable aio) |
|||
$(use_with mysql) |
|||
$(use_with postgres pgsql) |
|||
--without-attachsql |
|||
--without-drizzle |
|||
--without-oracle |
|||
--with-system-luajit |
|||
--with-system-ck |
|||
) |
|||
|
|||
econf "${myeconfargs[@]}" |
|||
} |
|||
|
|||
src_test() { |
|||
emake check test |
|||
} |
|||
|
|||
src_install() { |
|||
default |
|||
|
|||
pax-mark m "${ED%/}"/usr/bin/${PN} |
|||
} |
@ -0,0 +1,160 @@ |
|||
# Copyright 1999-2021 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
inherit flag-o-matic systemd toolchain-funcs |
|||
|
|||
MY_P="${P/_/-}" |
|||
|
|||
DESCRIPTION="The GNU Privacy Guard, a GPL OpenPGP implementation" |
|||
HOMEPAGE="https://gnupg.org/" |
|||
SRC_URI="mirror://gnupg/gnupg/${MY_P}.tar.bz2 |
|||
scd-shared-access? ( https://raw.githubusercontent.com/GPGTools/MacGPG2/5ca182f54b7b6cd635d1c0a4713953834489fdd9/patches/gnupg/scdaemon_shared-access.patch -> ${PN}-2.2.16-scdaemon_shared-access.patch )" |
|||
|
|||
LICENSE="GPL-3" |
|||
SLOT="0" |
|||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
|||
IUSE="bzip2 doc ldap nls readline scd-shared-access selinux +smartcard ssl tofu tools usb user-socket wks-server" |
|||
|
|||
# Existence of executables is checked during configuration. |
|||
DEPEND=">=dev-libs/libassuan-2.5.0 |
|||
>=dev-libs/libgcrypt-1.8.0 |
|||
>=dev-libs/libgpg-error-1.29 |
|||
>=dev-libs/libksba-1.3.4 |
|||
>=dev-libs/npth-1.2 |
|||
>=net-misc/curl-7.10 |
|||
bzip2? ( app-arch/bzip2 ) |
|||
ldap? ( net-nds/openldap ) |
|||
readline? ( sys-libs/readline:0= ) |
|||
smartcard? ( usb? ( virtual/libusb:1 ) ) |
|||
ssl? ( >=net-libs/gnutls-3.0:0= ) |
|||
sys-libs/zlib |
|||
tofu? ( >=dev-db/sqlite-3.7 )" |
|||
|
|||
RDEPEND="${DEPEND} |
|||
app-crypt/pinentry |
|||
nls? ( virtual/libintl ) |
|||
selinux? ( sec-policy/selinux-gpg ) |
|||
wks-server? ( virtual/mta )" |
|||
|
|||
BDEPEND="virtual/pkgconfig |
|||
doc? ( sys-apps/texinfo ) |
|||
nls? ( sys-devel/gettext )" |
|||
|
|||
S="${WORKDIR}/${MY_P}" |
|||
|
|||
DOCS=( |
|||
ChangeLog NEWS README THANKS TODO VERSION |
|||
doc/FAQ doc/DETAILS doc/HACKING doc/TRANSLATE doc/OpenPGP doc/KEYSERVER |
|||
) |
|||
|
|||
PATCHES=( |
|||
"${FILESDIR}/${PN}-2.1.20-gpgscm-Use-shorter-socket-path-lengts-to-improve-tes.patch" |
|||
) |
|||
|
|||
src_prepare() { |
|||
default |
|||
|
|||
# Made optional because it's a non-official patch |
|||
if use scd-shared-access ; then |
|||
# Patch taken from |
|||
# https://github.com/GPGTools/MacGPG2/tree/dev/patches/gnupg |
|||
eapply "${DISTDIR}/${PN}-2.2.16-scdaemon_shared-access.patch" |
|||
fi |
|||
|
|||
# Inject SSH_AUTH_SOCK into user's sessions after enabling gpg-agent-ssh.socket in systemctl --user mode, |
|||
# idea borrowed from libdbus, see |
|||
# https://gitlab.freedesktop.org/dbus/dbus/-/blob/master/bus/systemd-user/dbus.socket.in#L6 |
|||
# |
|||
# This cannot be upstreamed, as it requires determining the exact prefix of 'systemctl', |
|||
# which in turn requires discovery in Autoconf, something that upstream deeply resents. |
|||
sed -e "/DirectoryMode=/a ExecStartPost=-${EPREFIX}/bin/systemctl --user set-environment SSH_AUTH_SOCK=%t/gnupg/S.gpg-agent.ssh" \ |
|||
-i doc/examples/systemd-user/gpg-agent-ssh.socket || die |
|||
} |
|||
|
|||
src_configure() { |
|||
local myconf=( |
|||
$(use_enable bzip2) |
|||
$(use_enable nls) |
|||
$(use_enable smartcard scdaemon) |
|||
$(use_enable ssl gnutls) |
|||
$(use_enable tofu) |
|||
$(use smartcard && use_enable usb ccid-driver || echo '--disable-ccid-driver') |
|||
$(use_enable wks-server wks-tools) |
|||
$(use_with ldap) |
|||
$(use_with readline) |
|||
--with-mailprog=/usr/libexec/sendmail |
|||
--disable-ntbtls |
|||
--enable-all-tests |
|||
--enable-gpg |
|||
--enable-gpgsm |
|||
--enable-large-secmem |
|||
CC_FOR_BUILD="$(tc-getBUILD_CC)" |
|||
GPG_ERROR_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpg-error-config" |
|||
KSBA_CONFIG="${ESYSROOT}/usr/bin/ksba-config" |
|||
LIBASSUAN_CONFIG="${ESYSROOT}/usr/bin/libassuan-config" |
|||
LIBGCRYPT_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-libgcrypt-config" |
|||
NPTH_CONFIG="${ESYSROOT}/usr/bin/npth-config" |
|||
$("${S}/configure" --help | grep -o -- '--without-.*-prefix') |
|||
) |
|||
|
|||
if use prefix && use usb; then |
|||
# bug #649598 |
|||
append-cppflags -I"${EPREFIX}/usr/include/libusb-1.0" |
|||
fi |
|||
|
|||
#bug 663142 |
|||
if use user-socket; then |
|||
myconf+=( --enable-run-gnupg-user-socket ) |
|||
fi |
|||
|
|||
# glib fails and picks up clang's internal stdint.h causing weird errors |
|||
[[ ${CC} == *clang ]] && \ |
|||
export gl_cv_absolute_stdint_h=/usr/include/stdint.h |
|||
|
|||
# Hardcode mailprog to /usr/libexec/sendmail even if it does not exist. |
|||
# As of GnuPG 2.3, the mailprog substitution is used for the binary called |
|||
# by wks-client & wks-server; and if it's autodetected but not not exist at |
|||
# build time, then then 'gpg-wks-client --send' functionality will not |
|||
# work. This has an unwanted side-effect in stage3 builds: there was a |
|||
# [R]DEPEND on virtual/mta, which also brought in virtual/logger, bloating |
|||
# the build where the install guide previously make the user chose the |
|||
# logger & mta early in the install. |
|||
|
|||
econf "${myconf[@]}" |
|||
} |
|||
|
|||
src_compile() { |
|||
default |
|||
|
|||
use doc && emake -C doc html |
|||
} |
|||
|
|||
src_test() { |
|||
#Bug: 638574 |
|||
use tofu && export TESTFLAGS=--parallel |
|||
default |
|||
} |
|||
|
|||
src_install() { |
|||
default |
|||
|
|||
use tools && |
|||
dobin \ |
|||
tools/{convert-from-106,gpg-check-pattern} \ |
|||
tools/{gpg-zip,gpgconf,gpgsplit,lspgpot,mail-signed-keys} \ |
|||
tools/make-dns-cert |
|||
|
|||
dosym gpg /usr/bin/gpg2 |
|||
dosym gpgv /usr/bin/gpgv2 |
|||
echo ".so man1/gpg.1" > "${ED}"/usr/share/man/man1/gpg2.1 || die |
|||
echo ".so man1/gpgv.1" > "${ED}"/usr/share/man/man1/gpgv2.1 || die |
|||
|
|||
dodir /etc/env.d |
|||
echo "CONFIG_PROTECT=/usr/share/gnupg/qualified.txt" >> "${ED}"/etc/env.d/30gnupg || die |
|||
|
|||
use doc && dodoc doc/gnupg.html/* doc/*.png |
|||
|
|||
systemd_douserunit doc/examples/systemd-user/*.{service,socket} |
|||
} |
@ -1,3 +1,4 @@ |
|||
DIST kicad-doc-5.1.6.tar.bz2 74202367 BLAKE2B b4d4ff704bf59c7663469f5c4a314a44f1762f8ae5a9fb3abb1a2e8eb54c5dd843f3d095d7e60d0ae541d9e51241fa35ae28c56a495cd0c7e0874d5b1a473296 SHA512 6fae707154aa662689c5da03696d30ebc7442a6d2706cb14d470e91675d0f77c3eb9dd716d29b1eccde5cb0ff39a582a497be2d65d5e34e40defe2fdf97093e0 |
|||
DIST kicad-doc-5.1.7.tar.bz2 74202031 BLAKE2B caa6f6403fe984230cbb1d0b0a75355621f9e371976774e66aac2216994249397082ef8699f0adced0696344a256edd5d47c42ce8d789ebf624d702008f0600a SHA512 72dcfdf3d943dc73bb4f30c9dc9f0cfe7a0c3f8749a04b04624c47e2b69f6be29627e2768d008980ae9ac691aa56c97529edc15741c72e261e4c2c6f3e7b32b4 |
|||
DIST kicad-doc-5.1.8.tar.bz2 74199662 BLAKE2B f1077202a5a5c263f5cb8bf00f4f33ab0515e5abe15ab18bc21de742d6c4e0eafa5e3b1eb9cd12d45446b7a47654c44a67ec980af8ce0ed5d7f3261628c91f24 SHA512 763951f91b3a86d940fc508fc20846752bd2c7a4520e820e37708feb0054993d84a365df5abe10b5c26799479754ca19366456f3eba2ff3ee6acee34908dd699 |
|||
DIST kicad-doc-5.1.9.tar.bz2 74200779 BLAKE2B 9bca24edd9b73a2a532740538dd253a445e8acd1fa56179173be5f231be9781dfd63451e5ad1b4ebe8f676101f0db838f7acc032a5e0b0b21a073332e4978f6b SHA512 5c587fa7fe9611e76537efd8e6a1fc38ce299d1d5a974f27986925c5b6867287b5cd8350d53978e03ea5cff7c2782c1a0c12a5bc64c230973234cf2481a93f71 |
@ -0,0 +1,47 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
inherit cmake |
|||
|
|||
DESCRIPTION="Electronic Schematic and PCB design tools manuals" |
|||
HOMEPAGE="https://docs.kicad.org/" |
|||
SRC_URI="https://gitlab.com/kicad/services/${PN}/-/archive/${PV}/${P}.tar.bz2" |
|||
|
|||
LICENSE="|| ( GPL-3+ CC-BY-3.0 ) GPL-2" |
|||
SLOT="0" |
|||
KEYWORDS="~amd64 ~x86" |
|||
IUSE="html +pdf" |
|||
|
|||
LANG_USE=" l10n_ca l10n_de l10n_en l10n_es l10n_fr l10n_id l10n_it l10n_ja l10n_pl l10n_ru l10n_zh" |
|||
IUSE+=${LANG_USE} |
|||
REQUIRED_USE="|| ( html pdf ) ^^ ( ${LANG_USE} )" |
|||
unset LANG_USE |
|||
|
|||
BDEPEND=" |
|||
>=app-text/asciidoc-8.6.9 |
|||
>=app-text/dblatex-0.3.10 |
|||
>=app-text/po4a-0.45 |
|||
>=sys-devel/gettext-0.18 |
|||
dev-perl/Unicode-LineBreak |
|||
dev-util/source-highlight |
|||
l10n_ca? ( dev-texlive/texlive-langspanish ) |
|||
l10n_de? ( dev-texlive/texlive-langgerman ) |
|||
l10n_en? ( dev-texlive/texlive-langenglish ) |
|||
l10n_es? ( dev-texlive/texlive-langspanish ) |
|||
l10n_fr? ( dev-texlive/texlive-langfrench ) |
|||
l10n_it? ( dev-texlive/texlive-langitalian ) |
|||
l10n_ja? ( dev-texlive/texlive-langjapanese media-fonts/vlgothic ) |
|||
l10n_pl? ( dev-texlive/texlive-langpolish ) |
|||
l10n_ru? ( dev-texlive/texlive-langcyrillic ) |
|||
l10n_zh? ( dev-texlive/texlive-langchinese )" |
|||
|
|||
src_configure() { |
|||
local mycmakeargs=( |
|||
-DBUILD_FORMATS="$(usev html);$(usev pdf)" |
|||
-DSINGLE_LANGUAGE="${L10N}" |
|||
-DKICAD_DOC_PATH="${EPREFIX}/usr/share/doc/${P}/help" |
|||
) |
|||
cmake_src_configure |
|||
} |
@ -1,15 +0,0 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
|||
<pkgmetadata> |
|||
<maintainer type="person"> |
|||
<email>junghans@gentoo.org</email> |
|||
<name>Christoph Junghans</name> |
|||
</maintainer> |
|||
<maintainer type="project"> |
|||
<email>sci-chemistry@gentoo.org</email> |
|||
<name>Gentoo Chemistry Project</name> |
|||
</maintainer> |
|||
<upstream> |
|||
<remote-id type="github">votca/csg-manual</remote-id> |
|||
</upstream> |
|||
</pkgmetadata> |
@ -1,36 +0,0 @@ |
|||
# Copyright 1999-2021 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=6 |
|||
|
|||
CMAKE_MAKEFILE_GENERATOR="ninja" |
|||
|
|||
inherit cmake-utils |
|||
|
|||
IUSE="" |
|||
DEPEND="=sci-chemistry/csg-${PV} )" |
|||
if [ "${PV}" != "9999" ]; then |
|||
SRC_URI="https://github.com/${PN/-//}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
|||
KEYWORDS="~amd64 ~x86 ~amd64-linux" |
|||
S="${WORKDIR}/${P#votca-}" |
|||
else |
|||
inherit git-r3 |
|||
EGIT_REPO_URI="https://github.com/${PN/-//}.git" |
|||
KEYWORDS="" |
|||
fi |
|||
|
|||
DESCRIPTION="Manual for votca-csg" |
|||
HOMEPAGE="http://www.votca.org" |
|||
|
|||
LICENSE="Apache-2.0" |
|||
SLOT="0" |
|||
|
|||
RDEPEND="" |
|||
|
|||
DEPEND=" |
|||
app-doc/doxygen[dot] |
|||
dev-texlive/texlive-latexextra |
|||
virtual/latex-base |
|||
dev-tex/pgf |
|||
>=app-text/txt2tags-2.5 |
|||
~sci-chemistry/votca-csg-${PV}" |
@ -0,0 +1,31 @@ |
|||
https://bugs.gentoo.org/707188 |
|||
--- a/src/cfg.c
|
|||
+++ b/src/cfg.c
|
|||
@@ -22,6 +22,7 @@
|
|||
#include <string.h> |
|||
#endif |
|||
|
|||
+extern char *LPE_CONFIG_FILE;
|
|||
int cfg_errno; |
|||
|
|||
void |
|||
--- a/src/lpe.c
|
|||
+++ b/src/lpe.c
|
|||
@@ -25,6 +25,7 @@
|
|||
#include "strfuncs.h" |
|||
#include "exports.h" |
|||
|
|||
+char *LPE_CONFIG_FILE;
|
|||
/* A flag indicating a desire to quit the editor. This is set whenever a |
|||
* command should cause an exit. |
|||
*/ |
|||
--- a/src/options.h
|
|||
+++ b/src/options.h
|
|||
@@ -38,6 +38,6 @@
|
|||
/* |
|||
* Other things that are used in some places... |
|||
*/ |
|||
-char *LPE_CONFIG_FILE;
|
|||
+extern char *LPE_CONFIG_FILE;
|
|||
|
|||
#endif /* LPE_OPTIONS_H */ |
@ -1,3 +1,4 @@ |
|||
DIST docker-compose-1.27.4.tar.gz 309308 BLAKE2B 098af5e0308de4fe72f8f7d5c9cbdb285ec1cb6fbd492baef8a4223f93591321c585ebabd4c7e4a40d7a1bce3ab2d7ccf4cee1d0a15e7f59bb80eb4df5b6c8d6 SHA512 b41b7cf88b1380021a30f9becb7567d1e154ef875c42b37483673b5107f1a26dae6868b92c6a61f695001eb63759b25f3729e6783272eb784047717cafea3b80 |
|||
DIST docker-compose-1.28.0_rc1.tar.gz 313984 BLAKE2B 3307aab3ec842d21de73ab282905016f6b0934a2ce9d1dde474ea1e7c5894cea028363c03ec9f597cb3e9b2910e9286b2ffb3070885b20787f28767fec909a73 SHA512 87704f16bd2d6551fed0b3d38264e10cf12604f40a68637ac9dacc3aebe618872f54a890aa6bb1412143055021751bcba1b542d51b252e78b0b8948e2b8cc8fd |
|||
DIST docker-compose-1.28.0_rc2.tar.gz 314331 BLAKE2B c2e169152a6da067e47ca7654b3866fd2b46779bbf35f917008dc71a4c70ede1704bd3f6e5f2231b42d50d6d11ae9df402ed1b01832c26d5d14bdb4db33e7432 SHA512 0320f96b177034c5575797540d38981d591fe22d39ee2e1c338589189333c9eac5e595103bc7295b43b90f697b5a09daffa7f611b395e6bcf81fdce3a391eed6 |
|||
DIST docker-compose-1.28.0_rc3.tar.gz 317485 BLAKE2B 5954ebf8224b8701decf7b7c4447592f0a8ce5472e5c9307364c605e2a260ae36c69ceb95b6dc254701650873ea8f443e8767a7ba96bbeec44343b94fb8c5d36 SHA512 0d09d306c38b6c9990f5801fe12c7554694f1a270c13babeb8aecda06c428f4c8d37153439c43fd02fe3ffd59fe4f38ad48d066abfb81fcc1ce8e23e6b353ef3 |
@ -0,0 +1,73 @@ |
|||
# Copyright 2018-2021 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
PYTHON_COMPAT=( python3_{6,7,8,9} ) |
|||
DISTUTILS_USE_SETUPTOOLS=rdepend |
|||
|
|||
inherit bash-completion-r1 distutils-r1 |
|||
|
|||
MY_PV=${PV/_/-} |
|||
DESCRIPTION="Multi-container orchestration for Docker" |
|||
HOMEPAGE="https://github.com/docker/compose" |
|||
SRC_URI="https://github.com/docker/compose/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" |
|||
|
|||
LICENSE="Apache-2.0" |
|||
SLOT="0" |
|||
KEYWORDS="~amd64 ~arm64" |
|||
IUSE="test" |
|||
RESTRICT="!test? ( test )" |
|||
|
|||
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
|||
>=dev-python/cached-property-1.2.0[${PYTHON_USEDEP}] |
|||
>=dev-python/distro-1.5.0[${PYTHON_USEDEP}] |
|||
>=dev-python/docker-py-4.4.0[${PYTHON_USEDEP}] |
|||
>=dev-python/dockerpty-0.4.1[${PYTHON_USEDEP}] |
|||
>=dev-python/docopt-0.6.1[${PYTHON_USEDEP}] |
|||
>=dev-python/python-dotenv-0.13.0[${PYTHON_USEDEP}] |
|||
>=dev-python/jsonschema-2.5.1[${PYTHON_USEDEP}] |
|||
dev-python/paramiko[${PYTHON_USEDEP}] |
|||
>=dev-python/PySocks-1.6.0[${PYTHON_USEDEP}] |
|||
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] |
|||
>=dev-python/requests-2.20.0[${PYTHON_USEDEP}] |
|||
>=dev-python/six-1.3.0[${PYTHON_USEDEP}] |
|||
>=dev-python/texttable-0.9.0[${PYTHON_USEDEP}] |
|||
>=dev-python/websocket-client-0.32.0[${PYTHON_USEDEP}]" |
|||
|
|||
DEPEND="${RDEPEND} |
|||
test? ( |
|||
>=dev-python/pytest-5[${PYTHON_USEDEP}] |
|||
>=dev-python/ddt-1.2.2[${PYTHON_USEDEP}] |
|||
)" |
|||
|
|||
S="${WORKDIR}/compose-${MY_PV}" |
|||
|
|||
PATCHES=( |
|||
# Bug #679968 -- https://bugs.gentoo.org/679968 |
|||
# Bug #681002 -- https://bugs.gentoo.org/681002 |
|||
"${FILESDIR}"/${PN}-1.28.0_rc2-setup-py.patch |
|||
) |
|||
|
|||
DOCS=( CHANGELOG.md README.md ) |
|||
|
|||
src_prepare() { |
|||
# Address QA issue "docker-compose.exe: missing alias (symlink) for completed command." |
|||
sed 's,^\(complete.*\) docker-compose\.exe\(.*\),\1\2,' -i contrib/completion/bash/docker-compose || die |
|||
|
|||
default |
|||
} |
|||
|
|||
python_test() { |
|||
distutils_install_for_testing |
|||
${PYTHON} -m pytest tests/unit/ || die "tests failed under ${EPYTHON}" |
|||
} |
|||
|
|||
python_install_all() { |
|||
newbashcomp contrib/completion/bash/docker-compose ${PN} |
|||
|
|||
insinto /usr/share/zsh/site-functions |
|||
doins contrib/completion/zsh/* |
|||
|
|||
distutils-r1_python_install_all |
|||
} |
@ -0,0 +1,151 @@ |
|||
--- a/geekcode.c
|
|||
+++ b/geekcode.c
|
|||
@@ -24,6 +24,55 @@
|
|||
#include <sys/stat.h> |
|||
#include "geekcode.h" |
|||
|
|||
+/* Geek type - gc_type.c */
|
|||
+int get_type(void), gc_type;
|
|||
+
|
|||
+/* Appearance section - gc_appearance.c */
|
|||
+int get_dress(void), gc_dress;
|
|||
+int get_height(void), gc_height;
|
|||
+int get_weight(void), gc_weight;
|
|||
+int get_age(void), gc_age;
|
|||
+
|
|||
+/* Computers section - gc_computers.c */
|
|||
+int get_computers(void), gc_computers;
|
|||
+int get_unix_type(void), gc_unix_type; /* Added in v1.1 */
|
|||
+int get_unix(int x), gc_unix;
|
|||
+int get_perl(void), gc_perl;
|
|||
+int get_linux(void), gc_linux;
|
|||
+int get_emacs(void), gc_emacs;
|
|||
+int get_www(void), gc_www;
|
|||
+int get_usenet(void), gc_usenet;
|
|||
+int get_oracle(void), gc_oracle;
|
|||
+int get_kibo(void), gc_kibo;
|
|||
+int get_windows(void), gc_windows;
|
|||
+int get_os2(void), gc_os2;
|
|||
+int get_mac(void), gc_mac;
|
|||
+int get_vms(void), gc_vms;
|
|||
+
|
|||
+/* Politics section - gc_politics.c */
|
|||
+int get_social(void), gc_social;
|
|||
+int get_economic(void), gc_economic;
|
|||
+int get_cypher(void), gc_cypher;
|
|||
+int get_pgp(void), gc_pgp;
|
|||
+
|
|||
+/* Entertainment section - gc_entertainment.c */
|
|||
+int get_startrek(void), gc_startrek;
|
|||
+int get_babylon5(void), gc_babylon5;
|
|||
+int get_xfiles(void), gc_xfiles;
|
|||
+int get_rp(void), gc_rp;
|
|||
+int get_television(void), gc_television;
|
|||
+int get_books(void), gc_books;
|
|||
+int get_dilbert(void), gc_dilbert;
|
|||
+int get_doom(void), gc_doom;
|
|||
+int get_geekcode(void), gc_geekcode;
|
|||
+
|
|||
+/* Lifestyle section - gc_lifestyle.c */
|
|||
+int get_education(void), gc_education;
|
|||
+int get_housing(void), gc_housing;
|
|||
+int get_relationships(void), gc_relationships;
|
|||
+int get_sex_type(void), gc_sex_type; /* Added in v1.2 */
|
|||
+int get_sex(int x), gc_sex; /* Modified in v1.2 */
|
|||
+
|
|||
int readgeek(char geekcode[64][16],char *data,int *j,int *k){ |
|||
int i; |
|||
|
|||
--- a/geekcode.h
|
|||
+++ b/geekcode.h
|
|||
@@ -34,53 +34,53 @@
|
|||
*/ |
|||
|
|||
/* Geek type - gc_type.c */ |
|||
-int get_type(void), gc_type;
|
|||
+extern int get_type(void), gc_type;
|
|||
|
|||
/* Appearance section - gc_appearance.c */ |
|||
-int get_dress(void), gc_dress;
|
|||
-int get_height(void), gc_height;
|
|||
-int get_weight(void), gc_weight;
|
|||
-int get_age(void), gc_age;
|
|||
+extern int get_dress(void), gc_dress;
|
|||
+extern int get_height(void), gc_height;
|
|||
+extern int get_weight(void), gc_weight;
|
|||
+extern int get_age(void), gc_age;
|
|||
|
|||
/* Computers section - gc_computers.c */ |
|||
-int get_computers(void), gc_computers;
|
|||
-int get_unix_type(void), gc_unix_type; /* Added in v1.1 */
|
|||
-int get_unix(int x), gc_unix;
|
|||
-int get_perl(void), gc_perl;
|
|||
-int get_linux(void), gc_linux;
|
|||
-int get_emacs(void), gc_emacs;
|
|||
-int get_www(void), gc_www;
|
|||
-int get_usenet(void), gc_usenet;
|
|||
-int get_oracle(void), gc_oracle;
|
|||
-int get_kibo(void), gc_kibo;
|
|||
-int get_windows(vo |