mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
Apply a hotfix against a critical bug that +CONTENTS are lost when you
do upgrade as root and TMPDIR and /var/db/pkg are on different filesystems.
This commit is contained in:
parent
5feb8b8ae2
commit
002a0185d3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43353
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= portupgrade
|
||||
PORTVERSION= 1.34
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL} \
|
||||
http://www.iDaemons.org/distfiles/
|
||||
|
12
ports-mgmt/portupgrade-devel/files/patch-portupgrade
Normal file
12
ports-mgmt/portupgrade-devel/files/patch-portupgrade
Normal file
@ -0,0 +1,12 @@
|
||||
--- portupgrade.orig Thu May 31 14:18:06 2001
|
||||
+++ portupgrade Fri Jun 1 00:10:54 2001
|
||||
@@ -571,8 +571,7 @@
|
||||
File.chmod 0644, w.path
|
||||
|
||||
if File.writable? file
|
||||
- File.delete file
|
||||
- File.rename w.path, file
|
||||
+ system '/bin/mv', '-f', w.path, file
|
||||
else
|
||||
sudo '/bin/mv', '-f', w.path, file
|
||||
end
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= portupgrade
|
||||
PORTVERSION= 1.34
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL} \
|
||||
http://www.iDaemons.org/distfiles/
|
||||
|
12
ports-mgmt/portupgrade/files/patch-portupgrade
Normal file
12
ports-mgmt/portupgrade/files/patch-portupgrade
Normal file
@ -0,0 +1,12 @@
|
||||
--- portupgrade.orig Thu May 31 14:18:06 2001
|
||||
+++ portupgrade Fri Jun 1 00:10:54 2001
|
||||
@@ -571,8 +571,7 @@
|
||||
File.chmod 0644, w.path
|
||||
|
||||
if File.writable? file
|
||||
- File.delete file
|
||||
- File.rename w.path, file
|
||||
+ system '/bin/mv', '-f', w.path, file
|
||||
else
|
||||
sudo '/bin/mv', '-f', w.path, file
|
||||
end
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= portupgrade
|
||||
PORTVERSION= 1.34
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL} \
|
||||
http://www.iDaemons.org/distfiles/
|
||||
|
12
sysutils/portupgrade-devel/files/patch-portupgrade
Normal file
12
sysutils/portupgrade-devel/files/patch-portupgrade
Normal file
@ -0,0 +1,12 @@
|
||||
--- portupgrade.orig Thu May 31 14:18:06 2001
|
||||
+++ portupgrade Fri Jun 1 00:10:54 2001
|
||||
@@ -571,8 +571,7 @@
|
||||
File.chmod 0644, w.path
|
||||
|
||||
if File.writable? file
|
||||
- File.delete file
|
||||
- File.rename w.path, file
|
||||
+ system '/bin/mv', '-f', w.path, file
|
||||
else
|
||||
sudo '/bin/mv', '-f', w.path, file
|
||||
end
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= portupgrade
|
||||
PORTVERSION= 1.34
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL} \
|
||||
http://www.iDaemons.org/distfiles/
|
||||
|
12
sysutils/portupgrade/files/patch-portupgrade
Normal file
12
sysutils/portupgrade/files/patch-portupgrade
Normal file
@ -0,0 +1,12 @@
|
||||
--- portupgrade.orig Thu May 31 14:18:06 2001
|
||||
+++ portupgrade Fri Jun 1 00:10:54 2001
|
||||
@@ -571,8 +571,7 @@
|
||||
File.chmod 0644, w.path
|
||||
|
||||
if File.writable? file
|
||||
- File.delete file
|
||||
- File.rename w.path, file
|
||||
+ system '/bin/mv', '-f', w.path, file
|
||||
else
|
||||
sudo '/bin/mv', '-f', w.path, file
|
||||
end
|
Loading…
Reference in New Issue
Block a user