Skip to content

Commit c9255e7

Browse files
committed
Made some other changes suggested by lintian
* Stop using dpkg-parsechangelog to get the package version * Remove/change entries in the copyright file
1 parent 340cba8 commit c9255e7

File tree

2 files changed

+18
-142
lines changed

2 files changed

+18
-142
lines changed

debian/copyright

Lines changed: 15 additions & 139 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ Copyright: Copyright (C) Balázs Scheidler
1818
Copyright (C) BalaBit IT Security Ltd.
1919
License: LGPL-2.1+ with OpenSSL exception
2020

21-
Files: lib/ack-tracker.h
22-
lib/bookmark.h
23-
lib/early_ack_tracker.c
21+
Files: lib/ack-tracker/ack_tracker.h
22+
lib/ack-tracker/bookmark.h
23+
lib/ack-tracker/early_ack_tracker.c
2424
lib/host-id.*
25-
lib/late_ack_tracker.c
25+
lib/ack-tracker/late_ack_tracker.c
2626
lib/ringbuffer.*
2727
lib/template/common-template-typedefs.h
2828
Copyright: Copyright (C) BalaBit IT Ltd.
@@ -31,13 +31,12 @@ License: LGPL-2.1+ with OpenSSL exception
3131

3232
Files: lib/compat/time.h
3333
lib/filter/filter-in-list.*
34-
lib/logproto-indented-multiline-server.*
35-
lib/logthrdestdrv.*
34+
lib/logproto/logproto-indented-multiline-server.*
35+
lib/logthrdest/logthrdestdrv.*
3636
lib/scratch-buffers.*
3737
lib/tests/test_cfg_tree.c
3838
lib/type-hinting.*
39-
lib/value-pairs.*
40-
lib/vptransform.*
39+
lib/value-pairs/value-pairs.*
4140
scl/graphite/*
4241
Copyright: Copyright (C) BalaBit IT Security Ltd.
4342
Copyright (C) Gergely Nagy
@@ -95,7 +94,7 @@ Files: lib/cache.*
9594
lib/tests/test_cfg_lexer_subst.c
9695
lib/tests/test_hostname.c
9796
lib/tests/test_host_resolve.c
98-
lib/tests/test_log_message.c
97+
lib/logmsg/tests/test_log_message.c
9998
lib/tests/test_parse_number.c
10099
lib/tests/test_reloc.c
101100
lib/tests/test_type_hints.c
@@ -105,40 +104,6 @@ Files: lib/cache.*
105104
Copyright: Copyright (C) BalaBit IT Security Ltd.
106105
License: LGPL-2.1+ with OpenSSL exception
107106

108-
Files: lib/ivykis/*
109-
Copyright: Copyright (C) Lennert Buytenhek <[email protected]>
110-
License: LGPL-2.1+
111-
112-
Files: lib/ivykis/lib/man3/* lib/ivykis/modules/man3/*
113-
Copyright: Copyright (C) Lennert Buytenhek <[email protected]>
114-
License: ivykis-man
115-
Permission is granted to distribute possibly modified copies
116-
of this page provided the header is included verbatim,
117-
and in case of nontrivial modification author and date
118-
of the modification is added to the header.
119-
120-
Files: lib/jsonc/*
121-
Copyright: Copyright (C) Metaparadigm Pte. Ltd
122-
Copyright (C) Eric Haszlakiewicz
123-
License: Expat
124-
125-
Files: lib/jsonc/debug.h
126-
lib/jsonc/json.h
127-
lib/jsonc/json_object.*
128-
lib/jsonc/json_object_iterator.*
129-
lib/jsonc/linkhash.*
130-
Copyright: Copyright (C) Hewlett-Packard Development Company, L.P
131-
Copyright (C) Metaparadigm Pte. Ltd
132-
Copyright (C) Eric Haszlakiewicz
133-
License: Expat
134-
135-
Files: lib/jsonc/json_tokener.c
136-
lib/jsonc/printbuf.*
137-
Copyright: Copyright (C) Yahoo! Inc.
138-
Copyright (C) Metaparadigm Pte. Ltd
139-
Copyright (C) Eric Haszlakiewicz
140-
License: Expat
141-
142107
Files: modules/*
143108
Copyright: Copyright (C) Balázs Scheidler
144109
Copyright (C) BalaBit IT Security Ltd.
@@ -150,19 +115,6 @@ Copyright: Copyright (C) BalaBit IT Security Ltd.
150115
Copyright (C) Gergely Nagy
151116
License: GPL-2+ with OpenSSL exception
152117

153-
Files: modules/afamqp/rabbitmq-c/*
154-
Copyright: Copyright (C) VMWare, Inc. and Tony Garnock-Jones
155-
License: Expat
156-
157-
Files: modules/afamqp/rabbitmq-c/codegen/*
158-
Copyright: Copyright (C) VMWare, Inc.
159-
License: MPL
160-
161-
Files: modules/afamqp/rabbitmq-c/librabbitmq/win32/msinttypes/stdint.h
162-
modules/afamqp/rabbitmq-c/tests/win32/msinttypes/inttypes.h
163-
Copyright: Copyright (C) Alexander Chemeris
164-
License: BSD-3-clause
165-
166118
Files: modules/afmongodb/*
167119
modules/afsmtp/*
168120
modules/afsocket/unix-credentials.*
@@ -182,10 +134,6 @@ Copyright: Copyright (c) BalaBit IT Ltd.
182134
Copyright (C) Gergely Nagy
183135
License: GPL-2+ with OpenSSL exception
184136

185-
Files: modules/afmongodb/libmongo-client/*
186-
Copyright: Copyright (C) Gergely Nagy
187-
License: Apache-2.0
188-
189137
Files: modules/afsocket/systemd-syslog-source.*
190138
Copyright: Copyright (C) BalaBit IT Ltd.
191139
Copyright (C) Tibor Benke
@@ -231,28 +179,16 @@ Copyright: Copyright (C) Péter Gyöngyösi
231179
Copyright (C) BalaBit IT Security Ltd.
232180
License: GPL-2+ with OpenSSL exception
233181

234-
Files: modules/geoip/*
182+
Files: modules/geoip2/*
235183
scl/*
236184
Copyright: Copyright (C) BalaBit IT Security Ltd.
237185
License: GPL-2+ with OpenSSL exception
238186

239-
Files: modules/geoip/geoip-parser.*
240-
modules/geoip/geoip-parser-parser.*
241-
modules/geoip/geoip-plugin.c
242-
Copyright: Copyright (C) Gergely Nagy
243-
License: GPL-2+ with OpenSSL exception
244-
245187
Files: modules/graphite/*
246188
Copyright: Copyright (C) BalaBit IT Ltd.
247189
Copyright (C) Viktor Tusa
248190
License: GPL-2+ with OpenSSL exception
249191

250-
Files: modules/java-modules/http/src/main/java/org/syslog_ng/http/HTTPDestinationOptions.java
251-
Copyright: Copyright (C) BalaBit IT Security Ltd.
252-
Copyright (C) Adam Arsenault
253-
Copyright (C) Viktor Juhasz
254-
License: GPL-2+ with OpenSSL exception
255-
256192
Files: modules/json/format-json.c
257193
Copyright: Copyright (c) BalaBit IT Ltd.
258194
Copyright (C) Balint Kovacs
@@ -266,6 +202,12 @@ Copyright: Copyright (C) BalaBit IT Security Ltd.
266202
Copyright (C) Viktor Juhasz
267203
License: GPL-2+ with OpenSSL exception
268204

205+
Files: modules/java-modules/http/src/main/java/org/syslog_ng/http/HTTPDestinationOptions.java
206+
Copyright: Copyright (C) BalaBit IT Security Ltd.
207+
Copyright (C) Adam Arsenault
208+
Copyright (C) Viktor Juhasz
209+
License: GPL-2+ with OpenSSL exception
210+
269211
Files: modules/kvformat/*
270212
Copyright: Copyright (C) BalaBit IT Security Ltd.
271213
License: GPL-2+ with OpenSSL exception
@@ -360,69 +302,3 @@ License: LGPL-2.1+ with OpenSSL exception
360302
.
361303
On Debian systems, the complete text of the GNU Lesser General Public
362304
License can be found in the file `/usr/share/common-licenses/LGPL-2.1'.
363-
364-
License: Apache-2.0
365-
Licensed under the Apache License, Version 2.0 (the "License");
366-
you may not use this file except in compliance with the License.
367-
You may obtain a copy of the License at
368-
.
369-
https://www.apache.org/licenses/LICENSE-2.0
370-
.
371-
Unless required by applicable law or agreed to in writing, software
372-
distributed under the License is distributed on an "AS IS" BASIS,
373-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
374-
See the License for the specific language governing permissions and
375-
limitations under the License.
376-
.
377-
On Debian systems, the complete text of the Apache License can be found in
378-
the file `/usr/share/common-licenses/Apache-2.0'.
379-
380-
License: Expat
381-
Permission is hereby granted, free of charge, to any person
382-
obtaining a copy of this software and associated documentation
383-
files (the "Software"), to deal in the Software without
384-
restriction, including without limitation the rights to use, copy,
385-
modify, merge, publish, distribute, sublicense, and/or sell copies
386-
of the Software, and to permit persons to whom the Software is
387-
furnished to do so, subject to the following conditions:
388-
.
389-
The above copyright notice and this permission notice shall be
390-
included in all copies or substantial portions of the Software.
391-
.
392-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
393-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
394-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
395-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
396-
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
397-
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
398-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
399-
SOFTWARE.
400-
401-
License: MPL
402-
The complete text of the Mozilla Public License can be found in
403-
the `MPL' file in the same directory as this file.
404-
405-
License: BSD-3-clause
406-
Redistribution and use in source and binary forms, with or without
407-
modification, are permitted provided that the following conditions are met:
408-
.
409-
1. Redistributions of source code must retain the above copyright notice,
410-
this list of conditions and the following disclaimer.
411-
.
412-
2. Redistributions in binary form must reproduce the above copyright
413-
notice, this list of conditions and the following disclaimer in the
414-
documentation and/or other materials provided with the distribution.
415-
.
416-
3. The name of the author may be used to endorse or promote products
417-
derived from this software without specific prior written permission.
418-
.
419-
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
420-
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
421-
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
422-
EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
423-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
424-
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
425-
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
426-
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
427-
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
428-
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

debian/rules

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
##
66
## Released under the GPLv2+, see /usr/share/common-licenses/GPL-2 on
77
## Debian systems.
8+
include /usr/share/dpkg/pkg-info.mk
89

910
# Uncomment this to turn on verbose mode.
1011
#export DH_VERBOSE=1
@@ -37,7 +38,7 @@ endif
3738
# sources are in a submodule, in syslog-ng-*. Since we do not wish to
3839
# update the rules for every major version if it can be helped, figure
3940
# it out from the changelog instead.
40-
UMAJOR = $(shell dpkg-parsechangelog | sed -n '/^Version:/s/^Version: //p' | cut -d. -f1,2)
41+
UMAJOR = $(shell echo ${DEB_VERSION_UPSTREAM} | cut -d. -f1,2)
4142

4243
export DH_OPTIONS += -O-Bdebian/build-tree --dbg-package=syslog-ng-dbg
4344

@@ -77,8 +78,7 @@ endif
7778
override_dh_auto_configure:
7879
install -d debian/build-tree
7980
-rm -rf doc/man/*.?
80-
SOURCE_REVISION="$(shell dpkg-parsechangelog | \
81-
sed -n '/^Version:/s/^Version: //p')"; \
81+
SOURCE_REVISION="${DEB_VERSION}"; \
8282
dh_auto_configure -- \
8383
--build=$(dpkg-architecture -qDEB_BUILD_GNU_TYPE) \
8484
--prefix=/usr \

0 commit comments

Comments
 (0)