Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133620 - app-arch/stuffit: new SRC_URI & fix env.d file issue
Summary: app-arch/stuffit: new SRC_URI & fix env.d file issue
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial
Assignee: Jeremy Olexa (darkside) (RETIRED)
URL: http://my.smithmicro.com/mac/index.html
Whiteboard:
Keywords:
: 218339 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-17 10:57 UTC by t35t0r
Modified: 2008-08-24 23:44 UTC (History)
4 users (show)

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


Attachments
stuffit-5.2.0.611-r2.ebuild.diff (stuffit-5.2.0.611-r2.ebuild.diff,600 bytes, patch)
2006-05-17 11:09 UTC, t35t0r
Details | Diff
stuffit-5.2.0.611.ebuild.diff (stuffit-5.2.0.611.ebuild.diff,1.07 KB, patch)
2007-11-16 14:01 UTC, Jakub Moc (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description t35t0r 2006-05-17 10:57:32 UTC
After emerging app-arch/stuffit-stuffit-5.2.0.611 it doesn't add the executables "stuff" and "unstuff" to the path (/opt/bin). I will post an ebuild diff to fix this soon.
Comment 1 t35t0r 2006-05-17 11:09:51 UTC
Created attachment 86933 [details, diff]
stuffit-5.2.0.611-r2.ebuild.diff 

The following lines from the /usr/portage/app-arch/stuffit-5.2.0.611.ebuild were broken, or at least it didn't add the 10stuffit file in /etc/env.d:

dodir etc/env.d
echo -e "PATH=${INSTALLDIR}/bin\nROOTPATH=${INSTALLDIR}/bin" > \
     ${D}/etc/env.d/10stuffit

I have commented those out and added a dosym directly to the files instead.
Comment 2 Martin Mokrejš 2006-08-07 14:25:34 UTC
I can confirm this bug. But haven't tested the patch, sorry.

# emerge stuffit
Calculating dependencies... done!

>>> Emerging (1 of 1) app-arch/stuffit-5.2.0.611 to /
 * Previously fetched: stuffit520.611linux-i386.tar.gz MD5 ;-) ...                                                                  [ ok ]
 * Previously fetched: stuffit520.611linux-i386.tar.gz size ;-) ...                                                                 [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                [ ok ]
 * checking auxfile checksums ;-) ...                                                                                               [ ok ]
 * checking miscfile checksums ;-) ...                                                                                              [ ok ]
 * checking stuffit520.611linux-i386.tar.gz ;-) ...                                                                                 [ ok ]
>>> Unpacking source...
>>> Unpacking stuffit520.611linux-i386.tar.gz to /var/tmp/portage/stuffit-5.2.0.611/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/stuffit-5.2.0.611/work ...
>>> Source compiled.
>>> Test phase [not enabled]: app-arch/stuffit-5.2.0.611

>>> Install stuffit-5.2.0.611 into /var/tmp/portage/stuffit-5.2.0.611/image/ category app-arch
/usr/portage/app-arch/stuffit/stuffit-5.2.0.611.ebuild: line 59: /var/tmp/portage/stuffit-5.2.0.611/image//etc/env.d/10stuffit: No such fi
le or directory
>>> Completed installing stuffit-5.2.0.611 into /var/tmp/portage/stuffit-5.2.0.611/image/

man:
gzipping man page: stuff.1
gzipping man page: unstuff.1
>>> Merging app-arch/stuffit-5.2.0.611 to /
--- /opt/
>>> /opt/stuffit/
>>> /opt/stuffit/bin/
>>> /opt/stuffit/bin/stuff
>>> /opt/stuffit/bin/unstuff
>>> /opt/stuffit/extra/
>>> /opt/stuffit/extra/register
--- /usr/
--- /usr/share/
--- /usr/share/doc/
>>> /usr/share/doc/stuffit-5.2.0.611/
>>> /usr/share/doc/stuffit-5.2.0.611/stuff/
>>> /usr/share/doc/stuffit-5.2.0.611/stuff/LICENSE.gz
>>> /usr/share/doc/stuffit-5.2.0.611/stuff/README.gz
>>> /usr/share/doc/stuffit-5.2.0.611/stuff/INSTALL.gz
>>> /usr/share/doc/stuffit-5.2.0.611/stuff/stuff.html
>>> /usr/share/doc/stuffit-5.2.0.611/unstuff/
>>> /usr/share/doc/stuffit-5.2.0.611/unstuff/LICENSE.gz
>>> /usr/share/doc/stuffit-5.2.0.611/unstuff/README.gz
>>> /usr/share/doc/stuffit-5.2.0.611/unstuff/INSTALL.gz
>>> /usr/share/doc/stuffit-5.2.0.611/unstuff/unstuff.html
--- /usr/share/man/
--- /usr/share/man/man1/
>>> /usr/share/man/man1/stuff.1.gz
>>> /usr/share/man/man1/unstuff.1.gz
>>> Regenerating /etc/ld.so.cache...
 * 
 * Reminder: StuffIt requires registration within 15 days.
 * The registration program is located in /opt/stuffit/extra
 * 
 * The binaries are named 'stuff' and 'unstuff'
 * 
