mirror of
https://github.com/eLvErDe/hwraid.git
synced 2025-07-27 07:44:01 +02:00
Update lsiutil packaging
This commit is contained in:
parent
41775f5d6f
commit
50efe19cf1
@ -1,3 +1,9 @@
|
|||||||
|
lsiutil (1.60-3) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Use lsb-release to generate unique distribution tag in pkgs version.
|
||||||
|
|
||||||
|
-- Adam Cecile <acecile@le-vert.net> Tue, 02 Jul 2019 23:18:57 +0200
|
||||||
|
|
||||||
lsiutil (1.60-2) unstable; urgency=medium
|
lsiutil (1.60-2) unstable; urgency=medium
|
||||||
|
|
||||||
* Invert uudecode file and args to get it working with newer version.
|
* Invert uudecode file and args to get it working with newer version.
|
||||||
|
@ -2,7 +2,7 @@ Source: lsiutil
|
|||||||
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), sharutils
|
Build-Depends: debhelper (>= 5), sharutils, lsb-release
|
||||||
Standards-Version: 3.8.0
|
Standards-Version: 3.8.0
|
||||||
Homepage: http://www.lsi.com
|
Homepage: http://www.lsi.com
|
||||||
|
|
||||||
@ -10,5 +10,5 @@ Package: lsiutil
|
|||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||||
Description: LSI Logic Fusion MPT Command Line Interface management tool
|
Description: LSI Logic Fusion MPT Command Line Interface management tool
|
||||||
This packages contains the "lsiutil" command line tool to manage LSI Fusion
|
This package contains the "lsiutil" command line tool to manage LSI Fusion
|
||||||
MPT RAID HBAs.
|
MPT RAID HBAs.
|
||||||
|
@ -2,6 +2,16 @@
|
|||||||
|
|
||||||
DESTDIR = $(CURDIR)/debian/lsiutil
|
DESTDIR = $(CURDIR)/debian/lsiutil
|
||||||
|
|
||||||
|
# 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)"
|
||||||
|
|
||||||
debian/user_guide.pdf:
|
debian/user_guide.pdf:
|
||||||
uudecode -o $@ $@.uu
|
uudecode -o $@ $@.uu
|
||||||
|
|
||||||
@ -30,9 +40,10 @@ binary-arch: build install
|
|||||||
dh_strip
|
dh_strip
|
||||||
dh_compress -Xusr/share/doc/lsiutil/user_guide.pdf
|
dh_compress -Xusr/share/doc/lsiutil/user_guide.pdf
|
||||||
dh_fixperms
|
dh_fixperms
|
||||||
|
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