From e40df71156efbab7f29dcbbdc82316f311dfa722 Mon Sep 17 00:00:00 2001 From: short <> Date: Sun, 17 Aug 2003 07:13:43 +0000 Subject: [PATCH] +RPM build for sandboxing. +RPM build for lufs module. --- captive.spec.in | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/captive.spec.in b/captive.spec.in index e09dc74..6a74deb 100644 --- a/captive.spec.in +++ b/captive.spec.in @@ -1,6 +1,6 @@ # $Id$ # rpm package description file for building -# Copyright (C) 2002 Jan Kratochvil +# Copyright (C) 2002-2003 Jan Kratochvil # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -25,7 +25,7 @@ Name: @PACKAGE@ Version: @VERSION@ Release: %{release} Group: Applications/System -Source: http://www.jankratochvil.net/sw/@PACKAGE@-@VERSION@.tar.gz +Source: http://www.jankratochvil.net/project/captive/@PACKAGE@-@VERSION@.tar.gz Copyright: GPL BuildRoot: /var/tmp/@PACKAGE@-@VERSION@-%{release}-root @@ -35,10 +35,10 @@ for accessing drives with possibly proprietary file system data structures. Open file system API is provided to access these file system drivers. Microsoft Windows system components required by these drivers were analyzed and successfuly emulated in the GNU/Linux operating system. -Currently the implementation allows applications running under the GNU/Linux -operating system to access VFAT, ISO9660 and EXT2 drives. NTFS file system -capability target is the final goal being currently developed on the base -of this project assets. + +The implementation allows applications running under the GNU/Linux operating +system to access NTFS drives. File system driver compatibility with VFAT, +ISO9660 and EXT2 is also provided. #% %package devel #% Summary: Microsoft Windows platform filesystem access development support. @@ -64,7 +64,11 @@ of this project assets. CFLAGS="-O2" %configure \ --enable-shared --disable-static \ - --with-readline + --with-readline \ + --with-sandbox-setuid=@PACKAGE@ \ + --with-sandbox-setgid=@PACKAGE@ \ + --with-sandbox-chroot=%{_var}/lib/@PACKAGE@ \ + --disable-gtk-doc make %install @@ -82,13 +86,16 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README NEWS AUTHORS -%{_libdir}/gnome-vfs-2.0/modules/libcaptive-gnomevfs-@VERSION@.so -%{_libdir}/gnome-vfs-2.0/modules/libcaptive-gnomevfs.so -%{_libdir}/libcaptive-@VERSION@.so -%{_bindir}/captive-cmdline -%attr(4755,root,root) %{_sbindir}/captive-sandbox-server -%{_sysconfdir}/gnome-vfs-2.0/modules/captive.conf +%{_libdir}/lib@PACKAGE@-@VERSION@.so +%{_libdir}/liblufs-@PACKAGE@fs-@VERSION@.so +%{_libdir}/liblufs-@PACKAGE@fs.so +%{_libdir}/gnome-vfs-2.0/modules/lib@PACKAGE@-gnomevfs-@VERSION@.so +%{_libdir}/gnome-vfs-2.0/modules/lib@PACKAGE@-gnomevfs.so +%{_bindir}/@PACKAGE@-cmdline +%attr(4755,root,root) %{_sbindir}/@PACKAGE@-sandbox-server +%{_sysconfdir}/gnome-vfs-2.0/modules/@PACKAGE@.conf %{_datadir}/locale/*/LC_MESSAGES/@PACKAGE@.mo +%attr(755,root,root) %{_var}/lib/@PACKAGE@ # %files devel # %defattr(-,root,root) -- 1.8.3.1