Commit graph

62 commits

Author SHA1 Message Date
Mikhail Teterin
5fb37c78cf Remove the left-overs of socks5.sh.sample.
PR:	111784
Submitted by:	KIMURA Yasuhiro
Pointy hat to:	mi
2007-04-18 09:45:24 +00:00
Mikhail Teterin
f9752c8ba0 A long-standing issue in the vendor's reimplementation of vsnprintf()
was not only inefficient (writing out to a file and then reading back!),
but also had a bug in its handling of va_args.

The most obvious ill-effect was the daemon crashing shortly after
start-up on amd64. The inefficientcy was less obvious, but still there
on all platforms.

Although log.c contained HAVE_VSNPRINTF ifdef-s, the configure script
does not check for the function's presence and never sets the define.

Add the -DHAVE_VSNPRINTF as a simple work-around... Bump PORTREVISION.

Approved by: maintainer

While here, ditch the ancient socks5.sh.sample in favor of the proper
USE_RC_SUBR script based on the maintainer-supplied code.
2007-04-16 04:26:28 +00:00
Marcus Alves Grando
61de56d230 - Add CONFLICTS because include/socks.h are included in net/dante and net/socks5 too.
PR:		103649
Approved by:	maintainer timeout (35 days)
2006-10-31 13:40:43 +00:00
Edwin Groothuis
dbef3380d2 SHA256ify
Approved by: krion@
2006-01-22 21:24:05 +00:00
Greg Lewis
ad635cfe96 . Add $FreeBSD$.
. Fix the build on sparc64 by converting -fpic to -fPIC.

Pointed out by:	pointyhat (via kris)
Approved by:	Josh Paetzel <josh@tcbug.org> (maintainer)
2005-06-30 22:20:39 +00:00
Greg Lewis
c290227a85 . Unbreak by finding a MASTER_SITE that still carries the distfile. It
also doesn't require manual downloading, so remove the code to prompt
  for that.

  Note that although the checksum has changed, there are no differences
  in the distfile save for the compression.  I compared the uncompressed
  tarball against one from http://www.etn.yz.yamagata-u.ac.jp/ipv6arc/socks/
  which corresponded to the old checksum and they were identical (md5).
  I chose to use the SGI MASTER_SITE instead since it would presumably
  have more bandwidth.

Approved by:	Josh Paetzel <josh@tcbug.org> (MAINTAINER)
2005-06-16 19:36:12 +00:00
Sam Lawrance
92a786ee50 Mark BROKEN, distfiles seem to be unavailable at least for now.
PR:		ports/82012
Submitted by:	Josh Paetzel <josh@tcbug.org> (maintainer)
2005-06-10 16:28:21 +00:00
Florent Thoumie
6ae9c18336 - Pass maintainership to submitter.
PR:		ports/81608
Submitted by:	Josh Paetzel <josh@tcbug.org>
2005-05-28 23:20:50 +00:00
Volker Stolz
6fecd67527 Fix varargs.h issue with gcc 3.4
PR:		ports/71460
Submitted by:	KIMURA Yasuhiro
2004-11-08 12:37:10 +00:00
Volker Stolz
1050f32269 Check if socks5.conf exists in startup-script.
PR:		ports/68067
Submitted by:	KIMURA Yasuhiro
2004-06-19 10:53:12 +00:00
Kirill Ponomarev
fba09a1864 - compile with password file support (turning on in socks5.conf)
- Add startup script
- Bump PORTVERSION

PR:		ports/65075
Submitted by:	Sergey Matveychuk <sem@ciam.ru>
2004-04-02 19:39:10 +00:00
Clement Laforet
be6bf1e2f5 - Make portlint happy 2004-02-27 02:35:35 +00:00
Sergei Kolobov
8bf7269a4e - Use canonical form (ports@FreeBSD.org) in MAINTAINER line 2003-12-21 00:23:25 +00:00
Akinori MUSHA
2c41b9e5f3 De-pkg-comment. 2003-02-20 19:00:52 +00:00
Mark Murray
ef668daf52 Patch is not needed - causes core dumps. 2001-06-15 18:33:48 +00:00
Ying-Chieh Liao
99990b94b5 installs examples and docs
Bump PORTREVISION

