Commit graph

43 commits

Author SHA1 Message Date
jperkin
45bc40abb4 Remove example rc.d scripts from PLISTs.
These are now handled dynamically if INIT_SYSTEM is set to "rc.d", or
ignored otherwise.
2014-03-11 14:04:57 +00:00
asau
e059e7e469 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-23 17:18:07 +00:00
obache
dfc53e22c6 Add user-destdir installation support. 2010-03-08 11:59:54 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
joerg
5f09e6a2e4 Remove trailing white-space. 2007-12-27 14:24:00 +00:00
abs
d4efb29957 Add share/examples/rc.d/sockd tp PLIST 2007-12-04 14:40:33 +00:00
abs
353b2cea60 Update dante to 1.1.19nb1:
Add rc.d startup script
2007-12-04 13:30:06 +00:00
rh
a9f99cffe4 Make it explicit that this is a Socks 4/5 proxy as suggested by lukem@
Remove me as maintainer (I haven't been maintaining this for some time now)
2007-05-25 00:28:19 +00:00
sketch
70b998e406 Ensure the last statement in configure script returns true, else the build
fails on certain platforms.
2007-05-23 11:12:35 +00:00
joerg
2eac6f074d Skip a file we don't care about in the portability check. 2006-12-12 19:34:06 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
adam
0115074afd Changes 1.1.19:
o Disabled code for shutting down idle sockd processes, appears to need
  more testing.

o Upgrade to Automake 1.9.6.

o Use __libc_enable_secure if it exists and issetugid() doesn't.
  Should allow the SOCKS_CONF environment variable to be used on Linux.

o Check if large files need special support; logfiles can grow large.

o Drop trying to optimize away unnecessary PAM calls, creates
  obscure problems on some PAM-Linux implementations.

o Fixed bug introduced as part of additions to better preserve TCP
  semantics across connections.

o New module available: session.  This gives control over how
  many sessions different clients can create.

o In order to share some code, there were some api changes
  made to the bandwidth module, requiring users to upgrade.
  Users of the bandwidth module can contact sales for a free upgrade.

o Fix bug preventing immediate-error on wrong password to take effect
  for servers configured to use PAM.

o Update usage of 'head'.

o Support server-chaining.  Currently only the tcp connect command
  is supported.  It might be possible to add support for udp and
  tcp bind if requested.

o Fix PAM-related bug introduced in version 1.1.16.
2006-05-26 08:50:13 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
joerg
24ef3147b5 Fix patch to use case + two cats instead of a single cat + preprocessor
usage, it is ignored by autoconf.
2006-01-19 18:52:59 +00:00
joerg
30e5711ea4 DragonFly's gethostbyaddr needs int as second argument. 2006-01-12 23:37:31 +00:00
drochner
5e524f6c00 update to 1.1.17
changes:
-Enabled code for shutting down idle sockd processes.
-Return immediate error if username/password is wrong
-better preserve TCP semantics across connections
-bugfixes
2005-08-12 19:13:11 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
adam
14099a9a24 Changes 1.1.15:
o Limit the maximum number of available descriptors if necessary,
  avoiding a possible overflow of fd_sets.

o Added absolute timestamp to logformat, in preparation for new
  module.

o Fixed problem involving non-blocking connects in socks clients
  on Linux.

o Prototype related tests during configure are rewritten.
  Might require prototypes for some platforms to be readded.

o Compilation fixes for AIX 5.1-ML03 with IBM Visual Age C/C++ V5.
  Based on patch from Kieron Curtis2 <KCURTIS2@uk.ibm.com>.

o A 'an macro' version of the sockd.8 manual page.
  Submitted by Tony Leneis <tony@cvrreg.com>.

o Upgrade to autoconf 2.59, libtool 1.5.10 and automake 1.9.3.

o Patch to code for shutting down idle sockd processes, from
  William Adams <wlarip@earthlink.net>.  NOT ENABLED.

o Add test for setegid(), use replacement if not found.
  Replacement code based on patch by <rainer.doerntge@dlh.de>.

o Do not warn at runtime about SO_{SND,RCV}LOWAT socket options if not
  supported by OS.  Based on patch from William Adams <wlarip@earthlink.net>.

o enable setegid() call after moving it to correct place;
  William Adams <wlarip@earthlink.net>.

o Support for socksification of getipnodebyname(), contributed by
  Lennart Dahlström <lennart@appgate.com>.

o Support for socksification of getaddrinfo(), contributed by
  Motoyuki Kasahara <m-kasahr@sra.co.jp>.

o Fix some problems with descriptor passing on platforms without
  cmsghdr.

o AIX 5.1 ML-03 compilation fixes for IBM Visual Age C/C++ compiler
  version 5 by Kieron Curtis2 <KCURTIS2@uk.ibm.com>.

o Remove usage of SO_BSDCOMPAT, obsolete and causes warnings with
  version 2.6 Linux kernels.  Noted by Adrian Bridgett <adrian@smop.co.uk>.
2005-04-04 10:00:54 +00:00
agc
b12d62efb5 Add RMD160 digests. 2005-02-24 12:13:41 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
snj
f0fe832ef6 Convert to buildlink3. 2004-04-12 21:54:27 +00:00
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
keihan
967ed97252 Update dante to 1.1.14.
Compared to the previous release, this version brings amongst other
changes the following:

Server changes:
 o Fix bug that prevented rfc931 auth (ident) from working, patch from
  "Meno Abels" <Meno.Abels@7d.net>.

 o Workaround for 'bswap_32' header bug on linux.
2004-01-06 22:03:31 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
wiz
d16e104702 Add patches for a typo in two man pages, reported by Cesar Catrian C. in
PR 20590, and fed back to the authors.
2003-03-07 20:49:34 +00:00
jlam
c28df54e21 Use buildlink2 and add a buildlink2.mk file for other packages. 2002-09-10 06:10:04 +00:00
wiz
4b81c06b0a Use PKG_SYSCONFDIR. From Urban Boquist in pkg/18242. 2002-09-09 21:51:52 +00:00
wiz
0e430ef967 LTCONFIG_OVERRIDE -> LIBTOOL_OVERRIDE. Makes libdsocks.a appear again. 2002-07-12 15:13:08 +00:00
wiz
c3226829b9 Update to 1.1.13.
Changes since 1.1.9:
Logging fixes (deprecating -l option to sockd)
Two commercial modules available, redirect and bandwidth (not included in pkg)
Some more from the 'Changes' file:
o Move daemon() call to later so more errors can be reported, suggested
  by Borsenkow Andrej <Andrej.Borsenkow@mow.siemens.ru>.
o fix problem when linking with libsocks;
  NISHIMURA Daisuke <nishi@graco.c.u-tokyo.ac.jp>.
o fix some problems when socksifying, making certain programs
  hang forever (e.g. certain versions/installations of "ssh -X").
  Thanks to NISHIMURA Daisuke <nishi@graco.c.u-tokyo.ac.jp> for
  diagnosis, help and testing.
o Don't mark the rule as good either if sockscf.state.unfixedpamdata,
  fixes bug reported by Jerry Murdock" <jmurdock@itraktech.com>.
o fix a bug preventing the list given in a 'user:' keyword from
  being checked correctly. Reported by Oleg Bulavsky <bulch@ftc.ru>.
o "-h" prints out configfile used, based on suggestion from
  dh_tsc_10@ugcs.net.
o fix bugs that reset some defaults at the wrong time, reported by
  dh_tsc_10@ugcs.net.
o prototype script for generation of graphs with usage information included
  (bin/sockd-graphgen). Contact us if you run a socks server with significant
  usage, and you are willing to help with testing.
o Some minor optimisations in server i/o code, at the cost of some
  timer accuracy concerning bandwidth limiting/client expiration.
o prefix "socks" to some global variables to avoid collisions during
  socksify.  Reported by Don Reid <donr@cvs.agilent.com>.
o capi/socks.h needs Rxxx prototypes to work with a c++
  compiler. Noted by Alex Morozov <alex@idisys.iae.nsk.su>.
o If Rgetsockname() is called on a socket that a previous uncompleted
  Rconnect() has been done on, try to sleep until Rconnect() has
  finished instead of returning ENOBUFS.  Hoped to help compatibility
  with some applications.
o Modified httpproxy code a little, based on patch from
  dh_tsc_10@ugcs.net.
o Code for selecting which of multiple external ipaddresses to use
  on a global basis based on routing.
  Code contributed by Tom Chan <tchan@austin.rr.com>.
o Rename "pamservicename" to "pam.servicename".
o Fix memory overrun problem in Rgethostbyname*().  Found and
  diagnosed by dme@dme.org, thanks.
o new method added: "pam".  Code contributed by
  Patrick Bihan-Faou, MindStep Corporation, patrick@mindstep.com.
o let client-rules have their own global methodline, "clientmethod",
  default value set to "none".
  The global "method" is only used for socks-rules now.
o delay checking of password/etc til we have received the socks
  request (rather than during negotiation, as was the case).
  Required for supporting passwordbased authentication via non-socks
  methods, e.g. pam.
o socklen_t definition updated for NetBSD 1.5U.
  Problem report and patch submitted by Janne Snabb <snabb@ssh.com>.
o Output from 'config.guess' is not sufficient to determine use
  of elf on NetBSD.
  Problem report and patch submitted by Janne Snabb <snabb@ssh.com>
2002-07-12 14:47:03 +00:00
agc
9db453ce5d Add the appropriate types to various network system call prototypes, so
that configuration works on NetBSD.

Fixes a problem highlighted in recent i386 bulk build report.
2001-12-19 22:25:30 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
wiz
433b62957e Move to sha1 checksum, and/or add distfile sizes. 2001-04-21 11:23:08 +00:00
agc
2d6b6a009c + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:43:32 +00:00
rh
1b1053b84e Add patch-sum file missing from previous commit 2001-03-20 12:51:14 +00:00
rh
0bc5a22026 Update dante to 1.1.9.
Changes include:

***  Tuesday, March 13, 2001 -- Dante v1.1.9

 o fix big bug in rulespermit().
   Problem reported by Stephan Eisvogel <eisvogel@hawo.stw.uni-erlangen.de>.

***  Tuesday, February 20, 2001 -- Dante v1.1.8

 o contrib directory actually added to distributed archive

***  Tuesday, February 20, 2001 -- Dante v1.1.7

 o contrib/sockd-stat.awk, provides statistics based on sockd logfiles.
        Contributed by Stephan Eisvogel <eisvogel@hawo.stw.uni-erlangen.de>.

 o If gethostbyname() fails, treat it as if resolveprotocol was set to
   fake, meaning we hope the socksserver will be able to resolve it.
   Will presumably make certain dns configurations work better for
   client.

 o When showing rule (debug mode), print out linenumber too.
   loosely based on suggestion from "N. Kremla" (kremlanh@aramco.com.sa).

 o contrib/ directory added.

 o Support for giving interfacenames as internal/external address.

 o osf host test in configure did not match all alpha based machines;
   Dobrica Pavlinusic <dpavlin@rot13.org>.

 o -V flag added to sockd, which causes the server to exit after
   parsing the configuration file.

 o Header file (socks.h) with socks function prototypes added. By
   default installed in /usr/local/include.

***  Tuesday, November 21, 2000 -- Dante v1.1.6

 o fix a bug related to hostnamelength parsing in server.
   Thanks to "Thomas Jarosch" <thomas.jarosch@styletec.de>.

***  Monday, October 16, 2000 -- Dante v1.1.5

 o New prototype for gethostbyaddr in RedHat 7.0 added.
   First reported by Paul R Streitman <prs@us.ibm.com>.

 o RedHat needs libnsl for tcpwrappers to work.
2001-03-20 12:46:50 +00:00
wiz
a13ea108bb Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:52:59 +00:00
agc
9c2d582fc9 The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.

+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt

With many thanks to Thomas Klausner for keeping me honest with this.
2001-01-04 15:10:17 +00:00
rh
5ef34a1319 Initial import of dante-1.1.4, a BSD-licensed socks 4/5 proxy suite. 2000-10-15 17:29:14 +00:00