Import Debian changes 0.4.5-1

megactl (0.4.5-1) unstable; urgency=medium
.
  [ Petter Reinholdtsen ]
  * New upstream version 0.4.5
    - Dropped all patches now applied upstream.
.
megactl (0.4.4-4) unstable; urgency=medium
.
  * Fixed typo in patch metadata.
  * Added 0040-hardening.patch to use CPPFLAGS for hardening during build.
.
megactl (0.4.4-3) unstable; urgency=medium
.
  [ Petter Reinholdtsen ]
  * Added some patches fetched from upstream to improve appstrea
    metainfo and compiler warnings.
  * Updated Standards-Version from 4.6.2 to 4.7.0.
.
megactl (0.4.4-2) unstable; urgency=medium
.
  * Description: mention megacli. Reformat. Closes: #1069175.
.
megactl (0.4.4-1) unstable; urgency=medium
.
  * New upstream version 0.4.4
  * Drop applied patches
.
megactl (0.4.3+git20240307.6b1fdab-1) unstable; urgency=medium
.
  * Initial release (Closes: #1065322).
This commit is contained in:
Petter Reinholdtsen
2024-08-16 22:58:24 +02:00
committed by geos_one
127 changed files with 617 additions and 1222 deletions

76
debian/rules vendored
View File

@@ -1,71 +1,15 @@
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DH_VERBOSE = 1
include /usr/share/dpatch/dpatch.make
# See FEATURE AREAS in dpkg-buildflags(1).
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
ARCH = $(shell dpkg-architecture -qDEB_BUILD_ARCH)
# 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
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
ifeq ($(ARCH),i386)
MY_MAKEOPTS="ARCH=-m32"
MT_MAKEOPTS="ARCH=-m32"
else
MY_MAKEOPTS="ARCH=-m64"
MT_MAKEOPTS="ARCH=-m32"
endif
# $(MAKE) CFLAGS="$(CFLAGS) \$$(INC) \$$(ARCH)" -C src/
build: build-stamp
build-stamp: patch-stamp
dh_testdir
$(MAKE) $(MT_MAKEOPTS) CFLAGS="$(CFLAGS) \$$(INC) \$$(ARCH)" -C src/ megatrace
mv src/megatrace src/megatrace.i386
$(MAKE) clean -C src/
$(MAKE) $(MY_MAKEOPTS) CFLAGS="$(CFLAGS) \$$(INC) \$$(ARCH)" -C src/
mv src/megatrace.i386 src/megatrace
touch $@
clean: unpatch
dh_testdir
dh_testroot
rm -f build-stamp
$(MAKE) clean -C src/
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
binary-indep: build install
binary-arch: build install
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_installexamples
dh_install
dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
ifeq ($(ARCH),i386)
dh_shlibdeps
endif
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
%:
dh $@