rpms/schroot/F-11 import.log, NONE, 1.1 schroot-bind-shm.patch, NONE, 1.1 schroot-pam.patch, NONE, 1.1 schroot.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Zach Carter zachcarter at fedoraproject.org
Thu Jul 30 16:08:18 UTC 2009


Author: zachcarter

Update of /cvs/pkgs/rpms/schroot/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1414/F-11

Modified Files:
	.cvsignore sources 
Added Files:
	import.log schroot-bind-shm.patch schroot-pam.patch 
	schroot.spec 
Log Message:
* Thu Jul 30 2009 Zach Carter <z.carter at f5.com> - 1.2.3-2
- Import into cvs



--- NEW FILE import.log ---
schroot-1_2_3-2_fc11:F-11:schroot-1.2.3-2.fc11.src.rpm:1248970071

schroot-bind-shm.patch:
 mount-defaults |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE schroot-bind-shm.patch ---
--- bin/schroot/mount-defaults.orig	2009-05-05 10:26:42.000000000 -0700
+++ bin/schroot/mount-defaults	2009-05-05 10:26:59.000000000 -0700
@@ -5,6 +5,6 @@
 # <file system>	<mount point>	<type>	<options>	<dump>	<pass>
 proc		/proc		proc	defaults	0	0
 /dev/pts	/dev/pts	none	rw,bind		0	0
-tmpfs		/dev/shm	tmpfs	defaults	0	0
+/dev/shm	/dev/shm	tmpfs	defaults	0	0
 /home		/home		none	rw,bind		0	0
 /tmp		/tmp		none	rw,bind		0	0

schroot-pam.patch:
 schroot |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- NEW FILE schroot-pam.patch ---
--- schroot-1.1.6/bin/schroot/pam/schroot	2008-01-20 16:16:25.000000000 -0800
+++ schroot-1.1.6/bin/schroot/pam/schroot	2008-04-29 10:33:21.000000000 -0700
@@ -26,9 +26,9 @@
 # The standard Unix authentication modules, used with
 # NIS (man nsswitch) as well as normal /etc/passwd and
 # /etc/shadow entries.
- at include common-auth
- at include common-account
- at include common-session
+auth               include         system-auth
+session            include         system-auth
+account            include         system-auth
 
 # Sets up user limits, please uncomment and read /etc/security/limits.conf
 # to enable this functionality.


--- NEW FILE schroot.spec ---
Name: schroot
Version: 1.2.3
Release: 2%{?dist}
Summary: Execute commands in a chroot environment
Group: Development/Tools
License: GPLv3+
Url: http://packages.debian.org/schroot
Source0: http://ftp.de.debian.org/debian/pool/main/s/schroot/%{name}_%{version}.orig.tar.gz
Patch0: schroot-pam.patch
Patch1: schroot-bind-shm.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: pam-devel
BuildRequires: boost-devel
BuildRequires: lockdev-devel
BuildRequires: gettext

%description
schroot allows users to execute commands or interactive shells in
different chroots.  Any number of named chroots may be created, and
access permissions given to each, including root access for normal
users, on a per-user or per-group basis.  Additionally, schroot can
switch to a different user in the chroot, using PAM for
authentication and authorisation.  All operations are logged for
security.

Several different types of chroot are supported, including normal
directories in the filesystem, and also block devices.  Sessions,
persistent chroots created on the fly from files (tar with optional
compression and zip) and LVM snapshots are also supported.

schroot supports kernel personalities, allowing the programs run
inside the chroot to have a different personality.  For example,
running 32-bit chroots on 64-bit systems, or even running binaries
from alternative operating systems such as SVR4 or Xenix.

schroot also integrates with sbuild, to allow building packages with
all supported chroot types, including session-managed chroot types
such as LVM snapshots.

schroot shares most of its options with dchroot, but offers vastly
more functionality.

%package -n dchroot
Group: Development/Tools
Summary: Older tool similar to schroot

%description -n dchroot
dchroot allows users to execute commands or interactive shells in different 
chroots. Users can move between chroots as necessary.  Enhanced
functionality is available in the next generation tool called schroot.

%prep

%setup -q 

%patch0 -p1

# fix for DOS issue reported here: 
#      http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526788
%patch1 -p0

%build

%configure --disable-rpath --enable-static --disable-shared --enable-dchroot 
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT 
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/schroot/session
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/schroot/chroot.d
/sbin/ldconfig -n $RPM_BUILD_ROOT/%{_libdir}

