[unhide/el6] Update to 20130526. SPEC cleanup. Build with RELRO reflected in %{?__global_ldflags}. Bump version t
Christopher Meng
cicku at fedoraproject.org
Thu Jan 9 08:33:35 UTC 2014
commit 0e4a567c8b3b2f887c39c3876862639bd232cbb4
Author: Christopher Meng <i at cicku.me>
Date: Thu Jan 9 16:31:29 2014 +0800
Update to 20130526.
SPEC cleanup.
Build with RELRO reflected in %{?__global_ldflags}.
Bump version to the current one used in upstream.
.gitignore | 1 +
sources | 2 +-
unhide.spec | 47 ++++++++++++++++++++++++++++-------------------
3 files changed, 30 insertions(+), 20 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index aa0648a..8e44f08 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
unhide-20100201.tgz
/unhide-20121229.tgz
+/unhide-20130526.tgz
diff --git a/sources b/sources
index b93ed1d..615ad39 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1ad76312ed0ff7a26b8c501af9bffc67 unhide-20121229.tgz
+f3d68ed8eb239614abb0ff5ace22cf85 unhide-20130526.tgz
diff --git a/unhide.spec b/unhide.spec
index ebf1e7e..03222e2 100644
--- a/unhide.spec
+++ b/unhide.spec
@@ -1,12 +1,10 @@
Name: unhide
-Version: 1.0
-Release: 10%{?dist}.20121229
+Version: 20130526
+Release: 1%{?dist}
Summary: Tool to find hidden processes and TCP/UDP ports from rootkits
-
-Group: Applications/System
License: GPLv3
URL: http://www.unhide-forensics.info/
-Source0: http://downloads.sourceforge.net/project/unhide/unhide/unhide-20121229.tgz
+Source0: http://downloads.sourceforge.net/project/unhide/unhide/unhide-%{version}.tgz
%description
Unhide is a forensic tool to find processes and TCP/UDP ports hidden by
@@ -23,34 +21,45 @@ Unhide detects hidden processes using three techniques:
unhide-tcp identifies TCP/UDP ports that are listening but are not listed
in /bin/netstat through brute forcing of all TCP/UDP ports available.
-
%prep
-%setup -q -n %{name}-20121229
+%setup -q
chmod -x sanity*.sh
%build
-%{__cc} %{optflags} -lpthread unhide-linux*.c unhide-output.c -o unhide
-%{__cc} %{optflags} unhide-tcp.c unhide-tcp-fast.c unhide-output.c -o unhide-tcp
-%{__cc} %{optflags} unhide_rb.c -o unhide_rb
-
+%{__cc} %{optflags} -lpthread unhide-linux*.c unhide-output.c -o unhide %{?__global_ldflags}
+%{__cc} %{optflags} unhide-tcp.c unhide-tcp-fast.c unhide-output.c -o unhide-tcp %{?__global_ldflags}
+%{__cc} %{optflags} unhide_rb.c -o unhide_rb %{?__global_ldflags}
%install
-install -Dp -m0755 unhide %{buildroot}%{_sbindir}/unhide
-install -Dp -m0755 unhide-tcp %{buildroot}%{_sbindir}/unhide-tcp
-install -Dp -m0755 unhide_rb %{buildroot}%{_sbindir}/unhide_rb
-
-install -Dp -m0644 man/unhide.8 %{buildroot}%{_mandir}/man8/unhide.8
-install -Dp -m0644 man/unhide-tcp.8 %{buildroot}%{_mandir}/man8/unhide-tcp.8
+mkdir -p %{buildroot}%{_sbindir}/
+mkdir -p %{buildroot}%{_mandir}/man8/
+mkdir -p %{buildroot}%{_mandir}/es/man8/
+mkdir -p %{buildroot}%{_mandir}/fr/man8/
+install -pm0755 unhide %{buildroot}%{_sbindir}/
+install -pm0755 unhide-tcp %{buildroot}%{_sbindir}/
+install -pm0755 unhide_rb %{buildroot}%{_sbindir}/
+install -pm0644 man/unhide.8 %{buildroot}%{_mandir}/man8/
+install -pm0644 man/unhide-tcp.8 %{buildroot}%{_mandir}/man8/
+install -pm0644 man/es/unhide.8 %{buildroot}%{_mandir}/es/man8
+install -pm0644 man/es/unhide-tcp.8 %{buildroot}%{_mandir}/es/man8/
+install -pm0644 man/fr/unhide.8 %{buildroot}%{_mandir}/fr/man8/
+install -pm0644 man/fr/unhide-tcp.8 %{buildroot}%{_mandir}/fr/man8/
%files
%doc COPYING changelog README.txt NEWS sanity.sh sanity-tcp.sh
-%doc %{_mandir}/man8/unhide.8*
-%doc %{_mandir}/man8/unhide-tcp.8*
+%{_mandir}/man8/unhide*.8*
+%{_mandir}/es/man8/unhide*.8*
+%{_mandir}/fr/man8/unhide*.8*
%{_sbindir}/unhide
%{_sbindir}/unhide-tcp
%{_sbindir}/unhide_rb
%changelog
+* Thu Jan 09 2014 Christopher Meng <rpm at cicku.me> - 20130526-1
+- Update to 20130526
+- Add multilingual manpages.
+- SPEC cleanup, build with RELRO.
+
* Fri Jul 26 2013 Parag <paragn AT fedoraproject DOT org> - 1.0-10.20121229
- Update to new version
More information about the scm-commits
mailing list