Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetched updates from upstream #1

Open
wants to merge 339 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
339 commits
Select commit Hold shift + click to select a range
08dd5ae
Move systemd files to /lib/systemd; /usr/lib/systemd is not used on D…
joeyh Jul 17, 2016
bec32ce
increase standards-version
joeyh Jul 17, 2016
5f9a306
update debconf templates
joeyh Jul 17, 2016
58ded87
add news item for etckeeper 1.18.5
joeyh Jul 17, 2016
f9f725e
Only show errors (no progress indicators) when pushing Git/Mercurial …
joeyh Aug 1, 2016
191820a
Title case
Sep 10, 2016
5acdf84
Added a comment
Sep 23, 2016
99524bf
Sep 23, 2016
97f7caa
comment
joeyh Sep 27, 2016
2e3408b
Oct 17, 2016
b0009b4
review
joeyh Oct 18, 2016
3b885b4
Added a comment
Oct 18, 2016
01cff54
followup
joeyh Oct 21, 2016
2040ffd
Detailed post-install commit messages
emkael Oct 23, 2016
d87763a
Added a comment
Oct 23, 2016
7933723
Added a comment
Nov 8, 2016
6f0d478
fixed typo
Yky Nov 10, 2016
a125a26
Merge branch 'master' of ssh://etckeeper.branchable.com
joeyh Nov 10, 2016
e26757c
Nov 11, 2016
87ce64c
Nov 11, 2016
4cc0c5d
close
joeyh Nov 11, 2016
3b74903
Added a comment: In that case git has a crazy notion about "needed"...
Nov 19, 2016
b603e87
Dec 19, 2016
c7e0ee8
Dec 19, 2016
808a040
Dec 19, 2016
72ad25e
Dec 19, 2016
7e45711
Dec 19, 2016
80bc210
Dec 19, 2016
34b2d4e
Dec 19, 2016
9299209
Fix regex in 20-warn-problem-files.
joeyh Dec 19, 2016
d251f3e
Dec 19, 2016
c7599b3
Added a comment
Jan 5, 2017
bd52f1a
removed
Jan 5, 2017
cc0da23
Added a comment
Jan 5, 2017
15dbf9f
Jan 5, 2017
234ecd2
hm
joeyh Jan 6, 2017
e1ff98a
Added a comment
Jan 21, 2017
eb00ee0
Jan 27, 2017
ec87070
basic support for apk (alpine linux)
HRio Jan 24, 2017
c88c3c4
Added support for apk (alpine linux) Thanks, Henrik Riomar.
joeyh Jan 29, 2017
258187e
releasing package etckeeper version 1.18.6
joeyh Jan 29, 2017
2a3f4b2
add news item for etckeeper 1.18.6
joeyh Jan 29, 2017
cf29ffe
Added a comment: Agreed! Please implement pushing to branches!
Jan 31, 2017
74bf29c
remove flattr button
joeyh Mar 1, 2017
45250dd
clarify sudo etckeeper commit
joeyh Mar 6, 2017
fad539b
30store-metadata: fix bug when $listfile is empty
HRio Mar 15, 2017
484eded
basic testing with bats
HRio Mar 15, 2017
3c382af
Mar 15, 2017
62f674c
review
joeyh Apr 7, 2017
4ba839f
30store-metadata: fix bug when $listfile is empty
HRio Mar 15, 2017
744dd67
fixup test code after testing on a Debian 8 system
HRio Apr 10, 2017
281f559
Merge remote-tracking branch 'hrio/unit-test'
joeyh Apr 10, 2017
9e2b256
rename check target to test
joeyh Apr 10, 2017
18cb3e9
merged
joeyh Apr 10, 2017
65771f6
test-etckeeper: add some root tests
HRio May 23, 2017
07d7401
May 23, 2017
dd8aa97
add
joeyh May 24, 2017
85cbba7
response
joeyh May 25, 2017
08f18ef
use fakeroot in test target if its installed
HRio May 26, 2017
c06184a
Added a comment: added
May 26, 2017
1e4222b
Merge remote-tracking branch 'hrio/fakeroot'
joeyh May 28, 2017
c42d6cd
merged fakeroot tests
joeyh May 28, 2017
56bffcc
Function without perl present in the system
radhus Jun 10, 2015
21e77c1
30store-metadata: fix "here string" (bashism)
HRio May 26, 2017
f92d45a
make Perl optional
May 30, 2017
b55e33e
Merge remote-tracking branch 'hrio/remove-perl-3-rebased'
joeyh Jun 1, 2017
6283316
move fallback code into else
joeyh Jun 1, 2017
3d69d09
changelog and close for perl patch
joeyh Jun 1, 2017
76886bd
Jun 2, 2017
a27de6b
Jun 2, 2017
48456c6
Jun 2, 2017
456f098
done link has to be in the page, not in the comment?
Jun 2, 2017
e6b9003
Jun 2, 2017
7175993
Jun 2, 2017
7707209
Prevent LC_ALL overriding the LC_COLLATE used to sort metadata.
joeyh Jun 8, 2017
f0bbe3f
tab indent
joeyh Jun 8, 2017
5333159
releasing package etckeeper version 1.18.7
joeyh Jun 8, 2017
5dcb878
add news item for etckeeper 1.18.7
joeyh Jun 8, 2017
e19e9c5
Work around git commit's lack of robustness, by providing reasonable …
joeyh Jun 8, 2017
3049c92
Describe patch to fix netbsd warnings
Jun 23, 2017
4fb9e67
Describe patch for quieting commits when there's nothing to do
Jun 23, 2017
1e0b01d
fixed long ago
joeyh Jun 28, 2017
89129bf
comment
joeyh Jun 28, 2017
82ee598
close
joeyh Jun 28, 2017
797b3d9
Added a comment: never added this patch
Jun 28, 2017
eb72b0a
Added a comment: comment 2
Jun 29, 2017
8aa4f5b
Added a comment: comment 3
Jun 29, 2017
4f6e644
Jul 15, 2017
35ade17
Added a comment: What dependencies we need?
Jul 15, 2017
1c4ace1
Added a comment: make install
Jul 15, 2017
2832262
Oct 26, 2017
b8cfea7
comment
joeyh Oct 28, 2017
eabdf32
Remove env from shebang in zypper plugin
avindra Oct 29, 2017
fd2bede
Added a comment: comment 2
Oct 31, 2017
a06aecb
Correct spelling mistake.
Nov 23, 2017
0f26e79
Correct spelling mistake.
Nov 23, 2017
ef9c1e6
Correct spelling mistake.
Nov 23, 2017
c42d5ff
what to do about all those debian proposed patches
Nov 30, 2017
7079863
add a forum
joeyh Mar 10, 2018
96b70a9
caps
joeyh Mar 10, 2018
eb13707
fix link
joeyh Apr 23, 2018
629541f
hardlink warning
Apr 24, 2018
ed2dea8
Question on usage model / feature request
May 6, 2018
4b68a02
response
joeyh May 8, 2018
8a27de7
May 17, 2018
71b972a
May 17, 2018
6f86edd
response
joeyh May 17, 2018
d46be00
Don't hardcode the master branch when pushing to PUSH_REMOTE.
joeyh Jun 5, 2018
c120e9f
releasing package etckeeper version 1.18.8
joeyh Jun 5, 2018
bdee16a
add news item for etckeeper 1.18.8
joeyh Jun 5, 2018
89f85e9
Aug 2, 2018
e6978ed
I want to see the list of changes files in the commit message.
Nov 19, 2018
ec8d1ad
Add the package manager or any other parent process command to the co…
LaszloGombos Dec 12, 2018
85b9c5f
improve wording
joeyh Dec 12, 2018
107043d
releasing package etckeeper version 1.18.9
joeyh Dec 12, 2018
741fdc3
add news item for etckeeper 1.18.9
joeyh Dec 12, 2018
23ae321
Dec 12, 2018
bdd2ec1
followup
joeyh Dec 23, 2018
78a442b
ps is so nonstandard
joeyh Dec 23, 2018
6930df6
releasing package etckeeper version 1.18.10
joeyh Dec 23, 2018
c158241
add news item for etckeeper 1.18.10
joeyh Dec 23, 2018
9170d1f
Added a comment: Also relevant to Entware
Jan 4, 2019
c88551e
I am in awe of /etc/etckeeper/*.d/
Mar 18, 2019
dc93f3b
Apr 13, 2019
aaee469
Added a comment: Oops. Revised version
Apr 19, 2019
b357f48
Added a comment: Have a bonus commit: 3d431ea67922 "Do not use dnfplu…
Apr 23, 2019
0d528b4
followup
joeyh Apr 23, 2019
84e9fb5
Merge branch 'master' of ssh://etckeeper.branchable.com
joeyh Apr 24, 2019
8af11bc
Added a comment: Reference to the corresponding bug analysis in Ansible
Jun 6, 2019
1ef9013
Merge branch 'master' of ssh://etckeeper.branchable.com
joeyh Jun 11, 2019
76951a6
Aug 8, 2019
2184398
Merge branch 'master' of ssh://etckeeper.branchable.com
joeyh Aug 8, 2019
dcd4393
response
joeyh Aug 8, 2019
02fd970
Support platforms without `hostname`
chris-morgan Oct 17, 2019
ce26c04
changelog
joeyh Oct 17, 2019
a6d12c8
Added a comment: How about "etckeeper > /dev/null" ?
Oct 28, 2019
76b6cc9
etck-commit: handle -m'msg' argument, i.e. when there is no space
madduck Nov 28, 2019
e910309
etck-commit: use rest of command line as message
madduck Nov 28, 2019
dceadbf
releasing package etckeeper version 1.18.11
joeyh Nov 28, 2019
5c44ab8
add news item for etckeeper 1.18.11
joeyh Nov 28, 2019
804da47
remove superfluous parenthesis
eworm-de Nov 29, 2019
e1a003c
releasing package etckeeper version 1.18.12
joeyh Nov 29, 2019
0327429
add news item for etckeeper 1.18.12
joeyh Nov 29, 2019
596ae0d
Nov 30, 2019
e25ae11
Add initial zsh completion
JNRowe Dec 10, 2019
2494a74
changelog
joeyh Dec 13, 2019
e4f3fbc
Dec 16, 2019
fe50536
Dec 16, 2019
325829e
Dec 16, 2019
5f60c02
Merge branch 'master' of ssh://etckeeper.branchable.com
joeyh Dec 17, 2019
229355b
forward debian bug #946055
Dec 18, 2019
a6a7d7f
Merge branch 'master' of ssh://etckeeper.branchable.com
joeyh Dec 20, 2019
f3ffc86
fix portability breakage
joeyh Dec 20, 2019
23bdf75
releasing package etckeeper version 1.18.13
joeyh Dec 20, 2019
10f067b
add news item for etckeeper 1.18.13
joeyh Dec 20, 2019
e984078
response
joeyh Dec 25, 2019
3e26bc4
Offer possible solution
Jan 11, 2020
0de1383
Format my previous edit as a comment
Jan 11, 2020
6163d4a
Question on hooks during rebase
Jan 15, 2020
d23c91b
alpm hooks: rename type File to Path
eworm-de Jan 19, 2020
41462c5
changelog
joeyh Jan 20, 2020
e5e50e5
comment
joeyh Jan 21, 2020
8b02a5a
comment
joeyh Jan 21, 2020
c3068b5
Fix vcs subcommand setup for zsh completion
JNRowe Jan 21, 2020
d9a8b30
releasing package etckeeper version 1.18.14
joeyh Jan 22, 2020
42d7ed8
add news item for etckeeper 1.18.14
joeyh Jan 22, 2020
eccf1b2
remove post someone edited into the forum page itself
joeyh Mar 3, 2020
547b872
Apr 14, 2020
1b41861
some issues with systemd and autocommit
Apr 17, 2020
d3f820b
Use portable "command -v" to detect installed programs
eli-schwartz Apr 19, 2020
e7a0465
git request-pull -> +1 patch
Apr 19, 2020
99fc6ee
response
joeyh Apr 24, 2020
b6085d4
Merge remote-tracking branch 'eli-schwartz/master'
joeyh Apr 24, 2020
29104b3
Use "command -v" rather than "which" to detect installed programs, as…
joeyh Apr 24, 2020
258a9b0
python3 patches available in debian/patches in the debian branch
May 4, 2020
2650efc
comment
joeyh May 5, 2020
04b6e5e
comment
joeyh May 5, 2020
cf82f6d
comments
joeyh May 5, 2020
71f646c
close
joeyh May 5, 2020
d01dc7b
close
joeyh May 5, 2020
115e566
close
joeyh May 5, 2020
a06d4e0
remove empty comment
joeyh May 5, 2020
414a17c
Merge remote-tracking branch 'emkael/master'
joeyh May 5, 2020
123473c
finally applied an old patch
joeyh May 5, 2020
3a52cc1
more frequent gc
joeyh May 5, 2020
d3c9d40
comment
joeyh May 5, 2020
b7447e2
Added a comment
May 10, 2020
9b9ae77
Added a comment: Debian patches
May 13, 2020
6e49d90
May 23, 2020
e7c7d96
Added a comment
May 23, 2020
68c7bfc
comment
joeyh May 26, 2020
0fd67bf
Jul 11, 2020
db45e83
Added a comment: edit
Jul 11, 2020
7114708
uuuuh
joeyh Jul 20, 2020
9341435
comment
joeyh Aug 10, 2020
566d47d
Oct 8, 2020
3780834
Oct 10, 2020
ca2bebd
Oct 10, 2020
deec0c6
Added a comment: Cannot version files in .hg directory
Oct 12, 2020
38d24e4
Nov 9, 2020
3b824ea
update-ignore: Preserve existing permissions
Nov 22, 2020
66982d1
todo: Add "presere permissions in update-ignore"
Nov 22, 2020
4a20870
comment
joeyh Nov 23, 2020
be7cf26
Merge remote-tracking branch 'eefi/eefi/preserve-perms-in-update-ignore'
joeyh Nov 23, 2020
03ed0c6
merged
joeyh Nov 23, 2020
7f7d689
Removed the debian directory from the upstream source package
joeyh Nov 23, 2020
f04c588
add news item for etckeeper 1.18.15
joeyh Nov 23, 2020
47f4881
comment
joeyh Nov 23, 2020
09e438c
comment
joeyh Nov 23, 2020
b34fc16
comment
joeyh Nov 23, 2020
4bc7ebe
Improve sorting stability
joeyh Nov 23, 2020
ecb083b
Prefer mktemp over tempfile
joeyh Jan 2, 2021
bdd270a
update for debian/changelog move to CHANGELOG
joeyh Jan 2, 2021
910db2d
releasing package etckeeper version 1.18.16
joeyh Jan 2, 2021
53170bf
add news item for etckeeper 1.18.16
joeyh Jan 2, 2021
a142490
Added a comment
Jan 12, 2021
0b8e555
Added a comment
Feb 10, 2021
fdc4785
Apr 5, 2021
c1b9c0f
Apr 5, 2021
9b5c5b1
sign
May 17, 2021
d4860a4
Ignore udev's FHS violating large binary cache file /etc/udev/hwdb.bin
joeyh Oct 17, 2021
9131d8a
Oct 19, 2021
c6073a0
Oct 20, 2021
0d14788
Emulating monthly, weekly and daily backups
Nov 4, 2021
3549b7b
Nov 4, 2021
08712ab
Nov 4, 2021
9aba8b2
Update the git log command to something that doesn't require a reflog
Nov 4, 2021
a83ce71
Provide a solution
Nov 4, 2021
8584556
Nov 19, 2021
6fc8676
response
joeyh Nov 19, 2021
dbc03a0
Merge branch 'master' of ssh://etckeeper.branchable.com
joeyh Nov 19, 2021
ebb8e5d
comment
joeyh Nov 19, 2021
dce8464
Dec 31, 2021
cf4984e
comment
joeyh Dec 31, 2021
a965e9c
Added a comment
Jan 2, 2022
a5ad86c
Jan 3, 2022
9248872
Jan 4, 2022
a4ce1f0
30store-metadata: fix filename with spaces
HRio Jan 4, 2022
bf59fdb
patch applied
joeyh Jan 7, 2022
7e22ab4
LC_CTYPE=C when grepping
joeyh Jan 7, 2022
c3d9682
comment
joeyh Jan 7, 2022
38ff0a0
releasing package etckeeper version 1.18.17
joeyh Jan 7, 2022
7dbc402
add news item for etckeeper 1.18.17
joeyh Jan 7, 2022
a907c0c
Jan 9, 2022
4bc0500
no
joeyh Jan 9, 2022
2c889e5
Added a comment
Jan 11, 2022
81046d4
Replace obsolete usage of 'egrep' with 'grep -E'
thesamesam May 15, 2022
58bc551
changelog
joeyh May 18, 2022
dd699c9
Add support for xbps as LOWLEVEL_PACKAGE_MANAGER
zevweiss Jun 3, 2022
3f8e139
changelog
joeyh Jun 3, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
debian/changelog merge=dpkg-mergechangelogs
CHANGELOG merge=dpkg-mergechangelogs
208 changes: 208 additions & 0 deletions debian/changelog → CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,211 @@
etckeeper (1.18.18) UNRELEASED; urgency=medium

* Replace deprecated egrep with grep -E.
Thanks, Sam James
* Added support for Void Linux's xbps package manager.
Thanks, Zev Weiss.

-- Joey Hess <id@joeyh.name> Wed, 18 May 2022 12:50:08 -0400

etckeeper (1.18.17) upstream; urgency=medium

* Fix committing of files with spaces in name when perl is not available.
Thanks, Henrik Riomar
* Ignore udev's FHS violating large binary cache file /etc/udev/hwdb.bin
* Avoid warning messages from grep about binary files when there are
filenames in /etc that do not correspond to the current locale settings.
Thanks, thm

-- Joey Hess <id@joeyh.name> Fri, 07 Jan 2022 11:15:07 -0400

etckeeper (1.18.16) upstream; urgency=medium

* Improve sorting stability.
* Prefer mktemp over tempfile as the latter displays a deprecation
warning since debianutils 4.10.
Thanks, Luke Mlsna.

-- Joey Hess <id@joeyh.name> Sat, 02 Jan 2021 11:31:23 -0400

etckeeper (1.18.15) upstream; urgency=medium

* Use "command -v" rather than "which" to detect installed programs,
as it is more portable.
Thanks, Eli Schwartz.
* Improve commit messages generated by package manager changes,
listing packages that are responsible for the changed config files.
Thanks to emkael for the patch.
* If gc.auto is not configured, override the default to make it gc
ten times more frequently, to avoid wasting space with loose objects.
* update-ignore: Preserve permissions from any preexisting VCS ignore file.
Thanks, Austin Chu.
* Removed the debian directory from the upstream source package as it's
not being maintained; see the debian package for an up-to-date one.
* debian/changelog moved to CHANGELOG and debian/copyright to COPYRIGHT.

-- Joey Hess <id@joeyh.name> Mon, 23 Nov 2020 12:19:15 -0400

etckeeper (1.18.14) unstable; urgency=medium

* pacman 5.2 deprecated File hooks, use Path.
Thanks, Christian Hesse
* Fix vcs subcommand setup for zsh completion.
Thanks, James Rowe.

-- Joey Hess <id@joeyh.name> Wed, 22 Jan 2020 09:59:04 -0400

etckeeper (1.18.13) unstable; urgency=medium

* Added zsh completion.
Thanks, James Rowe
* commit: Recent changes added code that does not work on all POSIX shells.
Fixed by Thorsten Glaser.

-- Joey Hess <id@joeyh.name> Fri, 20 Dec 2019 16:19:09 -0400

etckeeper (1.18.12) unstable; urgency=medium

* Fix bug in hostname determination in the previous release.
Thanks, Christian Hesse

-- Joey Hess <id@joeyh.name> Fri, 29 Nov 2019 11:42:34 -0400

etckeeper (1.18.11) unstable; urgency=medium

* Support platforms without a hostname command, fall back to
reading /etc/hostname.
Thanks, Chris Morgan
* commit: Support -mmessage, without a space, since eg git commit
can be used that way.
Thanks, martin f. krafft
* commit: When multiple parameters are given, use them all as the commit
message, instead of the old behavior of only using the first parameter and
throwing the rest away.
Thanks, martin f. krafft

-- Joey Hess <id@joeyh.name> Thu, 28 Nov 2019 18:14:46 -0400

etckeeper (1.18.10) unstable; urgency=medium

* Avoid post-install failing when ps is from busybox or another
version not supporting procps-specific options.
* Use ps --no-headers rather than problimatic -h option.

-- Joey Hess <id@joeyh.name> Sun, 23 Dec 2018 13:05:44 -0400

etckeeper (1.18.9) unstable; urgency=medium

* When run during a package installation, include in the commit
message the command line that caused etckeeper to run.
Thanks, Laszlo Gombos

-- Joey Hess <id@joeyh.name> Wed, 12 Dec 2018 01:01:05 -0400

etckeeper (1.18.8) unstable; urgency=medium

* Work around git commit's lack of robustness, by providing
reasonable default values for GIT_COMMITTER_EMAIL etc.
This was already done as part of the su/sudo handling,
and is now always done.
* Don't hardcode the master branch when pushing to PUSH_REMOTE.
Instead, let git push whatever branches it is configured to
push to that remote.

-- Joey Hess <id@joeyh.name> Tue, 05 Jun 2018 16:00:41 -0400

etckeeper (1.18.7) unstable; urgency=medium

* Added some unit tests.
Thanks, Henrik Riomar.
* etckeeper will work on systems that do not have perl installed.
(perl is still used when available as it's faster)
Thanks, William Johansson and radhus.
* Prevent LC_ALL overriding the LC_COLLATE used to sort metadata.

-- Joey Hess <id@joeyh.name> Thu, 08 Jun 2017 12:58:20 -0400

etckeeper (1.18.6) unstable; urgency=medium

* Only show errors (no progress indicators) when pushing Git/Mercurial repos
to avoid unncessary cron mails.
Thanks, Nils Steinger.
* Fix regex in 20-warn-problem-files.
* Added support for apk (alpine linux)
Thanks, Henrik Riomar.

-- Joey Hess <id@joeyh.name> Sun, 29 Jan 2017 14:37:24 -0400

etckeeper (1.18.5) unstable; urgency=medium

* Make etckeeper commit store metadata changes. The pre-commit
hook has always (and continues) to do that, but pre-commit is only
run when there are changes to tommit. This makes metadata-only
changes get committed.
* Move systemd files to /lib/systemd; /usr/lib/systemd is not used
on Debian.

-- Joey Hess <id@joeyh.name> Sun, 17 Jul 2016 18:53:54 -0400

etckeeper (1.18.4) unstable; urgency=medium

* Optimised find for special and hard linked files.
Thanks, Rike-Benjamin Schuppner.
* Adjust when Pacman 5 calls etckeeper hooks.
Thanks, Tilman Blumenbach and Christian Hesse.
* Only run Pacman hooks when files in /etc have changed.
Thanks, Christian Hesse.
* Added systemd timer that can run etckeeper 10 minutes after boot, and also
daily. It's not enabled by default, partly because of overlap with the
cron job.
Thanks, Christian Hesse.

-- Joey Hess <id@joeyh.name> Mon, 20 Jun 2016 01:05:30 -0400

etckeeper (1.18.3) unstable; urgency=medium

* Added support for pacmatic, contributed by nicolaichuk.
* bzr: make sure EMAIL is defined
Thanks, Serge E. Hallyn
* Fix Makefile version patterns to ignore non-native version number
(Antoine Beaupré)
* Support ~/.config/git/config when determining the author name and email.
Thanks, Richard Savio
* Added support for Arch's pacman package manager version 5.
Thanks, Tilman Blumenbach.
* Set HOME if it's not set, as is the case when using ubuntu's
update-manager.
* Move bash completion out of etc and into usr.

-- Joey Hess <id@joeyh.name> Mon, 15 Feb 2016 13:11:20 -0400

etckeeper (1.18.2) unstable; urgency=medium

* Use getent utility instead of perl. (Elan Ruusamäe)
* Initial FreeBSD support with pkgng plugin. (William Johansson)
* Fix README.md symlink in package (Sebastian Schmidt, Antoine Beaupré,
closes: #791566)
* Fix typo of GIT_COMMITTER_EMAIL.

-- Joey Hess <id@joeyh.name> Tue, 04 Aug 2015 10:13:08 -0400

etckeeper (1.18.1) unstable; urgency=medium

* Add myself as maintainer (Closes: #768516)
* Keeping the package native as I do not intend to diverge from
upstream.
* Update git URL in control file.

-- Antoine Beaupré <anarcat@debian.org> Sat, 21 Mar 2015 18:30:07 -0400

etckeeper (1.18) unstable; urgency=medium

* Send yum pre-commit output to /dev/null
Thanks, Andrew Colin Kissa
* Set LANG=C internally when doing some operations that have
been reported to fail in other locales.

-- Joey Hess <id@joeyh.name> Sat, 14 Mar 2015 13:24:07 -0400

etckeeper (1.17) unstable; urgency=medium

* Fix name of DNF plugin.
Expand Down
34 changes: 34 additions & 0 deletions COPYRIGHT
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/

Files: *
Copyright: © 2007-2014 Joey Hess <id@joeyh.name> and contributors
License: GPL-2+
The full text of the GPL is distributed as doc/GPL in etckeeper's source,
and is distributed in /usr/share/common-licenses/GPL-2 on Debian systems.

Files: pkgng/*
Copyright: 2015 William Johansson <radar@radhuset.org>
2012 Marin Atanasov Nikolov <dnaeon@gmail.com>
License: BSD-2-clause
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer
* in this position and unchanged.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 changes: 29 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,16 @@ bindir=${prefix}/bin
etcdir=/etc
mandir=${prefix}/share/man
vardir=/var
systemddir=/lib/systemd/system
bashcompletiondir=${prefix}/share/bash-completion/completions
zshcompletiondir=${prefix}/share/zsh/vendor-completions
CP=cp -R
INSTALL=install
INSTALL_EXE=${INSTALL}
INSTALL_DATA=${INSTALL} -m 0644
PYTHON=python
FAKEROOT := $(shell command -v fakeroot 2> /dev/null)
TESTDIR := $(shell mktemp -u -d)

build: etckeeper.spec etckeeper.version
-$(PYTHON) ./etckeeper-bzr/__init__.py build || echo "** bzr support not built"
Expand All @@ -22,19 +27,30 @@ build: etckeeper.spec etckeeper.version
install: etckeeper.version
mkdir -p $(DESTDIR)$(etcdir)/etckeeper/ $(DESTDIR)$(vardir)/cache/etckeeper/
$(CP) *.d $(DESTDIR)$(etcdir)/etckeeper/
$(INSTALL_EXE) daily $(DESTDIR)$(etcdir)/etckeeper/daily
$(INSTALL_DATA) $(CONFFILE) $(DESTDIR)$(etcdir)/etckeeper/etckeeper.conf
mkdir -p $(DESTDIR)$(bindir)
$(INSTALL_EXE) etckeeper $(DESTDIR)$(bindir)/etckeeper
mkdir -p $(DESTDIR)$(mandir)/man8
$(INSTALL_DATA) etckeeper.8 $(DESTDIR)$(mandir)/man8/etckeeper.8
mkdir -p $(DESTDIR)$(etcdir)/bash_completion.d
$(INSTALL_DATA) bash_completion $(DESTDIR)$(etcdir)/bash_completion.d/etckeeper
mkdir -p $(DESTDIR)$(bashcompletiondir)
$(INSTALL_DATA) bash_completion $(DESTDIR)$(bashcompletiondir)/etckeeper
mkdir -p $(DESTDIR)$(zshcompletiondir)
$(INSTALL_DATA) zsh_completion $(DESTDIR)$(zshcompletiondir)/_etckeeper
mkdir -p $(DESTDIR)$(systemddir)
$(INSTALL_DATA) systemd/etckeeper.service $(DESTDIR)$(systemddir)/etckeeper.service
$(INSTALL_DATA) systemd/etckeeper.timer $(DESTDIR)$(systemddir)/etckeeper.timer
ifeq ($(HIGHLEVEL_PACKAGE_MANAGER),apt)
mkdir -p $(DESTDIR)$(etcdir)/apt/apt.conf.d
$(INSTALL_DATA) apt.conf $(DESTDIR)$(etcdir)/apt/apt.conf.d/05etckeeper
mkdir -p $(DESTDIR)$(etcdir)/cruft/filters-unex
$(INSTALL_DATA) cruft_filter $(DESTDIR)$(etcdir)/cruft/filters-unex/etckeeper
endif
ifeq ($(LOWLEVEL_PACKAGE_MANAGER),pacman)
mkdir -p $(DESTDIR)$(prefix)/share/libalpm/hooks
$(INSTALL_DATA) ./pacman-pre-install.hook $(DESTDIR)$(prefix)/share/libalpm/hooks/05-etckeeper-pre-install.hook
$(INSTALL_DATA) ./pacman-post-install.hook $(DESTDIR)$(prefix)/share/libalpm/hooks/zz-etckeeper-post-install.hook
endif
ifeq ($(LOWLEVEL_PACKAGE_MANAGER),pacman-g2)
mkdir -p $(DESTDIR)$(etcdir)/pacman-g2/hooks
$(INSTALL_DATA) pacman-g2.hook $(DESTDIR)$(etcdir)/pacman-g2/hooks/etckeeper
Expand All @@ -58,12 +74,21 @@ endif
clean: etckeeper.spec etckeeper.version
rm -rf build

test:
mkdir $(TESTDIR)
ifdef FAKEROOT
testdir=$(TESTDIR) fakeroot ./test-etckeeper
else
testdir=$(TESTDIR) ./test-etckeeper
endif
rm -rf $(TESTDIR)

etckeeper.spec:
sed -i~ "s/Version:.*/Version: $$(perl -e '$$_=<>;print m/\((.*?)\)/'<debian/changelog)/" etckeeper.spec
sed -i~ "s/Version:.*/Version: $$(perl -e '$$_=<>;m/\((.*?)(-.*)?\)/;print $$1;'<CHANGELOG)/" etckeeper.spec
rm -f etckeeper.spec~

etckeeper.version:
sed -i~ "s/Version:.*/Version: $$(perl -e '$$_=<>;print m/\((.*?)\)/'<debian/changelog)\"/" etckeeper
sed -i~ "s/Version:.*/Version: $$(perl -e '$$_=<>;m/\((.*?)(-.*)?\)/;print $$1;' <CHANGELOG)\"/" etckeeper
rm -f etckeeper~

.PHONY: etckeeper.spec etckeeper.version
1 change: 1 addition & 0 deletions commit.d/20store-metadata
Loading