mirror of
https://github.com/eLvErDe/hwraid.git
synced 2025-07-27 07:44:01 +02:00
Updated packaging for 3dm2
This commit is contained in:
parent
a0093df3e6
commit
2cc8f7dd73
@ -1,3 +1,9 @@
|
|||||||
|
3dm2 (2.11.00.019+10.2.1+KB16625-2) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Use lsb-release to add unique distribution tag in pkgs version.
|
||||||
|
|
||||||
|
-- Adam Cecile <acecile@le-vert.net> Tue, 02 Jul 2019 19:29:55 +0200
|
||||||
|
|
||||||
3dm2 (2.11.00.019+10.2.1+KB16625-1) unstable; urgency=low
|
3dm2 (2.11.00.019+10.2.1+KB16625-1) unstable; urgency=low
|
||||||
|
|
||||||
* New upstream release:
|
* New upstream release:
|
||||||
|
@ -2,13 +2,13 @@ Source: 3dm2
|
|||||||
Section: admin
|
Section: admin
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Adam Cécile (Le_Vert) <gandalf@le-vert.net>
|
Maintainer: Adam Cécile (Le_Vert) <gandalf@le-vert.net>
|
||||||
Build-Depends: debhelper (>= 5)
|
Build-Depends: debhelper (>= 5), lsb-release
|
||||||
Standards-Version: 3.9.2
|
Standards-Version: 3.9.2
|
||||||
Homepage: http://www.3ware.com
|
Homepage: http://www.3ware.com
|
||||||
|
|
||||||
Package: 3dm2
|
Package: 3dm2
|
||||||
Architecture: amd64 i386
|
Architecture: amd64 i386
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base, exim4 | postfix | sendmail | mail-transport-agent
|
Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base, default-mta | exim4 | postfix | sendmail | mail-transport-agent
|
||||||
Description: 3ware 3DM2 RAID HBAs Management Utility
|
Description: 3ware 3DM2 RAID HBAs Management Utility
|
||||||
3ware Disk Manager 2 (3DM2), allows you to view the status of and manage
|
3ware Disk Manager 2 (3DM2), allows you to view the status of and manage
|
||||||
3ware RAID controllers and associated drives.
|
3ware RAID controllers and associated drives.
|
||||||
|
@ -6,6 +6,16 @@
|
|||||||
DESTDIR = $(CURDIR)/debian/3dm2
|
DESTDIR = $(CURDIR)/debian/3dm2
|
||||||
DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
|
DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
|
||||||
|
|
||||||
|
# Get version from changelog as well as lsb_release
|
||||||
|
# to compute unique build version (useful for repo mirroring systems doing file pooling)
|
||||||
|
PKG_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f2 -d' ')
|
||||||
|
DIST_NAME := $(shell lsb_release -si)
|
||||||
|
DIST_RELEASE := $(shell lsb_release -sc)
|
||||||
|
DIST_VERSION := $(shell lsb_release -sr)
|
||||||
|
PKG_VERSION_TAG := $(PKG_VERSION)+$(DIST_NAME).$(DIST_RELEASE).$(DIST_VERSION)
|
||||||
|
SUBSTVARS_BINARY_VERSION := -Vbinary:Version="$(PKG_VERSION_TAG)"
|
||||||
|
SUBSTVARS_SOURCE_VERSION := -Vsource:Version="$(PKG_VERSION_TAG)"
|
||||||
|
|
||||||
build: build-arch build-indep
|
build: build-arch build-indep
|
||||||
build-arch:
|
build-arch:
|
||||||
build-indep:
|
build-indep:
|
||||||
@ -64,9 +74,10 @@ binary-arch: build install
|
|||||||
dh_strip
|
dh_strip
|
||||||
dh_compress -Xusr/share/doc/3dm2/html
|
dh_compress -Xusr/share/doc/3dm2/html
|
||||||
dh_fixperms -Xetc/3dm2/3dm2.conf
|
dh_fixperms -Xetc/3dm2/3dm2.conf
|
||||||
|
dh_makeshlibs
|
||||||
dh_installdeb
|
dh_installdeb
|
||||||
dh_shlibdeps
|
dh_shlibdeps
|
||||||
dh_gencontrol
|
dh_gencontrol -- -v"$(PKG_VERSION_TAG)" $(SUBSTVARS_BINARY_VERSION) $(SUBSTVARS_SOURCE_VERSION)
|
||||||
dh_md5sums
|
dh_md5sums
|
||||||
dh_builddeb
|
dh_builddeb
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user