Commit 5a88c772 authored by Liguros - Gitlab CI/CD [feature/flatten]'s avatar Liguros - Gitlab CI/CD [feature/flatten]
Browse files

Updating liguros repo

parent 928c402f
DIST v4.5.2.tar.gz 1026454 BLAKE2B c25f86a3ae80e93424ece21b1ddd7a960ae8d8f07a39221db8a46966fbaafd46fd7627d82dcda9bfbe6ba951074df871790d9b45edf10b785938c3cb958b225b SHA512 717c2c84728989c674ed5932b35e52ac5e81e4f1bb45e0405539295515eb7c3ed95f4f5885e300242ed6c24e252ae9b98336298f415a46648adedd0506d54000
DIST v4.5.3.tar.gz 1030227 BLAKE2B 8cdae19f73651fef51f3a42832e5575a12f2131a76fe5c396311c4c670025df0ddb820692595e69c9a2c053e0e2f344b25eb76de4f847efead2a2971ca7f0c15 SHA512 35c8d0471fee7b1748a04bba945238f700c3844974bdc8aa60e7ecbb4591399d32bdb452ccdfb130ecd3ede40072544a0f92d01d43b2f07744e041c25210f19f
DIST v4.6.0.tar.gz 1118439 BLAKE2B 183c67467cf4ab5391bdb2ad9c793c9443ae223d519a0f64bc36d504a02cbb67e8e0b75c133a6863bbaa05bb7f79e4fad6064e2681979086c7e0c06ff226e991 SHA512 6c697b144aa2f85bf97b35018b4e90fbdb98d3868e64f5d4bdcf132bebf689807858a0a0101c5e960b5041cc6b7497819004406b954b20bca777c1a93c9d6dbd
DIST go-bindata-3.1.3.tar.gz 21280 BLAKE2B cf54b50113006f02eeab47312fcf1eaa1e4b820847ee9c579318a5aac0b720648f73cbf3d2d41e120ea79b65dc3dcfa32accaff16ed4610bcf9a9dd317e9d819 SHA512 870f939cfb07b43c54000d39fa37e8151ca5c20d13eac9bde59e7ec3e2693d8386a1ea4b5372171dac42f8a4f69a754445cb9a4fa51a7a7ba9ec54f3e8a2a2f6
DIST go-bindata-3.21.0.tar.gz 15615959 BLAKE2B b635869202025992a7f92645de7aa96fadd18f5c99d5e312a1e645712940d05342e192401eb5aec04aac72c50b17d1fe370ef317356d47a40141cec3dc8f01a7 SHA512 004b9f0389d26f82d1419e8e8ad249d33583e85c4b4aaa4e36215bd5289a24146a237bcb55b9d51ff29c1b01ebd822ff60dcf205cb73d34f810e6838df172265
# Copyright 2020 Liguros Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit golang-build golang-vcs-snapshot
EGO_PN="github.com/go-bindata/go-bindata/..."
KEYWORDS="amd64 ~arm ~arm64"
DESCRIPTION="A small utility which generates Go code from any file"
HOMEPAGE="https://github.com/go-bindata/go-bindata"
SRC_URI="https://github.com/go-bindata/go-bindata/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="CC-PD"
SLOT="0/${PVR}"
src_install() {
GOBIN=${S}/bin \
golang-build_src_install
dobin bin/*
}
# Copyright 1999-2020 Go Overlay Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
# NOTE: The original github.com/jteeuwen/go-bindata is no more maintained.
# Instead, we use a fork which is API compatible.
# For more details, see https://github.com/Dr-Terrible/go-overlay/issues/76
GOLANG_PKG_IMPORTPATH="github.com/kevinburke"
GOLANG_PKG_ARCHIVEPREFIX="v"
GOLANG_PKG_IS_MULTIPLE=1
GOLANG_PKG_HAVE_TEST=1
inherit golang-single
DESCRIPTION="A small utility for embedding binary data in a GoLang program."
LICENSE="CC0-1.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
<?xml version='1.0' encoding='UTF-8'?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>dev@liguros.net</email>
<name>Development</name>
</maintainer>
<maintainer type="person">
<email>toffanin.mauro@gmail.com</email>
<name>Mauro Toffanin</name>
<description>Maintainer. Assign bugs to him</description>
</maintainer>
<upstream>
<remote-id type="github">jteeuwen/go-bindata</remote-id>
<bugs-to>https://github.com/jteeuwen/go-bindata/issues</bugs-to>
</upstream>
<origin>ports</origin>
<longdescription lang="en">
This package converts any file into managable Go source code. Useful for
embedding binary data into a go program. The file data is optionally
gzip compressed before being converted to a raw byte slice.
</longdescription>
<origin>go-overlay</origin>
</pkgmetadata>
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DIST_AUTHOR=GAAS
DIST_VERSION=1.20
inherit perl-module
DESCRIPTION="Parse Adobe Font Metric files"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
BDEPEND="
test? (
media-fonts/urw-fonts
)
"
PATCHES=(
"${FILESDIR}/${PN}-1.20-custom-test-font.patch"
)
src_test() {
# nimbus sans l medium r normal iso8859-1
TEST_FONT="n019003l" \
TEST_FONT_WIDTH="4279" \
METRICS="${EPREFIX}/usr/share/fonts/urw-fonts" \
perl-module_src_test
}
From 6291356c29004b58b7d0f18ce39738ebc2412ff9 Mon Sep 17 00:00:00 2001
From: Kent Fredric <kentnl@gentoo.org>
Date: Thu, 17 Sep 2020 13:28:34 +1200
Subject: Allow overriding test font name
This allows us to use helvetica-compatible fonts without needing an
actual font called "Helvetica"
---
t/afm.t | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/t/afm.t b/t/afm.t
index 40addff..60ddcb8 100644
--- a/t/afm.t
+++ b/t/afm.t
@@ -1,7 +1,13 @@
require Font::AFM;
+my $test_font = $ENV{TEST_FONT};
+my $test_width = $ENV{TEST_FONT_WIDTH};
+
+$test_font = "Helvetica" unless defined $test_font and length $test_font;
+$test_width = 4279 unless defined $test_width and length $test_width;
+
eval {
- $font = Font::AFM->new("Helvetica");
+ $font = Font::AFM->new($test_font);
};
if ($@) {
if ($@ =~ /Can't find the AFM file for/) {
@@ -18,9 +24,9 @@ print "1..1\n";
$sw = $font->stringwidth("Gisle Aas");
-if ($sw == 4279) {
- print "ok 1 Stringwith for Helvetica seems to work\n";
+if ($sw == $test_width) {
+ print "ok 1 Stringwith for \"$test_font\"(font) seems to work\n";
} else {
- print "not ok 1 The stringwidth of 'Gisle Aas' should be 4279 (it was $sw)\n";
+ print "not ok 1 The stringwidth of 'Gisle Aas' should be $test_width (it was $sw)\n";
}
--
2.28.0
......@@ -31,7 +31,7 @@ ruby_add_rdepend "~dev-ruby/activesupport-${PV}
~dev-ruby/activemodel-${PV}
dev-ruby/arel:9.0
sqlite? ( >=dev-ruby/sqlite3-1.3.6 )
mysql? ( || ( dev-ruby/mysql2:0.5 dev-ruby/mysql2:0.4 ) )
mysql? ( dev-ruby/mysql2:0.5 )
postgres? ( >=dev-ruby/pg-0.18.0:* )"
ruby_add_bdepend "
......
......@@ -31,7 +31,7 @@ ruby_add_rdepend "~dev-ruby/activesupport-${PV}
~dev-ruby/activemodel-${PV}
dev-ruby/arel:9.0
sqlite? ( >=dev-ruby/sqlite3-1.3.6 )
mysql? ( || ( dev-ruby/mysql2:0.5 dev-ruby/mysql2:0.4 ) )
mysql? ( dev-ruby/mysql2:0.5 )
postgres? ( >=dev-ruby/pg-0.18.0:* )"
ruby_add_bdepend "
......
......@@ -30,7 +30,7 @@ RUBY_S="rails-${PV}/${PN}"
ruby_add_rdepend "~dev-ruby/activesupport-${PV}
~dev-ruby/activemodel-${PV}
sqlite? ( >=dev-ruby/sqlite3-1.4 )
mysql? ( || ( dev-ruby/mysql2:0.5 >=dev-ruby/mysql2-0.4.4:0.4 ) )
mysql? ( dev-ruby/mysql2:0.5 )
postgres? ( || ( dev-ruby/pg:1 >=dev-ruby/pg-0.18.0:0 ) )"
ruby_add_bdepend "
......
......@@ -30,7 +30,7 @@ RUBY_S="rails-${PV}/${PN}"
ruby_add_rdepend "~dev-ruby/activesupport-${PV}
~dev-ruby/activemodel-${PV}
sqlite? ( >=dev-ruby/sqlite3-1.4 )
mysql? ( || ( dev-ruby/mysql2:0.5 >=dev-ruby/mysql2-0.4.4:0.4 ) )
mysql? ( dev-ruby/mysql2:0.5 )
postgres? ( || ( dev-ruby/pg:1 >=dev-ruby/pg-0.18.0:0 ) )"
ruby_add_bdepend "
......
......@@ -41,8 +41,8 @@ PATCHES=(
)
src_prepare() {
cp configure.{init,ac} || die "cp failed"
default
cp configure.{init,ac} || die "cp failed"
AT_M4DIR="config" eautoreconf
}
......
......@@ -46,8 +46,8 @@ PATCHES=(
)
src_prepare() {
cp configure.{init,ac} || die "cp failed"
default
cp configure.{init,ac} || die "cp failed"
AT_M4DIR="config" eautoreconf
}
......
......@@ -46,8 +46,8 @@ PATCHES=(
)
src_prepare() {
cp configure.{init,ac} || die "cp failed"
default
cp configure.{init,ac} || die "cp failed"
AT_M4DIR="config" eautoreconf
}
......
......@@ -44,8 +44,8 @@ PATCHES=(
)
src_prepare() {
cp configure.{init,ac} || die "cp failed"
default
cp configure.{init,ac} || die "cp failed"
AT_M4DIR="config" eautoreconf
}
......
DIST cfengine-2.2.10.tar.gz 2690333 BLAKE2B a6e0027fc290a46730327f3fc4bf382add421f37759d6972b3f99de92417e77d8c5ff649aa376d216abde017e49072d3bd98aed60a109cb57b9e5920a358923a SHA512 861af25f32248e115512790357cb4739b16bee9d19db33cc1b93ab2091d020991770970fc916796a5894c978ee6a5956100d2f714efb6e97e9e9a9ea88f64dea
DIST cfengine-3.6.2.tar.gz 1966966 BLAKE2B bb5be86ff1562fe44216c05ed179273dc803ef2a20d783f4692fe1fb533cd1914982671cbcc103c5f8f7118f7742f51ccbcdbe4408a86ebc566f444bc581e3df SHA512 b1bf6010d4309980846524ca94bb39f624f4ed0df3af220df91f7210b4441456840dfeeee4d62d6d6260b417ea7cf959509ca96c1a26c6da67bda7b3c1e5dbbc
DIST cfengine-masterfiles-3.6.2.tar.gz 119594 BLAKE2B df01bfb5e5970fb386652ab1588d0b7d037d13018904506bd481b91720782bd837f7d54ca550d7b81e2db5fd535f053ac70e4ad5337d473986408e062e3565a7 SHA512 ec942dbfbc848455bbdaa157d6665d3e830cb967bbc07303aa4ee577cf2774d01bc602c57893372538b72d70b8b62b7e2a90ca9f8e59d7420d5b2f94fcd809e9
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="An automated suite of programs for configuring and maintaining
Unix-like computers"
HOMEPAGE="https://www.cfengine.org/"
SRC_URI="http://cfengine.com/source_code/download?file=${P}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="vim-syntax"
RDEPEND=">=sys-libs/db-4:=
<dev-libs/openssl-1.1:=
app-portage/portage-utils
net-libs/libnsl:="
DEPEND="${RDEPEND}
virtual/yacc
sys-devel/flex"
PDEPEND="vim-syntax? ( app-vim/cfengine-syntax )"
src_prepare() {
eapply_user
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520696
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511666
# https://bugs.gentoo.org/339808
eapply "${FILESDIR}/admit-noclass-520696.patch" \
"${FILESDIR}/511666-segfault.patch" \
"${FILESDIR}/${P}-snprintf_buffer_overflow.patch"
# 2048 causes crashes on some 32-bit hardened kernels, and the warning
# messages say to turn it back down.
if use x86; then
sed -i -e "s:CF_IFREQ 2048:CF_IFREQ 1024:g" src/cf.defs.h || die
fi
}
src_configure() {
# Enforce /var/cfengine for historical compatibility
econf \
--disable-static \
--with-workdir=/var/cfengine \
--with-berkeleydb=/usr
# Fix Makefile to skip doc,inputs, & contrib install to wrong locations
sed -i -e 's/\(DIST_SUBDIRS.*\) contrib inputs doc/\1/' \
-e 's/\(SUBDIRS.*\) contrib inputs/\1/' \
-e 's/\(install-data-am.*\) install-docDATA/\1/' Makefile || die
# Fix man pages
sed -i -e 's@/usr/local@/usr@' doc/*.8 || die
}
src_install() {
newinitd "${FILESDIR}"/cfservd.rc6 cfservd
newinitd "${FILESDIR}"/cfenvd.rc6 cfenvd
newinitd "${FILESDIR}"/cfexecd.rc6 cfexecd
emake DESTDIR="${D}" install
# Remove static library and libtool file as they are not needed
rm "${ED}"/usr/$(get_libdir)/*.la || die
dodoc AUTHORS ChangeLog README TODO INSTALL
# Manually install doc and inputs
doman doc/*.8
doinfo doc/*.info*
docinto examples
dodoc inputs/*.example
# Create cfengine working directory
dodir /var/cfengine
fperms 700 /var/cfengine
keepdir /var/cfengine/bin
keepdir /var/cfengine/inputs
keepdir /var/cfengine/modules
}
pkg_postinst() {
# Copy cfagent into the cfengine tree otherwise cfexecd won't
# find it. Most hosts cache their copy of the cfengine
# binaries here. This is the default search location for the
# binaries.
cp -f /usr/sbin/cf{agent,servd,execd} "${ROOT}"/var/cfengine/bin/
einfo
einfo "NOTE: The cfportage module has been deprecated in favor of the"
einfo " upstream 'packages' action."
einfo
einfo "Init scripts for cfservd, cfenvd, and cfexecd are now provided."
einfo
einfo "To run cfengine out of cron every half hour modify your crontab:"
einfo "0,30 * * * * /usr/sbin/cfexecd -F"
einfo
elog "You MUST generate the keys for cfengine by running:"
elog "emerge --config ${CATEGORY}/${PN}"
}
pkg_config() {
if [[ -z ${ROOT} ]]; then
if [[ ! -f ${EPREFIX}/var/cfengine/ppkeys/localhost.priv ]]; then
einfo "Generating keys for localhost."
"${EPREFIX}"/usr/sbin/cfkey
fi
else
die "cfengine cfkey does not support any value of ROOT other than /."
fi
}
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="An automated suite of programs for configuring and maintaining
Unix-like computers"
HOMEPAGE="https://www.cfengine.org/"
SRC_URI="http://cfengine.com/source_code/download?file=${P}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="vim-syntax"
RDEPEND=">=sys-libs/db-4:=
<dev-libs/openssl-1.1:=
app-portage/portage-utils
net-libs/libnsl:="
DEPEND="${RDEPEND}
virtual/yacc
sys-devel/flex"
PDEPEND="vim-syntax? ( app-vim/cfengine-syntax )"
src_prepare() {
eapply_user
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520696
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511666
# https://bugs.gentoo.org/339808
eapply "${FILESDIR}/admit-noclass-520696.patch" \
"${FILESDIR}/511666-segfault.patch" \
"${FILESDIR}/${P}-snprintf_buffer_overflow.patch" \
"${FILESDIR}/${PN}-2.2.10-lsbrelease.patch"
# 2048 causes crashes on some 32-bit hardened kernels, and the warning
# messages say to turn it back down.
if use x86; then
sed -i -e "s:CF_IFREQ 2048:CF_IFREQ 1024:g" src/cf.defs.h || die
fi
}
src_configure() {
# Enforce /var/cfengine for historical compatibility
econf \
--disable-static \
--with-workdir=/var/cfengine \
--with-berkeleydb=/usr
# Fix Makefile to skip doc,inputs, & contrib install to wrong locations
sed -i -e 's/\(DIST_SUBDIRS.*\) contrib inputs doc/\1/' \
-e 's/\(SUBDIRS.*\) contrib inputs/\1/' \
-e 's/\(install-data-am.*\) install-docDATA/\1/' Makefile || die
# Fix man pages
sed -i -e 's@/usr/local@/usr@' doc/*.8 || die
}
src_install() {
newinitd "${FILESDIR}"/cfservd.rc6 cfservd
newinitd "${FILESDIR}"/cfenvd.rc6 cfenvd
newinitd "${FILESDIR}"/cfexecd.rc6 cfexecd
emake DESTDIR="${D}" install
# Remove static library and libtool file as they are not needed
rm "${ED}"/usr/$(get_libdir)/*.la || die
dodoc AUTHORS ChangeLog README TODO INSTALL
# Manually install doc and inputs
doman doc/*.8
doinfo doc/*.info*
docinto examples
dodoc inputs/*.example
# Create cfengine working directory
dodir /var/cfengine
fperms 700 /var/cfengine
keepdir /var/cfengine/bin
keepdir /var/cfengine/inputs
keepdir /var/cfengine/modules
}
pkg_postinst() {
# Copy cfagent into the cfengine tree otherwise cfexecd won't
# find it. Most hosts cache their copy of the cfengine
# binaries here. This is the default search location for the
# binaries.
cp -f /usr/sbin/cf{agent,servd,execd} "${ROOT}"/var/cfengine/bin/
einfo
einfo "NOTE: The cfportage module has been deprecated in favor of the"
einfo " upstream 'packages' action."
einfo
einfo "Init scripts for cfservd, cfenvd, and cfexecd are now provided."
einfo
einfo "To run cfengine out of cron every half hour modify your crontab:"
einfo "0,30 * * * * /usr/sbin/cfexecd -F"
einfo
elog "You MUST generate the keys for cfengine by running:"
elog "emerge --config ${CATEGORY}/${PN}"
}
pkg_config() {
if [[ -z ${ROOT} ]]; then
if [[ ! -f ${EPREFIX}/var/cfengine/ppkeys/localhost.priv ]]; then
einfo "Generating keys for localhost."
"${EPREFIX}"/usr/sbin/cfkey
fi
else
die "cfengine cfkey does not support any value of ROOT other than /."
fi
}
DIST icewm-1.6.6.tar.lz 1684639 BLAKE2B 20daba42f19d86ceff6ce31c8df9cb1b9b09cc53d8933f70a9a8e750470c4f485e79f8de5e47ed503c83ac5433931c4ff98b10584566941e6a3bcf22d58e3dbf SHA512 6d9848924253fee5f57be488d2eb0b602767f168ce623b10c768a73197dfc6265daee7e70373d45ff5fae1c15b029d62c77ad13f0f631283bbf13aaaa9c6234d
DIST icewm-1.7.0.tar.lz 1668130 BLAKE2B 90739f862cf320c43dc2ddbd1a5ecdf2918e6525e45d5732b19adaaeef0f104d9a66d29acab776658f869d7149954d4b531a07e2595a4c80b4dc50dc679473f0 SHA512 1b0faed0e9ead837dcb0d3ce91ad5248d7fca5ad48455c838700c66482a3373bb4e552dbc252b93b0a5613d53e2663cea756e64b3f3fb073d9ba2797e2b69601
DIST icewm-1.8.1.tar.lz 1682283 BLAKE2B a8b13e8e5a2d675a3c7c488620e44201a4ac07bd9dcf55502d4399242d3ded5ab2b1a51f393ef185b602f1c6bd4b8044dd13ac39966c194dc30c65f05b4ab350 SHA512 b84c767ae96cc78eeea810e35ca01cdd800f1847bc847ee7e41c0d6c5f9f3e28901e3d4b5fee2992e80c86fa3694b5d6f8760c2a6b6df316db67a2248e726d05
DIST icewm-1.8.2.tar.lz 1686746 BLAKE2B a2dcf77284f5dc2f908ec949c6e1ea792292648fbd5cb8167216ee994706b1a208ca6fe29831f6bf98d2ec02e5e5120eca8f3a93a20a4a75d80d839210d829bd SHA512 3454b9547b7f4857957133cda4436814149bea99886cd4564f947391a1f42d474d56c7cd3208ff2471262c57f623de1ec22e30f0d9b14874f29ac3a4855b9a45
DIST icewm-1.8.3.tar.lz 1686603 BLAKE2B 214cb3c7816ba8d94fa56fb9d4a6c630f49f23f69f99ff1ba7aff38aba6f6b7fbd623a284d4873616486d266a7ec412ba9cf4b29479c5c29f1f7ff27e15d1f48 SHA512 697395ff995b57e043774bae2cce667935879c4deab17d9a9059c1e152a90704ad3af618a2c945ac5afd561754895d4e9805f4fea77d5f1e06cf99a7dfd4c062
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment