Commit graph

19 commits

Author SHA1 Message Date
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
Olli Hauer
b8c2df43b8 -Add both versions of each configure flag (--enable-x/--disable-x) for safety
-Update to May 26, 2011 snapshot:
    Add support for OpenSSH's sftp-server umask option.
    Remove inline references to satisify certain compilers
    Remove the now unnecessary sftp-logging compatibility mode.
    When getopt_long is not available, like on AIX, use bundled NetBSD
        getopt_long.
    Update the SECURITY document to include a reference to /etc/popt and \
        ~/.popt as they relate to rsync.
    Fix for rsync-3.0 which now uses a short -e option, with an optional
        argument as a server side option indicating protocol compatibility.
    Fix scponly crash on Solaris
    Fix detection and inclusion of getopt on certain platforms
    Document risks associated with popt reading /etc/popt and ~/.popt
    Document getopt requirement (when certain configure options are enabled)
 - cleanup redundant BUILD_DEPENDS+=  [1]

PR:		ports/157804
Submitted by:	Rob Farmer <rfarmer _at_ predatorlabs.net> (maintainer), ohauer  [1]
Approved by:	maintainer
2011-06-18 17:24:07 +00:00
Wen Heping
f08bff30cb -Patch SECURITY doc to include note about bypassing rsync argument checking with popt (from upstream) and tell people to read it
-Drop long comment describing knobs - it just duplicates OPTIONS
-For SCPONLY_DEFAULT_CHDIR, print a note about setting it. I'm not sure if post-patch is the best place for this, though?
-Drop dead site and just use Sourceforge
-Use the PORTDOCS variable
-Install some useful docs and drop useless one (TODO)
-Drop pre-everything message about defaults changing; that was 5 years ago
-LOCALBASE vs. PREFIX correction
-Add post-install messages to the plist so package users see them too

PR:		ports/153115
Submitted by:	Rob Farmer <rfarmer@predatorlabs.net> (maintainer)
2010-12-15 07:12:02 +00:00
Olli Hauer
fa9e601d64 - Fix support for rsync 3.0
Rsync 3 needs the "-e" option, which is blocked without this patch by scponly

 Patch pulled from upstream CVS, which states a full release will come soon:
 http://lists.ccs.neu.edu/pipermail/scponly/2010-November/002170.html

 Reported by: Frank Bartels <knarf _at_ knarf.de>

PR:		152869
Submitted by:	Rob Farmer <rfarmer _at_ predatorlabs.net> (maintainer)
2010-12-07 21:46:51 +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
Philip M. Gollucci
1e7a0635fd - Fix a typo in comments in rc.d script
PR:             ports/143555
Submitted by:   M@FreeBSD.org, van Zadelhoff <mike@ironmikie.nl>
Approved by:    rfarmer@predatorlabs.net (maintainer)
2010-02-10 03:01:41 +00:00
Philip M. Gollucci
03671d92fe - Fix rc.d script for chroot functionality (thanks to Doug Barton for help with this)
- Switch an empty #elif to #else to please GCC 4.4
- Submitter is now MAINTAINER

PR:             ports/142764
Submitted by:   Rob Farmer <rfarmer@predatorlabs.net>
2010-01-15 02:44:01 +00:00
Pav Lucistnik
1c286a97e0 - Update to 4.8
PR:		ports/121651
Submitted by:	Philip M. Gollucci <pgollucci@p6m7g8.com>
Approved by:	maintainer timeout (rushani; 3 weeks)
2008-04-03 14:14:28 +00:00
Edwin Groothuis
6c06b5f993 scponlyc sftp support doesn't work without minimal devfs in chroot dir
I'm finding that recently-created scponlyc chroots do not
	provide a sufficient environment for /usr/libexec/sftp-server
	to run. The sftp client symptom is just:

	$ sftp user@www
	Connecting to www...
	Password:
	Connection closed
	$

	The cause appears to be that recent versions of
	/usr/libexec/sftp-server will complain about of lack of
	access to /dev/null and exit, resulting in the closed
	connection witnessed by the remote client.

	The solution appears to be to create a devfs in the scponlyc
	chroot.

	To automatically create at boot time a devfs in the home
	directory of each user of scponlyc, I have chosen to put a
	script in /usr/local/etc/rc.d.

