Commit graph

114 commits

Author SHA1 Message Date
Tijl Coosemans
074ea5282a converters/libiconv:
- Remove const qualifier from iconv(3) to match POSIX:
  http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html
- Patch iconv.h to expose more GNU extensions when LIBICONV_PLUG is
  defined because the base system iconv supports these extensions too.

Add/remove patches to/from ports to call iconv with non-const arguments.

This breaks some ports on FreeBSD 10 because base system iconv.h still has
the const qualifier.  Fix this by letting USES=iconv add a build dependency
on converters/libiconv so ports can use its iconv.h (with LIBICONV_PLUG
defined) instead of the base system iconv.h.

This exposed some ports that link with libiconv when it is available instead
of using libc iconv.  In these cases one of the following changes has been
made:
- patch configure scripts to test for libc iconv first
- add ac_cv_lib_iconv_libiconv=no or similar to CONFIGURE_ARGS to disable
  some configure tests
- converters/wkhtmltopdf: this includes Qt4 so add a patch from devel/qt4
- lang/gcc5-aux: respect CFLAGS and friends during configure such that
  LIBICONV_PLUG is defined in the iconv test, also switch to external
  gettext
- mail/gnarwl: replace patches with CPPFLAGS/LIBS
- multimedia/ffmpeg2theora: remove iconv test from SConstruct and use
  ICONV_LIB in port Makefile instead, also fix a bug in subtitles.c
- net-im/licq: finish conversion to cmake
- net-mgmt/bandwidthd, net-mgmt/icinga, net-mgmt/nagios, net-mgmt/nagios4:
  don't need iconv
- textproc/p5-XML-TinyXML: finish conversion to USES=perl5

Other changes:
- databases/qdbm and slaves: respect CFLAGS and friends, also enable bzip2
  and lzo support
- games/ldmud: respect CFLAGS and friends
- graphics/inventor: replace some patches with MAKE_ARGS/MAKE_ENV to respect
  CFLAGS and friends, also remove FreeBSD/alpha patch and add missing xorg
  dependencies

PR:		199099
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2015-04-15 08:20:27 +00:00
Dmitry Marakasov
a1f9c93802 - Add CPE info
Approved by:	portmgr blanket
2015-04-13 19:19:41 +00:00
Sunpoet Po-Chuan Hsieh
0059af81ea - Update to 1.0.37
- Add SCRYPT option (on by default)
- Complete CONFIGURE_ARGS
- Add git repository to WWW

Note that this version includes several security changes:
- SSLv2 and SSLv3 are refused by default
- DES-hashed passwords are not supported
- RC4 was killed

Changes:	https://github.com/jedisct1/pure-ftpd/blob/master/ChangeLog
2015-03-11 18:34:27 +00:00
Sunpoet Po-Chuan Hsieh
d01e28a6f5 - Enable TLS option by default
- Allow to change location of pid files
- Bump PORTREVISION for package change
2015-03-08 19:38:18 +00:00
Chris Rees
1e94b6fb2f Switch to USES=pgsql 2014-11-22 19:13:49 +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
Sunpoet Po-Chuan Hsieh
9e4fd3be1e - Fix rc script:
- Reorder variables
  - Assign default value for
    - pureftpd_authd_enable
    - pureftpd_authsocket: remove detection via pure-config.pl
    - pureftpd_upload_enable
  - Remove duplicate pidfile_authd
  - Simplify script
- Bump PORTREVISION for package change

MFH:		2014Q2
2014-04-02 19:19:11 +00:00
Sunpoet Po-Chuan Hsieh
a1a5ce5985 - Use USES=tar:bzip2 2014-04-01 14:42:34 +00:00
Sunpoet Po-Chuan Hsieh
214c9d2478 - Add pure-authd support in rc script [1][2]
- Indent rc script
- Cosmetic change
- Bump PORTREVISION for package change

PR:		ports/163339 [1], ports/180992 [2] (based on)
Submitted by:	Gabor HALASZ <halasz.g@freemail.hu> [1]
		Ari Maniatis <ari@ish.com.au> [2]