PR:		27083
Submitted by:	Dimitry Andric <dim@xs4all.nl>
2001-05-17 07:34:47 +00:00
OKAZAKI Tetsurou
c30a9ae245 Include bsd.port.pre.mk before the `.if', and bsd.port.post.mk after it,
just as in other ports which require "manual" downloading of distfiles.
(also correcting the extranous '.')

PR:		26719
Submitted by:	Dimitry Andric <dim@xs4all.nl>
2001-04-20 18:39:54 +00:00
Michael Haro
c5302c5f25 Update where to go to download the socks5 distfile
PR:		26156
Submitted by:	    Steve Coltrin <spcoltri@hrothgar.omcl.org>
2001-04-02 10:34:48 +00:00
Maxim Sobolev
7d63224d50 Use IGNORE macros to bug user that he/she has to manually download distfile
instead of failing rule. This will prevent bento from trying to build the
port.

Submitted by:	bento
2001-03-19 19:14:32 +00:00
Warner Losh
ac723a61ae I've given up the ghost using socks5 on my network. Since I'm
multiply overcomitted, I've giving this back to ports.
2001-01-03 22:38:34 +00:00
Warner Losh
6d95425962 The patches I committed a while ago need a PORTREVISION bump, but I
was slime and didn't.
2000-10-10 05:27:14 +00:00
Warner Losh
ba794879bc portlint 2000-10-10 05:05:27 +00:00
Warner Losh
61722d8b0a NEC changed the distribution without updating the filename. Bad NEC.
A diff of the original .tgz file and the new one shows that they
reformatted their copyright notice, added the year 2000 to it, removed
one file that had an identical copy of the copyright notice and
license and took the opportunity to slightly reformat the copyright
notice and license.  No code changes were in evidence by this change.

Approved by:	Mike Tancsa <mike@sentex.net>
2000-10-04 04:44:04 +00:00
Warner Losh
ed13219d7c Kludge rearming the signal for SIGCHLD so that we can harvest the
zombies on the system.  Without this change, the socks5 daemon would
work great for a short period of time, then hang because no more
children could be created.  It appears from debugging that this is
because gravedigger was only called once.  I reestablish the signal
handler in gravedigger to force SIGCHLD to be unmasked.

A more proper fix might be to fix Signal to have multi-shot signals,
or to see what might be broken with the signal masks.  Since I'm in a
hurry and this port's daemon is broken without this, I commit this
kludge knowing that it will live approximately forever, less three
days.
2000-10-03 03:28:46 +00:00
Warner Losh
ba3406cf49 Update to socks 1.0r11. patch-aa had been partially integrated into
r11 as well as parts of patch-ak.  1.0r10 is no longer available at
the NEC web site.  Verified the URL was still the right place to go to
get socks5 1.0r11.

Noticed by: Jim Paterson <jpaterso@paterson.org>
2000-08-30 19:43:28 +00:00
Satoshi Asami
ffb21b5654 Rename INSTALLS_SHLIBS to INSTALLS_SHLIB. (There was a typo in the
previous commit message to bsd.port.mk, which said INSTALL_SHLIBS.  Boo.)

Line up the rhs of variable assignments nicely.  Remove a couple of extra
whitespaces while I'm here.

Suggested by:	 sobomax
2000-06-16 21:52:40 +00:00
Maxim Sobolev
61ebd322a2 Fix MASSIVE typo INSTALL_SHLIBS --> INSTALLS_SHLIBS, which occured because I
just cun'n'pasted the name from Satoshi's commit message without checking
it.

Hall of shame entry:	sobomax
2000-06-16 08:19:52 +00:00
Maxim Sobolev
835d6b8655 Third round of INSTALL_SHLIBS=yes fixes. 2000-06-15 17:59:45 +00:00
Chris Piazza
93a61d6874 Update with the new PORTNAME/PORTVERSION variables 2000-04-09 18:14:07 +00:00
Yoshinobu Inoue
e53d640ca4 Add getaddrinfo() wrapper function support.
Tested and confirmed by: Robert Muir <rmuir@looksharp.net>,
	Toshihiko Kodama <kodama@ayame.mfd.cs.fujitsu.co.jp>,
	Masahide -mac- NODA <mac@clave.gr.jp>

Approved by: jkh

Reviewed by: imp
2000-02-24 06:37:27 +00:00
Warner Losh
ffddd543f4 Remove problems with pkg_delete and pkg_add for packages built with
this port.

PR: ports/12138
1999-09-25 05:46:18 +00:00
Warner Losh
2db0b247a5 Upgrade to 1.0 r10.
Remove patches integrated since r9.
1/2 of patch-aa was integrated, the second half has been retained.
Add new patch (patch-ak) from web site for s5fakehost files.
Add new patch (patch-al) to fix long standing telnet failure to build (it
	is a kludge, so hasn't been submitted to the socks maintainers).
1999-09-25 05:27:58 +00:00
Peter Wemm
a6c3f62331 $Id$ -> $FreeBSD$ 1999-08-30 14:24:37 +00:00
Michael Haro
235481b52a awk -> ${AWK}
basename -> ${BASENAME}
cat -> ${CAT}
cp -> ${CP}
ldconfig -> ${LDCONFIG}
mkdir -> ${MKDIR}
1999-08-22 23:33:47 +00:00
Bill Fumerola
8684147ba7 Upgrade to 1.0r9, the previous version had been dropped.
The deleted patches were merged into the program.

Obtained from:	http://www.socks.nec.com/patch-socks5.html
		(the new patches, that is)

NOTE: I'd love to have used PATCH_SITES and its cohorts,
however the patches from the web site were directory-ambigous
and adding them to our repository is the best way to avoid a
lot of glue and uglyness in the Makefile.
1999-04-25 03:49:17 +00:00
Warner Losh
d3e518b4e5 Update port to 1.0r8.
Patches-ad and ae from
	Andre Albsmeier <andre.albsmeier@mchp.siemens.de>

I've not had a chance to test this as much as I'd like, but it has
become obvious to me that a possibly minorly broken port is better
than a definitely broken port.

Thanks to obrian for the gentile reminder...
1999-01-06 04:49:29 +00:00
David E. O'Brien
65b1f7947a fix my mis-quoting. 1999-01-06 03:59:14 +00:00
David E. O'Brien
7b04b1e1f9 BROKEN= 'socks5-v1.0r7 is not available at NEC's website. Latest is v1.0r8' 1999-01-05 19:02:32 +00:00
Warner Losh
ffe162b612 Update to ELF and v1.0r7. This version supports only one type of
binaries (ELF OR aout) with runsocks.
1998-10-07 18:51:28 +00:00
Tim Vanderhoek
26e78bb69f This netted the largest set of mis-installed manpages, yet! 1998-08-18 19:48:45 +00:00
Warner Losh
edf9db9125 Fix minor problems with FreeBSD 1.x dynamic loader workarounds breaking
FreeBSD 2.x dynamic loader.  This makes more programs, including emacs,
work with runsocks.

This patch will work at least as far back as 1.0r3.

Submitted by:	Aaron Smith <aaron@sigma.veritas.com>
1998-07-20 23:37:26 +00:00
Warner Losh
6da4040db7 Upgrade to v1.0r6 1998-07-20 22:46:59 +00:00
Warner Losh
5a0c7abaad Update socks to v1.0r5
Change fetch so that we point people at NEC's web site
1998-07-12 21:26:50 +00:00
Thomas Gellekum
944910bb30 Execute `ldconfig -R' at the pkg_delete step.
PR:		6281
Submitted by:	SADA Kenji <sada@e-mail.ne.jp>
1998-05-05 13:18:48 +00:00
Warner Losh
ac0341b870 Distfile moved on ftp.ualg.pt, ftp.astec.co.jp went away 1998-04-07 17:08:16 +00:00
Warner Losh
6977807cbf Update mirror site. Things have moved to socks5 subdirectory. 1998-01-05 19:00:50 +00:00
Warner Losh
c8f9434dbe Upgrade to v1.0r3
Change maintainer to me
initial openbsd support
1997-12-24 18:42:25 +00:00
David E. O'Brien
9b7655b968 Upgrade to released version 1.0.2
With permission of:	ambrisko@ambrisko.roble.com
1997-08-28 06:49:07 +00:00
David E. O'Brien
3bd0f8ad1f Remove "NO_PACKAGE". "RESTRICTED" is suffient for our purose.
Reviewed by:	Doug Ambrisko <ambrisko@ambrisko.com>
1997-08-15 08:32:52 +00:00
Masafumi Max NAKANE
b39c6760cf Update, beta-0.17.1-exportable -> beta-0.17.2-exportable. 1997-05-04 16:55:38 +00:00