[Pkg-xfce-commits] r1029 - in scripts: . pbuilder-stable

Yves-Alexis Perez corsac-guest at alioth.debian.org
Fri Dec 29 16:09:21 CET 2006


Author: corsac-guest
Date: 2006-12-29 16:09:20 +0100 (Fri, 29 Dec 2006)
New Revision: 1029

Added:
   scripts/pbuilder-stable/
Modified:
   scripts/pbuilder-stable/pdebuild-sources.sh
   scripts/pbuilder-stable/pdebuild.conf
   scripts/pbuilder-stable/pdebuild.wrapper
Log:
build stable backports


Copied: scripts/pbuilder-stable (from rev 1026, scripts/pbuilder)

Modified: scripts/pbuilder-stable/pdebuild-sources.sh
===================================================================
--- scripts/pbuilder/pdebuild-sources.sh	2006-12-21 22:56:22 UTC (rev 1026)
+++ scripts/pbuilder-stable/pdebuild-sources.sh	2006-12-29 15:09:20 UTC (rev 1029)
@@ -20,7 +20,7 @@
 
 export PKGXFCEBASEDIR=$BASEDIR
 
-DESKTOPDIR=$BASEDIR/desktop/trunk
+DESKTOPDIR=$BASEDIR/desktop/branches/sarge-backports
 GOODIESDIR=$BASEDIR/goodies
 SCRIPTSDIR=$BASEDIR/scripts
 
@@ -39,13 +39,13 @@
 	"clean")
 		echo -n "Cleaning build tree..."
                # .log 
-               find $SCRIPTSDIR/pbuilder/xfce/log -type f \
+               find $SCRIPTSDIR/pbuilder-stable/xfce/log -type f \
                    -name '*.log' -exec rm {} \;
                # .deb
-               find $SCRIPTSDIR/pbuilder/xfce/build -type f \
+               find $SCRIPTSDIR/pbuilder-stable/xfce/build -type f \
                    -name '*.deb' -exec sudo rm {} \;
                # pbuilder dirs
-               find $SCRIPTSDIR/pbuilder/xfce/build -mindepth 1 -maxdepth 1 \
+               find $SCRIPTSDIR/pbuilder-stable/xfce/build -mindepth 1 -maxdepth 1 \
                    -type d -exec sudo rm -rf {} \;
 		echo "done."
 		exit 0
@@ -66,7 +66,7 @@
 build() {
 	pkg="$1"
 
-	if [ -f $SCRIPTSDIR/pbuilder/xfce/build/$pkg ]; then
+	if [ -f $SCRIPTSDIR/pbuilder-stable/xfce/build/$pkg ]; then
 		echo "$pkg already built, skipping"
 	else
 	
@@ -74,8 +74,8 @@
 		if [ -d "$BUILDDIR/$pkg" ];then
     			cd $BUILDDIR/$pkg
 	    		[ "$DEBUG" ] || svn-buildpackage --svn-ignore-new \
-            		--svn-builder $SCRIPTSDIR/pbuilder/pdebuild.wrapper &&
-			touch $SCRIPTSDIR/pbuilder/xfce/build/$pkg
+            		--svn-builder $SCRIPTSDIR/pbuilder-stable/pdebuild.wrapper &&
+			touch $SCRIPTSDIR/pbuilder-stable/xfce/build/$pkg
 	    		echo "done"
 		else
 			echo "'$BUILDDIR/$pkg' is not a directory" > /dev/stderr

Modified: scripts/pbuilder-stable/pdebuild.conf
===================================================================
--- scripts/pbuilder/pdebuild.conf	2006-12-21 22:56:22 UTC (rev 1026)
+++ scripts/pbuilder-stable/pdebuild.conf	2006-12-29 15:09:20 UTC (rev 1029)
@@ -2,15 +2,17 @@
 
 BASEDIR=$HOME/debian/pkg-xfce
 
-PBUILDERDIR=$BASEDIR/scripts/pbuilder/xfce
+PBUILDERDIR=$BASEDIR/scripts/pbuilder-stable/xfce
 BASETGZ=$PBUILDERDIR/base.tgz
 BUILDPLACE=$PBUILDERDIR/build
 BUILDRESULT=$PBUILDERDIR/build
+DISTRIBUTION=sarge
 
-HOOKDIR=$BASEDIR/scripts/pbuilder/hooks
+HOOKDIR=$BASEDIR/scripts/pbuilder-stable/hooks
 APTCACHE=$BUILDPLACE
 
-MIRRORSITE=http://debian.fastweb.it/debian
+MIRRORSITE=http://mirror.ipv6.ssi.corp/debian
+#MIRRORSITE=http://ftp.fr.debian.org/debian
 
 USEPROC=yes
 USEDEVPTS=yes
@@ -30,8 +32,8 @@
 	. pdebuild.conf.local
 
 else
-	if [ -f $PKGXFCEBASEDIR/scripts/pbuilder/pdebuild.conf.local ];
+	if [ -f $PBUILDERDIR/pdebuild.conf.local ];
 	then
-		. $PKGXFCEBASEDIR/scripts/pbuilder/pdebuild.conf.local
+		. $PBUILDERDIR/pdebuild.conf.local
 	fi
 fi

Modified: scripts/pbuilder-stable/pdebuild.wrapper
===================================================================
--- scripts/pbuilder/pdebuild.wrapper	2006-12-21 22:56:22 UTC (rev 1026)
+++ scripts/pbuilder-stable/pdebuild.wrapper	2006-12-29 15:09:20 UTC (rev 1029)
@@ -1,8 +1,8 @@
 #!/bin/sh
 
-D=$PKGXFCEBASEDIR/scripts/pbuilder
+D=$PKGXFCEBASEDIR/scripts/pbuilder-stable
 
 pdebuild --configfile $D/pdebuild.conf \
 	--logfile $D/xfce/log/`basename $(pwd)`-buildd.log \
 		-- --othermirror "deb file:/var/cache/apt/archives ./" \
-			--override-config --distribution unstable
+			--override-config --distribution sarge




More information about the Pkg-xfce-commits mailing list