Commit graph

168 commits

Author SHA1 Message Date
Emanuel Haupt
f4fd64cb9b Turn off non standard patch (RENAMED) by default. This slipped in on accident
from testing.

Notified by:	sunpoet
Feature safe:	yes
2012-04-04 18:32:44 +00:00
Emanuel Haupt
c32ba7b6af Introduce an option that builds rsync with the "detect-renamed" patch. It
detects renamed hierarchies and avoids re-copying the files in those
hierarchies.

Requested by:	"J.R. Oldroyd" <jr@opal.com> (via mail)
Feature safe:	yes
2012-04-03 21:08:40 +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
Emanuel Haupt
970b2f4a5a Update to 3.0.9 2011-09-23 23:44:35 +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
Emanuel Haupt
f4bd0eb1d0 Update to 3.0.8 2011-03-26 22:27:07 +00:00
Emanuel Haupt
ce1197e105 Add LICENSE and remove MD5 sums.
Feature safe:	yes
2011-01-25 19:59:40 +00:00
Emanuel Haupt
56afa28b23 Remove dead mirror 2010-10-13 18:57:09 +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
Emanuel Haupt
72fb9a8c46 Update to 3.0.7 2010-01-01 03:50:38 +00:00
Emanuel Haupt
99935cbe49 Prevent the unnecessary usage of perl (if present) during configure.
PR:		138834 (based on)
Submitted by:	Aleksey Mashanov <aleksey.mashanov@gmail.com>
2009-09-15 08:30:12 +00:00
Emanuel Haupt
5684e10950 Remove USE_PERL5_BUILD, since perl is not needed anymore to build.
Notified by:	pjd
2009-09-07 09:57:53 +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
Emanuel Haupt
f55d3ed4a9 Update to 3.0.6 2009-05-11 09:07:56 +00:00
Emanuel Haupt
c810fd3c3f Mark MAKE_JOBS_SAFE 2009-03-27 09:53:36 +00:00
Emanuel Haupt
01707152f8 Update to 3.0.5
Changelog:	http://rsync.samba.org/ftp/rsync/src/rsync-3.0.5-NEWS
2008-12-29 08:00:52 +00:00
Emanuel Haupt
f8b67bd9b6 Update to 3.0.4 2008-09-06 18:40:46 +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
Jeremy Chadwick
1e37d6a64e Add support for --atimes patch, which preserves access times.
Reviewed by:	ehaupt
Approved by:	ehaupt
2008-07-09 12:44:01 +00:00
Emanuel Haupt
87a1c3c10c Update to 3.0.3 2008-07-02 15:55:01 +00:00
Emanuel Haupt
4a47fea9ce Provide an optional "Time limit patch"
PR:		124553
Submitted by:	Adrian Thearle <adrian@thearle.com.au>
2008-06-26 14:03:48 +00:00
Emanuel Haupt
95d4b1989c All of a sudden rsync requires perl to build. Add USE_PERL5_BUILD.
PR:		124199
Submitted by:	rafan
2008-06-02 08:11:52 +00:00
Emanuel Haupt
09405f8ee1 Merge a patch from cvs which fixes a file-globbing bug in the daemon when chroot
is on.

http://www.mail-archive.com/rsync-cvs@lists.samba.org/msg05785.html

Submitted by:	sem
Obtained from:	rsync cvs
2008-05-31 10:34:41 +00:00
Emanuel Haupt
ab4c12b85d Rework WITHOUT_ICONV build option
PR:		123469
Submitted by:	Dan Nelson <dnelson@allantgroup.com>
2008-05-07 12:32:17 +00:00
Emanuel Haupt
81aa10f69e Update to 3.0.2, and really disable iconv support if WITHOUT_ICONV is defined.
Changelog:	http://rsync.samba.org/ftp/rsync/src/rsync-3.0.2-NEWS
2008-04-08 19:24:06 +00:00
Emanuel Haupt
9d317fc339 - Update to 3.0.1
- Add 3 additional mirrors

Changelog:	http://rsync.samba.org/ftp/rsync/src/rsync-3.0.1-NEWS
2008-04-04 09:23:05 +00:00
Emanuel Haupt
60144d4e78 Only download patchset if needed. 2008-03-26 12:36:47 +00:00
Emanuel Haupt
57c1a564fd Add optional iconv support 2008-03-12 14:09:22 +00:00
Emanuel Haupt
dadc574348 Revise the wording for the ACL patch option. Rsync 3.0.x now has --acls support
by default. Use this patch if you want to make rsync 3.0.x communicate with an
older (patched) release.

