FreeBSD Bugzilla – Attachment 107519 Details for
Bug 148321
[PATCH] mail/quickml: user USERS/GROUPS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
quickml-0.7_9.patch
quickml-0.7_9.patch (text/plain), 2.04 KB, created by
baptiste.daroussin
on 2010-07-02 16:40:07 UTC
(
hide
)
Description:
quickml-0.7_9.patch
Filename:
MIME Type:
Creator:
baptiste.daroussin
Created:
2010-07-02 16:40:07 UTC
Size:
2.04 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/mail/quickml.orig/Makefile /usr/ports/mail/quickml/Makefile >--- /usr/ports/mail/quickml.orig/Makefile 2010-03-28 08:39:13.000000000 +0200 >+++ /usr/ports/mail/quickml/Makefile 2010-07-02 17:36:07.160431369 +0200 >@@ -17,18 +17,14 @@ > OPTIONS+= ANALOG "Enable quickml-analog" on \ > LIMIT "Enable Creators and Members Limitation Patch" off > >-PKGINSTALL= ${WRKDIR}/pkg-install >-SUB_FILES+= pkg-install >- >-QUICKML_USER= quickml >-QUICKML_GROUP= quickml >+USERS= quickml >+GROUPS= quickml > > USE_AUTOTOOLS= autoconf:262 > GNU_CONFIGURE= yes > USE_RUBY= yes > > USE_RC_SUBR= ${PORTNAME} >-SUB_LIST+= USER=${QUICKML_USER} GROUP=${QUICKML_GROUP} RUBY=${RUBY} > > CONFIGURE_ARGS+= --datadir="${PREFIX}/share/quickml" > CONFIGURE_ARGS+= --with-ruby="${RUBY}" >@@ -61,9 +57,6 @@ > ${PATCH} ${PATCH_DIST_ARGS} < ${FILESDIR}/without_quickml-analog > .endif > >-pre-install: >- @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL >- > post-install: > ${MKDIR} ${DATADIR} > ${INSTALL_DATA} ${WRKSRC}/messages.ja ${DATADIR} >diff -ruN --exclude=CVS /usr/ports/mail/quickml.orig/files/pkg-install.in /usr/ports/mail/quickml/files/pkg-install.in >--- /usr/ports/mail/quickml.orig/files/pkg-install.in 2009-12-28 19:48:41.000000000 +0100 >+++ /usr/ports/mail/quickml/files/pkg-install.in 1970-01-01 01:00:00.000000000 +0100 >@@ -1,31 +0,0 @@ >-#!/bin/sh >-# >-# $FreeBSD: ports/mail/quickml/files/pkg-install.in,v 1.1 2009/12/28 18:48:41 pgollucci Exp $ >-# >- >-PATH=/bin:/usr/bin:/usr/sbin >- >-case $2 in >- >-PRE-INSTALL) >- echo "---> Starting pre-install script:" >- >- if pw showgroup "%%GROUP%%" 2>/dev/null; then >- echo "---> Using existing group \"%%GROUP%%\"" >- else >- echo "---> Adding group \"%%GROUP%%\"" >- pw addgroup %%GROUP%% -g 109 -h - || exit 1 >- fi >- >- # Create user if required >- if pw showuser "%%USER%%" 2>/dev/null; then >- echo "---> Using existing user \"%%USER%%\"" >- else >- echo "---> Adding user \"%%USER%%\"" >- pw adduser %%USER%% -u 109 -g %%GROUP%% -h - \ >- -d "/nonexistent" -s "/sbin/nologin" -c "quickml Server" || exit 1 >- fi >- >- ;; >- >-esac
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 148321
: 107519