diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..f087b42 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.tar.gz 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..846ff63 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Makefile for source rpm: phpvirtualbox +# $Id: Makefile,v 1.1 2022/08/16 03:50:39 jpp Exp $ +NAME := phpvirtualbox +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 ec8fbf5..7a5eac1 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ # phpvirtualbox -3rd Party (Maintained by Koozali) git repo for phpvirtualbox smecontribs \ No newline at end of file +3rd Party (Maintained by Koozali) git repo for phpvirtualbox 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/phpvirtualbox-5.2.1.tar.gz b/phpvirtualbox-5.2.1.tar.gz new file mode 100644 index 0000000..ee30509 --- /dev/null +++ b/phpvirtualbox-5.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2f047e48821cf9ff0aa6e22dfa35e0efd1c41c7aeaafa3164ac73d9c35ea44c7 +size 3908796 diff --git a/phpvirtualbox.spec b/phpvirtualbox.spec new file mode 100644 index 0000000..19f0510 --- /dev/null +++ b/phpvirtualbox.spec @@ -0,0 +1,100 @@ +%define name phpvirtualbox +%define version 5.2.1 +%define release 2 +%define rpmver 5.2.1 +Summary: smserver rpm to install phpvirtualbox +Name: %{name} +Version: %{version} +Release: %{release}%{?dist} +Source: %{name}-%{version}.tar.gz +License: GNU GPL version 2 +URL: http://mirror.de-labrusse.fr +Group: SMEserver/addon +BuildRoot: %{_tmppath}/%{name}-buildroot +Prefix: %{_prefix} +BuildArchitectures: noarch +BuildRequires: e-smith-devtools +Requires: e-smith-release >= 10.0 +AutoReqProv: no + +%description +smserver rpm to install phpvirtualbox + +%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 Oct 18 2022 Trevor batley 5.2.1-2.sme +- change install diretory to /opt + +* Tue Aug 16 2022 Jean-Philipe Pialasse 5.2.1-1.sme +- import to SME 10 +- upstream upgrade 5.2-1 + +* Sat Aug 15 2015 stephane de labrusse 5.0-2 +- upstream upgrade 5.0-2 + +* Thu Aug 06 2015 stephane de labrusse 5.0-1 +- upstream upgrade 5.0-1 + +* Wed Apr 15 2015 stephane de labrusse 4.3.3-1 +- upstream upgrade 4.3-3 + +* Fri Dec 19 2014 stephane de labrusse 4.3.2-1 +- upstream upgrade + +* Sun May 18 2014 stephane de labrusse 4.3.1-2 +-first release to sme9 + +* Wed Jan 15 2014 stephane de labrusse 4.3.1-1 +- Update to phpvirtualbox 4.3.1, thanks to ian Moore +- http://sourceforge.net/projects/phpvirtualbox + +* Mon Dec 30 2013 JP Pialasse 4.3.0-8.sme +- prepare rpm to import into buildsys + +* Fri Dec 13 2013 stephane de labrusse 4.3.7 +- remove the web authentication for the buildin phpvirtualbox authentication + +* Tue Nov 05 2013 stephane de labrusse 4.3.6 +- change name to match the phpvirtualbox version +* Sat Oct 26 2013 stephane de labrusse 4.3.5 +- add webauth to setting and "sme admin" as "phpvirtualbox admin" +* Wed Oct 23 2013 stephane de labrusse 4.3.4 +- Minor adjustment settings +* Sat Oct 19 2013 stephane de labrusse 4.3.3 +- Initial release + +%prep +%setup +#%patch0 -p1 +%build + +%install +rm -rf $RPM_BUILD_ROOT +(find . -depth -print | cpio -dump $RPM_BUILD_ROOT) +rm -f %{name}-%{version}-filelist +/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist +#echo "%doc COPYING" >> %{name}-%{version}-filelist + +%clean +cd .. +rm -rf %{name}-%{version} + +%pre +if [ $1 = 2 ] ; then +/bin/cp /opt/phpvirtualbox/config.php /opt/phpvirtualbox/config.php-your-backup-`date +%Y-%m-%d-%H-%M` +fi +%preun + +%post + + + +%postun +#uninstall + +%files -f %{name}-%{version}-filelist +%defattr(-,root,root) +