public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: profiles/, net-analyzer/sguil-server/files/, net-analyzer/sguil-server/
@ 2020-10-26  7:39 Michał Górny
  0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2020-10-26  7:39 UTC (permalink / raw
  To: gentoo-commits

commit:     8d5c8a631b3e112b0a420dffa3069ff2494320ac
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 26 07:36:31 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Oct 26 07:39:04 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d5c8a63

net-analyzer/sguil-server: Remove last-rited pkg

Closes: https://bugs.gentoo.org/741420
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 net-analyzer/sguil-server/Manifest                 |   1 -
 net-analyzer/sguil-server/files/sguild.confd       |  25 -----
 net-analyzer/sguil-server/files/sguild.initd       |  44 ---------
 net-analyzer/sguil-server/metadata.xml             |  12 ---
 .../sguil-server/sguil-server-1.0.0.ebuild         | 101 ---------------------
 profiles/package.mask                              |   1 -
 6 files changed, 184 deletions(-)

diff --git a/net-analyzer/sguil-server/Manifest b/net-analyzer/sguil-server/Manifest
deleted file mode 100644
index 6a6586972b7..00000000000
--- a/net-analyzer/sguil-server/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST sguil-1.0.0.tar.gz 892934 BLAKE2B 69459eed682d91a1b57ba08c141dd655dbbfaa0d9d2956e6a26065f1b6820307b0e0e4dcbcad89537eba7499aea38f81739c351246e3dd6c46cab46bdf0d054f SHA512 fc3007383f90c99a0ace3eeebac75864f9aa549676e784c7bf1d81222282e3a5a3d5290b121097ae3c027dee3dd35bbe8ac9dfede04dbd561edfd3948a0465ab

diff --git a/net-analyzer/sguil-server/files/sguild.confd b/net-analyzer/sguil-server/files/sguild.confd
deleted file mode 100644
index 216f6e60ad8..00000000000
--- a/net-analyzer/sguil-server/files/sguild.confd
+++ /dev/null
@@ -1,25 +0,0 @@
-# Config file for /etc/init.d/sguild
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-#PATH to the sguild config (sguild.conf) file.
-CONF=/etc/sguil/sguild.conf
-
-#PATH to the sguild config (autocat.conf) file.
-AUTOCAT=/etc/sguil/autocat.conf
-
-#PATH to the sguild global queries (sguild.queries) file.
-QUERIES=/etc/sguil/sguild.queries
-
-#PATH to the sguild users (sguild.users) file.
-USERS=/etc/sguil/sguild.users
-
-#PATH to the sguild access file
-ACCESS=/etc/sguil/sguild.access
-
-#Directory that contains sguild.pem and sguild.key
-#Uncomment to enable openssl connectivity
-#OPENSSLPATH="/etc/sguil/"
-
-#For any other options you wish to add
-#EXTRA_SGUILD_OPTS=

diff --git a/net-analyzer/sguil-server/files/sguild.initd b/net-analyzer/sguil-server/files/sguild.initd
deleted file mode 100644
index e4fec500feb..00000000000
--- a/net-analyzer/sguil-server/files/sguild.initd
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-[ -z "${CONF}" ] && CONF="/etc/sguil/sguild.conf"
-[ -z "${AUTOCAT}" ] && AUTOCAT="/etc/sguil/autocat.conf"
-[ -z "${QUERIES}" ] && QUERIES="/etc/sguil/sguild.queries"
-[ -z "${USERS}" ] && USERS="/etc/sguil/sguild.users"
-[ -z "${ACCESS}" ] && AUTOCAT="/etc/sguil/sguild.access"
-
-SGUILD_OPTS="-D -c ${CONF} -u ${USERS} -A ${ACCESS}"
-
-[ -n "${OPENSSLPATH}" ] && SGUILD_OPTS="${SGUILD_OPTS} -o -C ${OPENSSLPATH}"
-
-depend() {
-	need net
-	use mysql
-}
-
-checkconfig() {
-	[ -f "${CONF}" ] || return 1	
-	[ -f "${AUTOCAT}" ] || return 1	
-	[ -f "${QUERIES}" ] || return 1
-	[ -f "${USERS}" ] || return 1
-	[ -f "${ACCESS}" ] || return 1
-	if [ -n "${OPENSSLPATH}" ]; then
-		[ -f "${OPENSSLPATH}/sguild.key" ] || return 1
-		[ -f "${OPENSSLPATH}/sguild.pem" ] || return 1
-	fi
-}
-
-start() {
-	checkconfig || return 1
-	ebegin "Starting sguild"
-	start-stop-daemon --start --quiet -c sguil --exec /usr/bin/sguild \
-		-- ${SGUILD_OPTS} ${EXTRA_SGUILD_OPTS} -D -P /run/sguild.pid
-	eend $?
-}
-
-stop() {
-	ebegin "Stopping sguild"
-	start-stop-daemon --stop --quiet --pidfile /run/sguild.pid
-	eend $?
-}

diff --git a/net-analyzer/sguil-server/metadata.xml b/net-analyzer/sguil-server/metadata.xml
deleted file mode 100644
index ca324d618d9..00000000000
--- a/net-analyzer/sguil-server/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-  <maintainer type="project">
-    <email>netmon@gentoo.org</email>
-    <name>Gentoo network monitoring and analysis project</name>
-  </maintainer>
-  <upstream>
-    <remote-id type="github">bammv/sguil</remote-id>
-    <remote-id type="sourceforge">sguil</remote-id>
-  </upstream>
-</pkgmetadata>

diff --git a/net-analyzer/sguil-server/sguil-server-1.0.0.ebuild b/net-analyzer/sguil-server/sguil-server-1.0.0.ebuild
deleted file mode 100644
index 08a35d0af33..00000000000
--- a/net-analyzer/sguil-server/sguil-server-1.0.0.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit ssl-cert user
-
-MY_PV="${PV/_p/p}"
-DESCRIPTION="Daemon for Sguil Network Security Monitoring"
-HOMEPAGE="https://github.com/bammv/sguil"
-SRC_URI="https://github.com/bammv/sguil/archive/v${PV}.tar.gz -> ${P/-server}.tar.gz"
-
-LICENSE="GPL-2 QPL"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="ssl"
-
-DEPEND="
-	>=dev-lang/tcl-8.3:0=[-threads]
-	>=dev-tcltk/tclx-8.3
-	dev-tcltk/tcllib
-	dev-tcltk/mysqltcl
-	ssl? ( >=dev-tcltk/tls-1.4.1 )
-"
-RDEPEND="
-	${DEPEND}
-	net-analyzer/p0f
-	net-analyzer/tcpflow
-	net-misc/openssh
-"
-
-S="${WORKDIR}/sguil-${MY_PV}"
-
-pkg_setup() {
-	enewgroup sguil
-	enewuser sguil -1 -1 /var/lib/sguil sguil
-}
-
-src_prepare() {
-	default
-	sed -i \
-		-e 's:DEBUG 2:DEBUG 1:' -e 's:DAEMON 0:DAEMON 1:' \
-		-e 's:SGUILD_LIB_PATH ./lib:SGUILD_LIB_PATH /usr/'$(get_libdir)'/sguild:g' \
-		-e 's:/sguild_data/rules:/var/lib/sguil/rules:g' \
-		-e 's:/sguild_data/archive:/var/lib/sguil/archive:g' \
-		server/sguild.conf || die
-}
-
-src_install() {
-	dodoc server/sql_scripts/*
-	dodoc doc/CHANGES doc/OPENSSL.README doc/USAGE doc/INSTALL \
-	doc/TODO doc/sguildb.dia
-
-	insopts -m640
-	insinto /etc/sguil
-	doins server/{sguild.email,sguild.users,sguild.conf,sguild.queries,sguild.access,autocat.conf}
-
-	insinto /usr/$(get_libdir)/sguild
-	doins server/lib/*
-	dobin server/sguild
-	newinitd "${FILESDIR}/sguild.initd" sguild
-	newconfd "${FILESDIR}/sguild.confd" sguild
-
-	if use ssl; then
-		sed -i -e "s/#OPENSSL/OPENSSL/" "${D}/etc/conf.d/sguild"
-	fi
-
-	diropts -g sguil -o sguil
-	keepdir \
-		/var/lib/sguil \
-		/var/lib/sguil/archive \
-		/var/lib/sguil/rules
-
-}
-
-pkg_postinst() {
-	if use ssl && ! [ -f "${ROOT}"/etc/sguil/sguild.key ]; then
-		install_cert /etc/sguil/sguild
-	fi
-
-	chown -R sguil:sguil "${ROOT}"/etc/sguil/sguild.*
-	chown -R sguil:sguil "${ROOT}"/usr/lib/sguild
-
-	if [ -d "${ROOT}"/etc/snort/rules ] ; then
-		ln -s /etc/snort/rules "${ROOT}"/var/lib/sguil/rules/${HOSTNAME}
-	fi
-
-	elog
-	elog "Please customize the sguild configuration files in /etc/sguild before"
-	elog "trying to run the daemon. Additionally you will need to setup the"
-	elog "mysql database. See /usr/share/doc/${PF}/INSTALL.gz for information."
-	elog "Please note that it is STRONGLY recommended to mount a separate"
-	elog "filesystem at /var/lib/sguil for both space and performance reasons"
-	elog "as a large amount of data will be kept in the directory structure"
-	elog "underneath that top directory."
-	elog
-	elog "You should create the sguild db as per the install instructions in"
-	elog "/usr/share/doc/${PF}/ and use the appropriate"
-	elog "database setup script located in the same directory."
-
-	elog
-}

diff --git a/profiles/package.mask b/profiles/package.mask
index 3a68e7f4dc2..93aecca0920 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -240,7 +240,6 @@ net-voip/telepathy-haze
 # Removal in 30 days.  Please find relevant bugs on tracker bug #694800.
 games-arcade/diameter
 games-board/gnome-hearts
-net-analyzer/sguil-server
 
 # Michał Górny <mgorny@gentoo.org> (2020-09-25)
 # PyPy3.7 alpha.  Known to break a few packages.  Masked until it


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-26  7:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-26  7:39 [gentoo-commits] repo/gentoo:master commit in: profiles/, net-analyzer/sguil-server/files/, net-analyzer/sguil-server/ Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox