--- ccstools/Makefile~ 2008-03-05 12:11:08.000000000 +0100
+++ ccstools/Makefile 2008-03-05 12:14:49.672333658 +0100
-@@ -14,16 +14,11 @@
+@@ -14,17 +14,12 @@
- install:
+ install: all
mkdir -p $(INSTALLDIR)/usr/lib/ccs/misc $(INSTALLDIR)/sbin $(INSTALLDIR)/usr/sbin
-- chmod 700 $(INSTALLDIR)/usr/lib/ccs
+- chmod 755 $(INSTALLDIR)/usr/lib/ccs
- chmod 755 domainmatch init_policy.sh tomoyo_init_policy.sh
- cp -af --remove-destination ccstools $(INSTALLDIR)/usr/lib/ccs/
+ cp -af --remove-destination ccstools ccstools.conf $(INSTALLDIR)/usr/lib/ccs/
for i in $(ALIAS_LIST); do ln -f $(INSTALLDIR)/usr/lib/ccs/ccstools $(INSTALLDIR)/usr/lib/ccs/$$i; done
for i in $(ALIAS_LIST); do ln -sf /usr/lib/ccs/$$i $(INSTALLDIR)/usr/sbin/ccs-`echo $$i | sed 's:^ccs-::'`; done
cp -af --remove-destination realpath domainmatch init_policy.sh tomoyo_init_policy.sh $(INSTALLDIR)/usr/lib/ccs/
cp -af --remove-destination $(MISC_FILES) $(INSTALLDIR)/usr/lib/ccs/misc/
+ cp -af --remove-destination README.ccs COPYING.ccs $(INSTALLDIR)/usr/lib/ccs/
- chown -R root:root ccs-init tomoyo-init $(INSTALLDIR)/usr/lib/ccs/
-- chmod 4755 $(INSTALLDIR)/usr/lib/ccs/misc/proxy
+- chmod 4755 $(INSTALLDIR)/usr/lib/ccs/misc/force-logout
- chmod 700 ccs-init tomoyo-init
cp -af --remove-destination ccs-init tomoyo-init $(INSTALLDIR)/sbin/
mkdir -p $(INSTALLDIR)/usr/share/man/man8/
diff -upr ccstools./Makefile ccstools/Makefile
--- ccstools./Makefile 2008-01-31 13:00:00.000000000 +0100
+++ ccstools/Makefile 2008-03-05 12:04:23.715354234 +0100
-@@ -32,18 +32,14 @@ CC=gcc
+@@ -32,20 +32,15 @@ CC=gcc
CFLAGS=-Wall -O2 ${shell $(CC) -Wno-pointer-sign -S -o /dev/null -x c - < /dev/null > /dev/null 2>&1 && echo "-Wno-pointer-sign"}
-/usr/include/curses.h:
- @echo "/usr/include/curses.h is missing."
- @echo "Run 'yum install ncurses-devel' or 'apt-get install libncurses5-dev'"
+- sleep 10
-
/usr/include/readline/readline.h:
@echo "/usr/include/readline/readline.h is missing."
@echo "Run 'yum install readline-devel' or 'apt-get install libreadline5-dev'"
+ sleep 10
-ccstools: ccstools.src/*.c ccstools.src/*.h /usr/include/curses.h
+ccstools: ccstools.src/*.c ccstools.src/*.h
Summary: TOMOYO Linux tools
Name: ccs-tools
-Version: 1.5.3
+Version: 1.6.6
Release: 1
License: GPL
Group: Base/Kernel
-Source0: http://osdn.dl.sourceforge.jp/tomoyo/27220/%{name}-%{version}-20080131.tar.gz
-# Source0-md5: f6c0371ce5b413f8ce955630cd69f72a
+Source0: http://osdn.dl.sourceforge.jp/tomoyo/30298/%{name}-%{version}-20090202.tar.gz
+# Source0-md5: ee6900297b263bebe19156c32c652f36
Patch0: %{name}-ncurses.patch
Patch1: %{name}-Makefile.patch
URL: http://tomoyo.sourceforge.jp/
%defattr(644,root,root,755)
%attr(755,root,root) /sbin/ccs-init
%attr(755,root,root) /sbin/tomoyo-init
-%attr(755,root,root) %{_libdir}/ccs
+%attr(755,root,root) /usr/lib/ccs
%attr(755,root,root) %{_sbindir}/*
%{_mandir}/man8/*.8*
-%attr(4755,root,root) %{_libdir}/ccs/misc/proxy