Skip to content

Commit 4f3ee67

Browse files
committed
first commit
0 parents  commit 4f3ee67

File tree

12 files changed

+136
-0
lines changed

12 files changed

+136
-0
lines changed

Diff for: debian/changelog

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
yavdr-conffiles (0.0.1-1yavdr1~oneiric) oneiric; urgency=medium
2+
3+
* Initial release
4+
5+
-- Gerald Dachs <[email protected]> Sat, 28 Jan 2012 19:41:59 +0100

Diff for: debian/compat

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
8

Diff for: debian/control

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Source: yavdr-conffiles
2+
Section: misc
3+
Priority: extra
4+
Maintainer: Gerald Dachs <[email protected]>
5+
Build-Depends: debhelper (>= 8.0.0)
6+
Standards-Version: 3.9.2
7+
#Vcs-Git: git://git.debian.org/collab-maint/override-test-divert.git
8+
#Vcs-Browser: http://git.debian.org/?p=collab-maint/override-test-divert.git;a=summary
9+
10+
Package: override-test-divert
11+
Architecture: any
12+
Depends: ${shlibs:Depends}, ${misc:Depends}
13+
Description: conffiles that yavdr overrides
14+
conffiles that yavdr overrides

Diff for: debian/copyright

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
Format: http://dep.debian.net/deps/dep5
2+
Upstream-Name: override-test-divert
3+
Source: <url://example.com>
4+
5+
Files: *
6+
Copyright: <years> <put author's name and email here>
7+
<years> <likewise for another author>
8+
License: <special license>
9+
<Put the license of the package here indented by 1 space>
10+
<This follows the format of Description: lines in control file>
11+
.
12+
<Including paragraphs>
13+
14+
# If you want to use GPL v2 or later for the /debian/* files use
15+
# the following clauses, or change it to suit. Delete these two lines
16+
Files: debian/*
17+
Copyright: 2012 Gerald Dachs <[email protected]>
18+
License: GPL-2+
19+
This package is free software; you can redistribute it and/or modify
20+
it under the terms of the GNU General Public License as published by
21+
the Free Software Foundation; either version 2 of the License, or
22+
(at your option) any later version.
23+
.
24+
This package is distributed in the hope that it will be useful,
25+
but WITHOUT ANY WARRANTY; without even the implied warranty of
26+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27+
GNU General Public License for more details.
28+
.
29+
You should have received a copy of the GNU General Public License
30+
along with this program. If not, see <http://www.gnu.org/licenses/>
31+
.
32+
On Debian systems, the complete text of the GNU General
33+
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
34+
35+
# Please also look if there are files or directories which have a
36+
# different copyright/license attached and list them here.

Diff for: debian/files

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
override-test-divert_0.0.1-1yavdr1~oneiric_amd64.deb misc extra

Diff for: debian/install

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
etc

Diff for: debian/patches/debian-changes-0.0.1-1yavdr1~oneiric

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Description: Upstream changes introduced in version 0.0.1-1yavdr1~oneiric
2+
This patch has been created by dpkg-source during the package build.
3+
Here's the last changelog entry, hopefully it gives details on why
4+
those changes were made:
5+
.
6+
override-test-divert (0.0.1-1yavdr1~oneiric) oneiric; urgency=medium
7+
.
8+
* Initial release
9+
.
10+
The person named in the Author field signed this changelog entry.
11+
Author: Gerald Dachs <[email protected]>
12+
13+
---
14+
The information above should follow the Patch Tagging Guidelines, please
15+
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
16+
are templates for supplementary fields that you might want to add:
17+
18+
Origin: <vendor|upstream|other>, <url of original patch>
19+
Bug: <url in upstream bugtracker>
20+
Bug-Debian: http://bugs.debian.org/<bugnumber>
21+
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
22+
Forwarded: <no|not-needed|url proving that it has been forwarded>
23+
Reviewed-By: <name and email of someone who approved the patch>
24+
Last-Update: <YYYY-MM-DD>
25+
26+
--- /dev/null
27+
+++ override-test-divert-0.0.1/etc/yavdr/conffiles/etc/test-divert.conf
28+
@@ -0,0 +1 @@
29+
+# replaced by yavdr

Diff for: debian/patches/series

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
debian-changes-0.0.1-1yavdr1~oneiric

Diff for: debian/postinst

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/sh
2+
set -e
3+
PKG=yavdr-conffiles
4+
5+
CONFFILES=
6+
if [ "$1" = configure ] ; then
7+
for f in $CONFFILES
8+
do
9+
dpkg-divert --add --package ${PKG} --rename \
10+
--divert $f.distrib $f
11+
[ \! -e $f -o -L $f ] && ln -sf /etc/yavdr/conffiles$f $f
12+
done
13+
fi
14+
#DEBHELPER#
15+
exit 0

Diff for: debian/prerm

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/sh
2+
set -e
3+
PKG=yavdr-conffiles
4+
5+
CONFFILES=
6+
if [ "$1" = remove ] ; then
7+
for f in $CONFFILES
8+
do
9+
[ -L $f ] && rm $f
10+
dpkg-divert --remove --package ${PKG} --rename \
11+
--divert $f.distrib $f
12+
done
13+
fi
14+
#DEBHELPER#
15+
exit 0

Diff for: debian/rules

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/make -f
2+
# -*- makefile -*-
3+
# Sample debian/rules that uses debhelper.
4+
# This file was originally written by Joey Hess and Craig Small.
5+
# As a special exception, when this file is copied by dh-make into a
6+
# dh-make output file, you may use that output file without restriction.
7+
# This special exception was added by Craig Small in version 0.37 of dh-make.
8+
9+
# Uncomment this to turn on verbose mode.
10+
#export DH_VERBOSE=1
11+
12+
%:
13+
dh $@
14+
15+
override_dh_installdeb:
16+
dh_installdeb
17+
rm debian/yavdr-conffiles/DEBIAN/conffiles

Diff for: debian/source/format

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0 (quilt)

0 commit comments

Comments
 (0)