diff options
author | Robin Lee <robinlee.sysu@gmail.com> | 2010-06-12 13:18:55 +0800 |
---|---|---|
committer | Robin Lee <robinlee.sysu@gmail.com> | 2010-06-12 13:18:55 +0800 |
commit | f59b6f1ac73a896cc40e91741f1e5d5ea2c398ff (patch) | |
tree | fbca6eaac4f8646075253d36c44a960738902875 /mentohust | |
download | rpm-f59b6f1ac73a896cc40e91741f1e5d5ea2c398ff.tar.gz rpm-f59b6f1ac73a896cc40e91741f1e5d5ea2c398ff.tar.xz rpm-f59b6f1ac73a896cc40e91741f1e5d5ea2c398ff.zip |
Initial commit
Diffstat (limited to 'mentohust')
-rw-r--r-- | mentohust/F-13/mentohust-0.3.4-missing-header-file.patch | 14 | ||||
-rw-r--r-- | mentohust/F-13/mentohust.spec | 54 |
2 files changed, 68 insertions, 0 deletions
diff --git a/mentohust/F-13/mentohust-0.3.4-missing-header-file.patch b/mentohust/F-13/mentohust-0.3.4-missing-header-file.patch new file mode 100644 index 0000000..28b2447 --- /dev/null +++ b/mentohust/F-13/mentohust-0.3.4-missing-header-file.patch @@ -0,0 +1,14 @@ +diff -Naur mentohust-0.3.4/src/mycheck.c mentohust-0.3.4.new/src/mycheck.c +--- mentohust-0.3.4/src/mycheck.c 2010-04-22 19:56:01.000000000 +0800 ++++ mentohust-0.3.4.new/src/mycheck.c 2010-06-02 14:54:16.666911721 +0800 +@@ -6,6 +6,10 @@ + * 摘 要:客户端校验算法 + * 作 者:kkHAIKE + */ ++#ifdef HAVE_CONFIG_H ++#include "config.h" ++#endif ++ + #include "mycheck.h" + #include "myini.h" + #include "md5_a.h" diff --git a/mentohust/F-13/mentohust.spec b/mentohust/F-13/mentohust.spec new file mode 100644 index 0000000..8096b9f --- /dev/null +++ b/mentohust/F-13/mentohust.spec @@ -0,0 +1,54 @@ +Name: mentohust +Version: 0.3.4 +Release: 1%{?dist} +Summary: A Ruijie and Cernet supplicant +Summary(zh_CN.UTF-8): 锐捷和塞尔认证 + +Group: Applications/Internet +License: BSD +URL: http://code.google.com/p/mentohust/ +Source0: http://mentohust.googlecode.com/files/mentohust-%{version}.tar.gz +Patch0: mentohust-0.3.4-missing-header-file.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Requires: libpcap + +%description +This package contains a Ruijie and Cernet supplicant from HustMoon Studio. + +See %{_defaultdocdir}/%{name}-%{version}/README for more information. + +%description -l zh_CN.UTF-8 +mentohust是用来进行锐捷和塞尔认证的。因为官方没有Linux版本或者Linux版本很不好用 +^_^ + +详见 %{_defaultdocdir}/%{name}-%{version}/README + + +%prep +%setup -q +%patch0 -p1 -b .fix + + +%build +%configure --docdir=%{_defaultdocdir}/%{name}-%{version} +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +%find_lang %{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f %{name}.lang +%defattr(-,root,root,-) +%{_bindir}/mentohust +%config %{_sysconfdir}/mentohust.conf +%{_mandir}/man1/mentohust* +%doc %{_defaultdocdir}/%{name}-%{version}/* + +%changelog |