FreeBSD Bugzilla – Attachment 72461 Details for
Bug 105329
MAINTAINER UPDATE: change default user of mail/milter-bogom
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
milter.patch
milter.patch (text/plain), 3.68 KB, created by
Victor Balada Diaz
on 2006-11-09 10:30:23 UTC
(
hide
)
Description:
milter.patch
Filename:
MIME Type:
Creator:
Victor Balada Diaz
Created:
2006-11-09 10:30:23 UTC
Size:
3.68 KB
patch
obsolete
>diff -ruN ports/mail/milter-bogom/CVS/Entries ports.new/mail/milter-bogom/CVS/Entries >--- ports/mail/milter-bogom/CVS/Entries Thu Nov 9 10:59:49 2006 >+++ ports.new/mail/milter-bogom/CVS/Entries Thu Nov 9 10:58:37 2006 >@@ -4,4 +4,4 @@ > /pkg-descr/1.1/Tue Feb 15 21:25:44 2005// > /pkg-install/1.2/Tue Jun 28 23:43:11 2005// > /pkg-req/1.1/Tue Feb 15 21:25:44 2005// >-D >+D/files//// >diff -ruN ports/mail/milter-bogom/CVS/Entries.Log ports.new/mail/milter-bogom/CVS/Entries.Log >--- ports/mail/milter-bogom/CVS/Entries.Log Thu Nov 9 10:59:49 2006 >+++ ports.new/mail/milter-bogom/CVS/Entries.Log Thu Jan 1 01:00:00 1970 >@@ -1 +0,0 @@ >-A D/files//// >diff -ruN ports/mail/milter-bogom/Makefile ports.new/mail/milter-bogom/Makefile >--- ports/mail/milter-bogom/Makefile Wed Nov 8 04:22:39 2006 >+++ ports.new/mail/milter-bogom/Makefile Thu Nov 9 10:49:31 2006 >@@ -5,13 +5,13 @@ > # $FreeBSD: ports/mail/milter-bogom/Makefile,v 1.9 2006/11/08 03:22:39 ache Exp $ > # > >-PORTNAME= milter-bogom >+PORTNAME= bogom > PORTVERSION= 1.9 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= mail > MASTER_SITES= http://www.usebox.net/jjm/bogom/ \ > http://blackshell.usebox.net/bogom/ >-DISTNAME= bogom-${PORTVERSION} >+PKGNAMEPREFIX= milter- > > MAINTAINER= victor@bsdes.net > COMMENT= Simple sendmail milter to interface bogofilter >@@ -51,7 +51,6 @@ > .endif > > post-install: >- @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL > @${CAT} ${PKGMESSAGE} > > .include <bsd.port.mk> >diff -ruN ports/mail/milter-bogom/files/milter-bogom.sh.in ports.new/mail/milter-bogom/files/milter-bogom.sh.in >--- ports/mail/milter-bogom/files/milter-bogom.sh.in Wed Nov 8 04:01:06 2006 >+++ ports.new/mail/milter-bogom/files/milter-bogom.sh.in Thu Nov 9 10:51:08 2006 >@@ -17,7 +17,7 @@ > > milterbogom_enable=${milterbogom_enable-"NO"} > milterbogom_socket=${milterbogom_socket-"unix:/var/run/bogom/milter.sock"} >-milterbogom_user=${milterbogom_user-"bogomilter"} >+milterbogom_user=${milterbogom_user-"mailnull"} > milterbogom_pid=${milterbogom_pid-"/var/run/bogom/bogom.pid"} > milterbogom_flags=${milterbogom_flags-"-u ${milterbogom_user} \ > -s ${milterbogom_socket} -p ${milterbogom_pid}"} >@@ -26,11 +26,10 @@ > > bogom_precmd() > { >- if [ -d `dirname ${milterbogom_pid}` ] >+ if [ ! -d `dirname ${milterbogom_pid}` ] > then >- return; >+ mkdir -p `dirname ${milterbogom_pid}` > fi >- mkdir -p `dirname ${milterbogom_pid}` > chown ${milterbogom_user} `dirname ${milterbogom_pid}` > } > >diff -ruN ports/mail/milter-bogom/pkg-deinstall ports.new/mail/milter-bogom/pkg-deinstall >--- ports/mail/milter-bogom/pkg-deinstall Wed May 25 10:12:34 2005 >+++ ports.new/mail/milter-bogom/pkg-deinstall Thu Jan 1 01:00:00 1970 >@@ -1,11 +0,0 @@ >-#!/bin/sh >- >-if [ "$2" = "POST-DEINSTALL" ] >-then >- echo "***************************************************************" >- echo "* The bogomilter user will not be removed by this port *" >- echo "* if you are not upgrading and will not use this port anymore *" >- echo "* delete the bogomilter user using: *" >- echo "* pw userdel bogomilter *" >- echo "***************************************************************" >-fi >diff -ruN ports/mail/milter-bogom/pkg-install ports.new/mail/milter-bogom/pkg-install >--- ports/mail/milter-bogom/pkg-install Wed Jun 29 01:43:11 2005 >+++ ports.new/mail/milter-bogom/pkg-install Thu Jan 1 01:00:00 1970 >@@ -1,18 +0,0 @@ >-#!/bin/sh >- >-if [ "$2" != "POST-INSTALL" ] >-then >- exit 0; >-fi >- >-# check if bogomilter user exists >-pw user show bogomilter > /dev/null 2>&1 >- >-if [ $? != 0 ] >-then >- echo "===> Adding user bogomilter" >- pw useradd bogomilter -u 174 -c "milter-bogom" -s /sbin/nologin \ >- -d /nonexistent >-else >- echo "===> Using existing user bogomilter" >-fi
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 105329
: 72461