- install a README.OpenBSD file.
- fix /var/prelude/ permissions for snort. - bumpd PKGNAME.
This commit is contained in:
parent
3f7be5cc78
commit
6942fa336e
@ -1,16 +1,21 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2006/10/03 05:17:29 aanriot Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2006/10/06 07:55:31 aanriot Exp $
|
||||
|
||||
COMMENT= "Prelude manager"
|
||||
|
||||
DISTNAME= prelude-manager-0.9.6
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
|
||||
WANTLIB= c gcrypt gnutls gpg-error m prelude preludedb pthread z
|
||||
MODULES= devel/gettext
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
|
||||
LIB_DEPENDS= xml2.>=9::textproc/libxml \
|
||||
LIB_DEPENDS= xml2.>=9::textproc/libxml \
|
||||
preludedb.>=3.1::security/prelude/libpreludedb
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/prelude-manager/
|
||||
${INSTALL_DATA} ${FILESDIR}/README.OpenBSD \
|
||||
${PREFIX}/share/doc/prelude-manager/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
14
security/prelude/manager/files/README.OpenBSD
Normal file
14
security/prelude/manager/files/README.OpenBSD
Normal file
@ -0,0 +1,14 @@
|
||||
To start with prelude-manager, you have to create a starting profile,
|
||||
e.g. "prelude-manager" by running:
|
||||
|
||||
# prelude-adduser add prelude-manager --uid=564 --gid=564
|
||||
|
||||
Then, alter prelude-manager.conf with your database settings (at least
|
||||
"type", "host", "user" and "pass") according to the DBMS you selected
|
||||
when installing libpreludedb; the type parameter can be either "pgsql",
|
||||
"mysql" or "sqlite3".
|
||||
|
||||
If you are using sqlite, you need only two parameters, "type", and "file"
|
||||
which indicates the location of the database file (/var/prelude/manager/
|
||||
is the recommended directory to store this file).
|
||||
|
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-prelude-manager_conf_in,v 1.3 2006/10/03 05:17:29 aanriot Exp $
|
||||
$OpenBSD: patch-prelude-manager_conf_in,v 1.4 2006/10/06 07:55:31 aanriot Exp $
|
||||
--- prelude-manager.conf.in.orig Tue Dec 13 13:39:58 2005
|
||||
+++ prelude-manager.conf.in Tue Oct 3 06:50:13 2006
|
||||
+++ prelude-manager.conf.in Wed Oct 4 16:55:29 2006
|
||||
@@ -28,8 +28,8 @@ listen = 127.0.0.1
|
||||
# Sets the user/group ID as which prelude-manager will run.
|
||||
# In order to use this option, prelude-manager must be run initially as root
|
||||
@ -12,30 +12,6 @@ $OpenBSD: patch-prelude-manager_conf_in,v 1.3 2006/10/03 05:17:29 aanriot Exp $
|
||||
|
||||
|
||||
# Number of bits of the prime used in the Diffie Hellman key exchange.
|
||||
@@ -83,15 +83,17 @@ listen = 127.0.0.1
|
||||
# message locally).
|
||||
|
||||
|
||||
+
|
||||
+# Name of the database connection
|
||||
# [db]
|
||||
|
||||
-# The type of database (mysql/pgsql).
|
||||
+# The type of database (mysql/pgsql/sqlite).
|
||||
# type = mysql
|
||||
|
||||
# Host the database is listening on.
|
||||
# host = localhost
|
||||
|
||||
-# Port the database is listening on.
|
||||
+# Port the database is listening on (3306/5432/x).
|
||||
# port = 3306
|
||||
|
||||
# Name of the database.
|
||||
@@ -101,7 +103,7 @@ listen = 127.0.0.1
|
||||
# user = prelude
|
||||
|
||||
# Password used to connect the database.
|
||||
-# pass = xxxxxx
|
||||
+# pass = prelude
|
||||
|
||||
|
@ -1,7 +1,3 @@
|
||||
To start with prelude-manager, you have to create a starting profile,
|
||||
e.g. "prelude-manager" by running:
|
||||
You should read ${PREFIX}/share/doc/prelude-manager/README.OpenBSD for
|
||||
more details about prelude-manager settings.
|
||||
|
||||
# prelude-adduser add prelude-manager --uid=564 --gid=564
|
||||
|
||||
Then, update ${SYSCONFDIR}/prelude-manager/prelude-manager.conf with
|
||||
your database settings.
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.2 2006/10/03 05:17:29 aanriot Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.3 2006/10/06 07:55:31 aanriot Exp $
|
||||
%%SHARED%%
|
||||
bin/prelude-manager
|
||||
include/prelude-manager/
|
||||
@ -21,6 +21,8 @@ lib/prelude-manager/reports/textmod.a
|
||||
lib/prelude-manager/reports/textmod.la
|
||||
lib/prelude-manager/reports/xmlmod.a
|
||||
lib/prelude-manager/reports/xmlmod.la
|
||||
share/doc/prelude-manager/
|
||||
share/doc/prelude-manager/README.OpenBSD
|
||||
share/examples/prelude-manager/
|
||||
@sample ${SYSCONFDIR}/prelude-manager/
|
||||
share/examples/prelude-manager/prelude-manager.conf
|
||||
@ -28,10 +30,11 @@ share/examples/prelude-manager/prelude-manager.conf
|
||||
share/prelude-manager/
|
||||
share/prelude-manager/xmlmod/
|
||||
share/prelude-manager/xmlmod/idmef-message.dtd
|
||||
@mode 700
|
||||
@owner _prelude
|
||||
@group _prelude
|
||||
@mode 755
|
||||
@sample /var/prelude/manager/
|
||||
@mode 700
|
||||
@sample /var/run/prelude-manager/
|
||||
@sample /var/spool/prelude/
|
||||
@sample /var/spool/prelude/prelude-manager/
|
||||
|
Loading…
Reference in New Issue
Block a user