initial commit of file from CVS for horde on Fri 14 Jul 13:49:06 BST 2023
This commit is contained in:
		
							
								
								
									
										1
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
*.tar.gz filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
							
								
								
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
*.rpm
 | 
			
		||||
*.log
 | 
			
		||||
*spec-20*
 | 
			
		||||
							
								
								
									
										21
									
								
								Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								Makefile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
# Makefile for source rpm: horde
 | 
			
		||||
# $Id: Makefile,v 1.1 2016/02/04 12:38:47 vip-ire Exp $
 | 
			
		||||
NAME := horde
 | 
			
		||||
SPECFILE = $(firstword $(wildcard *.spec))
 | 
			
		||||
 | 
			
		||||
define find-makefile-common
 | 
			
		||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
 | 
			
		||||
endef
 | 
			
		||||
 | 
			
		||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
 | 
			
		||||
 | 
			
		||||
ifeq ($(MAKEFILE_COMMON),)
 | 
			
		||||
# attept a checkout
 | 
			
		||||
define checkout-makefile-common
 | 
			
		||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
 | 
			
		||||
endef
 | 
			
		||||
 | 
			
		||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
include $(MAKEFILE_COMMON)
 | 
			
		||||
							
								
								
									
										10
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								README.md
									
									
									
									
									
								
							@@ -1,3 +1,11 @@
 | 
			
		||||
# horde
 | 
			
		||||
 | 
			
		||||
3rd Party (Maintained by Koozali) git repo for horde smeserver
 | 
			
		||||
3rd Party (Maintained by Koozali) git repo for horde smeserver
 | 
			
		||||
 | 
			
		||||
## Description
 | 
			
		||||
 | 
			
		||||
<br />*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.*
 | 
			
		||||
*Once it has been checked, then this comment will be deleted*
 | 
			
		||||
<br />
 | 
			
		||||
 | 
			
		||||
Horde is an open source web based application suite that consists of a number of applications that provide webmail, calendar, contacts, file management, tasks, and other related services. It is written in PHP and is designed to provide a simple, secure and integrated system to manage web based services.
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										1
									
								
								contriborbase
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								contriborbase
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
sme10
 | 
			
		||||
							
								
								
									
										32
									
								
								horde-3.3.11-prevent-deprecated-warnings.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								horde-3.3.11-prevent-deprecated-warnings.patch
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,32 @@
 | 
			
		||||
diff -up horde-3.3.11/lib/Horde/Notification.php.prevent-deprecated-warnings horde-3.3.11/lib/Horde/Notification.php
 | 
			
		||||
--- horde-3.3.11/lib/Horde/Notification.php.prevent-deprecated-warnings	2010-11-23 01:22:36.000000000 +0100
 | 
			
		||||
+++ horde-3.3.11/lib/Horde/Notification.php	2011-09-19 08:37:00.000000000 +0200
 | 
			
		||||
