aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-04-02 09:37:45 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-04-02 09:38:33 +0000
commit4f5460be22b8057cc0c39ba2b3d861343698d1f3 (patch)
tree09e4cf4f526e7ebc40b7c0283729dc16e6f845d6
parente07ac53ad03c923ca25b35455c9ce7236bf2c7d7 (diff)
downloadports-4f5460be22b8057cc0c39ba2b3d861343698d1f3.tar.gz
ports-4f5460be22b8057cc0c39ba2b3d861343698d1f3.zip
security/libpreludedb: Resurrect
Update version 5.2.0
-rw-r--r--MOVED1
-rw-r--r--security/Makefile1
-rw-r--r--security/libpreludedb/Makefile40
-rw-r--r--security/libpreludedb/distinfo3
-rw-r--r--security/libpreludedb/pkg-descr12
-rw-r--r--security/libpreludedb/pkg-plist79
6 files changed, 135 insertions, 1 deletions
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 <bsd.port.mk>
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