rpms/mrepo/EL-6 .cvsignore, 1.2, 1.3 mrepo-initd.patch, 1.1, 1.2 mrepo.spec, 1.5, 1.6 sources, 1.2, 1.3
James Findley
sixy at fedoraproject.org
Fri Jul 9 14:14:08 UTC 2010
Author: sixy
Update of /cvs/pkgs/rpms/mrepo/EL-6
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv19319
Modified Files:
.cvsignore mrepo-initd.patch mrepo.spec sources
Log Message:
First EL6 version
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/mrepo/EL-6/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- .cvsignore 12 Jul 2009 18:59:42 -0000 1.2
+++ .cvsignore 9 Jul 2010 14:14:07 -0000 1.3
@@ -1 +1,2 @@
-mrepo-0.8.6.tar.bz2
+mrepo-0.8.7.tar.bz2
+mrepo-python26.patch
mrepo-initd.patch:
mrepo | 122 ++++++++++++++++++++++++++++++++++++++----------------------------
1 file changed, 71 insertions(+), 51 deletions(-)
Index: mrepo-initd.patch
===================================================================
RCS file: /cvs/pkgs/rpms/mrepo/EL-6/mrepo-initd.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- mrepo-initd.patch 12 Jul 2009 18:59:42 -0000 1.1
+++ mrepo-initd.patch 9 Jul 2010 14:14:07 -0000 1.2
@@ -1,6 +1,5 @@
-diff -up mrepo-0.8.4/config/mrepo.orig mrepo-0.8.4/config/mrepo
---- mrepo-0.8.4/config/mrepo.orig 2006-12-08 21:53:27.000000000 +0200
-+++ mrepo-0.8.4/config/mrepo 2009-05-20 11:14:35.000000000 +0300
+--- mrepo-0.8.7/config/mrepo.orig 2010-07-08 10:05:46.527269670 +0100
++++ mrepo-0.8.7/config/mrepo 2010-07-08 10:05:28.091257576 +0100
@@ -4,74 +4,94 @@
#
# Written by Dag Wieers <dag at wieers.com>.
@@ -24,7 +23,7 @@ diff -up mrepo-0.8.4/config/mrepo.orig m
-
-### Read configuration
-[ -r "$SYSCONFIG" ] && source "$SYSCONFIG"
-+exec="mrepo"
++exec="/usr/bin/mrepo"
+prog="mrepo"
+config="/etc/mrepo.conf"
@@ -44,13 +43,13 @@ diff -up mrepo-0.8.4/config/mrepo.orig m
- echo
- [ $RETVAL -eq 0 ] && touch /var/lock/subsys/$prog
- return $RETVAL
-+ [ -x $exec ] || exit 5
-+ [ -f $config ] || exit 6
++ [[ -x $exec ]] || exit 5
++ [[ -f $config ]] || exit 6
+ echo -n $"Starting $prog: "
-+ mrepo -q -c $config
++ daemon $exec -q -c $config
+ retval=$?
+ echo
-+ [ $retval -eq 0 ] && touch $lockfile
++ [[ $retval == 0 ]] && touch $lockfile
+ return $retval
}
@@ -63,7 +62,7 @@ diff -up mrepo-0.8.4/config/mrepo.orig m
- [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/$prog
- return $RETVAL
+ echo -n $"Stopping $prog: "
-+ mrepo -q --umount -c $config
++ $exec -q --umount -c $config
+ retval=$?
+ echo
+ [ $retval -eq 0 ] && rm -f $lockfile
Index: mrepo.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mrepo/EL-6/mrepo.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- mrepo.spec 18 Oct 2009 19:31:00 -0000 1.5
+++ mrepo.spec 9 Jul 2010 14:14:07 -0000 1.6
@@ -1,13 +1,21 @@
Name: mrepo
-Version: 0.8.6
-Release: 5%{?dist}
+Version: 0.8.7
+Release: 1%{?dist}
Summary: A tool to set up a yum/apt mirror from various sources
License: GPLv2
Group: System Environment/Base
URL: http://dag.wieers.com/home-made/mrepo/
-Source0: http://dag.wieers.com/home-made/mrepo/mrepo-%{version}.tar.bz2
+# At time of writing, the latest stable release is not provided as a tarball
+#
+# svn export http://svn.rpmforge.net/svn/trunk/tools/mrepo/ mrepo-0.8.7
+# tar -cvjf mrepo-0.8.7.tar.bz2 mrepo-0.8.7
+Source0: mrepo-%{version}.tar.bz2
# Patch initfile to conform to new standards
Patch0: mrepo-initd.patch
+# Patch to make mounting of ISOs possible with SELinux
+Patch1: mrepo-selinux.patch
+# Patch to fix two deprecation warnings with Python 2.6
+Patch2: mrepo-python26.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
@@ -15,6 +23,8 @@ BuildRequires: python-devel
# Needed for operation
Requires: createrepo
+# For SELinux compatibility
+Requires: libselinux-python
## For dir ownership
# vixie-cron in older distros, cronie in newer ones; filelist of sbindir is always available
Requires: %{_sbindir}/crond
@@ -47,9 +57,9 @@ allow installations via the network.
%prep
%setup -q
%patch0 -p1 -b .init
+%patch1 -p1 -b .selinux
+%patch2 -p1 -b .python26
-# Stop if file has content, remove empty file
-[ -s client-configuration.txt ] && exit 1
rm docs/client-configuration.txt
perl -pi.orig -e 's|^(VERSION)\s*=\s*.+$|$1 = "%{version}"|' mrepo
@@ -124,6 +134,14 @@ rm -rf %{buildroot}
%{_localstatedir}/mrepo/
%changelog
+* Thu Jul 08 2010 James Findley <sixy at gmx.com> - 0.8.7-1
+- Update to release 0.8.7 (fixes #610140 and #604277).
+- Patch to fix two deprecation warnings on python 2.6.
+- Patched initscript to fix #590233.
+
+* Mon May 10 2010 Jussi Lehtola <jussilehtola at fedoraproject.org> - 0.8.6-6
+- Patch to get iso mounting working with SElinux (#589755).
+
* Sun Oct 18 2009 Jussi Lehtola <jussilehtola at fedoraproject.org> - 0.8.6-5
- Generalize webserver requirement.
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/mrepo/EL-6/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- sources 12 Jul 2009 18:59:42 -0000 1.2
+++ sources 9 Jul 2010 14:14:08 -0000 1.3
@@ -1 +1,2 @@
-1d6122cc21ee74cc9211d181011fb618 mrepo-0.8.6.tar.bz2
+e4384b0bd823eb79716482f6329d294e mrepo-0.8.7.tar.bz2
+f4f972f0b684a536057a10100df0b3a2 mrepo-python26.patch
More information about the scm-commits
mailing list