1700 changed files with 36507 additions and 30834 deletions
-
BINManifest.files.gz
-
BINapp-admin/Manifest.gz
-
103app-admin/apache-tools/apache-tools-2.4.46-r1.ebuild
-
103app-admin/apache-tools/apache-tools-2.4.46.ebuild
-
103app-admin/apache-tools/apache-tools-2.4.47-r1.ebuild
-
103app-admin/apache-tools/apache-tools-2.4.47.ebuild
-
103app-admin/apache-tools/apache-tools-2.4.48-r1.ebuild
-
103app-admin/apache-tools/apache-tools-2.4.48.ebuild
-
1app-admin/awscli/Manifest
-
58app-admin/awscli/awscli-1.19.98.ebuild
-
2app-admin/diamond/Manifest
-
102app-admin/diamond/diamond-4.0.515.20170311-r1.ebuild
-
84app-admin/diamond/diamond-4.0.515.20200620-r1.ebuild
-
2app-admin/diamond/files/diamond.confd
-
24app-admin/diamond/files/diamond.initd
-
22app-admin/diamond/metadata.xml
-
1app-admin/terraform/Manifest
-
1075app-admin/terraform/terraform-1.0.0.ebuild
-
BINapp-arch/Manifest.gz
-
1app-arch/tarlz/Manifest
-
8app-arch/tarlz/metadata.xml
-
27app-arch/tarlz/tarlz-0.21.ebuild
-
BINapp-benchmarks/Manifest.gz
-
49app-benchmarks/stress-ng/stress-ng-0.12.09-r1.ebuild
-
48app-benchmarks/stress-ng/stress-ng-0.12.09.ebuild
-
42app-benchmarks/stress-ng/stress-ng-0.12.10-r1.ebuild
-
41app-benchmarks/stress-ng/stress-ng-0.12.10.ebuild
-
BINapp-crypt/Manifest.gz
-
187app-crypt/heimdal/heimdal-7.7.0-r1.ebuild
-
188app-crypt/heimdal/heimdal-7.7.0-r2.ebuild
-
133app-crypt/johntheripper-jumbo/johntheripper-jumbo-1.9.0-r1.ebuild
-
133app-crypt/johntheripper-jumbo/johntheripper-jumbo-1.9.0-r2.ebuild
-
2app-crypt/johntheripper-jumbo/johntheripper-jumbo-9999.ebuild
-
167app-crypt/mit-krb5/mit-krb5-1.18.2-r3.ebuild
-
166app-crypt/mit-krb5/mit-krb5-1.18.2-r4.ebuild
-
165app-crypt/mit-krb5/mit-krb5-1.18.3-r1.ebuild
-
164app-crypt/mit-krb5/mit-krb5-1.18.3-r2.ebuild
-
161app-crypt/mit-krb5/mit-krb5-1.19.1-r1.ebuild
-
162app-crypt/mit-krb5/mit-krb5-1.19.1.ebuild
-
BINapp-emulation/Manifest.gz
-
142app-emulation/open-vm-tools/open-vm-tools-11.2.0_p16938113-r1.ebuild
-
142app-emulation/open-vm-tools/open-vm-tools-11.2.0_p16938113-r2.ebuild
-
143app-emulation/open-vm-tools/open-vm-tools-11.2.5_p17337674-r1.ebuild
-
143app-emulation/open-vm-tools/open-vm-tools-11.2.5_p17337674.ebuild
-
1app-emulation/vice/metadata.xml
-
131app-emulation/vice/vice-3.5.ebuild
-
BINapp-forensics/Manifest.gz
-
307app-forensics/sleuthkit/sleuthkit-4.10.1-r1.ebuild
-
307app-forensics/sleuthkit/sleuthkit-4.10.1-r2.ebuild
-
303app-forensics/sleuthkit/sleuthkit-4.9.0-r1.ebuild
-
303app-forensics/sleuthkit/sleuthkit-4.9.0.ebuild
-
BINapp-misc/Manifest.gz
-
2app-misc/OpenRGB/Manifest
-
53app-misc/OpenRGB/OpenRGB-0.5.ebuild
-
58app-misc/OpenRGB/OpenRGB-9999.ebuild
-
58app-misc/carbon-c-relay/carbon-c-relay-3.5-r1.ebuild
-
58app-misc/carbon-c-relay/carbon-c-relay-3.5.ebuild
-
63app-misc/carbon-c-relay/carbon-c-relay-3.6-r1.ebuild
-
63app-misc/carbon-c-relay/carbon-c-relay-3.6.ebuild
-
58app-misc/carbon-c-relay/carbon-c-relay-3.7.2-r1.ebuild
-
58app-misc/carbon-c-relay/carbon-c-relay-3.7.2.ebuild
-
1app-misc/klavaro/klavaro-3.0.1-r1.ebuild
-
1app-misc/openrgb-plugin-effects/Manifest
-
15app-misc/openrgb-plugin-effects/metadata.xml
-
47app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20210619.ebuild
-
1app-misc/openrgb-plugin-skin/Manifest
-
15app-misc/openrgb-plugin-skin/metadata.xml
-
46app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0_p20210601.ebuild
-
1app-misc/openrgb-plugin-visualmap/Manifest
-
15app-misc/openrgb-plugin-visualmap/metadata.xml
-
47app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20210614.ebuild
-
1app-misc/openrgb/Manifest
-
0app-misc/openrgb/files/OpenRGB-0.5-build-system.patch
-
0app-misc/openrgb/files/OpenRGB-0.6-pkgconf.patch
-
24app-misc/openrgb/files/OpenRGB-0.6-plugins.patch
-
0app-misc/openrgb/metadata.xml
-
75app-misc/openrgb/openrgb-0.6-r1.ebuild
-
0app-misc/openrgb/openrgb-0.6.ebuild
-
76app-misc/openrgb/openrgb-9999.ebuild
-
159app-misc/screen/screen-4.8.0-r2.ebuild
-
160app-misc/screen/screen-4.8.0-r3.ebuild
-
1app-misc/screen/screen-9999.ebuild
-
1app-misc/tmuxp/Manifest
-
10app-misc/tmuxp/files/tmuxp-1.9.2-relax-click-dep.patch
-
13app-misc/tmuxp/files/tmuxp-1.9.2-tests.patch
-
43app-misc/tmuxp/tmuxp-1.9.2.ebuild
-
BINapp-shells/Manifest.gz
-
106app-shells/tcsh/tcsh-6.22.02-r1.ebuild
-
105app-shells/tcsh/tcsh-6.22.02.ebuild
-
110app-shells/tcsh/tcsh-6.22.04-r1.ebuild
-
109app-shells/tcsh/tcsh-6.22.04.ebuild
-
BINapp-text/Manifest.gz
-
1app-text/pdfgrep/Manifest
-
33app-text/pdfgrep/pdfgrep-2.0.1.ebuild
-
2app-text/qpdf/qpdf-10.3.2.ebuild
-
BINdev-db/Manifest.gz
-
294dev-db/mysql-connector-c/files/mysql-connector-c-8.0.25-add-OpenSSL-3.0.0-support.patch
-
122dev-db/mysql-connector-c/mysql-connector-c-8.0.25-r1.ebuild
-
2dev-db/mysql/Manifest
-
1262dev-db/mysql/mysql-5.7.34-r1.ebuild
@ -0,0 +1,103 @@ |
|||
# Copyright 1999-2021 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
inherit flag-o-matic multilib toolchain-funcs |
|||
|
|||
DESCRIPTION="Useful Apache tools - htdigest, htpasswd, ab, htdbm" |
|||
HOMEPAGE="https://httpd.apache.org/" |
|||
SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2" |
|||
|
|||
LICENSE="Apache-2.0" |
|||
SLOT="0" |
|||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc64-solaris ~x64-solaris" |
|||
IUSE="ssl" |
|||
RESTRICT="test" |
|||
|
|||
RDEPEND=">=dev-libs/apr-1.5.0:1= |
|||
dev-libs/apr-util:1= |
|||
dev-libs/expat |
|||
dev-libs/libpcre |
|||
virtual/libcrypt:= |
|||
kernel_linux? ( sys-apps/util-linux ) |
|||
ssl? ( dev-libs/openssl:0= )" |
|||
DEPEND="${RDEPEND} |
|||
sys-devel/libtool" |
|||
BDEPEND="virtual/pkgconfig" |
|||
|
|||
S="${WORKDIR}/httpd-${PV}" |
|||
|
|||
PATCHES=( |
|||
"${FILESDIR}/${PN}-2.4.7-Makefile.patch" #459446 |
|||
) |
|||
|
|||
src_prepare() { |
|||
default |
|||
|
|||
# This package really should upgrade to using pcre's .pc file. |
|||
cat <<-\EOF >"${T}"/pcre-config |
|||
#!/bin/bash |
|||
flags=() |
|||
for flag; do |
|||
if [[ ${flag} == "--version" ]]; then |
|||
flags+=( --modversion ) |
|||
else |
|||
flags+=( "${flag}" ) |
|||
fi |
|||
done |
|||
exec ${PKG_CONFIG} libpcre "${flags[@]}" |
|||
EOF |
|||
chmod a+x "${T}"/pcre-config || die |
|||
} |
|||
|
|||
src_configure() { |
|||
# Brain dead check. |
|||
tc-is-cross-compiler && export ap_cv_void_ptr_lt_long="no" |
|||
|
|||
tc-export PKG_CONFIG |
|||
|
|||
local myeconfargs=( |
|||
--libexecdir="${EPREFIX}"/usr/$(get_libdir)/apache2/modules |
|||
--sbindir="${EPREFIX}"/usr/sbin |
|||
--with-perl="${EPREFIX}"/usr/bin/perl |
|||
--with-expat="${EPREFIX}"/usr |
|||
--with-z="${EPREFIX}"/usr |
|||
--with-apr="${SYSROOT}${EPREFIX}"/usr |
|||
--with-apr-util="${SYSROOT}${EPREFIX}"/usr |
|||
--with-pcre="${T}"/pcre-config |
|||
$(use_enable ssl) |
|||
$(usex ssl '--with-ssl="${EPREFIX}"/usr' '') |
|||
) |
|||
# econf overwrites the stuff from config.layout. |
|||
ac_cv_path_PKGCONFIG=${PKG_CONFIG} \ |
|||
econf "${myeconfargs[@]}" |
|||
sed -i \ |
|||
-e '/^LTFLAGS/s:--silent::' \ |
|||
build/rules.mk build/config_vars.mk || die |
|||
} |
|||
|
|||
src_compile() { |
|||
emake -C support |
|||
} |
|||
|
|||
src_install() { |
|||
emake -C support DESTDIR="${D}" install |
|||
dodoc CHANGES |
|||
doman docs/man/{dbmmanage,htdigest,htpasswd,htdbm,ab,logresolve}.1 \ |
|||
docs/man/{htcacheclean,rotatelogs}.8 |
|||
|
|||
# Providing compatiblity symlinks for #177697 (which we'll stop to install |
|||
# at some point). |
|||
pushd "${ED}"/usr/sbin >/dev/null || die |
|||
local i |
|||
for i in *; do |
|||
dosym ${i} /usr/sbin/${i}2 |
|||
done |
|||
popd >/dev/null || die |
|||
|
|||
# Provide a symlink for ab-ssl |
|||
if use ssl ; then |
|||
dosym ab /usr/bin/ab-ssl |
|||
dosym ab /usr/bin/ab2-ssl |
|||
fi |
|||
} |
@ -1,103 +0,0 @@ |
|||
# Copyright 1999-2021 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
inherit flag-o-matic multilib toolchain-funcs |
|||
|
|||
DESCRIPTION="Useful Apache tools - htdigest, htpasswd, ab, htdbm" |
|||
HOMEPAGE="https://httpd.apache.org/" |
|||
SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2" |
|||
|
|||
LICENSE="Apache-2.0" |
|||
SLOT="0" |
|||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc64-solaris ~x64-solaris" |
|||
IUSE="ssl" |
|||
RESTRICT="test" |
|||
|
|||
RDEPEND=">=dev-libs/apr-1.5.0:1= |
|||
dev-libs/apr-util:1= |
|||
dev-libs/expat |
|||
dev-libs/libpcre |
|||
kernel_linux? ( sys-apps/util-linux ) |
|||
ssl? ( dev-libs/openssl:0= )" |
|||
|
|||
DEPEND="${RDEPEND} |
|||
sys-devel/libtool" |
|||
BDEPEND="virtual/pkgconfig" |
|||
|
|||
S="${WORKDIR}/httpd-${PV}" |
|||
|
|||
PATCHES=( |
|||
"${FILESDIR}/${PN}-2.4.7-Makefile.patch" #459446 |
|||
) |
|||
|
|||
src_prepare() { |
|||
default |
|||
|
|||
# This package really should upgrade to using pcre's .pc file. |
|||
cat <<-\EOF >"${T}"/pcre-config |
|||
#!/bin/bash |
|||
flags=() |
|||
for flag; do |
|||
if [[ ${flag} == "--version" ]]; then |
|||
flags+=( --modversion ) |
|||
else |
|||
flags+=( "${flag}" ) |
|||
fi |
|||
done |
|||
exec ${PKG_CONFIG} libpcre "${flags[@]}" |
|||
EOF |
|||
chmod a+x "${T}"/pcre-config || die |
|||
} |
|||
|
|||
src_configure() { |
|||
# Brain dead check. |
|||
tc-is-cross-compiler && export ap_cv_void_ptr_lt_long="no" |
|||
|
|||
tc-export PKG_CONFIG |
|||
|
|||
local myeconfargs=( |
|||
--libexecdir="${EPREFIX}"/usr/$(get_libdir)/apache2/modules |
|||
--sbindir="${EPREFIX}"/usr/sbin |
|||
--with-perl="${EPREFIX}"/usr/bin/perl |
|||
--with-expat="${EPREFIX}"/usr |
|||
--with-z="${EPREFIX}"/usr |
|||
--with-apr="${SYSROOT}${EPREFIX}"/usr |
|||
--with-apr-util="${SYSROOT}${EPREFIX}"/usr |
|||
--with-pcre="${T}"/pcre-config |
|||
$(use_enable ssl) |
|||
$(usex ssl '--with-ssl="${EPREFIX}"/usr' '') |
|||
) |
|||
# econf overwrites the stuff from config.layout. |
|||
ac_cv_path_PKGCONFIG=${PKG_CONFIG} \ |
|||
econf "${myeconfargs[@]}" |
|||
sed -i \ |
|||
-e '/^LTFLAGS/s:--silent::' \ |
|||
build/rules.mk build/config_vars.mk || die |
|||
} |
|||
|
|||
src_compile() { |
|||
emake -C support |
|||
} |
|||
|
|||
src_install() { |
|||
emake -C support DESTDIR="${D}" install |
|||
dodoc CHANGES |
|||
doman docs/man/{dbmmanage,htdigest,htpasswd,htdbm,ab,logresolve}.1 \ |
|||
docs/man/{htcacheclean,rotatelogs}.8 |
|||
|
|||
# Providing compatiblity symlinks for #177697 (which we'll stop to install |
|||
# at some point). |
|||
pushd "${ED}"/usr/sbin >/dev/null || die |
|||
local i |
|||
for i in *; do |
|||
dosym ${i} /usr/sbin/${i}2 |
|||
done |
|||
popd >/dev/null || die |
|||
|
|||
# Provide a symlink for ab-ssl |
|||
if use ssl ; then |
|||
dosym ab /usr/bin/ab-ssl |
|||
dosym ab /usr/bin/ab2-ssl |
|||
fi |
|||
} |
@ -0,0 +1,103 @@ |
|||
# Copyright 1999-2021 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
inherit flag-o-matic multilib toolchain-funcs |
|||
|
|||
DESCRIPTION="Useful Apache tools - htdigest, htpasswd, ab, htdbm" |
|||
HOMEPAGE="https://httpd.apache.org/" |
|||
SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2" |
|||
|
|||
LICENSE="Apache-2.0" |
|||
SLOT="0" |
|||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc64-solaris ~x64-solaris" |
|||
IUSE="ssl" |
|||
RESTRICT="test" |
|||
|
|||
RDEPEND=">=dev-libs/apr-1.5.0:1= |
|||
dev-libs/apr-util:1= |
|||
dev-libs/expat |
|||
dev-libs/libpcre |
|||
virtual/libcrypt:= |
|||
kernel_linux? ( sys-apps/util-linux ) |
|||
ssl? ( dev-libs/openssl:0= )" |
|||
DEPEND="${RDEPEND} |
|||
sys-devel/libtool" |
|||
BDEPEND="virtual/pkgconfig" |
|||
|
|||
S="${WORKDIR}/httpd-${PV}" |
|||
|
|||
PATCHES=( |
|||
"${FILESDIR}/${PN}-2.4.7-Makefile.patch" #459446 |
|||
) |
|||
|
|||
src_prepare() { |
|||
default |
|||
|
|||
# This package really should upgrade to using pcre's .pc file. |
|||
cat <<-\EOF >"${T}"/pcre-config |
|||
#!/bin/bash |
|||
flags=() |
|||
for flag; do |
|||
if [[ ${flag} == "--version" ]]; then |
|||
flags+=( --modversion ) |
|||
else |
|||
flags+=( "${flag}" ) |
|||
fi |
|||
done |
|||
exec ${PKG_CONFIG} libpcre "${flags[@]}" |
|||
EOF |
|||
chmod a+x "${T}"/pcre-config || die |
|||
} |
|||
|
|||
src_configure() { |
|||
# Brain dead check. |
|||
tc-is-cross-compiler && export ap_cv_void_ptr_lt_long="no" |
|||
|
|||
tc-export PKG_CONFIG |
|||
|
|||
local myeconfargs=( |
|||
--libexecdir="${EPREFIX}"/usr/$(get_libdir)/apache2/modules |
|||
--sbindir="${EPREFIX}"/usr/sbin |
|||
--with-perl="${EPREFIX}"/usr/bin/perl |
|||
--with-expat="${EPREFIX}"/usr |
|||
--with-z="${EPREFIX}"/usr |
|||
--with-apr="${SYSROOT}${EPREFIX}"/usr |
|||
--with-apr-util="${SYSROOT}${EPREFIX}"/usr |
|||
--with-pcre="${T}"/pcre-config |
|||
$(use_enable ssl) |
|||
$(usex ssl '--with-ssl="${EPREFIX}"/usr' '') |
|||
) |
|||
# econf overwrites the stuff from config.layout. |
|||
ac_cv_path_PKGCONFIG="${PKG_CONFIG}" \ |
|||
econf "${myeconfargs[@]}" |
|||
sed -i \ |
|||
-e '/^LTFLAGS/s:--silent::' \ |
|||
build/rules.mk build/config_vars.mk || die |
|||
} |
|||
|
|||
src_compile() { |
|||
emake -C support |
|||
} |
|||
|
|||
src_install() { |
|||
emake -C support DESTDIR="${D}" install |
|||
dodoc CHANGES |
|||
doman docs/man/{dbmmanage,htdigest,htpasswd,htdbm,ab,logresolve}.1 \ |
|||
docs/man/{htcacheclean,rotatelogs}.8 |
|||
|
|||
# Providing compatiblity symlinks for #177697 (which we'll stop to install |
|||
# at some point). |
|||
pushd "${ED}"/usr/sbin >/dev/null || die |
|||
local i |
|||
for i in *; do |
|||
dosym ${i} /usr/sbin/${i}2 |
|||
done |
|||
popd >/dev/null || die |
|||
|
|||
# Provide a symlink for ab-ssl |
|||
if use ssl ; then |
|||
dosym ab /usr/bin/ab-ssl |
|||
dosym ab /usr/bin/ab2-ssl |
|||
fi |
|||
} |
@ -1,103 +0,0 @@ |
|||
# Copyright 1999-2021 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
inherit flag-o-matic multilib toolchain-funcs |
|||
|
|||
DESCRIPTION="Useful Apache tools - htdigest, htpasswd, ab, htdbm" |
|||
HOMEPAGE="https://httpd.apache.org/" |
|||
SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2" |
|||
|
|||
LICENSE="Apache-2.0" |
|||
SLOT="0" |
|||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc64-solaris ~x64-solaris" |
|||
IUSE="ssl" |
|||
RESTRICT="test" |
|||
|
|||
RDEPEND=">=dev-libs/apr-1.5.0:1= |
|||
dev-libs/apr-util:1= |
|||
dev-libs/expat |
|||
dev-libs/libpcre |
|||
kernel_linux? ( sys-apps/util-linux ) |
|||
ssl? ( dev-libs/openssl:0= )" |
|||
|
|||
DEPEND="${RDEPEND} |
|||
sys-devel/libtool" |
|||
BDEPEND="virtual/pkgconfig" |
|||
|
|||
S="${WORKDIR}/httpd-${PV}" |
|||
|
|||
PATCHES=( |
|||
"${FILESDIR}/${PN}-2.4.7-Makefile.patch" #459446 |
|||
) |
|||
|
|||
src_prepare() { |
|||
default |
|||
|
|||
# This package really should upgrade to using pcre's .pc file. |
|||
cat <<-\EOF >"${T}"/pcre-config |
|||
#!/bin/bash |
|||
flags=() |
|||
for flag; do |
|||
if [[ ${flag} == "--version" ]]; then |
|||
flags+=( --modversion ) |
|||
else |
|||
flags+=( "${flag}" ) |
|||
fi |
|||
done |
|||
exec ${PKG_CONFIG} libpcre "${flags[@]}" |
|||
EOF |
|||
chmod a+x "${T}"/pcre-config || die |
|||
} |
|||
|
|||
src_configure() { |
|||
# Brain dead check. |
|||
tc-is-cross-compiler && export ap_cv_void_ptr_lt_long="no" |
|||
|
|||
tc-export PKG_CONFIG |
|||
|
|||
local myeconfargs=( |
|||
--libexecdir="${EPREFIX}"/usr/$(get_libdir)/apache2/modules |
|||
--sbindir="${EPREFIX}"/usr/sbin |
|||
--with-perl="${EPREFIX}"/usr/bin/perl |
|||
--with-expat="${EPREFIX}"/usr |
|||
--with-z="${EPREFIX}"/usr |
|||
--with-apr="${SYSROOT}${EPREFIX}"/usr |
|||
--with-apr-util="${SYSROOT}${EPREFIX}"/usr |
|||
--with-pcre="${T}"/pcre-config |
|||
$(use_enable ssl) |
|||
$(usex ssl '--with-ssl="${EPREFIX}"/usr' '') |
|||
) |
|||
# econf overwrites the stuff from config.layout. |
|||
ac_cv_path_PKGCONFIG="${PKG_CONFIG}" \ |
|||
econf "${myeconfargs[@]}" |
|||
sed -i \ |
|||
-e '/^LTFLAGS/s:--silent::' \ |
|||
build/rules.mk build/config_vars.mk || die |
|||
} |
|||
|
|||
src_compile() { |
|||
emake -C support |
|||
} |
|||
|
|||
src_install() { |
|||
emake -C support DESTDIR="${D}" install |
|||
dodoc CHANGES |
|||
doman docs/man/{dbmmanage,htdigest,htpasswd,htdbm,ab,logresolve}.1 \ |
|||
docs/man/{htcacheclean,rotatelogs}.8 |
|||
|
|||
# Providing compatiblity symlinks for #177697 (which we'll stop to install |
|||
# at some point). |
|||
pushd "${ED}"/usr/sbin >/dev/null || die |
|||
local i |
|||
for i in *; do |
|||
dosym ${i} /usr/sbin/${i}2 |
|||
done |
|||
popd >/dev/null || die |
|||
|
|||
# Provide a symlink for ab-ssl |
|||
if use ssl ; then |
|||
dosym ab /usr/bin/ab-ssl |
|||
dosym ab /usr/bin/ab2-ssl |
|||
fi |
|||
} |
@ -0,0 +1,103 @@ |
|||
# Copyright 1999-2021 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
inherit flag-o-matic multilib toolchain-funcs |
|||
|
|||
DESCRIPTION="Useful Apache tools - htdigest, htpasswd, ab, htdbm" |
|||
HOMEPAGE="https://httpd.apache.org/" |
|||
SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2" |
|||
|
|||
LICENSE="Apache-2.0" |
|||
SLOT="0" |
|||
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc64-solaris ~x64-solaris" |
|||
IUSE="ssl" |
|||
RESTRICT="test" |
|||
|
|||
RDEPEND=">=dev-libs/apr-1.5.0:1= |
|||
dev-libs/apr-util:1= |
|||
dev-libs/expat |
|||
dev-libs/libpcre |
|||
virtual/libcrypt:= |
|||
kernel_linux? ( sys-apps/util-linux ) |
|||
ssl? ( dev-libs/openssl:0= )" |
|||
DEPEND="${RDEPEND} |
|||
sys-devel/libtool" |
|||
BDEPEND="virtual/pkgconfig" |
|||
|
|||
S="${WORKDIR}/httpd-${PV}" |
|||
|
|||
PATCHES=( |
|||
"${FILESDIR}/${PN}-2.4.7-Makefile.patch" #459446 |
|||
) |
|||
|
|||
src_prepare() { |
|||
default |
|||
|
|||
# This package really should upgrade to using pcre's .pc file. |
|||
cat <<-\EOF >"${T}"/pcre-config |
|||
#!/bin/bash |
|||
flags=() |
|||
for flag; do |
|||
if [[ ${flag} == "--version" ]]; then |
|||
flags+=( --modversion ) |
|||
else |
|||
flags+=( "${flag}" ) |
|||
fi |
|||
done |
|||
exec ${PKG_CONFIG} libpcre "${flags[@]}" |
|||
EOF |
|||
chmod a+x "${T}"/pcre-config || die |
|||
} |
|||
|
|||
src_configure() { |
|||
# Brain dead check. |
|||
tc-is-cross-compiler && export ap_cv_void_ptr_lt_long="no" |
|||
|
|||
tc-export PKG_CONFIG |
|||
|
|||
local myeconfargs=( |
|||
--libexecdir="${EPREFIX}"/usr/$(get_libdir)/apache2/modules |
|||
--sbindir="${EPREFIX}"/usr/sbin |
|||
--with-perl="${EPREFIX}"/usr/bin/perl |
|||
--with-expat="${EPREFIX}"/usr |
|||
--with-z="${EPREFIX}"/usr |
|||
--with-apr="${SYSROOT}${EPREFIX}"/usr |
|||
--with-apr-util="${SYSROOT}${EPREFIX}"/usr |
|||
--with-pcre="${T}"/pcre-config |
|||
$(use_enable ssl) |
|||
$(usex ssl '--with-ssl="${EPREFIX}"/usr' '') |
|||
) |
|||
# econf overwrites the stuff from config.layout. |
|||
ac_cv_path_PKGCONFIG="${PKG_CONFIG}" \ |
|||
econf "${myeconfargs[@]}" |
|||
sed -i \ |
|||
-e '/^LTFLAGS/s:--silent::' \ |
|||
build/rules.mk build/config_vars.mk || die |
|||
} |
|||
|
|||
src_compile() { |
|||
emake -C support |
|||
} |
|||
|
|||
src_install() { |
|||
emake -C support DESTDIR="${D}" install |
|||
dodoc CHANGES |
|||
doman docs/man/{dbmmanage,htdigest,htpasswd,htdbm,ab,logresolve}.1 \ |
|||
docs/man/{htcacheclean,rotatelogs}.8 |
|||
|
|||
# Providing compatiblity symlinks for #177697 (which we'll stop to install |
|||
# at some point). |
|||
pushd "${ED}"/usr/sbin >/dev/null || die |
|||
local i |
|||
for i in *; do |
|||
dosym ${i} /usr/sbin/${i}2 |
|||
done |
|||
popd >/dev/null || die |
|||
|
|||
# Provide a symlink for ab-ssl |
|||
if use ssl ; then |
|||
dosym ab /usr/bin/ab-ssl |
|||
dosym ab /usr/bin/ab2-ssl |
|||
fi |
|||
} |
@ -1,103 +0,0 @@ |
|||
# Copyright 1999-2021 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
inherit flag-o-matic multilib toolchain-funcs |
|||
|
|||
DESCRIPTION="Useful Apache tools - htdigest, htpasswd, ab, htdbm" |
|||
HOMEPAGE="https://httpd.apache.org/" |
|||
SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2" |
|||
|
|||
LICENSE="Apache-2.0" |
|||
SLOT="0" |
|||
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc64-solaris ~x64-solaris" |
|||
IUSE="ssl" |
|||
RESTRICT="test" |
|||
|
|||
RDEPEND=">=dev-libs/apr-1.5.0:1= |
|||
dev-libs/apr-util:1= |
|||
dev-libs/expat |
|||
dev-libs/libpcre |
|||
kernel_linux? ( sys-apps/util-linux ) |
|||
ssl? ( dev-libs/openssl:0= )" |
|||
|
|||
DEPEND="${RDEPEND} |
|||
sys-devel/libtool" |
|||
BDEPEND="virtual/pkgconfig" |
|||
|
|||
S="${WORKDIR}/httpd-${PV}" |
|||
|
|||
PATCHES=( |
|||
"${FILESDIR}/${PN}-2.4.7-Makefile.patch" #459446 |
|||
) |
|||
|
|||
src_prepare() { |
|||
default |
|||
|
|||
# This package really should upgrade to using pcre's .pc file. |
|||
cat <<-\EOF >"${T}"/pcre-config |
|||
#!/bin/bash |
|||
flags=() |
|||
for flag; do |
|||
if [[ ${flag} == "--version" ]]; then |
|||
flags+=( --modversion ) |
|||
else |
|||
flags+=( "${flag}" ) |
|||
fi |
|||
done |
|||
exec ${PKG_CONFIG} libpcre "${flags[@]}" |
|||
EOF |
|||
chmod a+x "${T}"/pcre-config || die |
|||
} |
|||
|
|||
src_configure() { |
|||
# Brain dead check. |
|||
tc-is-cross-compiler && export ap_cv_void_ptr_lt_long="no" |
|||
|
|||
tc-export PKG_CONFIG |
|||
|
|||
local myeconfargs=( |
|||
--libexecdir="${EPREFIX}"/usr/$(get_libdir)/apache2/modules |
|||
--sbindir="${EPREFIX}"/usr/sbin |
|||
--with-perl="${EPREFIX}"/usr/bin/perl |
|||
--with-expat="${EPREFIX}"/usr |
|||
--with-z="${EPREFIX}"/usr |
|||
--with-apr="${SYSROOT}${EPREFIX}"/usr |
|||
--with-apr-util="${SYSROOT}${EPREFIX}"/usr |
|||
--with-pcre="${T}"/pcre-config |
|||
$(use_enable ssl) |
|||
$(usex ssl '--with-ssl="${EPREFIX}"/usr' '') |
|||
) |
|||
# econf overwrites the stuff from config.layout. |
|||
ac_cv_path_PKGCONFIG="${PKG_CONFIG}" \ |
|||
econf "${myeconfargs[@]}" |
|||
sed -i \ |
|||
-e '/^LTFLAGS/s:--silent::' \ |
|||
build/rules.mk build/config_vars.mk || die |
|||
} |
|||
|
|||
src_compile() { |
|||
emake -C support |
|||
} |
|||
|
|||
src_install() { |
|||
emake -C support DESTDIR="${D}" install |
|||
dodoc CHANGES |
|||
doman docs/man/{dbmmanage,htdigest,htpasswd,htdbm,ab,logresolve}.1 \ |
|||
docs/man/{htcacheclean,rotatelogs}.8 |
|||
|
|||
# Providing compatiblity symlinks for #177697 (which we'll stop to install |
|||
# at some point). |
|||
pushd "${ED}"/usr/sbin >/dev/null || die |
|||
local i |
|||
for i in *; do |
|||
dosym ${i} /usr/sbin/${i}2 |
|||
done |
|||
popd >/dev/null || die |
|||
|
|||
# Provide a symlink for ab-ssl |
|||
if use ssl ; then |
|||
dosym ab /usr/bin/ab-ssl |
|||
dosym ab /usr/bin/ab2-ssl |
|||
fi |
|||
} |
@ -0,0 +1,58 @@ |
|||
# Copyright 1999-2021 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI="7" |
|||
|
|||
PYTHON_COMPAT=( python3_{8..10} ) |
|||
|
|||
inherit bash-completion-r1 distutils-r1 |
|||
|
|||
DESCRIPTION="Universal Command Line Environment for AWS" |
|||
HOMEPAGE="https://pypi.org/project/awscli/" |
|||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
|||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz" |
|||
S="${WORKDIR}/aws-cli-${PV}" |
|||
|
|||
LICENSE="Apache-2.0" |
|||
SLOT="0" |
|||
KEYWORDS="~amd64 ~arm64 ~x86" |
|||
|
|||
# botocore is x.(y+1).z |
|||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)" |
|||
RDEPEND=" |
|||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] |
|||
dev-python/colorama[${PYTHON_USEDEP}] |
|||
dev-python/docutils[${PYTHON_USEDEP}] |
|||
dev-python/rsa[${PYTHON_USEDEP}] |
|||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}] |
|||
dev-python/pyyaml[${PYTHON_USEDEP}] |
|||
" |
|||
BDEPEND=" |
|||
test? ( |
|||
dev-python/mock[${PYTHON_USEDEP}] |
|||
) |
|||
" |
|||
|
|||
distutils_enable_tests --install nose |
|||
|
|||
PATCHES=( |
|||
"${FILESDIR}"/awscli-1.19.47-py39.patch |
|||
) |
|||
|
|||
python_test() { |
|||
distutils_install_for_testing |
|||
# integration tests require AWS credentials and Internet access |
|||
nosetests -v tests/{functional,unit} || |
|||
die "Tests failed for ${EPYTHON}" |
|||
} |
|||
|
|||
python_install_all() { |
|||
newbashcomp bin/aws_bash_completer aws |
|||
|
|||
insinto /usr/share/zsh/site-functions |
|||
newins bin/aws_zsh_completer.sh _aws |
|||
|
|||
distutils-r1_python_install_all |
|||
|
|||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die |
|||
} |
@ -1,2 +0,0 @@ |
|||
DIST python-diamond-4.0.515.20170311.tar.gz 671963 BLAKE2B 9449f2d27b48c0e24727eb2c415a5095b20199d9315ef69df92a4aa6f8f3397743f3dc6cf2d8d91f79eca309926731b6b42da170a02987a20aeccd1e0980f4ac SHA512 d18a80540018975455b839a78fd55d13d167726b92914e3dc2de1c6f27f47319962361e05961c55047ba185e11ebf57831f3ab5cff9158a50d30a2ca635d53bd |
|||
DIST python-diamond-4.0.515.20200620.tar.gz 674623 BLAKE2B eaf290a18a79115fdc013addff5b9d5a5c5b5ce06989c7e3cb8ac5dd988f47878a893ae37a96d1f020dac1aff00ebe191bf27c3d19ac5625afd56cf79451a141 SHA512 5e43aa1bb7acbeaa80db2bbc8e956042104fa9364893b5149bcfa7bff3e00b3667a112243e7a1fad85c1fb1b0c2e2727d0f73fb6851c1959ac95c1854b0c0f76 |
@ -1,102 +0,0 @@ |
|||
# Copyright 1999-2021 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=6 |
|||
|
|||
if [[ ${PV} = 9999* ]]; then |
|||
inherit git-r3 |
|||
EGIT_REPO_URI="https://github.com/python-diamond/Diamond.git" |
|||
S=${WORKDIR}/diamond-${PV} |
|||
else |
|||
GHASH=73207d04e0739a4ce92bc201b36681c42d9fa7e7 # python3 branch |
|||
SRC_URI="https://github.com/python-diamond/Diamond/archive/${GHASH}.tar.gz -> python-diamond-${PV}.tar.gz" |
|||
KEYWORDS="amd64 x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
|||
S=${WORKDIR}/Diamond-${GHASH} |
|||
fi |
|||
|
|||
PYTHON_COMPAT=( python3_{7,8} ) |
|||
|
|||
inherit distutils-r1 prefix |
|||
|
|||
DESCRIPTION="Python daemon that collects and publishes system metrics" |
|||
HOMEPAGE="https://github.com/python-diamond/Diamond" |
|||
|
|||
LICENSE="MIT" |
|||
SLOT="0" |
|||
IUSE="test mongo mysql snmp redis" |
|||
RESTRICT="!test? ( test )" |
|||
|
|||
RDEPEND="dev-python/configobj |
|||
dev-python/setproctitle |
|||
mongo? ( dev-python/pymongo ) |
|||
mysql? ( dev-python/mysqlclient ) |
|||
snmp? ( dev-python/pysnmp ) |
|||
redis? ( dev-python/redis-py ) |
|||
!kernel_linux? ( >=dev-python/psutil-3 )" |
|||
DEPEND="${RDEPEND} |
|||
test? ( |
|||
dev-python/mock |
|||
dev-python/pysnmp |
|||
)" |
|||
|
|||
src_prepare() { |
|||
# adjust for Prefix |
|||
hprefixify bin/diamond* |
|||
|
|||
# fix the version (not set in GitHub archive) |
|||
sed -i -e "s/__VERSIONTOKENHERE__/${PV}/" src/diamond/version.py.tmpl || die |
|||
echo "${PV}" > version.txt || die |
|||
# fix psutil usage |
|||
sed -i -e 's/psutil\.network_io_counters/psutil.net_io_counters/' \ |
|||
src/collectors/network/network.py || die |
|||
# fix symlink out of place |
|||
rm README.md || die |
|||
cp docs/index.md README.md || die |
|||
|
|||
# this module isn't Python3 yet (lambda), if you use this and have a |
|||
# fix, let me know |
|||
rm src/diamond/handler/rrdtool.py || die |
|||
|
|||
# forgotten conversion |
|||
sed -i \ |
|||
-e 's/import Queue/import queue/' \ |
|||
-e 's/Queue\.Full/queue.Full/' \ |
|||
src/diamond/handler/queue.py || die |
|||
# fix usage of map as list |
|||
sed -i \ |
|||
-e '/paths = map(str.strip, paths)/d' \ |
|||
src/diamond/utils/classes.py || die |
|||
# send data as bytes |
|||
sed -i \ |
|||
-e '/self.socket.sendall/s/data/str.encode(data)/' \ |
|||
src/diamond/handler/graphite.py || die |
|||
|
|||
distutils-r1_src_prepare |
|||
} |
|||
|
|||
python_test() { |
|||
# don't want to depend on docker for just this |
|||
mv src/collectors/docker_collector/test/{test,no}docker_collector.py || die |
|||
# fails on binding ports |
|||
mv src/collectors/portstat/tests/{test,no}_portstat.py || die |
|||
"${PYTHON}" ./test.py || die "Tests fail with ${PYTHON}" |
|||
} |
|||
|
|||
python_install() { |
|||
export VIRTUAL_ENV=1 |
|||
distutils-r1_python_install |
|||
python_optimize |
|||
mv "${ED}"/usr/etc "${ED}"/ || die |
|||
rm "${ED}"/etc/diamond/*.windows # won't need these |
|||
sed -i \ |
|||
-e '/pid_file =/s:/var/run:/run:' \ |
|||
"${ED}"/etc/diamond/diamond.conf.example || die |
|||
hprefixify "${ED}"/etc/diamond/diamond.conf.example |
|||
} |
|||
|
|||
src_install() { |
|||
distutils-r1_src_install |
|||
newinitd "${FILESDIR}"/${PN}.initd ${PN} |
|||
newconfd "${FILESDIR}"/${PN}.confd ${PN} |
|||
keepdir /var/log/diamond |
|||
} |
@ -1,84 +0,0 @@ |
|||
# Copyright 1999-2021 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=6 |
|||
|
|||
if [[ ${PV} = 9999* ]]; then |
|||
inherit git-r3 |
|||
EGIT_REPO_URI="https://github.com/grobian/Diamond.git" |
|||
EGIT_BRANCH="python3" |
|||
S=${WORKDIR}/diamond-${PV} |
|||
else |
|||
GHASH=8d8a2e49d80d44968a34d43e36c1d864695a29c1 # from python3 branch |
|||
SRC_URI="https://github.com/grobian/Diamond/archive/${GHASH}.tar.gz -> python-diamond-${PV}.tar.gz" |
|||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
|||
S=${WORKDIR}/Diamond-${GHASH} |
|||
fi |
|||
|
|||
PYTHON_COMPAT=( python3_{7,8} ) |
|||
|
|||
inherit distutils-r1 prefix |
|||
|
|||
DESCRIPTION="Python daemon that collects and publishes system metrics" |
|||
HOMEPAGE="https://github.com/python-diamond/Diamond" |
|||
|
|||
LICENSE="MIT" |
|||
SLOT="0" |
|||
IUSE="test mongo mysql snmp redis" |
|||
RESTRICT="!test? ( test )" |
|||
|
|||
RDEPEND="dev-python/configobj |
|||
dev-python/setproctitle |
|||
mongo? ( dev-python/pymongo ) |
|||
mysql? ( dev-python/mysqlclient ) |
|||
snmp? ( dev-python/pysnmp ) |
|||
redis? ( dev-python/redis-py ) |
|||
!kernel_linux? ( >=dev-python/psutil-3 ) |
|||
kernel_linux? ( sys-process/psmisc )" |
|||
DEPEND="${RDEPEND} |
|||
test? ( dev-python/mock )" |
|||
|
|||
src_prepare() { |
|||
# adjust for Prefix |
|||
hprefixify bin/diamond* |
|||
|
|||
# fix the version (not set in GitHub archive) |
|||
sed -i -e "s/__VERSIONTOKENHERE__/${PV}/" src/diamond/version.py.tmpl || die |
|||
echo "${PV}" > version.txt || die |
|||
# fix symlink out of place |
|||
rm README.md || die |
|||
cp docs/index.md README.md || die |
|||
|
|||
# this module isn't Python3 yet (lambda), if you use this and have a |
|||
# fix, let me know |
|||
rm src/diamond/handler/rrdtool.py || die |
|||
|
|||
distutils-r1_src_prepare |
|||
} |
|||
|
|||
python_test() { |
|||
"${PYTHON}" ./test.py || die "Tests fail with ${PYTHON}" |
|||
} |
|||
|
|||
python_install() { |
|||
export VIRTUAL_ENV=1 |
|||
distutils-r1_python_install |
|||
python_optimize |
|||
# since python3.8 installation goes straight into /etc |
|||
[[ -d ${ED}/etc ]] && [[ -d ${ED}/usr/etc ]] && rm -Rf "${ED}"/usr/etc |
|||
if [[ -d ${ED}/usr/etc ]] ; then |
|||
mv "${ED}"/usr/etc "${ED}"/ || die |
|||
fi |
|||
rm "${ED}"/etc/diamond/*.windows # won't need these |
|||
sed -i \ |
|||
-e '/pid_file =/s:/var/run:/run:' \ |
|||
"${ED}"/etc/diamond/diamond.conf.example || die |
|||
hprefixify "${ED}"/etc/diamond/diamond.conf.example |
|||
} |
|||
|
|||
src_install() { |
|||
distutils-r1_src_install |
|||
newinitd "${FILESDIR}"/${PN}.initd ${PN} |
|||
newconfd "${FILESDIR}"/${PN}.confd ${PN} |
|||
keepdir /var/log/diamond |
|||
} |
@ -1,2 +0,0 @@ |
|||
# command line options for running diamond |
|||
DIAMOND_OPTS= |
@ -1,24 +0,0 @@ |
|||
#!/sbin/openrc-run |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
depend() { |
|||
need net |
|||
} |
|||
|
|||
start() { |
|||
ebegin "Starting ${SVCNAME}" |
|||
start-stop-daemon --start --exec /usr/bin/diamond --pidfile /run/${SVCNAME}.pid -- -c /etc/diamond/${SVCNAME}.conf ${DIAMOND_OPTS} |
|||
eend $? |
|||
} |
|||
|
|||
stop() { |
|||
ebegin "Stopping ${SVCNAME}" |
|||
#start-stop-daemon --stop -R 80 --pidfile /run/${SVCNAME}.pid |
|||
# diamond doesn't kill its children, so work around that for now |
|||
pid=$(< /run/${SVCNAME}.pid) |
|||
if [ -n ${pid} ] && [ ${pid} -gt 1 ] ; then |
|||
pstree -Tp ${pid} | grep -o '([0-9]\+)' | tr '()' ' ' | xargs kill |
|||
fi |
|||
eend $? |
|||
} |
@ -1,22 +0,0 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
|||
<pkgmetadata> |
|||
<maintainer type="person"> |
|||
<email>grobian@gentoo.org</email> |
|||
<name>Fabian Groffen</name> |
|||
</maintainer> |
|||
<longdescription lang="en"> |
|||
Diamond is a python daemon that collects system metrics and |
|||
publishes them to Graphite (and others). It is capable of |
|||
collecting cpu, memory, network, i/o, load and disk metrics. |
|||
Additionally, it features an API for implementing custom |
|||
collectors for gathering metrics from almost any source. |
|||
</longdescription> |
|||
<use> |
|||
<flag name="mongo">Enable MongoDB support</flag> |
|||
<flag name="redis">Enable Redis support</flag> |
|||
</use> |
|||
<upstream> |
|||
<remote-id type="github">python-diamond/Diamond</remote-id> |
|||
</upstream> |
|||
</pkgmetadata> |
1075
app-admin/terraform/terraform-1.0.0.ebuild
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1 @@ |
|||
DIST tarlz-0.21.tar.lz 104780 BLAKE2B c3aacda3e8ab25757758d811d9cdc153777835950436dbb4827cf75d801f6c3035475330512a2657a8c9733f6afdf452d9689d7d72d11ba8ef968fceab671ed4 SHA512 1ad671da7ee115762163af57aad69ec754753e68a99ef8c4f38e880ecbb75a5b021f38794390eabcdbef4963cbc0c0e2abe36011da4135baf2c21dc22f020f4a |
@ -0,0 +1,8 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
|||
<pkgmetadata> |
|||
<maintainer type="person"> |
|||
<email>flow@gentoo.org</email> |
|||
<name>Florian Schmaus</name> |
|||
</maintainer> |
|||
</pkgmetadata> |
@ -0,0 +1,27 @@ |
|||
# Copyright 1999-2021 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
inherit toolchain-funcs unpacker |
|||
|
|||
DESCRIPTION="A parallel archiver combining tar and lzip" |
|||
HOMEPAGE="https://www.nongnu.org/lzip/tarlz.html" |
|||
SRC_URI="https://download.savannah.gnu.org/releases/lzip/${PN}/${P}.tar.lz" |
|||
LICENSE="GPL-2+" |
|||
|
|||
SLOT="0" |
|||
|
|||
KEYWORDS="~amd64" |
|||
|
|||
RDEPEND=">=app-arch/lzlib-1.12:0=" |
|||
DEPEND="${RDEPEND}" |
|||
BDEPEND="$(unpacker_src_uri_depends)" |
|||
|
|||
src_configure() { |
|||
econf \ |
|||
CXX="$(tc-getCXX)" \ |
|||
CXXFLAGS="${CXXFLAGS}" \ |
|||
CPPFLAGS="${CPPFLAGS}" \ |
|||
LDFLAGS="${LDFLAGS}" |
|||
} |
@ -0,0 +1,49 @@ |
|||
# Copyright 1999-2021 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
inherit optfeature toolchain-funcs |
|||
|
|||
DESCRIPTION="Stress test for a computer system with various selectable ways" |
|||
HOMEPAGE="https://kernel.ubuntu.com/~cking/stress-ng/" |
|||
SRC_URI="https://kernel.ubuntu.com/~cking/tarballs/${PN}/${P}.tar.xz" |
|||
|
|||
LICENSE="GPL-2+" |
|||
SLOT="0" |
|||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
|||
|
|||
DEPEND=" |
|||
dev-libs/libaio |
|||
dev-libs/libbsd |
|||
dev-libs/libgcrypt:0= |
|||
sys-apps/attr |
|||
sys-apps/keyutils:= |
|||
sys-libs/libcap |
|||
sys-libs/zlib |
|||
virtual/libcrypt:= |
|||
" |
|||
|
|||
RDEPEND="${DEPEND}" |
|||
|
|||
DOCS=( "README" "README.Android" "TODO" "syscalls.txt" ) |
|||
|
|||
src_prepare() { |
|||
default |
|||
|
|||
# Don't reset build jobs to '-j0' |
|||
sed -e '/-f Makefile.config/s/-j//' -i Makefile || die |
|||
} |
|||
|
|||
src_compile() { |
|||
export MAN_COMPRESS=0 |
|||
export VERBOSE=1 |
|||
tc-export CC |
|||
|
|||
default |
|||
} |
|||
|
|||
pkg_postinst() { |
|||
optfeature "AppArmor support" sys-libs/libapparmor |
|||
optfeature "SCTP support" net-misc/lksctp-tools |
|||
} |
@ -1,48 +0,0 @@ |
|||
# Copyright 1999-2021 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
inherit optfeature toolchain-funcs |
|||
|
|||
DESCRIPTION="Stress test for a computer system with various selectable ways" |
|||
HOMEPAGE="https://kernel.ubuntu.com/~cking/stress-ng/" |
|||
SRC_URI="https://kernel.ubuntu.com/~cking/tarballs/${PN}/${P}.tar.xz" |
|||
|
|||
LICENSE="GPL-2+" |
|||
SLOT="0" |
|||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
|||
|
|||
DEPEND=" |
|||
dev-libs/libaio |
|||
dev-libs/libbsd |
|||
dev-libs/libgcrypt:0= |
|||
sys-apps/attr |
|||
sys-apps/keyutils:= |
|||
sys-libs/libcap |
|||
sys-libs/zlib |
|||
" |
|||
|
|||
RDEPEND="${DEPEND}" |
|||
|
|||
DOCS=( "README" "README.Android" "TODO" "syscalls.txt" ) |
|||
|
|||
src_prepare() { |
|||
default |
|||
|
|||
# Don't reset build jobs to '-j0' |
|||
sed -e '/-f Makefile.config/s/-j//' -i Makefile || die |
|||
} |
|||
|
|||
src_compile() { |
|||
export MAN_COMPRESS=0 |
|||
export VERBOSE=1 |
|||
tc-export CC |
|||
|
|||
default |
|||
} |
|||
|
|||
pkg_postinst() { |
|||
optfeature "AppArmor support" sys-libs/libapparmor |
|||
optfeature "SCTP support" net-misc/lksctp-tools |
|||
} |
@ -0,0 +1,42 @@ |
|||
# Copyright 1999-2021 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
inherit optfeature toolchain-funcs |
|||
|
|||
DESCRIPTION="Stress test for a computer system with various selectable ways" |
|||
HOMEPAGE="https://kernel.ubuntu.com/~cking/stress-ng/" |
|||
SRC_URI="https://kernel.ubuntu.com/~cking/tarballs/${PN}/${P}.tar.xz" |
|||
|
|||
LICENSE="GPL-2+" |
|||
SLOT="0" |
|||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
|||
|
|||
DEPEND=" |
|||
dev-libs/libaio |
|||
dev-libs/libbsd |
|||
dev-libs/libgcrypt:0= |
|||
sys-apps/attr |
|||
sys-apps/keyutils:= |
|||
sys-libs/libcap |
|||
sys-libs/zlib |
|||
virtual/libcrypt:= |
|||
" |
|||
|
|||
RDEPEND="${DEPEND}" |
|||
|
|||
DOCS=( "README" "README.Android" "TODO" "syscalls.txt" ) |
|||
|
|||
src_compile() { |
|||
export MAN_COMPRESS=0 |
|||
export VERBOSE=1 |
|||
tc-export CC |
|||
|
|||
default |
|||
} |
|||
|
|||
pkg_postinst() { |
|||
optfeature "AppArmor support" sys-libs/libapparmor |
|||
optfeature "SCTP support" net-misc/lksctp-tools |
|||
} |
@ -1,41 +0,0 @@ |
|||
# Copyright 1999-2021 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
inherit optfeature toolchain-funcs |
|||
|
|||
DESCRIPTION="Stress test for a computer system with various selectable ways" |
|||
HOMEPAGE="https://kernel.ubuntu.com/~cking/stress-ng/" |
|||
SRC_URI="https://kernel.ubuntu.com/~cking/tarballs/${PN}/${P}.tar.xz" |
|||
|
|||
LICENSE="GPL-2+" |
|||
SLOT="0" |
|||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
|||
|
|||
DEPEND=" |
|||
dev-libs/libaio |
|||
dev-libs/libbsd |
|||
dev-libs/libgcrypt:0= |
|||
sys-apps/attr |
|||
sys-apps/keyutils:= |
|||
sys-libs/libcap |
|||
sys-libs/zlib |
|||
" |
|||
|
|||
RDEPEND="${DEPEND}" |
|||
|
|||
DOCS=( "README" "README.Android" "TODO" "syscalls.txt" ) |
|||
|
|||
src_compile() { |
|||
export MAN_COMPRESS=0 |
|||
export VERBOSE=1 |
|||
tc-export CC |
|||
|
|||
default |
|||
} |
|||
|
|||
pkg_postinst() { |
|||
optfeature "AppArmor support" sys-libs/libapparmor |
|||
optfeature "SCTP support" net-misc/lksctp-tools |
|||
} |
@ -1,187 +0,0 @@ |
|||
# Copyright 1999-2021 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
PYTHON_COMPAT=( python3_{7,8,9} ) |
|||
VIRTUALX_REQUIRED="manual" |
|||
|
|||
inherit autotools db-use multilib multilib-minimal python-any-r1 virtualx flag-o-matic |
|||
|
|||
MY_P="${P}" |
|||
DESCRIPTION="Kerberos 5 implementation from KTH" |
|||
HOMEPAGE="http://www.h5l.org/" |
|||
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz" |
|||
|
|||
LICENSE="BSD" |
|||
SLOT="0" |
|||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc x86" |
|||
IUSE="afs +berkdb caps gdbm hdb-ldap +lmdb otp selinux ssl static-libs test X" |
|||
RESTRICT="!test? ( test )" |
|||
|
|||
CDEPEND=" |
|||
ssl? ( |
|||
>=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] |
|||
) |
|||
berkdb? ( >=sys-libs/db-4.8.30-r1:*[${MULTILIB_USEDEP}] ) |
|||
gdbm? ( >=sys-libs/gdbm-1.10-r1:=[${MULTILIB_USEDEP}] ) |
|||
lmdb? ( dev-db/lmdb ) |
|||
caps? ( sys-libs/libcap-ng ) |
|||
>=dev-db/sqlite-3.8.2[${MULTILIB_USEDEP}] |
|||
>=sys-libs/e2fsprogs-libs-1.42.9[${MULTILIB_USEDEP}] |
|||
sys-libs/ncurses:0= |
|||
>=sys-libs/readline-6.2_p5-r1:0=[${MULTILIB_USEDEP}] |
|||
afs? ( net-fs/openafs ) |
|||
hdb-ldap? ( >=net-nds/openldap-2.3.0 ) |
|||
X? ( |
|||
x11-libs/libX11 |
|||
x11-libs/libXau |
|||
x11-libs/libXt |
|||
) |
|||
!!app-crypt/mit-krb5 |
|||
!!app-crypt/mit-krb5-appl" |
|||
|
|||
DEPEND="${CDEPEND} |
|||
${PYTHON_DEPS} |
|||
dev-perl/JSON |
|||
virtual/pkgconfig |
|||
sys-apps/texinfo |
|||
>=sys-devel/autoconf-2.62 |
|||
test? ( X? ( ${VIRTUALX_DEPEND} ) )" |
|||
|
|||
RDEPEND="${CDEPEND} |
|||
selinux? ( sec-policy/selinux-kerberos )" |
|||
|
|||
MULTILIB_WRAPPED_HEADERS=( |
|||
/usr/include/krb5-types.h |
|||
/usr/include/cms_asn1.h |
|||
/usr/include/digest_asn1.h |
|||
/usr/include/hdb_asn1.h |
|||
/usr/include/krb5_asn1.h |
|||
/usr/include/pkcs12_asn1.h |
|||
/usr/include/pkinit_asn1.h |
|||
/usr/include/rfc2459_asn1.h |
|||
) |
|||
|
|||
MULTILIB_CHOST_TOOLS=( |
|||
/usr/bin/krb5-config |
|||
) |
|||
|
|||
PATCHES=( |
|||
"${FILESDIR}/heimdal_disable-check-iprop.patch" |
|||
"${FILESDIR}/heimdal_tinfo.patch" |
|||
"${FILESDIR}/heimdal_hcrypto.patch" |
|||
"${FILESDIR}/heimdal_build-headers-before-use.patch" |
|||
"${FILESDIR}/heimdal_fix-db60.patch" |
|||
"${FILESDIR}/heimdal_fix-autoconf-2.70.patch" |
|||
) |
|||
|
|||
src_prepare() { |
|||
default |
|||
eautoreconf |
|||
} |
|||
|
|||
src_configure() { |
|||
# QA |
|||
append-flags -fno-strict-aliasing |
|||
|
|||
multilib-minimal_src_configure |
|||
} |
|||
|
|||
multilib_src_configure() { |
|||
local myeconfargs=( |
|||
--enable-kcm |
|||
--disable-osfc2 |
|||
--enable-shared |
|||
--with-libintl="${EPREFIX}"/usr |
|||
--with-readline="${EPREFIX}"/usr |
|||
--with-sqlite3="${EPREFIX}"/usr |
|||
--libexecdir="${EPREFIX}"/usr/sbin |
|||
--enable-pthread-support |
|||
--enable-kx509 |
|||
--enable-pk-init |
|||
--with-ipv6 |
|||
$(use_enable afs afs-support) |
|||
$(use_enable gdbm ndbm-db) |
|||
$(use_enable lmdb mdb-db) |
|||
$(use_enable otp) |
|||
$(use_enable static-libs static) |
|||
$(multilib_native_use_with caps capng) |
|||
$(multilib_native_use_with hdb-ldap openldap "${EPREFIX}"/usr) |
|||
$(use_with ssl openssl "${EPREFIX}"/usr) |
|||
$(multilib_native_use_with X x) |
|||
) |
|||
if use berkdb; then |
|||
myeconfargs+=( |
|||
--with-berkeley-db |
|||
--with-berkeley-db-include="$(db_includedir)" |
|||
) |
|||
else |
|||
myeconfargs+=( |
|||
--without-berkeley-db |
|||
) |
|||
fi |
|||
|
|||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
|||
} |
|||
|
|||
multilib_src_compile() { |
|||
if multilib_is_native_abi; then |
|||
emake |
|||
else |
|||
emake -C include |
|||
emake -C lib |
|||
emake -C kdc |
|||
emake -C tools |
|||
emake -C tests/plugin |
|||
fi |
|||
} |
|||
|
|||
multilib_src_test() { |
|||
multilib_is_native_abi && emake -j1 check |
|||
} |
|||
|
|||
multilib_src_install() { |
|||
if multilib_is_native_abi; then |
|||
INSTALL_CATPAGES="no" emake DESTDIR="${D}" install |
|||
else |
|||
emake -C include DESTDIR="${D}" install |
|||
emake -C lib DESTDIR="${D}" install |
|||
emake -C kdc DESTDIR="${D}" install |
|||
emake -C tools DESTDIR="${D}" install |
|||
emake -C tests/plugin DESTDIR="${D}" install |
|||
fi |
|||
} |
|||
|
|||
multilib_src_install_all() { |
|||
dodoc ChangeLog* README NEWS TODO |
|||
|
|||
# client rename |
|||
mv "${ED}"/usr/share/man/man1/{,k}su.1 |
|||
mv "${ED}"/usr/bin/{,k}su |
|||
|
|||
newinitd "${FILESDIR}"/heimdal-kdc.initd-r2 heimdal-kdc |
|||
newinitd "${FILESDIR}"/heimdal-kadmind.initd-r2 heimdal-kadmind |
|||
newinitd "${FILESDIR}"/heimdal-kpasswdd.initd-r2 heimdal-kpasswdd |
|||
newinitd "${FILESDIR}"/heimdal-kcm.initd-r1 heimdal-kcm |
|||
|
|||
newconfd "${FILESDIR}"/heimdal-kdc.confd heimdal-kdc |
|||
newconfd "${FILESDIR}"/heimdal-kadmind.confd heimdal-kadmind |
|||
newconfd "${FILESDIR}"/heimdal-kpasswdd.confd heimdal-kpasswdd |
|||
newconfd "${FILESDIR}"/heimdal-kcm.confd heimdal-kcm |
|||
|
|||
insinto /etc |
|||
newins "${S}"/krb5.conf krb5.conf.example |
|||
|
|||
if use hdb-ldap; then |
|||
insinto /etc/openldap/schema |
|||
doins "${S}/lib/hdb/hdb.schema" |
|||
fi |
|||
|
|||
if ! use static-libs ; then |
|||
find "${ED}" -name "*.la" -delete || die |
|||
fi |
|||
|
|||
# default database dir |
|||
keepdir /var/heimdal |
|||
} |
@ -0,0 +1,188 @@ |
|||
# Copyright 1999-2021 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
PYTHON_COMPAT=( python3_{7,8,9} ) |
|||
VIRTUALX_REQUIRED="manual" |
|||
|
|||
inherit autotools db-use multilib multilib-minimal python-any-r1 virtualx flag-o-matic |
|||
|
|||
MY_P="${P}" |
|||
DESCRIPTION="Kerberos 5 implementation from KTH" |
|||
HOMEPAGE="http://www.h5l.org/" |
|||
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz" |
|||
|
|||
LICENSE="BSD" |
|||
SLOT="0" |
|||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc x86" |
|||
IUSE="afs +berkdb caps gdbm hdb-ldap +lmdb otp selinux ssl static-libs test X" |
|||
RESTRICT="!test? ( test )" |
|||
|
|||
CDEPEND=" |
|||
virtual/libcrypt:=[${MULTILIB_USEDEP}] |
|||
ssl? ( |
|||
>=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] |
|||
) |
|||
berkdb? ( >=sys-libs/db-4.8.30-r1:*[${MULTILIB_USEDEP}] ) |
|||
gdbm? ( >=sys-libs/gdbm-1.10-r1:=[${MULTILIB_USEDEP}] ) |
|||
lmdb? ( dev-db/lmdb ) |
|||
caps? ( sys-libs/libcap-ng ) |
|||
>=dev-db/sqlite-3.8.2[${MULTILIB_USEDEP}] |
|||
>=sys-libs/e2fsprogs-libs-1.42.9[${MULTILIB_USEDEP}] |
|||
sys-libs/ncurses:0= |
|||
>=sys-libs/readline-6.2_p5-r1:0=[${MULTILIB_USEDEP}] |
|||
afs? ( net-fs/openafs ) |
|||
hdb-ldap? ( >=net-nds/openldap-2.3.0 ) |
|||
X? ( |
|||
x11-libs/libX11 |
|||
x11-libs/libXau |
|||
x11-libs/libXt |
|||
) |
|||
!!app-crypt/mit-krb5 |
|||
!!app-crypt/mit-krb5-appl" |
|||
|
|||
DEPEND="${CDEPEND} |
|||
${PYTHON_DEPS} |
|||
dev-perl/JSON |
|||
virtual/pkgconfig |
|||
sys-apps/texinfo |
|||
>=sys-devel/autoconf-2.62 |
|||
test? ( X? ( ${VIRTUALX_DEPEND} ) )" |
|||
|
|||
RDEPEND="${CDEPEND} |
|||
selinux? ( sec-policy/selinux-kerberos )" |
|||
|
|||
MULTILIB_WRAPPED_HEADERS=( |
|||
/usr/include/krb5-types.h |
|||
/usr/include/cms_asn1.h |
|||
/usr/include/digest_asn1.h |
|||
/usr/include/hdb_asn1.h |
|||
/usr/include/krb5_asn1.h |
|||
/usr/include/pkcs12_asn1.h |
|||
/usr/include/pkinit_asn1.h |
|||
/usr/include/rfc2459_asn1.h |
|||
) |
|||
|
|||
MULTILIB_CHOST_TOOLS=( |
|||
/usr/bin/krb5-config |
|||
) |
|||
|
|||
PATCHES=( |
|||
"${FILESDIR}/heimdal_disable-check-iprop.patch" |
|||
"${FILESDIR}/heimdal_tinfo.patch" |
|||
"${FILESDIR}/heimdal_hcrypto.patch" |
|||
"${FILESDIR}/heimdal_build-headers-before-use.patch" |
|||
"${FILESDIR}/heimdal_fix-db60.patch" |
|||
"${FILESDIR}/heimdal_fix-autoconf-2.70.patch" |
|||
) |
|||
|
|||
src_prepare() { |
|||
default |
|||
eautoreconf |
|||
} |
|||
|
|||
src_configure() { |
|||
# QA |
|||
append-flags -fno-strict-aliasing |
|||
|
|||
multilib-minimal_src_configure |
|||
} |
|||
|
|||
multilib_src_configure() { |
|||
local myeconfargs=( |
|||
--enable-kcm |
|||
--disable-osfc2 |
|||
--enable-shared |
|||
--with-libintl="${EPREFIX}"/usr |
|||
--with-readline="${EPREFIX}"/usr |
|||
--with-sqlite3="${EPREFIX}"/usr |
|||
--libexecdir="${EPREFIX}"/usr/sbin |
|||
--enable-pthread-support |
|||
--enable-kx509 |
|||
--enable-pk-init |
|||
--with-ipv6 |
|||
$(use_enable afs afs-support) |
|||
$(use_enable gdbm ndbm-db) |
|||
$(use_enable lmdb mdb-db) |
|||
$(use_enable otp) |
|||
$(use_enable static-libs static) |
|||
$(multilib_native_use_with caps capng) |
|||
$(multilib_native_use_with hdb-ldap openldap "${EPREFIX}"/usr) |
|||
$(use_with ssl openssl "${EPREFIX}"/usr) |
|||
$(multilib_native_use_with X x) |
|||
) |
|||
if use berkdb; then |
|||
myeconfargs+=( |
|||
--with-berkeley-db |
|||
--with-berkeley-db-include="$(db_includedir)" |
|||
) |
|||
else |
|||
myeconfargs+=( |
|||
--without-berkeley-db |
|||
) |
|||
fi |
|||
|
|||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
|||
} |
|||
|
|||
multilib_src_compile() { |
|||
if multilib_is_native_abi; then |
|||
emake |
|||
else |
|||
emake -C include |
|||
emake -C lib |
|||
emake -C kdc |
|||
emake -C tools |
|||
emake -C tests/plugin |
|||
fi |
|||
} |
|||
|
|||
multilib_src_test() { |
|||
multilib_is_native_abi && emake -j1 check |
|||
} |
|||
|
|||
multilib_src_install() { |
|||
if multilib_is_native_abi; then |
|||
INSTALL_CATPAGES="no" emake DESTDIR="${D}" install |
|||
else |
|||
emake -C include DESTDIR="${D}" install |
|||
emake -C lib DESTDIR="${D}" install |
|||
emake -C kdc DESTDIR="${D}" install |
|||
emake -C tools DESTDIR="${D}" install |
|||
emake -C tests/plugin DESTDIR="${D}" install |
|||
fi |
|||
} |
|||
|
|||
multilib_src_install_all() { |
|||
dodoc ChangeLog* README NEWS TODO |
|||
|
|||
# client rename |
|||
mv "${ED}"/usr/share/man/man1/{,k}su.1 |
|||
mv "${ED}"/usr/bin/{,k}su |
|||
|
|||
newinitd "${FILESDIR}"/heimdal-kdc.initd-r2 heimdal-kdc |
|||
newinitd "${FILESDIR}"/heimdal-kadmind.initd-r2 heimdal-kadmind |
|||
newinitd "${FILESDIR}"/heimdal-kpasswdd.initd-r2 heimdal-kpasswdd |
|||
newinitd "${FILESDIR}"/heimdal-kcm.initd-r1 heimdal-kcm |
|||
|
|||
newconfd "${FILESDIR}"/heimdal-kdc.confd heimdal-kdc |
|||
newconfd "${FILESDIR}"/heimdal-kadmind.confd heimdal-kadmind |
|||
newconfd "${FILESDIR}"/heimdal-kpasswdd.confd heimdal-kpasswdd |
|||
newconfd "${FILESDIR}"/heimdal-kcm.confd heimdal-kcm |
|||
|
|||
insinto /etc |
|||
newins "${S}"/krb5.conf krb5.conf.example |
|||
|
|||
if use hdb-ldap; then |
|||
insinto /etc/openldap/schema |
|||
doins "${S}/lib/hdb/hdb.schema" |
|||
fi |
|||
|
|||
if ! use static-libs ; then |
|||
find "${ED}" -name "*.la" -delete || die |
|||
fi |
|||
|
|||
# default database dir |
|||
keepdir /var/heimdal |
|||
} |
@ -1,133 +0,0 @@ |
|||
# Copyright 1999-2021 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
inherit flag-o-matic toolchain-funcs pax-utils |
|||
|
|||
DESCRIPTION="fast password cracker" |
|||
HOMEPAGE="http://www.openwall.com/john/" |
|||
|
|||
MY_PN="JohnTheRipper" |
|||
|
|||
if [[ ${PV} == "9999" ]] ; then |
|||
EGIT_REPO_URI="https://github.com/magnumripper/${MY_PN}.git" |
|||
inherit git-r3 |
|||
else |
|||
JUMBO="jumbo-1" |
|||
MY_PV="${PV}-${JUMBO}" |
|||
MY_P="john-${MY_PV}" |
|||
SRC_URI="https://www.openwall.com/john/k/${MY_P}.tar.xz" |
|||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" |
|||
S="${WORKDIR}/${MY_P}" |
|||
fi |
|||
|
|||
LICENSE="GPL-2" |
|||
SLOT="0" |
|||
#removed rexgen and commoncrypto |
|||
IUSE="custom-cflags kerberos mpi opencl openmp pcap" |
|||
|
|||
DEPEND=">=dev-libs/openssl-1.0.1:0 |
|||
mpi? ( virtual/mpi ) |
|||
opencl? ( virtual/opencl ) |
|||
kerberos? ( virtual/krb5 ) |
|||
pcap? ( net-libs/libpcap ) |
|||
dev-libs/gmp:* |
|||
sys-libs/zlib |
|||
app-arch/bzip2" |
|||
|
|||
RDEPEND="${DEPEND} |
|||
!app-crypt/johntheripper" |
|||
|
|||
PATCHES=( "${FILESDIR}/${P}-opencl-fix.patch" ) |
|||
|
|||
pkg_setup() { |
|||
if use openmp && [[ ${MERGE_TYPE} != binary ]]; then |
|||
tc-has-openmp || die "Please switch to an openmp compatible compiler" |
|||
fi |
|||
} |
|||
|
|||
src_prepare() { |
|||
sed -i 's#$prefix/share/john#/etc/john#' src/configure || die |
|||
default |
|||
} |
|||
|
|||
src_configure() { |
|||
cd src || die |
|||
|
|||
use custom-cflags || strip-flags |
|||
append-cflags -fcommon |
|||
|
|||
econf \ |
|||
--disable-native-march \ |
|||
--disable-native-tests \ |
|||
--without-commoncrypto \ |
|||
--disable-rexgen \ |
|||
--with-openssl \ |
|||
--with-systemwide \ |
|||
$(use_enable mpi) \ |
|||
$(use_enable opencl) \ |
|||
$(use_enable openmp) \ |
|||
$(use_enable pcap) |
|||
} |
|||
|
|||
src_compile() { |
|||
emake -C src |
|||
} |
|||
|
|||
src_test() { |
|||
pax-mark -mr run/john |
|||
#if use opencl; then |
|||
#gpu tests fail in portage, so run cpu only tests |
|||
# ./run/john --device=cpu --test=0 --verbosity=2 || die |
|||
#else |
|||
#weak tests |
|||
# ./run/john --test=0 --verbosity=2 || die |
|||
#strong tests |
|||
#./run/john --test=1 --verbosity=2 || die |
|||
#fi |
|||
ewarn "When built systemwide, john can't run tests without reading files in /etc." |
|||
ewarn "Don't bother opening a bug for this unless you include a patch to fix it" |
|||
} |
|||
|
|||
src_install() { |
|||
# executables |
|||