Skip to content

Commit

Permalink
Fix permissions and Lintian warnings in Debian packaging (fix #1666)
Browse files Browse the repository at this point in the history
- re-format changelog entries
- reconstruct missing changelog timestamp for 1.16.1
- fix configuration file permissions
- re-package usr/share/rear/skel/Debian/default.tar.gz w/o timestamp
  • Loading branch information
OliverO2 committed Jan 3, 2018
1 parent 19052e4 commit 9364893
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
15 changes: 8 additions & 7 deletions packaging/debian/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -3,41 +3,41 @@ rear (2.3-1) stable; urgency=low
* Mainly bug fixes
* Enhanced security model around OpenSSH

-- Gratien Dhaese <gratien.dhaese@gmail.com> Wed, 20 Dec 2017 14:57:10 +0100
-- Gratien Dhaese <gratien.dhaese@gmail.com> Wed, 20 Dec 2017 14:57:10 +0100
rear (2.2-1) stable; urgency=low

* Mainly bug fixes for SLES 10 (sponsored release)

-- Gratien Dhaese <gratien.dhaese@gmail.com> Thu, 20 Jul 2017 14:22:30 +0100
-- Gratien Dhaese <gratien.dhaese@gmail.com> Thu, 20 Jul 2017 14:22:30 +0100
rear (2.1-1) stable; urgency=low

* Mainly bug fixes

-- Gratien Dhaese <gratien.dhaese@gmail.com> Wed, 7 Jun 2017 10:05:00 +0100
-- Gratien Dhaese <gratien.dhaese@gmail.com> Wed, 7 Jun 2017 10:05:00 +0100
rear (2.00-1) stable; urgency=low

* Added Multiple backups and Borg

-- Gratien Dhaese <gratien.dhaese@gmail.com> Fri, 6 Jan 2017 12:00:00 +0100
-- Gratien Dhaese <gratien.dhaese@gmail.com> Fri, 6 Jan 2017 12:00:00 +0100
rear (1.19-1) stable; urgency=low

* minor bug fixes

-- Gratien Dhaese <gratien.dhaese@gmail.com> Tue, 11 Oct 2016 16:46:00 +0100
-- Gratien Dhaese <gratien.dhaese@gmail.com> Tue, 11 Oct 2016 16:46:00 +0100
rear (1.18.1-1) stable; urgency=high

* Add missing dependency isolinux
* Add missing dependency dosfstools
* Switch to xorriso since Debian's genisoimage does not seem to correctly
handle UEFI ISO boot.

-- Carlos Ramos <carragom@gmail.com> Fri, 29 Jul 2016 13:25:17 +0100
-- Carlos Ramos <carragom@gmail.com> Fri, 29 Jul 2016 13:25:17 +0100
rear (1.18-1) stable; urgency=high

* new features
* lots of bug fixes

-- Gratien Dhaese <gratien.dhaese@gmail.com> Wed, 16 Mar 2016 11:21:17 +0100
-- Gratien Dhaese <gratien.dhaese@gmail.com> Wed, 16 Mar 2016 11:21:17 +0100
rear (1.17.2-1) stable; urgency=low

* some security fixes
Expand All @@ -64,6 +64,7 @@ rear (1.16.1-1) stable; urgency=low
* code styling improvements
* minor bug fixes

-- Gratien Dhaese <gratien.dhaese@gmail.com> Mon, 02 Jun 2014 13:44:00 +0100
rear (1.16-1) stable; urgency=high

* new features
Expand Down
5 changes: 5 additions & 0 deletions packaging/debian/rear.lintian-overrides
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Use non-standard permissions to only allow root to access configuration files
rear binary: non-standard-dir-perm etc/rear/ 0700 != 0755
rear binary: non-standard-dir-perm etc/rear/cert/ 0700 != 0755
rear binary: non-standard-file-perm etc/rear/local.conf 0600 != 0644
rear binary: non-standard-file-perm etc/rear/site.conf 0600 != 0644
4 changes: 4 additions & 0 deletions packaging/debian/rules
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#!/usr/bin/make -f

%:
dh $@

override_dh_fixperms:
dh_fixperms --exclude debian/rear/etc/rear
Binary file modified usr/share/rear/skel/Debian/default.tar.gz
Binary file not shown.

0 comments on commit 9364893

Please sign in to comment.