PR:		ports/108009
Submitted by:	Jim Long <list@museum.rain.com>
Approved by:	maintainer timeout
2007-10-03 13:07:09 +00:00
Tilman Keskinoz
594b0dc64c Unbreak rsync comatibility when long opts ("--server", "--sender"
and "--delete" in this case) specified.

PR:		96295
Suggested by:	ueda _at_ drweb dot jp
Obtained from:	https://lists.ccs.neu.edu/pipermail/scponly/2006-March/001287.html
Approved by:	rushani (maintainer)
2006-08-06 17:38:15 +00:00
Simon Barner
43e6ff00b0 - Update to 4.4
o fixes that hopefully improve the optarg compilation situation
  o UNISON $HOME environment fix
  o fixes to setup_chroot.sh.in

PR:		ports/92587
Submitted by:	rushani (maintainer)
2006-01-31 14:05:46 +00:00
Edwin Groothuis
66e43df372 [Maintainer update] shells/scponly: Update to 4.3.
Update to 4.3.  Highlights in this release,
	- Compatibility of WinSCP in SCP mode improved.
	- The scponlyc (chroot'ed version of scponly) works again.

PR:		ports/91039
Submitted by:	Hideyuki KURASHINA <rushani@FreeBSD.org>
2005-12-29 05:17:54 +00:00
Edwin Groothuis
fa08782b94 [Maintainer update] shells/scponly: Fix WinSCP compativility and etc
1. Fix WinSCP compativility in SCP mode.  PORTREVISION bumped.
	2. Add sourceforge mirrors to ${MASTER_SITES}.
	3. From scponly 4.2, scp & WinSCP compatibilities are not enabled
	   by default.  Notice this at pre-everything target as well as
	   UPDATING.

PR:		ports/90983
Submitted by:	Hideyuki KURASHINA <rushani@FreeBSD.org>
2005-12-27 21:25:56 +00:00
Yen-Ming Lee
323e8119a5 - Update to 4.1
PR:		79859
Submitted by:	rushani
2005-04-14 03:56:00 +00:00
Volker Stolz
1cb6e17cc5 Scponly validates dangerous arguments since version 4.0. However,
there is a regression compared with version 3.11.  That is scponly
can not be built only with sftp support.

Reference: https://lists.ccs.neu.edu/pipermail/scponly/2004-December/000655.html

PR:		ports/75092
Submitteed by:	maintainer
2004-12-15 10:47:52 +00:00
Pav Lucistnik
a0e5f7ed92 - Update to 4.0
PR:		ports/74633
Submitted by:	rushani (maintainer)
2004-12-04 23:56:24 +00:00
Kirill Ponomarev
66424cf8d3 Update to 3.11
PR:		ports/69179
Submitted by:	maintainer
2004-07-17 13:02:01 +00:00
Norikatsu Shigemura
939e3a7436 Update to 3.9(support for WinSCP3).
PR:		ports/64076
Submitted by:	Jim Shewmaker <jims@bluenotch.com>
Reviewed by:	rushani (maintainer)
Committed at:	CBUG Curry Camp in Yatsugatake, Yamanashi-ken, Japan.
2004-03-20 09:54:30 +00:00
James E. Housley
ec0975dc4d scponly dist includes a script which setup chroot cage, which
depends a location of run-time link-editor.  Since FreeBSD has
dynamic root capability from __FreeBSD_version == 501105, we
should add new location to unbreak the script.

PR:		59511
Submintted by:	MAINTAINER
2003-11-21 00:59:01 +00:00