# get rid of uneeded include and library files
rm -rf $RPM_BUILD_ROOT%{_includedir}
rm -f $RPM_BUILD_ROOT%{_libdir}/pkgconfig/sbuild.pc
rm -f $RPM_BUILD_ROOT%{_libdir}/libsbuild.la
rm -f $RPM_BUILD_ROOT%{_libdir}/libsbuild.so*
rm -f $RPM_BUILD_ROOT%{_libdir}/libsbuild.a

%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-,root,root)
%dir %{_bindir}/schroot
%dir %{_sysconfdir}/schroot
%config(noreplace) %{_sysconfdir}/schroot/schroot.conf
%config(noreplace) %{_sysconfdir}/schroot/mount-defaults
%config(noreplace) %{_sysconfdir}/schroot/copyfiles-defaults
%config(noreplace) %{_sysconfdir}/schroot/script-defaults
%config(noreplace) %{_sysconfdir}/pam.d/schroot
%dir %{_sysconfdir}/schroot/exec.d
%{_sysconfdir}/schroot/exec.d/00check
%dir %{_sysconfdir}/schroot/setup.d
%{_sysconfdir}/schroot/setup.d/00check
%{_sysconfdir}/schroot/setup.d/05file
%{_sysconfdir}/schroot/setup.d/05lvm
%{_sysconfdir}/schroot/setup.d/10mount
%{_sysconfdir}/schroot/setup.d/15killprocs
%{_sysconfdir}/schroot/setup.d/20copyfiles
%{_sysconfdir}/schroot/setup.d/50chrootname
%dir %{_libexecdir}/schroot
%{_libexecdir}/schroot/schroot-listmounts
%{_libexecdir}/schroot/schroot-mount
%{_libexecdir}/schroot/schroot-releaselock
%dir %{_localstatedir}/lib/schroot
%{_localstatedir}/lib/schroot/session
%{_localstatedir}/lib/schroot/mount
%{_mandir}/man1/schroot.1.gz
%{_mandir}/man5/schroot-script-config.5.gz
%{_mandir}/man5/schroot-setup.5.gz
%{_mandir}/man5/schroot.conf.5.gz
%doc COPYING ABOUT-NLS AUTHORS ChangeLog HACKING INSTALL NEWS README THANKS TODO

%files -n dchroot
%defattr(-,root,root)
%{_bindir}/dchroot
%{_mandir}/man1/dchroot.1.gz

%changelog
* Tue Jul 14 2009 Zach Carter <z.carter at f5.com> - 1.2.3-2
- fix "file listed twice" warnings

* Tue Jul 14 2009 Zach Carter <z.carter at f5.com> - 1.2.3-1
- new upstream version
- compile with --enable-static --disable-shared
- improve dchroot description
- define directory ownership
- add + to GPLv3 license definition

* Tue May  5 2009 Zach Carter <z.carter at f5.com> - 1.2.2-2
- schroot-bind-shm patch to fix DOS issue 

* Sat Apr 25 2009 Zach Carter <z.carter at f5.com> - 1.2.2-1
- update to 1.2.2

* Wed Nov  5 2008 Zach Carter <z.carter at f5.com> - 1.2.1-2
- move libsbuild subpackage into main package
- remove duplicate doc entries
- disable rpath
- defattr for dchroot files

* Mon Sep 15 2008 Zach Carter <z.carter at f5.com> - 1.2.1-1
- bump version to 1.2.1

* Tue May 20 2008 Zach Carter <z.carter at f5.com> - 1.2.0-1
- move dchroot.1.gz to correct subpackage
- removed superfluous Requires: statements
- moved i18n files into libsbuild subpackage
- removed tmpfs patch

* Mon May 12 2008 Zach Carter <z.carter at f5.com> - 1.2.0-1
- Initial version



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/schroot/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	29 Jul 2009 22:39:56 -0000	1.1
+++ .cvsignore	30 Jul 2009 16:08:18 -0000	1.2
@@ -0,0 +1 @@
+schroot_1.2.3.orig.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/schroot/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	29 Jul 2009 22:39:56 -0000	1.1
+++ sources	30 Jul 2009 16:08:18 -0000	1.2
@@ -0,0 +1 @@
+cc54e994c7eb714fe140a8cc6f812a9f  schroot_1.2.3.orig.tar.gz




More information about the fedora-extras-commits mailing list