[27225] in Source-Commits

home help back first fref pref prev next nref lref last post

Re: /svn/athena r25970 - in trunk/debathena/scripts/build-server:

daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Sun Jun 2 18:23:52 2013

Date: Sun, 2 Jun 2013 15:23:41 -0700 (PDT)
From: Geoffrey Thomas <geofft@MIT.EDU>
To: Jonathan D Reed <jdreed@MIT.EDU>
cc: source-commits@MIT.EDU
In-Reply-To: <201305092017.r49KH26N007281@drugstore.mit.edu>
Message-ID: <alpine.DEB.2.00.1306021523260.18445@dr-wily.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

Why is this at compat level 8? I don't immediately see anything that 
wouldn't work at compat level 7.

-- 
Geoffrey Thomas
geofft@mit.edu

On Thu, 9 May 2013, Jonathan D Reed wrote:

> Author: jdreed
> Date: 2013-05-09 16:17:02 -0400 (Thu, 09 May 2013)
> New Revision: 25970
>
> Added:
>   trunk/debathena/scripts/build-server/debian/
>   trunk/debathena/scripts/build-server/debian/changelog
>   trunk/debathena/scripts/build-server/debian/compat
>   trunk/debathena/scripts/build-server/debian/control
>   trunk/debathena/scripts/build-server/debian/copyright
>   trunk/debathena/scripts/build-server/debian/debathena-build-server.install
>   trunk/debathena/scripts/build-server/debian/debathena-build-server.transform
>   trunk/debathena/scripts/build-server/debian/rules
>   trunk/debathena/scripts/build-server/debian/source/
>   trunk/debathena/scripts/build-server/debian/source/format
>   trunk/debathena/scripts/build-server/debian/transform_approx.conf
>   trunk/debathena/scripts/build-server/schroot-profile/
>   trunk/debathena/scripts/build-server/schroot-profile/config
>   trunk/debathena/scripts/build-server/schroot-profile/config-slash-run
>   trunk/debathena/scripts/build-server/schroot-profile/copyfiles
>   trunk/debathena/scripts/build-server/schroot-profile/fstab
>   trunk/debathena/scripts/build-server/schroot-profile/fstab-slash-run
>   trunk/debathena/scripts/build-server/schroot-profile/nssdatabases
> Log:
> Initial checkin of packaging for debathena-build-server
>
> Added: trunk/debathena/scripts/build-server/debian/changelog
> ===================================================================
> --- trunk/debathena/scripts/build-server/debian/changelog	                        (rev 0)
> +++ trunk/debathena/scripts/build-server/debian/changelog	2013-05-09 20:17:02 UTC (rev 25970)
> @@ -0,0 +1,5 @@
> +debathena-build-server (1.0) unstable; urgency=low
> +
> +  * Initial release (Trac: #912)
> +
> + -- Jonathan Reed <jdreed@mit.edu>  Thu, 09 May 2013 13:19:30 -0400
>
> Added: trunk/debathena/scripts/build-server/debian/compat
> ===================================================================
> --- trunk/debathena/scripts/build-server/debian/compat	                        (rev 0)
> +++ trunk/debathena/scripts/build-server/debian/compat	2013-05-09 20:17:02 UTC (rev 25970)
> @@ -0,0 +1 @@
> +8
>
> Added: trunk/debathena/scripts/build-server/debian/control
> ===================================================================
> --- trunk/debathena/scripts/build-server/debian/control	                        (rev 0)
> +++ trunk/debathena/scripts/build-server/debian/control	2013-05-09 20:17:02 UTC (rev 25970)
> @@ -0,0 +1,22 @@
> +Source: debathena-build-server
> +Section: debathena/utils
> +Priority: extra
> +Maintainer: Debathena Project <debathena@mit.edu>
> +Build-Depends: debhelper (>= 8.0.0), config-package-dev (>= 5.1.1~)
> +Standards-Version: 3.9.3
> +
> +Package: debathena-build-server
> +Architecture: all
> +Depends: debathena-archive-keyring,
> + python,
> + approx,
> + reprepro,
> + schroot,
> + screen,
> + subversion,
> + debathena-debian-dev,
> + ${misc:Depends}
> +Description: Suite of tools to create a Debathena build server
> + This package includes a set of scripts, tools, and dependencies
> + necessary to create a Debathena build server.  You probably don't
> + want this package unless you're contributing to the project.
>
> Added: trunk/debathena/scripts/build-server/debian/copyright
> ===================================================================
> --- trunk/debathena/scripts/build-server/debian/copyright	                        (rev 0)
> +++ trunk/debathena/scripts/build-server/debian/copyright	2013-05-09 20:17:02 UTC (rev 25970)
> @@ -0,0 +1,35 @@
> +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
> +
> +Files: *
> +Copyright: (c) 2007-2013 Massachusetts Institute of Technology
> +	   (c) 2008 Anders Kaseorg & Tim Abbott
> +	   (c) 2008-2010 Evan Broder
> +	   (c) 2009-2012 Geoffrey Thomas
> +	   (c) 2008 Liz Denys
> +License: BSD-3-clause
> + Redistribution and use in source and binary forms, with or without
> + modification, are permitted provided that the following conditions are
> + met:
> +    * Redistributions of source code must retain the above copyright
> +      notice, this list of conditions and the following disclaimer.
> +    * Redistributions in binary form must reproduce the above
> +      copyright notice, this list of conditions and the following
> +      disclaimer in the documentation and/or other materials provided
> +      with the distribution.
> +    * Neither the name of the Massachusetts Institute of Technology
> +      nor the names of its contributors may be used to endorse or
> +      promote products derived from this software without specific
> +      prior written permission.
> + .
> + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
> + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
> + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
> + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MASSACHUSETTS
> + INSTITUTE OF TECHNOLOGY BE LIABLE FOR ANY DIRECT, INDIRECT,
> + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
> + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
> + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
> + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
> + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
> + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
> + DAMAGE.
>
> Added: trunk/debathena/scripts/build-server/debian/debathena-build-server.install
> ===================================================================
> --- trunk/debathena/scripts/build-server/debian/debathena-build-server.install	                        (rev 0)
> +++ trunk/debathena/scripts/build-server/debian/debathena-build-server.install	2013-05-09 20:17:02 UTC (rev 25970)
> @@ -0,0 +1,10 @@
> +make-chroot usr/sbin
> +gen-distributions usr/lib/debathena-build-server
> +policy-rc.d usr/share/debathena-build-server
> +dot-devscripts usr/share/debathena-build-server
> +dot-sbuildrc usr/share/debathena-build-server
> +sources.list.d/* usr/share/debathena-build-server/sources.list.d
> +build-all/do-build usr/lib/debathena-build-server/do-build
> +build-all/gen-build-deps usr/lib/debathena-build-server/do-build
> +build-all/Makefile usr/share/debathena-build-sever/build-all
> +schroot-profile/* etc/schroot/debathena
>
> Added: trunk/debathena/scripts/build-server/debian/debathena-build-server.transform
> ===================================================================
> --- trunk/debathena/scripts/build-server/debian/debathena-build-server.transform	                        (rev 0)
> +++ trunk/debathena/scripts/build-server/debian/debathena-build-server.transform	2013-05-09 20:17:02 UTC (rev 25970)
> @@ -0,0 +1,5 @@
> +# -*- mode: text; fill-column: 10000 -*-
> +# Patch pam's schroot configuration, to avoid running common-session
> +# because AFS PAGs
> +/etc/pam.d/schroot.debathena sed -e 's/^\(@include common-session\)$/# \1\nsession required pam_unix.so/'
> +/etc/approx/approx.conf.debathena debian/transform_approx.conf
>
> Added: trunk/debathena/scripts/build-server/debian/rules
> ===================================================================
> --- trunk/debathena/scripts/build-server/debian/rules	                        (rev 0)
> +++ trunk/debathena/scripts/build-server/debian/rules	2013-05-09 20:17:02 UTC (rev 25970)
> @@ -0,0 +1,4 @@
> +#!/usr/bin/make -f
> +
> +%:
> +	dh $@ --with=config-package
>
>
> Property changes on: trunk/debathena/scripts/build-server/debian/rules
> ___________________________________________________________________
> Added: svn:executable
>   + *
>
> Added: trunk/debathena/scripts/build-server/debian/source/format
> ===================================================================
> --- trunk/debathena/scripts/build-server/debian/source/format	                        (rev 0)
> +++ trunk/debathena/scripts/build-server/debian/source/format	2013-05-09 20:17:02 UTC (rev 25970)
> @@ -0,0 +1 @@
> +3.0 (native)
>
> Added: trunk/debathena/scripts/build-server/debian/transform_approx.conf
> ===================================================================
> --- trunk/debathena/scripts/build-server/debian/transform_approx.conf	                        (rev 0)
> +++ trunk/debathena/scripts/build-server/debian/transform_approx.conf	2013-05-09 20:17:02 UTC (rev 25970)
> @@ -0,0 +1,12 @@
> +#!/bin/sh
> +cat
> +cat <<EOF
> +
> +#debian          http://debian.lcs.mit.edu/debian
> +debian		 http://mirrors.mit.edu/debian
> +debian-security http://security.us.debian.org
> +#ubuntu          http://archive.ubuntu.com/ubuntu
> +ubuntu		 http://mirrors.mit.edu/ubuntu
> +ubuntu-security http://security.ubuntu.com/ubuntu
> +debathena       http://debathena.mit.edu/apt
> +EOF
>
>
> Property changes on: trunk/debathena/scripts/build-server/debian/transform_approx.conf
> ___________________________________________________________________
> Added: svn:executable
>   + *
>
> Added: trunk/debathena/scripts/build-server/schroot-profile/config
> ===================================================================
> --- trunk/debathena/scripts/build-server/schroot-profile/config	                        (rev 0)
> +++ trunk/debathena/scripts/build-server/schroot-profile/config	2013-05-09 20:17:02 UTC (rev 25970)
> @@ -0,0 +1,15 @@
> +# The debathena schroot profile is largely based on the "default"
> +# profile.  The major difference is an fstab entry that bind-mounts
> +# /afs
> +# See schroot.conf(5) and schroot-script-config(5) for further details.
> +# The files detailed below may also be edited to further customise
> +# this profile.
> +
> +# Filesystems to mount inside the chroot.
> +FSTAB="/etc/schroot/default/fstab"
> +
> +# Files to copy from the host system into the chroot.
> +COPYFILES="/etc/schroot/default/copyfiles"
> +
> +# System NSS databases to copy into the chroot.
> +NSSDATABASES="/etc/schroot/default/nssdatabases"
>
> Added: trunk/debathena/scripts/build-server/schroot-profile/config-slash-run
> ===================================================================
> --- trunk/debathena/scripts/build-server/schroot-profile/config-slash-run	                        (rev 0)
> +++ trunk/debathena/scripts/build-server/schroot-profile/config-slash-run	2013-05-09 20:17:02 UTC (rev 25970)
> @@ -0,0 +1,15 @@
> +# The debathena schroot profile is largely based on the "default"
> +# profile.  The major difference is an fstab entry that bind-mounts
> +# /afs, and also in this case bind-mounts /dev/shm to the right place
> +# See schroot.conf(5) and schroot-script-config(5) for further details.
> +# The files detailed below may also be edited to further customise
> +# this profile.
> +
> +# Filesystems to mount inside the chroot.
> +FSTAB="/etc/schroot/default/fstab-slash-run"
> +
> +# Files to copy from the host system into the chroot.
> +COPYFILES="/etc/schroot/default/copyfiles"
> +
> +# System NSS databases to copy into the chroot.
> +NSSDATABASES="/etc/schroot/default/nssdatabases"
>
> Added: trunk/debathena/scripts/build-server/schroot-profile/copyfiles
> ===================================================================
> --- trunk/debathena/scripts/build-server/schroot-profile/copyfiles	                        (rev 0)
> +++ trunk/debathena/scripts/build-server/schroot-profile/copyfiles	2013-05-09 20:17:02 UTC (rev 25970)
> @@ -0,0 +1,5 @@
> +# Files to copy into the chroot from the host system.
> +#
> +# <source and destination>
> +/etc/resolv.conf
> +/etc/gshadow
>
> Added: trunk/debathena/scripts/build-server/schroot-profile/fstab
> ===================================================================
> --- trunk/debathena/scripts/build-server/schroot-profile/fstab	                        (rev 0)
> +++ trunk/debathena/scripts/build-server/schroot-profile/fstab	2013-05-09 20:17:02 UTC (rev 25970)
> @@ -0,0 +1,23 @@
> +# fstab: static file system information for chroots.
> +# Note that the mount point will be prefixed by the chroot path
> +# (CHROOT_PATH)
> +#
> +# <file system>	<mount point>	<type>	<options>	<dump>	<pass>
> +/proc           /proc           none    rw,bind        0       0
> +/sys            /sys            none    rw,bind        0       0
> +/dev            /dev            none    rw,bind         0       0
> +/dev/shm        /dev/shm        none    rw,bind         0       0
> +/dev/pts        /dev/pts        none    rw,bind         0       0
> +/home           /home           none    rw,bind         0       0
> +/tmp            /tmp            none    rw,bind         0       0
> +# Following line added by Debathena
> +/afs            /afs            none    rw,bind         0       0
> +
> +# It may be desirable to have access to /run, especially if you wish
> +# to run additional services in the chroot.  However, note that this
> +# may potentially cause undesirable behaviour on upgrades, such as
> +# killing services on the host.
> +#/run		/run		none	rw,bind		0	0
> +#/run/lock	/run/lock	none	rw,bind		0	0
> +#/dev/shm	/dev/shm	none	rw,bind		0	0
> +#/run/shm	/run/shm	none	rw,bind		0	0
>
> Added: trunk/debathena/scripts/build-server/schroot-profile/fstab-slash-run
> ===================================================================
> --- trunk/debathena/scripts/build-server/schroot-profile/fstab-slash-run	                        (rev 0)
> +++ trunk/debathena/scripts/build-server/schroot-profile/fstab-slash-run	2013-05-09 20:17:02 UTC (rev 25970)
> @@ -0,0 +1,23 @@
> +# fstab: static file system information for chroots.
> +# Note that the mount point will be prefixed by the chroot path
> +# (CHROOT_PATH)
> +#
> +# <file system>	<mount point>	<type>	<options>	<dump>	<pass>
> +/proc           /proc           none    rw,bind        0       0
> +/sys            /sys            none    rw,bind        0       0
> +/dev            /dev            none    rw,bind         0       0
> +/dev/pts        /dev/pts        none    rw,bind         0       0
> +/dev/shm        /run/shm        none    rw,bind         0       0
> +/home           /home           none    rw,bind         0       0
> +/tmp            /tmp            none    rw,bind         0       0
> +# Following line added by Debathena
> +/afs            /afs            none    rw,bind         0       0
> +
> +# It may be desirable to have access to /run, especially if you wish
> +# to run additional services in the chroot.  However, note that this
> +# may potentially cause undesirable behaviour on upgrades, such as
> +# killing services on the host.
> +#/run		/run		none	rw,bind		0	0
> +#/run/lock	/run/lock	none	rw,bind		0	0
> +#/dev/shm	/dev/shm	none	rw,bind		0	0
> +#/run/shm	/run/shm	none	rw,bind		0	0
>
> Added: trunk/debathena/scripts/build-server/schroot-profile/nssdatabases
> ===================================================================
> --- trunk/debathena/scripts/build-server/schroot-profile/nssdatabases	                        (rev 0)
> +++ trunk/debathena/scripts/build-server/schroot-profile/nssdatabases	2013-05-09 20:17:02 UTC (rev 25970)
> @@ -0,0 +1,10 @@
> +# System databases to copy into the chroot from the host system.
> +#
> +# <database name>
> +passwd
> +shadow
> +group
> +services
> +protocols
> +networks
> +hosts
>
>

home help back first fref pref prev next nref lref last post