Commit graph

106 commits

Author SHA1 Message Date
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
Bryan Drewery
aa5812b1b0 - Update to 5.4.33
- Move auth options into its own single group
- Clarify PASSWD and VALIAS options

Changes: (* was already applied in our 5.4.32)
    Matt Brookings
  * - Defaulted to Server::Disable=True in vusagec.conf
  * - Fixed bug that didn't install vusagec.conf
    - Changed relevant quota code to use storage_t 64bit type
    - Fixed bug where backfill code wouldn't compile when FILE_LOCKING was
      enabled
    - Updated MySQL module to support larger quota sizes
    - Fixed typo
    - Added disable_maildrop flag to MySQL limits feature
    - More changes to allow for larger quota sizes in MySQL module

    Tullio Andreatta
    - Dynamic allocation of valias data
    - Use of open/fchdir rather than getcwd/chdir to maintain current working
      directory
    - Fixed a broken symbolic link check

    Drew Wells
    - Modification to vdelivermail to properly handle Maildir paths that begin with "./"

    <kenji@kens.fm>
    - Removed call to maildir_addquota inside user_over_maildirquota causing duplicate
      maildirsize entries
2014-04-11 00:51:02 +00:00
Bryan Drewery
c82a2185b9 - Convert to stagedir 2014-04-01 23:43:07 +00:00
Adam Weinberger
531cd7932f Move {mail,japanese}/p5-Mail-SpamAssassin to &/spamassassin, in the name of
improving accessibility.

I think people who want to just find the port/package and install it are
more likely to look for "spamassassin the program" than "spamassassin the
perl module collection."
2014-03-11 21:49:40 +00:00
Bryan Drewery
2324655f20 - Add NO_STAGE until validated to be safe for upcoming staging support 2013-09-20 15:58:09 +00:00
Bryan Drewery
89c0646bba - Add support to have vdelivermail send to stdout by defining
DELIVER_TO_STDOUT in the environment. This is useful when
  using dovecot as an LDA. See more discussion at:
  http://www.mail-archive.com/vchkpw@inter7.com/msg26694.html
2013-07-23 16:01:03 +00:00
Bryan Drewery
30e2283f00 Convert from USE_GMAKE to USES=gmake 2013-07-05 14:32:27 +00:00
Bryan Drewery
6f202a6578 - Fix ROAMING after option helpers conversion
PR:		ports/179978
Reported by:	Claudiu Bosioc <claudiu@casi.ro>
2013-06-25 20:53:53 +00:00
Bryan Drewery
3b27bd8b4d - Use new options helpers
- Remove bsd.port.pre.mk usage
2013-06-15 14:23:06 +00:00
Bryan Drewery
993e4de8b7 - Fix leftover /var/qmail/control/locals
qmail-send.c:getcontrols() refuses to startup or to process
  the virtualdomains file if locals is missing. However,
  vpopmail's vadddomain is already creating the locals file
  when adding new domains. So creating it when installing is
  not needed.

  At the time that this change was added to the port, in
  vpopmail-5.4.13, vadddomain did not automatically create
  the locals file. The current version does in
  vpopmail.c:remove_line()

  This reverts the change done in r167787 for ports/99914

PR:		ports/99914 (reverts)
2013-03-16 15:03:24 +00:00
Bryan Drewery
a6b8035627 - Use VPOPMAIL_DIR as install target since that is
user-changeable and this port does not really respect
  PREFIX at the moment
- Change tab to space for WWW
2013-03-15 22:41:58 +00:00
Bryan Drewery
63f96859ce - Convert USE_QMAIL_RUN, USE_QMAIL_BUILD and WANT_QMAIL into USES feature
bapt contributed to the qmail.mk as well
- Trim headers

USES= qmail:run will add qmail into RUN_DEPENDS
USES= qmail:build will add qmail into BUILD_DEPENDS
USES= qmail[:both] will add qmail into both RUN and BUILD DEPENDS
USES= qmail:vars will set QMAIL_PREFIX

