Commit graph

134 commits

Author SHA1 Message Date
Mathieu Arnold
a0bcd2cf68 Use USES=pathfix where applicable.
PR:		213195
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D8093
2016-10-21 15:21:13 +00:00
Dirk Meyer
3561a46f28 - update libgd to 2.2.2
- new MASTER_SITES
- add security patch
PR:		210913
Submitted by:	Piotr Kubaj
MFH:		2016Q3
Security: CVE-2015-8874
Security: CVE-2016-3074
Security: http://www.openwall.com/lists/oss-security/2016/07/12/4
2016-07-20 09:33:31 +00:00
Jason Unovitch
1fa4955c24 mail/dspam: fix build; remove duplicate patch hunks in to files
PR:		209184
Submitted by:	Danny Warren <danny@dannywarren.com> (maintainer)
Pointy hat to:	junovitch
2016-05-01 21:07:06 +00:00
Jason Unovitch
2e4733463a mail/dspam: implement privilege separation (resolves bug running with suexec)
- Runs as dspam:dspam instead of root:mail. The dspam UID/GID were created
  in r168311 when the UIDs/GIDs files were added but the port had always
  used root:mail. This had prevented running the dspam webUI under Apache
  with suexec due to a minimal requirement of UID/GID of 100. The original
  unsecure behavior is available with the SETUID option.
- Default run directory is now /var/run/dspam. This follows the default
  upstream behavior and removes the patch to dspam.c as a result. Use
  RUN_DIR and correct the dspam.conf.sample file accordingly.
- Default daemon/client communication port is now 2424.
- Regen patches while here (portlint)

UPDATING: Document privilege separated dspam

PR:		115957
Reported by:	tedm@ipinc.net, support@ipinc.net
Submitted by:	Danny Warren <danny@dannywarren.com> (maintainer)
2016-05-01 01:13:06 +00:00
Mathieu Arnold
21bc5c0345 Remove USE_SQLITE from bsd.databases.mk, replaced by USES=sqlite.
While there replace USE_SQLITE=x by USES=sqlite:x.

PR:		208971
Submitted by:	mat
Exp-run by:	antoine
With hat:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D5951
2016-04-25 16:13:38 +00:00
Mathieu Arnold
8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00
Dmitry Marakasov
38e0554683 - Clean up plist user/group/mode handling [1]
- Add DSPAM_SAMPLE_MODE variable

PR:		203200
Submitted by:	amdmi3 [1]
Approved by:	danny@dannywarren.com (maintainer)
2015-09-21 09:47:26 +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
Chris Rees
8f2d6777f1 Fix some USE_PGSQL that were missed before
Submitted by:	antoine
2014-11-22 22:32:45 +00:00
Kurt Jaeger
58099791a4 mail/dspam: 3.9.0 -> 3.10.2
Upstream Changes:
- Support for Postgresql 9.1 added
- Support for Postgresql <8.1 dropped (EOL)
- Support for MySQL 5.5 added
- Support for MySQL <5.0 dropped
- Updated license from GPLv2 to AGPLv3
- Bug in RSET handling during LHLO phase
- Location of configuration files in dspam home (/var/dspam) can be changed
  through dspam.conf
- Various fixes to the webui templates
- Various small bugs and memleaks
- Missing documentation added to tarball
- Many bugfixes

Port Changes:
- Update to OptionsNG
- Fix pidfile location discrepancy introduced in 3.10.2
- Port cleanup by various submitters, thanks! [1][2][3][4][5]

