1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
Commit Graph

311 Commits

Author SHA1 Message Date
Mathieu Arnold
7c47779cb9 Fix usage of ${PERL5}.
${PERL5} points to a specific version of perl, say, perl5.22.1, it is
fine to use it in a ports Makefile to do Perly things, but ports using
it must use ${PERL}, that points to /usr/local/bin/perl so that if the
minor version is updated, the shebang keep working.

While there, make some ports use shebangfix, regen a few patches, and
bump PORTREVISION where a shebang went from PERL5 to PERL.

PR:		205367
With hat:	portmgr
Sponsored by:	Absolight
2015-12-17 17:19:48 +00:00
Hajimu UMEMOTO
8800d58526 Apply upstream patches to fix CVE-2015-8077 and CVE-2015-8078.
Obtained from:	https://cyrus.foundation/cyrus-imapd/patch/?id=745e161c834f1eb6d62fc14477f51dae799e1e08,
		https://cyrus.foundation/cyrus-imapd/patch/?id=6fb6a272171f49c79ba6ab7c6403eb25b39ec1b2
MFH:		2015Q4
Security:	d62ec98e-97d8-11e5-8c0e-080027b00c2e
2015-12-01 14:33:31 +00:00
Hajimu UMEMOTO
17ecd5a3e6 re-enable autosieve option.
PR:		162185
Submitted by:	enzi.sergio
2015-10-17 07:33:11 +00:00
Jimmy Olgeni
eb8748beda Remove trailing whitespace from Makefiles, M-X. 2015-10-08 15:12:22 +00:00
Mathieu Arnold
afae652a2a Make it so that the default Perl is always called perl5.
- Move Perl's man1 files along with its man3 files.
- Move where Perl installs its modules man1 pages.
- Convert the ports installing man1 pages.
- Make different Perl versions installable at the same time.
  Though you should note that only the default version can be used to
  install Perl modules, and the non default Perl versions cannot use the
  modules installed via ports if they contain .so as they are installed
  in a version specific directory.

Reviewed by:	bapt (the Mk bits)
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3542
2015-09-14 12:19:48 +00:00
Mathieu Arnold
5227e46eda Put back man pages definitions in the Makefile.
Requested by:	maintainer
Sponsored by:	Absolight
2015-09-11 17:58:44 +00:00
Mathieu Arnold
bcd547522b Fix this, strangely everything got downcased.
Pointy to:	mat or vim
Sponsored by:	Absolight
2015-09-11 15:16:19 +00:00
Mathieu Arnold
e13159a9da Cleanup and modernization of mail/cyrus-imapd2*.
With hat:	portmgr
Sponsored by:	Absolight
2015-09-11 14:56:55 +00:00
Hajimu UMEMOTO
d6d200cb1b Mark BROKEN when AUTOSIEVE is ON, as autosieve patch
is not available.

Spotted by:	mat
2015-07-08 15:19:40 +00:00
Hajimu UMEMOTO
d4436c4985 Restore accidentally nuked distinfo by my previous commit. 2015-07-06 10:56:12 +00:00
Hajimu UMEMOTO
56f8376fed Update to 2.4.18. 2015-07-06 10:48:21 +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
Hajimu UMEMOTO
6f3b82f094 Use USES=gssapi to support MIT Kerberos and Heimdal from ports.
Requested by:	Phil Pennock <phil.pennock__at__spodhuis.org>
2015-05-11 11:55:25 +00:00
Hajimu UMEMOTO
381116e12f Drop @dirrm* from plist. 2015-05-08 12:25:41 +00:00
Dmitry Marakasov
34502b4f2c - Drop @dirrm* from plist
Approved by:	portmgr blanket
2015-05-08 10:00:58 +00:00
Hajimu UMEMOTO
d996228059 Add CPE information. 2015-04-09 17:06:11 +00:00
Mathieu Arnold
0438143249 Remove OSVERSION checks that do not make sense any more.
For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true,
as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107).

Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when
it is always needed, I renamed it, in one case, I merged two patches.