With hat:	portmgr
2013-03-15 22:03:42 +00:00
Bryan Drewery
428c235745 - Convert from KNOBS to Options
- Trim header
2012-12-09 23:35:18 +00:00
Bryan Drewery
b70d151d98 - Update to my new maintainer address
Approved by:	eadler (mentor)
2012-08-02 21:42:30 +00:00
Chris Rees
3c0834a35e - Fix some portlint warnings
- Pass maintainership to submitter

PR:		ports/196359
Submitted by:	Bryan Drewery <bryan@shatow.net>

- Use USERS/GROUPS
- Remove perl dependency

PR:		ports/157206
Submitted by:	bapt
2012-06-24 16:17:36 +00:00
Greg Larkin
b48da6b6c5 - Reassign to the heap
Requested by:	roam (on ports-developers@)
2012-02-27 20:32:31 +00:00
Peter Pentchev
9faf368364 The upstream distfile was rerolled with some fixes:
- update the patches
- remove the MD5 checksum
- bump PORTREVISION

Reported by:	"Alexander B. Zubkov" <info@zubkov.info>
2011-01-10 08:30:52 +00:00
Peter Pentchev
c538f6827d Update to vpopmail-5.4.32 and declare a GPL-2+ license. 2010-09-13 09:57:47 +00:00
Peter Pentchev
338a3aa494 Fix the installation when built with LDAP support.
PR:		144752
Submitted by:	Satoru Suzuki <xsuzu@yokohama.riken.jp>
2010-03-15 09:04:49 +00:00
Peter Pentchev
ed4ac8376b Arrrrrgh. Really copy the vusagec.conf-dist file to vusagec.conf
if the latter does not exist.  The pkg-plist @exec commands are not,
repeat not, executed at *port* install time!

PR:             141251 (for REAL this time, honest!)
Reported by:    Cristiano Deana <cris@gufi.org>
Feature safe:	yes
2010-02-16 15:54:43 +00:00
Peter Pentchev
0e05139256 Another attempt at fixing the vpopmail-5.4.30 local delivery problem:
fix the upstream Makefile's logic and actually install vusage.conf, while
disabling the vusagec/vusaged check since we don't even install vusaged
on FreeBSD.

Pointed out by:	garga
PR:		141251 (hopefully for real this time!)
2010-02-09 13:19:40 +00:00
Peter Pentchev
f9cb77f98a Add an upstream patch as another attempt to fix the vdelivermail
segfault.

Submitted by:	ale
2010-01-14 09:18:15 +00:00
Peter Pentchev
e647dfee68 Update to vpopmail-5.4.30 which should fix the segfaults that some
users have been experiencing with 5.4.28.
2010-01-05 10:27:22 +00:00
Peter Pentchev
6634279523 Fix the master sites so that vpopmail is actually fetchable even with
-A present in FETCH_ARGS, as it is on most systems.
Fix the maildir++ file size calculations in the SpamAssassin code as
per the PR.

PR:		139962 (the maildir++ fix)
Submitted by:	Alex Dupre <ale@freebsd.org>
2009-11-30 12:09:30 +00:00
Peter Pentchev
0b7394b480 Update to vpopmail-5.4.28.
From the PR - fix the creation of new domains through LDAP.

PR:		131274
Submitted by:	Suzuki <xsuzu@yokohama.riken.jp>
2009-11-26 19:02:19 +00:00
Pav Lucistnik
e918d14275 - Fix configure when WITH_MAILDROP is set
PR:		ports/138363
Submitted by:	Alexey V.Degtyarev <alexey@renatasystems.org>
Approved by:	maintainer timeout (roam; 18 days)
Feature safe:	yes
2009-09-17 11:27:09 +00:00
Dmitry Marakasov
a13d9a603d - Switch SourceForge ports to the new File Release System: categories starting with M 2009-08-22 00:28:34 +00:00
Peter Pentchev
b060afc406 Update to vpopmail-5.4.27.
Internally, use quilt for patch management.
Add two Makefile knobs for the locations of the Courier IMAP server's
imaplogin and imapd binaries, just in case anyone would want to test
the new authvchkpw utility :)
2009-03-16 13:51:24 +00:00
Rong-En Fan
741aa71483 Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
2008-08-21 06:18:49 +00:00
Peter Pentchev
96a5acffcc Reinitialize the internal DeleteMail variable for each dot-qmail line
so that all delivery instructions are indeed executed and no messages are
(partially) lost.
Bump PORTREVISION.

