Author: nanardon
Date: Tue Oct 31 01:32:42 2006
New Revision: 73897
Added:
packages/cooker/mmm/current/SOURCES/mmm-missing-file.patch
Modified:
packages/cooker/mmm/current/SPECS/mmm.spec
Log:
- upstream path0: fix missing file
- fix httpd config
Added: packages/cooker/mmm/current/SOURCES/mmm-missing-file.patch
==============================================================================
--- (empty file)
+++ packages/cooker/mmm/current/SOURCES/mmm-missing-file.patch Tue Oct 31
01:32:42 2006
@@ -0,0 +1,13 @@
+diff -rN -u old-mmm/Makefile.PL new-mmm/Makefile.PL
+--- old-mmm/Makefile.PL 2006-10-31 01:27:34.271826426 +0100
++++ new-mmm/Makefile.PL 2006-10-31 01:27:34.381826277 +0100
+@@ -7,7 +7,7 @@
+ NAME => 'mmm',
+ AUTHOR => 'Olivier Thauvin <[EMAIL PROTECTED]>',
+ VERSION_FROM => 'lib/MMM.pm',
+- EXE_FILES => [ qw(bin/mmm bin/mmm_list) ],
++ EXE_FILES => [ qw(bin/mmm bin/mmm_list bin/mmm_status) ],
+ PREREQ_PM => {
+ 'XML::Simple' => undef,
+ 'Config::IniFiles' => undef,
+
Modified: packages/cooker/mmm/current/SPECS/mmm.spec
==============================================================================
--- packages/cooker/mmm/current/SPECS/mmm.spec (original)
+++ packages/cooker/mmm/current/SPECS/mmm.spec Tue Oct 31 01:32:42 2006
@@ -1,12 +1,13 @@
%define name mmm
%define version 0.01
-%define release %mkrel 1
+%define release %mkrel 2
Summary: MMM Mirror Manager
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{version}.tar.bz2
+Patch0: mmm-missing-file.patch
License: GPL
Group: Networking
Url: http://mmm.zarb.org/
@@ -41,6 +42,7 @@
%prep
%setup -q
+%patch0 -p1 -b .missing_file
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -59,7 +61,7 @@
# apache configuration
install -d -m 755 %{buildroot}%{_webappconfdir}
cat > %{buildroot}%{_webappconfdir}/%{name}.conf <<EOF
-ScriptAlias /usr/bin/mmm_status /mmm
+ScriptAlias /mmm /usr/bin/mmm_status
<Location "/mmm">
SetEnv MMM_CONFIG %_sysconfdir/mmm/mmm.cfg