Re: [Fink-devel] source files on really slow servers
On 19/04/2009, at 11:54, Jack Howarth wrote: (...) succeeds. Do we have any settings in fink to change the timeout of the curl download or specify that a particular file should be downloaded with wget instead? You may specify DownloadMethod: wget in /sw/etc/fink.conf. There is no option in fink.conf to specify connection timeouts. However, you may specify a different connection timeout in /sw/lib/ perl5/Fink/NetAccess.pm at your own risk. -- monipol -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] source files on really slow servers
On Sun, Apr 19, 2009 at 12:00:43PM -0300, Monic Polynomial wrote: On 19/04/2009, at 11:54, Jack Howarth wrote: (...) succeeds. Do we have any settings in fink to change the timeout of the curl download or specify that a particular file should be downloaded with wget instead? You may specify DownloadMethod: wget in /sw/etc/fink.conf. There is no option in fink.conf to specify connection timeouts. However, you may specify a different connection timeout in /sw/lib/ perl5/Fink/NetAccess.pm at your own risk. -- monipol Yuck. This source code is restricted so we can't host it and it will be a huge pain to have to deal with every user complaining that they can't download the source. Certainly we must have some other option available on the info file level? It seem like overkill to force the user to change timeouts or download methods system wide for just a single slow server. Jack -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] source files on really slow servers
On 19/04/2009, at 12:00, Monic Polynomial wrote: There is no option in fink.conf to specify connection timeouts. However, you may specify a different connection timeout in /sw/lib/ perl5/Fink/NetAccess.pm at your own risk. My bad, checking NetAccess.pm again I found a /sw/etc/fink.conf option named DownloadTimeout that is valid for curl only. It is equivalent to the --max-time option in curl: -m/--max-time seconds Maximum time in seconds that you allow the whole operation to take. This is useful for preventing your batch jobs from hang- ing for hours due to slow networks or links going down. This doesn't work fully in win32 systems. See also the -- connect- timeout option. The option that cannot be changed via fink.conf, also valid for curl only, is --connect-timeout seconds Maximum time in seconds that you allow the connection to the server to take. This only limits the connection phase, once curl has connected this option is of no more use. See also the -m/--max-time option. -- monipol -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] source files on really slow servers
On 19/04/2009, at 12:06, Jack Howarth wrote: Yuck. This source code is restricted so we can't host it and it will be a huge pain to have to deal with every user complaining that they can't download the source. Certainly we must have some other option available on the info file level? It seem like overkill to force the user to change timeouts or download methods system wide for just a single slow server. IMHO a system-wide change from curl to wget is a minor annoyance if an annoyance at all. -- monipol -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] source files on really slow servers
It's not very pretty, but I can use... Package: procheck Version: 3.5.4 Revision: 1 Maintainer: Jack Howarth howa...@bromo.med.uc.edu Source: none #Source: ftp://ftp.biochem.ucl.ac.uk/pub/procheck/tar3_5/procheck.tar.Z #Source-MD5: 3d12962079e42b0fa275424fabb74197 BuildDepends: gcc44, wget, fink (= 0.24.12) Depends: gcc44-shlibs PatchFile: %n.patch PatchFile-MD5: 7d4497a7b339ed47c21be3b419cb2fdd PatchScript: #!/bin/bash -ev if [ `/usr/bin/whoami` = nobody ] ; then wget -c ftp://ftp.biochem.ucl.ac.uk/pub/procheck/tar3_5/procheck.tar.Z tar -zxvf procheck.tar.Z cd procheck else cd %p/src if ! [ -f %p/src/procheck.tar.Z ] ; then wget -c ftp://ftp.biochem.ucl.ac.uk/pub/procheck/tar3_5/procheck.tar.Z fi cd %b tar -zxvf %p/src/procheck.tar.Z cd procheck fi sed 's|@PREFIX@|%p|g' %{PatchFile} | patch -p1 CompileScript: #!/bin/sh -ev cd procheck make all InstallScript: #!/bin/sh -ev cd procheck mkdir -p %i/share/procheck mkdir -p %i/etc/profile.d rm *.f *.c *.inc *.o Makefile cp * %i/share/procheck cp setup.scr %i/etc/profile.d/procheck.csh cp setup.sh %i/etc/profile.d/procheck.sh chmod 755 %i/share/procheck/setup.sh chmod 755 %i/etc/profile.d/procheck.csh chmod 755 %i/etc/profile.d/procheck.sh Description: Protein Structure Validation Suite License: Restrictive Homepage: http://www.biochem.ucl.ac.uk/~roman/procheck/procheck.html It does fail the fink validation because of the %/src in the PatchScript but it does the correct things. If executed as nobody, it downloads a local copy of the tarball into the build directory. Otherwise, it stores it in %p/src for reuse since the permission access is available in that case. Jack -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] source files on really slow servers
Argh. I forgot to cc the list. I am able to hack around this with... Package: procheck Version: 3.5.4 Revision: 1 Maintainer: Jack Howarth howa...@bromo.med.uc.edu Source: none #Source: ftp://ftp.biochem.ucl.ac.uk/pub/procheck/tar3_5/procheck.tar.Z #Source-MD5: 3d12962079e42b0fa275424fabb74197 BuildDepends: gcc44, wget, fink (= 0.24.12) Depends: gcc44-shlibs PatchFile: %n.patch PatchFile-MD5: 7d4497a7b339ed47c21be3b419cb2fdd PatchScript: #!/bin/bash -ev if [ `/usr/bin/whoami` = nobody ] ; then wget -c ftp://ftp.biochem.ucl.ac.uk/pub/procheck/tar3_5/procheck.tar.Z tar -zxvf procheck.tar.Z cd procheck else cd %p/src if ! [ -f %p/src/procheck.tar.Z ] ; then wget -c ftp://ftp.biochem.ucl.ac.uk/pub/procheck/tar3_5/procheck.tar.Z fi cd %b tar -zxvf %p/src/procheck.tar.Z cd procheck fi sed 's|@PREFIX@|%p|g' %{PatchFile} | patch -p1 CompileScript: #!/bin/sh -ev cd procheck make all InstallScript: #!/bin/sh -ev cd procheck mkdir -p %i/share/procheck mkdir -p %i/etc/profile.d rm *.f *.c *.inc *.o Makefile cp * %i/share/procheck cp setup.scr %i/etc/profile.d/procheck.csh cp setup.sh %i/etc/profile.d/procheck.sh chmod 755 %i/share/procheck/setup.sh chmod 755 %i/etc/profile.d/procheck.csh chmod 755 %i/etc/profile.d/procheck.sh Description: Protein Structure Validation Suite License: Restrictive Homepage: http://www.biochem.ucl.ac.uk/~roman/procheck/procheck.html This code does fail the fink validation because of the %p/src in the PatchScript but it does the right thing. When fink is executing as nobody it downloads the file with wget into the local build directory. Otherwise it stores a copy for reuse in %p/src because of the permission availability. Jack ps I tried using curl with a timeout of 300 and it still fails on this ftp url. -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] source files on really slow servers
On Sun, Apr 19, 2009 at 12:38:53PM -0300, Monic Polynomial wrote: On 19/04/2009, at 12:06, Jack Howarth wrote: Yuck. This source code is restricted so we can't host it and it will be a huge pain to have to deal with every user complaining that they can't download the source. Certainly we must have some other option available on the info file level? It seem like overkill to force the user to change timeouts or download methods system wide for just a single slow server. IMHO a system-wide change from curl to wget is a minor annoyance if an annoyance at all. -- monipol It's not really a minor annoyance when every singl user who tries to install this package will have a download timeout and email me asking why the download is broken. Hacking around the problem with a custom download PatchScript seems far better than answering all of those emails. Jack -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] source files on really slow servers
Looking at the procheck homepage, I am not sure that you can legally package this software *at all*. Specifically, this clause: Users must sign a Confidentiality Agreement (included with the source code in file confid.txt) I.e., it is not just restricted software, it is not at all free or open source. Bye, Max -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] source files on really slow servers
On Sun, Apr 19, 2009 at 07:22:30PM +0200, Max Horn wrote: Looking at the procheck homepage, I am not sure that you can legally package this software *at all*. Specifically, this clause: Users must sign a Confidentiality Agreement (included with the source code in file confid.txt) I.e., it is not just restricted software, it is not at all free or open source. Bye, Max I believe this similar to the situation with ccp4 where the installation shows the user the license terms and asks the user to accept them before the build is initiated. It also shows you the license terms at the time the software is installed. I'll just need to adopt William Scott's code for displaying those files. Jack -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] source files on really slow servers
On Sun, Apr 19, 2009 at 07:22:30PM +0200, Max Horn wrote: Looking at the procheck homepage, I am not sure that you can legally package this software *at all*. Specifically, this clause: Users must sign a Confidentiality Agreement (included with the source code in file confid.txt) I.e., it is not just restricted software, it is not at all free or open source. Bye, Max The attached implements the same approach used in ccp4. Package: procheck Version: 3.5.4 Revision: 1 Maintainer: Jack Howarth howa...@bromo.med.uc.edu Source: none #Source: ftp://ftp.biochem.ucl.ac.uk/pub/procheck/tar3_5/procheck.tar.Z #Source-MD5: 3d12962079e42b0fa275424fabb74197 BuildDepends: gcc44, wget, fink (= 0.24.12) Depends: gcc44-shlibs PatchFile: %n.patch PatchFile-MD5: 7d4497a7b339ed47c21be3b419cb2fdd PatchScript: #!/bin/bash -ev if [ `/usr/bin/whoami` = nobody ] ; then wget -c ftp://ftp.biochem.ucl.ac.uk/pub/procheck/tar3_5/procheck.tar.Z tar -zxvf procheck.tar.Z cd procheck else cd %p/src if ! [ -f %p/src/procheck.tar.Z ] ; then wget -c ftp://ftp.biochem.ucl.ac.uk/pub/procheck/tar3_5/procheck.tar.Z fi cd %b tar -zxvf %p/src/procheck.tar.Z cd procheck fi sed 's|@PREFIX@|%p|g' %{PatchFile} | patch -p1 CompileScript: #!/bin/sh -ev cd procheck agreed=no ans=n if test $agreed = no; then echo ; echo ; if test -r confid.doc ; then echo ; echo ; echo Please read the following; echo ; more confid.doc; echo ; echo -n Do you agree to these terms y/n [n] ?:; read ans ; if test x$ans = x; then ans=n fi if test $ans = y || test $ans = Y; then make all else echo You must agree to the confidentiality terms to install this software; fi fi fi InstallScript: #!/bin/sh -ev cd procheck mkdir -p %i/share/procheck mkdir -p %i/etc/profile.d rm *.f *.c *.inc *.o Makefile cp * %i/share/procheck cp setup.scr %i/etc/profile.d/procheck.csh cp setup.sh %i/etc/profile.d/procheck.sh chmod 755 %i/share/procheck/setup.sh chmod 755 %i/etc/profile.d/procheck.csh chmod 755 %i/etc/profile.d/procheck.sh Description: Protein Structure Validation Suite DescPackaging: Since source code is restricted so that it can't be mirrored and the ftp server timeouts on curl even at 300 seconds, use wget to manually download the source tarball. Treat the general case and --build-as-nobody differently. PostInstScript: # Make the user read the license conditions more %p/share/procheck/confid.doc License: Restrictive Homepage: http://www.biochem.ucl.ac.uk/~roman/procheck/procheck.html I don't think we have anyway of making a PreInstScript that can abort an installation, do we? One has to make the assumption that since the source isn't mirrored and that the original builder agreeded to the license that they will honor the agreement and not distribute the debs. Jack -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] source files on really slow servers
Jack Howarth wrote: Argh. I forgot to cc the list. I am able to hack around this with... Package: procheck Version: 3.5.4 Revision: 1 Maintainer: Jack Howarth howa...@bromo.med.uc.edu Source: none #Source: ftp://ftp.biochem.ucl.ac.uk/pub/procheck/tar3_5/procheck.tar.Z #Source-MD5: 3d12962079e42b0fa275424fabb74197 BuildDepends: gcc44, wget, fink (= 0.24.12) Depends: gcc44-shlibs PatchFile: %n.patch PatchFile-MD5: 7d4497a7b339ed47c21be3b419cb2fdd PatchScript: #!/bin/bash -ev if [ `/usr/bin/whoami` = nobody ] ; then wget -c ftp://ftp.biochem.ucl.ac.uk/pub/procheck/tar3_5/procheck.tar.Z tar -zxvf procheck.tar.Z cd procheck else cd %p/src Not everyone keeps their downloaded tarballs in %p/src. if ! [ -f %p/src/procheck.tar.Z ] ; then wget -c ftp://ftp.biochem.ucl.ac.uk/pub/procheck/tar3_5/procheck.tar.Z fi If procheck gets updated, this will eventually fail because the tarball itself is unversioned. Hanspeter -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] source files on really slow servers
Max, One other comment. I think this does fail within the Restricted license as long as the user if forced to agree to the terms. The fact that software is openly available for download as long as the terms are followed makes the source code freely accessible. Otherwise it would require special knowledge of a download location or password (ala xplor-nih). Jack -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] source files on really slow servers
Max, Actually this packaging is even better. I download the confid.doc and the sources aren't even downloaded unless the user agrees to the terms... Package: procheck Version: 3.5.4 Revision: 1 Maintainer: Jack Howarth howa...@bromo.med.uc.edu Source: none #Source: ftp://ftp.biochem.ucl.ac.uk/pub/procheck/tar3_5/procheck.tar.Z #Source-MD5: 3d12962079e42b0fa275424fabb74197 BuildDepends: gcc44, wget, fink (= 0.24.12) Depends: gcc44-shlibs PatchFile: %n.patch PatchFile-MD5: 7d4497a7b339ed47c21be3b419cb2fdd PatchScript: #!/bin/bash -ev wget -c ftp://ftp.biochem.ucl.ac.uk/pub/procheck/confid.doc agreed=no ans=n if test $agreed = no; then echo ; echo ; if test -r confid.doc ; then echo ; echo ; echo Please read the following; echo ; more confid.doc; echo ; echo -n Do you agree to these terms y/n [n] ?:; read ans ; if test x$ans = x; then ans=n fi if test $ans = y || test $ans = Y; then if [ `/usr/bin/whoami` = nobody ] ; then wget -c ftp://ftp.biochem.ucl.ac.uk/pub/procheck/tar3_5/procheck.tar.Z tar -zxvf procheck.tar.Z cd procheck sed 's|@PREFIX@|%p|g' %{PatchFile} | patch -p1 else cd %p/src if ! [ -f %p/src/procheck.tar.Z ] ; then wget -c ftp://ftp.biochem.ucl.ac.uk/pub/procheck/tar3_5/procheck.tar.Z fi cd %b tar -zxvf %p/src/procheck.tar.Z cd procheck sed 's|@PREFIX@|%p|g' %{PatchFile} | patch -p1 fi else echo You must agree to the confidentiality terms to install this software; fi fi fi CompileScript: #!/bin/sh -ev cd procheck make all InstallScript: #!/bin/sh -ev cd procheck mkdir -p %i/share/procheck mkdir -p %i/etc/profile.d rm *.f *.c *.inc *.o Makefile cp * %i/share/procheck cp setup.scr %i/etc/profile.d/procheck.csh cp setup.sh %i/etc/profile.d/procheck.sh chmod 755 %i/share/procheck/setup.sh chmod 755 %i/etc/profile.d/procheck.csh chmod 755 %i/etc/profile.d/procheck.sh Description: Protein Structure Validation Suite DescPackaging: Since source code is restricted so that it can't be mirrored and the ftp server timeouts on curl even at 300 seconds, use wget to manually download the source tarball. Treat the general case and --build-as-nobody differently. Users must agree to terms of the displayed confidentiality and must not distribute the resulting binaries. PostInstScript: # Make the user read the license conditions more %p/share/procheck/confid.doc echo You are prohibited from distributing these binaries! License: Restrictive Homepage: http://www.biochem.ucl.ac.uk/~roman/procheck/procheck.html -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] source files on really slow servers
Hi Jack, I just downloaded and read there license in detail. And no, displaying their confid.doc file before installation is *not* sufficient to comply with their license. In particular, the moment you add this .info file to SVN, our master mirrors would automatically start holding a copy of the source file, in *direct* violation of the procheck license. The following clauses in their license make this software unpackagable in my eyes: 1. We will receive the Software and any related documentation in confidence [...] 4. All forms of the Software will be kept in a reasonably secure place to prevent unauthorised access. Clause 4 and our source mirrors violate this. Bye, Max -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] source files on really slow servers
Max, If a info file has... Source: none and the original source lines are commented, how could anything possibly be stocked on the fink servers? All downloads are done explicitly with in the source scripts. Jack -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] source files on really slow servers
How about the following revision. It contains Source: none so nothing is saved on any servers and it keeps the source tarball in the build directory and destroys it at the end of the build. This places us as in the same situation as ccp4 where one assumes that the agreement to the license will be honored. Jack Package: procheck Version: 3.5.4 Revision: 1 Maintainer: Jack Howarth howa...@bromo.med.uc.edu Source: none BuildDepends: gcc44, wget, fink (= 0.24.12) Depends: gcc44-shlibs PatchFile: %n.patch PatchFile-MD5: 5e98af9efdd4006db383498dcdd884da PatchScript: #!/bin/bash -ev wget -c ftp://ftp.biochem.ucl.ac.uk/pub/procheck/confid.doc agreed=no ans=n if test $agreed = no; then echo ; echo ; if test -r confid.doc ; then echo ; echo ; echo Please read the following; echo ; more confid.doc; echo ; echo -n Do you agree to these terms y/n [n] ?:; read ans ; if test x$ans = x; then ans=n fi if test $ans = y || test $ans = Y; then wget -c ftp://ftp.biochem.ucl.ac.uk/pub/procheck/tar3_5/procheck.tar.Z tar -zxvf procheck.tar.Z cd procheck sed 's|@PREFIX@|%p|g' %{PatchFile} | patch -p1 else echo You must agree to the confidentiality terms to install this software; fi fi fi CompileScript: #!/bin/sh -ev cd procheck make all InstallScript: #!/bin/sh -ev cd procheck mkdir -p %i/share/procheck mkdir -p %i/etc/profile.d rm *.f *.c *.inc *.o Makefile cp * %i/share/procheck cp setup.scr %i/etc/profile.d/procheck.csh cp setup.sh %i/etc/profile.d/procheck.sh chmod 755 %i/share/procheck/setup.sh chmod 755 %i/etc/profile.d/procheck.csh chmod 755 %i/etc/profile.d/procheck.sh cd .. rm -fr procheck procheck.tar.Z Description: Protein Structure Validation Suite DescPackaging: Since source code is restricted so that it can't be mirrored and the ftp server timeouts on curl even at 300 seconds, use wget to manually download the source tarball. Treat the general case and --build-as-nobody differently. Users must agree to terms of the displayed confidentiality and must not distribute the resulting binaries. PostInstScript: # Make the user read the license conditions more %p/share/procheck/confid.doc echo You are prohibited from distributing these binaries! License: Restrictive Homepage: http://www.biochem.ucl.ac.uk/~roman/procheck/procheck.html -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] source files on really slow servers
Jack, The ccp4 package is labeled License: Commercial rather than License: Restrictive, and that may be appropriate here as well -- as Max pointed out to you, this package does not meet anybody's definition of open source. As far as circumventing the usual fink tools for downloading goes, I am not in favor of allowing this. It would be better to ask us to implement a per-package choice of download method within fink itself. I didn't follow this thread in complete detail, but can you explain the point? You want wget instead of curl because it behaves better with respect to timeouts? -- Dave On Apr 19, 2009, at 2:26 PM, Jack Howarth wrote: How about the following revision. It contains Source: none so nothing is saved on any servers and it keeps the source tarball in the build directory and destroys it at the end of the build. This places us as in the same situation as ccp4 where one assumes that the agreement to the license will be honored. Jack Package: procheck Version: 3.5.4 Revision: 1 Maintainer: Jack Howarth howa...@bromo.med.uc.edu Source: none BuildDepends: gcc44, wget, fink (= 0.24.12) Depends: gcc44-shlibs PatchFile: %n.patch PatchFile-MD5: 5e98af9efdd4006db383498dcdd884da PatchScript: #!/bin/bash -ev wget -c ftp://ftp.biochem.ucl.ac.uk/pub/procheck/confid.doc agreed=no ans=n if test $agreed = no; then echo ; echo ; if test -r confid.doc ; then echo ; echo ; echo Please read the following; echo ; more confid.doc; echo ; echo -n Do you agree to these terms y/n [n] ?:; read ans ; if test x$ans = x; then ans=n fi if test $ans = y || test $ans = Y; then wget -c ftp://ftp.biochem.ucl.ac.uk/pub/procheck/tar3_5/ procheck.tar.Z tar -zxvf procheck.tar.Z cd procheck sed 's|@PREFIX@|%p|g' %{PatchFile} | patch -p1 else echo You must agree to the confidentiality terms to install this software; fi fi fi CompileScript: #!/bin/sh -ev cd procheck make all InstallScript: #!/bin/sh -ev cd procheck mkdir -p %i/share/procheck mkdir -p %i/etc/profile.d rm *.f *.c *.inc *.o Makefile cp * %i/share/procheck cp setup.scr %i/etc/profile.d/procheck.csh cp setup.sh %i/etc/profile.d/procheck.sh chmod 755 %i/share/procheck/setup.sh chmod 755 %i/etc/profile.d/procheck.csh chmod 755 %i/etc/profile.d/procheck.sh cd .. rm -fr procheck procheck.tar.Z Description: Protein Structure Validation Suite DescPackaging: Since source code is restricted so that it can't be mirrored and the ftp server timeouts on curl even at 300 seconds, use wget to manually download the source tarball. Treat the general case and --build-as-nobody differently. Users must agree to terms of the displayed confidentiality and must not distribute the resulting binaries. PostInstScript: # Make the user read the license conditions more %p/share/procheck/confid.doc echo You are prohibited from distributing these binaries! License: Restrictive Homepage: http://www.biochem.ucl.ac.uk/~roman/procheck/procheck.html -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] source files on really slow servers
License: Restrictive blocks fink from mirroring the source tarball. So that would be sufficient to avoid a simple licensing restriction on redistribution. However, user's fink would still download the source before requiring the user to accept the license, so that itself may still be a license problem: if user refuses to accept license, he would still have broken the shrink-wrap and accessed the code. That's bad. Though it's also technically silly for upstream to post a link publicly but say don't access this link unless I'm not opposed to relying on slow or flaky servers, especially if it's upstream's server and they require users to use that server. Put a DescUsage note about changing fink download method to wget, or manually downloading the file (to place in /sw/src) and who to contact upstream about the problem. If those devs *don't* hear users complaining about their crappy server, they have no reason to bother looking at a solution...I'm fine not protecting them from themselves. That brings up an alternative solution: just tell users to download the source manually, period. Have some shell-scripting that echos the upstream URL where/how to go to get it (which I assume has the licensing terms, etc.) and note that they do need to read the licensing or whatever there. The Source: field has (or could easily be enhanced to have) some ways to specify a filename without a download location. Again, I'm fine if users see a hint of how things really are when they aren't all open-source public material if that's how upstream really wants their software to be. I'm not opposed to their choice per se, just that we don't need to make any apologies for it. dan On Sun, Apr 19, 2009 at 06:34:54PM -0400, Jack Howarth wrote: Dave, The problem is that the ftp server in question timeouts regardless of the timeout you pass curl. The default wget -c has absolutely no problems with this same server. If you implement info file level download method selection, it would also be helpful to allow the timeout to be set as well to give full control over the process. I think that Max thought we would store the tarballs on the fink servers but I intended to take the same approach as ccp4 and list no mirrors. Anyway, I would think that ccp4 has about as restrictive license in terms of not allow casual access to the source code. Jack On Sun, Apr 19, 2009 at 03:25:22PM -0700, David R. Morrison wrote: Jack, The ccp4 package is labeled License: Commercial rather than License: Restrictive, and that may be appropriate here as well -- as Max pointed out to you, this package does not meet anybody's definition of open source. As far as circumventing the usual fink tools for downloading goes, I am not in favor of allowing this. It would be better to ask us to implement a per-package choice of download method within fink itself. I didn't follow this thread in complete detail, but can you explain the point? You want wget instead of curl because it behaves better with respect to timeouts? -- Dave On Apr 19, 2009, at 2:26 PM, Jack Howarth wrote: How about the following revision. It contains Source: none so nothing is saved on any servers and it keeps the source tarball in the build directory and destroys it at the end of the build. This places us as in the same situation as ccp4 where one assumes that the agreement to the license will be honored. Jack Package: procheck Version: 3.5.4 Revision: 1 Maintainer: Jack Howarth howa...@bromo.med.uc.edu Source: none BuildDepends: gcc44, wget, fink (= 0.24.12) Depends: gcc44-shlibs PatchFile: %n.patch PatchFile-MD5: 5e98af9efdd4006db383498dcdd884da PatchScript: #!/bin/bash -ev wget -c ftp://ftp.biochem.ucl.ac.uk/pub/procheck/confid.doc agreed=no ans=n if test $agreed = no; then echo ; echo ; if test -r confid.doc ; then echo ; echo ; echo Please read the following; echo ; more confid.doc; echo ; echo -n Do you agree to these terms y/n [n] ?:; read ans ; if test x$ans = x; then ans=n fi if test $ans = y || test $ans = Y; then wget -c ftp://ftp.biochem.ucl.ac.uk/pub/procheck/tar3_5/ procheck.tar.Z tar -zxvf procheck.tar.Z cd procheck sed 's|@PREFIX@|%p|g' %{PatchFile} | patch -p1 else echo You must agree to the confidentiality terms to install this software; fi fi fi CompileScript: #!/bin/sh -ev cd procheck make all InstallScript: #!/bin/sh -ev cd procheck mkdir -p %i/share/procheck mkdir -p %i/etc/profile.d rm *.f *.c *.inc *.o Makefile cp * %i/share/procheck cp setup.scr %i/etc/profile.d/procheck.csh cp setup.sh %i/etc/profile.d/procheck.sh chmod 755 %i/share/procheck/setup.sh chmod 755