Notified by:	Scott Allendorf <scott-allendorf@uiowa.edu>
2008-03-07 08:29:45 +00:00
Emanuel Haupt
237b260c0b - Provide two additional build OPTIONS:
* File system flags support patch, adds --fileflags
   * ACL support patch, adds --acls
- Takeover maintainership

PR:		121444
Approved by:	pav (maintainer)
2008-03-06 22:12:12 +00:00
Pav Lucistnik
541a15f00b - Update to 3.0.0 2008-03-03 22:39:18 +00:00
Pav Lucistnik
c45a5502ea - Add a knob to apply atimes patch from vendor distribution
Submitted by:	koitsu
2008-02-22 11:50:38 +00:00
Pav Lucistnik
e38f8431b3 - Add a vendor patch that adds a new option "munge symlinks".
Users running rsyncd daemon in certain non-default configuration
  (use_chroot = no) should consult http://rsync.samba.org/security.html
  and see, what munging symlinks can do for them.

Submitted by:	delphij
Approved by:	portmgr (hat)
Security:	CVE-2007-6199
2007-12-02 21:14:43 +00:00
Pav Lucistnik
62b84f0ed4 - Fix off-by-one buffer overflow in f_name() function. It is not clear if this
problem can be exploited.

Submitted by:	several
Obtained from:	http://www.suse.de/~krahmer/rsync-2.6.9-fname-obo.diff
Security:	CVE-2007-4091
Security:	http://www.novell.com/linux/security/advisories/2007_17_sr.html
2007-08-22 16:17:00 +00:00
Gabor Kovesdan
42542fb076 - Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
2007-08-04 11:41:30 +00:00
Rong-En Fan
f935a609c5 - Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
2007-07-23 09:36:51 +00:00
Pav Lucistnik
d66ef1f1c0 - Respect CFLAGS with POPT option
Reported by:	kris
2007-04-27 08:00:51 +00:00
Pav Lucistnik
d5f3f67cf4 - Fix --acls with --delete
Submitted by:	Gary <gary@mups.co.uk>
Obtained from:	http://lists.samba.org/archive/rsync/2006-November/016706.html
2007-04-09 13:55:32 +00:00
Pav Lucistnik
15f4ac5d9b - Fix IGNORE conditional (typo) 2006-12-17 15:58:02 +00:00
Pav Lucistnik
3ffcd01c8e - Update to 2.6.9
- Flip ACLs and flags patches default off, as they conflict each another

PR:		ports/105731 (based on)
Submitted by:	Antony Mawer <gnats@mawer.org>
2006-11-22 10:05:47 +00:00
Pav Lucistnik
e9d5188155 - Allow build with custom CFLAGS 2006-09-02 08:00:16 +00:00
Andrew Pantyukhin
e48050b4a8 - Rid the tree of double slashes in URL paths 2006-07-28 14:42:54 +00:00
Pav Lucistnik
9e4ac3c605 - Remove dead master site 2006-06-01 13:30:54 +00:00
Pav Lucistnik
450f9723c3 - Patch strip for everyone!
Reported by:	Tobias Roth <ports@fsck.ch>
2006-05-30 16:39:49 +00:00
Pav Lucistnik
0fad604286 - Apply vendor patch to fix 'unexpected tag 3' errors
Requested by:	Zoltan Frombach <zoltan@frombach.com>
Obtained from:	http://lists.samba.org/archive/rsync/2006-May/015607.html
2006-05-30 09:35:28 +00:00
Pav Lucistnik
ee777cf343 - Skip acls patch on FreeBSD 4.X, ACL support in that version of FreeBSD
is not complete enough

Reported by:	John Winger <JWWinger@marketvisionresearch.com>
2006-05-10 13:29:22 +00:00
Pav Lucistnik
092f179eb5 - Fix typo
Submitted by:	Simun Mikecin <numisemis@yahoo.com>
2006-05-10 08:16:18 +00:00
Pav Lucistnik
669685b29d - Convert to OPTIONS
- Add an option for ACL support patch, default on
- Add an option for file flags support patch, default on
- Drop support for < 400014
- Cleanup

PR:		ports/97050 (based on)
Submitted by:	Simun Mikecin <numisemis@yahoo.com>
2006-05-09 22:27:08 +00:00
Pav Lucistnik
5777bd4632 - Update to 2.6.8
PR:		ports/96210
Submitted by:	delphij
2006-04-24 22:47:27 +00:00
Pav Lucistnik
8ccaebee97 - Fix logging of "connect from" message
Obtained from:	http://lists.samba.org/archive/rsync/2006-March/015143.html
2006-04-03 21:12:25 +00:00