2014-03-31 14:12:42 +00:00
Sunpoet Po-Chuan Hsieh
12fdeaec2f - Add LICENSE
- Sort OPTIONS
- Convert to new options helper
- Fix shebang
- Reword pre-fetch: message and change variables:
  - Change CERTFILE to TLS_CERTFILE
  - Change WITH_LANG to LANG
- Support STAGEDIR
- Simplify Makefile
- Cosmetic change
- Reformat pkg-descr
2013-11-30 20:03:06 +00:00
Sunpoet Po-Chuan Hsieh
3b4644a994 - Reword COMMENT: remove "very"
Suggested by:	eadler
2013-10-28 06:42:24 +00:00
Baptiste Daroussin
1640537ad6 Add NO_STAGE all over the place in preparation for the staging support (cat: ftp) 2013-09-20 17:23:18 +00:00
Sunpoet Po-Chuan Hsieh
fa1716b118 - Remove leading indefinite article from COMMENT 2013-08-21 17:17:25 +00:00
Sunpoet Po-Chuan Hsieh
c9cf6c6113 - Convert to new perl framework 2013-08-21 14:08:06 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Sunpoet Po-Chuan Hsieh
1e036c569a - Use CERTFILE for custom certificate location
PR:		ports/176614
Requested by:	Ilya Pizik <ilya.pizik@gmail.com>
2013-05-06 17:57:36 +00:00
Sunpoet Po-Chuan Hsieh
c7d56d5a45 - Fix shebang line for users without USE_PERL=yes
PR:		ports/177481
Submitted by:	Lukasz Wasikowski <lukasz@wasikowski.net>
2013-05-06 17:16:05 +00:00
Marcus von Appen
821843ca06 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	bapt, kwm
2013-04-27 08:50:46 +00:00
Baptiste Daroussin
014fd9439f - Convert to new options framework
- Trim headers

PR:		ports/168922
Submitted by:	Po-Chien Lin <linpc@cs.nctu.edu.tw>
Approved by:	maintainer timeout (6 month)
2012-12-29 22:28:01 +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
Carlo Strub
d5fda8cb2c Fix typos in COMMENT 2012-07-25 06:32:06 +00:00
Sunpoet Po-Chuan Hsieh
3ca831a356 - Use bsd.port.options.mk for option handling
- Take maintainership
2012-05-07 05:01:12 +00:00
Baptiste Daroussin
158ae36611 - update to 1.0.36 2012-05-07 00:30:34 +00:00
Renato Botelho
bc39ff6941 Drop maintainership
Feature safe:	yes
2012-04-07 11:29:08 +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
Renato Botelho
a5593173d1 Update to 1.0.35 2011-12-28 15:37:11 +00:00
Renato Botelho
b9b8ed6335 Update to 1.0.34 2011-11-04 20:02:08 +00:00
Renato Botelho
94a8445d9b - Update to 1.0.32
PR:		ports/155386
Submitted by:	Zhihao Yuan <lichray@gmail.com>
Security:	CVE-2011-1575
2011-05-10 13:50:23 +00:00
Renato Botelho
d73ee63356 Cleanup MASTER_SITES and since i'm here, remove MD5 2010-11-12 11:38:44 +00:00
Renato Botelho
ccdd511c28 - Remove BANNER option since it's gone
- Add 3 new OPTIONS, ANUNRENAME, ANUNRESUME and ANONDELETE to give more
  privileges to anonymous users
- Cump PORTREVISION since BANNER option was on by default

Submitted by:	Edho P Arief <edhoprima@gmail.com>
2010-07-12 11:02: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
Renato Botelho
9b6752a4fe Update to 1.0.29 2010-03-19 16:11:23 +00:00
Renato Botelho
1d5d180b14 Update to 1.0.28
PR:		ports/144095
Submitted by:	Denny Lin <dennylin93 at cnmc32.hs.ntnu.edu.tw>
Feature safe:	yes
2010-02-22 11:30:24 +00:00
Renato Botelho
d5b86a3cc6 Update to 1.0.27 2009-12-03 13:31:52 +00:00
Renato Botelho
28015a592e Convert --with-virtualchroot to an OPTION, on by default
Sugested by:	Jozsef Kovacs <jozsef.kovacs@datira.com>
2009-11-30 10:37:59 +00:00
Renato Botelho
c56f763398 Update to 1.0.26 2009-11-17 10:55:20 +00:00
Renato Botelho
16584b2013 - Add --localstate=/var to make pure-ftpwho work again
- Bump PORTREVISION

