Commit 10b4d2e6 authored by Rene Ladan's avatar Rene Ladan
Browse files

www/bareos21-webui: Remove expired port

2025-01-21 www/bareos21-webui: not supported upstream
parent 23b59264
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4033,3 +4033,4 @@ www/webkit2-gtk3|www/webkit2-gtk@40|2025-01-20|Flavoured
www/webkit2-gtk4|www/webkit2-gtk@60|2025-01-20|Flavoured
sysutils/bareos21-traymonitor||2025-01-21|Has expired: not supported upstream
www/bareos20-webui||2025-01-21|Has expired: not supported upstream
www/bareos21-webui||2025-01-21|Has expired: not supported upstream
+0 −1
Original line number Diff line number Diff line
@@ -71,7 +71,6 @@
    SUBDIR += badwolf
    SUBDIR += baikal
    SUBDIR += bareos-webui
    SUBDIR += bareos21-webui
    SUBDIR += bareos22-webui
    SUBDIR += bareos23-webui
    SUBDIR += beehive

www/bareos21-webui/Makefile

deleted100644 → 0
+0 −71
Original line number Diff line number Diff line
PORTNAME=	bareos
DISTVERSIONPREFIX=	Release/
DISTVERSION=	21.1.9
PORTREVISION=	1
CATEGORIES?=	www sysutils
PKGNAMESUFFIX=	21-webui

MAINTAINER=	acm@FreeBSD.org
COMMENT=	PHP-Frontend to manage Bareos over the web
WWW=		https://www.bareos.org/

LICENSE=	AGPLv3+
LICENSE_FILE=	${WRKSRC}/webui/LICENSE

DEPRECATED=	not supported upstream
EXPIRATION_DATE=	2025-01-21

USE_GITHUB=	yes

USES=		cpe php:build cmake gettext
USE_PHP=	gettext ctype session iconv
NO_BUILD=	yes
NO_ARCH=	yes

CMAKE_SOURCE_PATH=	${WRKSRC}/webui
CMAKE_INSTALL_PREFIX=	${STAGEDIR}
CMAKE_ARGS+=	-DSHARE_INSTALL_PREFIX:PATH=${PREFIX}/www \
		-DCMAKE_INSTALL_FULL_SYSCONFDIR:PATH=${PREFIX}/etc \
		-Dsysconfdir=${PREFIX}/etc \
		-Dwebuiconfdir=${PREFIX}/${ETCDIRWEBUI} \
		-DVERSION_STRING=${DISTVERSION} \
		-DBAREOS_FULL_VERSION:STRING=${DISTVERSION}

SUB_FILES=	pkg-message
SUB_LIST+=	ETCDIRWEBUI=${PREFIX}/${ETCDIRWEBUI}
PLIST_SUB+=	WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} ETCDIRWEBUI=${ETCDIRWEBUI}

OPTIONS_DEFINE=		PGSQL
OPTIONS_DEFAULT=	PGSQL

PGSQL_USE=		PHP=pdo_pgsql

ETCDIRWEBUI=		etc/${PORTNAME}${PKGNAMESUFFIX}

post-extract:
	${FIND} ${WRKSRC}/webui -name .gitignore -delete

pre-install:
	${FIND} ${WRKSRC}/webui -name *.in -delete

do-install:
	@${ECHO} "Installing in ${WWWDIR}"
	@${MKDIR} ${STAGEDIR}${PREFIX}/${ETCDIRWEBUI}
	@${MKDIR} ${STAGEDIR}${ETCDIR}/bareos-dir.d/console
	@${MKDIR} ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile
	@${MKDIR} ${STAGEDIR}${BAREOSWEB_HOME}
	cd ${WRKSRC}/webui && ${COPYTREE_SHARE} "config data module public vendor" \
		${STAGEDIR}${WWWDIR}
	${INSTALL_DATA} ${WRKSRC}/webui/*.php ${STAGEDIR}${WWWDIR}
	${INSTALL_DATA} ${WRKSRC}/webui/composer* ${STAGEDIR}${WWWDIR}
	${INSTALL_DATA} ${WRKSRC}/webui/phpunit.xml ${STAGEDIR}${WWWDIR}
	${INSTALL_DATA} ${WRKSRC}/webui/install/directors.ini ${STAGEDIR}${PREFIX}/${ETCDIRWEBUI}/directors.ini
	${INSTALL_DATA} ${WRKSRC}/webui/install/configuration.ini ${STAGEDIR}${PREFIX}/${ETCDIRWEBUI}/configuration.ini
	${INSTALL_DATA} ${WRKSRC}/webui/install/bareos/bareos-dir.d/console/admin.conf.example ${STAGEDIR}${ETCDIR}/bareos-dir.d/console/admin.conf.sample
	${INSTALL_DATA} ${WRKSRC}/webui/install/bareos/bareos-dir.d/profile/webui-admin.conf ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile/webui-admin.conf.sample
	${INSTALL_DATA} ${WRKSRC}/webui/install/bareos/bareos-dir.d/profile/webui-limited.conf.example ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile/webui-limited.conf.sample
	${INSTALL_DATA} ${WRKSRC}/webui/install/bareos/bareos-dir.d/profile/webui-readonly.conf ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile/webui-readonly.conf.sample
	${INSTALL_DATA} ${WRKSRC}/webui/install/apache/bareos-webui.conf ${STAGEDIR}${PREFIX}/${ETCDIRWEBUI}/apache-bareos-webui.conf
	${INSTALL_DATA} ${WRKSRC}/webui/install/nginx/bareos-webui.conf ${STAGEDIR}${PREFIX}/${ETCDIRWEBUI}/nginx-bareos-webui.conf

.include <bsd.port.mk>

www/bareos21-webui/distinfo

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
TIMESTAMP = 1714631959
SHA256 (bareos-bareos-Release-21.1.9_GH0.tar.gz) = cea611402f3d42903e8ad56808e43f3bc2163e0dbbbca4cba3f4abab8842320c
SIZE (bareos-bareos-Release-21.1.9_GH0.tar.gz) = 11670286
+0 −19
Original line number Diff line number Diff line
[
{ type: install
  message: <<EOM
bareos webui was installed

Please note that everything has been installed in %%WWWDIR%% and 
%%ETCDIRWEBUI%%. You can look bareos-webui installation/configuration 
instructions at:

https://docs.bareos.org/IntroductionAndTutorial/InstallingBareosWebui.html

1) Configuration files are stored at %%ETCDIRWEBUI%%
2) Some webserver configuration samples are installed at %%ETCDIRWEBUI%%
3) This install some bareos-dir configuration samples at %%PREFIX%%/etc/bareos.
   Don't forget change permissions to user/group used by bareos-dir on server 
   where it is installed
EOM
}
]
Loading