View Issue Details

IDProjectCategoryView StatusLast Update
0004599CentOS-6httpdpublic2012-05-04 17:34
Reporterkbsingh@karan.org 
PrioritynormalSeverityblockReproducibilityN/A
Status resolvedResolutionfixed 
Product VersionPre Release 
Target VersionFixed in Version 
Summary0004599: httpd needs patching
Descriptionhttpd needs to be patched to remove upstream branding before it can be sent to the buildsystem
TagsNo tags attached.

Activities

wolfy

wolfy

2010-12-06 10:06

developer   ~0012144

/var/www/error/noindex.html points to redhat
/var/www/icons/poweredby.png contains redhat's logo

2011-01-09 06:52

 

centos.httpd.spec.patch (1,334 bytes)
--- httpd.spec.orig	2011-01-08 22:29:14.573003990 -0800
+++ httpd.spec	2011-01-08 22:41:05.872183002 -0800
@@ -1,7 +1,7 @@
 %define contentdir /var/www
 %define suexec_caller apache
 %define mmn 20051115
-%define vstring Red Hat
+%define vstring CentOS
 %define mpms worker event
 
 Summary: Apache HTTP Server
@@ -10,10 +10,11 @@
 Release: 5%{?dist}
 URL: http://httpd.apache.org/
 Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
-Source1: index.html
+Source1: centos_index.html
 Source3: httpd.logrotate
 Source4: httpd.init
 Source5: httpd.sysconf
+Source8: centos_powered_by_rh.png
 Source10: httpd.conf
 Source11: ssl.conf
 Source12: welcome.conf
@@ -303,9 +304,9 @@
 done
 set -x
 
-# Symlink for the powered-by-$DISTRO image:
-ln -s ../../..%{_datadir}/pixmaps/poweredby.png \
-        $RPM_BUILD_ROOT%{contentdir}/icons/poweredby.png
+# added for branding
+install -m 644 %{SOURCE8} \
+        $RPM_BUILD_ROOT%{contentdir}/icons/powered_by_rh.png
 
 # Set up /var directories
 rmdir $RPM_BUILD_ROOT%{_sysconfdir}/httpd/logs
@@ -513,6 +514,9 @@
 %{_libdir}/httpd/build/*.sh
 
 %changelog
+* Sat Jan 8 2011 fpee <fp@kraptastic.com> - 2.2.15-5
+- Added CentOS Branding (copied from centos5 src.rpm)
+
 * Fri Aug 13 2010 Joe Orton <jorton@redhat.com> - 2.2.15-5
 - add security fix for CVE-2010-1452 (#618193)
 
centos.httpd.spec.patch (1,334 bytes)

2011-01-09 06:53

 

centos_index.html (5,043 bytes)

2011-01-09 06:53

 

centos_powered_by_rh.png (1,213 bytes)
centos_powered_by_rh.png (1,213 bytes)
fpee

fpee

2011-01-09 06:53

reporter   ~0012311

the index.html and powered_by_rh are from centos 5, included here as reference.
arrfab

arrfab

2011-07-05 14:34

administrator   ~0012886

in the current QA httpd-2.2.15-5.el6.centos package, the default page searches for icons/powered_by_rh.png that doesn't exist : there is though a symlink from /var/icons/poweredby.png pointing to the correct centos /usr/share/pixmaps/poweredby.png image.
The default page has to be changed according to that filename
tigalch

tigalch

2012-05-04 17:34

manager   ~0015019

Solved by kbsingh

Issue History

Date Modified Username Field Change
2010-11-11 23:34 kbsingh@karan.org New Issue
2010-12-06 10:06 wolfy Note Added: 0012144
2010-12-06 10:06 wolfy Status new => confirmed
2011-01-09 06:52 fpee File Added: centos.httpd.spec.patch
2011-01-09 06:53 fpee File Added: centos_index.html
2011-01-09 06:53 fpee File Added: centos_powered_by_rh.png
2011-01-09 06:53 fpee Note Added: 0012311
2011-07-05 14:34 arrfab Note Added: 0012886
2012-05-04 17:34 tigalch Note Added: 0015019
2012-05-04 17:34 tigalch Status confirmed => resolved
2012-05-04 17:34 tigalch Resolution open => fixed