Commit graph

51 commits

Author SHA1 Message Date
Adam Weinberger
e9fc54e13d Disable the pkg-deinstall script.
spamd's pkg-install adds spamd stuff to /etc/services, and pkg-deinstall
removed it. The problem is that pkg doesn't run DEINSTALL before INSTALL
when upgrading/reinstalling. As a result, when spamd is restarted,
/etc/services winds up lacking the spamd entries, causing spamd to fail
to start.

The ideal solution is pkg running those targets in the predicted order,
or pkg gaining a @services keyword. In the meantime, this commit just
disables the pkg-deinstall. If you are uninstalling spamd you can remove
those /etc/services entries by hand.

PR:		212335
Approved by:	maintainer timeout (~ 1 yr)
MFH:		2017Q3
2017-09-01 22:03:04 +00:00
Mathieu Arnold
a28f0f7f7f Remove all USE_OPENSSL occurrences.
Sponsored by:	Absolight
2017-03-15 14:45:30 +00:00
Mathieu Arnold
703ff6d361 Mark some ports as not openssl-devel ready.
Sponsored by:	Absolight
2016-11-29 18:46:21 +00:00
Olli Hauer
989652dc62 - allow build with openssl / libressl from ports
- convert PLIST_SUB into SUB_LIST
- bump PORTREVISION
- small Makefile tweaks

PR:		210028
Submitted by:	adamw@
2016-06-12 17:57:38 +00:00
Dmitry Marakasov
4e942b6419 - Fix trailing whitespace in pkg-descrs, categories [g-n]*
Approved by:	portmgr blanket
2016-05-19 10:44:11 +00:00
Mathieu Arnold
60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00
Baptiste Daroussin
4fe4b02802 cleanup plist 2014-12-20 19:12:11 +00:00
Antoine Brodin
228ab58873 Change INSTALL_DATA to install with mode 644
Remove patches and hacks that were used to work around the previous
situation
This allows to stage more ports as a regular user

Differential Revision:	https://reviews.freebsd.org/D703
Reviewed by and discussed with:	bapt
With hat:	portmgr
2014-09-04 19:26:24 +00:00
Olli Hauer
74f8f7e2c6 - revert PLIST_SUB changes to fix the rc script
- bump PORTREVISION
2014-04-11 20:47:28 +00:00
Olli Hauer
c4cabd4281 - add stage support
- change MASTER_SITE from berlios to SF
2014-04-11 08:54:49 +00:00
Emanuel Haupt
965af56785 Remove trailing whitespaces from category mail 2014-02-21 13:37:56 +00:00
Emanuel Haupt
5005b67362 According to the Porter's Handbook (5.12.2.3.) default options must be added to
OPTIONS_DEFINE. This policy has been implemented only recently that's why we
have many ports violating this policy.

This patch adds the default options specified in the Porter's Handbook to
OPTIONS_DEFINE where they are being used. Ports maintained by
gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded.

Approved by:    portmgr (bapt)
2014-02-10 13:54:26 +00:00
Baptiste Daroussin
fd61959c15 Add NO_STAGE all over the place in preparation for the staging support (cat: mail) 2013-09-20 19:59:12 +00:00
Ulrich Spörlein
c5a7a109ed Fix obspamlogd rc script's use of tests, while here fix whitespace.
Approved by:	beat (mentor)
2013-01-08 14:46:14 +00:00
Olli Hauer
81824bdcd1 - update MASTER_SITE
- adopt new Makefile header

PR:		174915
Submitted by:	Brad Davis <brd@FreeBSD.org>
2013-01-02 23:36:43 +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
Olli Hauer
661cae34a5 - update to version 4.9.1
- always add required entries to /etc/services [1]
- use USER framework (PR ports/152498 was committed)