Submitted by:	Michal Sviba <michal@myserver.cz> in
		e-mail message <47DBD588.4000906@myserver.cz>
2008-03-17 09:48:45 +00:00
Peter Pentchev
df8f43848d Update the vpopmail port to version 5.4.26 with a lot of changes and fixes:
- add the WITH_SPAMFOLDER knob from Alex Dupre's PR;
- fix lots of bugs in the new vlist code;
- fix a couple of bugs in MySQL's "valias -n" implementation;
- actually implement "valias -n" for PostgreSQL;
- fix a couple of directory descriptor leaks and other buglets.

PR:		117321 (the WITH_SPAMFOLDER knob)
Submitted by:	ale
2007-12-25 06:00:00 +00:00
Pav Lucistnik
263eb9a506 - Conditionalize vpopmail/etc/vpopmail.mysql-dist in plist, it's installed only
when WITH_MYSQL is defined

Reported by:	pointyhat
2007-10-26 08:41:48 +00:00
Peter Pentchev
e9bbf68245 Update vpopmail to 5.4.20 after a long delay, mostly due to wondering
how to handle the database upgrade and the SpamAssassin patch partial
integration.

There are several important changes that may affect your vpopmail
installation and may need you to handle manually:

- THE MYSQL CONNECTION INFORMATION IS NO LONGER DEFINED AT COMPILE-TIME!
  The WITH_MYSQL_{USER,PASSWD,SERVER,DB} variables should NOT be defined
  when you build the port; place that information in the vpopmail.mysql
  file after vpopmail has been installed!
- the default domain is also no longer defined at compile time - you need
  to place it in the defaultdomain file after the installation.
- the defaultdomain and vpopmail.mysql files are no longer blindly removed
  on deinstallation, they are only removed if they have not been modified
- in vpopmail 5.4.18, the database schema was changed - some fields were
  extended from 64 to 96 characters.  If you do not apply those changes
  to your database, as explained in the vpopmail/doc/UPGRADE file, your
  vpopmail installation may silently fail or lose the trailing portions
  of domain names and usernames.
- in vpopmail 5.4.19, the upstream authors integrated large parts of
  Alex Dupre's SpamAssassin support, without the SPAM_THRESHOLD part.
  If you use vpopmail along with the SpamAssassin FreeBSD port support,
  take extra care to ensure that your installation still processes
  e-mail messages in the same way.
- vpopmail 5.4.19 added support for maildrop as a mail delivery agent.
  This is available in the FreeBSD port if WITH_MAILDROP is defined.
  There is also a new user-limit flag for maildrop delivery.
- vpopmail 5.4.19 added support for MySQL connections via Unix sockets
  instead of TCP sockets to the server.  To do that, change the second
  value (the port number) in vpopmail.mysql to the full pathname of
  the MySQL socket (e.g. /tmp/mysql.sock).
- vpopmail 5.4.20 extended the LDAP support; please see README.ldap for
  more information, and specify the LDAP connection information in
  the vpopmail/etc/vpopmail.ldap file after the installation.
2007-10-09 13:27:24 +00:00
Peter Pentchev
c78458a73b Build the vpopmail library with position-independent code on ia64 too,
not just amd64.

Reported by:	kris
Submitted by:	oliver
2007-06-06 09:10:33 +00:00
Peter Pentchev
2cb9f94f22 Make the PostgreSQL backend actually compile with the new
WITH_SQL_LOG_REMOVE_DELETED knob - fix the name of a variable and
a standard PostgreSQL routine.

