Commit graph

60 commits

Author SHA1 Message Date
Sahil Tandon
894bf93f40 Modify pkg-install to handle situations in which
/etc/mail/mailer.conf does not exist, e.g. when
FreeBSD is built WITHOUT_MAILWRAPPER.

This commit only affects legacy Postfix releases,
as the latest stable and development ports already
perform this check.

Requested by:	miwi
2012-02-11 21:27:57 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Martin Wilke
70c8dd6023 - Fix build on FreeBSD 10 2011-11-05 16:53:01 +00:00
Sahil Tandon
b9f86503bb - Update to 2.6.11
- Use ports framework to create USERS and GROUPS
- Remove unused replace() function from pkg-install
2011-07-30 01:34:51 +00:00
Sahil Tandon
e8826d52bd - Update to 2.6.9
Security:	CVE-2011-0411
2011-03-19 20:37:41 +00:00
Sahil Tandon
451f311149 Update to 2.6.8, fix a typo in CONFLICTS, and modify
pkg-install script to check whether Postfix is already
enabled in mailer.conf[1].

Submitted by:	ohauer (via email) [1]
2010-11-27 06:48:55 +00:00
Sahil Tandon
a98c2b23ba - Update to 2.6.7 [1]
- Remove "empty variable" default assignment in rc.d script [1]
- Change my email to @FreeBSD.org

PR:		ports/147734 [1]
Submitted by:	olli hauer <ohauer@gmx.de>
Approved by:	wxs@ (mentor)
2010-06-10 22:10:54 +00:00
Ion-Mihai Tetcu
39170e23ec - Update to 2.6.6
PR:		145097
Submitted by:	Sahil Tandon (maintainer)
2010-04-03 09:08:15 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Ion-Mihai Tetcu
c53fe44dee Force commit to note the repo-copy from mail/postfix.
PR:		144188
Submitted by:	Sahil Tandon (maintainer)
Feature safe:	yes
2010-03-04 13:52:09 +00:00
Wesley Shields
95e2c31fac - Add a note about possibly needing to create /etc/periodic.conf if it
does not exist.

Approved by:	Sahil Tandon <sahil@tandon.net> (maintainer)
2010-01-22 05:27:24 +00:00
Dag-Erling Smørgrav
da09076068 Fix build on 9.
Approved by:	maintainer
Reviewed by:	wxs@, keramida@
2009-09-14 16:37:25 +00:00
Giorgos Keramidas
0b6a009ebf Now that closefrom() has been merged to 7.X too, we have to patch sys_defs.h
of Postfix to use closefrom() for __FreeBSD_version >= 702104 too.

Submitted by:	Sahil Tandon, sahil at tandon.net (maintainer)
Tested by:	wxs (7.X), keramida (head)
2009-07-22 19:46:39 +00:00
Giorgos Keramidas
44e01fde03 Patch the src/util/sys_defs.h file of Postfix to fix the build on
FreeBSD-8.0 after the new closefrom() system call was added.

PR:		ports/136459
Submitted by:	Eygene Ryabinkin
Approved by:	erwin (portmgr), Sahil Tandon (maintainer)
2009-07-09 13:15:07 +00:00
Wesley Shields
befbdedefe - Cleanup pkg-install script to handle documentation installation correctly.
This resulted in a bizarre case where making a backup package after an
  upgrade would fail (ports/135051).
- Don't install obsolete files by adding them to ${WRKSRC}/conf/postfix-files.
- Whitespace cleanup.
- Define and pass DAEMONDIR to the pkg-install script.

PR:		ports/135051
Submitted by:	Takefu Kenji <takefu@airport.fm>, Yarema <yds@CoolRat.org>
Approved by:	sahil@tandon.net (maintainer)
2009-06-11 01:42:24 +00:00
Martin Matuska
8e145e22ea - Fix install with defined NOPORTEXAMPLES [1]
- Do not install clones of man pages [1]
- Add POSTFIX_DEFAULT_MTA to SCRIPTS_ENV [2]
- Bump PORTREVISION

PR:		ports/135241 [1], ports/123812 [2]
Submitted by:	Sahil Tandon <sahil@tandon.net> (maintainer) [1]
Reported by:	Marco Walraven <m.walraven@terantula.com> [2]
2009-06-04 07:45:27 +00:00
Alexander Leidinger
3f5ac2708c - refactor the port to ease maintenance [1]
- update to 2.6.1 [1]
- remove IGNORE in the VDA case, the patch is available now [2]

[2] is from me (compile tested), maintainer informed.

