diff --git a/tomoyo-tools-2.3.0-20100820.tar.gz b/tomoyo-tools-2.3.0-20100820.tar.gz deleted file mode 100644 index a6e467e..0000000 --- a/tomoyo-tools-2.3.0-20100820.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:085bade115b46d75f990efba9ca3305341a2ed0813ef79ddaa908bfb558e3cb3 -size 97339 diff --git a/tomoyo-tools-2.3.0-20110511.tar.gz b/tomoyo-tools-2.3.0-20110511.tar.gz new file mode 100644 index 0000000..b958677 --- /dev/null +++ b/tomoyo-tools-2.3.0-20110511.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b6e7dd6c2802da47c30b2934f04762d058b8313ffa6929ae886b8b49f3aa34c8 +size 122880 diff --git a/tomoyo-tools-makefile.patch b/tomoyo-tools-makefile.patch index 0f3226a..8693f42 100644 --- a/tomoyo-tools-makefile.patch +++ b/tomoyo-tools-makefile.patch @@ -3,14 +3,14 @@ Index: tomoyo-tools/usr_sbin/Makefile --- tomoyo-tools.orig/usr_sbin/Makefile +++ tomoyo-tools/usr_sbin/Makefile @@ -18,7 +18,7 @@ libtomoyotools.so: tomoyotools.c tomoyot - ln -sf libtomoyotools.so.1.0.0 libtomoyotools.so + ln -sf libtomoyotools.so.1.0.1 libtomoyotools.so .c: - $(CC) $(CFLAGS) -o $@ -ltomoyotools -L. $< + $(CC) $(CFLAGS) -o $@ $< -ltomoyotools -L. - install: all - mkdir -p $(INSTALLDIR)/usr/sbin $(INSTALLDIR)/usr/lib + tomoyo-editpolicy: tomoyotools.h editpolicy*.c readline.h /usr/include/curses.h libtomoyotools.so + $(CC) $(CFLAGS) -o tomoyo-editpolicy editpolicy*.c -lncurses -ltomoyotools -L. -DCOLOR_ON Index: tomoyo-tools/sbin/Makefile =================================================================== --- tomoyo-tools.orig/sbin/Makefile @@ -48,7 +48,7 @@ Index: tomoyo-tools/usr_sbin/editpolicy.h =================================================================== --- tomoyo-tools.orig/usr_sbin/editpolicy.h +++ tomoyo-tools/usr_sbin/editpolicy.h -@@ -151,7 +151,7 @@ enum tomoyo_color_pair { +@@ -152,7 +152,7 @@ enum tomoyo_color_pair { #define CCS_HEADER_LINES 3 diff --git a/tomoyo-tools.changes b/tomoyo-tools.changes index b3f3b3d..9ad11cf 100644 --- a/tomoyo-tools.changes +++ b/tomoyo-tools.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Tue Jun 28 15:09:46 CEST 2011 - meissner@suse.de + +- Update to 20110511 snapshot: + * Version 2.3.0p1 2011/02/11 Bugfix release. + + /sbin/tomoyo-init + Mount sysfs when /sys/kernel/security/ does not exist rather than when /sys/kernel/ does not exist, for some distributions have /sys/kernel/debug/ on root device. + Wait for /etc/tomoyo/tomoyo-post-init in a more reliable way. + + /usr/sbin/tomoyo-diffpolicy + Fix regression introduced when fixing old/new inversion bug. + + * Version 2.3.0p2 2011/05/11 Minor update release. + + Fix build error on parallel build. + + /usr/lib/libtomoyotools.so.1 + Fix wrong domainname validation. + + /usr/sbin/tomoyo-editpolicy + Allow configuring background color. + ------------------------------------------------------------------- Sat Jan 15 09:40:25 CET 2011 - meissner@suse.de diff --git a/tomoyo-tools.spec b/tomoyo-tools.spec index 29db391..09c1456 100644 --- a/tomoyo-tools.spec +++ b/tomoyo-tools.spec @@ -1,7 +1,7 @@ # -# spec file for package tomoyo-tools +# spec file for package hello (Version 2.3) # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,17 +16,16 @@ # -%define downloadver 2.3.0-20100820 -BuildRequires: help2man ncurses-devel - +%define downloadver 2.3.0-20110511 +BuildRequires: ncurses-devel help2man Name: tomoyo-tools License: GPLv2 Group: Development/Tools/Other AutoReqProv: on Summary: A Friendly Greeting Program -Url: http://sourceforge.jp/projects/tomoyo/ -Version: 2.3.0.20100820 -Release: 1 +Url: http://sourceforge.jp/projects/tomoyo/ +Version: 2.3.0.20110511 +Release: 79 Source0: http://sourceforge.jp/frs/redir.php?f=/tomoyo/48663/tomoyo-tools-%{downloadver}.tar.gz Patch0: %{name}-makefile.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -54,7 +53,6 @@ mv $RPM_BUILD_ROOT/usr/%_lib/tomoyo/tomoyotools.conf $RPM_BUILD_ROOT/etc rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig - %postun -p /sbin/ldconfig %files @@ -69,4 +67,5 @@ rm -rf $RPM_BUILD_ROOT /usr/share/man/man8/* %config(noreplace) /etc/tomoyotools.conf + %changelog