1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

- Use USER and GROUP in Makefile instead of having

pkg-message suggesting a user to create user and group
  manually
- Add uid/gid to the UID and GID files respectively
- Add an UPDATING entry to suggest users of scanlogd to
  drop existing users to avoid conflicts
- Bump PORTREVISION

PR:		191948
Submitted by:	TEUBEL György
This commit is contained in:
Roman Bogorodskiy 2014-07-23 15:25:49 +00:00
parent 03501611c8
commit 6d49a24ba3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362703
5 changed files with 16 additions and 9 deletions

1
GIDs
View File

@ -219,6 +219,7 @@ netdisco:*:840:
munin:*:842:
dahdi:*:843:asterisk
fossy:*:901:www
scanlogd:*:902:
bacula:*:910:
iserv:*:911:
_sj3:*:912:

1
UIDs
View File

@ -222,6 +222,7 @@ statsd:*:826:826::0:0:Statsd Daemon:/nonexistent:/sbin/nologin
netdisco:*:840:840::0:0:netdisco daemon:/nonexistent:/usr/sbin/nologin
munin:*:842:842::0:0:Munin:/var/munin:/usr/sbin/nologin
fossy:*:901:901::0:0:FOSSology user:/usr/local/share/fossology:/usr/local/bin/bash
scanlogd:*:902:902::0:0:scanlogd user:/nonexistent:/usr/sbin/nologin
bacula:*:910:910::0:0:Bacula Daemon:/var/db/bacula:/usr/sbin/nologin
iserv:*:911:911::0:0:Iserv Daemon:/nonexistent:/usr/sbin/nologin
_sj3:*:912:912::0:0:SJ3 Daemon:/nonexistent:/usr/sbin/nologin

View File

@ -5,6 +5,17 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
20140723:
AFFECTS: users of security/scanlogd
AUTHOR: tgyurci@gmail.com
The security/scanlogd port now creates scanlogd user and group. Previous
scanlogd user and group must be removed before updating to not conflict
with the one created by the port:
pw userdel scanlogd
pw groupdel scanlogd
20140727:
AFFECTS: users of TeX
AUTHOR: bapt@FreeBSD.org

View File

@ -3,6 +3,7 @@
PORTNAME= scanlogd
PORTVERSION= 2.2.7
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://openwall.com/scanlogd/ \
ftp://ftp.openwall.com/pub/projects/scanlogd/ \
@ -20,6 +21,8 @@ ALL_TARGET= libnids
ALL_TARGET= libpcap
.endif
USERS= scanlogd
GROUPS= scanlogd
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -c" LD="${CC}"
PLIST_FILES= bin/scanlogd man/man8/scanlogd.8.gz

View File

@ -1,9 +0,0 @@
----------------------------------------------------------------------------
scanlogd requires a separate user and group named 'scanlogd' to run.
You will need to create these manually. For example:
pw groupadd scanlogd
pw useradd scanlogd -d /nonexistent -g scanlogd -s /sbin/nologin -c SCANLOGD
----------------------------------------------------------------------------