diff options
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/udevil/metadata.xml | 26 | ||||
-rw-r--r-- | sys-apps/udevil/udevil-0.2.8.ebuild | 17 | ||||
-rw-r--r-- | sys-apps/udevil/udevil-9999.ebuild | 17 |
3 files changed, 54 insertions, 6 deletions
diff --git a/sys-apps/udevil/metadata.xml b/sys-apps/udevil/metadata.xml index 7d94137..aa5512f 100644 --- a/sys-apps/udevil/metadata.xml +++ b/sys-apps/udevil/metadata.xml @@ -6,4 +6,30 @@ <name>Elijah El Lazkani</name> </maintainer> <longdescription lang="en">new command line Linux program which mounts and unmounts removable devices without a password, shows device info, and monitors device changes. It can also mount ISO files and nfs://, smb://, and ftp:// URLs.</longdescription> + + <use> + <flag name="zenity"> + Enables devmon popups through <pkg>gnome-extra/zenity</pkg>. + </flag> + + <flag name="samba"> + Enables mounting samba shares (using <pkg>net-fs/cifs-utils</pkg>). + </flag> + + <flag name="ftp"> + Enables mounting ftp shares (using <pkg>net-fs/curlftpfs</pkg>). + </flag> + + <flag name="nfs"> + Enables mounting nfs shares (using <pkg>net-fs/nfs-utils</pkg>). + </flag> + + <flag name="sftp"> + Enables mounting sftp shares (using <pkg>sys-fs/sshfs-fuse</pkg>). + </flag> + + <flag name="eject"> + Enables eject via devmon (using <pkg>virtual/eject</pkg>). + </flag> + </use> </pkgmetadata> diff --git a/sys-apps/udevil/udevil-0.2.8.ebuild b/sys-apps/udevil/udevil-0.2.8.ebuild index 65cc11d..dfc496a 100644 --- a/sys-apps/udevil/udevil-0.2.8.ebuild +++ b/sys-apps/udevil/udevil-0.2.8.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/IgnorantGuru/${PN}/raw/master/packages/${PV}/${P}.ta LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" +IUSE="zenity samba ftp nfs sftp eject" COMMON_DEPEND=" >=app-shells/bash-4.0 @@ -24,7 +24,13 @@ DEPEND="${COMMON_DEPEND} dev-util/intltool sys-devel/gettext virtual/pkgconfig" -RDEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND} + zenity? ( gnome-extra/zenity ) + samba? ( net-fs/cifs-utils ) + ftp? ( net-fs/curlftpfs ) + nfs? ( net-fs/nfs-utils ) + sftp? ( sys-fs/sshfs-fuse ) + eject? ( virtual/eject )" pkg_setup(){ enewgroup plugdev @@ -51,5 +57,10 @@ pkg_postinst() { echo elog "Please add your user to the plugdev group" elog "to be able to use ${PN} as a user" - echo + elog + ewarn "If ${PN}'s monitor command does not report" + ewarn "changes to the devices when CD is inserted," + ewarn "make sure you have _kernel polling_ enabled or" + ewarn "sys-fs/udisks installed on your system." + ewarn "Reference: http://ignorantguru.github.com/udevil/#polling" } diff --git a/sys-apps/udevil/udevil-9999.ebuild b/sys-apps/udevil/udevil-9999.ebuild index 76f2ea2..d43c4c2 100644 --- a/sys-apps/udevil/udevil-9999.ebuild +++ b/sys-apps/udevil/udevil-9999.ebuild @@ -15,7 +15,7 @@ SRC_URI="" LICENSE="GPL-3" SLOT="0" KEYWORDS="" -IUSE="" +IUSE="zenity samba ftp nfs sftp eject" COMMON_DEPEND=" >=app-shells/bash-4.0 @@ -26,7 +26,13 @@ DEPEND="${COMMON_DEPEND} dev-util/intltool sys-devel/gettext virtual/pkgconfig" -RDEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND} + zenity? ( gnome-extra/zenity ) + samba? ( net-fs/cifs-utils ) + ftp? ( net-fs/curlftpfs ) + nfs? ( net-fs/nfs-utils ) + sftp? ( sys-fs/sshfs-fuse ) + eject? ( virtual/eject )" pkg_setup() { enewgroup plugdev @@ -53,5 +59,10 @@ pkg_postinst() { echo elog "Please add your user to the plugdev group" elog "to be able to use ${PN} as a user" - echo + elog + ewarn "If ${PN}'s monitor command does not report" + ewarn "changes to the devices when CD is inserted," + ewarn "make sure you have _kernel polling_ enabled or" + ewarn "sys-fs/udisks installed on your system." + ewarn "Reference: http://ignorantguru.github.com/udevil/#polling" } |