Skip to content

Commit 807cac4

Browse files
committed
Copy examples/cdbs/* to examples/debhelper/* unmodified
These are converted to Debhelper in the next commit.
1 parent 8fd1f27 commit 807cac4

39 files changed

Lines changed: 427 additions & 0 deletions
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
debathena-bin-example (1.0) unstable; urgency=low
2+
3+
* Initial release.
4+
5+
-- Tim Abbott <tabbott@mit.edu> Sun, 13 Jul 2008 00:37:03 -0400
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Source: debathena-bin-example
2+
Section: config
3+
Priority: extra
4+
Maintainer: Tim Abbott <tabbott@mit.edu>
5+
Build-Depends: cdbs,
6+
debhelper,
7+
dh-buildinfo,
8+
config-package-dev (>= 4.5~)
9+
Standards-Version: 3.8.0
10+
11+
Package: debathena-bin-example
12+
Architecture: all
13+
Depends: ${misc:Depends}, elinks, less
14+
Provides: ${diverted-files}
15+
Conflicts: ${diverted-files}
16+
Description: Example config-package-dev package
17+
This is an example config-package-dev package.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Source: debathena-bin-example
2+
Section: config
3+
Priority: extra
4+
Maintainer: Tim Abbott <tabbott@mit.edu>
5+
Build-Depends: @cdbs@
6+
Standards-Version: 3.8.0
7+
8+
Package: debathena-bin-example
9+
Architecture: all
10+
Depends: ${misc:Depends}, elinks, less
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: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Example config-package-dev package.
2+
3+
Author: Tim Abbott <tabbott@mit.edu>
4+
5+
Copyright © 2008 Tim Abbott <tabbott@mit.edu>
6+
7+
Permission is hereby granted, free of charge, to any person obtaining
8+
a copy of this software and associated documentation files (the
9+
"Software"), to deal in the Software without restriction, including
10+
without limitation the rights to use, copy, modify, merge, publish,
11+
distribute, sublicense, and/or sell copies of the Software, and to
12+
permit persons to whom the Software is furnished to do so, subject to
13+
the following conditions:
14+
15+
The above copyright notice and this permission notice shall be
16+
included in all copies or substantial portions of the Software.
17+
18+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
22+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
24+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
debian/elinks.debathena usr/bin
2+
debian/less.debathena usr/bin
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/sh
2+
# Wrapper to make elinks put its UNIX sockets under /tmp rather than in $HOME.
3+
# Works around <http://bugs.debian.org/460336>.
4+
TMPDIR=mktemp -d
5+
export ELINKS_CONFDIR=$TMPDIR
6+
exec elinks.debathena-orig "$@"x
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
# Wrapper to make less read tarballs and so on.
3+
eval $(lesspipe)
4+
exec less.debathena-orig "$@"
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/usr/bin/make -f
2+
3+
DEB_DISPLACE_EXTENSION = .debathena
4+
# Install wrapper scripts for /usr/bin/elinks and /usr/bin/less
5+
DEB_DISPLACE_FILES_debathena-bin-example += \
6+
/usr/bin/elinks.debathena \
7+
/usr/bin/less.debathena
8+
9+
# If these had materially different behavior from the original
10+
# versions, one might displace the man pages as well
11+
DEB_DISPLACE_FILES_debathena-bin-example += /usr/share/man/man1/elinks.debathena.1.gz
12+
DEB_DISPLACE_FILES_debathena-bin-example += /usr/share/man/man1/less.debathena.1.gz
13+
14+
# This isn't config-package-dev specific, but we may want to install symlinks instead.
15+
DEB_DH_LINK_debathena-bin-example += \
16+
/usr/share/man/man1/elinks.debathena-orig.1.gz /usr/share/man/man1/elinks.debathena.1.gz \
17+
/usr/share/man/man1/less.debathena-orig.1.gz /usr/share/man/man1/less.debathena.1.gz
18+
19+
include /usr/share/cdbs/1/rules/debhelper.mk
20+
include /usr/share/cdbs/1/rules/config-package.mk
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
debathena-bin-example (1.1) unstable; urgency=low
2+
3+
* suppose elinks bug is fixed; stop displacing elinks.
4+
5+
-- Tim Abbott <tabbott@mit.edu> Sun, 13 Jul 2008 02:06:39 -0400
6+
7+
debathena-bin-example (1.0) unstable; urgency=low
8+
9+
* Initial release.
10+
11+
-- Tim Abbott <tabbott@mit.edu> Sun, 13 Jul 2008 00:37:03 -0400

0 commit comments

Comments
 (0)