Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38382 - request for smbget to be added to portage
Summary: request for smbget to be added to portage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High enhancement
Assignee: SpanKY
URL: http://jelmer.vernstok.nl/oss/smbget/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-01-16 02:32 UTC by Bash
Modified: 2004-01-21 17:07 UTC (History)
1 user (show)

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


Attachments
Ebuild for smbget-0.6 (smbget-0.6.ebuild,669 bytes, text/plain)
2004-01-16 09:03 UTC, Minati jean michel
Details
Ebuild for smbget 0.6 (smbget-0.6.ebuild,692 bytes, text/plain)
2004-01-16 10:34 UTC, Minati jean michel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bash 2004-01-16 02:32:01 UTC
smbget is a simple wget-like tool for the SMB/CIFS protocol.
It is very userfull!!!
PlZ!
Comment 1 Minati jean michel 2004-01-16 09:03:42 UTC
Created attachment 23933 [details]
Ebuild for smbget-0.6

The ebuild for smbget-0.6 .
users will need to copy /etc/smb/samba.conf to ~/.smb/smb.conf
Comment 2 Spider (RETIRED) gentoo-dev 2004-01-16 09:10:12 UTC
I'm not really interested in supporting this, however, here's a fast QA review of the build :

KEYWORDS are wrong (~x86 for a new package) 
copyright header should be -2004

move the einfo from src_install, since src_install is only showed on compilation, not when it actually matters, at package install time.

remove the sleep statement

Comment 3 Minati jean michel 2004-01-16 10:34:25 UTC
Created attachment 23938 [details]
Ebuild for smbget 0.6

I did the changes suggested.thanks for the help.
Comment 4 Bash 2004-01-16 11:33:58 UTC
"users will need to copy /etc/smb/samba.conf to ~/.smb/smb.conf"
What a strange message ??? I I can't find anything about smb.conf in smbget package. For example:

# pwd
/home/bash/tmp/smbget-0.6
# grep -i "smb.conf" *

It is something strange and unknown for me. Any explanation?

Comment 5 Minati jean michel 2004-01-16 12:31:20 UTC
I tried the package on 2 gentoos ,at work,and on my lappy.
there were no problems with my lappy.
but at work,when I launched smbget it failed complaining about missing ~/.smb/smb.conf . so I grabbed the one in /etc/ ,and it worked.
does the ebuild works for you without copying this file ?
Comment 6 Minati jean michel 2004-01-16 12:32:48 UTC
correction : smbget complained about libsmbclient.
strace told me ~/.smb/smb.conf was missing.
Comment 7 Bash 2004-01-16 15:50:52 UTC
Hm...
If no ~/.smb/smb.conf, libsmbclient try to open /etc/samba/smb.conf. I have last one, and all work perfectly.

There is strace dump:
open("/home/bash/.smb/smb.conf", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
# no file found

stat64("/etc/samba/smb.conf", {st_mode=S_IFREG|0644, st_size=20894, ...}) = 0
open("/etc/samba/smb.conf", O_RDONLY|O_LARGEFILE) = 3
# fount at /etc/samba/smb.conf and opened for work
Comment 8 Minati jean michel 2004-01-16 16:48:07 UTC
I've got the same kind of output on my laptop.
but on my work's computer I have :
magnet@blah magnet $ rm ~/.smb/smb.conf 
magnet@blah magnet $ smbget 
SMBGet Version 0.6
(c) 2003 Jelmer Vernooij <jelmer@samba.org>
Unable to initialize libsmbclient

result of strace : 
stat64("/home/magnet/.smb/smb.conf", 0xbfffe650) = -1 ENOENT (No such file or directory)
open("/home/magnet/.smb/smb.conf", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
write(2, "Unable to initialize libsmbclien"..., 34Unable to initialize libsmbclient
) = 34
munmap(0x40013000, 4096)                = 0
_exit(1)                                = ?
Comment 9 Bash 2004-01-17 00:20:54 UTC
Hmm! Maybee it is about samba-2.2.x and samba-3.
In my linux-box installed samba-3 :)
Comment 10 Bash 2004-01-18 02:45:23 UTC
I'am agree to add smbget to portage. But i'm the founder of this request and i must something to do, but i don't know what exactly :)))

Resolve to FIXED? Or How to close Bug correctly?
Comment 11 Minati jean michel 2004-01-18 04:23:29 UTC
you just need to wait for a dev( prolly woodchip@gentoo.org ); to test the ebuild,
and if it's ok , to commit it to cvs.
Comment 12 Bash 2004-01-18 07:36:58 UTC
How to commit it to cvs?
Or where it 'commiting button' is in bugzilla? :)))
Comment 13 Donny Davies (RETIRED) gentoo-dev 2004-01-19 07:44:50 UTC
Hiya; thanks for the submission, sounds like a useful utility indeed.

I'm afraid I don't have time to process it though.  Hopefully the
noble wranglers will be able to find an interested party to take
on maintainership/committing of it.

Regards.
Comment 14 Donny Davies (RETIRED) gentoo-dev 2004-01-20 05:45:53 UTC
Hey "mholzer"; you're really starting to get on my nerves.

Do not re-assign this to me; do you understand?  Good.
Comment 15 Minati jean michel 2004-01-20 05:49:03 UTC
may I help to get it commited ?
Comment 16 SpanKY gentoo-dev 2004-01-21 17:07:35 UTC
now in portage, thanks for the ebuild :)