Pointy hat to:	roam (myself), in addition to the upstream developers
2006-10-08 17:29:02 +00:00
Peter Pentchev
215d42df82 Update to vpopmail-5.4.17. In the process:
- add a new knob, WITH_SQL_REMOVE_DELETED, for explicitly activating
  the new code for removing entries from the SQL log file when a user or
  domain is deleted;
- add real NOPORTDOCS support and install the README.* files in addition
  to the doc_html/ and man_html/ directories if NOPORTDOCS is not set;
- fix a couple of spelling and grammar errors in the new README.vpopmaild;
- add several sanity checks;
- remove the last traces of the ActiveDirectory backend;
- various other minor changes.
2006-10-05 11:49:17 +00:00
Peter Pentchev
c4e176be24 Fix package installation - in most cases, the vpopmail package (if built)
would be installed with the wrong home directory for the vpopmail user.

PR:		103177
Submitted by:	oliver
2006-09-23 12:38:02 +00:00
Alex Dupre
30bde9bb48 I've updated the SpamAssassin patch, so re-enable it in the port. 2006-07-17 05:51:33 +00:00
Peter Pentchev
cf72e85dff Create the qmail control/locals file if it does not exist.
Silence a couple of portlint warnings.

PR:		99914
Submitted by:	garga
2006-07-14 12:13:50 +00:00
Peter Pentchev
deb73f82b0 Update to the last stable release, 5.4.13. In the process:
- temporarily disable the SpamAssassin patch, since vdelivermail was
  reorganized a bit;
- fix a couple of potential buffer bound problems;
- remove the unconditional -fPIC; we handle this ourselves for amd64.
2006-06-16 13:00:57 +00:00
Edwin Groothuis
efe7d5f7f4 Remove USE_REINPLACE from ports starting with M 2006-05-10 22:37:39 +00:00
Peter Pentchev
09163ad68c Set the setgid bit on vchkpw, too - it simply will not work without it :)
PR:		85788
Submitted by:	Renato Botelho <garga@freebsd.org>
2006-01-27 13:47:16 +00:00
Edwin Groothuis
80840e8dc5 SHA256ify
Approved by: krion@
2006-01-22 12:50:54 +00:00
Edwin Groothuis
0416031c9b Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 02:20:05 +00:00
Kirill Ponomarev
01c588a635 - Fix 'all-depends-list' target in cases if dependencies list is
very long and if some dependencies can't be added into the list.
  [1]

- Fix FAM support.  Make gamin the default FAM system. [2]

- Introduce new 'quicksearch' target to show only port, path and
  info section of the matching ports. [3]

- Introduce new category - rubygems. [4]

- Fix stale dependencies while installing qmail slaveport and
  another port that depends on qmail. [5]

- Add commentary for describes target in bsd.port.mk. [6]

- Fix warning issued during make index on archs !368. [7]

- Add USE_DOS2UNIX variable.  If set to "YES", remove the ^M from
  all files under ${WRKSRC}. If set to a string, remove in all files
  under ${WRKSRC} with one of these names the ^Ms. [8]

- Add new variables PERL_RUN_DEPENDS and PERL_BUILD_DEPENDS by
  checking the existance of the Perl modules with the "perl -e 'use
  module;'" command. [9]

- Fix bsd.port.mk variable quoting issues.  No quoting is necessary
  anymore either in the Makefile or on the command line.  Affected
  variables include:

  BROKEN
  FORBIDDEN
  IGNORE
  MANUAL_PACKAGE_BUILD
  NO_CDROM
  NO_PACKAGE
  RESTRICTED

  [10]

- Add NOFETCHFILES variable.  If set, don't download these files
  from the ${MASTER_SITES} or ${MASTER_SITE_BACKUP} (but do from
  ${MASTER_SITE_OVERRIDE}). [11]

- Improve 'search' target output. [12]

- Add a new virtual category for Amateur Radio - hamradio. [13]

- Cleanup some old/unused pathes in bsd.port.mk. [14]

