Commit graph

151 commits

Author SHA1 Message Date
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
Pav Lucistnik
fadc2e1699 - Update to 2.6.7 2006-03-15 10:36:08 +00:00
Doug Barton
c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
2006-02-20 20:47:50 +00:00
Pav Lucistnik
0cd0244e86 - Add some SHA256s 2005-11-23 17:38:02 +00:00
Pav Lucistnik
0b497a0ad5 - Update to 2.6.6 2005-07-29 16:52:06 +00:00
Pav Lucistnik
1976e8243c - Update to 2.6.5, make fetchable again
- Reset eik's maintainership, he has been MIA for too long
  I will look after this port for now, seriously interested people should
  contact me

PR:		ports/81927
Submitted by:	Tom McLaughlin <tmclaugh@sdf.lonestar.org>
Approved by:	portmgr (krion)
2005-06-06 12:39:39 +00:00
Pav Lucistnik
763da90905 - Fix incompatibility with older version when used with --exclude option
without --delete option

PR:		ports/81337
Submitted by:	KIMURA Yasuhiro <yasu@utahime.org>
Obtained from:	author via
		http://lists.samba.org/archive/rsync/2005-April/012317.html
2005-05-21 11:31:31 +00:00
Pav Lucistnik
599c06a6e1 - Update to 2.6.4
- Use new infrastructure for rc script
- Remove pkg-message, it's 4 years since the change

Approved by:	marcus (portmgr hat)
2005-05-16 21:07:54 +00:00
David E. O'Brien
c3d8037aeb At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
2005-04-12 03:26:56 +00:00
David E. O'Brien
f2fc2d60ae Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
2005-04-11 08:04:41 +00:00
Oliver Eikemeier
24d242e01a - Re-enable "!"s in .cvsignore files
- Fix an off-by-one error in the handling of --max-delete=N
2004-10-24 01:59:41 +00:00
Oliver Eikemeier
5d38b3535f - updae to version 2.6.3
+ http://rsync.samba.org/ftp/rsync/rsync-2.6.3-NEWS
- copy FIFOs and sockets
  + https://bugzilla.samba.org/show_bug.cgi?id=1804
2004-10-11 23:25:38 +00:00
Oliver Eikemeier
2e261a96c0 enable copying of fifos/sockets
Requested by:	Eike Bernhardt <eike@unorganized.net>
PR:		59814
Obtained from:	Thomas Quinot <thomas@cuivre.fr.eu.org>
2004-08-24 16:30:50 +00:00
Volker Stolz
ec941eb8b3 mirror.ac.uk -> mirrorservice.org
PR:		ports/69481
Submitted by:	Tim Bishop, Dejan Lesjak
Approved by:	maintainers
2004-08-19 13:25:38 +00:00
Oliver Eikemeier
a49bbe0700 fix security hole in non-chroot rsync daemon.
<http://www.freebsd.org/ports/portaudit/2689f4cb-ec4c-11d8-9440-000347a4fa7d.html>
2004-08-12 10:45:27 +00:00
Oliver Eikemeier
b87c03011b fix --delete SEGV
<http://lists.samba.org/archive/rsync/2004-May/009380.html>
2004-05-03 11:15:21 +00:00
Oliver Eikemeier
adb2d126d7 update to version 2.6.2:
<http://rsync.samba.org/ftp/rsync/rsync-2.6.2-NEWS>

Note that the --relative bug has been fix in 2.6.1_2
2004-04-30 21:18:39 +00:00
Oliver Eikemeier
021a2af5b2 Fix sorting bug when --relative is used
<http://lists.samba.org/archive/rsync-announce/2004/000015.html>
2004-04-30 08:53:34 +00:00