From: frank Date: Wed, 22 Dec 2004 10:26:11 +0000 (+0000) Subject: dealt with http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=1084 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1036820bd7a4de5ae3f7aafa2554bd6be02ee795;p=sope dealt with http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=1084 git-svn-id: http://svn.opengroupware.org/SOPE/trunk@461 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- diff --git a/maintenance/mod_ngobjweb_suse91.spec b/maintenance/mod_ngobjweb_suse91.spec index 4450d3f3..e9961896 100644 --- a/maintenance/mod_ngobjweb_suse91.spec +++ b/maintenance/mod_ngobjweb_suse91.spec @@ -1,17 +1,17 @@ -Summary: mod_ngobjweb apache module -Name: mod_ngobjweb -Version: %{mod_ngobjweb_version} -Release: %{mod_ngobjweb_release}.%{mod_ngobjweb_buildcount}%{dist_suffix} -Vendor: OpenGroupware.org -Packager: Frank Reppin -License: LGPL -URL: http://sope.opengroupware.org/ -Group: Development/Libraries -AutoReqProv: off -Requires: ogo-environment -Source: %{mod_ngobjweb_source} -Prefix: %{mod_ngobjweb_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +Summary: mod_ngobjweb apache module +Name: mod_ngobjweb +Version: %{mod_ngobjweb_version} +Release: %{mod_ngobjweb_release}.%{mod_ngobjweb_buildcount}%{dist_suffix} +Vendor: OpenGroupware.org +Packager: Frank Reppin +License: LGPL +URL: http://sope.opengroupware.org/ +Group: Development/Libraries +AutoReqProv: off +Requires: ogo-environment +Source: %{mod_ngobjweb_source} +Prefix: %{mod_ngobjweb_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description apache2 mod_ngobjweb adaptor. @@ -37,6 +37,12 @@ echo "#this file contains the apache/httpd configuration for OpenGroupware.org #\`include OGo.conf\` #(or copy it into the dir where additonal configs end up) # +#SUSEs httpd.conf denies access to everywhere (except /srv/www)per default + + Order allow,deny + Allow from all + +# LoadModule ngobjweb_module %{prefix}/lib/sope-%{sope_major_version}.%{sope_minor_version}/mod_ngobjweb.so # Alias /OpenGroupware10a.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.0a/www/ @@ -48,13 +54,13 @@ Alias /ArticleImages %{_var}/lib/opengroupware.org/news # -SetHandler ngobjweb-adaptor -SetAppPort 21000 + SetHandler ngobjweb-adaptor + SetAppPort 21000 # -SetHandler ngobjweb-adaptor -SetAppPort 22000 + SetHandler ngobjweb-adaptor + SetAppPort 22000 " > ${RPM_BUILD_ROOT}%{_var}/lib/opengroupware.org/OGo.conf @@ -73,3 +79,7 @@ rm -fr ${RPM_BUILD_ROOT} # ********************************* changelog ************************* %changelog +* Wed Dec 12 2004 Frank Reppin +- dealt with http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=1084 +* Wed Sep 09 2004 Frank Reppin +- initial build diff --git a/maintenance/mod_ngobjweb_suse92.spec b/maintenance/mod_ngobjweb_suse92.spec new file mode 100644 index 00000000..e9961896 --- /dev/null +++ b/maintenance/mod_ngobjweb_suse92.spec @@ -0,0 +1,85 @@ +Summary: mod_ngobjweb apache module +Name: mod_ngobjweb +Version: %{mod_ngobjweb_version} +Release: %{mod_ngobjweb_release}.%{mod_ngobjweb_buildcount}%{dist_suffix} +Vendor: OpenGroupware.org +Packager: Frank Reppin +License: LGPL +URL: http://sope.opengroupware.org/ +Group: Development/Libraries +AutoReqProv: off +Requires: ogo-environment +Source: %{mod_ngobjweb_source} +Prefix: %{mod_ngobjweb_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root + +%description +apache2 mod_ngobjweb adaptor. + +%prep +rm -fr ${RPM_BUILD_ROOT} +%setup -n sope-mod_ngobjweb + +# ****************************** build ******************************** +%build +export PATH=$PATH:/usr/sbin +make %{mod_ngobjweb_makeflags} APXS="/usr/sbin/apxs2" APXS_INCLUDE_DIRS="-I/usr/include/apache2" + +# ****************************** install ****************************** +%install +export PATH=$PATH:/usr/sbin +mkdir -p ${RPM_BUILD_ROOT}%{prefix}/lib/sope-%{sope_major_version}.%{sope_minor_version} +cp mod_ngobjweb.so ${RPM_BUILD_ROOT}%{prefix}/lib/sope-%{sope_major_version}.%{sope_minor_version}/mod_ngobjweb.so + +mkdir -p ${RPM_BUILD_ROOT}/var/lib/opengroupware.org +echo "#this file contains the apache/httpd configuration for OpenGroupware.org +#it should be included from within your default httpd.conf ala: +#\`include OGo.conf\` +#(or copy it into the dir where additonal configs end up) +# +#SUSEs httpd.conf denies access to everywhere (except /srv/www)per default + + Order allow,deny + Allow from all + +# +LoadModule ngobjweb_module %{prefix}/lib/sope-%{sope_major_version}.%{sope_minor_version}/mod_ngobjweb.so +# +Alias /OpenGroupware10a.woa/WebServerResources/ %{prefix}/share/opengroupware.org-1.0a/www/ +Alias /ArticleImages %{_var}/lib/opengroupware.org/news +# + + SetAppPort 20000 + SetHandler ngobjweb-adaptor + +# + + SetHandler ngobjweb-adaptor + SetAppPort 21000 + +# + + SetHandler ngobjweb-adaptor + SetAppPort 22000 + +" > ${RPM_BUILD_ROOT}%{_var}/lib/opengroupware.org/OGo.conf + +# ****************************** post ********************************* +%post + +# ****************************** clean ******************************** +%clean +rm -fr ${RPM_BUILD_ROOT} + +# ****************************** files ******************************** +%files +%defattr(-,root,root,-) +%{prefix}/lib/sope-%{sope_major_version}.%{sope_minor_version}/mod_ngobjweb.so +%config %{_var}/lib/opengroupware.org/OGo.conf + +# ********************************* changelog ************************* +%changelog +* Wed Dec 12 2004 Frank Reppin +- dealt with http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=1084 +* Wed Sep 09 2004 Frank Reppin +- initial build