From 1da9e90b6eb79f9a128f858af6bd76549d9982ff Mon Sep 17 00:00:00 2001 From: Danny Rawlins Date: Tue, 10 Jun 2008 06:18:38 +1000 Subject: [PATCH] lvm2: 2.02.36 -> 2.02.37 --- lvm2/.md5sum | 2 +- lvm2/Pkgfile | 2 +- lvm2/README | 17 +++++++++-------- lvm2/post-install | 11 ----------- lvm2/pre-remove | 11 ----------- 5 files changed, 11 insertions(+), 32 deletions(-) delete mode 100755 lvm2/post-install delete mode 100755 lvm2/pre-remove diff --git a/lvm2/.md5sum b/lvm2/.md5sum index 79be1bb3d..8aa6b44bb 100644 --- a/lvm2/.md5sum +++ b/lvm2/.md5sum @@ -1 +1 @@ -39617ecc99d7e1aa8712ac60302e36c6 LVM2.2.02.36.tgz +19c19e1f31ec548dc31982478a8a5f63 LVM2.2.02.37.tgz diff --git a/lvm2/Pkgfile b/lvm2/Pkgfile index d84d78dab..809373e6f 100644 --- a/lvm2/Pkgfile +++ b/lvm2/Pkgfile @@ -5,7 +5,7 @@ # Depends on: libdevmapper name=lvm2 -version=2.02.36 +version=2.02.37 release=1 source=(ftp://sources.redhat.com/pub/lvm2/LVM2.$version.tgz) diff --git a/lvm2/README b/lvm2/README index af3276914..7545aecb9 100644 --- a/lvm2/README +++ b/lvm2/README @@ -4,24 +4,25 @@ REQUIREMENTS: PRECAUTION: - Don't forget to run install scripts or patch rc manually - with: + Don't forget to patch rc. + with: - # patch -p 1 lvm2-rc.patch + # patch -d / -p 1 lvm2-rc.patch PRE-INSTALL: -POST-INSTALL: + Patch rc: + # patch -d / -p 1 lvm2-rc.patch - This patches rc scripts for LVM2 support. +POST-INSTALL: PRE-REMOVE: - This reverses the LVM2 rc scripts patch. + remove patch or reinstall the rc port and run rejmerge + + # patch -R -d / -p 1 lvm2-rc.patch POST-REMOVE: NOTES: - post-install and pre-remove will only patch if there is - no errors on a patch dry run. diff --git a/lvm2/post-install b/lvm2/post-install deleted file mode 100755 index 0e4d20738..000000000 --- a/lvm2/post-install +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env sh - -# dry run test -/usr/bin/patch --dry-run -f -p 1 -i lvm2-rc.patch > /dev/null - -# patch if no errors -if [ $? = 0 ]; then - /usr/bin/patch -p 1 -i lvm2-rc.patch -fi - -# End of file diff --git a/lvm2/pre-remove b/lvm2/pre-remove deleted file mode 100755 index c250c98b0..000000000 --- a/lvm2/pre-remove +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env sh - -# dry run test -/usr/bin/patch --dry-run -f -R -p 1 -i lvm2-rc.patch > /dev/null - -# reverse patch if no errors -if [ $? = 0 ]; then - /usr/bin/patch -R -p 1 -i lvm2-rc.patch -fi - -# End of file