kopia lustrzana https://github.com/xaelsouth/rtl-wmbus
Porównaj commity
6 Commity
d2be82cfa2
...
6b3f7f3a4a
Autor | SHA1 | Data |
---|---|---|
Xael South | 6b3f7f3a4a | |
Xael South | ecf533eb85 | |
Xael South | 264456747c | |
Petter Reinholdtsen | 5e06abec9c | |
Petter Reinholdtsen | 96c097ad5f | |
Petter Reinholdtsen | 81b38ec2cc |
5
Makefile
5
Makefile
|
@ -5,7 +5,7 @@ STRIP=strip
|
|||
|
||||
OUTDIR?=build
|
||||
OUTFILE="$(OUTDIR)/rtl_wmbus"
|
||||
CFLAGS?=-Iinclude -std=gnu99
|
||||
CFLAGS+=-Iinclude -std=gnu99
|
||||
CFLAGS_WARNINGS?=-Wall -W -Waggregate-return -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wno-float-equal -Winline -Wmain -Wmissing-noreturn -Wno-missing-prototypes -Wparentheses -Wpointer-arith -Wredundant-decls -Wreturn-type -Wshadow -Wsign-compare -Wstrict-prototypes -Wswitch -Wunreachable-code -Wno-unused -Wuninitialized
|
||||
LIB?=-lm
|
||||
SRC=rtl_wmbus.c
|
||||
|
@ -62,7 +62,8 @@ pi1:
|
|||
rebuild: clean all
|
||||
|
||||
install: release
|
||||
cp -f $(OUTFILE) /usr/bin
|
||||
install -d $(DESTDIR)/usr/bin
|
||||
install $(OUTFILE) $(DESTDIR)/usr/bin
|
||||
|
||||
clean:
|
||||
$(RM) -rf "$(OUTDIR)"
|
||||
|
|
BIN
build/rtl_wmbus
BIN
build/rtl_wmbus
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
|
@ -1,2 +0,0 @@
|
|||
#define VERSION "a07541f with local changes"
|
||||
#define COMMIT "a07541f904025f4c07062f81ef784205c3ef4ca8 with local changes"
|
|
@ -0,0 +1,5 @@
|
|||
rtl-wmbus (0.0-1) unstable; urgency=medium
|
||||
|
||||
* Initial release (Closes: #998720)
|
||||
|
||||
-- Petter Reinholdtsen <pere@debian.org> Thu, 28 Apr 2022 07:17:49 +0200
|
|
@ -0,0 +1,18 @@
|
|||
Source: rtl-wmbus
|
||||
Section: unknown
|
||||
Priority: optional
|
||||
Maintainer: Petter Reinholdtsen <pere@debian.org>
|
||||
Build-Depends: debhelper-compat (= 13)
|
||||
Standards-Version: 4.5.1
|
||||
Homepage: https://github.com/xaelsouth/rtl-wmbus
|
||||
Vcs-Browser: https://github.com/xaelsouth/rtl-wmbus
|
||||
Vcs-Git: https://github.com/xaelsouth/rtl-wmbus.git
|
||||
Rules-Requires-Root: no
|
||||
|
||||
Package: rtl-wmbus
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
, rtl-sdr
|
||||
Description: software defined receiver for Wireless-M-Bus with RTL-SDR
|
||||
Allow for receiving meter data via radio according to an European
|
||||
standard for remote reading of smart meters.
|
|
@ -0,0 +1,36 @@
|
|||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: rtl-wmbus
|
||||
Upstream-Contact: xael.south@yandex.com
|
||||
Source: https://github.com/xaelsouth/rtl-wmbus
|
||||
|
||||
Files: *
|
||||
Copyright: 2010-2012 Ivan Voras <ivoras@freebsd.org>
|
||||
2012 Tim Hartrick <tim@edgecast.com>
|
||||
2017-2021 <xael.south@yandex.com>
|
||||
License: BSD-2-Clause
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2022 Petter Reinholdtsen <pere@hungry.com>
|
||||
License: BSD-2-Clause
|
||||
|
||||
License: BSD-2-Clause
|
||||
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.
|
||||
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 AND CONTRIBUTORS ``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 OR CONTRIBUTORS 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.
|
|
@ -0,0 +1,27 @@
|
|||
Description: Adjust build system to work with Debian packagin
|
||||
Author: Petter Reinholdtsen <pere@debian.org>
|
||||
Forwarded: https://github.com/xaelsouth/rtl-wmbus/pull/33
|
||||
Reviewed-By: Petter Reinholdtsen <pere@hungry.com>
|
||||
Last-Update: 2022-04-28
|
||||
|
||||
--- rtl-wmbus-0.0.orig/Makefile
|
||||
+++ rtl-wmbus-0.0/Makefile
|
||||
@@ -5,7 +5,7 @@ STRIP=strip
|
||||
|
||||
OUTDIR?=build
|
||||
OUTFILE="$(OUTDIR)/rtl_wmbus"
|
||||
-CFLAGS?=-Iinclude -std=gnu99
|
||||
+CFLAGS+=-Iinclude -std=gnu99
|
||||
CFLAGS_WARNINGS?=-Wall -W -Waggregate-return -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wno-float-equal -Winline -Wmain -Wmissing-noreturn -Wno-missing-prototypes -Wparentheses -Wpointer-arith -Wredundant-decls -Wreturn-type -Wshadow -Wsign-compare -Wstrict-prototypes -Wswitch -Wunreachable-code -Wno-unused -Wuninitialized
|
||||
LIB?=-lm
|
||||
SRC=rtl_wmbus.c
|
||||
@@ -62,7 +62,8 @@ pi1:
|
||||
rebuild: clean all
|
||||
|
||||
install: release
|
||||
- cp -f $(OUTFILE) /usr/bin
|
||||
+ install -d $(DESTDIR)/usr/bin
|
||||
+ install $(OUTFILE) $(DESTDIR)/usr/bin
|
||||
|
||||
clean:
|
||||
$(RM) -rf "$(OUTDIR)"
|
|
@ -0,0 +1,3 @@
|
|||
0xxx: Grabbed from upstream development.
|
||||
1xxx: Possibly relevant for upstream adoption.
|
||||
2xxx: Only relevant for official Debian release.
|
|
@ -0,0 +1 @@
|
|||
1000-build-install-deb.patch
|
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/make -f
|
||||
# See debhelper(7) (uncomment to enable)
|
||||
# output every command that modifies files on the build system.
|
||||
#export DH_VERBOSE = 1
|
||||
|
||||
# see FEATURE AREAS in dpkg-buildflags(1)
|
||||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||
|
||||
# see ENVIRONMENT in dpkg-buildflags(1)
|
||||
# package maintainers to append CFLAGS
|
||||
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
|
||||
# package maintainers to append LDFLAGS
|
||||
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
||||
|
||||
%:
|
||||
dh $@
|
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
|
@ -0,0 +1,8 @@
|
|||
# See uscan(1) for format
|
||||
|
||||
# Compulsory line, this is a version 4 file
|
||||
version=4
|
||||
|
||||
opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%rtl-wmbus-$1.tar.gz%" \
|
||||
https://github.com/xaelsouth/rtl-wmbus/tags \
|
||||
(?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate
|
Ładowanie…
Reference in New Issue