[Pbuilder-maint] pbuilder CVS update: pbuilder pbuilderrc
pbuilder-buildpackage ChangeLog
pbuilder CVS Commit
pbuilder-maint at lists.alioth.debian.org
Fri Mar 17 00:18:50 UTC 2006
User: dancer
Date: 06/03/17 00:18:50
Modified: . pbuilderrc pbuilder-buildpackage ChangeLog
Log:
add support for chmod/chown of logfile, needs more work.
Revision Changes Path
1.40 +0 -1 pbuilder/pbuilderrc
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pbuilder/pbuilder/pbuilderrc?annotate=1.40&cvsroot=
CVSWeb: View this file: http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pbuilder/pbuilder/pbuilderrc?rev=1.40&content-type=text/x-cvsweb-markup&cvsroot=
CVSWeb: Diff to previous version: http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pbuilder/pbuilder/pbuilderrc.diff?r1=1.40&r2=1.39&cvsroot=
-----------------------------------
Index: pbuilderrc
===================================================================
RCS file: /cvsroot/pbuilder/pbuilder/pbuilderrc,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- pbuilderrc 22 Feb 2006 15:23:34 -0000 1.39
+++ pbuilderrc 17 Mar 2006 00:18:48 -0000 1.40
@@ -51,7 +51,6 @@
# Set the debootstrap variant to 'buildd' type.
# DEBOOTSTRAPOPTS[0]='--variant=buildd'
-# or work around bug in debootstrap 3.0.0 (314858)
unset DEBOOTSTRAPOPTS
# Set the PATH I am going to use inside pbuilder: default is "/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin"
1.121 +9 -3 pbuilder/pbuilder-buildpackage
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pbuilder/pbuilder/pbuilder-buildpackage?annotate=1.121&cvsroot=
CVSWeb: View this file: http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pbuilder/pbuilder/pbuilder-buildpackage?rev=1.121&content-type=text/x-cvsweb-markup&cvsroot=
CVSWeb: Diff to previous version: http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pbuilder/pbuilder/pbuilder-buildpackage.diff?r1=1.121&r2=1.120&cvsroot=
-----------------------------------
Index: pbuilder-buildpackage
===================================================================
RCS file: /cvsroot/pbuilder/pbuilder/pbuilder-buildpackage,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -r1.120 -r1.121
--- pbuilder-buildpackage 6 Jan 2006 12:30:51 -0000 1.120
+++ pbuilder-buildpackage 17 Mar 2006 00:18:48 -0000 1.121
@@ -138,6 +138,7 @@
trap cleanbuildplace exit
umountproc
+# FIXME: this should be included in pbuilder-checkparams, really.
BUILDRESULTUID="${BUILDRESULTUID:-${SUDO_UID:-0}}"
BUILDRESULTGID="${BUILDRESULTGID:-${SUDO_GID:-0}}"
@@ -149,5 +150,10 @@
echo "E: BUILDRESULT=[$BUILDRESULT] is not a directory." >&2
fi
-echobacktime
+# chown/chgrp -- FIXME: this should be higher up, doesn't chmod/chown on failure cases.
+if [ -f "${PBUILDER_BUILD_LOGFILE}" ]; then
+ chown "${BUILDRESULTUID}:${BUILDRESULTGID}" "${PBUILDER_BUILD_LOGFILE}"
+ chgrp "${BUILDRESULTGID}" "${PBUILDER_BUILD_LOGFILE}"
+fi
+echobacktime
1.371 +5 -1 pbuilder/ChangeLog
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pbuilder/pbuilder/ChangeLog?annotate=1.371&cvsroot=
CVSWeb: View this file: http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pbuilder/pbuilder/ChangeLog?rev=1.371&content-type=text/x-cvsweb-markup&cvsroot=
CVSWeb: Diff to previous version: http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pbuilder/pbuilder/ChangeLog.diff?r1=1.371&r2=1.370&cvsroot=
-----------------------------------
Index: ChangeLog
===================================================================
RCS file: /cvsroot/pbuilder/pbuilder/ChangeLog,v
retrieving revision 1.370
retrieving revision 1.371
diff -u -r1.370 -r1.371
--- ChangeLog 7 Mar 2006 17:46:30 -0000 1.370
+++ ChangeLog 17 Mar 2006 00:18:48 -0000 1.371
@@ -1,3 +1,7 @@
+2006-03-17 Junichi Uekawa <dancer at debian.org>
+
+ * pbuilder-buildpackage (BUILDRESULTGID): chown/chgrp buildresult logfiles
+
2006-03-08 Junichi Uekawa <dancer at debian.org>
* Documentation/pbuilder-doc.xml: apply necessary formatting edition.
More information about the Pbuilder-maint
mailing list