diff options
-rwxr-xr-x | localbuild | 27 | ||||
-rwxr-xr-x | localcowbuilder-create | 20 | ||||
-rwxr-xr-x | localcowbuilder-login | 20 | ||||
-rwxr-xr-x | localcowbuilder-update | 20 | ||||
-rwxr-xr-x | localcowdebuild | 20 | ||||
-rwxr-xr-x | localdebpool | 7 | ||||
-rwxr-xr-x | localdebuild | 20 | ||||
-rwxr-xr-x | localgitcowdebuild | 20 | ||||
-rwxr-xr-x | localgitdebuild | 20 | ||||
-rwxr-xr-x | localgitpdebuild | 20 | ||||
-rwxr-xr-x | localpbuilder-create | 20 | ||||
-rwxr-xr-x | localpbuilder-login | 20 | ||||
-rwxr-xr-x | localpbuilder-update | 20 | ||||
-rwxr-xr-x | localpdebuild | 20 |
14 files changed, 271 insertions, 3 deletions
diff --git a/localbuild b/localbuild new file mode 100755 index 0000000..beade30 --- /dev/null +++ b/localbuild @@ -0,0 +1,27 @@ +#!/bin/sh +# +# Copyright © 2007-2008 Jonas Smedegaard <dr@jones.dk> +# Description: Compile Debian package with compile cache +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. +# +# Depends: ccache + +set -e + +export CCACHE_DIR="/var/cache/pbuilder/ccache" +export PATH="/var/cache/pbuilder/bin:/usr/lib/ccache:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11" +"$@" diff --git a/localcowbuilder-create b/localcowbuilder-create index 0a40f91..b4b6c8b 100755 --- a/localcowbuilder-create +++ b/localcowbuilder-create @@ -1,4 +1,24 @@ #!/bin/sh +# +# Copyright © 2006-2008 Jonas Smedegaard <dr@jones.dk> +# Description: Create Copy-On-Write environment +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. +# +# Depends: cowdancer, sudo set -e diff --git a/localcowbuilder-login b/localcowbuilder-login index b08dc33..f1cedb3 100755 --- a/localcowbuilder-login +++ b/localcowbuilder-login @@ -1,4 +1,24 @@ #!/bin/sh +# +# Copyright © 2006-2008 Jonas Smedegaard <dr@jones.dk> +# Description: Log into Copy-On-Write environment +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. +# +# Depends: cowdancer, sudo set -e diff --git a/localcowbuilder-update b/localcowbuilder-update index cf397f2..4a484f5 100755 --- a/localcowbuilder-update +++ b/localcowbuilder-update @@ -1,4 +1,24 @@ #!/bin/sh +# +# Copyright © 2006-2008 Jonas Smedegaard <dr@jones.dk> +# Description: Update Copy-On-Write environment +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. +# +# Depends: sudo set -e diff --git a/localcowdebuild b/localcowdebuild index 8a323fc..5a2e0a3 100755 --- a/localcowdebuild +++ b/localcowdebuild @@ -1,4 +1,24 @@ #!/bin/sh +# +# Copyright © 2006-2008 Jonas Smedegaard <dr@jones.dk> +# Description: Compile Debian package inside Copy-On-Write environment +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. +# +# Depends: cowdancer, devscripts set -e diff --git a/localdebpool b/localdebpool index a01abbe..2820662 100755 --- a/localdebpool +++ b/localdebpool @@ -4,7 +4,7 @@ set -e ORIGIN="Jones" LABEL="Jones" -DISTS="etch lenny sid" +DISTS="etch lenny squeeze sid" ARCHS="i386 powerpc amd64" PRVBASE=~/public_debian @@ -139,8 +139,9 @@ genrelease() { archs="$(archsfromdirs "$PRVBASE/sections"/*/"$dist")" archs="$(compactlist $archs)" case "$dist" in - etch) suite="stable";; - lenny) suite="testing";; + etch) suite="oldstable";; + lenny) suite="stable";; + squeeze) suite="testing";; sid) suite="unstable";; esac cat <<EOF > "$PUBBASE/dists/$dist/Release" diff --git a/localdebuild b/localdebuild index fb2f885..8045a7d 100755 --- a/localdebuild +++ b/localdebuild @@ -1,4 +1,24 @@ #!/bin/sh +# +# Copyright © 2007-2008 Jonas Smedegaard <dr@jones.dk> +# Description: Compile Debian package with compile cache +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. +# +# Depends: devscripts, ccache set -e diff --git a/localgitcowdebuild b/localgitcowdebuild index a8b8609..264af4d 100755 --- a/localgitcowdebuild +++ b/localgitcowdebuild @@ -1,4 +1,24 @@ #!/bin/sh +# +# Copyright © 2007-2008 Jonas Smedegaard <dr@jones.dk> +# Description: Compile Debian package from Git inside Copy-On-Write env. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. +# +# Depends: cowdancer, devscripts set -e diff --git a/localgitdebuild b/localgitdebuild index 594ea44..399a6eb 100755 --- a/localgitdebuild +++ b/localgitdebuild @@ -1,4 +1,24 @@ #!/bin/sh +# +# Copyright © 2007-2008 Jonas Smedegaard <dr@jones.dk> +# Description: Compile Debian package from Git +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. +# +# Depends: devscripts set -e diff --git a/localgitpdebuild b/localgitpdebuild index e1dbd08..d8c3c93 100755 --- a/localgitpdebuild +++ b/localgitpdebuild @@ -1,4 +1,24 @@ #!/bin/sh +# +# Copyright © 2007-2008 Jonas Smedegaard <dr@jones.dk> +# Description: Compile Debian package from Git inside pbuilder env. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. +# +# Depends: pbuilder, devscripts set -e diff --git a/localpbuilder-create b/localpbuilder-create index cde3a92..5287f52 100755 --- a/localpbuilder-create +++ b/localpbuilder-create @@ -1,4 +1,24 @@ #!/bin/sh +# +# Copyright © 2005-2008 Jonas Smedegaard <dr@jones.dk> +# Description: Create pbuilder environment +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. +# +# Depends: pbuilder, sudo set -e diff --git a/localpbuilder-login b/localpbuilder-login index 33d70f2..b00e94e 100755 --- a/localpbuilder-login +++ b/localpbuilder-login @@ -1,4 +1,24 @@ #!/bin/sh +# +# Copyright © 2006-2008 Jonas Smedegaard <dr@jones.dk> +# Description: Log into pbuilder environment +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. +# +# Depends: pbuilder, sudo set -e diff --git a/localpbuilder-update b/localpbuilder-update index 9496ab7..d56ac28 100755 --- a/localpbuilder-update +++ b/localpbuilder-update @@ -1,4 +1,24 @@ #!/bin/sh +# +# Copyright © 2005-2008 Jonas Smedegaard <dr@jones.dk> +# Description: Update pbuilder environment +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. +# +# Depends: pbuilder, sudo set -e diff --git a/localpdebuild b/localpdebuild index a7a7a27..e6365fc 100755 --- a/localpdebuild +++ b/localpdebuild @@ -1,4 +1,24 @@ #!/bin/sh +# +# Copyright © 2005-2008 Jonas Smedegaard <dr@jones.dk> +# Description: Compile Debian package inside pbuilder environment +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. +# +# Depends: pbuilder, devscripts set -e |