Files
sthen 96487fe1fe import ports/misc/hmdm-server, from Chaz Kettleson, ok bentley
Headwind MDM is a Mobile Device Management platform for Android devices, 
designed for corporate app developers and IT managers.

Features

- Enrollment to Android 7+ devices through scanning a QR-code
- Work in "Application mode" without enrollment
- Customize the mobile desktop design and available applications
- Automatic deployment of applications through the web panel
- Mobile device management: groups, configurations, device status
- Setup the available mobile device capabilities (GPS, Wi-Fi, Bluetooth etc.)
- Manage the automatic OS update mode on the mobile device
- Extensible platform design allowing the custom plugin development
- Collection of application logs in the web panel
- Centralized configuration of corporate applications
2026-03-29 11:08:12 +00:00

61 lines
1.6 KiB
Makefile

COMMENT= mobile device management server
V= 5.38.1
GH_ACCOUNT= h-mdm
GH_PROJECT= hmdm-server
GH_TAGNAME= v${V}
SITES.war= https://h-mdm.com/files/
DISTFILES.war= hmdm-${V}-os.war
EXTRACT_ONLY= hmdm-server-${V}.tar.gz
CATEGORIES= misc
HOMEPAGE= https://h-mdm.com/
MAINTAINER= Chaz Kettleson <chaz@pyr3x.com>
# Apache-2.0
PERMIT_PACKAGE= Yes
MODULES= java
MODJAVA_VER= 17
RUN_DEPENDS= databases/postgresql
RUN_DEPENDS+= java/javaPathHelper
RUN_DEPENDS+= www/tomcat/v9
NO_BUILD= Yes
NO_TEST= Yes
HMDM_APK_VERSION= 6.31
HMDM_APK= hmdm-${HMDM_APK_VERSION}-os.apk
HMDM_SERVER_DIR= /var/tomcat/work/hmdm-server
HMDM_LANGUAGE= en
SUBST_VARS+= HMDM_APK_VERSION HMDM_APK HMDM_SERVER_DIR HMDM_LANGUAGE
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/hmdm-server/
${INSTALL_DATA} ${DISTDIR}/hmdm-${V}-os.war \
${PREFIX}/share/hmdm-server/ROOT.war
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/hmdm-server
${SUBST_CMD} -c ${WRKSRC}/install/context_template.xml \
${WRKDIR}/ROOT.xml
${INSTALL_DATA} ${WRKDIR}/ROOT.xml \
${PREFIX}/share/examples/hmdm-server/
${SUBST_CMD} -c ${WRKSRC}/install/sql/hmdm_init.${HMDM_LANGUAGE}.sql \
${WRKDIR}/hmdm-server_init.${HMDM_LANGUAGE}.sql
${INSTALL_DATA} ${WRKDIR}/hmdm-server_init.${HMDM_LANGUAGE}.sql \
${PREFIX}/share/examples/hmdm-server/
${SUBST_CMD} -c ${WRKSRC}/install/log4j_template.xml \
${WRKDIR}/log4j-hmdm-server.xml
${INSTALL_DATA} ${WRKDIR}/log4j-hmdm-server.xml \
${PREFIX}/share/examples/hmdm-server/
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/hmdm-server/emails/
cd ${WRKSRC}/install/emails && \
pax -rw . ${PREFIX}/share/examples/hmdm-server/emails/
.include <bsd.port.mk>