PR:		[1] ports/157266
Submitted by:	[1] Jimmy Olgeni olgeni@
2011-06-04 21:51:59 +00:00
Philip M. Gollucci
116ec22ac1 - DISTNAME= ${PORTNAME}-${PORTVERSION} is the default and not needed.
PR:             ports/153292
Submitted by:   myself (pgollucci)
Tested by:      -exp run by pav
Approved by:    portmgr (pav)
2010-12-29 20:04:42 +00:00
Olli Hauer
1b62061be2 maintainer update
- update spamd to match OpenBSD 4.8 + OpenBSD pr/6467
 - remove support for FreeBSD_version < 601000
   (strtonum.c no longer provided in the spamd sources)
 - change my mail address

Approved by:	glarkin (mentor, implicit)
2010-10-31 22:10:52 +00:00
Stefan Walter
469ebafb9a Let obspamlogd manage its own pflog interface.
PR:		146571
Submitted by:	Matthew Seaman <m.seaman@infracaninophile.co.uk>
Approved by:	maintainer
Feature safe:	yes
2010-06-30 10:35:05 +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
Martin Wilke
8a7c08c9e8 - Fix build on FreeBSD 9
PR:		140136
Submitted by:	olli hauer <ohauer@gmx.de> (maintainer)
2009-11-04 10:15:25 +00:00
Alexander Logvinov
e75ccb2469 - Fix ipfw issues
- Bump PORTREVISION

PR:		ports/139306
Submitted by:	Olli Hauer <ohauer at gmx.de> (maintainer)
Approved by:	tabthorpe, glarkin (mentors, implicit)
2009-10-03 04:39:07 +00:00
Dmitry Marakasov
7b870d85e1 - Fix startup script
PR:		138913
Submitted by:	olli hauer <ohauer@gmx.de> (maintainer)
Feature safe:	yes
2009-09-20 18:54:39 +00:00
Pav Lucistnik
fb39795d5f - Fix rc script for blacklist mode
PR:		ports/137992
Submitted by:	Denny Lin <dennylin93@cnmc32.hs.ntnu.edu.tw>
Approved by:	olli hauer <ohauer@gmx.de> (maintainer)
Feature safe:	yes
2009-09-17 12:41:07 +00:00
Wesley Shields
910a3cec56 - Update to 4.5.0
- Pass maintainer to submitter
- Add CPANEL support so it doesn't clobber spamd (see comments in Makefile)
- Fixes to RC script to support CPANEL option and general cleanup.

PR:		ports/136912
Submitted by:	olli hauer <ohauer@gmx.de>
Approved by:	Alex Samorukov <samm@os2.kiev.ua> (old maintainer)
2009-07-23 12:52:44 +00:00
Doug Barton
0175383f0a Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.

1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).

No PORTREVISION bumps because all of these changes are noops.
2009-07-15 16:56:10 +00:00
Wesley Shields
ebf4f069f6 - Fix memory leak (patch obtained from OpenBSD)
PR:		ports/132119
Submitted by:	olli hauer <ohauer@gmx.de>
Approved by:	Alex Samorukov <samm@os2.kiev.ua> (maintainer)
2009-02-26 18:42:19 +00:00
Pav Lucistnik
f28d272707 - Remove conditional checks for FreeBSD 5.x and older 2009-01-05 21:05:49 +00:00
Martin Wilke
b4b785f55b - Fix a typo
Submitted by:	Olli Hauer <ohauer@gmx.de>
Approved by:	maintainer (via icq)
2007-10-05 19:03:52 +00:00
Max Laier
496003f76b s/myself/maintainer/ so people get in touch with the right person.
Reviewed by:	maintainer
2007-08-16 06:22:27 +00:00
Martin Wilke
70c3dda2f1 - Add syslogd named to the rc.d script
PR:		112946
Submitted by:	gediminas <ggenutis_at_yahoo.com@FreeBSD.org>
Approved by:	maintainer via im
2007-07-04 06:11:36 +00:00
Martin Wilke
a29062c6d6 - Fix build with FreeBSD 5.X
PR:		113966
Submitted by:	Alex Samorukov <samm@os2.kiev.ua> (maintainer)
2007-06-24 09:15:03 +00:00
Martin Wilke
4e3dcb24af - Update to 4.1.2
PR:		113293
Submitted by:	Alex Samorukov <samm@os2.kiev.ua> (maintainer)
2007-06-06 16:38:53 +00:00
Pav Lucistnik
d941deb76b - Fix crash with -t option
PR:		ports/108657
Submitted by:	Alex Samorukov <samm@os2.kiev.ua> (maintainer)
2007-03-25 17:24:07 +00:00
Xin LI
1b518030dc - Resolve conflict between sa-spamd and pf-spamd
- Add pfspamd_setup_flags to give finer grained control
 - Give maintainership to submitter

