initial commit of file from CVS for freepbx-src on Thu Oct 9 11:45:26 AEDT 2025

This commit is contained in:
Trevor Batley
2025-10-09 11:45:26 +11:00
parent 7430542969
commit d9623a24d9
7 changed files with 132 additions and 1 deletions

1
.gitattributes vendored Normal file
View File

@@ -0,0 +1 @@
*.tgz filter=lfs diff=lfs merge=lfs -text

3
.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
*.rpm
*.log
*spec-20*

21
Makefile Normal file
View File

@@ -0,0 +1,21 @@
# Makefile for source rpm: freepbx-src
# $Id: Makefile,v 1.1 2021/11/10 04:35:25 jpp Exp $
NAME := freepbx-src
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)

View File

@@ -1,3 +1,9 @@
# freepbx-src
3rd Party (Maintained by Koozali) git repo for freepbx-src smecontribs
3rd Party (Maintained by Koozali) git repo for freepbx-src smecontribs
## 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 />

1
contriborbase Normal file
View File

@@ -0,0 +1 @@
contribs10

BIN
freepbx-16.0.tgz (Stored with Git LFS) Normal file

Binary file not shown.

96
freepbx-src.spec Normal file
View File

@@ -0,0 +1,96 @@
# $Id: freepbx-src.spec,v 1.5 2022/12/13 07:12:49 jpp Exp $
# Authority: vip-ire
# Name: Daniel Berteaud
%define version 16.0
%define release 1
%define name freepbx-src
Summary: FreePBX Sources
Name: %{name}
Version: %{version}
Release: %{release}%{?dist}
License: GPL
Group: System/Servers
Source0: freepbx-%{version}.tgz
#Source1: panel-0.1.tgz
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
URL: http://www.freepbx.org/
BuildArch: noarch
BuildRequires: e-smith-devtools
Requires: php-process
AutoReqProv: no
%description
FreePBX is a Standardised Implementation of Asterisk that gives you a GUI to manage your system. If you have looked into Asterisk, you would know that it does not come with any built in programming. You cannot plug a phone into it and make it work without editing configuration files, writing dialplans, and various messing about. FreePBX simplifies this by giving you a pre-written set of dialplans that allow you to have a fully functional PBX pretty much straight away.
This package only contains the sources, and should be installed with smeserver-freepbx
%changelog
* Thu Oct 09 2025 BogusDateBot
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
by assuming the date is correct and changing the weekday.
* Tue Dec 13 2022 Jean-Philippe Pialasse <tests@pialasse.com> 16.0-1.sme
- import version 16.0 to SME 10.0
* Tue Dec 13 2022 Jean-Philippe Pialasse <tests@pialasse.com> 15.0-1.sme
- import version 15.0 to SME 10.0
* Thu Nov 11 2021 Jean-Philipe Pialasse <tests@pialasse.com> 14.0-1.sme
- import version 14.0 to SME 10.0
* Mon May 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13.0-3.sme
- revert chnage for memory
* Mon May 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13.0-2.sme
- fix error while installing because of memory limit reached [SME: 9515]
- remove panel module from build
* Fri May 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13.0-1.sme
- new version for SME9 [SME: 9493]
* Tue May 21 2013 JP Pialasse <tests@pialasse.com> [2.5.1-2]
- add php-process requirement bug [SME: 7382]
* Tue Mar 03 2009 daniel B. <daniel@firewall-services.com> [2.5.1-1]
- Add missing changelog section in spec file
- Add e-smith-devtools as a build dependency
* Mon Aug 04 2008 daniel B. <daniel@firewall-services.com> [2.5.1-0]
- initial release based on freepbx 2.5.1
%prep
%setup -q -c -n freepbx-%{version}
#%build
# Extract freePBX archive
%{__mkdir_p} root/usr/share/freepbx/sources
tar xzf %{SOURCE0} -C root/usr/share/freepbx/sources
# Extract panel module (not an official module yet)
# rem by JP not compatible anymore
#tar xzf %{SOURCE1} -C root/usr/share/freepbx/sources/freepbx-%{version}/amp_conf/htdocs/admin/modules
ln -s freepbx-%{version} root/usr/share/freepbx/sources/freepbx
%build
%install
rm -rf $RPM_BUILD_ROOT
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
| grep -vE "\.pyc|\.pyo"\
> %{name}-%{version}-%{release}-filelist
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}-%{version}-%{release}-filelist
%defattr(-,root,root)