PR:		134728 [1]
Submitted by:	Yarema <yds@CoolRat.org> [1]
Approved by:	maintainer [1]
2009-05-26 13:36:08 +00:00
Pav Lucistnik
6e6f6d3e00 - Update to 2.6.0
- Transfer maintainership to the submitter

PR:		ports/134497
Submitted by:	Sahil Tandon <sahil@tandon.net>
Approved by:	Vick Khera <vivek@khera.org> (old maintainer)
2009-05-18 14:36:33 +00:00
Marcus Alves Grando
e1a1580f71 - Update to 2.5.4
- Update VDA patch to 2.5.3
2008-08-17 23:14:30 +00:00
Beech Rintoul
166443da12 - Fix paths in mail_perams.h
PR:		ports/125133
Submitted by:	Sahil Tandon <sahil@tandon.net>
Approved by:	Vivek Khera <vivek@khera.org> (maintainer)
2008-07-15 02:54:32 +00:00
Marcus Alves Grando
9310717632 - Fix milter macros (patch from Wietse Venema) [1]
- Update VDA patch to 2.5.1 [2]

PR:		121652 [1], 122029 [2]
Submitted by:	dmx___dmx.org.ru [1], ShuenBin Hsu <sbhsu___mail.a6.idv.tw> [2]
2008-03-24 20:15:05 +00:00
Marcus Alves Grando
4d3a4a18f0 - Fix data_directory
PR:		121236
Submitted by:	Artis Caune <Artis.Caune___latnet.lv>
2008-03-01 01:44:30 +00:00
Marcus Alves Grando
bb970e52a0 - Update to 2.4.6
- Update VDA patch to 2.4.5
- Teach postfix to 8.0 [1]

PR:		117304 [1]
Submitted by:	Oliver Peter <hoschi___mouhaha.de> [1]
Approved by:	maintainer
2007-10-22 18:39:39 +00:00
Rong-En Fan
d8c5ae6ece - Add mail to PROVIDE line. This fixes other scripts that require mail
starts first.

PR:		ports/109336
Submitted by:	Dan D Niles <dan at more.net>
Approved by:	Vivek Khera <vivek at khera.org> (maintainer)
2007-02-21 05:00:56 +00:00
Jeremy Chadwick
b9aaa3bdbe Addition of postfix_flags variable to rc.subr startup script.
This variable is passed to postfix-script on startup, allowing
administrators to do things like postfix_flags="-c /my/place/postfix"
(alternate location of main.cf and master.cf), or postfix_flags="-v"
(for verbose logging).  See postfix(1) manpage for flags.

PR:		ports/109137
Reviewed by:	Vivek Khera <vivek@khera.org>
Approved by:	philip
2007-02-20 22:36:40 +00:00
Marcus Alves Grando
0350c7361c * UPDATING
Add entry about OPTIONS and SPF patch in mail/postfix

* mail/Makefile

Add postfix22

* mail/postfix [1]

Update to 2.3.0
Use OPTIONS instead of scripts
Add message about unsupported POSTFIX_OPTIONS
Remove SPF patch since that's not apply clean
Update pkg-descr
Change rcNG to rc only
Update CONFLICTS

* mail/postfix-current

Now postfix-current are called postfix-current instead of postfix.
Update CONFLICTS
Bump PORTREVISION
Store OPTIONSFILE in another local to not conflict with mail/postfix
Change rcNG to rc only

* mail/postfix1

Update CONFLICTS

* mail/postfix21

Update CONFLICTS
Change rcNG to rc only

* mail/postfix22 [2]

Update CONFLICTS
Change rcNG to rc only

Approved by:	maintainer [1]
Repocopy by:	marcus [2]
2006-07-19 12:59:11 +00:00
Marcus Alves Grando
8cd1a5b41a - Update to 2.2.10
- Trust only in host instead of subnet in default instalation. [1]
- Update VDA patch to 2.2.9

Notified by:	Anton Yuzhaninov <citrin__citrin.ru>
2006-04-06 21:46:57 +00:00
Marcus Alves Grando
6adb5c6295 Modify rc.d script like example in Porters Handbook. 2006-01-16 21:49:06 +00:00
Marcus Alves Grando
edc9f24ed2 Fix rc.d/postfix.sh restart adding pidfile and procname
Bump PORTREVISION

PR:		91721
Submitted by:	NIIMI Satoshi <sa2c@sa2c.net>
Approved by:	maintainer
2006-01-12 20:38:03 +00:00
Marcus Alves Grando
62d4349118 Add rcNG script to start postfix
Update pkg-message to reflect rcNG script
Bump PORTREVISION

