[25428] in Source-Commits

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

Re: /svn/athena r24974 - in trunk/debathena/config: . license-config license-config/debian

daemon@ATHENA.MIT.EDU (Jonathan Reed)
Wed Feb 23 14:31:23 2011

Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Apple Message framework v1082)
From: Jonathan Reed <jdreed@MIT.EDU>
In-Reply-To: <201102231926.p1NJQ9Mu028970@drugstore.mit.edu>
Date: Wed, 23 Feb 2011 14:31:16 -0500
Message-Id: <2EAFA5C9-CD64-426F-8799-E18439E52284@mit.edu>
To: source-commits@mit.edu
Content-Transfer-Encoding: 8bit

So, this isn't finished yet, because for some packages (ttf-mscorefonts-installer, for example), we need to kick them after installation.  However, presumably it's wrong to unconditionally dpkg-reconfigure every package for which we installed a license.  Feedback would be appreciated

-Jon

On Feb 23, 2011, at 2:26 PM, Jonathan D Reed wrote:

> Author: jdreed
> Date: 2011-02-23 14:26:09 -0500 (Wed, 23 Feb 2011)
> New Revision: 24974
> 
> Added:
>   trunk/debathena/config/license-config/
>   trunk/debathena/config/license-config/debian/
>   trunk/debathena/config/license-config/debian/README
>   trunk/debathena/config/license-config/debian/changelog
>   trunk/debathena/config/license-config/debian/compat
>   trunk/debathena/config/license-config/debian/control.in
>   trunk/debathena/config/license-config/debian/copyright
>   trunk/debathena/config/license-config/debian/debathena-license-config.docs
>   trunk/debathena/config/license-config/debian/debathena-license-config.install
>   trunk/debathena/config/license-config/debian/debathena-license-config.postinst
>   trunk/debathena/config/license-config/debian/debathena-license-selections
>   trunk/debathena/config/license-config/debian/rules
> Log:
> Add debathena-license-config
> 
> Added: trunk/debathena/config/license-config/debian/README
> ===================================================================
> --- trunk/debathena/config/license-config/debian/README	                        (rev 0)
> +++ trunk/debathena/config/license-config/debian/README	2011-02-23 19:26:09 UTC (rev 24974)
> @@ -0,0 +1,9 @@
> +The debathena-license-config package agrees to certain EULAs on behalf
> +of users so that updates may happen without human intervention.
> +
> +For more information on the licenses in question, see
> +http://debathena.mit.edu/licensing
> +
> +Users who are familiar with debconf may examine
> +/usr/share/debathena-license-config/debathena-license-selections to
> +see exactly what values are stored.
> 
> Added: trunk/debathena/config/license-config/debian/changelog
> ===================================================================
> --- trunk/debathena/config/license-config/debian/changelog	                        (rev 0)
> +++ trunk/debathena/config/license-config/debian/changelog	2011-02-23 19:26:09 UTC (rev 24974)
> @@ -0,0 +1,5 @@
> +debathena-license-config (1.0) unstable; urgency=low
> +
> +  * Initial release.
> +
> + -- Jonathan Reed <jdreed@mit.edu>  Wed, 16 Feb 2011 13:14:23 -0500
> 
> Added: trunk/debathena/config/license-config/debian/compat
> ===================================================================
> --- trunk/debathena/config/license-config/debian/compat	                        (rev 0)
> +++ trunk/debathena/config/license-config/debian/compat	2011-02-23 19:26:09 UTC (rev 24974)
> @@ -0,0 +1 @@
> +5
> 
> Added: trunk/debathena/config/license-config/debian/control.in
> ===================================================================
> --- trunk/debathena/config/license-config/debian/control.in	                        (rev 0)
> +++ trunk/debathena/config/license-config/debian/control.in	2011-02-23 19:26:09 UTC (rev 24974)
> @@ -0,0 +1,13 @@
> +Source: debathena-license-config
> +Section: debathena-config/net
> +Priority: extra
> +Maintainer: Debathena Project <debathena@mit.edu>
> +Build-Depends: @cdbs@
> +Standards-Version: 3.8.4
> +
> +Package: debathena-license-config
> +Architecture: all
> +Depends: ${misc:Depends}, debconf
> +Description: Accept certain third party licenses on behalf of the user
> + This package accepts certain EULAs on behalf of the user.  See the
> + package's README file for more information.
> 
> Added: trunk/debathena/config/license-config/debian/copyright
> ===================================================================
> --- trunk/debathena/config/license-config/debian/copyright	                        (rev 0)
> +++ trunk/debathena/config/license-config/debian/copyright	2011-02-23 19:26:09 UTC (rev 24974)
> @@ -0,0 +1,23 @@
> +This package was created as part of the Debathena Project
> +<http://debathena.mit.edu/>, a joint effort between MIT IS&T and the
> +MIT Student Information Processing Board.
> +
> +The Athena source code was obtained from the Athena SVN repository at
> +<svn://debathena.mit.edu/athena/trunk>, and is licensed as follows:
> +
> +  Copyright © 2011 by the Massachusetts Institute of Technology.
> +
> +  Permission to use, copy, modify, and distribute this
> +  software and its documentation for any purpose and without
> +  fee is hereby granted, provided that the above copyright
> +  notice appear in all copies and that both that copyright
> +  notice and this permission notice appear in supporting
> +  documentation, and that the name of M.I.T. not be used in
> +  advertising or publicity pertaining to distribution of the
> +  software without specific, written prior permission.
> +  M.I.T. makes no representations about the suitability of
> +  this software for any purpose.  It is provided "as is"
> +  without express or implied warranty.
> +
> +The Debian packaging is Copyright © 2011 M.I.T., and has the same
> +license as the original software.
> 
> Added: trunk/debathena/config/license-config/debian/debathena-license-config.docs
> ===================================================================
> --- trunk/debathena/config/license-config/debian/debathena-license-config.docs	                        (rev 0)
> +++ trunk/debathena/config/license-config/debian/debathena-license-config.docs	2011-02-23 19:26:09 UTC (rev 24974)
> @@ -0,0 +1 @@
> +debian/README
> 
> Added: trunk/debathena/config/license-config/debian/debathena-license-config.install
> ===================================================================
> --- trunk/debathena/config/license-config/debian/debathena-license-config.install	                        (rev 0)
> +++ trunk/debathena/config/license-config/debian/debathena-license-config.install	2011-02-23 19:26:09 UTC (rev 24974)
> @@ -0,0 +1 @@
> +debian/debathena-license-selections usr/share/debathena-license-config
> 
> Added: trunk/debathena/config/license-config/debian/debathena-license-config.postinst
> ===================================================================
> --- trunk/debathena/config/license-config/debian/debathena-license-config.postinst	                        (rev 0)
> +++ trunk/debathena/config/license-config/debian/debathena-license-config.postinst	2011-02-23 19:26:09 UTC (rev 24974)
> @@ -0,0 +1,40 @@
> +#!/bin/sh
> +# postinst script for debathena-license-config
> +#
> +# see: dh_installdeb(1)
> +
> +set -e
> +
> +# summary of how this script can be called:
> +#        * <postinst> `configure' <most-recently-configured-version>
> +#        * <old-postinst> `abort-upgrade' <new version>
> +#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
> +#          <new-version>
> +#        * <postinst> `abort-remove'
> +#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
> +#          <failed-install-package> <version> `removing'
> +#          <conflicting-package> <version>
> +# for details, see http://www.debian.org/doc/debian-policy/ or
> +# the debian-policy package
> +
> +
> +case "$1" in
> +    configure)
> +	debconf-set-selections /usr/share/debathena-license-config/debathena-license-selections
> +    ;;
> +
> +    abort-upgrade|abort-remove|abort-deconfigure)
> +    ;;
> +
> +    *)
> +        echo "postinst called with unknown argument \`$1'" >&2
> +        exit 1
> +    ;;
> +esac
> +
> +# dh_installdeb will replace this with shell code automatically
> +# generated by other debhelper scripts.
> +
> +#DEBHELPER#
> +
> +exit 0
> 
> Added: trunk/debathena/config/license-config/debian/debathena-license-selections
> ===================================================================
> --- trunk/debathena/config/license-config/debian/debathena-license-selections	                        (rev 0)
> +++ trunk/debathena/config/license-config/debian/debathena-license-selections	2011-02-23 19:26:09 UTC (rev 24974)
> @@ -0,0 +1,2 @@
> +sun-java6-bin shared/accepted-sun-dlj-v1-1 boolean true
> +ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula boolean true
> 
> Added: trunk/debathena/config/license-config/debian/rules
> ===================================================================
> --- trunk/debathena/config/license-config/debian/rules	                        (rev 0)
> +++ trunk/debathena/config/license-config/debian/rules	2011-02-23 19:26:09 UTC (rev 24974)
> @@ -0,0 +1,3 @@
> +#!/usr/bin/make -f
> +
> +include /usr/share/cdbs/1/rules/debhelper.mk
> 
> 
> Property changes on: trunk/debathena/config/license-config/debian/rules
> ___________________________________________________________________
> Added: svn:executable
>   + *
> 



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