2017-06-06 19:16:58 +08:00
|
|
|
Summary: The powerful c/c++ library and server framework
|
|
|
|
Name: acl-libs
|
|
|
|
Version: 3.3.0
|
2017-10-27 14:15:42 +08:00
|
|
|
Release: 33
|
2017-06-06 19:16:58 +08:00
|
|
|
Group: System/Libs
|
|
|
|
License: IBM
|
|
|
|
URL: http://cdnlog-web.qiyi.domain
|
|
|
|
Packager: Zhang Qiang <qiangzhang@qiyi.com>
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
Source: http://example.com/%{name}-%{version}.tar.gz
|
|
|
|
|
2017-06-23 14:25:07 +08:00
|
|
|
%define debug_package %{nil}
|
2017-06-06 19:16:58 +08:00
|
|
|
%description
|
|
|
|
|
|
|
|
One advanced C/C++ library for Linux/Mac/FreeBSD/Solaris(x86)/Windows/Android/IOS http://zsxxsz.iteye.com/.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n acl-master
|
|
|
|
Summary: acl master framework
|
|
|
|
License: IBM
|
|
|
|
Group: System Environment/Tools
|
|
|
|
Requires(post): /sbin/ldconfig
|
|
|
|
Requires(postun): /sbin/ldconfig
|
|
|
|
|
|
|
|
%description -n acl-master
|
|
|
|
acl master framework
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
make build_one -j 32
|
2017-07-26 15:15:30 +08:00
|
|
|
make -C lib_fiber
|
2017-06-06 19:16:58 +08:00
|
|
|
|
|
|
|
%install
|
|
|
|
|
|
|
|
make packinstall DESTDIR=$RPM_BUILD_ROOT
|
2017-07-26 15:15:30 +08:00
|
|
|
make -C lib_fiber packinstall DESTDIR=$RPM_BUILD_ROOT
|
2017-06-06 19:16:58 +08:00
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
2017-06-08 10:24:23 +08:00
|
|
|
|
|
|
|
%post -n acl-master
|
|
|
|
/sbin/chkconfig --add master
|
|
|
|
|
|
|
|
%preun -n acl-master
|
|
|
|
if [ "$1" = "0" ]; then
|
|
|
|
service master stop >/dev/null 2>&1 ||:
|
|
|
|
/sbin/chkconfig --del master
|
|
|
|
fi
|
|
|
|
|
|
|
|
%postun -n acl-master
|
|
|
|
if [ "$1" -ge "1" ]; then
|
|
|
|
# TODO: upgrade should be support
|
|
|
|
service master masterrestart > /dev/null 2>&1 ||:
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
2017-06-06 19:16:58 +08:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
# TODO: should be renamed
|
|
|
|
%{_bindir}/acl_master
|
|
|
|
%{_includedir}/acl-lib/acl
|
|
|
|
%{_includedir}/acl-lib/acl_cpp
|
2017-07-26 15:15:30 +08:00
|
|
|
%{_includedir}/acl-lib/fiber
|
2017-08-09 13:29:57 +08:00
|
|
|
%{_includedir}/acl-lib/protocol
|
2017-06-06 19:16:58 +08:00
|
|
|
/usr/lib/libacl_all.a
|
2017-07-26 15:15:30 +08:00
|
|
|
/usr/lib/libfiber.a
|
|
|
|
/usr/lib/libfiber_cpp.a
|
2017-06-06 19:16:58 +08:00
|
|
|
|
|
|
|
%files -n acl-master
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/opt/soft
|
2017-06-08 10:24:23 +08:00
|
|
|
/etc/init.d/master
|
2017-09-19 13:57:58 +08:00
|
|
|
|
|
|
|
%changelog
|
2017-10-27 14:15:42 +08:00
|
|
|
* Sat Oct 27 2018 zhengshuxin@qiyi.com 3.3.0-33-20171027.14
|
|
|
|
- fixed one compiling error
|
|
|
|
|
2017-10-27 13:54:58 +08:00
|
|
|
* Sat Oct 27 2018 zhengshuxin@qiyi.com 3.3.0-32-20171027.13
|
|
|
|
- fixed one bug in fiber that int maybe overflow
|
|
|
|
|
2017-10-16 10:30:59 +08:00
|
|
|
* Sat Oct 16 2018 zhengshuxin@qiyi.com 3.3.0-31-20171016.10
|
|
|
|
- auto compiling fiber module for Linux
|
|
|
|
|
2017-10-10 14:05:57 +08:00
|
|
|
* Sat Oct 10 2018 zhengshuxin@qiyi.com 3.3.0-30-20171010.14
|
|
|
|
- fiber_mutex: fixed bugs
|
|
|
|
|
2017-10-10 11:47:35 +08:00
|
|
|
* Sat Oct 10 2018 zhengshuxin@qiyi.com 3.3.0-29-20171010.11
|
|
|
|
- fiber_mutex: fixed one bug when thread_safe is true
|
|
|
|
|
2017-10-08 12:07:17 +08:00
|
|
|
* Sat Oct 07 2018 zhengshuxin@qiyi.com 3.3.0-28-20171007.23
|
|
|
|
- add event_mutex in lib_acl_cpp
|
|
|
|
|
2017-09-29 23:15:42 +08:00
|
|
|
* Sat Sep 29 2018 zhengshuxin@qiyi.com 3.3.0-27-20170929.23
|
|
|
|
- fiber_mutex: when blocked by thread mutex, the current fiber will be swapout
|
|
|
|
|
2017-09-29 17:57:54 +08:00
|
|
|
* Sat Sep 29 2018 zhengshuxin@qiyi.com 3.3.0-26-20170929.18
|
|
|
|
- version: upgrade version to 3.3.0-26
|
|
|
|
|
2017-09-29 17:35:17 +08:00
|
|
|
* Sat Sep 29 2018 zhengshuxin@qiyi.com 3.3.0-25-20170929.17
|
|
|
|
- version: upgrade version to 3.3.0-25
|
2017-09-28 17:15:40 +08:00
|
|
|
|
2017-09-28 12:32:49 +08:00
|
|
|
* Sat Sep 28 2018 zhengshuxin@qiyi.com 3.3.0-23-20170928.12
|
|
|
|
- valgrind: free global objects so valgrind no reporting error when process exiting
|
|
|
|
|
2017-09-23 19:53:13 +08:00
|
|
|
* Sat Sep 23 2018 zhengshuxin@qiyi.com 3.3.0-22-20170923.19
|
|
|
|
- fiber: hook mkdir/stat/lstat/fstat
|
|
|
|
|
|
|
|
* Fri Sep 22 2018 zhengshuxin@qiyi.com 3.3.0-21-20170922.18
|
2017-09-22 18:08:30 +08:00
|
|
|
- acl_master: restructure web managing module.
|
|
|
|
|
2017-09-21 16:32:00 +08:00
|
|
|
* Thu Sep 21 2018 zhengshuxin@qiyi.com 3.3.0-20-20170921.16
|
|
|
|
- rpm: add version to 3.3.0-20
|
|
|
|
|
2017-09-21 16:21:42 +08:00
|
|
|
* Thu Sep 21 2018 zhengshuxin@qiyi.com 3.3.0-19-20170921.16
|
|
|
|
- bitmap: some method maybe collision with some macro on some OS
|
|
|
|
|
2017-09-21 16:00:44 +08:00
|
|
|
* Thu Sep 21 2018 zhengshuxin@qiyi.com 3.3.0-18-20170921.15
|
|
|
|
- event: fixed bug in events timer
|
|
|
|
|
2017-09-20 17:45:27 +08:00
|
|
|
* Wed Sep 20 2018 zhengshuxin@qiyi.com 3.3.0-17-20170920.17
|
|
|
|
- fiber: hook_net.c supports epoll_create1 API
|
|
|
|
|
2017-09-20 17:31:17 +08:00
|
|
|
* Wed Sep 20 2018 zhengshuxin@qiyi.com 3.3.0-16-20170920.17
|
|
|
|
- add one trying for checking fd's type
|
|
|
|
|
|
|
|
- Just increase version
|
2017-09-19 18:26:44 +08:00
|
|
|
* Tue Sep 19 2017 zhengshuxin@qiyi.com 3.3.0-15-20170919.18
|
|
|
|
- Just increase version
|
|
|
|
|
2017-09-19 17:20:48 +08:00
|
|
|
* Tue Sep 19 2017 zhengshuxin@qiyi.com 3.3.0-14-20170919.17
|
2017-09-19 17:19:49 +08:00
|
|
|
- Fixed one bug in acl_udp_server.c when sending status to acl_master
|
|
|
|
|
2017-09-19 13:57:58 +08:00
|
|
|
* Tue Sep 19 2017 zhengshuxin@qiyi.com 3.3.0-13-20170919.13
|
|
|
|
- Add ci support for gitlab
|
|
|
|
- Add timer trigger
|