Accepting request 74782 from security

updated to 20110511

OBS-URL: https://build.opensuse.org/request/show/74782
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tomoyo-tools?expand=0&rev=4
This commit is contained in:
Sascha Peilicke 2011-06-29 07:57:08 +00:00 committed by Git OBS Bridge
commit 4352e69bde
5 changed files with 38 additions and 16 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:085bade115b46d75f990efba9ca3305341a2ed0813ef79ddaa908bfb558e3cb3
size 97339

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b6e7dd6c2802da47c30b2934f04762d058b8313ffa6929ae886b8b49f3aa34c8
size 122880

View File

@ -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

View File

@ -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

View File

@ -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
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