Bart Van Assche
98b4b4c4f1
Debian: Various package building improvements (trunk r9333)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.5.x@9456 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-06-24 03:49:59 +00:00
Bart Van Assche
3a592dac6d
dpkg: Use defaults if DEBEMAIL or DEBFULLNAME have not been set (trunk r9332)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.5.x@9455 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-06-24 03:49:26 +00:00
Bart Van Assche
5ddb45d914
Simplify the top-level Makefile
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9015 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-06-13 16:57:19 +00:00
Bart Van Assche
474af4d174
Makefile: Remove references to the mpt and mvsas_tgt drivers
...
This patch is a follow-up for r8622.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8946 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-20 01:04:08 +00:00
Bart Van Assche
d5c638ca1d
rpm build: Make the RPM build directory configurable
...
Signed-off-by: Daniel Ahlin <dah@pdc.kth.se >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8658 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-16 04:22:03 +00:00
Bart Van Assche
5de1135f8e
scst: Remove all references to the QLogic git tree
...
Since the driver in the qla2x00t-32gbit directory supersedes the driver from
the QLogic git tree, remove all references to the latter.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8620 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-10-15 04:15:49 +00:00
Bart Van Assche
06ee7ca41d
Makefile: Unbreak the RPM build process
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8595 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-09-29 22:10:46 +00:00
Bart Van Assche
22f1132073
Makefiles: Rework build mode switching
...
Move the build_mode file from the top level into the scst directory. Write
build mode defines into scst/include/build_mode.h and include that file
directly or indirectly in all source files that depend on these #defines.
This approach has the advantage that "make clean" does no longer has to
be run when switching between build modes because the kernel build system
recognizes build_mode.h as a dependency and triggers a rebuild of all
source files that directly or indirectly include the build_mode.h header
file.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8347 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-05-05 18:19:38 +00:00
Bart Van Assche
ef99fe40be
fcst, srpt: Move the build_mode file to the top level
...
Additionally, rename BUILDMODE into BUILD_MODE and FCST/SRPTFLAGS into
BUILD_MODE_CFLAGS_.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8073 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-03-25 19:46:24 +00:00
Bart Van Assche
1587638134
Remove support for "make enable_proc" and "make disable_proc"
...
Since RHEL 5 and kernel versions before 2.6.26 rely on procfs support,
this patch removes support for RHEL 5.x and also for kernel versions
before 2.6.26.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7829 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-22 22:13:40 +00:00
Bart Van Assche
7c0540c556
Merge r7814:7819 from the 3.3.x branch
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7820 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-19 04:25:36 +00:00
Bart Van Assche
ca512bf87c
dpkg: Add support for debian.tar.gz archives
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7796 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-04 22:02:37 +00:00
Bart Van Assche
75fe332ef1
dpkg: Add support for debian.tar.gz archives
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7795 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-04 21:29:58 +00:00
Bart Van Assche
4cd532a987
Multiple files: Remove trailing whitespace
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7504 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-10-14 03:55:02 +00:00
Bart Van Assche
91f9113cd9
Makefile: Add a missing -q option to a grep command
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7401 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-05-05 08:42:44 +00:00
Vladislav Bolkhovitin
f549829482
Copyrights updated
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7396 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-04-12 03:49:10 +00:00
Vladislav Bolkhovitin
dae3ec0e83
Updates to support new QLogic git driver
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7391 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-31 03:49:15 +00:00
Bart Van Assche
1bcb712213
scst.spec: Fix depmod path
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7389 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-08 06:01:49 +00:00
Bart Van Assche
1f7fdf5cbc
Makefile, rpm: Pass ${KDIR} to scst.spec
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7377 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-04 19:35:38 +00:00
Bart Van Assche
39d9ce2bb5
Debian: Add support for older versions on which dpkg-buildpackage neither supports -ui nor -jauto
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7369 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-08 05:43:15 +00:00
Bart Van Assche
47b9268d4f
dpkg: Enable stripping of binary and compression of manual pages
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7365 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-06 03:26:03 +00:00
Bart Van Assche
41473b3e66
Add support for generating Debian packages
...
Debian packages can be generated by running "make dpkg". Running that command
will produce e.g. the following output:
[ ... ]
Output files:
total 8444
-rw-r--r-- 1 bart bart 185150 Jan 31 20:11 iscsi-scst_3.4.0.6003-1_amd64.deb
-rw-r--r-- 1 bart bart 53174 Jan 31 20:11 scst-dev_3.4.0.6003-1_all.deb
-rw-r--r-- 1 bart bart 878030 Jan 31 20:11 scst-dkms_3.4.0.6003-1_all.deb
-rw-r--r-- 1 bart bart 7388 Jan 31 20:09 scst_3.4.0.6003-1.debian.tar.xz
-rw-r--r-- 1 bart bart 1046 Jan 31 20:09 scst_3.4.0.6003-1.dsc
-rw-r--r-- 1 bart bart 95348 Jan 31 20:11 scst_3.4.0.6003-1_amd64.build
-rw-r--r-- 1 bart bart 6526 Jan 31 20:11 scst_3.4.0.6003-1_amd64.buildinfo
-rw-r--r-- 1 bart bart 3054 Jan 31 20:11 scst_3.4.0.6003-1_amd64.changes
-rw-r--r-- 1 bart bart 4892014 Jan 31 20:11 scst_3.4.0.6003-1_amd64.deb
-rw-rw-r-- 1 bart bart 2458224 Jan 31 20:09 scst_3.4.0.6003.orig.tar.xz
-rw-r--r-- 1 bart bart 43616 Jan 31 20:11 scstadmin_3.4.0.6003-1_amd64.deb
These packages can be installed with the dpkg command. An example:
cd dpkg && sudo dpkg -i scst_*.deb iscsi-scst_*.deb scstadmin_*.deb
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7350 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-01 04:21:29 +00:00
Bart Van Assche
9ec73e101a
Makefile: Rework the code for generation of a source code distribution archive
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7348 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-01 04:17:00 +00:00
Bart Van Assche
6c61863bf9
Makefile: Evaluate $(VERSION) once
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7347 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-01 04:14:57 +00:00
Vladislav Bolkhovitin
68fa7e1a0d
Copyright updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7146 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-04-22 03:19:52 +00:00
Vladislav Bolkhovitin
c98eb43f55
extraclean does "rm tags cscope.out"
...
Signed-off-by: David Butterfield <dab21774@gmail.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7125 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-04-14 01:17:45 +00:00
Vladislav Bolkhovitin
5930008dba
Add scstadmin in the dist archive
...
Reported by David Chen <david.chen@osnexus.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7091 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-01-24 00:29:41 +00:00
Vladislav Bolkhovitin
53c0c00bf4
Add user space pieces to scst-dist-gzip.
...
They now essential part of the distribution
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7054 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-12-16 02:49:45 +00:00
Bart Van Assche
76cd77d64a
scst.spec.in: Leave out 'r' from revision number
...
RPM version comparison works correctly with numbers but not if the
revision starts with 'r'. Hence leave out the 'r'.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6855 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-04-09 03:04:09 +00:00
Vladislav Bolkhovitin
fa2f54ac9e
Copyrights updated
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6787 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-22 04:04:43 +00:00
Vladislav Bolkhovitin
ae38d284e0
Explicit ALUA user space
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6579 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 03:40:37 +00:00
Bart Van Assche
c8b2fd0808
scst.spec: Use QLogic target driver source code from the QLogic git tree if available
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6557 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-10-28 18:10:19 +00:00
Bart Van Assche
35bca71f0c
scst.spec: Respect KDIR environment variable
...
Reported-by: Consus <consus@gmx.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6492 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-08-31 17:27:10 +00:00
Bart Van Assche
6c6a6e6ba3
scst.spec: Make version numbers monotonically increasing for the git tree
...
Additionally, make the fourth component of the version number configurable.
An example: make RPM REVISION=r733
Reported-by: Consus <consus@gmx.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6491 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-08-31 15:03:20 +00:00
Vladislav Bolkhovitin
93dc546f3b
Fix typo in the new QLA git qla_extraclean target
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6205 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-05-09 03:16:19 +00:00
Vladislav Bolkhovitin
906f4dfefb
Merge t10-pi branch back
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6192 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-05-01 04:21:56 +00:00
Bart Van Assche
c32f79f6c1
Revert T10-PI support
...
The T10-PI patch (r6162) increases the time needed to run mkfs.ext4
over iSCSI from less than a second to several minutes. This is a
regression so revert the T10-PI patch until there is sufficient time
to find the root cause of this regression and to fix this regression.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6171 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-31 09:51:24 +00:00
Vladislav Bolkhovitin
a3ad8d1832
T10-PI support
...
Thanks to SanDisk and Emulex for supporting this work!
Tested with Emulex SDK Release 5.2.1
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6162 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-28 05:22:47 +00:00
Vladislav Bolkhovitin
fe38e4acb2
Copyrights updated
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6146 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-19 00:01:03 +00:00
Bart Van Assche
94a4227449
Makefile: Add top-level release-archive target
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6127 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-24 13:36:12 +00:00
Bart Van Assche
e8df6e739e
scst.spec: Separate DKMS spec into a new spec file
...
Split scst.spec.in as follows:
* Keep the directives for generating an RPM that contains binary kernel
modules in scst.spec.in. Add the kernel version number in the RPM name
to make it possible to install RPMs for different kernel versions next
to each other.
* Move the directives for generating a DKMS RPM into a new spec file. The
name of this spec file does not contain a kernel version since the DKMS
RPM is independent of the kernel version against which it has been built.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6125 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-23 14:48:56 +00:00
Vladislav Bolkhovitin
4321761716
Cleanups
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5991 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-01-28 05:07:46 +00:00
Bart Van Assche
c7b366e8e9
scst.spec.in: Pass kernel version via RPM-variable %{kversion} instead of shell variable ${KVER}
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5973 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-01-16 13:12:22 +00:00
Vladislav Bolkhovitin
d9c9a8b8a2
Fallback to the old qla driver if the git one not detected
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5939 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-19 03:50:58 +00:00
Bart Van Assche
c641574046
rpm build: Add support for qla2x00t driver in QLogic git repository
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5929 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-09 12:33:16 +00:00
Vladislav Bolkhovitin
e63bbf37b2
Integration of the QLogic git's qla2x00t into the SCST tree
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5722 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-08-21 05:18:43 +00:00
Bart Van Assche
4792feae74
Makefile: Only report which RPMs have been built if "make rpm" is run as a non-privileged user
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5560 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-06-02 15:31:50 +00:00
Bart Van Assche
e4ab729b48
make rpm: Do not remove rpmbuilddir
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5307 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-02-24 07:30:50 +00:00
Vladislav Bolkhovitin
8b726a2705
Cleanups
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5292 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-02-19 04:06:10 +00:00
Bart Van Assche
7d89372c53
Makefiles: respect DESTDIR when specified
...
Not all SCST components handle DESTDIR properly, or at all.
In particular:
* INSTALL_MOD_PATH should account for DESTDIR when 'make modules_install'
is invoked, so the kernel make infrastructure deploys the modules
and runs depmod against the proper directory tree.
* depmods must include a '-b' option to reference the proper directory tree.
* Drop special ISCSI_DESTDIR.
Signed-off-by: Steven J. Magnani <steve@digidescorp.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5289 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-02-18 08:40:36 +00:00