mirror of
https://github.com/eLvErDe/hwraid.git
synced 2025-07-25 06:44:26 +02:00
Update adaptec-storage-manager-linux-64bit packaging
This commit is contained in:
parent
b25d28838e
commit
64970e9220
@ -1,3 +1,10 @@
|
|||||||
|
adaptec-storage-manager-linux-64bit (7.31.18856-2) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Use lsb-release to generate unique distribution tag in pkgs version.
|
||||||
|
* Add alternative for JRE for newer distributions.
|
||||||
|
|
||||||
|
-- Adam Cecile <acecile@le-vert.net> Tue, 02 Jul 2019 21:50:07 +0200
|
||||||
|
|
||||||
adaptec-storage-manager-linux-64bit (7.31.18856-1) unstable; urgency=low
|
adaptec-storage-manager-linux-64bit (7.31.18856-1) unstable; urgency=low
|
||||||
|
|
||||||
* New upstream release.
|
* New upstream release.
|
||||||
|
@ -2,7 +2,7 @@ Source: adaptec-storage-manager-linux-64bit
|
|||||||
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), libwrap0, libstdc++5, quilt
|
Build-Depends: debhelper (>= 5), libwrap0, libstdc++5, quilt, lsb-release
|
||||||
Homepage: http://www.adaptec.com/en-US/support/raid/sas_raid/SAS-5805Z/
|
Homepage: http://www.adaptec.com/en-US/support/raid/sas_raid/SAS-5805Z/
|
||||||
Standards-Version: 3.9.3
|
Standards-Version: 3.9.3
|
||||||
|
|
||||||
@ -30,7 +30,7 @@ Description: Adaptec HostRaid HBAs command line tool
|
|||||||
|
|
||||||
Package: adaptec-storage-manager-common
|
Package: adaptec-storage-manager-common
|
||||||
Architecture: amd64
|
Architecture: amd64
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}, sun-java6-jre | sun-java5-jre
|
Depends: ${shlibs:Depends}, ${misc:Depends}, default-jre-headless | java8-runtime-headless | java8-runtime | sun-java6-jre | sun-java5-jre
|
||||||
Description: Common files for storage-manager-gui and storage-manager-agent
|
Description: Common files for storage-manager-gui and storage-manager-agent
|
||||||
This package contains shared files between storage-manager-gui and
|
This package contains shared files between storage-manager-gui and
|
||||||
storage-manager-agent.
|
storage-manager-agent.
|
||||||
|
@ -6,6 +6,16 @@ include /usr/share/quilt/quilt.make
|
|||||||
# Uncomment this to turn on verbose mode.
|
# Uncomment this to turn on verbose mode.
|
||||||
#export DH_VERBOSE=1
|
#export DH_VERBOSE=1
|
||||||
|
|
||||||
|
# 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)"
|
||||||
|
|
||||||
# Example:
|
# Example:
|
||||||
# debian/rules repack FILE=../repack/manager/StorMan-7.31.x86_64.rpm VERSION=7.31.18856
|
# debian/rules repack FILE=../repack/manager/StorMan-7.31.x86_64.rpm VERSION=7.31.18856
|
||||||
repack:
|
repack:
|
||||||
@ -63,7 +73,7 @@ binary-arch: build install
|
|||||||
dh_strip
|
dh_strip
|
||||||
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