Reported by:	Jordi Espasa Clofent <jespasac@minibofh.org>
Obtained from:	pure-ftpd maillist
2009-11-04 17:28:38 +00:00
Renato Botelho
14d5ef9859 Force default PID file and fix startup script
Reported by:	Jordi Espasa Clofent <jespasac@minibofh.org>
2009-11-04 15:45:51 +00:00
Renato Botelho
bd23b2fa94 Update to 1.0.24
PR:		ports/139931
Submitted by:	Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
2009-10-27 10:16:55 +00:00
Dmitry Marakasov
a2472d09d8 - Fix broken makefiles introduced with translation to new SF File Release System
Reported by:	dan
Pointyhat to:	myself
2009-08-22 02:23:49 +00:00
Dmitry Marakasov
c6d73b3a64 - Switch SourceForge ports to the new File Release System: categories starting with E,F 2009-08-22 00:20:34 +00:00
Renato Botelho
d30040b744 - Fix working with LDAP
Notified by:	Krzysztof Stryjek <wtp@bsdserwis.com>
Obtained from:	pure-ftpd maillist
2009-05-06 21:36:52 +00:00
Renato Botelho
ed1fefe41e - Tarball was rerolled, chages were:
o Fix typo
  o Fix compilation with gcc 2.x
2009-05-03 14:36:11 +00:00
Renato Botelho
eef21b316a - Update to 1.0.22
- Convert TLS to an option, off by default since this is considered
  experimental
- Change PRIVSEP option on by default to reflect default configure
2009-04-27 11:21:29 +00:00
Renato Botelho
c9e008f727 Mark all my ports as MAKE_JOBS_SAFE and MAKE_JOBS_UNSAFE 2009-03-28 17:53:24 +00:00
Renato Botelho
68629aad83 --with-largefile is not recommended to be default, so, convert it to OPTION and
set it off by default, since this changes the default options, bump PORTREVISION

Pointed by:	Yar Odin <yarodin@gmail.com>
2009-03-05 18:19:39 +00:00
Renato Botelho
a22a24b1c8 Fix following problem:
Pure-ftpd supports the "SITE UTIME" command, which allows the client to set the
modification time of a file to a particular timestamp, expressed in UTC.

However, pure-ftpd passes the UTC timestamp directly to the operating system's
utime() function, which is a bug, because utime() requires that the timestamp be
in local time instead of UTC.

For example for server with MSK localtime:
> ---> MDTM cuba2008_1.mpeg.stat
> <--- 213 20090106074437

> ---> SITE UTIME cuba2008_1.mpeg.stat 20090106104437 20090106104437 20090106104437 UTC
> <--- 250 UTIME OK

PR:		ports/131645
Submitted by:	Yar Odin <yarodin@gmai.com>
2009-02-16 11:26:01 +00:00
Renato Botelho
201ecd673b - Fix a problem with AUTH TLS [1]
- Bump PORTREVISION
- Some cosmetic changes (e.g. indentation)
- Move pkg-message to files/pkg-message.in
- Respect NOPORTEXAMPLES
- Use INSTALL_SCRIPT to install ${PREFIX}/sbin/pure-ftpd.pl

PR:		ports/120187 [1]
Submitted by:	Filip Palian <filip.palian@expro.pl> [1]
2008-02-14 11:55:22 +00:00
Renato Botelho
9acdaf5844 - Remove 4.x support
- Use PORTDOCS
2007-02-03 13:17:21 +00:00
Renato Botelho
040efa897d Back out my last commit because new patch doesn't work 2006-09-12 11:16:39 +00:00