Skip to content

Commit 294ca5c

Browse files
committed
Add debathena-conffile-example 1.1, with a conditional transformation.
1 parent d78bb0a commit 294ca5c

10 files changed

Lines changed: 72 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
debathena-conffile-example (1.1) unstable; urgency=low
2+
3+
* Remove /etc/sysctl.d/10-ptrace.conf if it exists. Once again,
4+
convenience trumps security.
5+
6+
-- Geoffrey Thomas <geofft@mit.edu> Thu, 13 Dec 2012 16:46:39 -0800
7+
8+
debathena-conffile-example (1.0) unstable; urgency=low
9+
10+
* Initial release.
11+
12+
-- Geoffrey Thomas <geofft@mit.edu> Wed, 08 Aug 2012 18:37:54 -0700
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
7
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Source: debathena-conffile-example
2+
Section: config
3+
Priority: extra
4+
Maintainer: Geoffrey Thomas <geofft@mit.edu>
5+
Build-Depends: debhelper (>= 7.0.50~), config-package-dev (>= 4.15~)
6+
Standards-Version: 3.9.2
7+
8+
Package: debathena-conffile-example
9+
Architecture: all
10+
Depends: ${misc:Depends}
11+
Provides: ${diverted-files}
12+
Conflicts: ${diverted-files}
13+
Description: Example config-package-dev package
14+
This is an example config-package-dev package.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Example config-package-dev package.
2+
3+
Author: Tim Abbott <tabbott@mit.edu>
4+
5+
Copyright © 2008 Tim Abbott <tabbott@mit.edu>
6+
Copyright © 2012 Geoffrey Thomas <geofft@mit.edu>
7+
8+
Permission is hereby granted, free of charge, to any person obtaining
9+
a copy of this software and associated documentation files (the
10+
"Software"), to deal in the Software without restriction, including
11+
without limitation the rights to use, copy, modify, merge, publish,
12+
distribute, sublicense, and/or sell copies of the Software, and to
13+
permit persons to whom the Software is furnished to do so, subject to
14+
the following conditions:
15+
16+
The above copyright notice and this permission notice shall be
17+
included in all copies or substantial portions of the Software.
18+
19+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
20+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
22+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
23+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
24+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
25+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/etc/issue.net.debathena
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
files/* /
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/make -f
2+
3+
%:
4+
dh $@ --with config-package
5+
6+
override_dh_configpackage:
7+
dh_configpackage
8+
ifneq ($(wildcard /etc/sysctl.d/10-ptrace.conf),)
9+
dh_configpackage --hide /etc/sysctl.d/10-ptrace.conf
10+
endif
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0 (native)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/sh
2+
3+
cat
4+
echo
5+
echo "Use of Athena facilities is restricted to authorized holders of Athena"
6+
echo "accounts (MIT students, faculty, staff, and other authorized guests.)"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Debian Linux running debathena-conffile-example version 1.0

0 commit comments

Comments
 (0)