From fca266f233ec4a2b67a324cc2e28f2f424c19ef8 Mon Sep 17 00:00:00 2001 From: Norikatsu Shigemura Date: Thu, 28 Oct 2004 15:03:14 +0000 Subject: [PATCH] o Update perforce binaries. o Add support checkpoint on rcNG script. [*] PR: ports/73219 Submitted by: david marshall (maintainer) Brooks Davis [*] --- devel/p4/Makefile | 2 +- devel/p4/distinfo.i386 | 18 +++++++++--------- devel/p4/files/perforce.sh.in | 8 +++++++- devel/p4d/Makefile | 2 +- devel/p4d/distinfo.i386 | 18 +++++++++--------- devel/p4d/files/perforce.sh.in | 8 +++++++- devel/p4ftpd/Makefile | 2 +- devel/p4ftpd/distinfo.i386 | 18 +++++++++--------- devel/p4ftpd/files/perforce.sh.in | 8 +++++++- devel/p4p/Makefile | 2 +- devel/p4p/distinfo.i386 | 18 +++++++++--------- devel/p4p/files/perforce.sh.in | 8 +++++++- devel/p4web/Makefile | 2 +- devel/p4web/distinfo.i386 | 18 +++++++++--------- devel/p4web/files/perforce.sh.in | 8 +++++++- devel/perforce/Makefile | 2 +- devel/perforce/distinfo.i386 | 18 +++++++++--------- devel/perforce/files/perforce.sh.in | 8 +++++++- 18 files changed, 102 insertions(+), 66 deletions(-) diff --git a/devel/p4/Makefile b/devel/p4/Makefile index 434a98c94f48..33818e568ac6 100644 --- a/devel/p4/Makefile +++ b/devel/p4/Makefile @@ -29,7 +29,7 @@ ARCH?= i386 MD5_FILE= ${MASTERDIR}/distinfo.${ARCH} .if ${ARCH} == i386 VERSION= 04.2 -REVISION= 2 +REVISION= 3 PLATFORM= freebsd4 BIN_FILES= p4 p4web SBIN_FILES= p4d p4ftpd p4p diff --git a/devel/p4/distinfo.i386 b/devel/p4/distinfo.i386 index f835403656db..da722333cd02 100644 --- a/devel/p4/distinfo.i386 +++ b/devel/p4/distinfo.i386 @@ -1,10 +1,10 @@ -MD5 (perforce/04.2/i386/p4) = ddf5d2fc8c397983f1615b044dd03d6e -SIZE (perforce/04.2/i386/p4) = 698264 -MD5 (perforce/04.2/i386/p4web) = 5696cef6ad2488bef291ef03eef08185 -SIZE (perforce/04.2/i386/p4web) = 1724496 -MD5 (perforce/04.2/i386/p4d) = e4ca2b67e27bc17425c47a5996f54b82 -SIZE (perforce/04.2/i386/p4d) = 1396396 -MD5 (perforce/04.2/i386/p4ftpd) = a4a676c8a34be8e75fda633d0fcc7d0c -SIZE (perforce/04.2/i386/p4ftpd) = 813292 -MD5 (perforce/04.2/i386/p4p) = faa9384dc4e60a1fe870365b1eda6d07 +MD5 (perforce/04.2/i386/p4) = 462f04c7484cadd07bbf3e638de400d2 +SIZE (perforce/04.2/i386/p4) = 698456 +MD5 (perforce/04.2/i386/p4web) = 99d2242ea755488ca1a2820b71880b69 +SIZE (perforce/04.2/i386/p4web) = 1724624 +MD5 (perforce/04.2/i386/p4d) = 19ba3cb3f2affaf11dd9893c55bf2041 +SIZE (perforce/04.2/i386/p4d) = 1396492 +MD5 (perforce/04.2/i386/p4ftpd) = 3d5a20c643161ddb149c15d7fa347e9f +SIZE (perforce/04.2/i386/p4ftpd) = 813420 +MD5 (perforce/04.2/i386/p4p) = 24de2ff2bfb1faf77cb1a11200919445 SIZE (perforce/04.2/i386/p4p) = 696069 diff --git a/devel/p4/files/perforce.sh.in b/devel/p4/files/perforce.sh.in index 4590c510b5e6..e32da8484282 100644 --- a/devel/p4/files/perforce.sh.in +++ b/devel/p4/files/perforce.sh.in @@ -40,8 +40,14 @@ restart) sleep 1 $0 start ;; +checkpoint) + [ -f @PREFIX@/etc/perforce.conf ] && . @PREFIX@/etc/perforce.conf + if [ -x $p4d -a x$PERFORCE_START = xyes ]; then + su -fm $PERFORCE_USER -c "$p4d -r $PERFORCE_ROOT -jc" + fi + ;; *) - echo "usage: $0 {start|stop|restart}" + echo "usage: $0 {start|stop|restart|checkpoint}" exit 64 ;; esac diff --git a/devel/p4d/Makefile b/devel/p4d/Makefile index 434a98c94f48..33818e568ac6 100644 --- a/devel/p4d/Makefile +++ b/devel/p4d/Makefile @@ -29,7 +29,7 @@ ARCH?= i386 MD5_FILE= ${MASTERDIR}/distinfo.${ARCH} .if ${ARCH} == i386 VERSION= 04.2 -REVISION= 2 +REVISION= 3 PLATFORM= freebsd4 BIN_FILES= p4 p4web SBIN_FILES= p4d p4ftpd p4p diff --git a/devel/p4d/distinfo.i386 b/devel/p4d/distinfo.i386 index f835403656db..da722333cd02 100644 --- a/devel/p4d/distinfo.i386 +++ b/devel/p4d/distinfo.i386 @@ -1,10 +1,10 @@ -MD5 (perforce/04.2/i386/p4) = ddf5d2fc8c397983f1615b044dd03d6e -SIZE (perforce/04.2/i386/p4) = 698264 -MD5 (perforce/04.2/i386/p4web) = 5696cef6ad2488bef291ef03eef08185 -SIZE (perforce/04.2/i386/p4web) = 1724496 -MD5 (perforce/04.2/i386/p4d) = e4ca2b67e27bc17425c47a5996f54b82 -SIZE (perforce/04.2/i386/p4d) = 1396396 -MD5 (perforce/04.2/i386/p4ftpd) = a4a676c8a34be8e75fda633d0fcc7d0c -SIZE (perforce/04.2/i386/p4ftpd) = 813292 -MD5 (perforce/04.2/i386/p4p) = faa9384dc4e60a1fe870365b1eda6d07 +MD5 (perforce/04.2/i386/p4) = 462f04c7484cadd07bbf3e638de400d2 +SIZE (perforce/04.2/i386/p4) = 698456 +MD5 (perforce/04.2/i386/p4web) = 99d2242ea755488ca1a2820b71880b69 +SIZE (perforce/04.2/i386/p4web) = 1724624 +MD5 (perforce/04.2/i386/p4d) = 19ba3cb3f2affaf11dd9893c55bf2041 +SIZE (perforce/04.2/i386/p4d) = 1396492 +MD5 (perforce/04.2/i386/p4ftpd) = 3d5a20c643161ddb149c15d7fa347e9f +SIZE (perforce/04.2/i386/p4ftpd) = 813420 +MD5 (perforce/04.2/i386/p4p) = 24de2ff2bfb1faf77cb1a11200919445 SIZE (perforce/04.2/i386/p4p) = 696069 diff --git a/devel/p4d/files/perforce.sh.in b/devel/p4d/files/perforce.sh.in index 4590c510b5e6..e32da8484282 100644 --- a/devel/p4d/files/perforce.sh.in +++ b/devel/p4d/files/perforce.sh.in @@ -40,8 +40,14 @@ restart) sleep 1 $0 start ;; +checkpoint) + [ -f @PREFIX@/etc/perforce.conf ] && . @PREFIX@/etc/perforce.conf + if [ -x $p4d -a x$PERFORCE_START = xyes ]; then + su -fm $PERFORCE_USER -c "$p4d -r $PERFORCE_ROOT -jc" + fi + ;; *) - echo "usage: $0 {start|stop|restart}" + echo "usage: $0 {start|stop|restart|checkpoint}" exit 64 ;; esac diff --git a/devel/p4ftpd/Makefile b/devel/p4ftpd/Makefile index 434a98c94f48..33818e568ac6 100644 --- a/devel/p4ftpd/Makefile +++ b/devel/p4ftpd/Makefile @@ -29,7 +29,7 @@ ARCH?= i386 MD5_FILE= ${MASTERDIR}/distinfo.${ARCH} .if ${ARCH} == i386 VERSION= 04.2 -REVISION= 2 +REVISION= 3 PLATFORM= freebsd4 BIN_FILES= p4 p4web SBIN_FILES= p4d p4ftpd p4p diff --git a/devel/p4ftpd/distinfo.i386 b/devel/p4ftpd/distinfo.i386 index f835403656db..da722333cd02 100644 --- a/devel/p4ftpd/distinfo.i386 +++ b/devel/p4ftpd/distinfo.i386 @@ -1,10 +1,10 @@ -MD5 (perforce/04.2/i386/p4) = ddf5d2fc8c397983f1615b044dd03d6e -SIZE (perforce/04.2/i386/p4) = 698264 -MD5 (perforce/04.2/i386/p4web) = 5696cef6ad2488bef291ef03eef08185 -SIZE (perforce/04.2/i386/p4web) = 1724496 -MD5 (perforce/04.2/i386/p4d) = e4ca2b67e27bc17425c47a5996f54b82 -SIZE (perforce/04.2/i386/p4d) = 1396396 -MD5 (perforce/04.2/i386/p4ftpd) = a4a676c8a34be8e75fda633d0fcc7d0c -SIZE (perforce/04.2/i386/p4ftpd) = 813292 -MD5 (perforce/04.2/i386/p4p) = faa9384dc4e60a1fe870365b1eda6d07 +MD5 (perforce/04.2/i386/p4) = 462f04c7484cadd07bbf3e638de400d2 +SIZE (perforce/04.2/i386/p4) = 698456 +MD5 (perforce/04.2/i386/p4web) = 99d2242ea755488ca1a2820b71880b69 +SIZE (perforce/04.2/i386/p4web) = 1724624 +MD5 (perforce/04.2/i386/p4d) = 19ba3cb3f2affaf11dd9893c55bf2041 +SIZE (perforce/04.2/i386/p4d) = 1396492 +MD5 (perforce/04.2/i386/p4ftpd) = 3d5a20c643161ddb149c15d7fa347e9f +SIZE (perforce/04.2/i386/p4ftpd) = 813420 +MD5 (perforce/04.2/i386/p4p) = 24de2ff2bfb1faf77cb1a11200919445 SIZE (perforce/04.2/i386/p4p) = 696069 diff --git a/devel/p4ftpd/files/perforce.sh.in b/devel/p4ftpd/files/perforce.sh.in index 4590c510b5e6..e32da8484282 100644 --- a/devel/p4ftpd/files/perforce.sh.in +++ b/devel/p4ftpd/files/perforce.sh.in @@ -40,8 +40,14 @@ restart) sleep 1 $0 start ;; +checkpoint) + [ -f @PREFIX@/etc/perforce.conf ] && . @PREFIX@/etc/perforce.conf + if [ -x $p4d -a x$PERFORCE_START = xyes ]; then + su -fm $PERFORCE_USER -c "$p4d -r $PERFORCE_ROOT -jc" + fi + ;; *) - echo "usage: $0 {start|stop|restart}" + echo "usage: $0 {start|stop|restart|checkpoint}" exit 64 ;; esac diff --git a/devel/p4p/Makefile b/devel/p4p/Makefile index 434a98c94f48..33818e568ac6 100644 --- a/devel/p4p/Makefile +++ b/devel/p4p/Makefile @@ -29,7 +29,7 @@ ARCH?= i386 MD5_FILE= ${MASTERDIR}/distinfo.${ARCH} .if ${ARCH} == i386 VERSION= 04.2 -REVISION= 2 +REVISION= 3 PLATFORM= freebsd4 BIN_FILES= p4 p4web SBIN_FILES= p4d p4ftpd p4p diff --git a/devel/p4p/distinfo.i386 b/devel/p4p/distinfo.i386 index f835403656db..da722333cd02 100644 --- a/devel/p4p/distinfo.i386 +++ b/devel/p4p/distinfo.i386 @@ -1,10 +1,10 @@ -MD5 (perforce/04.2/i386/p4) = ddf5d2fc8c397983f1615b044dd03d6e -SIZE (perforce/04.2/i386/p4) = 698264 -MD5 (perforce/04.2/i386/p4web) = 5696cef6ad2488bef291ef03eef08185 -SIZE (perforce/04.2/i386/p4web) = 1724496 -MD5 (perforce/04.2/i386/p4d) = e4ca2b67e27bc17425c47a5996f54b82 -SIZE (perforce/04.2/i386/p4d) = 1396396 -MD5 (perforce/04.2/i386/p4ftpd) = a4a676c8a34be8e75fda633d0fcc7d0c -SIZE (perforce/04.2/i386/p4ftpd) = 813292 -MD5 (perforce/04.2/i386/p4p) = faa9384dc4e60a1fe870365b1eda6d07 +MD5 (perforce/04.2/i386/p4) = 462f04c7484cadd07bbf3e638de400d2 +SIZE (perforce/04.2/i386/p4) = 698456 +MD5 (perforce/04.2/i386/p4web) = 99d2242ea755488ca1a2820b71880b69 +SIZE (perforce/04.2/i386/p4web) = 1724624 +MD5 (perforce/04.2/i386/p4d) = 19ba3cb3f2affaf11dd9893c55bf2041 +SIZE (perforce/04.2/i386/p4d) = 1396492 +MD5 (perforce/04.2/i386/p4ftpd) = 3d5a20c643161ddb149c15d7fa347e9f +SIZE (perforce/04.2/i386/p4ftpd) = 813420 +MD5 (perforce/04.2/i386/p4p) = 24de2ff2bfb1faf77cb1a11200919445 SIZE (perforce/04.2/i386/p4p) = 696069 diff --git a/devel/p4p/files/perforce.sh.in b/devel/p4p/files/perforce.sh.in index 4590c510b5e6..e32da8484282 100644 --- a/devel/p4p/files/perforce.sh.in +++ b/devel/p4p/files/perforce.sh.in @@ -40,8 +40,14 @@ restart) sleep 1 $0 start ;; +checkpoint) + [ -f @PREFIX@/etc/perforce.conf ] && . @PREFIX@/etc/perforce.conf + if [ -x $p4d -a x$PERFORCE_START = xyes ]; then + su -fm $PERFORCE_USER -c "$p4d -r $PERFORCE_ROOT -jc" + fi + ;; *) - echo "usage: $0 {start|stop|restart}" + echo "usage: $0 {start|stop|restart|checkpoint}" exit 64 ;; esac diff --git a/devel/p4web/Makefile b/devel/p4web/Makefile index 434a98c94f48..33818e568ac6 100644 --- a/devel/p4web/Makefile +++ b/devel/p4web/Makefile @@ -29,7 +29,7 @@ ARCH?= i386 MD5_FILE= ${MASTERDIR}/distinfo.${ARCH} .if ${ARCH} == i386 VERSION= 04.2 -REVISION= 2 +REVISION= 3 PLATFORM= freebsd4 BIN_FILES= p4 p4web SBIN_FILES= p4d p4ftpd p4p diff --git a/devel/p4web/distinfo.i386 b/devel/p4web/distinfo.i386 index f835403656db..da722333cd02 100644 --- a/devel/p4web/distinfo.i386 +++ b/devel/p4web/distinfo.i386 @@ -1,10 +1,10 @@ -MD5 (perforce/04.2/i386/p4) = ddf5d2fc8c397983f1615b044dd03d6e -SIZE (perforce/04.2/i386/p4) = 698264 -MD5 (perforce/04.2/i386/p4web) = 5696cef6ad2488bef291ef03eef08185 -SIZE (perforce/04.2/i386/p4web) = 1724496 -MD5 (perforce/04.2/i386/p4d) = e4ca2b67e27bc17425c47a5996f54b82 -SIZE (perforce/04.2/i386/p4d) = 1396396 -MD5 (perforce/04.2/i386/p4ftpd) = a4a676c8a34be8e75fda633d0fcc7d0c -SIZE (perforce/04.2/i386/p4ftpd) = 813292 -MD5 (perforce/04.2/i386/p4p) = faa9384dc4e60a1fe870365b1eda6d07 +MD5 (perforce/04.2/i386/p4) = 462f04c7484cadd07bbf3e638de400d2 +SIZE (perforce/04.2/i386/p4) = 698456 +MD5 (perforce/04.2/i386/p4web) = 99d2242ea755488ca1a2820b71880b69 +SIZE (perforce/04.2/i386/p4web) = 1724624 +MD5 (perforce/04.2/i386/p4d) = 19ba3cb3f2affaf11dd9893c55bf2041 +SIZE (perforce/04.2/i386/p4d) = 1396492 +MD5 (perforce/04.2/i386/p4ftpd) = 3d5a20c643161ddb149c15d7fa347e9f +SIZE (perforce/04.2/i386/p4ftpd) = 813420 +MD5 (perforce/04.2/i386/p4p) = 24de2ff2bfb1faf77cb1a11200919445 SIZE (perforce/04.2/i386/p4p) = 696069 diff --git a/devel/p4web/files/perforce.sh.in b/devel/p4web/files/perforce.sh.in index 4590c510b5e6..e32da8484282 100644 --- a/devel/p4web/files/perforce.sh.in +++ b/devel/p4web/files/perforce.sh.in @@ -40,8 +40,14 @@ restart) sleep 1 $0 start ;; +checkpoint) + [ -f @PREFIX@/etc/perforce.conf ] && . @PREFIX@/etc/perforce.conf + if [ -x $p4d -a x$PERFORCE_START = xyes ]; then + su -fm $PERFORCE_USER -c "$p4d -r $PERFORCE_ROOT -jc" + fi + ;; *) - echo "usage: $0 {start|stop|restart}" + echo "usage: $0 {start|stop|restart|checkpoint}" exit 64 ;; esac diff --git a/devel/perforce/Makefile b/devel/perforce/Makefile index 434a98c94f48..33818e568ac6 100644 --- a/devel/perforce/Makefile +++ b/devel/perforce/Makefile @@ -29,7 +29,7 @@ ARCH?= i386 MD5_FILE= ${MASTERDIR}/distinfo.${ARCH} .if ${ARCH} == i386 VERSION= 04.2 -REVISION= 2 +REVISION= 3 PLATFORM= freebsd4 BIN_FILES= p4 p4web SBIN_FILES= p4d p4ftpd p4p diff --git a/devel/perforce/distinfo.i386 b/devel/perforce/distinfo.i386 index f835403656db..da722333cd02 100644 --- a/devel/perforce/distinfo.i386 +++ b/devel/perforce/distinfo.i386 @@ -1,10 +1,10 @@ -MD5 (perforce/04.2/i386/p4) = ddf5d2fc8c397983f1615b044dd03d6e -SIZE (perforce/04.2/i386/p4) = 698264 -MD5 (perforce/04.2/i386/p4web) = 5696cef6ad2488bef291ef03eef08185 -SIZE (perforce/04.2/i386/p4web) = 1724496 -MD5 (perforce/04.2/i386/p4d) = e4ca2b67e27bc17425c47a5996f54b82 -SIZE (perforce/04.2/i386/p4d) = 1396396 -MD5 (perforce/04.2/i386/p4ftpd) = a4a676c8a34be8e75fda633d0fcc7d0c -SIZE (perforce/04.2/i386/p4ftpd) = 813292 -MD5 (perforce/04.2/i386/p4p) = faa9384dc4e60a1fe870365b1eda6d07 +MD5 (perforce/04.2/i386/p4) = 462f04c7484cadd07bbf3e638de400d2 +SIZE (perforce/04.2/i386/p4) = 698456 +MD5 (perforce/04.2/i386/p4web) = 99d2242ea755488ca1a2820b71880b69 +SIZE (perforce/04.2/i386/p4web) = 1724624 +MD5 (perforce/04.2/i386/p4d) = 19ba3cb3f2affaf11dd9893c55bf2041 +SIZE (perforce/04.2/i386/p4d) = 1396492 +MD5 (perforce/04.2/i386/p4ftpd) = 3d5a20c643161ddb149c15d7fa347e9f +SIZE (perforce/04.2/i386/p4ftpd) = 813420 +MD5 (perforce/04.2/i386/p4p) = 24de2ff2bfb1faf77cb1a11200919445 SIZE (perforce/04.2/i386/p4p) = 696069 diff --git a/devel/perforce/files/perforce.sh.in b/devel/perforce/files/perforce.sh.in index 4590c510b5e6..e32da8484282 100644 --- a/devel/perforce/files/perforce.sh.in +++ b/devel/perforce/files/perforce.sh.in @@ -40,8 +40,14 @@ restart) sleep 1 $0 start ;; +checkpoint) + [ -f @PREFIX@/etc/perforce.conf ] && . @PREFIX@/etc/perforce.conf + if [ -x $p4d -a x$PERFORCE_START = xyes ]; then + su -fm $PERFORCE_USER -c "$p4d -r $PERFORCE_ROOT -jc" + fi + ;; *) - echo "usage: $0 {start|stop|restart}" + echo "usage: $0 {start|stop|restart|checkpoint}" exit 64 ;; esac