[Apt-zip-devel] Exporting USEMD5SUMS

Eddy Petrișor eddy.petrisor at gmail.com
Mon Mar 17 17:21:29 UTC 2008


On 25/09/2007, Wolfram Sang <wolfram at the-dreams.de> wrote:
> Hello,

Hello,

Sorry for the really late reply. Apt-zip is really in low maintainance mode.

>  I am currently working on a new (rudimentary) method which I call
>  wget-dos. It shall be able to get all files using wget in FreeDOS and
>  "accidently" do the same on some other OS which came from DOS ;)

That would be nice.

>  During that I found out that USEMD5SUMS is not exported to the methods,
>  so the check function gets always printed. The attached patch fixes that
>  and something I consider a typo in the comments.

Thanks.

>  By the way, is there some cvs/svn repository or is the source-package
>  the most recent version?

Yes and no. We tried using svn, but I think Giacomo has started
privately using git (the latest 2.5 releases are not in svn) and we
didn't discuss about this.

The outdated code in SVN is at svn://svn.debian.org/svn/apt-zip/trunk .


BTW Giacomo, we could use git instead of svn, if you like. (And I know
I haven't done anything lately - like a year or more).

> Index: apt-zip-0.16/apt-zip-list
>  ===================================================================
>  --- apt-zip-0.16.orig/apt-zip-list      2007-09-25 09:46:43.000000000 +0200
>  +++ apt-zip-0.16/apt-zip-list   2007-09-25 09:47:39.000000000 +0200
>  @@ -72,6 +72,7 @@
>   export SLEEPCMD=`eval "$SLEEPEVALCMD"`
>   export CHECK=`eval "$CHECKEVALCMD"`
>   export APTGETACTION
>  +export USEMD5SUMS
>
>   # Write the script
>   SCRIPT="${MEDIUM}"/fetch-script-$METHOD-$(uname -n)
>  Index: apt-zip-0.16/methods/wget
>  ===================================================================
>  --- apt-zip-0.16.orig/methods/wget      2007-09-25 09:56:15.000000000 +0200
>  +++ apt-zip-0.16/methods/wget   2007-09-25 09:57:07.000000000 +0200
>  @@ -26,7 +26,7 @@
>
>
>   ###############
>  -# add check code, if is wanted
>  +# add check code, if wanted
>   #
>   [ ! "${USEMD5SUMS}" = 'no' ] && cat <<-EOF
>         check(){


-- 
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein



More information about the apt-zip-devel mailing list