Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171785 - net-dialup/umtsmon ebuild request
Summary: net-dialup/umtsmon ebuild request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: Default Assignee for New Packages
URL: http://sourceforge.net/projects/umtsmon/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-22 12:55 UTC by Lubomir Schmidt
Modified: 2007-03-31 09:12 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
working ebuild (umtsmon-0.5.ebuild,521 bytes, text/plain)
2007-03-23 11:54 UTC, smrspam88
Details
net-dialup/comgt-0.32.ebuild (comgt-0.32.ebuild,570 bytes, text/plain)
2007-03-23 12:10 UTC, smrspam88
Details
umtsmon-0.5 improved ebuild, now has dependencies on ppp and pcmciautils (umtsmon-0.5.ebuild,567 bytes, text/plain)
2007-03-25 08:16 UTC, Klaas van Gend
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lubomir Schmidt 2007-03-22 12:55:32 UTC
I own an UMTS pcmcia (option gt quad lite) card and miss the applications to use them without need of wvdial or pppd-script.
Could someone add umtsmon and comgt into portage?

umtsmon:
http://sourceforge.net/projects/umtsmon/

comgt:
http://sourceforge.net/projects/comgt

Thanks

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-22 13:02:46 UTC
One request per bug, please. File a new one for comgt.
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2007-03-22 15:01:52 UTC
A working ebuild will increase chances of this being added to the tree. Care to make one?
Comment 3 Lubomir Schmidt 2007-03-22 20:23:54 UTC
(In reply to comment #2)
> A working ebuild will increase chances of this being added to the tree. Care to
> make one?

I am not able to do one. Sorry.
Could someone make an ebuild?
Thank you very much

Comment 4 smrspam88 2007-03-23 11:54:17 UTC
Created attachment 114118 [details]
working ebuild

didn't check all dependencies, only added the obvious qt3 dep.
Comment 5 smrspam88 2007-03-23 12:10:16 UTC
Created attachment 114120 [details]
net-dialup/comgt-0.32.ebuild

2nd ebuild.
Comment 6 Klaas van Gend 2007-03-23 14:25:39 UTC
Hi, I'm Klaas van Gend, 

lead developer for umtsmon.

At this moment, umtsmon doesn't have other dependencies than qt3.
Hope this helps!

Klaas
Comment 7 Klaas van Gend 2007-03-25 07:29:55 UTC
(In reply to comment #6)
> At this moment, umtsmon doesn't have other dependencies than qt3.

Silly me, of course it has!
The above are just the compile time dependencies.

At runtime, umtsmon depends on:
* ppp
* pcmciautils
* kernel 2.6.13 or newer

Klaas

PS: that's for the 0.6 version (in development).
For the 0.7 version, we are planning to move to libusb.
Comment 8 Klaas van Gend 2007-03-25 08:16:25 UTC
Created attachment 114324 [details]
umtsmon-0.5 improved ebuild, now has dependencies on ppp and pcmciautils

Attempt to add the ppp and pcmciautils dependencies.

I verified the ebuild by creating a portage overlay directory
/usr/local/portage
with contents
/usr/local/portage/net-dialup/umtsmon/umtsmon-0.5.ebuild

I then created a manifest:
# ebuild umtsmon-0.5.ebuild digest

I added "net-dialup/umtsmon ~x86" to /etc/portage/package.keywords
And then I built it:
# emerge --newuse --deep umtsmon

As I only use Gentoo on my home server, that required some extra packages to be built (i.e. dependencies are working).
Comment 9 smrspam88 2007-03-26 12:17:00 UTC
If you're  the lead developer, could you fix the Makefile to make the resulting binary executable? I'm not really into it but I feel like that should be the correct behaviour. 
Comment 10 Klaas van Gend 2007-03-27 07:29:54 UTC
This would be the first time in my 10+ years of Linux development that a Makefile wouldn't create an executable executable. So I checked the build on my Linux system:

klaas@ans ~ $ ls -l /usr/sbin/umtsmon
-rwxr-xr-x 1 root root 375728 Mar 25 10:13 /usr/sbin/umtsmon

That's what I expected.

Note that I don't write the Makefile - QT's qmake does. If you open the Makefile after build, you'll see a statement that it is generated.

The only explanation I see for a non-exe binary on your system is that the filesystem you're building on doesn't allow executables, e.g. because it is a mounted filesystem with noexec specified.
Can you please drop the output of your emerge into the attachment list?



Comment 11 Alin Năstac (RETIRED) gentoo-dev 2007-03-27 10:12:04 UTC
I'm about to add umtsmon to the tree, but with following changes:
  1) RESTRICT has been removed (not see the purpose of that)
  2) all dependencies are run-time ones, am I right? Therefore, all of these deps should be in RDEPEND, not DEPEND.
  3) I think the program should get installed into /usr/bin. AFAIK, the only permissions you need are rw on the device file, so it should be installed as normal, user accessible program. What do you think?

Klaas, I also have a nice to have list for the future versions:
 - a .desktop file
 - an icon used in that .desktop file
 - make install should do whatever it finds appropriate, including install the executable file. 
Comment 12 Klaas van Gend 2007-03-29 07:06:00 UTC
I'd love to provide an icon and a .desktop file, but we simply don't have them yet.

What are the requirements to such files?
Comment 13 Alin Năstac (RETIRED) gentoo-dev 2007-03-31 09:12:22 UTC
net-dialup/umtsmon-0.5 has been added to the tree. thanks!

(In reply to comment #12)
> I'd love to provide an icon and a .desktop file, but we simply don't have them
> yet.
> 
> What are the requirements to such files?

See what .desktop files install other qt/kde applications. The hard part will be to choose the right image for an icon ;).