Package init

This commit is contained in:
gnaygnil 2020-02-18 09:45:55 +08:00
parent 3e7f509d5f
commit fe694e520d
5 changed files with 99 additions and 75 deletions

View File

@ -1,36 +0,0 @@
# pax
#### Description
{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}
#### Software Architecture
Software architecture description
#### Installation
1. xxxx
2. xxxx
3. xxxx
#### Instructions
1. xxxx
2. xxxx
3. xxxx
#### Contribution
1. Fork the repository
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request
#### Gitee Feature
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
4. The most valuable open source project [GVP](https://gitee.com/gvp)
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

View File

@ -1,39 +0,0 @@
# pax
#### 介绍
{**以下是码云平台说明,您可以替换此简介**
码云是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN。专为开发者提供稳定、高效、安全的云端软件开发协作平台
无论是个人、团队、或是企业,都能够用码云实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)}
#### 软件架构
软件架构说明
#### 安装教程
1. xxxx
2. xxxx
3. xxxx
#### 使用说明
1. xxxx
2. xxxx
3. xxxx
#### 参与贡献
1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request
#### 码云特技
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

BIN
pax-3.4.tar.bz2 Normal file

Binary file not shown.

View File

@ -0,0 +1,57 @@
diff -uprN pax-3.4_raw/configure pax-3.4/configure
--- pax-3.4_raw/configure 2005-08-02 00:18:59.000000000 +0800
+++ pax-3.4/configure 2020-01-17 17:32:36.227099186 +0800
@@ -1707,7 +1707,7 @@ then
fi
fi
-EXTRA_CFLAGS="-Werror -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -DXTSTRINGDEFINES -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wmissing-format-attribute"
+EXTRA_CFLAGS="-W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -DXTSTRINGDEFINES -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wmissing-format-attribute"
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
diff -uprN pax-3.4_raw/configure.in pax-3.4/configure.in
--- pax-3.4_raw/configure.in 2005-08-02 00:18:32.000000000 +0800
+++ pax-3.4/configure.in 2020-01-17 17:32:36.227099186 +0800
@@ -15,7 +15,7 @@ then
fi
fi
-EXTRA_CFLAGS="-Werror -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -DXTSTRINGDEFINES -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wmissing-format-attribute"
+EXTRA_CFLAGS="-W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -DXTSTRINGDEFINES -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wmissing-format-attribute"
AC_SUBST(EXTRA_CFLAGS)
dnl Checks for programs.
AC_PROG_CC
diff -uprN pax-3.4_raw/src/cpio.c pax-3.4/src/cpio.c
--- pax-3.4_raw/src/cpio.c 2005-08-02 00:16:23.000000000 +0800
+++ pax-3.4/src/cpio.c 2020-01-17 17:32:36.227099186 +0800
@@ -37,6 +37,7 @@
#endif
#include <sys/types.h>
+#include <sys/sysmacros.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/param.h>
diff -uprN pax-3.4_raw/src/gen_subs.c pax-3.4/src/gen_subs.c
--- pax-3.4_raw/src/gen_subs.c 2005-08-02 00:15:42.000000000 +0800
+++ pax-3.4/src/gen_subs.c 2020-01-17 17:32:36.227099186 +0800
@@ -38,6 +38,7 @@
#endif
#include <sys/types.h>
+#include <sys/sysmacros.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/param.h>
diff -uprN pax-3.4_raw/src/tar.c pax-3.4/src/tar.c
--- pax-3.4_raw/src/tar.c 2005-08-02 00:17:58.000000000 +0800
+++ pax-3.4/src/tar.c 2020-01-17 17:32:36.227099186 +0800
@@ -38,6 +38,7 @@
#endif
#include <sys/types.h>
+#include <sys/sysmacros.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/param.h>

42
pax.spec Normal file
View File

@ -0,0 +1,42 @@
Name: pax
Version: 3.4
Release: 34
Summary: POSIX File System Archiver
License: BSD
URL: http://repository.timesys.com/buildsources/p
Source: http://repository.timesys.com/buildsources/p/pax/pax-3.4/pax-3.4.tar.bz2
Patch0000: pax-disable_Werror_option.patch
%description
Pax is the POSIX standard archive tool. It supports the two most common
forms of standard archive (backup) files - CPIO and TAR.
%package help
Summary: Help documents for pax
Requires: %{name} = %{version}-%{release}
%description help
Man pages and other related help documents for pax.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure
%make_build
%install
%make_install
%files
%license COPYING
%doc ABOUT-NLS AUTHORS
%{_bindir}/pax
%files help
%doc ChangeLog NEWS README THANKS
%doc %{_mandir}/man1/pax.1.gz
%changelog
* Tue Feb 18 2020 Ling Yang <lingyang2@huawei.com> - 3.4-34
- Package init