parent
b9769c04ff
commit
319944cde5
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,4 +1,2 @@
|
||||
DIST keepassxc-2.1.4.tar.gz 3345520 BLAKE2B d599321a412abc05ad0a911b8fe4d14e840d491e59d3f33172a5e6b10812fe8e00d03f23abcc9637be1b8c16b5c7ec640bbc2af63059dc0dd25c99f0bdacfce9 SHA512 48030eb6df595c73644f43d6222654c5f76962ae5aa2f44ca4dc9c8e45726380c6be4300af7a8279b07c06b70912da444f2b17c5b6c37a91cb239d695e7518d8
|
||||
DIST keepassxc-2.2.4.tar.gz 3895421 BLAKE2B 0de35f394dae8cf8d70f75d73783965826cc03ac9f0921afa547d02e61cb04be167891d92aa0db09f007c47e96a5a7e5793772c50de14bf65a7f80a603ca6611 SHA512 f3308138d63b65a8b384a52f4723507be921d7bbf19031724886fcd12266bf2683326f5531c8f665b0e98ff63cd97251694199ef748191e59a5a8cceb3710025
|
||||
DIST keepassxc-2.3.0-src.tar.xz 3803400 BLAKE2B 1e9d72bb71e3db0f7f4662bca22affe68c0ac857ce3b7b67924949622edf3a4d2f54717c1c629d79c2cfeccd29d0f1906a8f43e49483980d11afbb654a132f4f SHA512 44721a4dd9364898c69a10d73ceb3fce9b8e83bbe261d9bc656897bc01f37e9b65b923867e18d3c3269773075ad846a0e1195d8b7bf574fcbce7bef9a5778888
|
||||
DIST keepassxc-2.3.1-src.tar.xz 4085284 BLAKE2B 87ffb8a266056a147e84f97980eb19df64947fc56a6e39733269f4b88287c01dd8508792c22f247b05918f8beb98ea651c3bf91b642f863be2a4742e3e425fd0 SHA512 06c1b42e699b21c0cc2a6e7340649fa8964d8a0c880efad512f3ba16e12ee07a1b2b5ff13e0b3dc8d3f58fdf4f523cee3d1ef477a83ea434d97690dfea0633c9
|
||||
|
@ -1,77 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
SCM=""
|
||||
[[ "${PV}" == 9999 ]] && SCM="git-r3"
|
||||
inherit cmake-utils gnome2-utils xdg-utils ${SCM}
|
||||
unset SCM
|
||||
|
||||
DESCRIPTION="KeePassXC - KeePass Cross-platform Community Edition"
|
||||
HOMEPAGE="https://keepassxc.org"
|
||||
|
||||
if [[ "${PV}" != 9999 ]] ; then
|
||||
SRC_URI="https://github.com/keepassxreboot/keepassxc/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="amd64 x86"
|
||||
else
|
||||
EGIT_REPO_URI="https://github.com/keepassxreboot/${PN}"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1 GPL-2 GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="autotype debug http test"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libgcrypt:=
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtdbus:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtwidgets:5
|
||||
sys-libs/zlib
|
||||
autotype? (
|
||||
dev-qt/qtx11extras:5
|
||||
x11-libs/libX11
|
||||
x11-libs/libXi
|
||||
x11-libs/libXtst
|
||||
)
|
||||
"
|
||||
# yubikey? ( sys-auth/libyubikey )
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-qt/linguist-tools:5
|
||||
dev-qt/qtconcurrent:5
|
||||
test? ( dev-qt/qttest:5 )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
use test || \
|
||||
sed -e "/^find_package(Qt5Test/d" -i CMakeLists.txt || die
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DWITH_GUI_TESTS=OFF
|
||||
-DWITH_TESTS="$(usex test)"
|
||||
-DWITH_XC_AUTOTYPE="$(usex autotype)"
|
||||
-DWITH_XC_HTTP="$(usex http)"
|
||||
#-DWITH_XC_YUBIKEY="$(usex yubikey)"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
@ -1,81 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils gnome2-utils xdg-utils
|
||||
|
||||
DESCRIPTION="KeePassXC - KeePass Cross-platform Community Edition"
|
||||
HOMEPAGE="https://keepassxc.org"
|
||||
|
||||
if [[ "${PV}" != 9999 ]] ; then
|
||||
#SRC_URI="https://github.com/keepassxreboot/keepassxc/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="https://github.com/keepassxreboot/keepassxc/releases/download/${PV}/${P}-src.tar.xz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
else
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/keepassxreboot/${PN}"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1 GPL-2 GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="autotype browser debug network test yubikey"
|
||||
|
||||
RDEPEND="
|
||||
app-crypt/argon2:=
|
||||
dev-libs/libgcrypt:=
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtdbus:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtwidgets:5
|
||||
sys-libs/zlib
|
||||
autotype? (
|
||||
dev-qt/qtx11extras:5
|
||||
x11-libs/libX11
|
||||
x11-libs/libXi
|
||||
x11-libs/libXtst
|
||||
)
|
||||
browser? ( >=dev-libs/libsodium-1.0.12 )
|
||||
yubikey? ( sys-auth/ykpers )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-qt/linguist-tools:5
|
||||
dev-qt/qttest:5
|
||||
dev-qt/qtconcurrent:5
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
use test || \
|
||||
sed -e "/^find_package(Qt5Test/d" -i CMakeLists.txt || die
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DWITH_GUI_TESTS=OFF
|
||||
-DWITH_TESTS="$(usex test)"
|
||||
-DWITH_XC_AUTOTYPE="$(usex autotype)"
|
||||
-DWITH_XC_BROWSER="$(usex browser)"
|
||||
-DWITH_XC_HTTP=OFF
|
||||
-DWITH_XC_NETWORKING="$(usex network)"
|
||||
-DWITH_XC_SSHAGENT=ON
|
||||
-DWITH_XC_YUBIKEY="$(usex yubikey)"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST xarchiver-0.5.4.11_p20170629.tar.gz 1052723 BLAKE2B c4f0b0ae634b6c11ea15d9231a2e55e91ecb4f41b571611f42c046f2d70f0598711ac80516a5130a03ae091a9c2477d12e17ba7c22092437a4013b0afdfe1273 SHA512 e63e9ddd98c5ec5708b74e993cb1901835c133e220ba95aa5a07cca01660fab5894533c57b39223db6155e2fc0ea014ce6eede853ebaf067de27f1e77c5e023f
|
||||
DIST xarchiver-0.5.4.12.tar.gz 1074764 BLAKE2B 65d8968a470f7ea607fcbb1e2ff3b6c54ff8e521df1ca0cd29d3b7fc7b84d2ad5e2b9987bfb482979c7099d62287c463317d524cadc4a03d6b80ae61d28bfcc2 SHA512 18d177efed810576ee4dc4bc379817cbff390bcbfc541652d8288545bbb4a0e29b2136364e8675814a2780d06e2c5537ca4451a1c73a6becd45e1c0de7ba4554
|
||||
DIST xarchiver-0.5.4.13.tar.gz 1079259 BLAKE2B c824e81182a6105d24fe85d148fb7e71c2ae761948421bacf7af240e4b2a381582ab5db46c29ee3b2daf01f710696ee53a93a0a2923923083c177e9473bee4f1 SHA512 ace6b3bade20f517c63a035022944d092868e4c000976ef388a3ee70ef8a28177ee20cfb089d0984e9274722c4ec13d129fd7a4ef542e7b5cd4423c26ad5b849
|
||||
DIST xarchiver-0.5.4.tar.bz2 1003045 BLAKE2B 6f1303c1d1b09a60616977c04c771cac78a25c756fbac538401e22e4fe3a808f990848d83041d5c5ceb667e30b5bb1d694318f0d21953201047fefdfc9afeb2c SHA512 3b767c2601d94104e2fc72aa8d168afa5a154b5747a9b0518d1c348417e56e4c19d872a0029fb78decc897e0f3bc9573e17d0317b85f584e7275b0e519f5f30d
|
||||
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools gnome2-utils xdg-utils
|
||||
|
||||
DESCRIPTION="A GTK+ archive manager that can be used with Thunar"
|
||||
HOMEPAGE="https://github.com/ib/xarchiver"
|
||||
SRC_URI="https://github.com/ib/xarchiver/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2:=
|
||||
x11-libs/gtk+:3="
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/intltool
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
app-text/docbook-xml-dtd
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
)"
|
||||
|
||||
src_prepare() {
|
||||
sed -e '/COPYING/d' -e '/NEWS/d' -i doc/Makefile.am || die
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
$(use_enable doc)
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
|
||||
elog "You need external programs for some formats, including:"
|
||||
elog "7zip - app-arch/p7zip"
|
||||
elog "arj - app-arch/unarj app-arch/arj"
|
||||
elog "lha - app-arch/lha"
|
||||
elog "lzop - app-arch/lzop"
|
||||
elog "rar - app-arch/unrar app-arch/rar"
|
||||
elog "zip - app-arch/unzip app-arch/zip"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST restic-0.7.3.tar.gz 37062625 BLAKE2B 0a50c1c6c1ffc8f5d5c0698341bfd1715faee0ab3392ddb065b75143babb45dcfee355f2a369771b4c256cafcb839dc401ad827e194b52d27a1c7582b9c3a1c3 SHA512 2d44b4fc363c7f6389c1f06469cf30ebeff4d6ade0bd4fcae1d7d9def3922936b45043b04f4072284b773df2c6487c58db6aea41c7de5c8184ca33ca3c44d44a
|
||||
DIST restic-0.8.0.tar.gz 37309494 BLAKE2B 0c50ccbdabca2057a5d1f8a7326a3e143101daed7cf9eabf0deb2d4452bbd63fd57c3edc8be106c0123f3c4e01195e8042a8f70477c999b00069ffe3d4fcb1d5 SHA512 5f2205ac5caf91f119f1705dc1f8340c481fd27d809cdadbd8ff39ebbc910d98452626c2a9564300935746550a2604ed59aa095f3137788bd0dce87c0dcb14f9
|
||||
DIST restic-0.8.1.tar.gz 40330154 BLAKE2B 6758ae4cd7b3caf1bb58b9b95ddd9b99422f2a5997f37317381ec2714a4bc369331e1ba5accb791a2733eddcebdb056256a25b837cad6926f86ec61265d95324 SHA512 02d45b70b94514d3491297dcd34f26db854b6153a1aa297aaa9c938e09d65429fbe0dedb3c028ad38c769049f814c7a923481adfe9962a35dc39a7477a80fdab
|
||||
DIST restic-0.8.3.tar.gz 48746281 BLAKE2B 4161326068165b5ba19e9ee0e6386aa1df29a961a42509a2cb7924958100b9412abd1dd27d299d1eef76fdd4731d4a56f0a68e796a46071229a3e6767d3a6bb7 SHA512 758b2c69af8aad6bb62dc750141d5f5a1954ca2b51350ef59c35fd10afefaddc4d8d0cdd5914f249594946db6138124a48fba531b8a24353f022ccea773a240c
|
||||
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit golang-vcs-snapshot bash-completion-r1
|
||||
|
||||
DESCRIPTION="A backup program that is fast, efficient and secure"
|
||||
HOMEPAGE="https://restic.github.io/"
|
||||
SRC_URI="https://github.com/restic/restic/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
EGO_PN="github.com/restic/restic"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
dev-lang/go
|
||||
test? ( sys-fs/fuse:0 )"
|
||||
|
||||
RDEPEND="sys-fs/fuse:0"
|
||||
|
||||
S="${WORKDIR}/${P}/src/${EGO_PN}"
|
||||
|
||||
src_compile() {
|
||||
local mygoargs=(
|
||||
-v
|
||||
-work
|
||||
-x
|
||||
-tags release
|
||||
-ldflags "-s -w -X main.version=${PV}"
|
||||
-asmflags "-trimpath=${S}"
|
||||
-gcflags "-trimpath=${S}"
|
||||
-o restic ${EGO_PN}/cmd/restic
|
||||
)
|
||||
|
||||
GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \
|
||||
go build "${mygoargs[@]}" || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \
|
||||
go test -timeout 30m -v -work -x ${EGO_PN}/cmd/... ${EGO_PN}/internal/... || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin restic
|
||||
|
||||
newbashcomp doc/bash-completion.sh "${PN}"
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins doc/zsh-completion.zsh _restic
|
||||
|
||||
doman doc/man/*
|
||||
dodoc doc/*.rst
|
||||
}
|
@ -0,0 +1,78 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit systemd
|
||||
|
||||
DESCRIPTION="Command-line program for btrfs and ext4 snapshot management"
|
||||
HOMEPAGE="http://snapper.io/"
|
||||
SRC_URI="ftp://ftp.suse.com/pub/projects/snapper/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+btrfs ext4 lvm pam xattr"
|
||||
|
||||
RDEPEND="dev-libs/boost:=[threads]
|
||||
dev-libs/libxml2
|
||||
dev-libs/icu:=
|
||||
sys-apps/acl
|
||||
sys-apps/dbus
|
||||
sys-apps/util-linux
|
||||
sys-libs/zlib
|
||||
virtual/libintl
|
||||
btrfs? ( >=sys-fs/btrfs-progs-3.17.1 )
|
||||
ext4? ( sys-fs/e2fsprogs )
|
||||
lvm? ( sys-fs/lvm2 )
|
||||
pam? ( sys-libs/pam )
|
||||
xattr? ( sys-apps/attr )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig"
|
||||
|
||||
REQUIRED_USE="|| ( btrfs ext4 lvm )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/cron-confd.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -e "s,/usr/lib/systemd/system,$(systemd_get_systemunitdir),g" \
|
||||
-i data/Makefile.* \
|
||||
|| die "Failed to fix systemd services and timers installation path"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--with-conf="/etc/conf.d"
|
||||
--docdir="/usr/share/doc/${PF}"
|
||||
--disable-zypp
|
||||
--enable-rollback
|
||||
$(use_enable btrfs)
|
||||
$(use_enable ext4)
|
||||
$(use_enable lvm)
|
||||
$(use_enable pam)
|
||||
$(use_enable xattr xattrs)
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
# Existing configuration file required to function
|
||||
newconfd data/sysconfig.snapper snapper
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "In order to use Snapper, you need to set up"
|
||||
elog "at least one config first. To do this, run:"
|
||||
elog "snapper create-config <subvolume>"
|
||||
elog "For more information, see man (8) snapper or"
|
||||
elog "http://snapper.io/documentation.html"
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST libvirt-4.0.0.tar.xz 15002248 BLAKE2B 066794909d02be04a7d70ebd5e6d423736fdaf95b7521edd47ef19f9bec4f16d6d3e64117356394ce5916761ad77d5afab84ace2f4828c1f97373d0053b6924b SHA512 c99ea305f427859eb070b5f0c43de48645a5c53a2aa8efc60f54f278ec3fa0b504307861309e1852f8d7bff4436afe00c859aac27691366a0c36c91341cea7a1
|
||||
DIST libvirt-4.1.0.tar.xz 15046956 BLAKE2B e5d4fb47d6308b2f74d464b8a4b236fcda96ca71357847ce7bc9c787e89111ed99538e9f7815287d14af24db1bc774012682843edc1e067cdf710e82d0b349c9 SHA512 62d1a228adf3270cc6defe3cbf92dac8c4ce2c434c4d97219571ccef799a4f6304cfd1ba9938338356641285f53ac71145d7b398523021c5ea1dc8e3d49cf894
|
||||
|
@ -0,0 +1,204 @@
|
||||
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||
index 3bf2da5..6b3f37a 100644
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -2165,23 +2165,6 @@ EXTRA_DIST += \
|
||||
$(SYSCONF_FILES) \
|
||||
$(NULL)
|
||||
|
||||
-install-sysconfig:
|
||||
- $(MKDIR_P) $(DESTDIR)$(sysconfdir)/sysconfig
|
||||
- for f in $(SYSCONF_FILES:%.sysconf=%) ; \
|
||||
- do \
|
||||
- tgt=`basename $$f`; \
|
||||
- $(INSTALL_SCRIPT) $(srcdir)/$$f.sysconf \
|
||||
- $(DESTDIR)$(sysconfdir)/sysconfig/$$tgt; \
|
||||
- done
|
||||
-
|
||||
-uninstall-sysconfig:
|
||||
- for f in $(SYSCONF_FILES:%.sysconf=%) ; \
|
||||
- do \
|
||||
- tgt=`basename $$f`; \
|
||||
- rm -f $(DESTDIR)$(sysconfdir)/sysconfig/$$tgt; \
|
||||
- done
|
||||
- rmdir $(DESTDIR)$(sysconfdir)/sysconfig || :
|
||||
-
|
||||
SYSVINIT_FILES_IN = \
|
||||
locking/virtlockd.init.in \
|
||||
logging/virtlogd.init.in \
|
||||
@@ -2268,14 +2251,14 @@ uninstall-polkit::
|
||||
endif ! WITH_POLKIT
|
||||
|
||||
if LIBVIRT_INIT_SCRIPT_RED_HAT
|
||||
-install-init:: $(SYSVINIT_FILES) install-sysconfig
|
||||
+install-init:: $(SYSVINIT_FILES)
|
||||
$(MKDIR_P) $(DESTDIR)$(sysconfdir)/rc.d/init.d
|
||||
for f in $(SYSVINIT_FILES:%.init=%) ; \
|
||||
do \
|
||||
$(INSTALL_SCRIPT) $$f.init $(DESTDIR)$(sysconfdir)/rc.d/init.d/$$f; \
|
||||
done
|
||||
|
||||
-uninstall-init:: uninstall-sysconfig
|
||||
+uninstall-init::
|
||||
rm -f $(SYSVINIT_FILES:%.init=$(DESTDIR)$(sysconfdir)/rc.d/init.d/%)
|
||||
rmdir $(DESTDIR)$(sysconfdir)/rc.d/init.d || :
|
||||
|
||||
diff --git a/src/locking/virtlockd.service.in b/src/locking/virtlockd.service.in
|
||||
index 3c9d587..2449b20 100644
|
||||
--- a/src/locking/virtlockd.service.in
|
||||
+++ b/src/locking/virtlockd.service.in
|
||||
@@ -7,8 +7,7 @@ Documentation=man:virtlockd(8)
|
||||
Documentation=https://libvirt.org
|
||||
|
||||
[Service]
|
||||
-EnvironmentFile=-/etc/sysconfig/virtlockd
|
||||
-ExecStart=@sbindir@/virtlockd $VIRTLOCKD_ARGS
|
||||
+ExecStart=@sbindir@/virtlockd
|
||||
ExecReload=/bin/kill -USR1 $MAINPID
|
||||
# Loosing the locks is a really bad thing that will
|
||||
# cause the machine to be fenced (rebooted), so make
|
||||
diff --git a/src/logging/virtlogd.service.in b/src/logging/virtlogd.service.in
|
||||
index 3d9ae36..4373619 100644
|
||||
--- a/src/logging/virtlogd.service.in
|
||||
+++ b/src/logging/virtlogd.service.in
|
||||
@@ -7,8 +7,7 @@ Documentation=man:virtlogd(8)
|
||||
Documentation=https://libvirt.org
|
||||
|
||||
[Service]
|
||||
-EnvironmentFile=-/etc/sysconfig/virtlogd
|
||||
-ExecStart=@sbindir@/virtlogd $VIRTLOGD_ARGS
|
||||
+ExecStart=@sbindir@/virtlogd
|
||||
ExecReload=/bin/kill -USR1 $MAINPID
|
||||
# Loosing the logs is a really bad thing that will
|
||||
# cause the machine to be fenced (rebooted), so make
|
||||
diff --git a/src/remote/libvirtd.service.in b/src/remote/libvirtd.service.in
|
||||
index 769702e..1830c72 100644
|
||||
--- a/src/remote/libvirtd.service.in
|
||||
+++ b/src/remote/libvirtd.service.in
|
||||
@@ -21,8 +21,7 @@ Documentation=https://libvirt.org
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
-EnvironmentFile=-/etc/sysconfig/libvirtd
|
||||
-ExecStart=@sbindir@/libvirtd $LIBVIRTD_ARGS
|
||||
+ExecStart=@sbindir@/libvirtd
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillMode=process
|
||||
Restart=on-failure
|
||||
diff --git a/tools/Makefile.am b/tools/Makefile.am
|
||||
index 85e640b..99b9fa1 100644
|
||||
--- a/tools/Makefile.am
|
||||
+++ b/tools/Makefile.am
|
||||
@@ -336,15 +336,6 @@ install-data-local: install-init install-systemd install-nss \
|
||||
uninstall-local: uninstall-init uninstall-systemd uninstall-nss \
|
||||
uninstall-bash-completion
|
||||
|
||||
-install-sysconfig:
|
||||
- $(MKDIR_P) $(DESTDIR)$(sysconfdir)/sysconfig
|
||||
- $(INSTALL_DATA) $(srcdir)/libvirt-guests.sysconf \
|
||||
- $(DESTDIR)$(sysconfdir)/sysconfig/libvirt-guests
|
||||
-
|
||||
-uninstall-sysconfig:
|
||||
- rm -f $(DESTDIR)$(sysconfdir)/sysconfig/libvirt-guests
|
||||
- rmdir $(DESTDIR)$(sysconfdir)/sysconfig ||:
|
||||
-
|
||||
EXTRA_DIST += libvirt-guests.sh.in libvirt-guests.init.in
|
||||
|
||||
install-initscript: libvirt-guests.init
|
||||
@@ -359,8 +350,8 @@ uninstall-initscript:
|
||||
|
||||
if LIBVIRT_INIT_SCRIPT_RED_HAT
|
||||
BUILT_SOURCES += libvirt-guests.init
|
||||
-install-init: install-sysconfig install-initscript
|
||||
-uninstall-init: uninstall-sysconfig uninstall-initscript
|
||||
+install-init: install-initscript
|
||||
+uninstall-init: uninstall-initscript
|
||||
else ! LIBVIRT_INIT_SCRIPT_RED_HAT
|
||||
install-init:
|
||||
uninstall-init:
|
||||
diff --git a/tools/libvirt-guests.service.in b/tools/libvirt-guests.service.in
|
||||
index 491ca62..f0f417b 100644
|
||||
--- a/tools/libvirt-guests.service.in
|
||||
+++ b/tools/libvirt-guests.service.in
|
||||
@@ -10,7 +10,7 @@ Documentation=man:libvirtd(8)
|
||||
Documentation=https://libvirt.org
|
||||
|
||||
[Service]
|
||||
-EnvironmentFile=-/etc/sysconfig/libvirt-guests
|
||||
+EnvironmentFile=-/etc/libvirt/libvirt-guests.conf
|
||||
# Hack just call traditional service until we factor
|
||||
# out the code
|
||||
ExecStart=@libexecdir@/libvirt-guests.sh start
|
||||
diff --git a/tools/libvirt-guests.sysconf b/tools/libvirt-guests.sysconf
|
||||
index 08204ca..2da172b 100644
|
||||
--- a/tools/libvirt-guests.sysconf
|
||||
+++ b/tools/libvirt-guests.sysconf
|
||||
@@ -1,3 +1,10 @@
|
||||
+#
|
||||
+# Warning: This configuration file is only sourced by the systemd
|
||||
+# libvirt-guests.service unit. The coresponding openrc facility is in
|
||||
+# /etc/init.d/libvirtd and /etc/conf.d/libvirtd
|
||||
+#
|
||||
+
|
||||
+
|
||||
# URIs to check for running guests
|
||||
# example: URIS='default xen:/// vbox+tcp://host/system lxc:///'
|
||||
#URIS=default
|
||||
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||
index 6b3f37a..48e7133 100644
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -2417,14 +2417,14 @@ SYSTEMD_UNIT_FILES = $(notdir $(SYSTEMD_UNIT_FILES_IN:%.in=%))
|
||||
BUILT_SOURCES += $(SYSTEMD_UNIT_FILES)
|
||||
DISTCLEANFILES += $(SYSTEMD_UNIT_FILES)
|
||||
|
||||
-install-systemd: $(SYSTEMD_UNIT_FILES) install-sysconfig
|
||||
+install-systemd: $(SYSTEMD_UNIT_FILES)
|
||||
$(MKDIR_P) $(DESTDIR)$(SYSTEMD_UNIT_DIR)
|
||||
for f in $(SYSTEMD_UNIT_FILES); \
|
||||
do \
|
||||
$(INSTALL_DATA) $$f $(DESTDIR)$(SYSTEMD_UNIT_DIR)/ ; \
|
||||
done
|
||||
|
||||
-uninstall-systemd: uninstall-sysconfig
|
||||
+uninstall-systemd:
|
||||
rm -f $(SYSTEMD_UNIT_FILES:%=$(DESTDIR)$(SYSTEMD_UNIT_DIR)/%)
|
||||
rmdir $(DESTDIR)$(SYSTEMD_UNIT_DIR) || :
|
||||
else ! LIBVIRT_INIT_SCRIPT_SYSTEMD
|
||||
@@ -2496,7 +2496,7 @@ EXTRA_DIST += $(UPSTART_FILES)
|
||||
if WITH_LIBVIRTD
|
||||
if LIBVIRT_INIT_SCRIPT_UPSTART
|
||||
|
||||
-install-upstart: install-sysconfig
|
||||
+install-upstart:
|
||||
$(MKDIR_P) $(DESTDIR)$(sysconfdir)/event.d
|
||||
for f in $(UPSTART_FILES:%.upstart=%); \
|
||||
do \
|
||||
@@ -2505,7 +2505,7 @@ install-upstart: install-sysconfig
|
||||
$(DESTDIR)$(sysconfdir)/event.d/$$tgt ; \
|
||||
done
|
||||
|
||||
-uninstall-upstart: uninstall-sysconfig
|
||||
+uninstall-upstart:
|
||||
for f in $(UPSTART_FILES:%.upstart=%); \
|
||||
do \
|
||||
tgt=`basename $$f` ; \
|
||||
diff --git a/tools/Makefile.am b/tools/Makefile.am
|
||||
index 99b9fa1..37e037c 100644
|
||||
--- a/tools/Makefile.am
|
||||
+++ b/tools/Makefile.am
|
||||
@@ -382,12 +382,12 @@ EXTRA_DIST += libvirt-guests.service.in
|
||||
SYSTEMD_UNIT_DIR = $(prefix)/lib/systemd/system
|
||||
|
||||
if LIBVIRT_INIT_SCRIPT_SYSTEMD
|
||||
-install-systemd: libvirt-guests.service install-sysconfig libvirt-guests.sh
|
||||
+install-systemd: libvirt-guests.service libvirt-guests.sh
|
||||
$(MKDIR_P) $(DESTDIR)$(SYSTEMD_UNIT_DIR)
|
||||
$(INSTALL_DATA) libvirt-guests.service \
|
||||
$(DESTDIR)$(SYSTEMD_UNIT_DIR)/libvirt-guests.service
|
||||
|
||||
-uninstall-systemd: uninstall-sysconfig
|
||||
+uninstall-systemd:
|
||||
rm -f $(DESTDIR)$(SYSTEMD_UNIT_DIR)/libvirt-guests.service
|
||||
rmdir $(DESTDIR)$(SYSTEMD_UNIT_DIR) ||:
|
||||
|
@ -0,0 +1,384 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils user linux-info systemd readme.gentoo-r1 bash-completion-r1
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://libvirt.org/libvirt.git"
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
SLOT="0"
|
||||
else
|
||||
# Versions with 4 numbers are stable updates:
|
||||
if [[ ${PV} =~ ^[0-9]+(\.[0-9]+){3} ]]; then
|
||||
SRC_URI="http://libvirt.org/sources/stable_updates/${P}.tar.xz"
|
||||
else
|
||||
SRC_URI="http://libvirt.org/sources/${P}.tar.xz"
|
||||
fi
|
||||
KEYWORDS="~amd64 ~arm64 ~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 firewalld fuse glusterfs iscsi +libvirtd lvm
|
||||
libssh lxc +macvtap nfs nls numa openvz parted pcap phyp policykit
|
||||
+qemu rbd sasl selinux +udev uml +vepa virtualbox virt-network
|
||||
wireshark-plugins xen zeroconf zfs
|
||||
"
|
||||
|
||||
REQUIRED_USE="
|
||||
firewalld? ( virt-network )
|
||||
libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
|
||||
lxc? ( caps libvirtd )
|
||||
openvz? ( libvirtd )
|
||||
policykit? ( dbus )
|
||||
qemu? ( libvirtd )
|
||||
uml? ( 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="
|
||||
app-misc/scrub
|
||||
dev-libs/libgcrypt:0
|
||||
dev-libs/libnl:3
|
||||
>=dev-libs/libxml2-2.7.6
|
||||
|| ( >=net-analyzer/netcat6-1.0-r2 >=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 )
|
||||
firewalld? ( net-firewall/firewalld )
|
||||
fuse? ( >=sys-fs/fuse-2.8.6:= )
|
||||
glusterfs? ( >=sys-cluster/glusterfs-3.4.1 )
|
||||
iscsi? ( sys-block/open-iscsi )
|
||||
libssh? ( net-libs/libssh )
|
||||
lvm? ( >=sys-fs/lvm2-2.02.48-r2[-device-mapper-only(-)] )
|
||||
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-0.13.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
|
||||
app-emulation/xen-tools:=
|
||||
)
|
||||
udev? (
|
||||
virtual/udev
|
||||
>=x11-libs/libpciaccess-0.10.9
|
||||
)
|
||||
zeroconf? ( >=net-dns/avahi-0.6[dbus] )
|
||||
zfs? ( sys-fs/zfs )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/xhtml1
|
||||
dev-lang/perl
|
||||
dev-libs/libxslt
|
||||
dev-perl/XML-XPath
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-4.1.0-do_not_use_sysconf.patch
|
||||
"${FILESDIR}"/${PN}-1.2.16-fix_paths_in_libvirt-guests_sh.patch
|
||||
"${FILESDIR}"/${PN}-3.10.0-r2-fix_paths_for_apparmor.patch
|
||||
"${FILESDIR}"/${PN}-3.1.0-musl-fix-includes.patch # bug #609488
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
if use qemu; then
|
||||
enewgroup qemu 77
|
||||
enewuser qemu 77 -1 -1 "qemu,kvm"
|
||||
fi
|
||||
|
||||
use policykit && enewgroup libvirt
|
||||
|
||||
# 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"
|
||||
# Bandwidth Limiting Support
|
||||
use virt-network && CONFIG_CHECK+="
|
||||
~BRIDGE_EBT_T_NAT
|
||||
~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
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# git checkouts require bootstrapping to create the configure script.
|
||||
# Additionally the submodules must be cloned to the right locations
|
||||
# bug #377279
|
||||
./bootstrap || die "bootstrap failed"
|
||||
(
|
||||
git submodule status | sed 's/^[ +-]//;s/ .*//'
|
||||
git hash-object bootstrap.conf
|
||||
) >.git-module-status
|
||||
fi
|
||||
|
||||
# Tweak the init script:
|
||||
cp "${FILESDIR}/libvirtd.init-r16" "${S}/libvirtd.init" || die
|
||||
sed -e "s/USE_FLAG_FIREWALLD/$(usex firewalld 'need firewalld' '')/" \
|
||||
-e "s/USE_FLAG_AVAHI/$(usex zeroconf 'use avahi-daemon' '')/" \
|
||||
-e "s/USE_FLAG_ISCSI/$(usex iscsi 'use iscsid' '')/" \
|
||||
-e "s/USE_FLAG_RBD/$(usex rbd 'use ceph' '')/" \
|
||||
-i "${S}/libvirtd.init" || die "sed failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_with apparmor)
|
||||
$(use_with apparmor apparmor-profiles)
|
||||
$(use_with audit)
|
||||
$(use_with caps capng)
|
||||
$(use_with dbus)
|
||||
$(use_with firewalld)
|
||||
$(use_with fuse)
|
||||
$(use_with glusterfs)
|
||||
$(use_with glusterfs storage-gluster)
|
||||
$(use_with iscsi storage-iscsi)
|
||||
$(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 phyp)
|
||||
$(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 uml)
|
||||
$(use_with vepa virtualport)
|
||||
$(use_with virt-network network)
|
||||
$(use_with wireshark-plugins wireshark-dissector)
|
||||
$(use_with xen)
|
||||
$(use_with xen xen-inotify)
|
||||
$(use_with xen libxl)
|
||||
$(use_with zeroconf avahi)
|
||||
$(use_with zfs storage-zfs)
|
||||
|
||||
--without-hal
|
||||
--without-netcf
|
||||
--without-sanlock
|
||||
--without-xenapi
|
||||
|
||||
--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
|
||||
|
||||
--with-html-subdir=${PF}/html
|
||||
--localstatedir=/var
|
||||
)
|
||||
|
||||
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[@]}"
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Restore gnulib's config.sub and config.guess
|
||||
# bug #377279
|
||||
(cd .gnulib && git reset --hard > /dev/null)
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${BUILD_DIR}"
|
||||
|
||||
# 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 || die "tests failed"
|
||||
}
|
||||
|
||||
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/cache
|
||||
rm -rf "${D}"/var/run
|
||||
rm -rf "${D}"/var/log
|
||||
|
||||
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 || die
|
||||
newinitd "${FILESDIR}/libvirt-guests.init-r2" libvirt-guests || die
|
||||
newinitd "${FILESDIR}/virtlockd.init-r1" virtlockd || die
|
||||
newinitd "${FILESDIR}/virtlogd.init-r1" virtlogd || die
|
||||
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd || die
|
||||
newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests || die
|
||||
|
||||
newbashcomp "${S}/tools/bash-completion/vsh" vsh
|
||||
bashcomp_alias vsh virsh virt-admin
|
||||
|
||||
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
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,142 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="AIDE (Advanced Intrusion Detection Environment) is a file integrity checker"
|
||||
HOMEPAGE="http://aide.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/aide/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="acl audit curl e2fs mhash postgres prelink selinux static xattr zlib"
|
||||
|
||||
COMMON_DEPEND="
|
||||
!mhash? (
|
||||
dev-libs/libgcrypt:0=
|
||||
dev-libs/libgpg-error
|
||||
)
|
||||
mhash? ( app-crypt/mhash )
|
||||
dev-libs/libpcre
|
||||
acl? ( virtual/acl )
|
||||
audit? ( sys-process/audit )
|
||||
curl? ( net-misc/curl )
|
||||
e2fs? ( sys-fs/e2fsprogs )
|
||||
postgres? ( dev-db/postgresql:= )
|
||||
prelink? ( dev-libs/elfutils )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
xattr? ( sys-apps/attr )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
RDEPEND="
|
||||
!static? ( ${COMMON_DEPEND} )
|
||||
prelink? ( sys-devel/prelink )
|
||||
selinux? ( sec-policy/selinux-aide )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
static? (
|
||||
!mhash? (
|
||||
dev-libs/libgcrypt:0[static-libs]
|
||||
dev-libs/libgpg-error[static-libs]
|
||||
)
|
||||
mhash? ( app-crypt/mhash[static-libs] )
|
||||
dev-libs/libpcre[static-libs]
|
||||
acl? ( virtual/acl[static-libs] )
|
||||
e2fs? ( sys-fs/e2fsprogs[static-libs] )
|
||||
prelink? ( dev-libs/elfutils[static-libs] )
|
||||
selinux? ( sys-libs/libselinux[static-libs] )
|
||||
xattr? ( sys-apps/attr[static-libs] )
|
||||
zlib? ( sys-libs/zlib[static-libs] )
|
||||
)
|
||||
"
|
||||
|
||||
REQUIRED_USE="
|
||||
postgres? ( !mhash )
|
||||
static? ( !audit !curl !postgres )
|
||||
"
|
||||
|
||||
HTML_DOCS=( doc/manual.html )
|
||||
|
||||
DISABLE_AUTOFORMATTING=1
|
||||
DOC_CONTENTS="
|
||||
Example configuration file was installed at '${EPREFIX}/etc/aide/aide.conf'.
|
||||
Please edit it to meet your needs. Refer to aide.conf(5) manual page
|
||||
for more information.
|
||||
|
||||
A helper script, aideinit, was installed and can be used to make AIDE
|
||||
management easier. Please run 'aideinit --help' for more information.
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-add-missing-include.patch"
|
||||
"${FILESDIR}/${P}-fix-LIBS-LDFLAGS-mixing.patch"
|
||||
"${FILESDIR}/${P}-fix-acl-configure-option.patch"
|
||||
"${FILESDIR}/${P}-support-attr-2.4.48.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default_src_prepare
|
||||
sed -i -e 's| -Werror||g' configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--sysconfdir="${EPREFIX}/etc/${PN}"
|
||||
--with-confighmactype="sha512" # Override default weak MD5 hash.
|
||||
--with-dbhmackey="sha512" # Override default weak MD5 hash.
|
||||
# Disable broken l10n support: https://sourceforge.net/p/aide/bugs/98/
|
||||
# This doesn't affect anything because there are no localizations yet.
|
||||
--without-locale
|
||||
$(use_enable static)
|
||||
$(use_with zlib)
|
||||
$(use_with curl)
|
||||
$(use_with acl posix-acl)
|
||||
$(use_with selinux)
|
||||
$(use_with prelink prelink "${EPREFIX}/usr/sbin/prelink")
|
||||
$(use_with xattr)
|
||||
$(use_with e2fs e2fsattrs)
|
||||
$(use_with mhash mhash)
|
||||
$(use_with !mhash gcrypt)
|
||||
$(use_with postgres psql)
|
||||
$(use_with audit)
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default_src_install
|
||||
readme.gentoo_create_doc
|
||||
|
||||
insinto /etc/${PN}
|
||||
doins "${FILESDIR}"/aide.conf
|
||||
|
||||
dosbin "${FILESDIR}"/aideinit
|
||||
dodoc "${FILESDIR}"/aide.cron
|
||||
|
||||
keepdir /var/{lib,log}/${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
|
||||
if use postgres; then
|
||||
elog
|
||||
elog "Due to a bad assumption by aide, you must issue the following"
|
||||
elog "command after the database initialization (aide --init ...):"
|
||||
elog
|
||||
elog 'psql -c "update pg_index set indisunique=false from pg_class \\ '
|
||||
elog " where pg_class.relname='TABLE_pkey' and \ "
|
||||
elog ' pg_class.oid=pg_index.indexrelid" -h HOSTNAME -p PORT DBASE USER'
|
||||
elog
|
||||
elog "where TABLE, HOSTNAME, PORT, DBASE, and USER are the same as"
|
||||
elog "in your aide.conf."
|
||||
elog
|
||||
fi
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
Fix build against attr >= 2.4.48
|
||||
|
||||
Drop obsolete attr/xattr.h include as did attr upstream in attr-2.4.48.
|
||||
See http://git.savannah.nongnu.org/cgit/attr.git/commit/?id=7921157890d07858d092f4003ca4c6bae9fd2c38
|
||||
|
||||
ENOATTR definition was moved to attr/attributes.h, thus include it.
|
||||
attr < 2.4.48 keeps ENOATTR definition in attr/xattr.h, so define it
|
||||
manually if necessary in order to preserve backwards compatibility.
|
||||
|
||||
Bug: https://bugs.gentoo.org/648966
|
||||
Upstream-bug: https://sourceforge.net/p/aide/patches/23/
|
||||
|
||||
diff --git a/include/db_config.h b/include/db_config.h
|
||||
index e92fe1c..7e5ff0d 100644
|
||||
--- a/include/db_config.h
|
||||
+++ b/include/db_config.h
|
||||
@@ -62,7 +62,10 @@ typedef struct acl_type {
|
||||
|
||||
#ifdef WITH_XATTR /* Do generic user Xattrs. */
|
||||
#include <sys/xattr.h>
|
||||
-#include <attr/xattr.h>
|
||||
+#include <attr/attributes.h>
|
||||
+#ifndef ENOATTR
|
||||
+# define ENOATTR ENODATA
|
||||
+#endif
|
||||
#endif
|
||||
|
||||
typedef struct xattr_node
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST scribus-1.4.6.tar.xz 73601104 BLAKE2B 5968a48410d1a2a4caa333c9f83b43f68c964862d9aa3cb20e136760201ef2ef6cb82f770026b6f962758c9d397f25a017d906433f52f88bec11c57105c27f6b SHA512 74d8a89eb767535bcd8fe5e3c55d03709d59ff8fc5280005bcc2ad36cae1d37c8442ab85abaea86fdee9f351a901c86947231001324e2d8df00cbd8e5c18d1e3
|
||||
DIST scribus-1.5.3.tar.xz 74222084 BLAKE2B ffb50c728c0669ab8a22c416c143e8dd47c818120247b4cf5a890872857326b53491be99004a344d78ea2cf2b174ae2987ddcddb4cef39a6e95fe1695be45d48 SHA512 487cea685869397bc52acc7be8e8e9f4bad3f594c1f95740207e4d9e26b07461a7fd2a95d5337b38f1b0fa6504a9f6059cca6740c78cc165eab0b779ffdfe980
|
||||
|
@ -1,60 +0,0 @@
|
||||
Scribus.pro | 4 ----
|
||||
scribus/CMakeLists.txt | 2 --
|
||||
2 files changed, 0 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/Scribus.pro b/Scribus.pro
|
||||
index 17b5417..0cc23c9 100644
|
||||
--- a/Scribus.pro
|
||||
+++ b/Scribus.pro
|
||||
@@ -276,7 +276,6 @@ HEADERS += scribus/about.h \
|
||||
scribus/insertaframe.h \
|
||||
scribus/insertTable.h \
|
||||
scribus/inspage.h \
|
||||
- scribus/ioapi.h \
|
||||
scribus/javadocs.h \
|
||||
scribus/KarbonCurveFit.h \
|
||||
scribus/langmgr.h \
|
||||
@@ -496,7 +495,6 @@ HEADERS += scribus/about.h \
|
||||
scribus/undostate.h \
|
||||
scribus/unicodesearch.h \
|
||||
scribus/units.h \
|
||||
- scribus/unzip.h \
|
||||
scribus/updatemanager.h \
|
||||
scribus/upgradechecker.h \
|
||||
scribus/urllauncher.h \
|
||||
@@ -933,7 +931,6 @@ SOURCES += scribus/about.cpp \
|
||||
scribus/insertaframe.cpp \
|
||||
scribus/insertTable.cpp \
|
||||
scribus/inspage.cpp \
|
||||
- scribus/ioapi.c \
|
||||
scribus/javadocs.cpp \
|
||||
scribus/KarbonCurveFit.cpp \
|
||||
scribus/langmgr.cpp \
|
||||
@@ -1143,7 +1140,6 @@ SOURCES += scribus/about.cpp \
|
||||
scribus/undostate.cpp \
|
||||
scribus/unicodesearch.cpp \
|
||||
scribus/units.cpp \
|
||||
- scribus/unzip.c \
|
||||
scribus/updatemanager.cpp \
|
||||
scribus/upgradechecker.cpp \
|
||||
scribus/urllauncher.cpp \
|
||||
diff --git a/scribus/CMakeLists.txt b/scribus/CMakeLists.txt
|
||||
index dcd7e10..3aca69b 100644
|
||||
--- a/scribus/CMakeLists.txt
|
||||
+++ b/scribus/CMakeLists.txt
|
||||
@@ -405,7 +405,6 @@ SET(SCRIBUS_SOURCES
|
||||
insertTable.cpp
|
||||
insertaframe.cpp
|
||||
inspage.cpp
|
||||
- ioapi.c
|
||||
javadocs.cpp
|
||||
KarbonCurveFit.cpp
|
||||
langmgr.cpp
|
||||
@@ -613,7 +612,6 @@ SET(SCRIBUS_SOURCES
|
||||
undostate.cpp
|
||||
unicodesearch.cpp
|
||||
units.cpp
|
||||
- unzip.c
|
||||
updatemanager.cpp
|
||||
upgradechecker.cpp
|
||||
urllauncher.cpp
|
@ -1,171 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="tk?"
|
||||
|
||||
inherit cmake-utils fdo-mime python-single-r1
|
||||
|
||||
DESCRIPTION="Desktop publishing (DTP) and layout program"
|
||||
HOMEPAGE="http://www.scribus.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~hppa ppc ppc64 ~sparc x86"
|
||||
IUSE="cairo debug examples hunspell +minimal +pdf scripts templates tk"
|
||||
|
||||
# a=$(ls resources/translations/po/scribus.*ts | sed -e 's:\.: :g' | awk '{print $2}'); echo ${a}
|
||||
# Keep this sorted, otherwise eliminating of duplicates below won't work
|
||||
IUSE_L10N=" af ar bg br ca cs_CZ cy da_DK de_1901 de_CH de el en_AU en_GB en_US eo es_ES et eu fi fr gl hu id it ja ko lt_LT nb_NO nl pl_PL pt_BR pt ru sa sk_SK sl sq sr sv th_TH tr uk zh_CN zh_TW"
|
||||
|
||||
map_lang() {
|
||||
local lang=${1/_/-}
|
||||
case $1 in
|
||||
# Retain the following, which have a specific subtag
|
||||
de_*|en_*|pt_*|zh_*) ;;
|
||||
# Consider all other xx_XX as duplicates of the generic xx tag
|
||||
*_*) lang=${1%%_*} ;;
|
||||
esac
|
||||
echo ${lang}
|
||||
}
|
||||
|
||||
prev_l=
|
||||
for l in ${IUSE_L10N}; do
|
||||
l=$(map_lang ${l})
|
||||
[[ ${l} != "${prev_l}" ]] && IUSE+=" l10n_${l}"
|
||||
prev_l=${l}
|
||||
done
|
||||
unset l prev_l
|
||||
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
tk? ( scripts )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-libs/boost
|
||||
dev-libs/hyphen
|
||||
dev-libs/libxml2
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
media-libs/lcms:2
|
||||
media-libs/libpng:0
|
||||
media-libs/tiff:0
|
||||
net-print/cups
|
||||
sys-libs/zlib[minizip]
|
||||
virtual/jpeg:0=
|
||||
cairo? ( x11-libs/cairo[X,svg] )
|
||||
!cairo? ( media-libs/libart_lgpl )
|
||||
hunspell? ( app-text/hunspell )
|
||||
pdf? ( app-text/podofo )
|
||||
scripts? ( dev-python/pillow[tk?,${PYTHON_USEDEP}] )
|
||||
tk? ( dev-python/pillow[tk?,${PYTHON_USEDEP}] )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
app-text/ghostscript-gpl"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.4.0-minizip.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cat > cmake/modules/FindZLIB.cmake <<- EOF
|
||||
find_package(PkgConfig)
|
||||
pkg_check_modules(ZLIB minizip zlib)
|
||||
SET( ZLIB_LIBRARY \${ZLIB_LIBRARIES} )
|
||||
SET( ZLIB_INCLUDE_DIR \${ZLIB_INCLUDE_DIRS} )
|
||||
MARK_AS_ADVANCED( ZLIB_LIBRARY ZLIB_INCLUDE_DIR )
|
||||
EOF
|
||||
|
||||
rm scribus/{ioapi,unzip}.[ch] || die
|
||||
|
||||
sed \
|
||||
-e 's:\(${CMAKE_INSTALL_PREFIX}\):./\1:g' \
|
||||
-i resources/templates/CMakeLists.txt || die
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local _lang lang langs
|
||||
for _lang in ${IUSE_L10N}; do
|
||||
lang=$(map_lang ${_lang})
|
||||
if use l10n_${lang}; then
|
||||
langs+=",${_lang}"
|
||||
else
|
||||
sed -e "/${_lang}/d" -i scribus/doc/CMakeLists.txt || die
|
||||
fi
|
||||
done
|
||||
|
||||
local mycmakeargs=(
|
||||
-DHAVE_PYTHON=ON
|
||||
-DPYTHON_INCLUDE_PATH="$(python_get_includedir)"
|
||||
-DPYTHON_LIBRARY="$(python_get_library_path)"
|
||||
-DWANT_NORPATH=ON
|
||||
-DWANT_QT3SUPPORT=OFF
|
||||
-IUSE_LINGUAS=ON
|
||||
-DWANT_GUI_LANG=${langs#,}
|
||||
-DCMAKE_INSTALL_DATAROOTDIR="${EPREFIX}/usr/share"
|
||||
-DTAG_VERSION=-${PVR}
|
||||
$(cmake-utils_use_with pdf PODOFO)
|
||||
$(cmake-utils_use_want cairo)
|
||||
$(cmake-utils_use_want !cairo QTARTHUR)
|
||||
$(cmake-utils_use_want debug DEBUG)
|
||||
$(cmake-utils_use_want minimal NOHEADERINSTALL)
|
||||
$(cmake-utils_use_want hunspell HUNSPELL)
|
||||
$(cmake-utils_use_want !examples NOEXAMPLES)
|
||||
$(cmake-utils_use_want !templates NOTEMPLATES)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
local _lang lang file
|
||||
for _lang in ${IUSE_L10N}; do
|
||||
lang=$(map_lang ${_lang})
|
||||
file="${ED}"/usr/share/scribus/translations/scribus.${_lang}.qm
|
||||
if ! use l10n_${lang} && [[ -f "${file}" ]]; then
|
||||
rm "${file}" || die
|
||||
fi
|
||||
done
|
||||
|
||||
if ! use scripts; then
|
||||
rm "${ED}"/usr/share/${PF}/scripts/*.py || die
|
||||
else
|
||||
if ! use tk; then
|
||||
rm "${ED}"/usr/share/${PF}/scripts/{FontSample,CalendarWizard}.py* || die
|
||||
fi
|
||||
python_fix_shebang "${ED}"/usr/share/${PF}/scripts
|
||||
python_optimize "${ED}"/usr/share/${PF}/scripts
|
||||
fi
|
||||
|
||||
mv "${ED}"/usr/share/doc/${PF}/{en,html} || die
|
||||
ln -sf html "${ED}"/usr/share/doc/${PF}/en || die
|
||||
cat >> "${T}"/COPYING <<- EOF
|
||||
${PN} is licensed under the "${LICENSE}".
|
||||
Please visit https://www.gnu.org/licenses/gpl-2.0.html for the complete license text.
|
||||
EOF
|
||||
dodoc "${T}"/COPYING
|
||||
docompress -x /usr/share/doc/${PF}/en /usr/share/doc/${PF}/{AUTHORS,TRANSLATION,LINKS,COPYING}
|
||||
doicon resources/icons/scribus.png
|
||||
domenu scribus.desktop
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
DIST blogc-0.13.2.tar.xz 315832 BLAKE2B f5a8392318a96bc4356b6df4386cbd2b1037fe5e6ed2a6f4bebbf02221a0775601dd39dc06995e3846e224d3597dd8b7537bc6309f46b63abe1bab37dbc80f8d SHA512 1c5a987e6ac7b1460082f2f50cadee645113134f925e331dd2c8b40f0284cbca855db969aaf624cfff503b8040094168c743f4c0d7832bea6f7a9b0b5d044cee
|
||||
DIST blogc-0.13.3.tar.xz 315936 BLAKE2B e23ac0f1ca026afb47997d42adeaae8adc67f71b09984675d584af9f6e673ad4f894220fa3105297ccea6c3ae90d5853459c061793504fd635683af326a8b018 SHA512 eaf9c6fae0e224207a7c552747fe6e205bbd4ee8d2d8d158352234609b0d31dc1d40997f7ba98f4311a15ec4f3968e7bde4bce7c78d4e82d8b27b5fd34b5c40b
|
||||
|
@ -1,10 +1,4 @@
|
||||
DIST dvisvgm-1.10.tar.gz 831654 BLAKE2B 7da1032f2450cec4c166b622f488859069052a5792ead77bbadc425b24640f6c969887b22d07ec682f90b19e849668e89a3b2f8edd63ce39f0d80edcd32495e1 SHA512 2d3cb2e6b36d6a3b996347b6031f67bb89bc76d2bf0244347e512e66333536638caf855d9856771b10245387abae99a06d4c6fe33def814cae639810b4cfe906
|
||||
DIST dvisvgm-2.1.3.tar.gz 2802278 BLAKE2B 36e523d4b82a71f26ebc50428c56863a3729d1cf79c63660a5a3cecdd7c55c27e7ad811121e8a2ccdaa37f1ec2fb345d1d5d4f7b59011be7877500df5dba1f48 SHA512 dfd6e94b28dcdf2d1be236f3f29eaf4e3e5b7bb34544cdd55ae09de612b02561dd782b693a9a94eea07420c795d31ef210eba34cb663d7de98f438c089369ff2
|
||||
DIST dvisvgm-2.2.1.tar.gz 2841744 BLAKE2B a9221bd927544249a30262f1916a1323efd3e59b2612a6a9d1d50402284a4c7a7299ca72ee5b58aa09198c6966a8e92671106b46596980229b187ed1bdfef5b7 SHA512 82890cb15f66c88696ab15e15262e8f925e1db88b6b052dbe2408f876c9931d3d4a6b90f16bdac40213de7b7b794ea3b6499efcec3a039a6c92ff2fabfbf0691
|
||||
DIST dvisvgm-2.2.2.tar.gz 2848315 BLAKE2B 157237fcd7e61a9cf7978f3b595d1ac5fa7765dc1615721dc9812a27e26b20f077aa46535fc19f9fee28bc5714467f6176df6ab1ca094be2299d77ae4542a103 SHA512 e15384b4842a9c6963110b96b611f4f4beff301818972ef0aa77590b7aefdb488c3df16f93a5b786c97229df730c112db97770b612786fdff9011b5a2808d917
|
||||
DIST dvisvgm-2.2.3.tar.gz 2813537 BLAKE2B 0cc2625c779d22dceef8b26c0e977086601f246beed5610f722e2efe59ca617b29f27bf5de87c7b1aaf2b87ddb3320ede9852b39bd8633ca13594752e62869f0 SHA512 b3d17f13496a371914baa0a498e845b5c52dd74bf3d54cbd86fc91977f786d148f34145fee53272029ddf7507e468c827a41ef48ba2fb02212448858e868ad03
|
||||
DIST dvisvgm-2.2.tar.gz 2841354 BLAKE2B 713257347b258338b8ebf408ee6affddef4a53b51621496cb64638e295a27f90ea03f6d752b692f609429f1e5220363f866e4bbff3e82de1f4a03494ded3052e SHA512 310b3272f41d3378ddfb5663d4b6906f7b1cd1dfbbcff0ad249b27c5c37290c5eb496ec84a536f3166a51de4708f6069da9c6811bb7fc9e667d00b1c3aaafd53
|
||||
DIST dvisvgm-2.3.1.tar.gz 2854014 BLAKE2B 7df3090e53e5ea11338b5d439f52fad0aecb0658e048792565239fb6121ac05605dd992f9dcaefcc1cfad2c35d0194abdad66173d6c4b9199ab926bb02d93ad9 SHA512 ea105c343bc37b178afca41a20a167fac52341083881866585c12d965961cbbcd3f1580dcb5d5c8b42326c0872b2513bc9d5763942dd2631dd404097ea3b26a6
|
||||
DIST dvisvgm-2.3.2.tar.gz 2805466 BLAKE2B 45f82ed650bd18d4ee17bd4ef7df778503e90955a509ce1172a131ae79c6842a478af5911b90fa9f6cd537ba7245a317ac188159bcdd9d77dcf32746f1c1781a SHA512 a4b4ed978ce940eb918b3d053dddec1eac20cf9f6abb68de24c94ea2762d473004eb64a0dfca40b4cb7d5b208c70132ad8eea617533f83e46282ee405c9c5939
|
||||
DIST dvisvgm-2.3.3.tar.gz 2805568 BLAKE2B 9823d2a8d3b736dfbbfbe0e5d51fb20bf61b4a8d236cc24fadd6e8a918f8f8305dedc23f6d7146574f9302a006a50e33621d350425e1b3c65d780d1354e7b239 SHA512 1b170b5979049f30aaaa5a85d8b5555e87a7af987298980d25c77aebd95b6be56a8518986b8a6eb2215b6dbd32dfbdfdcecb0c81f9d5ffa856370da1b324ed18
|
||||
DIST dvisvgm-2.3.tar.gz 2816291 BLAKE2B 3c804b49d9a5447063cd70646d0c6bdb56bf7f457aa84a4ef535341e2b5b9bea2b3dbb3209c3afebb5ebaea04300b5784b25ed244145a1afd6a8a4974326c914 SHA512 b1efc505db2c52471306eca099285c35685cf92d0f084a46daa476423d3706a2a3260584f9fdcc5722630a49b4178c9bd36d6cd8019a5b4c9f3759468e8e8313
|
||||
DIST dvisvgm-2.3.4.tar.gz 2896641 BLAKE2B af434a418b5ebbb9acaccc4626b6278f3d0c76e4434b9ccec8a0454a109481527bc0a7ac3b242a64a68ca1d71233778d3a90b4c03946db9f1e94c625109f598c SHA512 53c1820dee70f8a017a950400538aa2fe111b762d2f7d3bdb6b8be17de6603395d6e083b73292e688241e6e3adccaaaa2f9d82d5fec7818c2f5779ff28914dd9
|
||||
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="Converts DVI files to SVG"
|
||||
HOMEPAGE="http://dvisvgm.bplaced.net/"
|
||||
SRC_URI="https://github.com/mgieseki/dvisvgm/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="test"
|
||||
# Tests don't work from $WORKDIR: kpathsea tries to search in relative
|
||||
# directories from where the binary is executed.
|
||||
# We cannot really use absolute paths in the kpathsea configuration since that
|
||||
# would make it harder for prefix installs.
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="virtual/tex-base
|
||||
app-text/ghostscript-gpl
|
||||
>=media-gfx/potrace-1.10-r1
|
||||
media-libs/freetype:2
|
||||
dev-libs/kpathsea
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/xmlto
|
||||
app-text/asciidoc
|
||||
dev-libs/libxslt
|
||||
virtual/pkgconfig
|
||||
test? ( dev-cpp/gtest )"
|
||||
|
||||
src_configure() {
|
||||
has_version '>=dev-libs/kpathsea-6.2.1' && append-cppflags "$($(tc-getPKG_CONFIG) --cflags kpathsea)"
|
||||
default
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="Converts DVI files to SVG"
|
||||
HOMEPAGE="http://dvisvgm.bplaced.net/"
|
||||
SRC_URI="https://github.com/mgieseki/dvisvgm/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="test"
|
||||
# Tests don't work from $WORKDIR: kpathsea tries to search in relative
|
||||
# directories from where the binary is executed.
|
||||
# We cannot really use absolute paths in the kpathsea configuration since that
|
||||
# would make it harder for prefix installs.
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="virtual/tex-base
|
||||
app-text/ghostscript-gpl
|
||||
>=media-gfx/potrace-1.10-r1
|
||||
media-libs/freetype:2
|
||||
dev-libs/kpathsea
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/xmlto
|
||||
app-text/asciidoc
|
||||
dev-libs/libxslt
|
||||
virtual/pkgconfig
|
||||
test? ( dev-cpp/gtest )"
|
||||
|
||||
src_configure() {
|
||||
has_version '>=dev-libs/kpathsea-6.2.1' && append-cppflags "$($(tc-getPKG_CONFIG) --cflags kpathsea)"
|
||||
default
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="Converts DVI files to SVG"
|
||||
HOMEPAGE="http://dvisvgm.bplaced.net/"
|
||||
SRC_URI="https://github.com/mgieseki/dvisvgm/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="test"
|
||||
# Tests don't work from $WORKDIR: kpathsea tries to search in relative
|
||||
# directories from where the binary is executed.
|
||||
# We cannot really use absolute paths in the kpathsea configuration since that
|
||||
# would make it harder for prefix installs.
|
||||
RESTRICT="test"
|
||||
|
||||
# TODO unbundle app-arch/brotli
|
||||
RDEPEND="virtual/tex-base
|
||||
app-text/ghostscript-gpl
|
||||
>=media-gfx/potrace-1.10-r1
|
||||
media-libs/freetype:2
|
||||
dev-libs/kpathsea
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/xmlto
|
||||
app-text/asciidoc
|
||||
dev-libs/libxslt
|
||||
virtual/pkgconfig
|
||||
test? ( dev-cpp/gtest )"
|
||||
|
||||
src_configure() {
|
||||
has_version '>=dev-libs/kpathsea-6.2.1' && append-cppflags "$($(tc-getPKG_CONFIG) --cflags kpathsea)"
|
||||
default
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="Converts DVI files to SVG"
|
||||
HOMEPAGE="http://dvisvgm.bplaced.net/"
|
||||
SRC_URI="https://github.com/mgieseki/dvisvgm/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="test"
|
||||
# Tests don't work from $WORKDIR: kpathsea tries to search in relative
|
||||
# directories from where the binary is executed.
|
||||
# We cannot really use absolute paths in the kpathsea configuration since that
|
||||
# would make it harder for prefix installs.
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="virtual/tex-base
|
||||
app-text/ghostscript-gpl
|
||||
>=media-gfx/potrace-1.10-r1
|
||||
media-libs/freetype:2
|
||||
dev-libs/kpathsea
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/xmlto
|
||||
app-text/asciidoc
|
||||
dev-libs/libxslt
|
||||
virtual/pkgconfig
|
||||
test? ( dev-cpp/gtest )"
|
||||
|
||||
src_configure() {
|
||||
has_version '>=dev-libs/kpathsea-6.2.1' && append-cppflags "$($(tc-getPKG_CONFIG) --cflags kpathsea)"
|
||||
default
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="Converts DVI files to SVG"
|
||||
HOMEPAGE="http://dvisvgm.bplaced.net/"
|
||||
SRC_URI="https://github.com/mgieseki/dvisvgm/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="test"
|
||||
# Tests don't work from $WORKDIR: kpathsea tries to search in relative
|
||||
# directories from where the binary is executed.
|
||||
# We cannot really use absolute paths in the kpathsea configuration since that
|
||||
# would make it harder for prefix installs.
|
||||
RESTRICT="test"
|
||||
|
||||
# TODO unbundle app-arch/brotli
|
||||
RDEPEND="virtual/tex-base
|
||||
app-text/ghostscript-gpl
|
||||
dev-libs/kpathsea:=
|
||||
>=media-gfx/potrace-1.10-r1
|
||||
media-libs/freetype:2
|
||||
dev-libs/kpathsea
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/xmlto
|
||||
app-text/asciidoc
|
||||
dev-libs/libxslt
|
||||
virtual/pkgconfig
|
||||
test? ( dev-cpp/gtest )"
|
||||
|
||||
src_configure() {
|
||||
local myargs=(
|
||||
--without-ttfautohint
|
||||
)
|
||||
econf "${myargs[@]}"
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="Converts DVI files to SVG"
|
||||
HOMEPAGE="http://dvisvgm.bplaced.net/"
|
||||
SRC_URI="https://github.com/mgieseki/dvisvgm/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="test"
|
||||
# Tests don't work from $WORKDIR: kpathsea tries to search in relative
|
||||
# directories from where the binary is executed.
|
||||
# We cannot really use absolute paths in the kpathsea configuration since that
|
||||
# would make it harder for prefix installs.
|
||||
RESTRICT="test"
|
||||
|
||||
# TODO unbundle app-arch/brotli
|
||||
RDEPEND="virtual/tex-base
|
||||
app-text/ghostscript-gpl
|
||||
dev-libs/kpathsea:=
|
||||
>=media-gfx/potrace-1.10-r1
|
||||
media-libs/freetype:2
|
||||
dev-libs/kpathsea
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/xmlto
|
||||
app-text/asciidoc
|
||||
dev-libs/libxslt
|
||||
virtual/pkgconfig
|
||||
test? ( dev-cpp/gtest )"
|
||||
|
||||
src_configure() {
|
||||
local myargs=(
|
||||
--without-ttfautohint
|
||||
)
|
||||
econf "${myargs[@]}"
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,97 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="3"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit versionator java-pkg-2 java-ant-2
|
||||
|
||||
MY_PV="$(replace_all_version_separators -)"
|
||||
|
||||
DESCRIPTION="A XSLT and XQuery Processor"
|
||||
HOMEPAGE="http://saxon.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}he${MY_PV}source.zip"
|
||||
|
||||
LICENSE="MPL-1.0"
|
||||
SLOT="9"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
# virtual/jdk slot for external javadoc
|
||||
JDK_VER="6"
|
||||
# dev-java/jdom slot for external javadoc
|
||||
JDOM_VER="0"
|
||||
# dev-java/dom4j slot
|
||||
DOM4J_VER="1"
|
||||
|
||||
CDEPEND="dev-java/ant-core
|
||||
dev-java/dom4j:${DOM4J_VER}
|
||||
dev-java/jdom:${JDOM_VER}
|
||||
dev-java/xom"
|
||||
RDEPEND=">=virtual/jre-1.${JDK_VER}
|
||||
${CDEPEND}"
|
||||
DEPEND=">=virtual/jdk-1.${JDK_VER}
|
||||
app-arch/unzip
|
||||
${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
# prepare eclass variables
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
JAVA_ANT_CLASSPATH_TAGS="javac javadoc"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
### fedora-inspired remove
|
||||
|
||||
# deadNET
|
||||
rm -rv net/sf/saxon/dotnet
|
||||
|
||||
# Depends on XQJ (javax.xml.xquery)
|
||||
rm -rv net/sf/saxon/xqj
|
||||
|
||||
# This requires a EE edition feature (com.saxonica.xsltextn)
|
||||
rm -v net/sf/saxon/option/sql/SQLElementFactory.java
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
# <major>.<minor> version
|
||||
local version="$(get_version_component_range 1-2)"
|
||||
|
||||
# generate build.xml with external javadoc links
|
||||
sed -e "s:@JDK@:${JDK_VER}:" \
|
||||
-e "s:@JDOM@:${JDOM_VER}:" \
|
||||
< "${FILESDIR}/${version}-build.xml" \
|
||||
> "${S}/build.xml" \
|
||||
|| die "build.xml generation failed!"
|
||||
|
||||
# prepare creates the dir for properties
|
||||
eant prepare
|
||||
|
||||
# properties
|
||||
cp -v \
|
||||
"${FILESDIR}/${version}-edition.properties" \
|
||||
"${S}/build/classes/edition.properties"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local gcp="$(java-pkg_getjars dom4j-${DOM4J_VER},jdom,xom)"
|
||||
gcp="${gcp}:$(java-pkg_getjars --build-only ant-core)"
|
||||
eant -Dgentoo.classpath="${gcp}" jar $(use_doc)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar build/lib/${PN}.jar
|
||||
|
||||
java-pkg_dolauncher ${PN}${SLOT}-transform --main net.sf.saxon.Transform
|
||||
java-pkg_dolauncher ${PN}${SLOT}-query --main net.sf.saxon.Query
|
||||
|
||||
java-pkg_register-ant-task
|
||||
|
||||
use doc && java-pkg_dojavadoc build/api
|
||||
|
||||
use source && java-pkg_dosrc src
|
||||
}
|
Binary file not shown.
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils multilib pax-utils versionator toolchain-funcs
|
||||
|
||||
MY_PV="$(get_version_component_range 1-3)"
|
||||
MY_P="LuaJIT-${MY_PV}"
|
||||
if [[ -n $(get_version_component_range 4) ]]; then
|
||||
HOTFIX="v${PV}"
|
||||
HOTFIX="${HOTFIX/_p/_hotfix}.patch"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Just-In-Time Compiler for the Lua programming language"
|
||||
HOMEPAGE="http://luajit.org/"
|
||||
SRC_URI="http://luajit.org/download/${MY_P}.tar.gz
|
||||
${HOTFIX:+http://luajit.org/download/${HOTFIX}}"
|
||||
|
||||
LICENSE="MIT"
|
||||
# this should probably be pkgmoved to 2.0 for sake of consistency.
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="lua52compat"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
HTML_DOCS=( doc/. )
|
||||
|
||||
src_prepare(){
|
||||
if [[ -n ${HOTFIX} ]]; then
|
||||
epatch "${DISTDIR}/${HOTFIX}"
|
||||
fi
|
||||
default
|
||||
}
|
||||
|
||||
_emake() {
|
||||
emake \
|
||||
Q= \
|
||||
PREFIX="${EPREFIX}/usr" \
|
||||
MULTILIB="$(get_libdir)" \
|
||||
DESTDIR="${D}" \
|
||||
HOST_CC="$(tc-getBUILD_CC)" \
|
||||
STATIC_CC="$(tc-getCC)" \
|
||||
DYNAMIC_CC="$(tc-getCC) -fPIC" \
|
||||
TARGET_LD="$(tc-getCC)" \
|
||||
TARGET_AR="$(tc-getAR) rcus" \
|
||||
TARGET_STRIP="true" \
|
||||
INSTALL_LIB="${ED%/}/usr/$(get_libdir)" \
|
||||
"$@"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
_emake XCFLAGS="$(usex lua52compat "-DLUAJIT_ENABLE_LUA52COMPAT" "")"
|
||||
}
|
||||
|
||||
src_install(){
|
||||
_emake install
|
||||
|
||||
pax-mark m "${ED}usr/bin/luajit-${MY_PV}"
|
||||
|
||||
default
|
||||
}
|
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST libpwquality-1.3.0.tar.bz2 423910 BLAKE2B 83b1d54258f3e5385e054671f32ad6a8287ed8ff7ef1162f2ff982750d8d3a10926acca2aa6dc2a46f546254430be1cc0d29e33f6ebdd18ce17b9386615c1a6e SHA512 c3817c7a5ca962b161911b97b413a0db7c34a99ba2cd191435024abdbe060e248c0f88436f24d3992dcb1b00d34b88afb731ef1fd23efc3ad1abe56d4d7d53ea
|
||||
DIST libpwquality-1.4.0.tar.bz2 450384 BLAKE2B 52a6f1c1bf90f6f01fb07667937b9792935729be77042bfc97dee8faa923212fa02410ad4e5c56f778bc9a8d248655f0b738889f5a0e73dc201d62d0c79093d0 SHA512 b8049f8b71bbfd4d345dbd4c4cffd29e9029b0fca4c95527af54d11a3b06e4708236b630df6c66738368298679c96cb3bf26b1b5d95cb3c5f7e1073cab8a98d9
|
||||
|
@ -1,77 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
|
||||
|
||||
inherit eutils multilib pam python-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="Library for password quality checking and generating random passwords"
|
||||
HOMEPAGE="https://fedorahosted.org/libpwquality/"
|
||||
SRC_URI="https://fedorahosted.org/releases/l/i/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="|| ( BSD GPL-2 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
|
||||
IUSE="pam python static-libs"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND="
|
||||
>=sys-libs/cracklib-2.8:=[static-libs(+)?]
|
||||
pam? ( virtual/pam )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/gettext-0.18.2
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# ensure pkgconfig files go in /usr
|
||||
sed -e 's:\(pkgconfigdir *=\).*:\1 '${EPREFIX}/usr/$(get_libdir)'/pkgconfig:' \
|
||||
-i src/Makefile.{am,in} || die "sed failed"
|
||||
use python && python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Install library in /lib for pam
|
||||
configuring() {
|
||||
local sitedir
|
||||
econf \
|
||||
--libdir="${EPREFIX}/$(get_libdir)" \
|
||||
$(use_enable pam) \
|
||||
--with-securedir="${EPREFIX}/$(getpam_mod_dir)" \
|
||||
$(use_enable python python-bindings) \
|
||||
$(usex python "--with-pythonsitedir=$(use python && python_get_sitedir)" "") \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
if_use_python_python_foreach_impl configuring
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if_use_python_python_foreach_impl default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if_use_python_python_foreach_impl default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if_use_python_python_foreach_impl default
|
||||
if use static-libs; then
|
||||
# Do not install static libs in /lib
|
||||
mkdir -p "${ED}usr/$(get_libdir)"
|
||||
mv "${ED}$(get_libdir)/libpwquality.a" "${ED}/usr/$(get_libdir)/" || die
|
||||
gen_usr_ldscript libpwquality.so
|
||||
fi
|
||||
prune_libtool_files --modules
|
||||
}
|
||||
|
||||
if_use_python_python_foreach_impl() {
|
||||
if use python; then
|
||||
python_foreach_impl run_in_build_dir "$@"
|
||||
else
|
||||
"$@"
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,8 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>perl@gentoo.org</email>
|
||||
<name>Gentoo Perl Project</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>perl@gentoo.org</email>
|
||||
<name>Gentoo Perl Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="cpan">Term-Encoding</remote-id>
|
||||
<remote-id type="cpan-module">Term::Encoding</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,8 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>perl@gentoo.org</email>
|
||||
<name>Gentoo Perl Project</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>perl@gentoo.org</email>
|
||||
<name>Gentoo Perl Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="cpan">Term-ProgressBar-Quiet</remote-id>
|
||||
<remote-id type="cpan-module">Term::ProgressBar::Quiet</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,8 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>perl@gentoo.org</email>
|
||||
<name>Gentoo Perl Project</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>perl@gentoo.org</email>
|
||||
<name>Gentoo Perl Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="cpan">Term-ProgressBar-Simple</remote-id>
|
||||
<remote-id type="cpan-module">Term::ProgressBar::Simple</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=ILYAZ
|
||||
DIST_SECTION=modules
|
||||
DIST_VERSION=1.0303
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Quick implementation of readline utilities"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.0303-nointeractive.patch"
|
||||
"${FILESDIR}/${PN}-1.0303-packlistcollision.patch"
|
||||
)
|
||||
RDEPEND="dev-perl/TermReadKey"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
"
|
@ -0,0 +1,78 @@
|
||||
From 93b819a6723f096a2157325f437e1ae0c72a0a2c Mon Sep 17 00:00:00 2001
|
||||
From: Kent Fredric <kentnl@gentoo.org>
|
||||
Date: Wed, 14 Mar 2018 19:38:19 +1300
|
||||
Subject: Use file for input data instead of STDIN ( non-interactive testing )
|
||||
|
||||
test.pl as-is is useless because it executes no readline code when in
|
||||
automated testing conditions.
|
||||
|
||||
Additionally, attempting to use the built-in file redirection
|
||||
mechanisms is useless, as there's no way to set those parts from
|
||||
|
||||
make test
|
||||
|
||||
And 'preput' support causes readline to barf when the input stream
|
||||
is not a real TTY.
|
||||
|
||||
Subsequently, the pre-inserted "exit" also has to be removed.
|
||||
|
||||
Bug: https://bugs.gentoo.org/492212
|
||||
---
|
||||
t/input.txt | 2 ++
|
||||
test.pl | 23 +++--------------------
|
||||
2 files changed, 5 insertions(+), 20 deletions(-)
|
||||
create mode 100644 t/input.txt
|
||||
|
||||
diff --git a/t/input.txt b/t/input.txt
|
||||
new file mode 100644
|
||||
index 0000000..6077553
|
||||
--- /dev/null
|
||||
+++ b/t/input.txt
|
||||
@@ -0,0 +1,2 @@
|
||||
+printf "input ok: sqrt(42)^2 == %20.20f", sqrt(42) * sqrt(42);
|
||||
+exit 0
|
||||
diff --git a/test.pl b/test.pl
|
||||
index 7fcda2a..b2f7847 100755
|
||||
--- a/test.pl
|
||||
+++ b/test.pl
|
||||
@@ -9,26 +9,9 @@ use Term::ReadLine;
|
||||
use Carp;
|
||||
$SIG{__WARN__} = sub { warn Carp::longmess(@_) };
|
||||
|
||||
-my $ev;
|
||||
-if ($ENV{$ev = 'AUTOMATED_TESTING'} or $ENV{$ev = 'PERL_MM_NONINTERACTIVE'}) {
|
||||
- print "1..0 # skip: \$ENV{$ev} is TRUE\n";
|
||||
- exit;
|
||||
-}
|
||||
+open (IN, '<','./t/input.txt') or die "Can't open input.txt, $@, $!";
|
||||
+$term = Term::ReadLine->new('Simple Perl calc', \*IN, \*STDOUT);
|
||||
|
||||
-if (!@ARGV) {
|
||||
- $term = new Term::ReadLine 'Simple Perl calc';
|
||||
-} elsif (@ARGV == 2) {
|
||||
- open(IN,"<$ARGV[0]");
|
||||
- open(OUT,">$ARGV[1]");
|
||||
- $term = new Term::ReadLine 'Simple Perl calc', \*IN, \*OUT;
|
||||
-} elsif ($ARGV[0] =~ m|^/dev|) {
|
||||
- open(IN,"<$ARGV[0]");
|
||||
- open(OUT,">$ARGV[0]");
|
||||
- $term = new Term::ReadLine 'Simple Perl calc', \*IN, \*OUT;
|
||||
-} else {
|
||||
- $term = new Term::ReadLine 'Simple Perl calc', \*STDIN, \*STDOUT;
|
||||
- $no_print = $ARGV[0] eq '--no-print';
|
||||
-}
|
||||
$prompt = "Enter arithmetic or Perl expression: ";
|
||||
if ((my $l = $ENV{PERL_RL_TEST_PROMPT_MINLEN} | 0) > length $prompt) {
|
||||
$prompt =~ s/(?=:)/ ' ' x ($l - length $prompt)/e;
|
||||
@@ -51,7 +34,7 @@ print $OUT <<EOP;
|
||||
this word should be already entered.)
|
||||
|
||||
EOP
|
||||
-while ( defined ($_ = $term->readline($prompt, "exit")) ) {
|
||||
+while ( defined ($_ = $term->readline($prompt)) ) {
|
||||
$res = eval($_);
|
||||
warn $@ if $@;
|
||||
print $OUT $res, "\n" unless $@ or $no_print;
|
||||
--
|
||||
2.16.2
|
||||
|
@ -0,0 +1,56 @@
|
||||
From 635bf84ee3916ec578a56bdfaed39a4759dd6579 Mon Sep 17 00:00:00 2001
|
||||
From: Kent Fredric <kentnl@gentoo.org>
|
||||
Date: Wed, 14 Mar 2018 19:40:00 +1300
|
||||
Subject: Fix NAME to reflect MAIN MODULE NAME
|
||||
|
||||
Otherwise generated packlist is called "Term/ReadLine/.packlist"
|
||||
which collides with Term::ReadLine's
|
||||
---
|
||||
MANIFEST | 4 ++--
|
||||
Makefile.PL | 4 ++--
|
||||
{ReadLine => lib/Term/ReadLine}/Perl.pm | 0
|
||||
{ReadLine => lib/Term/ReadLine}/readline.pm | 0
|
||||
4 files changed, 4 insertions(+), 4 deletions(-)
|
||||
rename {ReadLine => lib/Term/ReadLine}/Perl.pm (100%)
|
||||
rename {ReadLine => lib/Term/ReadLine}/readline.pm (100%)
|
||||
|
||||
diff --git a/MANIFEST b/MANIFEST
|
||||
index 633f90c..9a6d460 100755
|
||||
--- a/MANIFEST
|
||||
+++ b/MANIFEST
|
||||
@@ -1,7 +1,7 @@
|
||||
CHANGES
|
||||
MANIFEST
|
||||
Makefile.PL
|
||||
-ReadLine/Perl.pm
|
||||
-ReadLine/readline.pm
|
||||
+lib/Term/ReadLine/Perl.pm
|
||||
+lib/Term/ReadLine/readline.pm
|
||||
README
|
||||
test.pl
|
||||
diff --git a/Makefile.PL b/Makefile.PL
|
||||
index e9fb967..15b1dce 100755
|
||||
--- a/Makefile.PL
|
||||
+++ b/Makefile.PL
|
||||
@@ -3,8 +3,8 @@ use ExtUtils::MakeMaker;
|
||||
# the contents of the Makefile that is written.
|
||||
WriteMakefile(
|
||||
DISTNAME => 'Term-ReadLine-Perl',
|
||||
- NAME => 'Term::ReadLine',
|
||||
- VERSION_FROM => 'ReadLine/readline.pm',
|
||||
+ NAME => 'Term::ReadLine::Perl',
|
||||
+ VERSION_FROM => 'lib/Term/ReadLine/readline.pm',
|
||||
linkext => {LINKTYPE => '' },
|
||||
# dist => {COMPRESS=>'gzip -9f', SUFFIX=>'gz',
|
||||
# DIST_DEFAULT => 'all uutardist'},
|
||||
diff --git a/ReadLine/Perl.pm b/lib/Term/ReadLine/Perl.pm
|
||||
similarity index 100%
|
||||
rename from ReadLine/Perl.pm
|
||||
rename to lib/Term/ReadLine/Perl.pm
|
||||
diff --git a/ReadLine/readline.pm b/lib/Term/ReadLine/readline.pm
|
||||
similarity index 100%
|
||||
rename from ReadLine/readline.pm
|
||||
rename to lib/Term/ReadLine/readline.pm
|
||||
--
|
||||
2.16.2
|
||||
|
@ -1 +1,2 @@
|
||||
DIST Tk-804.033.tar.gz 6924238 BLAKE2B 72ea4ca69a7602e3c7386254995983e6896c5d722f06e552b423df2dc9d5fc0a70bed6408cc1b797e803560b00a17223503a2807b847360721104a3edc324df2 SHA512 ea56be8246123bbc570d86a7d4f1610349cced91ad92ab740baca4c280822aac2e3acab6334bef60b10a70d5840f331fa40b507aba47a7929f44960df95f2aee
|
||||
DIST Tk-804.034.tar.gz 6937691 BLAKE2B ee676f82bc805ecb193c2fe999c3d451281a16a4bcd8072f0687859e6634d16cd1db40cc252b1540a3f7b883b4ca585d2b5ef1fa48f12cacffd72ca84693bdc4 SHA512 8d04fd902db72f80f749256453703e40c94fd009c6a196c608dd3bde4eeb99f974a154d5f52b28baa9e67f75529f0180619989c16cae28a9417b647908de04b6
|
||||
|
@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=SREZIC
|
||||
DIST_VERSION=804.034
|
||||
DIST_EXAMPLES=("examples/*")
|
||||
inherit multilib perl-module virtualx
|
||||
|
||||
DESCRIPTION="A Perl Module for Tk"
|
||||
|
||||
LICENSE+=" tcltk BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
media-libs/freetype
|
||||
>=media-libs/libpng-1.4:0
|
||||
virtual/jpeg
|
||||
x11-libs/libX11
|
||||
x11-libs/libXft"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-804.034-xorg.patch
|
||||
)
|
||||
PERL_RM_FILES=( "t/pod.t" )
|
||||
src_prepare() {
|
||||
MAKEOPTS+=" -j1" #333049
|
||||
myconf=( X11ROOT=${EPREFIX}/usr XFT=1 -I${EPREFIX}/usr/include/ -l${EPREFIX}/usr/$(get_libdir) )
|
||||
mydoc="ToDo VERSIONS"
|
||||
|
||||
perl-module_src_prepare
|
||||
# fix detection logic for Prefix, bug #385621
|
||||
sed -i -e "s:/usr:${EPREFIX}/usr:g" myConfig || die
|
||||
# having this around breaks with perl-module and a case-IN-sensitive fs
|
||||
rm build_ptk || die
|
||||
|
||||
# Remove all bundled libs, fixes #488194
|
||||
local BUNDLED="PNG/libpng \
|
||||
PNG/zlib \
|
||||
JPEG/jpeg"
|
||||
|
||||
# Move files required for tests temporarily
|
||||
|
||||
mkdir -p "${T}/stash" || die "can't create temporary stash"
|
||||
mv "${S}/JPEG/jpeg/testimg.jpg" "${T}/stash/testimg.jpg" || die "can't move testimg.jpg"
|
||||
|
||||
for dir in ${BUNDLED}; do
|
||||
einfo "Removing bundled: ${dir}"
|
||||
rm -r "${S}/${dir}" || die "Can't remove bundle"
|
||||
# Makefile.PL can copy files to ${S}/${dir}, so recreate them back.
|
||||
mkdir -p "${S}/${dir}" || die "Can't restore bundled dir"
|
||||
sed -i "\#^${dir}#d" "${S}"/MANIFEST || die 'Can not remove bundled libs from MANIFEST'
|
||||
done
|
||||
|
||||
# Restore test files
|
||||
mv "${T}/stash/testimg.jpg" "${S}/JPEG/jpeg/testimg.jpg" || die "can't restore testimg.jpg"
|
||||
}
|
||||
src_test() {
|
||||
virtx perl-module_src_test || die "src_test failed"
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
From 14428e2e2ab517e935b6c8cd6c3bd90dba429532 Mon Sep 17 00:00:00 2001
|
||||
From: Michael Cummings <mcummings@gentoo.org>
|
||||
Date: Wed, 14 Jun 2006 15:06:45 +1200
|
||||
Subject: Modify build for users that didnt install xorg meta
|
||||
|
||||
And fix finding X11 headers
|
||||
|
||||
Bug: https://bugs.gentoo.org/128326
|
||||
Bug: https://bugs.gentoo.org/198977
|
||||
---
|
||||
myConfig | 9 +++++----
|
||||
1 file changed, 5 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/myConfig b/myConfig
|
||||
index 6260866b..6b5f3ddd 100755
|
||||
--- a/myConfig
|
||||
+++ b/myConfig
|
||||
@@ -316,7 +316,7 @@ if ($win_arch eq 'x') {
|
||||
}
|
||||
close(XMKMF);
|
||||
while (defined $uidir) {
|
||||
- last unless ($uidir =~ s!^.*-I(\S+)/lib/X11/config!!o);
|
||||
+ last unless ($uidir =~ s!^.*-I(\S+)/lib(64)/X11/config!!o);
|
||||
$try = $1;
|
||||
$try =~ s/'x11root'/$ENV{X11ROOT}/;
|
||||
push(@xdirs,$try);
|
||||
@@ -365,8 +365,7 @@ if ($win_arch eq 'x') {
|
||||
#
|
||||
unless (defined $xlib)
|
||||
{
|
||||
- $xlib = &lX11(0,chooseX11(</usr/X11*/lib>),chooseX11(</usr/lib/X11*>),</usr/Xfree*/lib>,'/usr/X386/lib',
|
||||
- '/opt/X11/lib')
|
||||
+ $xlib = &lX11(0,chooseX11(</usr/X11*/lib>),chooseX11(</usr/lib/X11*>),</usr/Xfree*/lib>,'/usr/X386/lib','/opt/X11/lib','/usr/lib64')
|
||||
}
|
||||
|
||||
#
|
||||
@@ -385,7 +384,7 @@ if ($win_arch eq 'x') {
|
||||
exit 0;
|
||||
}
|
||||
|
||||
- ($base) = $xlib =~ m#-L(.*)(?:/lib)$#x;
|
||||
+ ($base) = $xlib =~ m#-L(.*)(?:/lib(64))$#x;
|
||||
if (defined $X11INC)
|
||||
{
|
||||
$xinc = &IX11("$X11INC");
|
||||
@@ -397,6 +396,8 @@ if ($win_arch eq 'x') {
|
||||
{
|
||||
warn "Cannot find X include files via $base/include\n";
|
||||
$xinc = &IX11(map("$_/include",@xdirs),
|
||||
+ chooseX11(</usr/include/X11*>),
|
||||
+ '/usr/include',
|
||||
'/usr/openwin/include',
|
||||
chooseX11(</usr/X11*/include>),
|
||||
chooseX11(</usr/include/X11*>),
|
||||
--
|
||||
2.16.2
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST Tree-DAG_Node-1.06.tar.gz 32843 BLAKE2B 6f13f455262888f5d1c3dbd06545ed6dfd2a20f9ba50d2eb8586845a21f92bceff25948c30cdb534d8956ce43a6b1d667a99cd37dd5f0050afcc14b163d6a232 SHA512 dfdec2799b3ef2e20303001aa40df16be134e1c56d48acd61cb6397e66d7fb38beeb4efdbcd24fe16e2fcc15471e77dabb1fd2df0334e3e44024109a997ae71b
|
||||
DIST Tree-DAG_Node-1.29.tgz 52498 BLAKE2B 62915d14b2492486b0a0c40a838d66be261f0cac1a3a4382cbe9b32538f71312a4f47fb69978c46bf9860c6ae25e84d6852677c6bb63fec405144ce958ed97d8 SHA512 ec5ef67834360a0931bf742f5814b92ecdacf3751801028c85485f3c51c21a139d2095974b1df65aafbb24e78611d92b013c9473efd6c24381c54b2d698d3b42
|
||||
DIST Tree-DAG_Node-1.31.tgz 57977 BLAKE2B ba3646d62acebaeda634c3ecc50c9be60e9d47c4c213ef137b28c7e877a821f7f48cc4454e85e4b67e87c4bda925425d3763a7b737c4b21c96b719fc3b5ea78a SHA512 6821a146c55887a8973a8f61512805a3d209bb855f5b2f121cbac11a5fe685073019b958837289e781d1c294212c387bdb8434499712a39ab6b74f7ca2ccaa74
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue