From nobody Sat Apr 02 09:38:41 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 B32D51A5EEF9; Sat, 2 Apr 2022 09:38:41 +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 4KVsRj4bjRz54g3; Sat, 2 Apr 2022 09:38:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648892321; 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=NqiwR9jANO4bolSp9h6bx2wC0/Jt/THj3CdYDyu5VL4=; b=DazfmQ0BWNedK0Gu5Qst37amQOyT+uJ3hk5uRQrpU1L/nfHF4XK9BkSUbWn8k1opHYwwUH z1XemP9TKkCafjtJh/BV5utwfNwa25nE1zCg4iKBLOkmL7UxKLO6J4YzEz3ytZIdWECdph cNJD2Yf8rm4LoH9mk4clbmCQcTX6YXmKJ1dJTNUTDcCqkQI7Tk1gNgxazW+3EPEaMPVqnj 271/1kBhpLEVKdh1DTCsKwcTQXorTNd0bSWOoMivR23vm8xlDuJiqjVCeDd0IMd7vxs7GP XozjwdiPX9QLsxtZCjDIiurY9J5vb0DqqiHIlLSfnD5Z0pMFyrNlTpsN2mW/fw== 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 77566264FB; Sat, 2 Apr 2022 09:38:41 +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 2329cfGG068811; Sat, 2 Apr 2022 09:38:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2329cfIQ068810; Sat, 2 Apr 2022 09:38:41 GMT (envelope-from git) Date: Sat, 2 Apr 2022 09:38:41 GMT Message-Id: <202204020938.2329cfIQ068810@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 4f5460be22b8 - main - security/libpreludedb: Resurrect 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4f5460be22b8057cc0c39ba2b3d861343698d1f3 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648892321; 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=NqiwR9jANO4bolSp9h6bx2wC0/Jt/THj3CdYDyu5VL4=; b=HrXc+i4+c1DwlfNEIbgrk293d/5Wg1EvSpgimMOnThP8dJgSuLiCWEjMLWLr5w+lnNpAZd qATB8ce+jD5Ocn2pRct+STB65ippZwcysRRHiD1pxRxbrejCuyS25p5lmBRMxDAzncU1Fv vR4i3BXKq5Hp6x0gsNSDKbbkmlTf6CzCAoMr569xlD/A+9gdC3q+/y5IpQmO3Pps5Dqgjy lBQz+GUzFDnhzQ/OLrKxjcR2oEzbiNLGWrR8VdAXs8dQPwRg0J55+NfINu2QOH9tNERMai OI9Ym9yuuE8xL0k1xSliOHDUlkvZrqXvm0lcxsDinhApPjRye14tfpuPQvirPA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648892321; a=rsa-sha256; cv=none; b=daCOmEyORAXsqFWcHkFbhkJ/uITmJOSMOdktAUgjCSbawYN6SqvKeuw4pO9erIKHcVdbHW tjACk7mbHdA1LlcePScA+yn2kBFYDM9FVusJ5NS0MdxhOjBqINAwxs2YlMaDJlTjgRRi7u jSBdvfDENCL4nXVH0rEpSyDf3Fgat0Exj1eb6WoVb25AkySRYNOYZdhIqrXD9OsW1iklQE cH17Z8BGDS5Ij6pdE8jB7MefQLyjvkEg18lSVLmZDdSb3u37SvOc40GZkWFUal2rbpjpaC VUpyCoxLEoZpuxV1w9xmLluyBpltp2V3b4J05FuM8Xmqmvw1FBSccdC4hNet+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=4f5460be22b8057cc0c39ba2b3d861343698d1f3 commit 4f5460be22b8057cc0c39ba2b3d861343698d1f3 Author: Muhammad Moinur Rahman AuthorDate: 2022-04-02 09:37:45 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2022-04-02 09:38:33 +0000 security/libpreludedb: Resurrect Update version 5.2.0 --- MOVED | 1 - security/Makefile | 1 + security/libpreludedb/Makefile | 40 +++++++++++++++++++++ security/libpreludedb/distinfo | 3 ++ security/libpreludedb/pkg-descr | 12 +++++++ security/libpreludedb/pkg-plist | 79 +++++++++++++++++++++++++++++++++++++++++ 6 files changed, 135 insertions(+), 1 deletion(-) diff --git a/MOVED b/MOVED index d68ec2f6a534..a228e288b1c1 100644 --- a/MOVED +++ b/MOVED @@ -17039,7 +17039,6 @@ security/mussh||2022-03-31|Has expired: Abandonware, last release in 2011 please security/razorback-fsWalk||2022-03-31|Has expired: Abandonware, last release in 2012 and listed as alpha quality by upstream security/hackbot||2022-03-31|Has expired: Abandonware, last release in 2003. Please consider using security/nmap or security/rustscan security/phpsecinfo||2022-03-31|Has expired: Abandonware, last release in 2006 -security/libpreludedb||2022-03-31|Has expired: Very outdated, current version in tree was released back in 2015 and upstream is still active security/ipfw2dshield||2022-03-31|Has expired: Abandonware, no word of it on upstream web site security/razorback-fileInject||2022-03-31|Has expired: Abandonware, last release in 2012 and listed as alpha quality by upstream security/gwee||2022-03-31|Has expired: Abandonware, last release 15+ years ago and dead upstream diff --git a/security/Makefile b/security/Makefile index d102ee837b67..d510cd30bb51 100644 --- a/security/Makefile +++ b/security/Makefile @@ -292,6 +292,7 @@ SUBDIR += libotr3 SUBDIR += libp11 SUBDIR += libprelude + SUBDIR += libpreludedb SUBDIR += libpwquality SUBDIR += libressl SUBDIR += libressl-devel diff --git a/security/libpreludedb/Makefile b/security/libpreludedb/Makefile new file mode 100644 index 000000000000..ca6ead05d9a1 --- /dev/null +++ b/security/libpreludedb/Makefile @@ -0,0 +1,40 @@ +PORTNAME= libpreludedb +PORTVERSION= 5.2.0 +CATEGORIES= security +MASTER_SITES= https://www.prelude-siem.org/attachments/download/1393/ + +MAINTAINER= bofh@FreeBSD.org +COMMENT= Library to access Prelude IDMEF database + +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libgnutls.so:security/gnutls \ + libltdl.so:devel/libltdl \ + libpcre.so:devel/pcre \ + libprelude.so:security/libprelude + +USES= gmake libtool python shebangfix ssl +USE_LDCONFIG= yes + +SHEBANG_FILES= preludedb-admin + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --without-swig + +INSTALL_TARGET= install-strip + +OPTIONS_DEFINE= DOCS +OPTIONS_DEFAULT= MYSQL +OPTIONS_MULTI= DB +OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE +OPTIONS_SUB= yes + +MYSQL_USES= mysql +MYSQL_CONFIGURE_WITH= mysql +PGSQL_USES= pgsql +PGSQL_CONFIGURE_WITH= postgresql +SQLITE_USES= sqlite +SQLITE_CONFIGURE_WITH= sqlite3 + +.include diff --git a/security/libpreludedb/distinfo b/security/libpreludedb/distinfo new file mode 100644 index 000000000000..8cb3a2358f4a --- /dev/null +++ b/security/libpreludedb/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1648888495 +SHA256 (libpreludedb-5.2.0.tar.gz) = 2077e079d8e23e8d39b31a862bcc79fa43b828942e031f6ee57358af4fd5bb0d +SIZE (libpreludedb-5.2.0.tar.gz) = 1372810 diff --git a/security/libpreludedb/pkg-descr b/security/libpreludedb/pkg-descr new file mode 100644 index 000000000000..4aa12dcc7c97 --- /dev/null +++ b/security/libpreludedb/pkg-descr @@ -0,0 +1,12 @@ +Prelude is a Universal "Security Information & Event Management" (SIEM) +system. Prelude collects, normalizes, sorts, aggregates, correlates and +reports all security-related events. + +As well as being capable of recovering any type of log (system logs, syslog, +flat files, etc.), Prelude benefits from a native support with a number of +systems dedicated to enriching information even further (snort, samhain, +ossec, auditd, etc.). + +This library provides a framework for easy access to the Prelude database. + +WWW: https://www.prelude-siem.org/ diff --git a/security/libpreludedb/pkg-plist b/security/libpreludedb/pkg-plist new file mode 100644 index 000000000000..4ca8f4fb3fce --- /dev/null +++ b/security/libpreludedb/pkg-plist @@ -0,0 +1,79 @@ +bin/libpreludedb-config +bin/preludedb-admin +include/libpreludedb/preludedb.h +include/libpreludedb/preludedb.hxx +include/libpreludedb/preludedb-error.h +include/libpreludedb/preludedb-error.hxx +include/libpreludedb/preludedb-path-selection.h +include/libpreludedb/preludedb-plugin-format.h +include/libpreludedb/preludedb-plugin-sql.h +include/libpreludedb/preludedb-sql-settings.h +include/libpreludedb/preludedb-sql.h +include/libpreludedb/preludedb-sql.hxx +include/libpreludedb/preludedb-sql-select.h +include/libpreludedb/preludedb-version.h +lib/libpreludedb.so +lib/libpreludedb.so.7 +lib/libpreludedb.so.7.4.1 +lib/libpreludedbcpp.so +lib/libpreludedbcpp.so.2 +lib/libpreludedbcpp.so.2.4.1 +lib/libpreludedb/plugins/formats/classic.so +%%MYSQL%%lib/libpreludedb/plugins/sql/mysql.so +%%PGSQL%%lib/libpreludedb/plugins/sql/pgsql.so +%%SQLITE%%lib/libpreludedb/plugins/sql/sqlite3.so +man/man1/libpreludedb-config.1.gz +man/man1/preludedb-admin.1.gz +share/aclocal/libpreludedb.m4 +%%PORTDOCS%%share/gtk-doc/html/libpreludedb/api-index-full.html +%%PORTDOCS%%share/gtk-doc/html/libpreludedb/ch01.html +%%PORTDOCS%%share/gtk-doc/html/libpreludedb/deprecated-api-index.html +%%PORTDOCS%%share/gtk-doc/html/libpreludedb/home.png +%%PORTDOCS%%share/gtk-doc/html/libpreludedb/index.html +%%PORTDOCS%%share/gtk-doc/html/libpreludedb/left.png +%%PORTDOCS%%share/gtk-doc/html/libpreludedb/left-insensitive.png +%%PORTDOCS%%share/gtk-doc/html/libpreludedb/libpreludedb-preludedb-error.html +%%PORTDOCS%%share/gtk-doc/html/libpreludedb/libpreludedb-preludedb-path-selection.html +%%PORTDOCS%%share/gtk-doc/html/libpreludedb/libpreludedb-preludedb-plugin-format.html +%%PORTDOCS%%share/gtk-doc/html/libpreludedb/libpreludedb-preludedb-plugin-sql.html +%%PORTDOCS%%share/gtk-doc/html/libpreludedb/libpreludedb-preludedb-sql-settings.html +%%PORTDOCS%%share/gtk-doc/html/libpreludedb/libpreludedb-preludedb-sql.html +%%PORTDOCS%%share/gtk-doc/html/libpreludedb/libpreludedb-preludedb-version.html +%%PORTDOCS%%share/gtk-doc/html/libpreludedb/libpreludedb-preludedb.html +%%PORTDOCS%%share/gtk-doc/html/libpreludedb/libpreludedb.devhelp2 +%%PORTDOCS%%share/gtk-doc/html/libpreludedb/object-tree.html +%%PORTDOCS%%share/gtk-doc/html/libpreludedb/right.png +%%PORTDOCS%%share/gtk-doc/html/libpreludedb/right-insensitive.png +%%PORTDOCS%%share/gtk-doc/html/libpreludedb/style.css +%%PORTDOCS%%share/gtk-doc/html/libpreludedb/up.png +%%PORTDOCS%%share/gtk-doc/html/libpreludedb/up-insensitive.png +%%PYTHON_SITELIBDIR%%/__pycache__/preludedb%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/_preludedb%%PYTHON_EXT_SUFFIX%%.so +%%PYTHON_SITELIBDIR%%/preludedb-5.2.0-py%%PYTHON_VER%%.egg-info +%%PYTHON_SITELIBDIR%%/preludedb.py +%%DATADIR%%/classic/mysql-update-14-1.sql +%%DATADIR%%/classic/mysql-update-14-2.sql +%%DATADIR%%/classic/mysql-update-14-3.sql +%%DATADIR%%/classic/mysql-update-14-4.sql +%%DATADIR%%/classic/mysql-update-14-5.sql +%%DATADIR%%/classic/mysql-update-14-6.sql +%%DATADIR%%/classic/mysql-update-14-7.sql +%%DATADIR%%/classic/mysql-update-14-8.sql +%%DATADIR%%/classic/mysql.sql +%%DATADIR%%/classic/mysql2pgsql.sh +%%DATADIR%%/classic/mysql2sqlite.sh +%%DATADIR%%/classic/pgsql-update-14-1.sql +%%DATADIR%%/classic/pgsql-update-14-2.sql +%%DATADIR%%/classic/pgsql-update-14-3.sql +%%DATADIR%%/classic/pgsql-update-14-4.sql +%%DATADIR%%/classic/pgsql-update-14-5.sql +%%DATADIR%%/classic/pgsql-update-14-6.sql +%%DATADIR%%/classic/pgsql-update-14-7.sql +%%DATADIR%%/classic/pgsql-update-14-8.sql +%%DATADIR%%/classic/pgsql.sql +%%DATADIR%%/classic/sqlite-update-14-4.sql +%%DATADIR%%/classic/sqlite-update-14-5.sql +%%DATADIR%%/classic/sqlite-update-14-6.sql +%%DATADIR%%/classic/sqlite-update-14-7.sql +%%DATADIR%%/classic/sqlite-update-14-8.sql +%%DATADIR%%/classic/sqlite.sql