aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-03-28 17:52:25 +0800
committerknu <knu@FreeBSD.org>2003-03-28 17:52:25 +0800
commitcbe19aa30afc7bd734799dd1eb3bb040e16dd170 (patch)
treed8e2b0c6cafa13921f6daa2833697d31fd319316 /ports-mgmt
parente87f7e8c8f3b18174a648f86612a738168d242c8 (diff)
downloadfreebsd-ports-gnome-cbe19aa30afc7bd734799dd1eb3bb040e16dd170.tar.gz
freebsd-ports-gnome-cbe19aa30afc7bd734799dd1eb3bb040e16dd170.tar.zst
freebsd-ports-gnome-cbe19aa30afc7bd734799dd1eb3bb040e16dd170.zip
Fix an error handler typo so it fails gracefully.
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portupgrade-devel/Makefile2
-rw-r--r--ports-mgmt/portupgrade-devel/files/patch-pkg_fetch11
-rw-r--r--ports-mgmt/portupgrade/Makefile2
-rw-r--r--ports-mgmt/portupgrade/files/patch-pkg_fetch11
4 files changed, 24 insertions, 2 deletions
diff --git a/ports-mgmt/portupgrade-devel/Makefile b/ports-mgmt/portupgrade-devel/Makefile
index eb573305aae1..ed11e96ca534 100644
--- a/ports-mgmt/portupgrade-devel/Makefile
+++ b/ports-mgmt/portupgrade-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 20030308
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \
${MASTER_SITE_LOCAL}
diff --git a/ports-mgmt/portupgrade-devel/files/patch-pkg_fetch b/ports-mgmt/portupgrade-devel/files/patch-pkg_fetch
new file mode 100644
index 000000000000..898d4641bc72
--- /dev/null
+++ b/ports-mgmt/portupgrade-devel/files/patch-pkg_fetch
@@ -0,0 +1,11 @@
+--- bin/pkg_fetch.orig Fri Mar 28 18:50:21 2003
++++ bin/pkg_fetch Fri Mar 28 18:50:33 2003
+@@ -251,7 +251,7 @@
+
+ begin
+ FileUtils.mv(temp_path, save_path)
+- rescue
++ rescue => e
+ warning_message "Failed to save the dowloaded tarball as #{save_path}"
+ raise e
+ end
diff --git a/ports-mgmt/portupgrade/Makefile b/ports-mgmt/portupgrade/Makefile
index eb573305aae1..ed11e96ca534 100644
--- a/ports-mgmt/portupgrade/Makefile
+++ b/ports-mgmt/portupgrade/Makefile
@@ -7,7 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 20030308
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \
${MASTER_SITE_LOCAL}
diff --git a/ports-mgmt/portupgrade/files/patch-pkg_fetch b/ports-mgmt/portupgrade/files/patch-pkg_fetch
new file mode 100644
index 000000000000..898d4641bc72
--- /dev/null
+++ b/ports-mgmt/portupgrade/files/patch-pkg_fetch
@@ -0,0 +1,11 @@
+--- bin/pkg_fetch.orig Fri Mar 28 18:50:21 2003
++++ bin/pkg_fetch Fri Mar 28 18:50:33 2003
+@@ -251,7 +251,7 @@
+
+ begin
+ FileUtils.mv(temp_path, save_path)
+- rescue
++ rescue => e
+ warning_message "Failed to save the dowloaded tarball as #{save_path}"
+ raise e
+ end