summaryrefslogtreecommitdiff
path: root/pkgtools/pbulk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-07-16 20:35:04 +0000
committerjoerg <joerg@pkgsrc.org>2007-07-16 20:35:04 +0000
commit4c2322c0ebdb5f3107b4d391aaf51e227c673794 (patch)
tree4abf9def91b0f60f3a91d0929e82d2f77721524d /pkgtools/pbulk
parent7e256bff90005a724307f4cce46b258fbf96f7e4 (diff)
downloadpkgsrc-4c2322c0ebdb5f3107b4d391aaf51e227c673794.tar.gz
Add two variables to specify the prefix of the report mail's subject
and the recipient. Bump to pbulk-0.6.
Diffstat (limited to 'pkgtools/pbulk')
-rw-r--r--pkgtools/pbulk/Makefile4
-rw-r--r--pkgtools/pbulk/files/pbulk/pbulk.conf4
-rwxr-xr-xpkgtools/pbulk/files/pbulk/scripts/report4
3 files changed, 7 insertions, 5 deletions
diff --git a/pkgtools/pbulk/Makefile b/pkgtools/pbulk/Makefile
index 61b82b260ad..941c21f62ba 100644
--- a/pkgtools/pbulk/Makefile
+++ b/pkgtools/pbulk/Makefile
@@ -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 --git a/pkgtools/pbulk/files/pbulk/pbulk.conf b/pkgtools/pbulk/files/pbulk/pbulk.conf
index 33c64624366..d0ceb30da29 100644
--- a/pkgtools/pbulk/files/pbulk/pbulk.conf
+++ b/pkgtools/pbulk/files/pbulk/pbulk.conf
@@ -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_args="-av --delete-excluded -e ssh"
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"
bootstrapkit=/usr/pkgsrc/bootstrap/bootstrap.tar.gz
report_graph_script_limit=512
diff --git a/pkgtools/pbulk/files/pbulk/scripts/report b/pkgtools/pbulk/files/pbulk/scripts/report
index aa51769c243..34b9756a866 100755
--- a/pkgtools/pbulk/files/pbulk/scripts/report
+++ b/pkgtools/pbulk/files/pbulk/scripts/report
@@ -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>.
# All rights reserved.
@@ -67,7 +67,7 @@ fi
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
+cat ${loc}/report.txt | ${mail} -s "${report_subject_prefix} ${platform} ${formatted_start}" ${report_recipient}
cd ${bulklog}
echo "Uploading report..."