From eb2230267881af650f20537cc5a6a7d291909a00 Mon Sep 17 00:00:00 2001 From: camield Date: Mon, 20 Nov 2000 07:38:02 +0000 Subject: [PATCH] - update to version 2.2 (no longer requires any patches) - make adding users more user-friendly in MESSAGE From maintainer: Joshua Stein --- security/scanlogd/Makefile | 6 +++--- security/scanlogd/files/md5 | 6 +++--- security/scanlogd/patches/patch-Makefile | 15 --------------- security/scanlogd/pkg/MESSAGE | 22 ++++------------------ 4 files changed, 10 insertions(+), 39 deletions(-) delete mode 100644 security/scanlogd/patches/patch-Makefile diff --git a/security/scanlogd/Makefile b/security/scanlogd/Makefile index 5ec52799d4e..7d0eb698d97 100644 --- a/security/scanlogd/Makefile +++ b/security/scanlogd/Makefile @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile,v 1.2 2000/10/22 16:30:10 espie Exp $ +# $OpenBSD: Makefile,v 1.3 2000/11/20 07:38:02 camield Exp $ -DISTNAME= scanlogd-2.1 +DISTNAME= scanlogd-2.2 HOMEPAGE= http://www.openwall.com/scanlogd/ CATEGORIES= security -NEED_VERSION= 1.313 +NEED_VERSION= 1.340 MAINTAINER= Joshua Stein MASTER_SITES= ftp://ftp.openwall.com/scanlogd/ \ diff --git a/security/scanlogd/files/md5 b/security/scanlogd/files/md5 index aa3a1c35de1..609b4bf0d62 100644 --- a/security/scanlogd/files/md5 +++ b/security/scanlogd/files/md5 @@ -1,3 +1,3 @@ -MD5 (scanlogd-2.1.tar.gz) = 63ffab643c61f932faabed8c6aa2b68e -RMD160 (scanlogd-2.1.tar.gz) = 221b2b87ca277de0a0332c16daf75d5af510ba67 -SHA1 (scanlogd-2.1.tar.gz) = c33515a8e9e7dc781b0c66529008ad5713531c55 +MD5 (scanlogd-2.2.tar.gz) = bb4586e116c579dbdd359da9c6560556 +RMD160 (scanlogd-2.2.tar.gz) = 348fa425f67999bc957e8930a9004d70cb8563d1 +SHA1 (scanlogd-2.2.tar.gz) = 8471d104d6c2c603c805e71361972e53f7224c2b diff --git a/security/scanlogd/patches/patch-Makefile b/security/scanlogd/patches/patch-Makefile deleted file mode 100644 index 03e44d0570f..00000000000 --- a/security/scanlogd/patches/patch-Makefile +++ /dev/null @@ -1,15 +0,0 @@ -$OpenBSD: patch-Makefile,v 1.1.1.1 2000/08/16 07:32:44 camield Exp $ - -libnids needs libnet to compile. - ---- Makefile.orig Mon Aug 14 09:37:37 2000 -+++ Makefile Mon Aug 14 09:37:52 2000 -@@ -8,7 +8,7 @@ - PCAP_L = -lpcap - - NIDS_H = -I/usr/local/include --NIDS_L = -L/usr/local/lib -lnids -lpcap -+NIDS_L = -L/usr/local/lib -lnids -lpcap -lnet - - PROJ = scanlogd - diff --git a/security/scanlogd/pkg/MESSAGE b/security/scanlogd/pkg/MESSAGE index 66535b42f39..736ec4e6c94 100644 --- a/security/scanlogd/pkg/MESSAGE +++ b/security/scanlogd/pkg/MESSAGE @@ -1,22 +1,8 @@ -scanlogd requires a seperate user and group named 'scanlogd' to run. You -will need to create these manually. +scanlogd requires a seperate user and group named 'scanlogd' to +run. You will need to create these manually. For example: -Add a group: - - groupadd scanlogd - -then find its gid: - - grep scanlogd /etc/group | cut -f3 -d':' - -Now list all the uids to find the highest in use: - - cut -f3 -d':' /etc/passwd - -add 1, and add the user with that uid and the gid added above: - - chpass -l -a "scanlogd:*:$uid:$gid:::::/nonexistent:/sbin/nologin" +groupadd scanlogd +useradd -c SCANLOGD -d /nonexistent -g scanlogd -s /sbin/nologin scanlogd The scanlogd program will automatically switch to this user upon startup. -