Differential Revision:	https://reviews.freebsd.org/D2209
2015-04-03 11:26:48 +00:00
John Marino
90e3f72974 mail category: Remove $PTHREAD_LIBS
Note: The following ports did not pass check-plist (CP) or stage-qa (QA)
tests.   The sendmail port has many problems, but this was already known
by myself as I fixed it properly on DPorts last week.  It's a forward
action to submit a PR against mail/sendmail.

  * antivirus-milter (CP)
  * dk-milter        (CP)
  * milter-regex     (CP)
  * sendmail         (CP, QA)

approved by:	PTHREAD blanket
2015-03-25 11:41:17 +00:00
Hajimu UMEMOTO
c38d0e2fb7 Enable IDLED by default.
Requested by:	"O'Connor, Daniel" <darius__at__dons.net.au>
2015-01-11 17:22:15 +00:00
Mathieu Arnold
eee58d187e Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:

  site_perl :           lib/perl5/site_perl/5.18
  site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  perl_man3 :           lib/perl5/5.18/man/man3

Now we have:

  site_perl : lib/perl5/site_perl
  site_arch : lib/perl5/site_perl/mach/5.18
  perl_man3 : lib/perl5/site_perl/man/man3

Modules without any .so will be installed at the same place regardless of the
Perl version, minimizing the upgrade when the major Perl version is changed.
It uses a version dependent directory for modules with compiled bits.

As PERL_ARCH is no longer needed in plists, it has been removed from
PLIST_SUB.

The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now
always removed, as is perllocal.pod.

The old site_perl and site_perl/arch directories have been kept in the
default Perl @INC for all Perl ports, and will be phased out as these old
Perl versions expire.

PR:		194969
Differential Revision:	https://reviews.freebsd.org/D1019
Exp-run by:	antoine
Reviewed by:	perl@
Approved by:	portmgr
2014-11-26 13:08:24 +00:00
Chris Rees
1e94b6fb2f Switch to USES=pgsql 2014-11-22 19:13:49 +00:00
Hajimu UMEMOTO
01221e48fe Fix .packlist
PR:		195115
2014-11-18 14:31:24 +00:00
Matthias Andree
b50a4b0708 Berkeley DB cleanup, remove versions 4.0 ... 4.7.
- Mk/bsd.database.mk rewrite, new default to db5.
- db6 is eligible by default only if installed on the system.
- Bump PORTREVISION of all ports that directly depend on BerkeleyDB or
  where USE_BDB is found in the port's directory
- Patch a few ports such that they will pick up or work with newer
  versions.
- Add UPDATING entry
- Drive-by format fix for pks
- Drop BerkeleyDB option from mail/popular for now, requires more work.
- Exp-run logs linked from the PR below.
- Ports that do not build (IGNORE, BROKEN, etc.) have pro-forma changes
  for new Berkeley DB, but are untested.

NOTE: please read UPDATING and the Wiki page before proceeding!

Announcement:	http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-August/000090.html
Wiki reference:	https://wiki.freebsd.org/Ports/BerkeleyDBCleanup
PR:		192690
Approved by:	portmgr (implicit, PORTREVISION bump on unstaged ports)
2014-08-21 22:50:29 +00:00
Adam Weinberger
08a006d08a Rename all patches that contain '::' as a path separator, and use
'__' instead.
2014-07-29 17:12:47 +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
Adam Weinberger
99afccd1ce Add DOCS to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MDOCS. 2014-07-15 16:14:15 +00:00
Tijl Coosemans
ec94e4d5eb Bump more ports that depend on libsqlite3.so:
- ports that set USE_SQLITE with the *_USE option helper
- ports that depend on libsqlite3 indirectly as reported by pkg rquery

Approved by:	portmgr (implicit)
2014-07-05 12:19:32 +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
Mathieu Arnold
61de712f46 Remove all the bootstrap files (.bs) from the plists.
Starting with perl 5.20, they're not installed any more if empty,
and on FreeBSD, they're (always ?) empty.