>>> Regenerating /etc/ld.so.cache...
>>> app-arch/stuffit-5.2.0.611 merged.
>>> Recording app-arch/stuffit in "world" favorites file...
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-11-16 14:01:30 UTC
Created attachment 136090 [details, diff]
stuffit-5.2.0.611.ebuild.diff

Ebuild clean up... Otherwise, this bug is simply a missing / in dodir etc/env.d
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-06-06 02:39:09 UTC
uhh, Given URL in ebuild is bad and eventually led me to $URL above. Package has a fetch restriction on it and I can't figure out how to download the dang thing. 

Nominated for removal for above reason (and no maintainer).

Please vote.
Comment 5 Martin Mokrejš 2008-06-06 08:12:16 UTC
$ /opt/stuffit/bin/stuff --formats
zip, lha, gz, compress, uu, hqx, bin, sitseg, sitsegN, pf, sit5, bz2
$

The URL is http://my.smithmicro.com/unix/stuffit/index.html

http://bugs.gentoo.org/show_bug.cgi?id=10917#c2


Quoting from http://www.chauveau-central.net/mrw-format/kmprof2icc.c:

 *       Then you need a program called unstuff that comes with stuffit.
 *       You can get the trial version from here
 *           http://www.stuffit.com/unix/index.html 
 *       or directly from here
 *         http://www.allume.com/downloads/files/stuffit520.611linux-i386.tar.gz

In summary, please don't remove it. Other linux distros and FreeBSD have this package as well.
Comment 6 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-06-06 12:41:44 UTC
(In reply to comment #5)
> $ /opt/stuffit/bin/stuff --formats
> zip, lha, gz, compress, uu, hqx, bin, sitseg, sitsegN, pf, sit5, bz2
> $
> 
> The URL is http://my.smithmicro.com/unix/stuffit/index.html

Great, I had a hard time finding it. I can fix this ebuild now!

> http://bugs.gentoo.org/show_bug.cgi?id=10917#c2
> 
> 
> Quoting from http://www.chauveau-central.net/mrw-format/kmprof2icc.c:
> 
>  *       Then you need a program called unstuff that comes with stuffit.
>  *       You can get the trial version from here
>  *           http://www.stuffit.com/unix/index.html 
>  *       or directly from here
>  *        
> http://www.allume.com/downloads/files/stuffit520.611linux-i386.tar.gz

Again, the same dead link.

> In summary, please don't remove it. Other linux distros and FreeBSD have this
> package as well.

Thanks for your input.

Removing treecleaners, assigning to myself to fix.

Comment 7 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-06-09 02:43:15 UTC
Fixed SRC_URI and env.d file issue by applying Jakub's patch in Comment #3. Thanks for reporting! (sorry it took so long to fix)
Comment 8 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-06-11 04:53:22 UTC
*** Bug 218339 has been marked as a duplicate of this bug. ***
Comment 9 Robert Golding 2008-08-17 12:45:26 UTC
Two things,

1) The fetch rescriction is no longer needed as the file will download without any click-through or other means of registration to download.

2) Where do you get the freeware expander ('unstuff' I think) from as a single program?  There are no instructions, only a statement that it is freeware.
Comment 10 Robert Golding 2008-08-17 12:46:13 UTC
Damn, forgot, do I need to open another bug report for those above?
Comment 11 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-08-18 14:25:03 UTC
(In reply to comment #10)
> Damn, forgot, do I need to open another bug report for those above?
> 

That would be best. I do not have time to look at it right now. Thanks.
Comment 12 Martin Mokrejš 2008-08-24 23:11:24 UTC
(In reply to comment #9)
> 
> 2) Where do you get the freeware expander ('unstuff' I think) from as a single
> program?  There are no instructions, only a statement that it is freeware.

app-arch/stuffit-5.2.0.611 (/opt/stuffit/bin/unstuff)
app-arch/stuffit-5.2.0.611 (/usr/share/doc/stuffit-5.2.0.611/unstuff)
Comment 13 Martin Mokrejš 2008-08-24 23:44:26 UTC
(In reply to comment #9)
> 
> 2) Where do you get the freeware expander ('unstuff' I think) from as a single
> program?  There are no instructions, only a statement that it is freeware.

Your problem might be that that you have to set PATH variable yourself to include it. See comment #1 - the ebuild probably still does not work correctly.
>