gsrc-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gsrc-commit] trunk r2619: change the way gnuspool handles users


From: Brandon Invergo
Subject: [Gsrc-commit] trunk r2619: change the way gnuspool handles users
Date: Mon, 28 Oct 2013 23:29:27 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 2619
revision-id: address@hidden
parent: address@hidden
committer: Brandon Invergo <address@hidden>
branch nick: trunk
timestamp: Tue 2013-10-29 00:29:10 +0100
message:
  change the way gnuspool handles users
modified:
  gnu/gnuspool/Makefile          makefile-20100610201541-zilbojleihpphujd-50
  gnu/gnuspool/config.mk         config.mk-20121110113103-h7vibovg3eb48674-2
=== modified file 'gnu/gnuspool/Makefile'
--- a/gnu/gnuspool/Makefile     2013-04-20 10:56:06 +0000
+++ b/gnu/gnuspool/Makefile     2013-10-28 23:29:10 +0000
@@ -45,23 +45,11 @@
 include ../../gar.lib/auto.mk
 include config.mk
 
+NEED_USERS = $(SPOOLUSER) root
+NEED_GROUPS = tty root
 CONFIGURE_ARGS += SPOOLUSER=$(SPOOLUSER)
 BUILD_ARGS += SPOOLUSER=$(SPOOLUSER)
 INSTALL_ARGS += CFLAGS="-I$(prefix)/include \
                          -I$(prefix)/include/gtk-2.0" \
                STAGED_INSTALL=true \
                SPOOLUSER=$(SPOOLUSER)
-
-post-build:
-       sed -i -e 's/-o root/-o $(ROOTUSER)/g' $(WORKSRC)/build/Makefile
-       sed -i -e 's/-g root/-g $(ROOTGROUP)/g' $(WORKSRC)/build/Makefile
-       sed -i -e 's/-g tty/-g $(TTYGROUP)/g' $(WORKSRC)/build/Makefile
-       sed -i -e 's/-g root/-g $(ROOTGROUP)/g' $(WORKSRC)/build/loccgi/Makefile
-       sed -i -e 's/-g root/-g $(ROOTGROUP)/g' $(WORKSRC)/build/ins/Makefile
-       sed -i -e 's/-o root/-o $(ROOTUSER)/g' $(WORKSRC)/build/remcgi/Makefile
-       sed -i -e 's/-g root/-g $(ROOTGROUP)/g' $(WORKSRC)/build/remcgi/Makefile
-       sed -i -e 's/-g root/-g $(ROOTGROUP)/g' 
$(WORKSRC)/build/termserv/Makefile
-       sed -i -e 's/-o root/-o $(ROOTUSER)/g' 
$(WORKSRC)/build/termserv/Makefile
-       sed -i -e 's/-g root/-g $(ROOTGROUP)/g' $(WORKSRC)/build/lpdint/Makefile
-       sed -i -e 's/-o root/-o $(ROOTUSER)/g' $(WORKSRC)/build/lpdint/Makefile
-       $(MAKECOOKIE)

=== modified file 'gnu/gnuspool/config.mk'
--- a/gnu/gnuspool/config.mk    2012-11-10 15:38:59 +0000
+++ b/gnu/gnuspool/config.mk    2013-10-28 23:29:10 +0000
@@ -12,12 +12,6 @@
 # gnuspool requires that you set a spool user (default gnuspool). Only changes 
in
 # this variable are supported
 SPOOLUSER=gnuspool
-# Many files are placed under ownership of the 'root' user/group. You may give 
them
-# a different group here. 
-ROOTUSER=root
-ROOTGROUP=root
-# Some files are assigned to the 'tty' group. You may change that here
-TTYGROUP=tty
 
 
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]