summaryrefslogtreecommitdiff
path: root/Packages.txt
diff options
context:
space:
mode:
authorjlam <jlam>2001-11-19 16:28:03 +0000
committerjlam <jlam>2001-11-19 16:28:03 +0000
commita167748fe02a039cec1c5ca98962ef5b1b69d8cc (patch)
tree55c068e0e42f93753eece645b662b5b34d94c653 /Packages.txt
parent921dba3e4056acfac3df83e1629ab22167889846 (diff)
downloadpkgsrc-a167748fe02a039cec1c5ca98962ef5b1b69d8cc.tar.gz
Note that to handle creating new users/groups for a package, you should use
bsd.pkg.install.mk and set PKG_USER/PKG_GROUP appropriately.
Diffstat (limited to 'Packages.txt')
-rw-r--r--Packages.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/Packages.txt b/Packages.txt
index 258246afb66..cc9eea30000 100644
--- a/Packages.txt
+++ b/Packages.txt
@@ -1,4 +1,4 @@
-# $NetBSD: Packages.txt,v 1.211 2001/11/08 08:54:04 jlam Exp $
+# $NetBSD: Packages.txt,v 1.212 2001/11/19 16:28:03 jlam Exp $
###########################################################################
==========================
@@ -2112,7 +2112,12 @@ commit of that file, it should be copied to
10.22 What's the proper way to create an account from a package?
================================================================
-Look at what e.g. pkgsrc/sysutils/amanda-common/{Makefile,INSTALL} do.
+Define PKG_USER and PKG_GROUP to the user and group, and optionally
+PKG_USERID and PKG_GROUPID to the userid and groupid, that need to be created
+for the package, and include "../../mk/bsd.pkg.install.mk" in the package
+Makefile prior to the inclusion of bsd.pkg.mk. This will cause the user
+and group to be created at pre-install time, and the admin will be prompted
+to remove them at post-deinstall time.
11 Submitting & Committing