[Apt-zip-devel] r73 - in branches/nix-scripts: . debian methods
Eddy Petrisor
eddyp-guest at costa.debian.org
Mon Jul 24 00:18:53 UTC 2006
Author: eddyp-guest
Date: 2006-07-24 00:18:52 +0000 (Mon, 24 Jul 2006)
New Revision: 73
Added:
branches/nix-scripts/methods/write-fetch-d4x
Modified:
branches/nix-scripts/Makefile
branches/nix-scripts/debian/changelog
Log:
Add support for d4x; closes #358603
Modified: branches/nix-scripts/Makefile
===================================================================
--- branches/nix-scripts/Makefile 2006-07-24 00:00:35 UTC (rev 72)
+++ branches/nix-scripts/Makefile 2006-07-24 00:18:52 UTC (rev 73)
@@ -10,8 +10,8 @@
SCRIPTS= apt-zip-list
SSCRIPTS= apt-zip-inst
SHARED= common.sh methods/commonmeth.sh
-METHODS= all write-fetch-wget write-fetch-curl write-fetch-lynx # lftp
-FAKEMETHS= wget lynx curl # lftp
+METHODS= all write-fetch-wget write-fetch-d4x write-fetch-curl write-fetch-lynx # lftp
+FAKEMETHS= wget lynx curl d4x # lftp
CONFFILE= apt-zip.conf
MANPAGE= apt-zip.8
MANLINKS= ${SCRIPTS:=.8} ${SSCRIPTS:=.8}
Modified: branches/nix-scripts/debian/changelog
===================================================================
--- branches/nix-scripts/debian/changelog 2006-07-24 00:00:35 UTC (rev 72)
+++ branches/nix-scripts/debian/changelog 2006-07-24 00:18:52 UTC (rev 73)
@@ -5,6 +5,7 @@
* Spimplified the way to add new methods if *NIX systems are used;
now is only a matter of definig a methods/write-fetch-$METHOD script
* Added support for lynx method, thanks to new recipe (Closes: #261264)
+ * Added support for d4x method (Closes: #358603)
* Added support for curl method
* All methods' scripts are now symlinks to methods/all
Added: branches/nix-scripts/methods/write-fetch-d4x
===================================================================
--- branches/nix-scripts/methods/write-fetch-d4x 2006-07-24 00:00:35 UTC (rev 72)
+++ branches/nix-scripts/methods/write-fetch-d4x 2006-07-24 00:18:52 UTC (rev 73)
@@ -0,0 +1,9 @@
+
+cat <<-EOF
+
+#\$2 contains the local file and \$1 contains the URL
+fetch () {
+ nt -d \`pwd\` \$1
+}
+
+EOF
More information about the apt-zip-devel
mailing list