pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pbulk Add two variables to specify the prefix...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8c6f19d31ae1
branches:  trunk
changeset: 530967:8c6f19d31ae1
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Jul 16 20:35:04 2007 +0000

description:
Add two variables to specify the prefix of the report mail's subject
and the recipient. Bump to pbulk-0.6.

diffstat:

 pkgtools/pbulk/Makefile                   |  4 ++--
 pkgtools/pbulk/files/pbulk/pbulk.conf     |  4 +++-
 pkgtools/pbulk/files/pbulk/scripts/report |  4 ++--
 3 files changed, 7 insertions(+), 5 deletions(-)

diffs (49 lines):

diff -r 8114dbc40406 -r 8c6f19d31ae1 pkgtools/pbulk/Makefile
--- a/pkgtools/pbulk/Makefile   Mon Jul 16 20:18:58 2007 +0000
+++ b/pkgtools/pbulk/Makefile   Mon Jul 16 20:35:04 2007 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2007/07/16 19:25:25 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2007/07/16 20:35:04 joerg Exp $
 
-DISTNAME=      pbulk-0.5
+DISTNAME=      pbulk-0.6
 CATEGORIES=    pkgtools
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r 8114dbc40406 -r 8c6f19d31ae1 pkgtools/pbulk/files/pbulk/pbulk.conf
--- a/pkgtools/pbulk/files/pbulk/pbulk.conf     Mon Jul 16 20:18:58 2007 +0000
+++ b/pkgtools/pbulk/files/pbulk/pbulk.conf     Mon Jul 16 20:35:04 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: pbulk.conf,v 1.3 2007/06/28 23:19:17 joerg Exp $
+# $NetBSD: pbulk.conf,v 1.4 2007/07/16 20:35:04 joerg Exp $
 
 base_url=http://www.pkgsrc-box.org/reports/current/DragonFly-1.8
 master_mode=yes
@@ -14,6 +14,8 @@
 pkg_rsync_target="pkgsrc@192.168.75.1:/public/packages/current/DragonFly-1.8"
 report_rsync_args="-av --delete-excluded -e ssh"
 report_rsync_target="pkgsrc@192.168.75.1:/public/reports/current/DragonFly-1.8"
+report_subject_prefix="pkgsrc"
+report_recipient="pkgsrc-bulk%netbsd.org@localhost"
 bootstrapkit=/usr/pkgsrc/bootstrap/bootstrap.tar.gz
 
 report_graph_script_limit=512
diff -r 8114dbc40406 -r 8c6f19d31ae1 pkgtools/pbulk/files/pbulk/scripts/report
--- a/pkgtools/pbulk/files/pbulk/scripts/report Mon Jul 16 20:18:58 2007 +0000
+++ b/pkgtools/pbulk/files/pbulk/scripts/report Mon Jul 16 20:35:04 2007 +0000
@@ -1,5 +1,5 @@
 #!@SH@
-# $NetBSD: report,v 1.1.1.1 2007/06/19 19:49:59 joerg Exp $
+# $NetBSD: report,v 1.2 2007/07/16 20:35:04 joerg Exp $
 #
 # Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
 # All rights reserved.
@@ -67,7 +67,7 @@
 echo "Sending report mail..."
 formatted_start=`date -r ${build_start} "+%F %R"`
 report_dir=`date -r ${build_start} "+%Y%m%d.%H%M"`
-cat ${loc}/report.txt | ${mail} -s "pkgsrc ${platform} ${formatted_start}" joerg%bec.de@localhost
+cat ${loc}/report.txt | ${mail} -s "${report_subject_prefix} ${platform} ${formatted_start}" ${report_recipient}
 
 cd ${bulklog}
 echo "Uploading report..."



Home | Main Index | Thread Index | Old Index