From d9623a24d99046be06e6292079927628baffee18 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Thu, 9 Oct 2025 11:45:26 +1100 Subject: [PATCH] initial commit of file from CVS for freepbx-src on Thu Oct 9 11:45:26 AEDT 2025 --- .gitattributes | 1 + .gitignore | 3 ++ Makefile | 21 +++++++++++ README.md | 8 +++- contriborbase | 1 + freepbx-16.0.tgz | 3 ++ freepbx-src.spec | 96 ++++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 132 insertions(+), 1 deletion(-) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 contriborbase create mode 100644 freepbx-16.0.tgz create mode 100644 freepbx-src.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..3606a43 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.tgz filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1534ba5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.rpm +*.log +*spec-20* diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6eaaf3e --- /dev/null +++ b/Makefile @@ -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) diff --git a/README.md b/README.md index 7ce8dc0..80143e7 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ # freepbx-src -3rd Party (Maintained by Koozali) git repo for freepbx-src smecontribs \ No newline at end of file +3rd Party (Maintained by Koozali) git repo for freepbx-src smecontribs + +## Description + +
*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* +
diff --git a/contriborbase b/contriborbase new file mode 100644 index 0000000..9b7fd51 --- /dev/null +++ b/contriborbase @@ -0,0 +1 @@ +contribs10 diff --git a/freepbx-16.0.tgz b/freepbx-16.0.tgz new file mode 100644 index 0000000..e04ad94 --- /dev/null +++ b/freepbx-16.0.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ac355ee5a3e421e1829fec4f9d3569a2c5293388bcbaf4ed48ceafdefd4ccf90 +size 19799757 diff --git a/freepbx-src.spec b/freepbx-src.spec new file mode 100644 index 0000000..389db8a --- /dev/null +++ b/freepbx-src.spec @@ -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 16.0-1.sme +- import version 16.0 to SME 10.0 + +* Tue Dec 13 2022 Jean-Philippe Pialasse 15.0-1.sme +- import version 15.0 to SME 10.0 + +* Thu Nov 11 2021 Jean-Philipe Pialasse 14.0-1.sme +- import version 14.0 to SME 10.0 + +* Mon May 16 2016 Jean-Philipe Pialasse 13.0-3.sme +- revert chnage for memory + +* Mon May 16 2016 Jean-Philipe Pialasse 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 13.0-1.sme +- new version for SME9 [SME: 9493] + +* Tue May 21 2013 JP Pialasse [2.5.1-2] +- add php-process requirement bug [SME: 7382] + +* Tue Mar 03 2009 daniel B. [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. [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) + +