Commit graph

179 commits

Author SHA1 Message Date
Baptiste Daroussin
0c710c7b4e Add NO_STAGE all over the place in preparation for the staging support (cat: net) 2013-09-20 22:10:23 +00:00
Emanuel Haupt
ea0f02dfeb Remove MAKE_JOBS_SAFE which is now default. 2013-07-24 08:19:07 +00:00
Marcus von Appen
a3a0715f38 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	zeising
2013-04-27 11:59:28 +00:00
Emanuel Haupt
1101f09c09 Remove indefinite article from COMMENT 2013-03-08 14:00:30 +00:00
Emanuel Haupt
c4c14fd156 - Use DOC instead of NOPORTDOCS
- Pacify portlint
- Convert header
2013-01-15 13:40:28 +00:00
Emanuel Haupt
ec683a2cff Provide an extra patch to for rsync to support overwriting files with schg set.
This patch is only applied if the FLAGS option is specified. The patch has been
submitted with the upstream project.

Notified by:	wblock
Obtained from:	https://bugzilla.samba.org/show_bug.cgi?id=8941 (upstream)
2013-01-11 08:36:23 +00:00
Emanuel Haupt
00df1d9662 Restore 'Created by' header information. This has been removed during the
first announcement of the new trimming rule and the finalized overworked
version.

Feature safe:   yes
2012-11-03 18:01:22 +00:00
Emanuel Haupt
7701c6ff0f Fix a condition to correctly check whether the SSH option is used. This error
slipped in when the port was converted to OPTIONSng.

Notified by:	Norbert Augenstein <lists@augenstein.net>
2012-09-12 05:40:36 +00:00
Emanuel Haupt
fcfa32ba27 - Use OPTIONSng
- Remove deprecated header information
2012-09-11 15:38:24 +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
Emanuel Haupt
5baceeb180 Provide an improved version of the "renamed file detection" patch.
This patch was submitted to the upstream project [1] and will hopefully be
included in the next release.

With the new patch, detect-renamed properly detects files moved to new
directories, as well as directory renames.

[1] https://bugzilla.samba.org/show_bug.cgi?id=8847

Submitted by:   J.R. Oldroyd <jr@opal.com>
Obtained from:  rsync bugzilla [1]
2012-07-17 18:22:14 +00:00
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