Approved by:	Vivek Khera <vivek@khera.org> (maintainer)
2006-01-12 16:23:59 +00:00
Marcus Alves Grando
fd2dc98c33 Update to 2.2.8 2006-01-05 01:23:02 +00:00
Pav Lucistnik
9d92d0346d - Fix build on FreeBSD 7
PR:		ports/83414
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
Approved by:	Vivek Khera <vivek@khera.org> (maintainer)
2005-07-13 21:48:14 +00:00
Pav Lucistnik
7ac33a6af8 - Update to 2.2.1
PR:		ports/78852
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
Approved by:	Vivek Khera <vivek@khera.org> (maintainer)
2005-03-19 23:17:54 +00:00
Edwin Groothuis
81f580eaca [PATCH] mail/postfix: Update to libspf2-2.1.5-5
update the SPF patch to latest release which fixes bug
	exposed by gcc in FreeBSD 5.3.  it is otherwise identical
	to prior version, so no upgrade is necessary if you have
	it compiled and workign in FreeBSD 4.10 already (thus no
	version bump).

	removed "extra libspf2" patch that tried to work around
	failure of IPv6+TLS patch when used in conjunction with SPF
	patch.  It just doesn't work, and I can't figure out exactly
	what it is supposed to do.  As it was, this would cause
	failures when selecting just the SPF patch.

PR:		ports/74095
Submitted by:	Vivek Khera <vivek@khera.org>
2004-11-27 02:15:57 +00:00
Pav Lucistnik
519b947dd8 - Support SPF and TLS at the same time
PR:		ports/72774
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
Approved by:	maintainer timeout (2 weeks)
2004-11-14 19:59:51 +00:00
Dag-Erling Smørgrav
80441fd488 Make sure this patch applies correctly when PATCH_STRIP=-p1, as is the
case when TLS is enabled.

Approved by:	portmgr (krion)
2004-09-04 11:41:28 +00:00
Dag-Erling Smørgrav
8eccf35301 Fix build on 6.0.
Approved by:	maintainer
2004-08-31 13:48:12 +00:00
Pav Lucistnik
32b59b18f6 - Update to 2.1.0
PR:		ports/66215
Submitted by:	Vivek Khera <vivek@khera.org> (maintainer)
2004-05-12 09:08:16 +00:00
Erwin Lansing
356d8f1b3d One of the patch files for postfix was not PREFIX-clean. This makes it
PREFIX-clean

PR:		54768
Submitted by:	maintainer
2003-07-23 07:04:08 +00:00
Pete Fritchman
bf133b48fb Update to 2.0.0.2.
PR:		46691
Submitted by:	maintainer
2003-01-09 05:10:39 +00:00
Ying-Chieh Liao
d9c1c83acd upgrade to 1.1.12
PR:		45802
Submitted by:	maintainer
2003-01-02 15:50:43 +00:00
Hajimu UMEMOTO
b211a1e6c4 moving saslv1 includes files to make it easier to add saslv2
PR:		ports/40288
Submitted by:	Mathieu Arnold <m@absolight.net>
Approved by:	knu
2002-07-28 17:26:12 +00:00
David W. Chapman Jr.
38a2f47cdc Update to 1.1.2 (yes they are finally using versions)
Submitted by:	Vivek Khera
2002-01-30 19:59:40 +00:00
David W. Chapman Jr.
a6477a4d07 Set context of diff for patch-aa to 2 lines to allow tls patching
PR:		33992
Noticed by:	des, et al.
2002-01-17 22:28:55 +00:00
Jacques Vidrine
baa2010112 Disable debugger by default
Approved by:	dwcjr (MAINTAINER)
2002-01-15 15:56:25 +00:00
David W. Chapman Jr.
6b072f9c01 Add header/body_check warnings command
Bump PORTREVISION

Submitted by:	osa@freebsd.org.ru
2001-11-27 15:48:49 +00:00
David W. Chapman Jr.
6b673f0db0 Fix path in patch
PR:		30547
Submitted by:	hanahara@meiko.co.jp
2001-10-10 16:56:22 +00:00
David W. Chapman Jr.
e968925f20 Erase extra parts of install.cf
Submitted by:	Yen-Ming Lee
2001-09-24 04:54:52 +00:00
David W. Chapman Jr.
13de590622 Remove version tags from files that don't need it. 2001-09-23 18:53:47 +00:00
David W. Chapman Jr.
0913fc4972 Install install.cf to ensure spool is created with correct permissions
Bump PORTREVISION

PR:		30751
Submitted by:	Yen-Ming Lee
2001-09-23 17:52:03 +00:00