app-admin/usbguard - Version bump

This commit is contained in:
madmaurice 2019-11-15 22:11:36 +01:00
parent 4ee0b34390
commit 19a6185eaf
2 changed files with 68 additions and 0 deletions

View file

@ -1,4 +1,6 @@
AUX usbguard 351 BLAKE2B 0b5eeb4ac5e8b343e2f66e3ea5d3c3235041ff51bbb10441927b2469dad0b282976dfd277a9e6627ea818e9df12d34c96a5c3c9b9fb63abf5dab154ed3c9c660 SHA512 e59b33d1550fa7340ec81e2ceea70586d046c32db8a5845b64fa72eaffbcb2819dca1a22586da8ce6d98f904333c3bad2f60e0ad19b6d1b2b37c1d1ccaf28b58 AUX usbguard 351 BLAKE2B 0b5eeb4ac5e8b343e2f66e3ea5d3c3235041ff51bbb10441927b2469dad0b282976dfd277a9e6627ea818e9df12d34c96a5c3c9b9fb63abf5dab154ed3c9c660 SHA512 e59b33d1550fa7340ec81e2ceea70586d046c32db8a5845b64fa72eaffbcb2819dca1a22586da8ce6d98f904333c3bad2f60e0ad19b6d1b2b37c1d1ccaf28b58
DIST usbguard-0.7.5.tar.gz 1184622 BLAKE2B 0004c1b5cddc8f8085c2606fcc43803f81b3ad6d7ca849138437c1aad922fe2deb25e959307881ddeffa9d630fc9380a50dd0a6d4290a8cedeab6d24deab6a38 SHA512 b14f1cfaec676b5bc2f3aa2bda8be96ea8a6b3f02fc78f0fa7a58dd079c57886aae2c33a9e99cb9ccd53e5d6fa27712b978a2d19cd58b75dda34516d8caed0c4 DIST usbguard-0.7.5.tar.gz 1184622 BLAKE2B 0004c1b5cddc8f8085c2606fcc43803f81b3ad6d7ca849138437c1aad922fe2deb25e959307881ddeffa9d630fc9380a50dd0a6d4290a8cedeab6d24deab6a38 SHA512 b14f1cfaec676b5bc2f3aa2bda8be96ea8a6b3f02fc78f0fa7a58dd079c57886aae2c33a9e99cb9ccd53e5d6fa27712b978a2d19cd58b75dda34516d8caed0c4
DIST usbguard-0.7.6.tar.gz 1189194 BLAKE2B 4fefd9ccf13b094f64942559f481144f08986dc71154b87c1623459d2429c07e2738a17877d3f6c275e83ce904067b1284c588c9a95023c7205cc5e21ca118f0 SHA512 0b0d42276e48baac2dc1f9031eec25e3f622a8d6178cb0400b97c7d32005bfa158b60fd286fdc66206a8684658fefaf6389ef93511e942f025e75671d7455628
EBUILD usbguard-0.7.5.ebuild 1399 BLAKE2B 9adaf90213bf33fefcd44c7489374cd2a1750952c7b256d744558d31a32193b5ab091793de21fc914bc7dde8995b02d66736e12474cec319b728369dd71f9b54 SHA512 4a44ba6a28ac90b0793e0fc8aa3e09f42788dcf2d48c5b1b71a194791548989e481db6df47c1fd68ee962935b73478725a20407029098dc587955c1da9239276 EBUILD usbguard-0.7.5.ebuild 1399 BLAKE2B 9adaf90213bf33fefcd44c7489374cd2a1750952c7b256d744558d31a32193b5ab091793de21fc914bc7dde8995b02d66736e12474cec319b728369dd71f9b54 SHA512 4a44ba6a28ac90b0793e0fc8aa3e09f42788dcf2d48c5b1b71a194791548989e481db6df47c1fd68ee962935b73478725a20407029098dc587955c1da9239276
EBUILD usbguard-0.7.6.ebuild 1399 BLAKE2B 9adaf90213bf33fefcd44c7489374cd2a1750952c7b256d744558d31a32193b5ab091793de21fc914bc7dde8995b02d66736e12474cec319b728369dd71f9b54 SHA512 4a44ba6a28ac90b0793e0fc8aa3e09f42788dcf2d48c5b1b71a194791548989e481db6df47c1fd68ee962935b73478725a20407029098dc587955c1da9239276
EBUILD usbguard-9999.ebuild 1239 BLAKE2B 5d949a2b900311540bc4ddb1dc042b610ae7134a0f06df4abc72b549d1e045cfb32dd35058603afccbb8fff45cc06d48280bf763f821971b2a088848fab789a2 SHA512 c98e4f9b867ae3d92f42b815d2db151fa869e73f721ae5f90e6ba2bedaa0547ddfb8680e959fa4ca7f2bb97c5a042ba7f11877e7e6ba3719400df199953c09f8 EBUILD usbguard-9999.ebuild 1239 BLAKE2B 5d949a2b900311540bc4ddb1dc042b610ae7134a0f06df4abc72b549d1e045cfb32dd35058603afccbb8fff45cc06d48280bf763f821971b2a088848fab789a2 SHA512 c98e4f9b867ae3d92f42b815d2db151fa869e73f721ae5f90e6ba2bedaa0547ddfb8680e959fa4ca7f2bb97c5a042ba7f11877e7e6ba3719400df199953c09f8

View file

@ -0,0 +1,66 @@
# Copyright 2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
if [[ $PV == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/USBGuard/usbguard.git"
else
SRC_URI="https://github.com/USBGuard/${PN}/releases/download/${P}/${P}.tar.gz"
fi
DESCRIPTION="Software framework for implementing USB device authorization policaies"
HOMEPAGE="https://usbguard.github.io"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="seccomp caps sodium systemd ldap dbus polkit"
BDEPEND="
ldap? ( net-nds/openldap )"
RDEPEND="
sys-cluster/libqb
dev-libs/protobuf
sodium? ( dev-libs/libsodium )
!sodium? ( dev-libs/libgcrypt )
seccomp? ( sys-libs/libseccomp )
caps? ( sys-libs/libcap-ng )
polkit? ( sys-auth/polkit )
systemd? ( sys-apps/systemd )"
DEPEND="${RDEPEND}
app-text/asciidoc"
src_prepare() {
default
# Upstream assumes localstatedir=/var in systemd service file
# Gentoo uses /var/lib
sed -i -e '/^ReadWritePaths/ s|/var|/var/lib|g' \
usbguard.service.in
eautoreconf
}
src_configure() {
econf \
--with-crypto-library=$(usex sodium "sodium" "gcrypt") \
$(use_enable systemd) \
$(use_with dbus) \
$(use_with polkit) \
$(use_with ldap) \
--with-bundled-catch \
--with-bundled-pegtl
}
src_install() {
default
keepdir /var/lib/log/usbguard
! use systemd && doinitd "${FILESDIR}/usbguard"
}