Submitted by:	Alex Samorukov <samm os2 kiev ua>
PR:		ports/108663
2007-03-20 15:16:44 +00:00
Xin LI
665e600847 Give up maintainership because of "inactive" caused by unfair
China-targeted email blocks.  I'm very sorry, Max, but I don't
think I can still take care for this port anymore.
2007-03-20 13:48:16 +00:00
Xin LI
ac194fe621 Use official OpenBSD spamd website as URL.
Submitted by:	Yarema <yds CoolRat org>
PR:		ports/105277 (1/many)
2006-11-08 04:03:20 +00:00
Xin LI
82546d5db1 Remove a mispatch sneaked in the previous revision.
Reported by:	B. Cook <bcook bsdwebsolutions com>
Approved by:	sem (mentor)
2006-05-10 17:55:07 +00:00
Xin LI
69a6bd94a5 - Make spamd work with ipfw(4) [1]
- Modernize RC_SUBR usage.
 - Pet portlint(1)

Submitted by:	Maurice Castro <maurice sphinx clari net au> [1]
PR:		ports/94715
Approved by:	sem (mentor)
2006-05-02 08:54:50 +00:00
Edwin Groothuis
80840e8dc5 SHA256ify
Approved by: krion@
2006-01-22 12:50:54 +00:00
Yen-Ming Lee
3e3e1721b2 updates spamd to OpenBSD 3.7-RELEASE's bundled version.
Change details:
- Update to 3.7
- Use RCng scripts
- Fix installation of spamlogd(8)
- Change maintainer's mail address

PR:		79856
Submitted by:	delphij
2005-04-13 12:13:41 +00:00
Xin LI
71f9107e9a Add instructions that is necessary to run pf-spamd with greylisting
feature.

Submitted by:	mlaier
2005-01-13 02:54:46 +00:00
Mathieu Arnold
9ccfe4469f Change the rc.d/spamd.sh to rc.d/pf-spamd.sh so that it can be used with SpamAssassin.
PR:		72083
Submitted by:	maintainer
2004-10-12 10:38:24 +00:00
Max Laier
bf3b7f4e9f Update spamd to something OpenBSD-current(ish) in order to make the logging
functional.

Also drop maintainership and let Xin LI <delphij (at) frontfree (dot) net>
take over from here.

PR:		ports/67503
Submitted by:	Xin LI <delphij (at) frontfree (dot) net>
Approved by:	clement
2004-07-18 22:54:29 +00:00
Max Laier
a524764fbf Make spamd-conf.8 adhere hier(7) and take $PREFIX into account.
PR:		ports/65252
Submitted-by:	Xin LI <delphij (at) frontfree (dot) net> (w/ changes)
2004-06-28 15:44:57 +00:00
Max Laier
ebacd32966 Update spamd to version as of OpenBSD 3.5 to provide greylisting and others.
This brings two more tools: spamdb and spamlogd

PR:		64174
Approved by:	mat
2004-04-03 16:42:37 +00:00
Trevor Johnson
488e7fe939 Add size data, approved by maintainers. 2004-03-19 01:51:15 +00:00
Oliver Braun
7b1f7cb48c Change maintainer address to maintainers @freebsd.org address.
Submitted by:	maintainer
2004-03-14 11:46:59 +00:00
Oliver Braun
37383a7595 * Update dependencies as pf is now part of the base system. [1]
* Make portlint a little bit happier while I am here.

PR:		ports/63951 [1]
Submitted by:	maintainer [1]
2004-03-09 00:06:49 +00:00