diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-22 20:28:19 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-22 20:28:19 +0000 |
commit | abaa75b10f899ada8dd05b23cc03205064394bc6 (patch) | |
tree | eca3dd248b73b92013cba00a0fcc1edf2696e19a /sys-apps/udevil | |
parent | 24fd814c326e282c4321965c31f341dad77e270d (diff) |
gentoo resync : 22.01.2021
Diffstat (limited to 'sys-apps/udevil')
-rw-r--r-- | sys-apps/udevil/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/udevil/files/udevil-0.4.4-no-libtool.patch | 10 | ||||
-rw-r--r-- | sys-apps/udevil/udevil-0.4.4-r4.ebuild | 76 |
3 files changed, 88 insertions, 0 deletions
diff --git a/sys-apps/udevil/Manifest b/sys-apps/udevil/Manifest index 0ad31c28b155..206fdc042b88 100644 --- a/sys-apps/udevil/Manifest +++ b/sys-apps/udevil/Manifest @@ -1,6 +1,8 @@ AUX udevil-0.4.3-flags.patch 1051 BLAKE2B d9c6ad984ac5ef75f20226f7d2e2a3ce73126af48e92fef672307356ede10185bc14c7cb36d07bf6fedccea2813de2c994390533f03fa490142b7b1355fb4c6f SHA512 9c4cb6c11b776f55475b481f3b21d5f4d1c9750bbe3da980f1c26fb794b5eb9aac651d73a4fe810d67431c224904817f2f0a26e144d8f82a0c8c475a8fb6ef80 AUX udevil-0.4.4-include-sysmacros.patch 398 BLAKE2B 36369bc56a5d3b66dd455f8fc481481156a4fa2b005046e7718ca186a2c3a1b980456d0025ffe3e25db476c91b3011fa5a3a209f270847508e78aaf2081c1b2a SHA512 ce9070dcce7fb0117e50cda0f8b27f493a24f881a9e11fef2024ff3e3b70a1804bb7beef35c9935247baa1f74a499a0ad928a9ff7dbcc586b8c7ee26c5a57776 +AUX udevil-0.4.4-no-libtool.patch 223 BLAKE2B d31cc00b2aeb4143a2ce58f36dd13f3701ed8f8e30604e73757c3c04e21fd80fb69f50d80bfa30360b83c3a8a882e72009c99767cbb7a0c90c3403b00477c92d SHA512 bc77d93ac17f8345b973df6dd81890dc3e437e7926d53db5cbbbb17a5c3f2067ad0ff027b0d870c15276a5528bbc869bed6d7ec5b090927e671865783ffc37a2 AUX udevil-0.4.4-stat.patch 234 BLAKE2B 834ac0c306e4f13cea623304637729e285ff5d286b40e6b4a05f8a8acbf4ce8ff95d6552b6274e01de22ebfc3ee683376decb2de2afa70b56d66bc944a325590 SHA512 92a9889e3c70e3b9b0bdd4f6470ba0368a69d42eb852f10bcf00bb1f06ae126ea1579cfaaff15127e359c790f0672c655b34efddb7c27fe88addee70ec4d7583 DIST udevil-0.4.4.tar.gz 477254 BLAKE2B 16a1980da8b3b98e36921c8e2fe6490c495066178dd928695a07eb8d5d7367cae49e314983f251a1ec684bd16a34286ea4ccc83329c9af0dd71af84c77ced20d SHA512 adce4916e06d1cc4965521abbcbc2901e53930691167f431cb18e28d3ef8bde740e95a6a5f40dfc58dfd7b4b661b4475d3dd2b6174a5d7a55ae7c65629b82327 EBUILD udevil-0.4.4-r3.ebuild 1960 BLAKE2B a1aec5c2fd909c3b0361651bb39771bb88dcb939654af6a6e149b2407453e15693d19a15293a63400e9e7279c8dc056edf62f87c7494a8cd2554896de904c2ff SHA512 e1a6f76c8e7e1423288fb3c486bffbaf37b28ec3975e30c8d857f8f369cea6060c9f373358b9f4cf0b2c731efaf3a2254b8d71978715c3652d07c3cdbaa48489 +EBUILD udevil-0.4.4-r4.ebuild 2006 BLAKE2B 2054111055dd3b2ec19cf9ddbc4ffd27b2da998a28cebb26a280a72b90d9856a05a77a901081591dd214978b71732cefa3e6cbd9b80c0f8ca15628bb847e4e97 SHA512 11e46baa39bc7ad7425ff0c8e4bc9dc0c4c0d4a42064fa6dc7dadab32efa39b55d90be6256a279f3fec123609fce1db407931725a42eade4a1a3640f536f8783 MISC metadata.xml 250 BLAKE2B 0a529fe4be14917719f846d11e5d49e7129b42ec81e665a0895c29fe63ea1300d30a5e470b9c0c06f18d214a862cd02669c7e3f92f174aa21339b84e29dd3f14 SHA512 6b612fb510b795abda0fb36e0440a98c315e1d09b397e2865f8eea7b740763f93673a19cb356e8366ace8f00f1c4e2e4246d74d6c4fa87e3427300d33f975537 diff --git a/sys-apps/udevil/files/udevil-0.4.4-no-libtool.patch b/sys-apps/udevil/files/udevil-0.4.4-no-libtool.patch new file mode 100644 index 000000000000..ba01e94f15f7 --- /dev/null +++ b/sys-apps/udevil/files/udevil-0.4.4-no-libtool.patch @@ -0,0 +1,10 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -11,7 +11,6 @@ AM_MAINTAINER_MODE + AC_ISC_POSIX + AM_PROG_CC_C_O + AC_HEADER_STDC +-AM_PROG_LIBTOOL + AC_PROG_INSTALL + + AC_DEFINE_UNQUOTED(UDEVIL_VERSION, "$VERSION", [udevil version]) diff --git a/sys-apps/udevil/udevil-0.4.4-r4.ebuild b/sys-apps/udevil/udevil-0.4.4-r4.ebuild new file mode 100644 index 000000000000..c65d66c45e09 --- /dev/null +++ b/sys-apps/udevil/udevil-0.4.4-r4.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="mount and unmount removable devices without a password" +HOMEPAGE="https://ignorantguru.github.com/udevil/" +SRC_URI="https://github.com/IgnorantGuru/udevil/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + acct-group/plugdev + >=app-shells/bash-4.0:* + dev-libs/glib:2 + sys-apps/util-linux + virtual/acl + >=virtual/udev-143" +DEPEND="${RDEPEND} + dev-util/intltool + sys-devel/gettext + virtual/pkgconfig" + +PATCHES=( + # This works for 0.4.4 too, no sense copying the patch + "${FILESDIR}"/${PN}-0.4.3-flags.patch + "${FILESDIR}"/${PN}-0.4.4-stat.patch + "${FILESDIR}"/${PN}-0.4.4-include-sysmacros.patch + "${FILESDIR}"/${PN}-0.4.4-no-libtool.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + --with-setfacl-prog="$(type -P setfacl)" \ + --enable-systemd +} + +src_install() { + default + fowners root:plugdev /usr/bin/udevil + fperms 4754 /usr/bin/udevil +} + +pkg_postinst() { + einfo + elog "Please add your user to the plugdev group" + elog "to be able to use ${PN} as a user" + elog + elog "Optional dependencies:" + elog " gnome-extra/zenity (devmon popups)" + elog " net-fs/davfs2 (mount WebDAV resources)" + elog " net-fs/cifs-utils (mounting samba shares)" + elog " net-fs/curlftpfs (mounting ftp shares)" + elog " net-fs/nfs-utils (mounting nfs shares)" + elog " net-fs/sshfs (mounting sftp shares)" + elog " virtual/eject (eject via devmon)" + if ! has_version 'sys-fs/udisks' ; then + elog + elog "When using ${PN} without udisks, and without the udisks-daemon running," + elog "you may need to enable kernel polling for device media changes to be detected." + elog "See https://ignorantguru.github.com/${PN}/#polling" + has_version '<virtual/udev-173' && ewarn "You need at least udev-173" + kernel_is lt 2 6 38 && ewarn "You need at least kernel 2.6.38" + einfo + fi +} |