commit tomoyo-tools for openSUSE:Factory
Hello community, here is the log from the commit of package tomoyo-tools for openSUSE:Factory checked in at Tue Jan 25 10:30:34 CET 2011. -------- New Changes file: --- /dev/null 2010-08-26 16:28:41.000000000 +0200 +++ /mounts/work_src_done/STABLE/tomoyo-tools/tomoyo-tools.changes 2011-01-15 09:41:06.000000000 +0100 @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Sat Jan 15 09:40:25 CET 2011 - meissner@suse.de + +- initial packaging of the tomoyo userland utilities. + calling whatdependson for head-i586 New: ---- tomoyo-tools-2.3.0-20100820.tar.gz tomoyo-tools-makefile.patch tomoyo-tools.changes tomoyo-tools.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tomoyo-tools.spec ++++++ # # spec file for package tomoyo-tools # # Copyright (c) 2011 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define downloadver 2.3.0-20100820 BuildRequires: help2man ncurses-devel 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 Source0: http://sourceforge.jp/frs/redir.php?f=/tomoyo/48663/tomoyo-tools-%{downloadver}.tar.gz Patch0: %{name}-makefile.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description TOMOYO userland utilities. %prep %setup -q -n %{name} %patch0 -p1 %build make CC="gcc $RPM_OPT_FLAGS" %install make install INSTALLDIR=$RPM_BUILD_ROOT if [ "%_lib" = "lib64" ]; then mv $RPM_BUILD_ROOT/usr/lib $RPM_BUILD_ROOT/usr/lib64 fi mkdir $RPM_BUILD_ROOT/etc mkdir $RPM_BUILD_ROOT/etc/tomoyo mv $RPM_BUILD_ROOT/usr/%_lib/tomoyo/tomoyotools.conf $RPM_BUILD_ROOT/etc %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root) %doc COPYING.tomoyo README.tomoyo %dir /etc/tomoyo %attr(700,root,root) /sbin/tomoyo-init %_libdir/lib*.so* %dir %_libdir/tomoyo %_libdir/tomoyo/* /usr/sbin/* /usr/share/man/man8/* %config(noreplace) /etc/tomoyotools.conf %changelog ++++++ tomoyo-tools-makefile.patch ++++++ 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 .c: - $(CC) $(CFLAGS) -o $@ -ltomoyotools -L. $< + $(CC) $(CFLAGS) -o $@ $< -ltomoyotools -L. install: all mkdir -p $(INSTALLDIR)/usr/sbin $(INSTALLDIR)/usr/lib Index: tomoyo-tools/sbin/Makefile =================================================================== --- tomoyo-tools.orig/sbin/Makefile +++ tomoyo-tools/sbin/Makefile @@ -5,7 +5,6 @@ all: $(BUILD_FILES) install: all mkdir -p $(INSTALLDIR)/sbin chmod 700 $(BUILD_FILES) - chown -R root:root . cp -af --remove-destination $(BUILD_FILES) $(INSTALLDIR)/sbin/ .c: Index: tomoyo-tools/usr_lib_tomoyo/Makefile =================================================================== --- tomoyo-tools.orig/usr_lib_tomoyo/Makefile +++ tomoyo-tools/usr_lib_tomoyo/Makefile @@ -2,11 +2,12 @@ BUILD_FILES = tomoyo-notifyd tomoyo-edit all: $(BUILD_FILES) +LIB=lib + install: all - mkdir -p $(INSTALLDIR)/usr/lib/tomoyo - chmod 755 $(INSTALLDIR)/usr/lib/tomoyo - chown -R root:root . - cp -af --remove-destination $(BUILD_FILES) tomoyotools.conf ../README.tomoyo ../COPYING.tomoyo $(INSTALLDIR)/usr/lib/tomoyo/ + mkdir -p $(INSTALLDIR)/usr/$(LIB)/tomoyo + chmod 755 $(INSTALLDIR)/usr/$(LIB)/tomoyo + cp -af --remove-destination $(BUILD_FILES) tomoyotools.conf ../README.tomoyo ../COPYING.tomoyo $(INSTALLDIR)/usr/$(LIB)/tomoyo/ .c: $(CC) $(CFLAGS) -o $@ $< 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 { #define CCS_HEADER_LINES 3 -#define CCS_CONFIG_FILE "/usr/lib/tomoyo/tomoyotools.conf" +#define CCS_CONFIG_FILE "/etc/tomoyotools.conf" int tomoyo_add_address_group_policy(char *data, const _Bool is_delete); int tomoyo_add_number_group_policy(char *data, const _Bool is_delete); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de