PR:		190681
Submitted by:	mat
Exp-Run by:	antoine
Sponsored by:	Absolight
2014-06-10 12:14:12 +00:00
Hajimu UMEMOTO
6eb75a1c3f Install the manpages of HTML version which were no longer installed
accidentally at the time of stagefy.
2014-06-05 14:58:34 +00:00
Hajimu UMEMOTO
0315bf40f3 Update LICENSE. 2013-12-30 16:01:04 +00:00
Hajimu UMEMOTO
c89205b637 use modern OPTIONS helper. 2013-10-13 18:48:51 +00:00
Hajimu UMEMOTO
1ba51ef48f avoid package name collisions.
Spotted by:	bapt
2013-10-05 18:35:40 +00:00
Hajimu UMEMOTO
7c59d28f6c - enable stage.
- use new LIB_DEPENDS format.
2013-10-05 17:52:49 +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
dcf99688a1 - convert to the new perl5 framework
- convert USE_GMAKE to Uses

Approved by:	portmgr (bapt@, blanket)
2013-09-15 07:14:12 +00:00
Hajimu UMEMOTO
21234b8848 Add Cyrus man pages to manpath.
PR:		ports/180363
Submitted by:	Panagiotis Christias <p.christias__at__noc.ntua.gr>
2013-07-15 19:45:38 +00:00
Andrej Zverev
814e5e602c - Fix typo in r320679 2013-06-12 13:26:53 +00:00
Andrej Zverev
8c7d7ff2bd - lang/perl5.12 upgrade to 5.12.5
- lang/perl5.14 upgrade to 5.14.4
- lang/perl5.16 upgrade to 5.16.3
- Global modify SITE_PERL[1][2]

[1] - See more info:
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=26605+0+archive/2013/freebsd-perl/20130609.freebsd-perl
[2] - Fix for mail/cyrus-imapd* - Approved by portmrg(bapt@)

Please, see ports/UPDATING for upgrade procedure.

Reviewed by:	bapt@ (exp-run), culot@
2013-06-12 13:00:55 +00:00
Martin Matuska
b2c4fbb77a Update PCRE to 8.32
Introduces the UTF-32 library pcre32
Bump PORTREVISION in dependent ports
2012-12-10 19:11:11 +00:00
Hajimu UMEMOTO
dda3fab6a5 Update cyrus-sasl2 to 2.1.26.
This bumps shlib version of libsasl2.
2012-12-10 15:10:02 +00:00
Hajimu UMEMOTO
0399911cbf don't segfault on mailbox close with no user.
Obtained from:	http://git.cyrusimap.org/cyrus-imapd/commit/?h=cyrus-imapd-2.4&id=1661683d453ea444aae5832b4a2cb7fd54489672
2012-12-10 11:50:33 +00:00
Hajimu UMEMOTO
debd5801ef - Update to 2.4.17.
- Remove shlib versions.
- Trim Makefile header.

Feature safe:	yes
2012-12-02 15:41:17 +00:00
Doug Barton
9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +00:00
Hajimu UMEMOTO
e317ca1cff Convert to use new OPTIONS framework. 2012-06-12 17:39:22 +00:00
Hajimu UMEMOTO
8abde8bc53 Update to 2.4.16.
From install-upgrade:

  Upgrading from 2.4.15

      * The tools/rehash utility has been fixed, we recommend ALL sites
        with the fulldirhash option enabled to run tools/rehash on their
        mailspools.
2012-04-19 15:46:35 +00:00
Hajimu UMEMOTO
de7b52e441 Update to 2.4.15.
From install-upgrade:

  Upgrading from 2.4.14

      * We recommend that ALL sites with fulldirhash enabled run
        tools/rehash on their mail spools after upgrading from 2.4.14.
        There were serious 32 vs 64 bit hashing bugs which were made worse
        with 2.4.14. NOTE: the syntax of tools/rehash has changed. Run it
        without arguments to see a usage statement.
2012-04-18 18:03:26 +00:00
Hajimu UMEMOTO
88535ac7c1 Update to 2.4.14.
Feature safe:	yes
2012-03-12 15:57:42 +00:00
Martin Matuska
dbbf004162 Bump pcre library dependency due to 8.30 update 2012-02-14 12:45:35 +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