smbget is a simple wget-like tool for the SMB/CIFS protocol. It is very userfull!!! PlZ!
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
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
Created attachment 23938 [details] Ebuild for smbget 0.6 I did the changes suggested.thanks for the help.
"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?
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 ?
correction : smbget complained about libsmbclient. strace told me ~/.smb/smb.conf was missing.
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
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) = ?
Hmm! Maybee it is about samba-2.2.x and samba-3. In my linux-box installed samba-3 :)
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?
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.
How to commit it to cvs? Or where it 'commiting button' is in bugzilla? :)))
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.
Hey "mholzer"; you're really starting to get on my nerves. Do not re-assign this to me; do you understand? Good.
may I help to get it commited ?
now in portage, thanks for the ebuild :)