summaryrefslogtreecommitdiff
path: root/Packages.txt
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-11-19 16:28:03 +0000
committerjlam <jlam@pkgsrc.org>2001-11-19 16:28:03 +0000
commit3cb36985d3d4be0b48bbfa61b6969c0f834573ac (patch)
tree55c068e0e42f93753eece645b662b5b34d94c653 /Packages.txt
parentb23d2e86260aaa8ed2013bf77ad605b63e34b0ed (diff)
downloadpkgsrc-3cb36985d3d4be0b48bbfa61b6969c0f834573ac.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