Commit 46861cc8 authored by Christian Göttsche's avatar Christian Göttsche

update packaging

  - switch to compat 10
  - drop lintian overrides
  - format copyright
parent d09af124
......@@ -4,6 +4,7 @@ logrotate (3.12.3-1) UNRELEASED; urgency=medium
* debian/gbp.conf: add gbp configuration
* refresh patches, drop upstream applied ones
* update packaging
-- Christian Göttsche <cgzones@googlemail.com> Sat, 02 Sep 2017 20:35:45 +0200
......
......@@ -2,15 +2,15 @@ Source: logrotate
Section: admin
Priority: important
Maintainer: Paul Martin <pm@debian.org>
Build-Depends: libpopt-dev, debhelper (>= 9),
libselinux1-dev [linux-any], libacl1-dev [linux-any], automake
Build-Depends: libpopt-dev, debhelper (>= 10),
libselinux1-dev [linux-any], libacl1-dev [linux-any]
Vcs-Svn: http://svn.fedorahosted.org/svn/logrotate/
Homepage: https://github.com/logrotate/logrotate
Standards-Version: 3.9.6
Standards-Version: 4.0.0.0
Package: logrotate
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, cron | anacron | cron-daemon, base-passwd (>= 2.0.3.4)
Depends: ${shlibs:Depends}, ${misc:Depends}, cron | anacron | cron-daemon
Breaks: postgresql-common (<= 126)
Recommends: bsd-mailx | mailx
Description: Log rotation utility
......
This package was originally debianized by Joseph Carter
<knghtbrd@debian.org> on Thu, 22 Apr 1999 15:33:04 -0700.
This version was downloaded from RedHat's server at:
https://fedorahosted.org/releases/l/o/logrotate/
Upstream's website for the source is:
https://fedorahosted.org/logrotate/
Upstream Authors are various RedHat people, including Erik Troan,
Preston Brown, Elliot Lee, Miloslav Trmac, Dan Walsh, Peter Vrabec,
Jesse Keating and Tomas Smetana.
Copyright: GNU GENERAL PUBLIC LICENSE (GPL) Version 2
All modifications to the packaging and patches by Paul Martin
<pm@debian.org> are also made available under the GPL:
Copyright (C) 2001-2011 Paul Martin
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
On a Debian system, the GPLv2 can be found in /usr/share/common-licenses/GPL-2
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: logrotate
Upstream-Contact: https://github.com/logrotate/logrotate/issues
Source: https://github.com/logrotate/logrotate
Files: *
Copyright: 1999-2017 Erik Troan, Preston Brown, Elliot Lee, Miloslav Trmac,
Dan Walsh, Peter Vrabec, Jesse Keating, Tomas Smetana
and Kamil Dudka
License: GPL-2
Files: debian/*
Copyright: 1999 Joseph Carter
?-2017 Paul Martin <pm@debian.org>
License: GPL-2
License: GPL-2
This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later
version.
.
This program is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more
details.
.
You should have received a copy of the GNU General Public
License along with this package; if not, write to the Free
Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Boston, MA 02110-1301 USA
.
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.
#!/bin/sh
set -e
set -eu
if [ "$1" = "purge" ]; then
rm -rf /var/lib/logrotate
fi
......
#!/bin/sh
set -e
set -eu
if [ "$1" = "upgrade" ]; then
# Fix up the location of the state files that previous versions used.
......
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS \
2>/dev/null || true)
......@@ -34,10 +37,10 @@ endif
override_dh_auto_install:
override_dh_auto_clean:
-$(MAKE) clean
-cd test ; rm -f $$(ls | egrep '^test-config.[0-9]+$$')
-cd test ; rm -f test*.log* anothertest*.log* state test-config.
-cd test ; rm -f scriptout mail-out compress-args different*.log*
dh_auto_clean
cd test ; rm -f $$(ls | egrep '^test-config.[0-9]+$$')
cd test ; rm -f test*.log* anothertest*.log* state test-config.
cd test ; rm -f scriptout mail-out compress-args different*.log*
# ACL tests will fail if we're not building with ACL
override_dh_auto_test:
......@@ -46,3 +49,6 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
cd test ; ./test
endif
endif
override_dh_missing:
dh_missing --fail-missing
# lintian doesn't seem to know about kfreebsd-amd64 yet.
logrotate source: invalid-arch-string-in-source-relation kfreebsd-amd64 [build-depends: libselinux1-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64]]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment