Closed boospy closed 9 years ago
Not that I know of. Feel free :)
OK, thanks. In my Holiday i will write one. :)
Here is the first draft:
layman -i iteas-enterprise -o https://styrion.at/gentoo/overlay/iteas-enterprise.xml
EAPI=4 inherit eutils multilib toolchain-funcs DESCRIPTION="MAC Telnettool to search for Mikrotik via MACADDRESS" HOMEPAGE="https://github.com/haakonnessjoen/MAC-Telnet" SRC_URI="http://ftp.iteas.at/public/MAC-Telnet/MAC-Telnet-0.4.1.tar.gz" LICENSE="BSD GPL-2" SLOT="0" IUSE="systemd openrc" LANGS=(en de) KEYWORDS="~amd64" DEPEND="" RDEPEND="${DEPEND} x11-terms/gnome-terminal " S="${WORKDIR}/MAC-Telnet" QA_PREBUILT="opt/MAC-Telnet/mndp opt/MAC-Telnet/helper"
src_unpack() { unpack ${A} cd "${S}" }
src_install() { exeinto opt/MAC-Telnet doexe mndp doexe mndp-gnome doexe mactelnet doexe macping doexe mactelnetd cp -r helper ${D}/opt/MaC-Telnet/helper cp -r config ${D}/opt/MaC-Telnet/config cp -r docs ${D}/opt/MaC-Telnet/docs doicon helper/logo_mac_telnet.png domenu helper/MAC-Telnet-Discovery.desktop }
pkg_postinst() { ewarn "MAC-Telnet is OpenSource GPL." einfo "Installed in /opt/MAC-Telnet" ewarn "Binarys are mndp, mactelnet, macping, mactelnetd" }
Nice to see that you have progressed :)
I have some comments/questions to your draft:
Hello, gnome-terminal is only for an desktopstarter. You can start the discovery over the gnomeshell, like this: gnome-terminal --name="MAC-Telnet Discovery" --hide-menubar --zoom=1.2 -e /opt/MAC-Telnet/mndp I will correct the description mndp-gnome is this little codeline above ;) yes have modified this with gimp, hoply it is ok for you, because i have not found any logo on your side, here it is the draft: http://tux.osit.cc/public/logo_mac_telnet.png we can change it, webadress....
in the cp -r lines, you have a typo where you have spelled MAC-Telnet as MaC-Telnet
Thanks, i've changed
the helperfolder is only for *.desktop an logo. I'am not an programmer so i taked my ebuild from forticlient. It works, but is it not nice, i will change the ebuild like this thread: http://forums.gentoo.org/viewtopic.php?p=7613930#7613930
you have some good ideas, let me know :)
If you are packaging MAC-Telnet, you should not add new dependencies. In that case you should rename the software to reflect your changes, and package it as "Gnome MAC-Telnet" or something similar. The best would probably be to package your gnome-terminal app as a supporting package that depends on mac-telnet, and might be "suggested" package to mac-telnet.
If I had installed a gentoo server without X windows/gnome, and wanted to install mac-telnet to connect to a device, I would hate if the package manager would insist on installing gnome, when in reality it is a console application.
Your logo says "MAC Telent" not "MAC Telnet" by the way :)
yes, it was a shot :) i've hardmasked the ebuild. So it says only for testing, i will change it so that it fits your project.
But btw, really good project, love it.
Exist there an ebuild for Gentoo? When not i will write one with a little bit help.
Regards boospy