@@ -61,7 +61,7 @@ class Notification {
 | 
			
		||||
         static $notification = array();
 | 
			
		||||
 
 | 
			
		||||
         if (!isset($notification[$stack])) {
 | 
			
		||||
-            $notification[$stack] = &new Notification($stack);
 | 
			
		||||
+            $notification[$stack] = new Notification($stack);
 | 
			
		||||
         }
 | 
			
		||||
 
 | 
			
		||||
         return $notification[$stack];
 | 
			
		||||
diff -up horde-3.3.11/lib/Horde/Perms.php.prevent-deprecated-warnings horde-3.3.11/lib/Horde/Perms.php
 | 
			
		||||
--- horde-3.3.11/lib/Horde/Perms.php.prevent-deprecated-warnings	2010-11-23 01:22:36.000000000 +0100
 | 
			
		||||
+++ horde-3.3.11/lib/Horde/Perms.php	2011-09-19 08:37:56.000000000 +0200
 | 
			
		||||
@@ -452,14 +452,14 @@ class Perms {
 | 
			
		||||
         }
 | 
			
		||||
 
 | 
			
		||||
         if (is_null($driver)) {
 | 
			
		||||
-            $perms = &new Perms($params);
 | 
			
		||||
+            $perms = new Perms($params);
 | 
			
		||||
         } else {
 | 
			
		||||
             $class = 'Perms_' . $driver;
 | 
			
		||||
             if (!class_exists($class)) {
 | 
			
		||||
                 include 'Horde/Perms/' . $driver . '.php';
 | 
			
		||||
             }
 | 
			
		||||
             if (class_exists($class)) {
 | 
			
		||||
-                $perms = &new $class($params);
 | 
			
		||||
+                $perms = new $class($params);
 | 
			
		||||
             } else {
 | 
			
		||||
                 $perms = false;
 | 
			
		||||
             }
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								horde-3.3.11.tar.gz
									 (Stored with Git LFS)
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								horde-3.3.11.tar.gz
									 (Stored with Git LFS)
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										139
									
								
								horde.spec
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										139
									
								
								horde.spec
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,139 @@
 | 
			
		||||
# $Id: horde.spec,v 1.1 2016/02/04 12:38:47 vip-ire Exp $
 | 
			
		||||
 | 
			
		||||
%define apachedir /etc/httpd
 | 
			
		||||
%define apacheuser www
 | 
			
		||||
%define apachegroup www
 | 
			
		||||
%define contentdir /home/httpd
 | 
			
		||||
%define phpini /etc/php.ini
 | 
			
		||||
 | 
			
		||||
Summary: The common Horde Framework for all Horde modules.
 | 
			
		||||
Name: horde
 | 
			
		||||
Version: 3.3.11
 | 
			
		||||
Release: 2%{?dist}
 | 
			
		||||
License: LGPL
 | 
			
		||||
Group: Applications/Horde
 | 
			
		||||
Source: ftp://ftp.horde.org/pub/horde/tarballs/horde-%{version}.tar.gz
 | 
			
		||||
Patch0: horde-3.3.11-prevent-deprecated-warnings.patch
 | 
			
		||||
URL: http://www.horde.org/
 | 
			
		||||
BuildArchitectures: noarch
 | 
			
		||||
BuildRoot: /tmp/horde-root
 | 
			
		||||
AutoReq: no
 | 
			
		||||
Requires: php >= 4.3.0
 | 
			
		||||
Requires: httpd >= 2.0.46
 | 
			
		||||
Prereq: /usr/bin/perl
 | 
			
		||||
 | 
			
		||||
%description
 | 
			
		||||
The Horde Framework provides a common structure and interface for Horde
 | 
			
		||||
applications (such as IMP, a web-based mail program).  This RPM is
 | 
			
		||||
required for all other Horde module RPMs.
 | 
			
		||||
 | 
			
		||||
The Horde Project writes web applications in PHP and releases them under
 | 
			
		||||
Open Source licenses.  For more information (including help with Horde
 | 
			
		||||
and its modules) please visit http://www.horde.org/.
 | 
			
		||||
 | 
			
		||||
%prep
 | 
			
		||||
%setup -q -n %{name}-%{version}
 | 
			
		||||
%patch0 -p1
 | 
			
		||||
%build
 | 
			
		||||
 | 
			
		||||
%install
 | 
			
		||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
 | 
			
		||||
mkdir -p $RPM_BUILD_ROOT%{apachedir}/conf
 | 
			
		||||
#cp -p $RPM_SOURCE_DIR/horde.conf $RPM_BUILD_ROOT%{apachedir}/conf
 | 
			
		||||
mkdir -p $RPM_BUILD_ROOT%{contentdir}/html/horde
 | 
			
		||||
cp -pR * $RPM_BUILD_ROOT%{contentdir}/html/horde
 | 
			
		||||
chmod go-rwx $RPM_BUILD_ROOT%{contentdir}/html/horde/test.php
 | 
			
		||||
cd $RPM_BUILD_ROOT%{contentdir}/html/horde/config
 | 
			
		||||
mv hooks.php.dist hooks.php.dist1
 | 
			
		||||
#rm -rf hooks.php.dist
 | 
			
		||||
for d in *.dist; do
 | 
			
		||||
	d0=`basename $d .dist`
 | 
			
		||||
	if [ ! -f "$d0" ]; then
 | 
			
		||||
		cp -p $d $d0
 | 
			
		||||
	fi
 | 
			
		||||
done
 | 
			
		||||
mv hooks.php.dist1 hooks.php.dist
 | 
			
		||||
 | 
			
		||||
%clean
 | 
			
		||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
 | 
			
		||||
 | 
			
		||||
%files
 | 
			
		||||
%defattr(-,root,root)
 | 
			
		||||
# Apache horde.conf file
 | 
			
		||||
#%config %{apachedir}/conf/horde.conf
 | 
			
		||||
# Include top level with %dir so not all files are sucked in
 | 
			
		||||
%dir %{contentdir}/html/horde
 | 
			
		||||
# Include top-level files by hand
 | 
			
		||||
%{contentdir}/html/horde/*.php
 | 
			
		||||
# Include these dirs so that all files _will_ get sucked in
 | 
			
		||||
%{contentdir}/html/horde/admin
 | 
			
		||||
%{contentdir}/html/horde/js
 | 
			
		||||
%{contentdir}/html/horde/lib
 | 
			
		||||
%{contentdir}/html/horde/locale
 | 
			
		||||
%{contentdir}/html/horde/po
 | 
			
		||||
%{contentdir}/html/horde/scripts
 | 
			
		||||
%{contentdir}/html/horde/services
 | 
			
		||||
%{contentdir}/html/horde/templates
 | 
			
		||||
%{contentdir}/html/horde/themes
 | 
			
		||||
%{contentdir}/html/horde/util
 | 
			
		||||
%{contentdir}/html/horde/rpc
 | 
			
		||||
# Mark documentation files with %doc and %docdir
 | 
			
		||||
%doc %{contentdir}/html/horde/COPYING
 | 
			
		||||
%doc %{contentdir}/html/horde/README
 | 
			
		||||
%docdir %{contentdir}/html/horde/docs
 | 
			
		||||
%{contentdir}/html/horde/docs
 | 
			
		||||
# Mark configuration files with %config and use secure permissions
 | 
			
		||||
# (note that .dist files are considered software; don't mark %config)
 | 
			
		||||
%attr(750,root,%{apachegroup}) %dir %{contentdir}/html/horde/config
 | 
			
		||||
%attr(750,root,%{apachegroup}) %dir %{contentdir}/html/horde/config/registry.d
 | 
			
		||||
%defattr(640,root,%{apachegroup})
 | 
			
		||||
%{contentdir}/html/horde/config/.htaccess
 | 
			
		||||
%{contentdir}/html/horde/config/*.dist
 | 
			
		||||
%{contentdir}/html/horde/config/registry.d/*
 | 
			
		||||
%config %{contentdir}/html/horde/config/*.php
 | 
			
		||||
%config %{contentdir}/html/horde/config/*.xml
 | 
			
		||||
 | 
			
		||||
%changelog
 | 
			
		||||
* Fri Jul 14 2023 BogusDateBot
 | 
			
		||||
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
 | 
			
		||||
  by assuming the date is correct and changing the weekday.
 | 
			
		||||
 | 
			
		||||
* Mon Sep 19 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 3.3.11-2
 | 
			
		||||
- Fix deprecated warnings when using PHP 5.3+ [SME: 6726]
 | 
			
		||||
 | 
			
		||||
* Tue Nov 23 2010 John H. Bennett III <bennettj@johnbennettservices.com> 3.3.11-1
 | 
			
		||||
- Updated to Horde 3.3.11 [SME: 6395]
 | 
			
		||||
 | 
			
		||||
* Sun Nov 07 2010 John H. Bennett III <bennettj@johnbennettservices.com> 3.3.10-1
 | 
			
		||||
- Updated to Horde 3.3.10 [SME: 6348]
 | 
			
		||||
 | 
			
		||||
* Mon May 10 2010 John H. Bennett III <bennettj@johnbennettservices.com> 3.3.8-1
 | 
			
		||||
- Updated to Horde 3.3.8 [SME: 5937]
 | 
			
		||||
 | 
			
		||||
* Sat Feb 13 2010 John H. Bennett III <bennettj@johnbennettservices.com> 3.3.6-1
 | 
			
		||||
- Updated to Horde 3.3.6 [SME: 5774]
 | 
			
		||||
 | 
			
		||||
* Tue Oct 13 2009 John H. Bennett III <bennettj@johnbennettservices.com> 3.3.5-1    
 | 
			
		||||
- Updated to Horde 3.3.5 [SME: 5509]    
 | 
			
		||||
 | 
			
		||||
* Sat May 2 2009 John H. Bennett III <bennettj@johnbennettservices.com> 3.3.4-1
 | 
			
		||||
- Updated to Horde 3.3.4 [SME: 5372]
 | 
			
		||||
 | 
			
		||||
* Sat Feb 21 2009 John H. Bennett III <bennettj@johnbennettservices.com> 3.3.3-1
 | 
			
		||||
- Updated to Horde 3.3.3 [SME: 4831]
 | 
			
		||||
 | 
			
		||||
* Fri Jan 2 2009 John H. Bennett III <bennettj@johnbennettservices.com> 3.3.2-1
 | 
			
		||||
- Updated to Horde 3.3.2 [SME: 4831]
 | 
			
		||||
 | 
			
		||||
* Sat Dec 06 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.3-1
 | 
			
		||||
- Updated to Horde 3.3 [SME: 4831]
 | 
			
		||||
 | 
			
		||||
* Tue Sep 16 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.2.2-1
 | 
			
		||||
- Update to Horde 3.2.2 [SME: 4565]
 | 
			
		||||
 | 
			
		||||
* Fri Jun 13 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.2.1-1
 | 
			
		||||
- Update to Horde 3.2.1 [SME: 4532]
 | 
			
		||||
 | 
			
		||||
* Mon Jun 2 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.2-1
 | 
			
		||||
- initial RPM roll for Horde 3.2
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user