- Add @dirrmtry for plists which does the same as:
  "@unexec rmdir %D/foo 2>/dev/null || true" [15]

- Remove virtual category - offix. [16]

- Use portsnap instead of cvsup or cvs on "make update" in
  /usr/ports. [17]

- Move location of bsd.autotools.mk within bsd.port.mk [18]

- Add bsd.linux-rpm.mk, fix INSTALLS_SHLIB for Linux ports [19]

- Use new USE_RC_SUBR format for FreeBSD version >= 700007 [20]

- Replace the string "FreeBSD" by "The FreeBSD Project" in the
  security warning [21]

- Add bsd.local.mk for local modification to ports framework. [22]

- Replace rcNG spelling by rc.d [23]

- Remove superfluous USE_REINPLACE. [24]

Special thanks to:      linimon for spending hours with all these patches
                        clement for fixes
                        kris for help with pointyhat
PR:     ports/86310 [1], ports/89498 [2], ports/83530 [3],
        ports/83789 [4], ports/84053 [5], ports/86281 [6],
        ports/87214 [7], ports/87234 [8], ports/87318 [9],
        ports/87396 [10], ports/87605 [11], ports/87840 [12],
        ports/88230 [13], ports/88493 [14], ports/88711 [15],
        ports/88751 [16], ports/89281 [17], ports/89999 [18],
        ports/90031 [19], ports/90150 [20], ports/90668 [21],
        ports/91433 [23], ports/88754 [24]
Submitted by:   mi [1], marcus [2], Lars Engels <lars.engels@0x20.net> [3],
                pav [4, 16, 20, 24], garga [5], cperciva [6], vd [7],
                edwin [8, 9, 11, 15, 21],
                fenner [10], Arseny Nasokin <tarc.po.cs.msu.su@tarc.po.cs.msu.su> [12],
                Carl Makin <carl@stagecraft.cx> [13], arved [14],
                NIIMI Satoshi <sa2c@sa2c.net> [17], thierry [18],
                jylefort [19], linimon [22], dougb [23]
2006-01-21 17:37:14 +00:00
Peter Pentchev
4b89ada401 Only use -fPIC on amd64 - none of the other arches seem to need it.
Unfortunately, the only way to avoid adding -fPIC to the files that
go into libvpopmail.a would be to actually make the vpopmail port
build a real shared library, which might be a bit more difficult and
should probably be coordinated with the upstream.

Pointy hat to:	roam (myself)
Pointy hat handed by:	kris
2005-11-24 16:04:38 +00:00
Peter Pentchev
8905aec82c Unless WITHOUT_FPIC is defined, add -fPIC to the C compiler flags.
This fixes the build of ports that use libvpopmail, at least on amd64,
and does not hurt on other platforms.

PR:		88402
Submitted by:	Matteo Baldi <egon@egonflower.com> among others
2005-11-17 22:54:30 +00:00
Peter Pentchev
41dcdf6652 Errr... actually add the patch needed for the WITH_SMTP_AUTH_PATCH option
introduced in ports/mail/vpopmail/Makefile rev. 1.57.

Submitted by:	Nikolay Georgiev <niki@techlab.office1.bg>
2005-09-16 07:35:24 +00:00
Peter Pentchev
86fde83af8 Add the WITH_SMTP_AUTH_PATCH knob to fix the SMTP authentication, at least
when invoked via the elysium implementation of SMTP auth from
http://members.elysium.pl/brush/qmail-smtpd-auth/dist/

Submitted by:	Nikolay Georgiev <niki@techlab.office1.bg>
2005-09-16 07:34:01 +00:00
Peter Pentchev
f83c5272a2 Complement pav's handling of tcp.smtp and tcp.smtp-dist: actually install
the sample tcp.smtp file as tcp.smtp-dist.
Add the WITH_SUID_VCHKPW knob for setting the setuid bit on bin/vchkpw. [1]
Bump PORTREVISION.

PR:		85124 [1]
Submitted by:	garga [1]
2005-09-05 21:27:03 +00:00