Skip to content

Commit 7d8dece

Browse files
author
Bart Sjerps
committed
update to 1.4.5.1
1 parent fc6597d commit 7d8dece

13 files changed

+444
-600
lines changed

asmdisks.spec

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Name: asmdisks
22
Summary: Replacement for Oracle ASMLib using UDEV
3-
Version: 1.4.5
4-
Release: 1%{?prerel:.~%prerel}
3+
Version: 1.4.5.1
4+
Release: 1%{?dtap}
55
BuildArch: noarch
66
License: GPLv3+
77
Group: Outrun/Extras
@@ -17,23 +17,26 @@ It is an alternative to Oracle ASMLib.
1717
You can use a combination of entire disks, partitions or mapper
1818
(including multipath) devices to configure as block devices for
1919
Oracle ASM (or other purposes such as destructive IOPS performance testing)
20-
Also supports EMC Powerpath and EMC DSSD volumes.
20+
Also supports DellEMC Powerpath (emcpower) and DellEMC ScaleIO (scini) volumes.
21+
2122
%prep
2223
%setup -q -n %{name}
2324

2425
%install
2526
rm -rf %{buildroot}
26-
mkdir %{buildroot}
2727

2828
%make_install
2929

30+
install -m 0755 -d %{buildroot}/usr/bin
31+
32+
install -m 0755 -pt %{buildroot}/usr/bin bin/*
33+
3034
%files
3135
%defattr(0444,root,root)
32-
%doc /usr/share/doc/%{name}/COPYING
33-
%doc /usr/share/doc/%{name}/README
36+
%doc /usr/share/doc/%{name}/*
3437
%defattr(0644,root,root)
3538
/etc/bash_completion.d/asm.bash
36-
/usr/share/man/man1/*.gz
39+
/usr/share/man/man1/*
3740
%defattr(0755,root,root)
3841
/usr/bin/asm
3942
/usr/bin/asmstat

src/CHANGELOG

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
* Wed Nov 07 Bart Sjerps <bart@outrun.nl> 1.4.5.1
2+
- List of changes to asm:
3+
4+
2018-11-07 : Change rpmbuild process, added docs
5+
2018-08-20 : Embedded manpage, removed DSSD support
6+
2018-04-06 : Add $PATH to support remote and scripted execution
7+
2017-12-14 : Bugfix for import function
8+
2017-10-04 : Bugfix for SCSI id's with whitespace (Linux TGTD)
9+
2017-09-13 : AWK Bugfix for SCSI id's starting with '0'
10+
2017-03-14 : ScaleIO support
11+
2017-01-30 : bugfix for rename
12+
2016-11-09 : DSSD udev bugfix
13+
2016-10-19 : Overhaul, many fixes and improvements
14+
2016-09-11 : EL7 support, bootdisk detection & tempdir usage
15+
2016-08-18 : Added EMC DSSD support, output for larger volume sizes
16+
2015-03-10 : Support for EMC Powerpath
17+
2015-03-05 : Rewrite of listdisks & create, added multi option
18+
2015-02-24 : Added TAB separator option for scripting, small bugfix
19+
2014-11-06 : Added import, rename and -h/-? option
20+
2014-10-22 : Created
21+
22+
- List of changes to asmstat:
23+
2018-11-07 : Change man pages, build process
24+
2016-10-20 : Minor update
25+
2015-03-08 : Fixed alignment
26+
2014-10-24 : Updated template
27+
2014-05-02 : Created
28+
29+
- List of changes to diskheader:
30+
2018-11-07 : Change man pages, build process
31+
2017-02-01 : First version
32+
33+
- List of changes to wipedisk:
34+
2018-11-07 : Change man pages, build process
35+
2016-10-20 : Update
36+
2014-10-27 : Bugfix, added nowait
37+
2014-10-22 : Created
38+
File renamed without changes.

src/Makefile

Lines changed: 29 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,43 @@
1-
#============================================================================
2-
# Title : Makefile
3-
# Description : Makefile for asmdisks
4-
# Author : Bart Sjerps <bart@outrun.nl>
5-
# License : GPLv3+
6-
# ---------------------------------------------------------------------------
1+
# Makefile for Outrun RPM packages - called by rpmbuild %make_install
2+
# It installs doc files, man pages and the file/dir structure under ./files
3+
74
NAME := $(RPM_PACKAGE_NAME)
8-
VERSION = $(shell rpm -q --qf '%{version}\n' --specfile ../$(NAME).spec)
9-
SRCDIR = $(shell rpm --eval %_sourcedir)
5+
VERSION := $(shell rpm -q --qf '%{version}\n' --specfile ../$(NAME).spec)
6+
SRCDIR := $(shell rpm --eval %_sourcedir)
107

118
files := $(shell find files/ -type f | cut -d/ -f2-)
129
dirs := $(shell find files/ -type d | cut -d/ -f2-)
1310

14-
man1 = $(wildcard bin/*)
15-
man8 = $(wildcard sbin/*)
11+
man1dir := $(DESTDIR)/usr/share/man/man1
12+
man5dir := $(DESTDIR)/usr/share/man/man5
13+
man7dir := $(DESTDIR)/usr/share/man/man7
14+
man8dir := $(DESTDIR)/usr/share/man/man8
1615

17-
man1dir = $(DESTDIR)/usr/share/man/man1
18-
man8dir = $(DESTDIR)/usr/share/man/man8
16+
.PHONY: all doc man files
1917

20-
.PHONY: all install man
18+
default: all
2119

22-
all:
20+
doc:
21+
install -m 0755 -d $(DESTDIR)/usr/share/doc/$(NAME)
22+
test -f COPYING && install -m 0644 -pt $(DESTDIR)/usr/share/doc/$(NAME) COPYING || true
23+
test -f CHANGELOG && install -m 0644 -pt $(DESTDIR)/usr/share/doc/$(NAME) CHANGELOG || true
24+
test -f README && install -m 0644 -pt $(DESTDIR)/usr/share/doc/$(NAME) README || true
2325

2426
man:
25-
install -m 0755 -d $(man1dir)
26-
install -m 0755 -d $(man8dir)
27-
$(foreach exe,$(man1),$(exe) --mandump > $(man1dir)/$(notdir $(exe)).1 ;echo mandump $(exe);)
28-
$(foreach exe,$(man8),$(exe) --mandump > $(man8dir)/$(notdir $(exe)).8 ;echo mandump $(exe);)
29-
find $(man1dir) $(man8dir) -type f | xargs -L1 gzip
30-
31-
install: man
32-
install -d 0755 $(DESTDIR)/usr/bin
33-
install -d 0755 $(DESTDIR)/usr/share/doc/asmdisks
34-
35-
install -m 0755 -pt $(DESTDIR)/usr/bin bin/*
36-
install -m 0755 -pt $(DESTDIR)/usr/share/doc/asmdisks doc/*
27+
install -m 0755 -d $(man1dir) $(man5dir) $(man7dir) $(man8dir)
3728

29+
test -d man1 && find man1 -type f | xargs install -m 0644 -pt $(man1dir) || true
30+
test -d man5 && find man5 -type f | xargs install -m 0644 -pt $(man5dir) || true
31+
test -d man7 && find man7 -type f | xargs install -m 0644 -pt $(man7dir) || true
32+
test -d man8 && find man8 -type f | xargs install -m 0644 -pt $(man8dir) || true
33+
34+
find $(DESTDIR)/usr/share/man -type f ! -name "*.gz" | xargs -I% gzip %
35+
36+
all:
37+
38+
files:
3839
for d in $(dirs); do install -m 0755 -d $(DESTDIR)/$$d ; done
3940
for f in $(files); do install -m 0644 -pt $(DESTDIR)/$$(dirname $$f)/ files/$$f ; done
4041

42+
install: man doc files
43+
File renamed without changes.

0 commit comments

Comments
 (0)