Changeset 43
- Timestamp:
- 06/24/08 14:25:06
(4 months ago)
- Author:
- jtang
- Message:
Fixed a problem in shared memory where a function could return an uninitialized value.
Fixed RPM spec file for library installation on 64-bit systems.
Added a README that documents the build system.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r42 |
r43 |
|
| 3 | 3 | License: GPLv2 |
|---|
| 4 | 4 | BuildRoot: %{_tmppath}/libsipc-%{version} |
|---|
| 5 | | Release: 0 |
|---|
| | 5 | Release: 1 |
|---|
| 6 | 6 | Source: libsipc.tar.gz |
|---|
| 7 | 7 | Summary: Secure Inter-Process Library |
|---|
| … | … | |
| 58 | 58 | %install |
|---|
| 59 | 59 | rm -rf ${RPM_BUILD_ROOT} |
|---|
| 60 | | make DESTDIR=${RPM_BUILD_ROOT} PREFIX='/usr' ENABLE_JAVA=1 install |
|---|
| | 60 | make DESTDIR=${RPM_BUILD_ROOT} PREFIX='/usr' LIBDIR=%{_libdir} ENABLE_JAVA=1 install |
|---|
| 61 | 61 | # on RedHat systems, shared libraries are installed as executable |
|---|
| 62 | | chmod 755 ${RPM_BUILD_ROOT}/usr/lib/* |
|---|
| | 62 | chmod 755 ${RPM_BUILD_ROOT}/%{_libdir}/* |
|---|
| 63 | 63 | |
|---|
| 64 | 64 | %clean |
|---|
| … | … | |
| 96 | 96 | |
|---|
| 97 | 97 | %changelog |
|---|
| | 98 | * Tue Jun 24 2008 Jason Tang <selinux@tresys.com> 1.1-1 |
|---|
| | 99 | - Set install library install location to %{_libdir}, for 64-bit systems. |
|---|
| | 100 | |
|---|
| 98 | 101 | * Wed Jun 04 2008 Jason Tang <selinux@tresys.com> 1.1-0 |
|---|
| 99 | 102 | - Fixed buffer size calculations. |
|---|
| r41 |
r43 |
|
| 207 | 207 | *len = sipc->len; |
|---|
| 208 | 208 | return 0; |
|---|
| 209 | | } else if (mtype < 0) { |
|---|
| | 209 | } else { |
|---|
| 210 | 210 | sipc_error(sipc, "Received a message of unknown type\n"); |
|---|
| 211 | 211 | return -1; |
|---|
Download in other formats:
* Generating other formats may take time.