parent
290b23a8ed
commit
d86e42406b
Binary file not shown.
Binary file not shown.
@ -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>prometheanfire@gentoo.org</email>
|
||||
<name>Matthew Thode</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,8 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit acct-group
|
||||
|
||||
ACCT_GROUP_ID=459
|
Binary file not shown.
@ -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>prometheanfire@gentoo.org</email>
|
||||
<name>Matthew Thode</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,12 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit acct-user
|
||||
|
||||
DESCRIPTION="node_exporter User"
|
||||
ACCT_USER_ID=459
|
||||
ACCT_USER_GROUPS=( node_exporter )
|
||||
|
||||
acct-user_add_deps
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST OpenDoas-6.0.tar.gz 28482 BLAKE2B 8d35a12f18609c9dd7746ff8ce7c39d16d7c5e595a05c0f1b91211d757029ae78311573228178f95ef92624f7a49d6ca1d1d0efd264104d66e1d20a8aa623241 SHA512 2bf5e00895a45d87785e7a494a1506844afd843ef5375e0b0e3795ebc24712bb941c6feeb87e426e41a240d40aca9b4c099f77220745bb7142a7a4b303441f60
|
||||
DIST OpenDoas-6.6.1.tar.gz 30783 BLAKE2B cf6dabddb9a0ef837355516f7344efca33a639ede126e54466644521b5b1a7073b6cfa96cc8573ef16221a748ae6395f7e4fef4ff912ca7889742fb46d1a4da5 SHA512 390e0e139a2641be22c4493c3ed755d9cb4091f4ab8d590123b7c8c4f2f116cea3b3500926ff191fb98d92192ca9e92118cbcbeb463a7833763e00c65603e678
|
||||
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Run commands as super user or another user, alternative to sudo from OpenBSD"
|
||||
|
||||
MY_PN=OpenDoas
|
||||
MY_P=${MY_PN}-${PV}
|
||||
HOMEPAGE="https://github.com/Duncaen/OpenDoas"
|
||||
SRC_URI="https://github.com/Duncaen/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
IUSE="pam"
|
||||
|
||||
RDEPEND="pam? ( sys-libs/pam )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/yacc"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i 's/-Werror //' Makefile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC AR
|
||||
./configure \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--sysconfdir="${EPREFIX}"/etc \
|
||||
$(use_with pam) \
|
||||
|| die
|
||||
}
|
Binary file not shown.
@ -0,0 +1,167 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
WX_GTK_VER="3.0"
|
||||
|
||||
inherit eutils toolchain-funcs wxwidgets
|
||||
|
||||
DESCRIPTION="Port of 7-Zip archiver for Unix"
|
||||
HOMEPAGE="http://p7zip.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_src_all.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1 rar? ( unRAR )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE="abi_x86_x32 doc kde +pch rar static wxwidgets"
|
||||
|
||||
REQUIRED_USE="kde? ( wxwidgets )"
|
||||
|
||||
RDEPEND="wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )"
|
||||
DEPEND="${RDEPEND}
|
||||
abi_x86_x32? ( >=dev-lang/yasm-1.2.0-r1 )
|
||||
amd64? ( dev-lang/yasm )
|
||||
x86? ( dev-lang/nasm )"
|
||||
|
||||
S=${WORKDIR}/${PN}_${PV}
|
||||
|
||||
DOCS=( ChangeLog README TODO )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-darwin.patch
|
||||
"${FILESDIR}"/CVE-2016-9296.patch
|
||||
"${FILESDIR}"/CVE-2017-17969.patch
|
||||
"${FILESDIR}"/CVE-2018-5996.patch
|
||||
"${FILESDIR}"/CVE-2018-10115.patch
|
||||
"${FILESDIR}"/WimHandler.cpp.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if ! use pch; then
|
||||
sed "s:PRE_COMPILED_HEADER=StdAfx.h.gch:PRE_COMPILED_HEADER=:g" -i makefile.* || die
|
||||
fi
|
||||
|
||||
sed \
|
||||
-e 's|-m32 ||g' \
|
||||
-e 's|-m64 ||g' \
|
||||
-e 's|-pipe||g' \
|
||||
-e "/[ALL|OPT]FLAGS/s|-s||;/OPTIMIZE/s|-s||" \
|
||||
-e "/CFLAGS=/s|=|+=|" \
|
||||
-e "/CXXFLAGS=/s|=|+=|" \
|
||||
-i makefile* || die
|
||||
|
||||
# remove non-free RAR codec
|
||||
if use rar; then
|
||||
ewarn "Enabling nonfree RAR decompressor"
|
||||
else
|
||||
sed \
|
||||
-e '/Rar/d' \
|
||||
-e '/RAR/d' \
|
||||
-i makefile* CPP/7zip/Bundles/Format7zFree/makefile || die
|
||||
rm -rf CPP/7zip/Compress/Rar || die
|
||||
fi
|
||||
|
||||
if use abi_x86_x32; then
|
||||
sed -i -e "/^ASM=/s:amd64:x32:" makefile* || die
|
||||
cp -f makefile.linux_amd64_asm makefile.machine || die
|
||||
elif use amd64; then
|
||||
cp -f makefile.linux_amd64_asm makefile.machine || die
|
||||
elif use x86; then
|
||||
cp -f makefile.linux_x86_asm_gcc_4.X makefile.machine || die
|
||||
elif [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# Mac OS X needs this special makefile, because it has a non-GNU
|
||||
# linker, it doesn't matter so much for bitwidth, for it doesn't
|
||||
# do anything with it
|
||||
cp -f makefile.macosx_llvm_64bits makefile.machine
|
||||
# bundles have extension .bundle but don't die because USE=-rar
|
||||
# removes the Rar directory
|
||||
sed -i -e '/strcpy(name/s/\.so/.bundle/' \
|
||||
CPP/Windows/DLL.cpp || die
|
||||
sed -i -e '/^PROG=/s/\.so/.bundle/' \
|
||||
CPP/7zip/Bundles/Format7zFree/makefile.list \
|
||||
$(use rar && echo CPP/7zip/Compress/Rar/makefile.list) || die
|
||||
elif use x86-fbsd; then
|
||||
# FreeBSD needs this special makefile, because it hasn't -ldl
|
||||
sed -e 's/-lc_r/-pthread/' makefile.freebsd > makefile.machine
|
||||
fi
|
||||
|
||||
if use static; then
|
||||
sed -i -e '/^LOCAL_LIBS=/s/LOCAL_LIBS=/&-static /' makefile.machine || die
|
||||
fi
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
need-wxwidgets unicode
|
||||
einfo "Preparing dependency list"
|
||||
emake CC=$(tc-getCC) CXX=$(tc-getCXX) depend
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC=$(tc-getCC) CXX=$(tc-getCXX) all3
|
||||
if use kde || use wxwidgets; then
|
||||
emake CC=$(tc-getCC) CXX=$(tc-getCXX) -- 7zG
|
||||
# emake CC=$(tc-getCC) CXX=$(tc-getCXX) -- 7zFM
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test test_7z test_7zr
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# this wrappers can not be symlinks, p7zip should be called with full path
|
||||
make_wrapper 7zr "/usr/$(get_libdir)/${PN}/7zr"
|
||||
make_wrapper 7za "/usr/$(get_libdir)/${PN}/7za"
|
||||
make_wrapper 7z "/usr/$(get_libdir)/${PN}/7z"
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
make_wrapper 7zG "/usr/$(get_libdir)/${PN}/7zG"
|
||||
# make_wrapper 7zFM "/usr/$(get_libdir)/${PN}/7zFM"
|
||||
|
||||
# make_desktop_entry 7zFM "${PN} FM" ${PN} "GTK;Utility;Archiving;Compression"
|
||||
|
||||
dobin GUI/p7zipForFilemanager
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
# doexe bin/7z{G,FM}
|
||||
doexe bin/7zG
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins -r GUI/Lang
|
||||
|
||||
insinto /usr/share/icons/hicolor/16x16/apps/
|
||||
newins GUI/p7zip_16_ok.png p7zip.png
|
||||
|
||||
if use kde; then
|
||||
rm GUI/kde4/p7zip_compress.desktop || die
|
||||
insinto /usr/share/kservices5/ServiceMenus
|
||||
doins GUI/kde4/*.desktop
|
||||
dodir /usr/share/kde4/services/ServiceMenus # drop these lines after konqueror:4/krusader:4 are gone
|
||||
for item in "${ED}"/usr/share/kservices5/ServiceMenus/*.desktop; do
|
||||
item="$(basename ${item})"
|
||||
dosym ${EROOT}"/usr/share/kservices5/ServiceMenus/${item}" "/usr/share/kde4/services/ServiceMenus/${item}"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
dobin contrib/gzip-like_CLI_wrapper_for_7z/p7zip
|
||||
doman contrib/gzip-like_CLI_wrapper_for_7z/man1/p7zip.1
|
||||
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
doexe bin/7z bin/7za bin/7zr bin/7zCon.sfx
|
||||
doexe bin/*$(get_modname)
|
||||
if use rar; then
|
||||
exeinto /usr/$(get_libdir)/${PN}/Codecs/
|
||||
doexe bin/Codecs/*$(get_modname)
|
||||
fi
|
||||
|
||||
doman man1/7z.1 man1/7za.1 man1/7zr.1
|
||||
|
||||
if use doc; then
|
||||
dodoc DOC/*.txt
|
||||
docinto html
|
||||
dodoc -r DOC/MANUAL/*
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST libvirt-5.10.0.tar.xz 8732120 BLAKE2B 9b191a624cca2c84d157482c48cd4eec0456382aa861958880bbbdc25785625386f63320a0626e52683776cca25c4af80ee65d19349ed0b2862e76a074e4e419 SHA512 bb518a6aa6731a7de4b24fc7b8ffdcd2cdd84dfe49047374e0f02265c274eb06dbe1732c9cc4954412853d36d9dd5c1124fb8a5e37f4c01654d85013773ffa23
|
||||
DIST libvirt-6.0.0.tar.xz 8686092 BLAKE2B 669054aa3bb3e4f2cf0be2e9ea796b820786661f65495597322e178d7c7e42355b0e3752c8a847cb2fc4405928a30a00544829647aa84cc2e71bc0cb8ce9af5f SHA512 64259c0cffa9fc01192c5474f69d88a61ed0bae0a100379fed6112723a37eff1865ccfc85a19d6b8cd39ed504f04998bb3f6390aaafff797bb41ef65b6ec413c
|
||||
DIST libvirt-6.1.0.tar.xz 8276964 BLAKE2B cf57e28d17e868ab4a69f03fe77b0d779362c6cb8cf1a38196ba7bad873ec4ecfa8ad1744ce97251820ab898be1ddc9bf30b788f1708172bfd23ec2c7cd3bdac SHA512 17a2641f300a4a05149261bae74ac856e9a2511a259146595d2e2412c4a0601d88369b0544ba86edc80e433a47cf828317d8de38c6ec86a1b3efaca75294a606
|
||||
|
@ -0,0 +1,70 @@
|
||||
diff --git a/src/Makefile.in b/src/Makefile.in
|
||||
index 36bd280..07cebdf 100644
|
||||
--- a/src/Makefile.in
|
||||
+++ b/src/Makefile.in
|
||||
@@ -4473,7 +4473,7 @@ SECURITY_DRIVER_APPARMOR_SOURCES = \
|
||||
$(NULL)
|
||||
|
||||
SECURITY_DRIVER_APPARMOR_GENERATED_PROFILES_IN = \
|
||||
- security/apparmor/usr.lib.libvirt.virt-aa-helper.in \
|
||||
+ security/apparmor/usr.libexec.virt-aa-helper.in \
|
||||
security/apparmor/usr.sbin.libvirtd.in \
|
||||
$(NULL)
|
||||
|
||||
@@ -13821,11 +13821,11 @@ security/apparmor/%: $(srcdir)/security/apparmor/%.in
|
||||
@WITH_APPARMOR_PROFILES_TRUE@install-apparmor-local: $(SECURITY_DRIVER_APPARMOR_GENERATED_PROFILES)
|
||||
@WITH_APPARMOR_PROFILES_TRUE@ $(MKDIR_P) "$(APPARMOR_LOCAL_DIR)"
|
||||
@WITH_APPARMOR_PROFILES_TRUE@ echo "# Site-specific additions and overrides for \
|
||||
-@WITH_APPARMOR_PROFILES_TRUE@ 'usr.lib.libvirt.virt-aa-helper'" \
|
||||
-@WITH_APPARMOR_PROFILES_TRUE@ >"$(APPARMOR_LOCAL_DIR)/usr.lib.libvirt.virt-aa-helper"
|
||||
+@WITH_APPARMOR_PROFILES_TRUE@ 'usr.libexec.virt-aa-helper'" \
|
||||
+@WITH_APPARMOR_PROFILES_TRUE@ >"$(APPARMOR_LOCAL_DIR)/usr.libexec.virt-aa-helper"
|
||||
|
||||
@WITH_APPARMOR_PROFILES_TRUE@uninstall-apparmor-local:
|
||||
-@WITH_APPARMOR_PROFILES_TRUE@ rm -f "$(APPARMOR_LOCAL_DIR)/usr.lib.libvirt.virt-aa-helper"
|
||||
+@WITH_APPARMOR_PROFILES_TRUE@ rm -f "$(APPARMOR_LOCAL_DIR)/usr.libexec.virt-aa-helper"
|
||||
@WITH_APPARMOR_PROFILES_TRUE@ rmdir "$(APPARMOR_LOCAL_DIR)" || :
|
||||
|
||||
$(ACCESS_DRIVER_POLKIT_POLICY): $(srcdir)/access/viraccessperm.h \
|
||||
diff --git a/src/security/Makefile.inc.am b/src/security/Makefile.inc.am
|
||||
index 5f2f4c8..d457cc6 100644
|
||||
--- a/src/security/Makefile.inc.am
|
||||
+++ b/src/security/Makefile.inc.am
|
||||
@@ -31,7 +31,7 @@ SECURITY_DRIVER_APPARMOR_SOURCES = \
|
||||
$(NULL)
|
||||
|
||||
SECURITY_DRIVER_APPARMOR_GENERATED_PROFILES_IN = \
|
||||
- security/apparmor/usr.lib.libvirt.virt-aa-helper.in \
|
||||
+ security/apparmor/usr.libexec.virt-aa-helper.in \
|
||||
security/apparmor/usr.sbin.libvirtd.in \
|
||||
$(NULL)
|
||||
|
||||
@@ -130,11 +130,11 @@ APPARMOR_LOCAL_DIR = "$(DESTDIR)$(apparmordir)/local"
|
||||
install-apparmor-local: $(SECURITY_DRIVER_APPARMOR_GENERATED_PROFILES)
|
||||
$(MKDIR_P) "$(APPARMOR_LOCAL_DIR)"
|
||||
echo "# Site-specific additions and overrides for \
|
||||
- 'usr.lib.libvirt.virt-aa-helper'" \
|
||||
- >"$(APPARMOR_LOCAL_DIR)/usr.lib.libvirt.virt-aa-helper"
|
||||
+ 'usr.libexec.virt-aa-helper'" \
|
||||
+ >"$(APPARMOR_LOCAL_DIR)/usr.libexec.virt-aa-helper"
|
||||
|
||||
uninstall-apparmor-local:
|
||||
- rm -f "$(APPARMOR_LOCAL_DIR)/usr.lib.libvirt.virt-aa-helper"
|
||||
+ rm -f "$(APPARMOR_LOCAL_DIR)/usr.libexec.virt-aa-helper"
|
||||
rmdir "$(APPARMOR_LOCAL_DIR)" || :
|
||||
|
||||
INSTALL_DATA_LOCAL += install-apparmor-local
|
||||
diff --git a/src/security/apparmor/usr.lib.libvirt.virt-aa-helper.in b/src/security/apparmor/usr.libexec.virt-aa-helper.in
|
||||
similarity index 97%
|
||||
rename from src/security/apparmor/usr.lib.libvirt.virt-aa-helper.in
|
||||
rename to src/security/apparmor/usr.libexec.virt-aa-helper.in
|
||||
index dd18c8a..d06f9cb 100644
|
||||
--- a/src/security/apparmor/usr.lib.libvirt.virt-aa-helper.in
|
||||
+++ b/src/security/apparmor/usr.libexec.virt-aa-helper.in
|
||||
@@ -69,5 +69,5 @@ profile virt-aa-helper @libexecdir@/virt-aa-helper {
|
||||
/**.[iI][sS][oO] r,
|
||||
/**/disk{,.*} r,
|
||||
|
||||
- #include <local/usr.lib.libvirt.virt-aa-helper>
|
||||
+ #include <local/usr.libexec.virt-aa-helper>
|
||||
}
|
@ -0,0 +1,361 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit autotools out-of-source bash-completion-r1 eutils linux-info python-any-r1 readme.gentoo-r1 systemd
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://libvirt.org/git/libvirt.git"
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
SLOT="0"
|
||||
else
|
||||
SRC_URI="https://libvirt.org/sources/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
SLOT="0/${PV}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="C toolkit to manipulate virtual machines"
|
||||
HOMEPAGE="http://www.libvirt.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
IUSE="
|
||||
apparmor audit +caps +dbus dtrace firewalld fuse glusterfs iscsi
|
||||
iscsi-direct +libvirtd lvm libssh lxc +macvtap nfs nls numa openvz
|
||||
parted pcap policykit +qemu rbd sasl selinux +udev +vepa
|
||||
virtualbox virt-network wireshark-plugins xen zfs
|
||||
"
|
||||
|
||||
REQUIRED_USE="
|
||||
firewalld? ( virt-network )
|
||||
libvirtd? ( || ( lxc openvz qemu virtualbox xen ) )
|
||||
lxc? ( caps libvirtd )
|
||||
openvz? ( libvirtd )
|
||||
policykit? ( dbus )
|
||||
qemu? ( libvirtd )
|
||||
vepa? ( macvtap )
|
||||
virt-network? ( libvirtd )
|
||||
virtualbox? ( libvirtd )
|
||||
xen? ( libvirtd )"
|
||||
|
||||
# gettext.sh command is used by the libvirt command wrappers, and it's
|
||||
# non-optional, so put it into RDEPEND.
|
||||
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
|
||||
# package will use 3 by default. Since we don't have slot pinning in an API,
|
||||
# we must go with the most recent
|
||||
RDEPEND="
|
||||
acct-user/qemu
|
||||
policykit? ( acct-group/libvirt )
|
||||
app-misc/scrub
|
||||
>=dev-libs/glib-2.48.0
|
||||
dev-libs/libgcrypt:0
|
||||
dev-libs/libnl:3
|
||||
>=dev-libs/libxml2-2.7.6
|
||||
>=net-analyzer/openbsd-netcat-1.105-r1
|
||||
>=net-libs/gnutls-1.0.25:0=
|
||||
net-libs/libssh2
|
||||
net-libs/libtirpc
|
||||
net-libs/rpcsvc-proto
|
||||
>=net-misc/curl-7.18.0
|
||||
sys-apps/dmidecode
|
||||
>=sys-apps/util-linux-2.17
|
||||
sys-devel/gettext
|
||||
sys-libs/ncurses:0=
|
||||
sys-libs/readline:=
|
||||
apparmor? ( sys-libs/libapparmor )
|
||||
audit? ( sys-process/audit )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
dbus? ( sys-apps/dbus )
|
||||
dtrace? ( dev-util/systemtap )
|
||||
firewalld? ( >=net-firewall/firewalld-0.6.3 )
|
||||
fuse? ( >=sys-fs/fuse-2.8.6:= )
|
||||
glusterfs? ( >=sys-cluster/glusterfs-3.4.1 )
|
||||
iscsi? ( sys-block/open-iscsi )
|
||||
iscsi-direct? ( >=net-libs/libiscsi-1.18.0 )
|
||||
libssh? ( net-libs/libssh )
|
||||
lvm? ( >=sys-fs/lvm2-2.02.48-r2[-device-mapper-only(-)] )
|
||||
lxc? ( !sys-apps/systemd[-cgroup-hybrid(+)] )
|
||||
nfs? ( net-fs/nfs-utils )
|
||||
numa? (
|
||||
>sys-process/numactl-2.0.2
|
||||
sys-process/numad
|
||||
)
|
||||
parted? (
|
||||
>=sys-block/parted-1.8[device-mapper]
|
||||
sys-fs/lvm2[-device-mapper-only(-)]
|
||||
)
|
||||
pcap? ( >=net-libs/libpcap-1.0.0 )
|
||||
policykit? ( >=sys-auth/polkit-0.9 )
|
||||
qemu? (
|
||||
>=app-emulation/qemu-1.5.0
|
||||
dev-libs/yajl
|
||||
)
|
||||
rbd? ( sys-cluster/ceph )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
||||
virt-network? (
|
||||
net-dns/dnsmasq[script]
|
||||
net-firewall/ebtables
|
||||
>=net-firewall/iptables-1.4.10[ipv6]
|
||||
net-misc/radvd
|
||||
sys-apps/iproute2[-minimal]
|
||||
)
|
||||
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
|
||||
wireshark-plugins? ( net-analyzer/wireshark:= )
|
||||
xen? (
|
||||
>=app-emulation/xen-4.6.0
|
||||
app-emulation/xen-tools:=
|
||||
)
|
||||
udev? (
|
||||
virtual/udev
|
||||
>=x11-libs/libpciaccess-0.10.9
|
||||
)
|
||||
zfs? ( sys-fs/zfs )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
app-text/xhtml1
|
||||
dev-lang/perl
|
||||
dev-libs/libxslt
|
||||
dev-perl/XML-XPath
|
||||
dev-python/docutils
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.0.0-do-not-use-sysconf.patch
|
||||
"${FILESDIR}"/${PN}-6.0.0-fix_paths_in_libvirt-guests_sh.patch
|
||||
"${FILESDIR}"/${PN}-6.1.0-fix-paths-for-apparmor.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
# Check kernel configuration:
|
||||
CONFIG_CHECK=""
|
||||
use fuse && CONFIG_CHECK+="
|
||||
~FUSE_FS"
|
||||
|
||||
use lvm && CONFIG_CHECK+="
|
||||
~BLK_DEV_DM
|
||||
~DM_MULTIPATH
|
||||
~DM_SNAPSHOT"
|
||||
|
||||
use lxc && CONFIG_CHECK+="
|
||||
~BLK_CGROUP
|
||||
~CGROUP_CPUACCT
|
||||
~CGROUP_DEVICE
|
||||
~CGROUP_FREEZER
|
||||
~CGROUP_NET_PRIO
|
||||
~CGROUP_PERF
|
||||
~CGROUPS
|
||||
~CGROUP_SCHED
|
||||
~CPUSETS
|
||||
~IPC_NS
|
||||
~MACVLAN
|
||||
~NAMESPACES
|
||||
~NET_CLS_CGROUP
|
||||
~NET_NS
|
||||
~PID_NS
|
||||
~POSIX_MQUEUE
|
||||
~SECURITYFS
|
||||
~USER_NS
|
||||
~UTS_NS
|
||||
~VETH
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS"
|
||||
|
||||
kernel_is lt 4 7 && use lxc && CONFIG_CHECK+="
|
||||
~DEVPTS_MULTIPLE_INSTANCES"
|
||||
|
||||
use macvtap && CONFIG_CHECK+="
|
||||
~MACVTAP"
|
||||
|
||||
use virt-network && CONFIG_CHECK+="
|
||||
~BRIDGE_EBT_MARK_T
|
||||
~BRIDGE_NF_EBTABLES
|
||||
~NETFILTER_ADVANCED
|
||||
~NETFILTER_XT_CONNMARK
|
||||
~NETFILTER_XT_MARK
|
||||
~NETFILTER_XT_TARGET_CHECKSUM
|
||||
~IP_NF_FILTER
|
||||
~IP_NF_MANGLE
|
||||
~IP_NF_NAT
|
||||
~IP_NF_TARGET_MASQUERADE
|
||||
~IP6_NF_FILTER
|
||||
~IP6_NF_MANGLE
|
||||
~IP6_NF_NAT"
|
||||
# Bandwidth Limiting Support
|
||||
use virt-network && CONFIG_CHECK+="
|
||||
~BRIDGE_EBT_T_NAT
|
||||
~IP_NF_TARGET_REJECT
|
||||
~NET_ACT_POLICE
|
||||
~NET_CLS_FW
|
||||
~NET_CLS_U32
|
||||
~NET_SCH_HTB
|
||||
~NET_SCH_INGRESS
|
||||
~NET_SCH_SFQ"
|
||||
|
||||
# Handle specific kernel versions for different features
|
||||
kernel_is lt 3 6 && CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR"
|
||||
if kernel_is ge 3 6; then
|
||||
CONFIG_CHECK+=" ~MEMCG ~MEMCG_SWAP "
|
||||
kernel_is lt 4 5 && CONFIG_CHECK+=" ~MEMCG_KMEM "
|
||||
fi
|
||||
|
||||
ERROR_USER_NS="Optional depending on LXC configuration."
|
||||
|
||||
if [[ -n ${CONFIG_CHECK} ]]; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
touch "${S}/.mailmap"
|
||||
|
||||
default
|
||||
|
||||
# Tweak the init script:
|
||||
cp "${FILESDIR}/libvirtd.init-r18" "${S}/libvirtd.init" || die
|
||||
sed -e "s/USE_FLAG_FIREWALLD/$(usex firewalld 'need firewalld' '')/" \
|
||||
-i "${S}/libvirtd.init" || die "sed failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
my_src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_with apparmor)
|
||||
$(use_with apparmor apparmor-profiles)
|
||||
$(use_with audit)
|
||||
$(use_with caps capng)
|
||||
$(use_with dbus)
|
||||
$(use_with dtrace)
|
||||
$(use_with firewalld)
|
||||
$(use_with fuse)
|
||||
$(use_with glusterfs)
|
||||
$(use_with glusterfs storage-gluster)
|
||||
$(use_with iscsi storage-iscsi)
|
||||
$(use_with iscsi-direct storage-iscsi-direct)
|
||||
$(use_with libvirtd)
|
||||
$(use_with libssh)
|
||||
$(use_with lvm storage-lvm)
|
||||
$(use_with lvm storage-mpath)
|
||||
$(use_with lxc)
|
||||
$(use_with macvtap)
|
||||
$(use_enable nls)
|
||||
$(use_with numa numactl)
|
||||
$(use_with numa numad)
|
||||
$(use_with openvz)
|
||||
$(use_with parted storage-disk)
|
||||
$(use_with pcap libpcap)
|
||||
$(use_with policykit polkit)
|
||||
$(use_with qemu)
|
||||
$(use_with qemu yajl)
|
||||
$(use_with rbd storage-rbd)
|
||||
$(use_with sasl)
|
||||
$(use_with selinux)
|
||||
$(use_with udev)
|
||||
$(use_with vepa virtualport)
|
||||
$(use_with virt-network network)
|
||||
$(use_with wireshark-plugins wireshark-dissector)
|
||||
$(use_with xen libxl)
|
||||
$(use_with zfs storage-zfs)
|
||||
|
||||
--without-hal
|
||||
--without-netcf
|
||||
--without-sanlock
|
||||
|
||||
--with-esx
|
||||
--with-init-script=systemd
|
||||
--with-qemu-group=$(usex caps qemu root)
|
||||
--with-qemu-user=$(usex caps qemu root)
|
||||
--with-remote
|
||||
--with-storage-fs
|
||||
--with-vmware
|
||||
|
||||
--disable-static
|
||||
--disable-werror
|
||||
|
||||
--localstatedir=/var
|
||||
--with-runstatedir=/run
|
||||
--enable-dependency-tracking
|
||||
)
|
||||
|
||||
if use virtualbox && has_version app-emulation/virtualbox-ose; then
|
||||
myeconfargs+=( --with-vbox=/usr/lib/virtualbox-ose/ )
|
||||
else
|
||||
myeconfargs+=( $(use_with virtualbox vbox) )
|
||||
fi
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
my_src_test() {
|
||||
# remove problematic tests, bug #591416, bug #591418
|
||||
sed -i -e 's#commandtest$(EXEEXT) # #' \
|
||||
-e 's#virfirewalltest$(EXEEXT) # #' \
|
||||
-e 's#nwfilterebiptablestest$(EXEEXT) # #' \
|
||||
-e 's#nwfilterxml2firewalltest$(EXEEXT)$##' \
|
||||
tests/Makefile
|
||||
|
||||
export VIR_TEST_DEBUG=1
|
||||
HOME="${T}" emake check
|
||||
}
|
||||
|
||||
my_src_install() {
|
||||
emake DESTDIR="${D}" \
|
||||
SYSTEMD_UNIT_DIR="$(systemd_get_systemunitdir)" install
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
# Remove bogus, empty directories. They are either not used, or
|
||||
# libvirtd is able to create them on demand
|
||||
rm -rf "${D}"/etc/sysconfig
|
||||
rm -rf "${D}"/var
|
||||
rm -rf "${D}"/run
|
||||
|
||||
newbashcomp "${S}/tools/bash-completion/vsh" virsh
|
||||
bashcomp_alias virsh virt-admin
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
systemd_install_serviced \
|
||||
"${FILESDIR}"/libvirtd.service.conf libvirtd.service
|
||||
|
||||
systemd_newtmpfilesd "${FILESDIR}"/libvirtd.tmpfiles.conf libvirtd.conf
|
||||
|
||||
newinitd "${S}/libvirtd.init" libvirtd
|
||||
newinitd "${FILESDIR}/libvirt-guests.init-r4" libvirt-guests
|
||||
newinitd "${FILESDIR}/virtlockd.init-r1" virtlockd
|
||||
newinitd "${FILESDIR}/virtlogd.init-r1" virtlogd
|
||||
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd
|
||||
newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests
|
||||
|
||||
DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r2")
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# we only ever want to generate this once
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -1,12 +1,11 @@
|
||||
DIST gentoo-wine-patches-20190511.tar.xz 58996 BLAKE2B 571c30d94341f567261893f884345b39eab42adc8b5c306a30d03943fd770055e070ae01e41e5add5b873063d3aaa69641faf81b16ac6039970d8a22b177dd7e SHA512 ccd74d0d6acecc7b24dc89466f93099bd6991d607a4fe89d68637d1fa82e02ebd76b532fe1afd8ab8de8ef3f2d49fe8d71f797796a9434f4b0f7a8183c084969
|
||||
DIST gentoo-wine-patches-20191222.tar.xz 59236 BLAKE2B 1b2c7b3ab69e5603d0f176a88c13b6d532f94f319ad29821faa699e828d90cfbe92c02b6e73b72eb16e565707c49885833fe557809ed16f4a6f0f182de9bb6e6 SHA512 a030fad55be5e1d909bc50e430c9a99846b88d7555f12749e101ba83f04df5af23eeb726b5ed78f847a66d11ac0a838bc69bd5bf8cf53da77ad454d2a2fe65cf
|
||||
DIST wine-4.21.tar.xz 22395844 BLAKE2B 1b9c1fd8f4a1ff0527b4d4a02b1dfffa4f6887f2f261b7d4b5afa12e65a8ea18f544c91397cfc71039db7736d33cd0219aaab82cc4564ecd0cb9c74a2e39d6e5 SHA512 f962e47577db2de4e74022b8d51e81e30a004f98b37d8eee5889334271f013123e3ff53e5ac1416c2dd93ec90bee8a2d300b3842c20124df99ef067ac5c72f53
|
||||
DIST wine-5.0.tar.xz 22469428 BLAKE2B d26938e707545d31ed932c67eaaa9fd137e42daa6facadeaea2897797ec816658edc1b89c649e0cb5c453ca53ebea5d7156fdd188f1afe2a55ca7834e012e276 SHA512 681de951804c3dd3ae8c677a0ea52d172b04cac58594698b191cd972b25899cd2030d01a25fc2ad2eb6b99976a30319d2bd5ba8b7ff98b1a8b43832fa6514b83
|
||||
DIST wine-5.1.tar.xz 22500180 BLAKE2B bf77f24e4be2402afd083c28624e41761d63c1248c314870e0c5a6879fb1393992fe9d99bcafcea0a91599500d745a3ad199e31e857590707f026f1cf740ad31 SHA512 b842b533884f15a8fb71373258671d74aee997d9ed9ee0fb36f945cd2006b494f6cc6c91a8ca47e0ea5b0b39b108f2c4f155918823a7ddf3cd44b4e26ede9171
|
||||
DIST wine-5.2.tar.xz 22837712 BLAKE2B ee9d4d4dd6c0669d1585cc6988d933dbc7aa5277a0f13e965dd9eecb621e475d33a832b316e37f1372a965efe517efafa9f857a38d9bf081026d221db96b7a0d SHA512 57fa66885c3b5f43e51324e24b8524f663ad67ff15b464ac7d58096d5921f523a59ef5f1dc1ea7aa65fa10d64b7cd832f421c1b773c72bc312d8544a61c33f8f
|
||||
DIST wine-5.3.tar.xz 22918612 BLAKE2B dce58aec45f665e1014635eadc9cc00c969e46c87de5d41bc51168237d9fc01011dcfc3fa4c83ed4cbcdfe19a3747e5e32f87946434a6eba2a8547f1929b33f3 SHA512 40528f46ad10c11758308e3bf21ba73c7af133d4dda386d542acec3a5cb31e01be0eb102b94f9d82a2358e45597bf49bd1e82c463e3a26aff8c0827b5a0894b6
|
||||
DIST wine-staging-4.21.tar.gz 9904765 BLAKE2B 43f15cd96c7f5ca9cf5aad120c73a3aa534dce33797a4a4e707bea668cfc93e077ad112055dc428263775a30c6447620eed8650a9828ac487bf36c6490a7b73d SHA512 0c6c32f86d252f827ebb8d5df2b046c4f0a49aa7c0ca47939b33844786e561d5f676db1e199ec3cd9969757985f66b865099061f5e77234c3aabd4fd29d3a063
|
||||
DIST wine-5.4.tar.xz 22917904 BLAKE2B ceaa8516ddc0c2421b92da0ef047465cfa9fc203dfce93b42ca76409bab5e24709d173a4ed519b78f32d8ee99ffd9f0d06ee4156357f995c75e434b0249a31e2 SHA512 892e8b875484ada01eaddab4ea50992f95cf3ced6730f8e2ca1f0765770d7fa53a21080c526772b9b3ac83b3559d3d68e83ad3af3afbe9d6f931d833afde7e98
|
||||
DIST wine-staging-5.0.tar.gz 9942644 BLAKE2B e5d040ae903c6e982c961db1c7c30cfbf7245f00cd0df7c10ceb182c5227f5a555f1a41b24eca982a12b4981edee937cfa5079e6c6fec378d475fca3057cbb7c SHA512 36849fc2c848db9949982619c4544b56468012a1f086cc92eb3e2027377c58c3c24daf508149e0e34a70e6b283edfd80833dc2f346c75f0be69f1fb2c5999cd6
|
||||
DIST wine-staging-5.1.tar.gz 9924758 BLAKE2B 44a5710c126a1ea0a21dbac21826d2513191d79cb96f4a22adc5e6823d28b214d81af8f536914d4434402b5e2b70f89a25e2049cf12cbbde3f31ae2bc3bafab5 SHA512 ebb9bf0a0a3c7f108fff8b32ca79124d1da410fbfb320ad3298f3d92fabeb9ca81de6a4fefac344948a70c49771ffa3f0dc30de2ee6d6f61d158ed87a206a14e
|
||||
DIST wine-staging-5.2.tar.gz 9898002 BLAKE2B f4dc43223cf89e6c76fc7898a98acdc9eb3d4a8e8279a38135f155d9a3fe6a2f7bbc52ece5c4a07cf801caa91c10e40f172271b442356e52a59c31a8a82db3c3 SHA512 dd2066db1eb4d424579bdf8d25f476eae0b86a6bea7b1f7ff2a21d7bf0209b4ef00d9c0ed29a7cab50c5dea4684acb5d342ebf02554b16fd0938a03e607f6270
|
||||
DIST wine-staging-5.3.tar.gz 9904213 BLAKE2B 5a1a9b41a17533238151ad87ec631a9ff78f954fa51baaebac787bd4eba88730a3524e4778a55eb80fd4153302d443d859c0b27c149495cd72ab6263aa583a8a SHA512 df14a61c04b134a72dc8662ee331fd234e2c82bf82824cb01443ae6516aba0bdcb579e2dbedc1ada47de0f3a1265c5fe9ef5f8183094d74451845b78d0a81702
|
||||
DIST wine-staging-5.4.tar.gz 9924147 BLAKE2B c82fa66470645e62e63e8760d68cb92e4a04c209db712371bc1a534756c6b16c109e247bb1866edc514bdb24ba6a9e9f4ccb5c0db204d51541da0af82fd3b96f SHA512 d4958e73cea34a4a722f516487116d9f77a22099cb80b9c79f2468fbe28855acec131dacecfd255a9934fb88bcf34809bfb2e2e518d89ac23bcae125b6d6c86b
|
||||
|
@ -1,12 +1,11 @@
|
||||
DIST gentoo-wine-patches-20180120.tar.xz 58672 BLAKE2B 84d621075b65475cec41a06429680b518d7eafb938cefd903f3f8aa71ea3049ac9d8de05af48f9f4f4a1b9172c7ef17784540413e410eb8ec11e8ec4a63858c6 SHA512 5b354a409c7a2b77499aaa593b9248a1d15d755e3687b095755faacc30068bfcdbdd5c2a2a78617cb1a78c46d2931162bd69ec3379b035d81494bea7108263c2
|
||||
DIST gentoo-wine-patches-20190511.tar.xz 58996 BLAKE2B 571c30d94341f567261893f884345b39eab42adc8b5c306a30d03943fd770055e070ae01e41e5add5b873063d3aaa69641faf81b16ac6039970d8a22b177dd7e SHA512 ccd74d0d6acecc7b24dc89466f93099bd6991d607a4fe89d68637d1fa82e02ebd76b532fe1afd8ab8de8ef3f2d49fe8d71f797796a9434f4b0f7a8183c084969
|
||||
DIST gentoo-wine-patches-20191222.tar.xz 59236 BLAKE2B 1b2c7b3ab69e5603d0f176a88c13b6d532f94f319ad29821faa699e828d90cfbe92c02b6e73b72eb16e565707c49885833fe557809ed16f4a6f0f182de9bb6e6 SHA512 a030fad55be5e1d909bc50e430c9a99846b88d7555f12749e101ba83f04df5af23eeb726b5ed78f847a66d11ac0a838bc69bd5bf8cf53da77ad454d2a2fe65cf
|
||||
DIST wine-4.0.1.tar.xz 21665840 BLAKE2B b33b5ce8b4624dfbbbf473a88ed8c52d5e53855fa98ac3128e9b89dbeee6e92044ed1e662e1dc9669bd8d805424c36f2dd2c836c51bf6a5e4d78350926a13150 SHA512 dd240525e389f841123a569fd2f9b8da698b7707bc0de408dfd60ae73c5e24d522abb42b76571c840df52c686fdeae56e0a9c69db2cd31f04cdb345feeacf1dc
|
||||
DIST wine-4.0.2.tar.xz 21668348 BLAKE2B f1aa8ba3add9ae1e6fbb930a0c557c0015a699b21ba9988c6832c9a1b5180f98cbaadc561fbe4a22e97ff78732ee121a14f5a82b0637c71a4856fa5524ff2f5a SHA512 14cb7eeba188562b73125c668f2020e1df6802e486552e422d3aa75b95f6fccedc0f87868f7e58ce71697941ff49757981ec93b9ef288da37ca8570658f194fc
|
||||
DIST wine-4.0.3.tar.xz 21680420 BLAKE2B a7caf4b82fa2594f77e31f29b2a3da59c08bb58f213268d61bdf48998345162bc36fbfc24db94d11cb07b6da347b3471e9d8976d9abfa0f76c183c0a519aa73e SHA512 a8fde0bcf600eaec56c3ce58c9aa992386784c85cf1c93aa84d50aff4c842b12a6b099c23391d3ad9a0059f3dc9069c0f8e00fad293305ba8a33afc70bf26e14
|
||||
DIST wine-4.0.tar.xz 21644692 BLAKE2B 9c426ef2249c16e908a3617c2844d8b12a2df843721338b1cfb69459815b902cfa0ddf3d74c09dc900fb2ceb003e54d97a7c0afaac51a9caab7d21beb82e26c3 SHA512 7607fa7a3d5f7bcd3d8c4c9e7bb6e1987466110bbfc672782ebe57c6d9da348c58e76abf40b0a70c725dfd703163db6e194ee0e3db11a47b6b60e225163308dd
|
||||
DIST wine-4.21.tar.xz 22395844 BLAKE2B 1b9c1fd8f4a1ff0527b4d4a02b1dfffa4f6887f2f261b7d4b5afa12e65a8ea18f544c91397cfc71039db7736d33cd0219aaab82cc4564ecd0cb9c74a2e39d6e5 SHA512 f962e47577db2de4e74022b8d51e81e30a004f98b37d8eee5889334271f013123e3ff53e5ac1416c2dd93ec90bee8a2d300b3842c20124df99ef067ac5c72f53
|
||||
DIST wine-5.0.tar.xz 22469428 BLAKE2B d26938e707545d31ed932c67eaaa9fd137e42daa6facadeaea2897797ec816658edc1b89c649e0cb5c453ca53ebea5d7156fdd188f1afe2a55ca7834e012e276 SHA512 681de951804c3dd3ae8c677a0ea52d172b04cac58594698b191cd972b25899cd2030d01a25fc2ad2eb6b99976a30319d2bd5ba8b7ff98b1a8b43832fa6514b83
|
||||
DIST wine-5.1.tar.xz 22500180 BLAKE2B bf77f24e4be2402afd083c28624e41761d63c1248c314870e0c5a6879fb1393992fe9d99bcafcea0a91599500d745a3ad199e31e857590707f026f1cf740ad31 SHA512 b842b533884f15a8fb71373258671d74aee997d9ed9ee0fb36f945cd2006b494f6cc6c91a8ca47e0ea5b0b39b108f2c4f155918823a7ddf3cd44b4e26ede9171
|
||||
DIST wine-5.2.tar.xz 22837712 BLAKE2B ee9d4d4dd6c0669d1585cc6988d933dbc7aa5277a0f13e965dd9eecb621e475d33a832b316e37f1372a965efe517efafa9f857a38d9bf081026d221db96b7a0d SHA512 57fa66885c3b5f43e51324e24b8524f663ad67ff15b464ac7d58096d5921f523a59ef5f1dc1ea7aa65fa10d64b7cd832f421c1b773c72bc312d8544a61c33f8f
|
||||
DIST wine-5.3.tar.xz 22918612 BLAKE2B dce58aec45f665e1014635eadc9cc00c969e46c87de5d41bc51168237d9fc01011dcfc3fa4c83ed4cbcdfe19a3747e5e32f87946434a6eba2a8547f1929b33f3 SHA512 40528f46ad10c11758308e3bf21ba73c7af133d4dda386d542acec3a5cb31e01be0eb102b94f9d82a2358e45597bf49bd1e82c463e3a26aff8c0827b5a0894b6
|
||||
DIST wine-5.4.tar.xz 22917904 BLAKE2B ceaa8516ddc0c2421b92da0ef047465cfa9fc203dfce93b42ca76409bab5e24709d173a4ed519b78f32d8ee99ffd9f0d06ee4156357f995c75e434b0249a31e2 SHA512 892e8b875484ada01eaddab4ea50992f95cf3ced6730f8e2ca1f0765770d7fa53a21080c526772b9b3ac83b3559d3d68e83ad3af3afbe9d6f931d833afde7e98
|
||||
|
Binary file not shown.
@ -0,0 +1,179 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python{2_7,3_6,3_7,3_8} )
|
||||
VALA_MIN_API_VERSION="0.34"
|
||||
VALA_USE_DEPEND="vapigen"
|
||||
|
||||
inherit autotools bash-completion-r1 gnome2-utils python-r1 vala virtualx xdg-utils
|
||||
|
||||
DESCRIPTION="Intelligent Input Bus for Linux / Unix OS"
|
||||
HOMEPAGE="https://github.com/ibus/ibus/wiki"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="+X +emoji +gtk +gtk2 +introspection kde nls +python test +unicode vala wayland"
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="emoji? ( gtk )
|
||||
gtk2? ( gtk )
|
||||
kde? ( gtk )
|
||||
python? (
|
||||
${PYTHON_REQUIRED_USE}
|
||||
introspection
|
||||
)
|
||||
test? ( gtk )
|
||||
vala? ( introspection )"
|
||||
|
||||
CDEPEND="app-text/iso-codes
|
||||
dev-libs/glib:2
|
||||
gnome-base/dconf
|
||||
gnome-base/librsvg:2
|
||||
sys-apps/dbus[X?]
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
!gtk? ( x11-libs/gtk+:2 )
|
||||
)
|
||||
gtk? (
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libX11
|
||||
x11-libs/libXi
|
||||
gtk2? ( x11-libs/gtk+:2 )
|
||||
)
|
||||
introspection? ( dev-libs/gobject-introspection )
|
||||
kde? ( dev-qt/qtgui:5 )
|
||||
nls? ( virtual/libintl )
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
)
|
||||
wayland? (
|
||||
dev-libs/wayland
|
||||
x11-libs/libxkbcommon
|
||||
)"
|
||||
RDEPEND="${CDEPEND}
|
||||
python? (
|
||||
gtk? (
|
||||
x11-libs/gtk+:3[introspection]
|
||||
)
|
||||
)"
|
||||
DEPEND="${CDEPEND}
|
||||
$(vala_depend)
|
||||
dev-util/glib-utils
|
||||
virtual/pkgconfig
|
||||
emoji? (
|
||||
app-i18n/unicode-cldr
|
||||
app-i18n/unicode-emoji
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
unicode? ( app-i18n/unicode-data )"
|
||||
|
||||
src_prepare() {
|
||||
vala_src_prepare --ignore-use
|
||||
sed -i "/UCD_DIR=/s/\$with_emoji_annotation_dir/\$with_ucd_dir/" configure.ac
|
||||
if ! has_version 'x11-libs/gtk+:3[wayland]'; then
|
||||
touch ui/gtk3/panelbinding.vala
|
||||
fi
|
||||
if ! use emoji; then
|
||||
touch \
|
||||
tools/main.vala \
|
||||
ui/gtk3/panel.vala
|
||||
fi
|
||||
if ! use kde; then
|
||||
touch ui/gtk3/panel.vala
|
||||
fi
|
||||
|
||||
# for multiple Python implementations
|
||||
sed -i "s/^\(PYGOBJECT_DIR =\).*/\1/" bindings/Makefile.am
|
||||
# fix for parallel install
|
||||
sed -i "/^if ENABLE_PYTHON2/,/^endif/d" bindings/pygobject/Makefile.am
|
||||
# require user interaction
|
||||
sed -i "/^TESTS += ibus-\(compose\|keypress\)/d" src/tests/Makefile.am
|
||||
|
||||
sed -i "/^bash_completion/d" tools/Makefile.am
|
||||
|
||||
default
|
||||
eautoreconf
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local unicodedir="${EPREFIX}"/usr/share/unicode
|
||||
local python_conf=()
|
||||
if use python; then
|
||||
python_setup
|
||||
python_conf+=(
|
||||
$(use_enable gtk setup)
|
||||
--with-python=${EPYTHON}
|
||||
)
|
||||
else
|
||||
python_conf+=( --disable-setup )
|
||||
fi
|
||||
|
||||
econf \
|
||||
$(use_enable X xim) \
|
||||
$(use_enable emoji emoji-dict) \
|
||||
$(use_with emoji unicode-emoji-dir "${unicodedir}"/emoji) \
|
||||
$(use_with emoji emoji-annotation-dir "${unicodedir}"/cldr/common/annotations) \
|
||||
$(use_enable gtk gtk3) \
|
||||
$(use_enable gtk ui) \
|
||||
$(use_enable gtk2) \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable kde appindicator) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable test tests) \
|
||||
$(use_enable unicode unicode-dict) \
|
||||
$(use_with unicode ucd-dir "${EPREFIX}/usr/share/unicode-data") \
|
||||
$(use_enable vala) \
|
||||
$(use_enable wayland) \
|
||||
"${python_conf[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
virtx emake -j1 check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
|
||||
if use python; then
|
||||
python_install() {
|
||||
emake -C bindings/pygobject \
|
||||
pyoverridesdir="$(${EPYTHON} -c 'import gi; print(gi._overridesdir)')" \
|
||||
DESTDIR="${D}" \
|
||||
install
|
||||
|
||||
python_optimize
|
||||
}
|
||||
python_foreach_impl python_install
|
||||
fi
|
||||
|
||||
keepdir /usr/share/ibus/engine
|
||||
|
||||
newbashcomp tools/${PN}.bash ${PN}
|
||||
|
||||
insinto /etc/X11/xinit/xinput.d
|
||||
newins xinput-${PN} ${PN}.conf
|
||||
|
||||
# Undo compression of man page
|
||||
find "${ED}"/usr/share/man -type f -name '*.gz' -exec gzip -d {} \; || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use gtk && gnome2_query_immodules_gtk3
|
||||
use gtk2 && gnome2_query_immodules_gtk2
|
||||
xdg_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
dconf update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use gtk && gnome2_query_immodules_gtk3
|
||||
use gtk2 && gnome2_query_immodules_gtk2
|
||||
xdg_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST node_exporter-0.18.1.tar.gz 2110072 BLAKE2B 48c73d00cba892e34e95d40bd29c9ca70bc5748590f00cb7f8adcd25d8a9504f669d887b1273cc65316ca55b06c36d97a3e19a66382f35d5768db7c315981a13 SHA512 cf2b854fbec1ba39b18432cdc11ab507ebc5b2828e6b34b4f49af9b949fcd365cb3e5eb1e265d0825783810c6b1572a8b3512ec27a46e5c83f89a505590159c0
|
||||
DIST node_exporter-1.0.0_rc0.tar.gz 2753717 BLAKE2B 2e1984d080ce2a16ca710a3da882b311510b2741836d615075281f5fce2641be35084090d9bcedcb8bf4f6a18333c5fcd53eb98817d1efed4c1a26261a02bffd SHA512 ec1d79367c69a7ccdacc9482a38625ffc9adab6d781b789cc226eed0bd893deca5cfc420a096f790ccd57834492551d36e2f307ad27a6c67585c8ef31887b50f
|
||||
|
@ -0,0 +1,23 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 2016-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
description="Prometheus machine metrics exporter"
|
||||
pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
|
||||
user=${user:-${RC_SVCNAME}}
|
||||
group=${group:-${RC_SVCNAME}}
|
||||
|
||||
command="/usr/sbin/node_exporter"
|
||||
command_args="${command_args:---collector.textfile.directory=/var/lib/node_exporter/}"
|
||||
command_background="true"
|
||||
start_stop_daemon_args="--user ${user} --group ${group} \
|
||||
--stdout /var/log/node_exporter/${RC_SVCNAME}.log \
|
||||
--stderr /var/log/node_exporter/${RC_SVCNAME}.log"
|
||||
|
||||
depend() {
|
||||
after net
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkpath -q -d -m 0755 -o ${user}:${group} /var/log/node_exporter
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Node Exporter
|
||||
|
||||
[Service]
|
||||
User=node_exporter
|
||||
EnvironmentFile=/etc/sysconfig/node_exporter
|
||||
ExecStart=/usr/bin/node_exporter $OPTIONS
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit go-module systemd
|
||||
MY_PV="v${PV/_rc/-rc.}"
|
||||
NODE_EXPORTER_COMMIT=ef7c058
|
||||
|
||||
DESCRIPTION="Prometheus exporter for machine metrics"
|
||||
HOMEPAGE="https://github.com/prometheus/node_exporter"
|
||||
SRC_URI="https://github.com/prometheus/node_exporter/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 BSD BSD-2 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
CDEPEND="acct-group/node_exporter
|
||||
acct-user/node_exporter"
|
||||
DEPEND=">=dev-util/promu-0.3.0
|
||||
${CDEPEND}"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${PV/_rc/-rc.}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "s/{{.Revision}}/${NODE_EXPORTER_COMMIT}/" .promu.yml || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
mkdir -p bin || die
|
||||
promu build -v --prefix node_exporter || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin node_exporter/node_exporter
|
||||
dodoc {README,CHANGELOG,CONTRIBUTING}.md
|
||||
systemd_dounit examples/systemd/node_exporter.service
|
||||
insinto /etc/sysconfig
|
||||
newins examples/systemd/sysconfig.node_exporter node_exporter
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||
keepdir /var/lib/node_exporter /var/log/node_exporter
|
||||
fowners ${PN}:${PN} /var/lib/node_exporter /var/log/node_exporter
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit golang-build golang-vcs-snapshot systemd
|
||||
|
||||
EGO_PN="github.com/prometheus/node_exporter"
|
||||
EGIT_COMMIT="v${PV/_rc/-rc.}"
|
||||
NODE_EXPORTER_COMMIT="ef7c058"
|
||||
ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="Prometheus exporter for machine metrics"
|
||||
HOMEPAGE="https://github.com/prometheus/node_exporter"
|
||||
SRC_URI="${ARCHIVE_URI}"
|
||||
LICENSE="Apache-2.0 BSD BSD-2 MIT"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="acct-group/node_exporter
|
||||
acct-user/node_exporter"
|
||||
DEPEND=">=dev-lang/go-1.12
|
||||
>=dev-util/promu-0.3.0
|
||||
${CDEPEND}"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "s/{{.Revision}}/${NODE_EXPORTER_COMMIT}/" src/${EGO_PN}/.promu.yml || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
pushd src/${EGO_PN} || die
|
||||
mkdir -p bin || die
|
||||
GO111MODULE=on GOPATH="${S}" GOCACHE="${T}"/go-cache promu build -v --prefix node_exporter || die
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# binary and docs
|
||||
dobin src/"${EGO_PN}"/node_exporter/node_exporter
|
||||
dodoc src/"${EGO_PN}"/{README,CHANGELOG,CONTRIBUTING}.md
|
||||
# systemd
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
insinto /etc/sysconfig
|
||||
newins src/"${EGO_PN}"/examples/systemd/sysconfig.node_exporter node_exporter
|
||||
# openrc
|
||||
newinitd "${FILESDIR}"/${PN}-1.initd ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||
# maintence
|
||||
keepdir /var/lib/node_exporter /var/log/node_exporter
|
||||
fowners ${PN}:${PN} /var/lib/node_exporter /var/log/node_exporter
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="Project manager for Gnome"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Planner"
|
||||
SRC_URI="https://dev.gentoo.org/~eva/distfiles/${PN}/${P}.tar.xz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
|
||||
|
||||
IUSE="eds examples"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.6:2
|
||||
>=x11-libs/gtk+-2.24:2
|
||||
>=gnome-base/libgnomecanvas-2.10
|
||||
>=gnome-base/libglade-2.4:2.0
|
||||
>=gnome-base/gconf-2.10:2
|
||||
>=dev-libs/libxml2-2.6.27:2
|
||||
>=dev-libs/libxslt-1.1.23
|
||||
eds? (
|
||||
>=gnome-extra/evolution-data-server-3.6:=
|
||||
>=mail-client/evolution-3.6 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/rarian
|
||||
dev-util/gtk-doc-am
|
||||
>=dev-util/intltool-0.35.5
|
||||
gnome-base/gnome-common
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}-0.14.6"
|
||||
|
||||
src_configure() {
|
||||
# FIXME: disable eds backend for now, it fails, upstream bug #654005
|
||||
# We need to set compile-warnings to a different value as it doesn't use
|
||||
# standard macro: https://bugzilla.gnome.org/703067
|
||||
gnome2_src_configure \
|
||||
--disable-python \
|
||||
--disable-python-plugin \
|
||||
$(use_enable eds) \
|
||||
--disable-eds-backend \
|
||||
--with-database=no \
|
||||
--disable-update-mimedb \
|
||||
--enable-compile-warnings=yes
|
||||
#$(use_enable eds eds-backend)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# error: relink `libstorage-mrproject-1.la' with the above command before installing it
|
||||
# Try to drop workaround on next snapshot or bump
|
||||
MAKEOPTS="${MAKEOPTS} -j1" gnome2_src_install \
|
||||
sqldocdir="\$(datadir)/doc/${PF}" \
|
||||
sampledir="\$(datadir)/doc/${PF}/examples"
|
||||
|
||||
if ! use examples; then
|
||||
rm -rf "${D}/usr/share/doc/${PF}/examples"
|
||||
fi
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1 @@
|
||||
DIST aspell-0.60.7-rc1.tar.gz 2034916 BLAKE2B 7518660b0bb7f75aa3b659519a97132675b39dac7e8806d5450d43f40d62683e4c4a41a8c18cd08b6ab9ca53911caeb87e0898eb04ad9d2f98185e2bb6033d5c SHA512 e13240d78b8afd74d8a8cfd5fc7fe2081de85b33621e86543cdf942ed601d36c4e0cbf38a54be083e951127fa9435677cec2997387cb0e7b51a5597386e7e8d1
|
||||
DIST aspell-0.60.7.tar.gz 2071890 BLAKE2B d0c8780179cca304361b9d58be667f3dd99d9319cbcffd92a0cc69c65c3a40410b10f6953471ddd9d6df355b557761ffff71ccb5bc6995a57de69a9adb07db66 SHA512 6f5fcd1c29164ee18f205594b66f382b51d19b17686293a931ca92c1442d3f7228627ca7d604d860551d0d367ac34dfb2ae34170a844f51e84e390fb1edc4535
|
||||
DIST aspell-0.60.8.tar.gz 3486448 BLAKE2B a72e70af65749059a576740377f93b20ab283f73fa7919894f6af189b5aa73581fa0410800851c9396e7d13f4cbc2f7edc23c53d46874d0389ffdb2432ff08c2 SHA512 8ef4952c553b6234dfe777240d2d97beb13ef9201e18d56bee3b5068d13525db3625b7130d9f5122f7c529da0ccb0c70eb852a81472a7d15fb7c4ee5ba21cd29
|
||||
|
@ -1,103 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools flag-o-matic libtool toolchain-funcs
|
||||
|
||||
MY_P="${P/_/-}"
|
||||
|
||||
DESCRIPTION="A spell checker replacement for ispell"
|
||||
HOMEPAGE="http://aspell.net/"
|
||||
if [[ "${PV}" = *_rc* ]] ; then
|
||||
SRC_URI="mirror://gnu-alpha/aspell/${MY_P}.tar.gz"
|
||||
else
|
||||
SRC_URI="mirror://gnu/aspell/${MY_P}.tar.gz"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="nls unicode"
|
||||
|
||||
PDEPEND="app-dicts/aspell-en"
|
||||
LANGS="af be bg br ca cs cy da de de-1901 el en eo es et fi fo fr ga gl he hr
|
||||
hu hy is it la lt nl no pl pt pt-BR ro ru sk sl sr sv uk vi"
|
||||
for lang in ${LANGS}; do
|
||||
IUSE+=" l10n_${lang}"
|
||||
case ${lang} in
|
||||
de-1901) dict="de-alt" ;;
|
||||
pt-BR) dict="pt-br" ;;
|
||||
*) dict="${lang}" ;;
|
||||
esac
|
||||
PDEPEND+=" l10n_${lang}? ( app-dicts/aspell-${dict} )"
|
||||
done
|
||||
unset dict lang LANGS
|
||||
|
||||
# English dictionary 0.5 is incompatible with aspell-0.6
|
||||
RDEPEND="
|
||||
sys-libs/ncurses:0=[unicode?]
|
||||
nls? ( virtual/libintl )
|
||||
!=app-dicts/aspell-en-0.5*
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
HTML_DOCS=( manual/aspell{,-dev}.html )
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.60.5-nls.patch"
|
||||
"${FILESDIR}/${PN}-0.60.5-solaris.patch"
|
||||
"${FILESDIR}/${PN}-0.60.6-darwin-bundles.patch"
|
||||
"${FILESDIR}/${PN}-0.60.6.1-clang.patch"
|
||||
# includes fix for bug #467602
|
||||
"${FILESDIR}/${PN}-0.60.6.1-unicode.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
rm m4/lt* m4/libtool.m4 || die
|
||||
eautoreconf
|
||||
elibtoolize --reverse-deps
|
||||
|
||||
# Parallel install of libtool libraries doesn't always work.
|
||||
# https://lists.gnu.org/archive/html/libtool/2011-03/msg00003.html
|
||||
# This has to be after automake has run so that we don't clobber
|
||||
# the default target that automake creates for us.
|
||||
echo 'install-filterLTLIBRARIES: install-libLTLIBRARIES' >> Makefile.in || die
|
||||
|
||||
# unicode patch breaks on Darwin, NCURSES_WIDECHAR won't get set
|
||||
# any more. Fix this.
|
||||
[[ ${CHOST} == *-darwin* ]] || [[ ${CHOST} == *-musl* ]] && use unicode && \
|
||||
append-cppflags -DNCURSES_WIDECHAR=1
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable nls)
|
||||
$(use_enable unicode)
|
||||
--disable-static
|
||||
--sysconfdir="${EPREFIX}"/etc/aspell
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
docinto examples
|
||||
dodoc "${S}"/examples/*.c
|
||||
|
||||
# install ispell/aspell compatibility scripts
|
||||
newbin scripts/ispell ispell-aspell
|
||||
newbin scripts/spell spell-aspell
|
||||
|
||||
# we explicitly pass '--disable-static' to econf,
|
||||
# hence we can delete .la files unconditionally
|
||||
find "${ED}" -type f -name '*.la' -delete || die
|
||||
}
|
@ -1,100 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools flag-o-matic libtool toolchain-funcs
|
||||
|
||||
MY_P="${P/_/-}"
|
||||
|
||||
DESCRIPTION="A spell checker replacement for ispell"
|
||||
HOMEPAGE="http://aspell.net/"
|
||||
if [[ "${PV}" = *_rc* ]] ; then
|
||||
SRC_URI="mirror://gnu-alpha/aspell/${MY_P}.tar.gz"
|
||||
else
|
||||
SRC_URI="mirror://gnu/aspell/${MY_P}.tar.gz"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="nls unicode"
|
||||
|
||||
PDEPEND="app-dicts/aspell-en"
|
||||
LANGS="af be bg br ca cs cy da de de-1901 el en eo es et fi fo fr ga gl he hr
|
||||
hu hy is it la lt nl no pl pt pt-BR ro ru sk sl sr sv uk vi"
|
||||
for lang in ${LANGS}; do
|
||||
IUSE+=" l10n_${lang}"
|
||||
case ${lang} in
|
||||
de-1901) dict="de-alt" ;;
|
||||
pt-BR) dict="pt-br" ;;
|
||||
*) dict="${lang}" ;;
|
||||
esac
|
||||
PDEPEND+=" l10n_${lang}? ( app-dicts/aspell-${dict} )"
|
||||
done
|
||||
unset dict lang LANGS
|
||||
|
||||
# English dictionary 0.5 is incompatible with aspell-0.6
|
||||
RDEPEND="
|
||||
sys-libs/ncurses:0=[unicode?]
|
||||
nls? ( virtual/libintl )
|
||||
!=app-dicts/aspell-en-0.5*
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
HTML_DOCS=( manual/aspell{,-dev}.html )
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.60.5-nls.patch"
|
||||
"${FILESDIR}/${PN}-0.60.5-solaris.patch"
|
||||
"${FILESDIR}/${PN}-0.60.6-darwin-bundles.patch"
|
||||
"${FILESDIR}/${PN}-0.60.6.1-clang.patch"
|
||||
# includes fix for bug #467602
|
||||
"${FILESDIR}/${PN}-0.60.6.1-unicode.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
rm m4/lt* m4/libtool.m4 || die
|
||||
eautoreconf
|
||||
elibtoolize --reverse-deps
|
||||
|
||||
# Parallel install of libtool libraries doesn't always work.
|
||||
# https://lists.gnu.org/archive/html/libtool/2011-03/msg00003.html
|
||||
# This has to be after automake has run so that we don't clobber
|
||||
# the default target that automake creates for us.
|
||||
echo 'install-filterLTLIBRARIES: install-libLTLIBRARIES' >> Makefile.in || die
|
||||
|
||||
# unicode patch breaks on Darwin, NCURSES_WIDECHAR won't get set
|
||||
# any more. Fix this.
|
||||
[[ ${CHOST} == *-darwin* ]] || [[ ${CHOST} == *-musl* ]] && use unicode && \
|
||||
append-cppflags -DNCURSES_WIDECHAR=1
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_enable unicode) \
|
||||
--disable-static \
|
||||
--sysconfdir="${EPREFIX}"/etc/aspell
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
docinto examples
|
||||
dodoc "${S}"/examples/*.c
|
||||
|
||||
# install ispell/aspell compatibility scripts
|
||||
newbin scripts/ispell ispell-aspell
|
||||
newbin scripts/spell spell-aspell
|
||||
|
||||
# we explicitly pass '--disable-static' to econf,
|
||||
# hence we can delete .la files unconditionally
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
DIST mariadb-connector-odbc-3.1.6-ga-src.tar.gz 536871 BLAKE2B c41f1fb00b5a93b3618d79ee457dc84c8b98e216083ec315870dc2ab46f1f56db345c1a2fae51e78e8b6c42b81183ce9c161ac5a051e52481cd687138f3dadd3 SHA512 ec0e244fc1b62c27f619f0ed3025906b02fc897c75dd74799df396beb5009bfdd27d609b5629ea0e6f5172ca8521b60bf7f3efc6dac44e84e835e4a05273ba3d
|
@ -0,0 +1,4 @@
|
||||
[maodbc]
|
||||
Description=MariaDB ODBC Driver
|
||||
Driver=/usr/lib/libmaodbc.so
|
||||
Threading=0
|
@ -0,0 +1,65 @@
|
||||
# Copyright 2018-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
CMAKE_ECLASS=cmake
|
||||
|
||||
inherit cmake-multilib
|
||||
|
||||
DESCRIPTION="MariaDB Connector/ODBC"
|
||||
HOMEPAGE="https://downloads.mariadb.org/connector-odbc/"
|
||||
SRC_URI="https://downloads.mariadb.org/interstitial/connector-odbc-${PV}/${P}-ga-src.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0/3.1"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gnutls ssl"
|
||||
|
||||
S="${S}-ga-src"
|
||||
|
||||
DEPEND="=dev-db/mariadb-connector-c-$(ver_cut 1-2)*
|
||||
dev-db/unixODBC"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
cp "${FILESDIR}/odbcinst.ini" . || die
|
||||
sed -e "s,lib/lib,$(get_libdir)/lib,g" -i "odbcinst.ini" || die
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
append-cppflags $(mariadb_config --cflags || die)
|
||||
local mycmakeargs=(
|
||||
-DWITH_SSL:STRING=$(usex ssl $(usex gnutls GNUTLS OPENSSL) OFF)
|
||||
-DMARIADB_LINK_DYNAMIC=YES
|
||||
-DUSE_SYSTEM_INSTALLED_LIB=YES
|
||||
-DINSTALL_DOC_DIR="/usr/share/doc/${P}"
|
||||
-DINSTALL_LICENSE_DIR="/usr/share/doc/${P}"
|
||||
#-DCMAKE_C_FLAGS="$(mariadb_config --cflags)"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
insinto /usr/share/${PN}
|
||||
doins odbcinst.ini
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Please remember to use emerge --config =${P} to install the ODBC ini files."
|
||||
elog "Alterantively run: /usr/bin/odbcinst -i -d -f /usr/share/${PN}/odbcinst.ini"
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
[[ -n "${ROOT}" ]] && die "Sorry, non-standard ROOT setting is not supported."
|
||||
|
||||
if /usr/bin/odbcinst -q -d -n maodbc &>/dev/null; then
|
||||
einfo "maodbc (MariaDB ODBC driver) has already been installed."
|
||||
else
|
||||
ebegin "Installing maodbc (MariaDB ODBC driver)"
|
||||
/usr/bin/odbcinst -i -d -f /usr/share/${PN}/odbcinst.ini
|
||||
eend ${?} || die
|
||||
fi
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>jaco@uls.co.za</email>
|
||||
<name>Jaco Kroon</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -0,0 +1,12 @@
|
||||
--- a/src/xap.h
|
||||
+++ b/src/xap.h
|
||||
@@ -35,7 +35,7 @@
|
||||
long gm_ppm(void);
|
||||
long ga_ppm(void);
|
||||
|
||||
-Datei *filep;
|
||||
-char s[MAXLINE];
|
||||
+extern Datei *filep;
|
||||
+extern char s[MAXLINE];
|
||||
|
||||
#endif /* __XA65_XAP_H__ */
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST bemenu-0.2.0.tar.gz 119935 BLAKE2B 8f9d1575f6ec31062df0bfe06d16722d4bc61ddcc5dabf0d6e9df8b88536eea638b7ce1e05e3b19a3cad125ecb09edeb72b6ca8d283e73e35d279ba14ebd7975 SHA512 05ddc79b2f4152fe4a3cbbec500f21f0b3e045aeb0e18bd5749acfe16ed41d7d933accf68a4793345cb20543620894847cec34236684d8cb4d42f20454d31b4e
|
||||
DIST bemenu-0.3.0.tar.gz 120059 BLAKE2B 5db3e7bcc4c67e9f7030fc803a5531994746787ebecfba91c7f09128ea9077b3b06e8f542c1a2980811b8364db3a54fefbdb0af1afaca2f58f098473a4fbd5d6 SHA512 7e68d11954517f41c9669055c28b375c4f13ddfee8aae6a8e67c3282fe9118229d9ab072dc5e264e4204803b1a5ab715c6a5c9565ad4b7436cc172b9e455c05b
|
||||
|
@ -1,57 +0,0 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="dmenu clone for wayland"
|
||||
HOMEPAGE="https://github.com/Cloudef/bemenu"
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/Cloudef/bemenu.git"
|
||||
else
|
||||
SRC_URI="https://github.com/Cloudef/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="doc ncurses wayland X"
|
||||
|
||||
# Require at least one backend be built
|
||||
REQUIRED_USE="|| ( ncurses wayland X )"
|
||||
|
||||
DEPEND="
|
||||
ncurses? ( sys-libs/ncurses:0 )
|
||||
wayland? (
|
||||
dev-libs/wayland
|
||||
dev-libs/wayland-protocols
|
||||
x11-libs/cairo
|
||||
x11-libs/pango
|
||||
)
|
||||
X? (
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXext
|
||||
x11-libs/libX11
|
||||
x11-libs/cairo[X]
|
||||
x11-libs/pango[X]
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="doc? ( app-doc/doxygen )"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCURSES_LIBRARY=/usr/$(get_libdir)/libncursesw.so
|
||||
-DBEMENU_CURSES_RENDERER=$(usex ncurses ON OFF)
|
||||
-DBEMENU_WAYLAND_RENDERER=$(usex wayland ON OFF)
|
||||
-DBEMENU_X11_RENDERER=$(usex X ON OFF)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
From 4f870752abbb756911d7b11405d49e9769d082bd Mon Sep 17 00:00:00 2001
|
||||
From: Emmanuel Leblond <emmanuel.leblond@gmail.com>
|
||||
Date: Fri, 8 Apr 2016 22:13:36 +0200
|
||||
Subject: [PATCH] Fix #68 when reading file with only \0 char
|
||||
|
||||
---
|
||||
src/iniparser.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/iniparser.c b/src/iniparser.c
|
||||
index be37fec..fb1b549 100644
|
||||
--- a/src/iniparser.c
|
||||
+++ b/src/iniparser.c
|
||||
@@ -678,7 +678,7 @@ dictionary * iniparser_load(const char * ininame)
|
||||
while (fgets(line+last, ASCIILINESZ-last, in)!=NULL) {
|
||||
lineno++ ;
|
||||
len = (int)strlen(line)-1;
|
||||
- if (len==0)
|
||||
+ if (len<=0)
|
||||
continue;
|
||||
/* Safety check against buffer overflows */
|
||||
if (line[len]!='\n' && !feof(in)) {
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
inherit autotools-utils autotools-multilib
|
||||
|
||||
DESCRIPTION="A free stand-alone ini file parsing library"
|
||||
HOMEPAGE="http://ndevilla.free.fr/iniparser/"
|
||||
|
||||
SRC_URI="http://ndevilla.free.fr/iniparser/${P}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc examples static-libs"
|
||||
|
||||
DEPEND="doc? ( app-doc/doxygen )
|
||||
sys-devel/libtool"
|
||||
RDEPEND=""
|
||||
|
||||
# the tests are rather examples than tests, no point in running them
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
DOCS=( AUTHORS README )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-3.0b-cpp.patch"
|
||||
"${FILESDIR}/${PN}-3.0-autotools.patch"
|
||||
"${FILESDIR}/${PN}-4.0-out-of-bounds-read.patch"
|
||||
)
|
||||
|
||||
src_install() {
|
||||
autotools-multilib_src_install
|
||||
|
||||
if use doc; then
|
||||
emake -C doc
|
||||
dohtml -r html/*
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins test/*.{c,ini,py}
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST libflatarray-0.2.0.tar.bz2 34193 BLAKE2B 8f409b097a0dfe037e9fdd1f8ed3b0ba86ef9ab816219b9357d119afa1c7236c0a467d9705fd5050ccbdc54ee40b811d2daee0a697f8ba720f037294d0305d52 SHA512 96050c08479429baf22a9694ca7354e1ab4fa892976d4098419e2863cac8e21aec586116a1702a5050753febd9b9321a14fc4da5d6487cf75a574562ec4d4647
|
||||
DIST libflatarray-0.3.0.tar.bz2 104544 BLAKE2B 9ac490a526fbd71478ac569538bad28e01a1a91bd71d37e85bf89181e856e79b2dec6af5415f238e5f72fbbe57cda59ee87ebd79cd273887061e2bbb93a7ce31 SHA512 c58339cdadf98f552d2f1b440a293c48923f32fc43a5a06ee8b8a40835a5f6c21514f7a9efa0ff23930ab9fdda8d4389641ec83c589e1982dbf5a3f75d2ffd37
|
||||
DIST libflatarray-0.4.0_pre20200314.tar.gz 165804 BLAKE2B 593e26b4c67ca67143ac9fdfca697700ae4caff807bca0b50d7a2de05ad8dadb79c98f9db39b728fdf098cd8e948c99963d11cf95bbc31b6c0f485e81d9736e8 SHA512 3f78c0db04e3de637fd8ed938c2d4d88d1eb270fc6a95f2d1b0909c4a6df40720e77c2aedac5ba38be32f703600a075107000ba028b38739b4206b7498f66955
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake cuda
|
||||
|
||||
MY_COMMIT="c5d90fb37ef52dbe56f611979fbe120fa1303284"
|
||||
|
||||
DESCRIPTION="Struct of arrays library with object oriented interface for C++"
|
||||
HOMEPAGE="
|
||||
http://www.libgeodecomp.org/libflatarray.html
|
||||
https://github.com/STEllAR-GROUP/libflatarray"
|
||||
SRC_URI="https://github.com/STEllAR-GROUP/libflatarray/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="cuda examples test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
cuda? ( dev-util/nvidia-cuda-toolkit )"
|
||||
|
||||
S="${WORKDIR}/libflatarray-${MY_COMMIT}"
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
use cuda && cuda_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DWITH_CUDA=$(usex cuda)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
if use examples; then
|
||||
docompress -x /usr/share/doc/${PF}
|
||||
dodoc -r examples/
|
||||
dodoc -r "${WORKDIR}"/${P}_build/examples/
|
||||
find "${ED}"/usr/share/doc/${PF} -iname "*cmake*" -exec rm -r {} + || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cmake_build check
|
||||
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST busted-2.0.0.tar.gz 55002 BLAKE2B 39a3b7bf156911e25f94020f9e56b3f43b9f02b910a9d1c1f288dbdb83e5d53253d5b40d73df655844ed683cff7959d42c330c0d061db918385df07870e16da3 SHA512 3151694b1fba1acc52e3bcfee0231008b14934e89da5885d7e063c6f023479c42040c42a8c0aa6ff1f8303ad6b2a70f0687c8a218830de7231007ef8748457bf
|
||||
DIST busted-2.0_rc11_p0.tar.gz 48368 BLAKE2B 3e4534795a4d6bd816b9879d447b82e144f738f3601856e5c9fc5419a6b8f3cb57a78a9ce6ad90990c1abe9fe0974b809d10a942b5f4930b4120f98d34de0dbe SHA512 f09cd5ad2be05b37254e9d602433639340b020e0670e8a435f1ee1d312eced37e284c2f5a398d7a0403fac0023851b74dbe659373e495c5354f48baed814c4b8
|
||||
DIST busted-2.0_rc12_p1.tar.gz 52404 BLAKE2B 51f12aea26d6b0909fdbf8953b316814ff8cd76d39358a26eb785ac7541acddbfde1b19d2e41c9e966a604f8f00b9517181f87264a76a4ac7f9f8d6008c87692 SHA512 0cb1f6a66110514dc3675b2e667cca676e6672e895b57ffba438e89a1e0a7f4f8f941cab54ead905758987be15e9885e1eeb82baabc9d18bf29ea56b832b89b1
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Elegant Lua unit testing"
|
||||
HOMEPAGE="http://olivinelabs.com/busted/"
|
||||
SRC_URI="https://github.com/Olivine-Labs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/lua-5.1:=
|
||||
>=dev-lua/lua_cliargs-3.0
|
||||
>=dev-lua/luafilesystem-1.5.0
|
||||
>=dev-lua/luasystem-0.2.0
|
||||
>=dev-lua/dkjson-2.1.0
|
||||
>=dev-lua/say-1.3
|
||||
>=dev-lua/luassert-1.7.8
|
||||
>=dev-lua/lua-term-0.1_p1
|
||||
>=dev-lua/penlight-1.3.2
|
||||
>=dev-lua/mediator_lua-1.1.1_p0
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
${RDEPEND}
|
||||
>=dev-lua/busted-2.0.0
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_test() {
|
||||
busted ./spec || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/busted
|
||||
insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"/${PN}
|
||||
doins -r busted/*
|
||||
dodoc *.md
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST lua-term-0.3.tar.gz 3752 BLAKE2B 6d42129b60278a4bf756195bae28529a9a22688945ecf6c5648ea490645de363799e4fe5a188069e3739557c3b45ee83e28e315cdd69e987f022f28e3a673cb2 SHA512 e91585994c0337d4dbdc36f51cec9f66fe7319212e82c56752ed724bbbe273e4dc67977bd13e7963545bb075f23f69a448dfc4cc4d6c3c49e96af99cd3eb59e7
|
||||
DIST lua-term-0.7.tar.gz 4365 BLAKE2B 8f4080d4cd3b620cb1f261d417744f112d42b776ab3f4cdb0e52d04b6d64fc4a1ddbd634570496c3bc12e6b10efe5af8025d1f124198ebb3946414679a65f7f4 SHA512 2046ba1861ff590c191bb651941c45eb8b6e9a1252b05e78daaeb31837ce1fc7da9ba124aec34dc7842fd304e945754c463ffd75941125ff952e911ba66efa31
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
# Yes, upstream used different version numbers.
|
||||
# The rockspec version number is 0.7, but the version associated with
|
||||
# the tarball is 0.07.
|
||||
MY_PV=0.07
|
||||
|
||||
DESCRIPTION="Terminal functions for Lua"
|
||||
HOMEPAGE="https://github.com/hoelzro/lua-term"
|
||||
SRC_URI="https://github.com/hoelzro/lua-term/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
RDEPEND=">=dev-lang/lua-5.1:="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
src_compile() {
|
||||
echo "$(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -fPIC -shared \
|
||||
-o core.so core.c"
|
||||
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -fPIC -shared \
|
||||
-o core.so core.c || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto "$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)"/term
|
||||
doexe core.so
|
||||
insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"
|
||||
doins -r term
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST lua-utf8-0.1.1.tar.gz 35475 BLAKE2B 99ffece901878fc966e0314886ca20255834c76b9266b1806acda7afb84d6a358c556b9a88c10497d2874d7902fac5905907ab25fefb4ba38544d46e3bae1471 SHA512 e0a8632b9391c7e7b35e371f4e95899ec58adb4988f1fe5a7101310f7c774c3a3e88073f156cf7799c57f69c0fc53aff4486beb1e7006bfaa96d86e248e38897
|
@ -0,0 +1,42 @@
|
||||
# this file builds lua-utf8
|
||||
|
||||
MY_USE_LUA?=luajit
|
||||
PKG_CONFIG?=pkg-config
|
||||
PREFIX?=/usr/local
|
||||
DESTDIR?=/
|
||||
|
||||
LUA_LIBDIR := $(shell $(PKG_CONFIG) --variable INSTALL_CMOD $(MY_USE_LUA))
|
||||
LUA_INC := $(shell $(PKG_CONFIG) --variable INSTALL_INC $(MY_USE_LUA))
|
||||
LUA_SHARE := $(shell $(PKG_CONFIG) --variable INSTALL_LMOD $(MY_USE_LUA))
|
||||
CWARNS := -Wall -pedantic
|
||||
CFLAGS += -I$(LUA_INC) -fPIC $(CWARNS)
|
||||
LIB_OPTION := -shared
|
||||
LDFLAGS += $(LIB_OPTION)
|
||||
|
||||
SONAME := lua-utf8.so
|
||||
SONAMEV := $(SONAME).0
|
||||
LIBRARY := $(SONAMEV).1.1
|
||||
SRC := lutf8lib.c
|
||||
OBJ := $(patsubst %.c, %.o, $(SRC))
|
||||
|
||||
FILES := parseucd.lua
|
||||
|
||||
all: $(LIBRARY) $(SONAMEV) $(SONAME)
|
||||
|
||||
$(SONAMEV):
|
||||
ln -s $(LIBRARY) $@
|
||||
|
||||
$(SONAME):
|
||||
ln -s $(SONAMEV) $@
|
||||
|
||||
$(LIBRARY): $(OBJ)
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) -o $(LIBRARY) $(OBJ) -lc
|
||||
|
||||
install:
|
||||
install -d $(DESTDIR)$(LUA_LIBDIR)
|
||||
install $(SONAME) $(DESTDIR)$(LUA_LIBDIR)
|
||||
install -d $(DESTDIR)$(LUA_SHARE)
|
||||
install --mode=0444 $(FILES) $(DESTDIR)$(LUA_SHARE)
|
||||
|
||||
clean:
|
||||
rm -rf $(LIBRARY) $(SONAMEV) $(SONAME) *.o
|
@ -0,0 +1,44 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="UTF-8 support for Lua"
|
||||
HOMEPAGE="https://github.com/starwing/luautf8"
|
||||
SRC_URI="https://github.com/starwing/luautf8/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64"
|
||||
IUSE="luajit test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
RDEPEND="
|
||||
!luajit? ( >=dev-lang/lua-5.1:= )
|
||||
luajit? ( dev-lang/luajit:2 )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN//-/}-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
cp -v "${FILESDIR}/${PN}".Makefile "${S}"/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}" MY_USE_LUA="$(usex luajit 'luajit' 'lua')" PKG_CONFIG="$(tc-getPKG_CONFIG)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}" MY_USE_LUA="$(usex luajit 'luajit' 'lua')" PKG_CONFIG="$(tc-getPKG_CONFIG)" install
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
LUA_CPATH=./?.so $(usex luajit 'luajit' 'lua') test.lua || die
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>vpayno+gentoo@gmail.com</email>
|
||||
<name>Victor Payno</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>gyakovlev@gentoo.org</email>
|
||||
<name>Georgy Yakovlev</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
This module adds UTF-8 support to Lua.
|
||||
|
||||
It use data extracted from Unicode Character Database, and tested on Lua 5.2.3, Lua 5.3.0 and LuaJIT.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">starwing/luautf8</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,2 +1,3 @@
|
||||
DIST lua_cliargs-2.5_p5.tar.gz 19513 BLAKE2B 25cdfd9e96fd0cf5d600394c47ec53dd80e619dac8a37a40e22366e1090ffc9f9f250d71683140959fbd33b3983a759c931c3ac70a3f14e9556005fe5f82f72c SHA512 7c4d490f5d86b07bdf299c976b99bf83c9ba86fabeb321f348587f8ad207983292e3e9268ef72f3cc6ff9d6e32a43669de1d3c21c47499852f971c2cc2a4e746
|
||||
DIST lua_cliargs-3.0_p1.tar.gz 29904 BLAKE2B 4cb3e33c0d1331cb9c6cef9b8db67c12cfd3678277e11b6218d56ae38e4678dd48472d65dd959b59bb44d5c42c1e64697fe4e54b67e80933ab706d9d2b01c79f SHA512 2bdcd3c790a82351df598cb3d289de980fe771222ebd9715036678eecdbe51b7563d24629afa4d286b900d722bf844004d12f2330744a1e644d9286ac44b4dbe
|
||||
DIST lua_cliargs-3.0_p2.tar.gz 30435 BLAKE2B 8edf60870e0d91593064876a225ef7fbe638425da13b458d6356eaa0636482ca904f9355fd15314d4893e6f5346a6faa30fb6078d191a29aa14e26aa5d74a4be SHA512 e7a475f1d41249b0a35f021a6ccca46078f5b689c1927a4dd4cab80b2e4d291babaab35cf7d64fad3ebf68d871fb5177f030c7a2b28d9f55fbeb4dd26021d024
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
# Below is the upstream package version.
|
||||
# The final component of the version number has been mapped to the _px
|
||||
# component of the version number in portage so should be kept in sync.
|
||||
MY_PV="3.0-2"
|
||||
|
||||
DESCRIPTION="A command-line argument parser."
|
||||
HOMEPAGE="https://github.com/amireh/lua_cliargs"
|
||||
SRC_URI="https://github.com/amireh/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
DEPEND=">=dev-lang/lua-5.1:="
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
src_install() {
|
||||
insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"
|
||||
doins -r src/cliargs.lua src/cliargs
|
||||
|
||||
if use doc; then
|
||||
local HTML_DOCS=( doc/. )
|
||||
dodoc -r examples
|
||||
fi
|
||||
|
||||
einstalldocs
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST luacheck-0.20.0.tar.gz 132693 BLAKE2B d485ef841c00241023a9cb9bd0e1f994da3b5e79dad01281e0203e1561f788f8d1e8db97910d3a82ab3daafb3dceef1fe2897beee9f16e71350fdff27eba7fe0 SHA512 08b1a64849b329e6ad71b1d7011fac0833de068641270adaa009e9a17139968ab73add3786a508a8787ce1fcfe1f028a35b5434221e4f1f62bea56833e0e65dd
|
||||
DIST luacheck-0.23.0.tar.gz 158201 BLAKE2B c0780143a335b1deb7725819dbdac03446742fd459eed5a6de0cf3de5576f3be5379ff7086348b8880eba70dd5f7a1e719e9a09fdcc70abc293e1636f575ad57 SHA512 d76e4b22f1e9d868a8531ad51fb98607e5bfb1fbbd55053105d9978ba6c0455de99202c53d4e199733ea997863b26527fb84e7e9717209fd588f1d02db9db028
|
||||
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A tool for linting and static analysis of Lua code"
|
||||
HOMEPAGE="https://github.com/mpeterv/luacheck"
|
||||
SRC_URI="https://github.com/mpeterv/luacheck/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64"
|
||||
IUSE="doc luajit test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-lua/lua-argparse[luajit=]
|
||||
dev-lua/luafilesystem[luajit(-)=]
|
||||
dev-lua/lua-utf8[luajit=]
|
||||
!luajit? ( >=dev-lang/lua-5.1:= )
|
||||
luajit? ( dev-lang/luajit:2 )"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? ( dev-python/sphinx )
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-lua/busted
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_compile() {
|
||||
if use doc; then
|
||||
sphinx-build docsrc html || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
busted -o gtest || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local instdir
|
||||
instdir="$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD $(usex luajit 'luajit' 'lua'))"
|
||||
insinto "${instdir#${EPREFIX}}"
|
||||
doins -r src/luacheck
|
||||
|
||||
newbin bin/luacheck.lua luacheck
|
||||
|
||||
use doc && local HTML_DOCS=( html/. )
|
||||
|
||||
local -a DOCS=( CHANGELOG.md LICENSE README.md )
|
||||
einstalldocs
|
||||
}
|
@ -1,5 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>vpayno+gentoo@gmail.com</email>
|
||||
<name>Victor Payno</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>gyakovlev@gentoo.org</email>
|
||||
<name>Georgy Yakovlev</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
A tool for linting and static analysis of Lua code.
|
||||
|
||||
Luacheck supports checking Lua files using syntax of Lua 5.1, Lua 5.2, Lua 5.3 and LuaJIT. Luacheck itself is written in Lua and runs on all of mentioned Lua versions.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">mpeterv/luacheck</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST luafilesystem-1.5.0.tar.gz 26660 BLAKE2B 555a119c580a14377e0b721929d33f6e15e4b4449c061860d611a12896020959f3755bde44ba29d492e8bd10a084a6dc7cd78ed0ef67c1fad85a7acb49bcf6c2 SHA512 79e767be5b923424c2f3c0025e050b6a5b15550cf96d153072f817b0f94757032feeaa579e4d73cc009a5954d38a30079db1c1c15545a45e9f13c0c776080aac
|
||||
DIST luafilesystem-1.6.2.tar.gz 27886 BLAKE2B fa13cc529f3ff2b5c5bbf082c5071d066da2da97c066054c9c312366a43e0a2e136bf6eae139abb63e6de916ecca60421cd36bce132393cf0333f9d124027117 SHA512 75debecd3b35d43e76b51de02cface73808547be6a26e15c06c969c50bbfd7c4d0801ccb68812b7ecb99e56eaa63deeadaba6d0387748e215e5bdab784d463ff
|
||||
DIST luafilesystem-1.6.3.tar.gz 30389 BLAKE2B 412d2893a59ccde2eb8912523bea4d06d4f140dee2f47b5e8e9795d1ca950a4be93a32eb5632775277ab2c2c22a9229c9f33d062e0d1fcd5397178962b96bae9 SHA512 47a2637903c9d42ce3ab7cf3e27b6457845aeed7ce90c0fee964ba9bf9eabf6a6eea940f960713f6b982f1b64167dbd5da8f217281284143c89e3cc5488b8404
|
||||
DIST luafilesystem-1.7.0.2.tar.gz 30877 BLAKE2B c90d960b3cb28a7339e5d103a262beb76864cfd30e0502e991ae82d6fb8706da8a99d9c19d037d7c299139346a5b925e10886addce07e3755891f11b9c2ec4d9 SHA512 a1d4d077776e57cd878dbcd21656da141ea3686c587b5420a2b039aeaf086b7e7d05d531ee1cc2bbd7d06660d1315b09593e52143f6711f033ce8eecdc550511
|
||||
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit toolchain-funcs
|
||||
|
||||
MY_PV=${PV//./_}
|
||||
|
||||
DESCRIPTION="File System Library for the Lua Programming Language"
|
||||
HOMEPAGE="https://keplerproject.github.io/luafilesystem/"
|
||||
SRC_URI="https://github.com/keplerproject/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="doc luajit test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/lua-5.1:*
|
||||
luajit? ( dev-lang/luajit:2 )"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
test? ( ${RDEPEND} )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
src_configure() {
|
||||
cat > config <<-EOF
|
||||
# Installation directories
|
||||
|
||||
# Default installation prefix
|
||||
PREFIX="${ED}/$($(tc-getPKG_CONFIG) --variable exec_prefix $(usex luajit 'luajit' 'lua'))"
|
||||
|
||||
# System's libraries directory (where binary libraries are installed)
|
||||
LUA_LIBDIR="${ED}/$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))"
|
||||
|
||||
# Lua includes directory
|
||||
LUA_INC=-I$(pwd)/src
|
||||
LUA_INC+=-I$($(tc-getPKG_CONFIG) --variable includedir $(usex luajit 'luajit' 'lua'))
|
||||
|
||||
# OS dependent
|
||||
LIB_OPTION=\$(LDFLAGS) -shared
|
||||
|
||||
LIBNAME=$T.so.$V
|
||||
|
||||
# Compilation directives
|
||||
WARN=-O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic
|
||||
INCS=\$(LUA_INC)
|
||||
CFLAGS+=\$(WARN) \$(INCS)
|
||||
CC=$(tc-getCC)
|
||||
EOF
|
||||
}
|
||||
|
||||
src_test() {
|
||||
LUA_CPATH=./src/?.so $(usex luajit 'luajit' 'lua') tests/test.lua || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && local HTML_DOCS=( doc/us/. )
|
||||
einstalldocs
|
||||
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
@ -1 +1,3 @@
|
||||
DIST luarocks-2.2.0.tar.gz 111549 BLAKE2B 214c1c03e03f95ca1acfc1fda863895c91c508221c615fe3ccc064e9adbcaa8549d24ff788141c0093259ca52578fadccfb3f6891209f86336c57937ac5ec32d SHA512 41f32e383263485758e64df661ecfbd744369035362755c64466f2c52a8740ed941b80cab3212222d7d24e4b1a7ed9ccb84fa66c8e458526056af0b06d97224f
|
||||
DIST luarocks-3.2.1.tar.gz 232149 BLAKE2B f8298ef054f50b8f70bf48748435a54f683ba8eef3113641e98b00e1aa872b95e75b36f0df96de7870d3576d3b9149dde8af1b68a3d7ceda86d3654dbad507c0 SHA512 9abf2c5477b9ab8e3caf485dd10fc154435b41efc13c7709f36a9182ccbd98d022738627f76901977a9b7c42ae61e5f139e78070d469094a7571910afbb747ff
|
||||
DIST luarocks-3.3.1.tar.gz 241636 BLAKE2B fd34d7a233bbf1c5f224bd04886a7f1382d63ffc014c8b78ae7924fb799d66a32e048298deed103686771263885c85c9173c013d1bbb3bad6a48e9fd99fdaac0 SHA512 0a695ceb30ae575cbca52abd2aad9675e33a234c53c5d1e125442d874c21e0e3cf6157431f07085e4311f81833680366adfe5c626a66cb5880380b48899a116a
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="A deployment and management system for Lua modules"
|
||||
HOMEPAGE="http://www.luarocks.org"
|
||||
SRC_URI="http://luarocks.org/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="libressl"
|
||||
|
||||
DEPEND="dev-lang/lua:="
|
||||
RDEPEND="${DEPEND}
|
||||
net-misc/curl
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
libressl? ( dev-libs/libressl:0 )
|
||||
"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
# econf doesn't work b/c it passes variables the custom configure can't
|
||||
# handle
|
||||
./configure \
|
||||
--prefix="${EPRIFIX}/usr" \
|
||||
--with-lua-lib="${EPRIFIX}/usr/$(get_libdir)" \
|
||||
--rocks-tree="${EPRIFIX}/usr/$(get_libdir)/lua/luarocks" \
|
||||
|| die "configure failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
{ find "${D}" -type f -exec sed -i -e "s:${D}::g" {} \;; } || die "sed failed"
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="A deployment and management system for Lua modules"
|
||||
HOMEPAGE="http://www.luarocks.org"
|
||||
SRC_URI="http://luarocks.org/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="libressl"
|
||||
|
||||
DEPEND="dev-lang/lua:="
|
||||
RDEPEND="${DEPEND}
|
||||
net-misc/curl
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
libressl? ( dev-libs/libressl:0 )
|
||||
"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
# econf doesn't work b/c it passes variables the custom configure can't
|
||||
# handle
|
||||
./configure \
|
||||
--prefix="${EPRIFIX}/usr" \
|
||||
--with-lua-lib="${EPRIFIX}/usr/$(get_libdir)" \
|
||||
--rocks-tree="${EPRIFIX}/usr/$(get_libdir)/lua/luarocks" \
|
||||
|| die "configure failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
{ find "${D}" -type f -exec sed -i -e "s:${D}::g" {} \;; } || die "sed failed"
|
||||
}
|
@ -1,11 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<use>
|
||||
<flag name="curl">Uses <pkg>net-misc/curl</pkg> for fetching lua
|
||||
packages instead of <pkg>net-misc/wget</pkg>.</flag>
|
||||
<flag name="openssl">Uses <pkg>dev-libs/openssl</pkg> for verifying lua
|
||||
packages instead of md5sum.</flag>
|
||||
</use>
|
||||
<maintainer type="person">
|
||||
<email>vpayno+gentoo@gmail.com</email>
|
||||
<name>Victor Payno</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>gyakovlev@gentoo.org</email>
|
||||
<name>Georgy Yakovlev</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="curl">Uses <pkg>net-misc/curl</pkg> for fetching lua
|
||||
packages instead of <pkg>net-misc/wget</pkg>.</flag>
|
||||
<flag name="openssl">Uses <pkg>dev-libs/openssl</pkg> for verifying lua
|
||||
packages instead of md5sum.</flag>
|
||||
</use>
|
||||
<longdescription lang="en">
|
||||
Package manager for Lua.
|
||||
|
||||
It allows you to create and install Lua modules as self-contained packages called rocks.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">luarocks/luarocks</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1 +1,3 @@
|
||||
DIST penlight-1.3.2-core.zip 116854 BLAKE2B c653a51cf8ea286c849e1a2c68968ed767c350b1461dd11d9a2e99c81295461c67044175c7bf99c31e8040118e6cfce85f8613d4b6c49e726d31393029abcbbf SHA512 01ba35e967e255f6f39afff9c2238f4921de9e52850ce0d2ec0c9068029fc61a241c82bede680a28fda46c4504582784fcd2241a2eef0bef95c7c389c4042d02
|
||||
DIST penlight-1.5.4.tar.gz 213938 BLAKE2B c6bba4fd7fc491d2e6ca464f71b897ba4b5dc8dc94e7340fd77d3add47a9b4a72ce48cea268f94fe55c2aef1edd850f96f00f2ba1ef7186e1e8d86a4e3155366 SHA512 c46e7875410a90390bfbf010a53f1d536475e2094668722618d03951caad0fcb0674c9bc7119a0753e4ed3df9e4d70fef828ba4c6c24e8ada4036948d2432519
|
||||
DIST penlight-1.7.0.tar.gz 384917 BLAKE2B 153660f5029509611265399aad8b92d82b266ac470414c06e9d7f01b37225834f98488f30f9bbdfdc3a6714edfe2edc0fccd0356ebb966d964be633bff38eb25 SHA512 edeb09307c9feb5da6bccd82216a6ad71db988c433245d72d28abb6c555004f77eebba556928b0912937b29ef93e065ad491368041e17730610813de8e595d7d
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Lua utility libraries loosely based on the Python standard libraries"
|
||||
HOMEPAGE="http://stevedonovan.github.com/Penlight",
|
||||
SRC_URI="https://github.com/Tieske/Penlight/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
RDEPEND=">=dev-lang/lua-5.1:=
|
||||
dev-lua/luafilesystem"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN//penlight/Penlight}-${PV}"
|
||||
|
||||
src_install() {
|
||||
local -a DOCS=( README.md CHANGES.md LICENSE.md CONTRIBUTING.md )
|
||||
einstalldocs
|
||||
|
||||
insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"
|
||||
doins -r lua/pl
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Lua utility libraries loosely based on the Python standard libraries"
|
||||
HOMEPAGE="https://github.com/Tieske/Penlight",
|
||||
SRC_URI="https://github.com/Tieske/Penlight/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
RDEPEND=">=dev-lang/lua-5.1:=
|
||||
dev-lua/luafilesystem"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN//penlight/Penlight}-${PV}"
|
||||
|
||||
src_install() {
|
||||
local -a DOCS=( README.md CHANGELOG.md LICENSE.md CONTRIBUTING.md )
|
||||
einstalldocs
|
||||
|
||||
insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"
|
||||
doins -r lua/pl
|
||||
}
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue