[24164] in Source-Commits
/svn/athena r23765 - in trunk/debathena/meta: . maybe-apparmor maybe-apparmor/debian
daemon@ATHENA.MIT.EDU (Evan Broder)
Thu Apr 30 07:44:37 2009
Date: Thu, 30 Apr 2009 07:44:24 -0400
From: Evan Broder <broder@MIT.EDU>
Message-Id: <200904301144.n3UBiOFT029137@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: broder
Date: 2009-04-30 07:44:24 -0400 (Thu, 30 Apr 2009)
New Revision: 23765
Added:
trunk/debathena/meta/maybe-apparmor/
trunk/debathena/meta/maybe-apparmor/debian/
trunk/debathena/meta/maybe-apparmor/debian/changelog
trunk/debathena/meta/maybe-apparmor/debian/compat
trunk/debathena/meta/maybe-apparmor/debian/control.in
trunk/debathena/meta/maybe-apparmor/debian/copyright
trunk/debathena/meta/maybe-apparmor/debian/rules
Log:
Create debathena-maybe-apparmor package as part of fixing Trac #174.
Added: trunk/debathena/meta/maybe-apparmor/debian/changelog
===================================================================
--- trunk/debathena/meta/maybe-apparmor/debian/changelog 2009-04-30 11:26:52 UTC (rev 23764)
+++ trunk/debathena/meta/maybe-apparmor/debian/changelog 2009-04-30 11:44:24 UTC (rev 23765)
@@ -0,0 +1,5 @@
+debathena-maybe-apparmor (1.0) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Evan Broder <broder@mit.edu> Thu, 30 Apr 2009 07:28:18 -0400
Added: trunk/debathena/meta/maybe-apparmor/debian/compat
===================================================================
--- trunk/debathena/meta/maybe-apparmor/debian/compat 2009-04-30 11:26:52 UTC (rev 23764)
+++ trunk/debathena/meta/maybe-apparmor/debian/compat 2009-04-30 11:44:24 UTC (rev 23765)
@@ -0,0 +1 @@
+4
Added: trunk/debathena/meta/maybe-apparmor/debian/control.in
===================================================================
--- trunk/debathena/meta/maybe-apparmor/debian/control.in 2009-04-30 11:26:52 UTC (rev 23764)
+++ trunk/debathena/meta/maybe-apparmor/debian/control.in 2009-04-30 11:44:24 UTC (rev 23765)
@@ -0,0 +1,13 @@
+Source: debathena-maybe-apparmor
+Section: debathena/admin
+Priority: extra
+Maintainer: Debathena Project <debathena@mit.edu>
+Build-Depends: @cdbs@
+Standards-Version: 3.8.0
+
+Package: debathena-maybe-apparmor
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${debathena-maybe-apparmor-depends}
+Description: Metapackage for apparmor
+ This package depends on apparmor if it's available on this
+ platform. It is otherwise empty, so you may safely remove it.
Added: trunk/debathena/meta/maybe-apparmor/debian/copyright
===================================================================
--- trunk/debathena/meta/maybe-apparmor/debian/copyright 2009-04-30 11:26:52 UTC (rev 23764)
+++ trunk/debathena/meta/maybe-apparmor/debian/copyright 2009-04-30 11:44:24 UTC (rev 23765)
@@ -0,0 +1,31 @@
+This package was created as part of the Debathena Project
+<http://debathena.mit.edu/> of the MIT Student Information Processing
+Board.
+
+The source code was obtained from the Athena SVN repository at
+<svn://debathena.mit.edu/athena/trunk>, and is licensed as follows:
+
+ Copyright © 2009 Evan Broder
+
+ Permission is hereby granted, free of charge, to any person
+ obtaining a copy of this software and associated documentation files
+ (the "Software"), to deal in the Software without restriction,
+ including without limitation the rights to use, copy, modify, merge,
+ publish, distribute, sublicense, and/or sell copies of the Software,
+ and to permit persons to whom the Software is furnished to do so,
+ subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
+
+The Debian packaging is Copyright © 2009 Evan Broder, and has the same
+license as the original software.
Added: trunk/debathena/meta/maybe-apparmor/debian/rules
===================================================================
--- trunk/debathena/meta/maybe-apparmor/debian/rules 2009-04-30 11:26:52 UTC (rev 23764)
+++ trunk/debathena/meta/maybe-apparmor/debian/rules 2009-04-30 11:44:24 UTC (rev 23765)
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+HAVE_APPARMOR = $(shell apt-cache show apparmor >/dev/null 2>/dev/null && echo yes)
+
+ifneq (,$(HAVE_APPARMOR))
+binary-predeb/debathena-maybe-apparmor:: debathena-maybe-apparmor-substvars
+
+debathena-maybe-apparmor-substvars::
+ ( \
+ echo -n "debathena-maybe-apparmor-depends="; \
+ echo -n "apparmor"; \
+ echo \
+ ) >>debian/debathena-maybe-apparmor.substvars
+endif
Property changes on: trunk/debathena/meta/maybe-apparmor/debian/rules
___________________________________________________________________
Name: svn:executable
+ *