[1] Patch from <yds@CoolRat.org> (PR #180695, #191610)
[2] Patch from Radim Kolar <hsn@sendmail.cz> (PR #167289)
[3] Patch from Olli Hauer <ohauer@FreeBSD.org> (PR #148485)
[4] Patch from <mtomasek4@gmail.com> (PR #191610)
[5] Patch from Rene Ladan <rene@FreeBSD.org> (PR #191797)

PR:		193693
Submitted by:	danny@dannywarren.com (maintainer)
2014-10-20 18:48:31 +00:00
Carlo Strub
3948cb595f Danny takes maintainership 2014-09-17 20:43:12 +00:00
Tijl Coosemans
ed98d435ba databases/sqlite2:
- Convert to USES=libtool and bump dependent ports
2014-09-11 21:54:45 +00:00
Adam Weinberger
d3f5b07a70 Change the words NOPORTDOCS and NOPORTEXAMPLES in a couple comments so that
future updates won't trigger the NOPORT* commit hook checks.
2014-09-10 22:27:47 +00:00
Adam Weinberger
cb7d5cc607 In some straightforward situations, protect examples behind PORTEXAMPLES,
adding EXAMPLES to OPTIONS_DEFINE where necessary. In a couple instances,
correct examples being controlled by the DOCS option.
2014-08-06 04:34:23 +00:00
Tijl Coosemans
37f54e0f66 net/openldap24-*:
- Convert to USES=libtool and bump dependent ports
- Avoid USE_AUTOTOOLS
- Don't use PTHREAD_LIBS
- Use MAKE_CMD

databases/glom:
- Drop :keepla
- Add INSTALL_TARGET=install-strip

databases/libgda4* databases/libgda5*:
- Convert to USES=libtool and bump dependent ports
- USES=tar:xz
- Use INSTALL_TARGET=install-strip
- Use @sample

databases/libgdamm:
- Drop :keepla
- USES=tar:bzip2
- Use INSTALL_TARGET=install-strip

databases/libgdamm5:
- Add INSTALL_TARGET=install-strip
- Drop --enable-static (inherited from old repocopy)

devel/anjuta x11-toolkits/py-gnome-extras:
- Drop :keepla

dns/powerdns dns/powerdns-devel:
- Convert to USES=libtool
- Add INSTALL_TARGET=install-strip
- Disable static modules
- Stop creating library symlinks with .0 suffix, not needed for dynamically
  opened modules

mail/dovecot2:
- Add USES=libtool

mail/dovecot2-pigeonhole:
- Drop CONFIGURE_TARGET (incorrect for Dragonfly)
- Add USES=libtool and INSTALL_TARGET=install-strip

math/gnumeric:
- USES=libtool tar:xz

Approved by:	portmgr (implicit, bump unstaged ports)
2014-07-24 18:34:16 +00:00
Baptiste Daroussin
f329319eb5 Fix some non default LIB_DEPENDS
With hat:	portmgr
2014-07-16 08:13:58 +00:00
Adam Weinberger
99afccd1ce Add DOCS to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MDOCS. 2014-07-15 16:14:15 +00:00
Raphael Kubo da Costa
534ed32483 Fix installation with the WEBUI option enabled.
PR:		191610
Submitted by:	mtomasek4@gmail.com
MFH:		2014Q3
2014-07-04 20:40:46 +00:00
Tijl Coosemans
a5185846f0 Bump PORTREVISION on all ports with USE_SQLITE=yes or USE_SQLITE=3 that
have not been bumped yet after the latest libsqlite3.so library version
change.

Approved by:	portmgr (implicit)
2014-07-04 09:40:59 +00:00
Rene Ladan
4fcc930ef5 Reset due to multiple maintainer timeouts.
Approved by:	portmgr (bapt)
2014-06-30 09:19:36 +00:00
Rene Ladan
a6bb676d1c mail/dspam: remove support for expired cyrus 2.1 / 2.2
Approved by:	bapt
2014-06-30 09:17:46 +00:00
Tijl Coosemans
9f8b4bcde3 Support LIBS like LDFLAGS.
- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS.  Also remove references to
  PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
  required additional patches.

Somewhat simplified a linker command line looks like:

${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}

where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us.  If possible -L and -l flags need to be
added to LIBS to make sure they appear after any -L and -l flags set by
upstream.  Many ports currently add -L${LOCALBASE}/lib to LDFLAGS but this
may appear too early on the command line causing installed libraries to
be linked in instead of freshly built ones.

Additional changes:
benchmarks/netio: Replace WITH_IPV6 with an IPV6 option.
comms/gnokii: Replace some patches with USES=pathfix.  Also remove -fPIC.
graphics/gimageview: USES=libtool and install desktop file in DESKTOPDIR.
graphics/visionworkbench: Remove FreeBSD 7 support.
multimedia/libmovtar: New LIB_DEPENDS syntax.
multimedia/opencinematools: Use standard do-build.
net/siproxd: USES=libtool:keepla (port actually needs .la files for plugins)
net-mgmt/nagios: Remove -fPIC.
net-mgmt/nagios4: Remove -fPIC.
print/cups-base: Only add -lssp_nonshared on i386 and OSVERSION < 1000036.
security/p11-kit: Replace PTHREAD_LIBS in CONFIGURE_ENV with
ac_cv_func_pthread_mutexattr_init=no in CONFIGURE_ARGS.  This skips a test
in configure that falsely detects pthread_mutexattr_init in our libc.
sysutils/dar: Fix iconv detection.
x11/rxvt-unicode: Remove -lstdc++ and patch configure to remove a FreeBSD
hack and use $CXX as linker as on other platforms.

PR:		190592
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-06-11 14:49:59 +00:00
Renato Botelho
18f3a2e670 Retire security/clamav-devel, clamav is not being updated that much nowadays,
so a -devel version is not required anymore. Also removed OPTIONS on other
ports that pointed to clamav-devel as a dependency.

Approved by:	portmgr (implict)
2014-05-16 18:46:48 +00:00
Renato Botelho
28b355e601 Add patch forgotten on last commit
Approved by:	portmgr (blanket)
2014-05-14 17:48:24 +00:00
Renato Botelho
296a50fbbe . Move USE_AUTOTOOLS=libtool to USES=libtool
. Drop .la files
. Use shebangfix for necessary files
. Use @sample, @owner, @group and @mode to modernize plist
. Try to remove LOG_DIR on pkg-plist

Approved by:	portmgr (blanket)
2014-05-14 17:47:41 +00:00
Baptiste Daroussin
e04b632220 Fix properties on pkg-plist 2014-01-21 23:40:21 +00:00
Chris Rees
4d373686cc Clean up the Makefile and OPTIONS.
Remove multiple MySQL version selection and leave it to the global
system settings. This implicitly enables support for MariaDB and
Percona in addition to all the versions of MySQL while simplifying
the Makefile at the same time.

Add Cyrus24 and Dovecot LDA options.

Regroup OPTIONS so all the DB related choices appear together.

Otherwise the resulting build should remain the same as before.

PR:		ports/180704
Submitted by:	Yarema <yds@CoolRat.org>
Submitted by:	Radim Kolar <hsn@sendmail.cz>

While here, stage

Approved by:	maintainer timeout (itetcu, 6 months)
2013-12-29 17:37:35 +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
Andrej Zverev
da27f0125a - convert to the new perl5 framework
- remove redundant perl usage, since we use it already in global context

Approved by:	portmgr (bapt@, blanket)
2013-09-16 17:29:09 +00:00
Dirk Meyer
b83d7bf933 - update libdg to 2.1.0 2013-08-09 14:05:52 +00:00
Baptiste Daroussin
0bdf3055bd Mark as job unsafe 2013-07-10 17:04:49 +00:00
Olli Hauer
a43e8d886a - fix PORT_OPTIONS s/)/}/ 2013-06-07 11:57:44 +00:00
Bryan Drewery
0542bfb06f Fix options conversion with bmake 2013-06-06 01:12:56 +00:00
Jason Helfman
8ab39ce33f - adoption of optionsNG
Approved by:	portmgr (bapt)
2013-06-05 18:23:42 +00:00
Florian Smeets
7144facbd7 Remove MySQL 5.0, it has been unsupported upstream for about 1.5 years
Approved by:    ale (maintainer)
2013-06-04 18:01:46 +00:00
Florian Smeets
b5d5bc4186 Remove MySQL 4.1, it has been unsupported upstream for almost 3.5 years.
Approved by:	ale
2013-04-26 19:52:01 +00:00
Olli Hauer
63f3e3b0d4 - remove www/apache20 and devel/apr0
- s/USE_APACHE= 20+/USE_APACHE= 22+/
- unify s/YES/yes/
- cleanup APACHE_VERSION <= 22 usage
- add entry to MOVED

with hat apache@
2012-08-18 14:29:08 +00:00
Andrej Zverev
5c64b5a491 - Remove SITE_PERL from *_DEPENDS
Approved by: portmgr@ (bapt@)
2012-06-30 13:10:09 +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
19fe40753d - change required APACHE version from 13+ to 20+
(prepare to remove www/apache13)

- no PORTREVISION bump since apache22 is the default

with hat apache@
2012-01-01 16:47:41 +00:00
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
Olli Hauer
7a0bd31763 - bump PORTREVISION from ports if USE_APACHE=13+ or 20+ is defined 2011-08-20 17:27:52 +00:00
Olli Hauer
c5284f2b4e - remove MD5 2011-07-03 13:53:52 +00:00
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Renato Botelho
33d9de8958 Chase clamav's lib bump 2010-04-06 12:01:56 +00:00
Ion-Mihai Tetcu
5a6c497c53 Shorten an OPTION description.
PR:		145090
Submitted by:	olli hauer <ohauer@gmx.de>
2010-04-03 09:11:08 +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
04ca35987b - Add support for MySQL 5.5 (default: off)
PR:		143730
Submitted by:	Joe Horn
Feature safe:	yes
2010-03-06 18:42:46 +00:00
Ion-Mihai Tetcu
3913cf3211 Update to 3.9.0.
Yes, after a long hiatus and a year of development and testing, bug fixes and
improvements bu the new devel team, a new version is ready for use.

There are too many change to mention here, please see: files/UPDATING.
You will need to modify your dspam.conf and database structure, as described in
the UPGRADING from the tarball (installed in share/doc/dspam).

Tested by:	supsonic#dspam on irc.freenode.net
2010-01-19 18:25:27 +00:00
Jeremy Messenger
789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00