加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
appweb.spec 1.61 KB
一键复制 编辑 原始数据 按行查看 历史
yanghui 提交于 2022-07-12 17:35 . fix CVE-2021-33254
Name: appweb
Version: 8.2.5
Release: 2
Summary: Appweb Community Edition is a fast embedded web server for securely hosting embedded web management application.
License: GPLv2
URL: https://www.embedthis.com/licensing/index.html
Source0: https://s3.amazonaws.com/embedthis.public/%{name}-%{version}-src.tgz
Patch0: CVE-2021-33254.patch
BuildRequires: ncurses-devel, asciidoc
%description
Appweb Community Edition is a fast embedded web server for securely hosting embedded web management applications.
%prep
%autosetup -p1 -n %{name}-%{version}
%define debug_package %{nil}
%build
%configure
CFLAGS="$RPM_OPT_FLAGS -DVERSION=appweb-%{version}-%{release}"
%{__make} %{_smp_mflags} --no-print-directory -f projects/appweb-linux-default.mk all
%install
%define ARCH $(uname -m | sed 's/i.86/x86/;s/x86_64/x64/;s/arm.*/arm/;s/mips.*/mips/')
%{__make} --no-print-directory -f projects/appweb-linux-default.mk install
rm -rf ./build/linux-%{ARCH}-default/obj
find ./build/linux-%{ARCH}-default/ -name "*.a" | xargs rm
cp -r ./build/linux-%{ARCH}-default/usr/local/* %{buildroot}
%pre
%preun
%post
%postun
%check
%files
/bin/*
/include/*
/lib/*
/share/*
%changelog
* Tue Jul 12 2022 yanghui <yanghui@kylinos.cn> - 8.2.5-2
- fix CVE-2021-33254
* Thu Nov 18 2021 StrongTiger_001 <StrongTiger_001@isrc.iscas.ac.cn> - 8.2.5-1
- Update the package to 8.2.5
* Mon Nov 23 2020 seuzw <930zhaowei@163.com> - 8.2.1-2
- fix rpm package no file problem
* Mon Nov 23 2020 StrongTiger_001 <StrongTiger_001@isrc.iscas.ac.cn> - 8.2.1-1
- Bump version to 8.2.1
* Sun Aug 23 2020 StrongTiger_001 <StrongTiger_001@isrc.iscas.ac.cn> - 8.2.1-0
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化