From nobody Sun Jun 12 03:56:07 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D0A17843305; Sun, 12 Jun 2022 03:56:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LLLTg42sqz3Dh9; Sun, 12 Jun 2022 03:56:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655006167; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZrX8hXyi+PQqPp8QMOAvH1L60Oq7yp/2O7+Mr/69lsI=; b=PwdvQBaR2vRf0iTYjOUGOyWViInNYTGlI7uMX8B847b2AZhymPnPCW+I4ZAddiEy4akoFl TeeSNxv6RSFbPq0rnVQ6HOTRL21Eycrh8NT6B/Fwyh8hVi1xAqE+LnXX6RvcJFcf7nSFbU Jju/HD/bqqsWcOcukfOr4uscHq/8Op9Kk80nt8naUTcC3gEpc9TaARL/qr0icRAHcaiw8F 5899iETzpgYrsdQu0UtrcmSx6RJAfTsS9EcGo2bUk+bgeufkRFrqapVUwOY/WWw78lUBnB WMOf38zV19aAD9qr0+GRWHTH4SOfjY62Ko28y4FE6GvMSd064JiQzk1QWxh58w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 60BA51A60A; Sun, 12 Jun 2022 03:56:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 25C3u7eY015676; Sun, 12 Jun 2022 03:56:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25C3u7xc015675; Sun, 12 Jun 2022 03:56:07 GMT (envelope-from git) Date: Sun, 12 Jun 2022 03:56:07 GMT Message-Id: <202206120356.25C3u7xc015675@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Wen Heping Subject: git: cf85acfb8cac - main - www/tcexam: Add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wen X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cf85acfb8cacc2503e18ee28cda5c1fc12fffae7 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655006167; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZrX8hXyi+PQqPp8QMOAvH1L60Oq7yp/2O7+Mr/69lsI=; b=lbOWuuwzoV31GQfNAFTfvlbeO5iM1iVGNmKKrhbOkuDBRN1GrVYY2/kXYPT57TBYxjSow1 Qv/HAGHo89xmiiJ/1rhsH1oeyUbk3avCn7LFkiAGMKn64mRuFePL2UP/5ApXf0Eiz56MzB tK5uEquLb5gocssPF8PL4fsIgfJGa14l/0IoDOokV6c8ThbApxxwiyEIRB5QRVbssWY8p/ ddiHzleqkIsUXAmyKca8iDVCuVwA1zL5DQ8Q8U2ghQt7cuiYK6rR3RSVbkTD/c78cheNR3 t2izT1tOMQRsHaffsmuT562ABcE7ZZWpXkO9vpZT1ZnOftu4gZUhWBrLtKd+Sg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655006167; a=rsa-sha256; cv=none; b=fwxzfQZox0HiIj/vzfPurTEE7Z308r8V23CNuUfcITgq64da3RaxHJJgEgIkmERgAKttE7 tGBkZrNC1QSmz6JlGR6+L0/tjU2hPhI8lUpoObXc98ie9pTWAEUec7Z24qA1B3+S4qH6JH DeQZdGkytI5VwlSUkGycjOl/a5ij2rfUd00DeYGAuegMOp7JfPkl8Z4CvaCHkiwyOC6Lpi G4QNflT7fMHO5cmkip43ihT/A/UgzuOhQebJoDF62TWP9AyDCcSQB1CMrczjv4iTiF+ocu LLtGetYVrDPLGmgrQ/3yyYIppos9k2Cv0NjniCUZQw/IIFqQGg4KFwFGBsTeqA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=cf85acfb8cacc2503e18ee28cda5c1fc12fffae7 commit cf85acfb8cacc2503e18ee28cda5c1fc12fffae7 Author: Wen Heping AuthorDate: 2022-06-12 03:41:22 +0000 Commit: Wen Heping CommitDate: 2022-06-12 03:41:22 +0000 www/tcexam: Add new port TCExam is a Open Source system for electronic exams (also know as CBA - Computer-Based Assessment, CBT - Computer-Based Testing or e-exam) that enables educators and trainers to author, schedule, deliver, and report on quizzes, tests and exams. TCExam is Web-Based, platform independent, language independent (includes translations in several languages and RTL support) and conforms to W3C Accessibility and Usability guidelines to provide equal opportunity to people with disabilities, including blind users. TCExam automates all assessment phases: authoring, scheduling, delivering, and reporting. It's easy to use and do not require expensive hardware to run, nor additional commercial software. Users connect to the TCExam system using a common Web-browser like Mozilla Firefox or Internet Explorer. WWW: http://www.tcexam.org/ --- www/Makefile | 1 + www/tcexam/Makefile | 46 +++++++++++++++++++++++++++++++++++++++++ www/tcexam/distinfo | 3 +++ www/tcexam/files/pkg-message.in | 23 +++++++++++++++++++++ www/tcexam/pkg-descr | 16 ++++++++++++++ 5 files changed, 89 insertions(+) diff --git a/www/Makefile b/www/Makefile index 15a11e6b263a..6b8f8c00277a 100644 --- a/www/Makefile +++ b/www/Makefile @@ -2236,6 +2236,7 @@ SUBDIR += suphp SUBDIR += surf SUBDIR += swiggle + SUBDIR += tcexam SUBDIR += tclhttpd SUBDIR += tclwebtest SUBDIR += tdiary diff --git a/www/tcexam/Makefile b/www/tcexam/Makefile new file mode 100644 index 000000000000..74de493619ff --- /dev/null +++ b/www/tcexam/Makefile @@ -0,0 +1,46 @@ +PORTNAME= tcexam +PORTVERSION= 14.8.5 +CATEGORIES= www education +PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} + +MAINTAINER= wen@FreeBSD.org +COMMENT= Open Source system for electronic exams + +LICENSE= GPLv3 + +USES= cpe php:flavors tar:tgz +USE_PHP= curl gd xml + +USE_GITHUB= yes +GH_ACCOUNT= tecnickcom + +OPTIONS_SINGLE= BACKEND +OPTIONS_SINGLE_BACKEND= MYSQL PGSQL +OPTIONS_DEFAULT= MYSQL + +MYSQL_USE= php=mysqli +PGSQL_USE= php=pgsql + +NO_BUILD= yes +PLIST= ${WRKDIR}/plist +SUB_FILES= pkg-message +SUB_LIST= TCDIR=${TCDIR} + +TCDIR?= www/tcexam + +pre-install: + @${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST} + @${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST} + @${ECHO_CMD} "@mode 755" >> ${PLIST} + + @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${TCDIR}?g" >>${PLIST} + @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dir ${TCDIR}?g" >> ${PLIST} + + @${ECHO_CMD} "@mode" >> ${PLIST} + @${ECHO_CMD} "@group" >> ${PLIST} + @${ECHO_CMD} "@owner" >> ${PLIST} + +do-install: + @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${TCDIR} + +.include diff --git a/www/tcexam/distinfo b/www/tcexam/distinfo new file mode 100644 index 000000000000..12f49a3d8696 --- /dev/null +++ b/www/tcexam/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1654691070 +SHA256 (tecnickcom-tcexam-14.8.5_GH0.tar.gz) = c5f2ec40b10df5dce3afb21f67e6b806ab3d08f587be8bd6d5ad819c9642c2e6 +SIZE (tecnickcom-tcexam-14.8.5_GH0.tar.gz) = 17135603 diff --git a/www/tcexam/files/pkg-message.in b/www/tcexam/files/pkg-message.in new file mode 100644 index 000000000000..374c83c29eb8 --- /dev/null +++ b/www/tcexam/files/pkg-message.in @@ -0,0 +1,23 @@ +[ +{ type: install + message: < + AllowOverride None + Require all granted + + +2) Visit your TCExam site with a browser (i.e., + http://your.server.com/tcexam/install/install.php), + +For more information, see the INSTALL DOCUMENTATION: + + https://tcexam.org/docs/installation/ +EOM +} +] diff --git a/www/tcexam/pkg-descr b/www/tcexam/pkg-descr new file mode 100644 index 000000000000..5a752f01e6b8 --- /dev/null +++ b/www/tcexam/pkg-descr @@ -0,0 +1,16 @@ +TCExam is a Open Source system for electronic exams (also know as CBA - +Computer-Based Assessment, CBT - Computer-Based Testing or e-exam) that +enables educators and trainers to author, schedule, deliver, and report +on quizzes, tests and exams. + +TCExam is Web-Based, platform independent, language independent (includes +translations in several languages and RTL support) and conforms to W3C +Accessibility and Usability guidelines to provide equal opportunity to +people with disabilities, including blind users. + +TCExam automates all assessment phases: authoring, scheduling, delivering, +and reporting. It's easy to use and do not require expensive hardware to +run, nor additional commercial software. Users connect to the TCExam system +using a common Web-browser like Mozilla Firefox or Internet Explorer. + +WWW: http://www.tcexam.org/