diff options
| author | bwarsaw | 1998-10-20 13:18:41 +0000 |
|---|---|---|
| committer | bwarsaw | 1998-10-20 13:18:41 +0000 |
| commit | cc5d187f9375151c2a7a8b8c1ee83a107d479725 (patch) | |
| tree | 31cb24e7de3f21027a5ef3d4f8a0a4e71a84cea4 /src | |
| parent | ff27278853c18121bdf9659522d97b8779d1a18f (diff) | |
| download | mailman-cc5d187f9375151c2a7a8b8c1ee83a107d479725.tar.gz mailman-cc5d187f9375151c2a7a8b8c1ee83a107d479725.tar.zst mailman-cc5d187f9375151c2a7a8b8c1ee83a107d479725.zip | |
make finish
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile.in | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index 1e488a325..808eb99f1 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -40,6 +40,7 @@ MAIL_GID= @MAIL_GID@ CGI_GID= @CGI_GID@ #ALIAS_UID= @ALIAS_UID@ #ALIAS_GID= @ALIAS_GID@ +MAILMAN_UID= @MAILMAN_UID@ # Customizable but not set by configure OPT= @OPT@ @@ -77,6 +78,10 @@ MAIL_PROGS= wrapper #ALIAS_PROGS= addaliases +SUID_CGI_PROGS= private + +SUID_MAIL_PROGS= + PROGRAMS= $(CGI_PROGS) $(MAIL_PROGS) $(ALIAS_PROGS) @@ -101,20 +106,31 @@ install: all do \ exe=$(CGIDIR)/$$f$(CGIEXT); \ $(INSTALL_PROGRAM) $$f $$exe; \ - chown mailman $$exe; \ - chmod ug+s $$exe; \ + chmod g+s $$exe; \ done for f in $(MAIL_PROGS); \ do \ $(INSTALL_PROGRAM) $$f $(MAILDIR); \ - chown mailman $(MAILDIR)/$$f; \ - chmod ug+s $(MAILDIR)/$$f; \ + chmod g+s $(MAILDIR)/$$f; \ done # @for f in $(ALIAS_PROGS); \ # do \ # $(INSTALL_PROGRAM) $$f $(bindir) ; \ # done +finish: + -for f in $(SUID_CGI_PROGS); \ + do \ + exe=$(CGIDIR)/$$f$(CGIEXT); \ + chmod u+s $$exe; \ + chown $(MAILMAN_UID) $$exe; \ + done +# -for f in $(SUID_MAIL_PROGS); \ +# do \ +# exe=$(MAILDIR)/$$f; \ +# chown $(MAILMAN_UID) $$exe; \ +# done + clean: -@rm *.o -@rm -f $(PROGRAMS) |
