Commit graph

52 commits

Author SHA1 Message Date
joerg
34bbd4b28b Honour CFLAGS. 2014-05-30 11:35:35 +00:00
he
5b73f85427 Make tcl-scotty build with minimal warnings and install again.
This change is the result of a large sweep triggered by the new
Tcl which has const'ified many interfaces -- this follows suit with
many corresponding changes internally in scotty => lots of new
patches.

Also, change so as to not access interp->errorLine and
interp->result directly, use the accessor functions instead,
and turn off the corresponding compatibility defines.

The old patch files have been renamed and expanded, the new
scheme for naming patch files is used.

Only minimal functionality testing is done, but what has been
done shows that it basically works again.

PKGREVISION bumped.
2014-03-05 13:52:29 +00:00
joerg
b84ecf78f3 Allow build with TCL 8.6. Needs more work as it fails in the install
phase.
2014-02-04 00:19:14 +00:00
adam
41e677f366 Revbump after updating tcl/tk. 2014-01-11 14:42:00 +00:00
he
cd881328f2 Revert the MACHINE_ARCH -> MACHINE PLIST change, now that lang/tcl
has been fixed.

This time we bump PKGREVISION, even though the contents should not
change.
2012-11-07 14:33:54 +00:00
he
39b35a1204 It turns out that scotty installs the pre-parsed MIBs into a sub-
directory named ${MACHINE}-${OPSYS} not ${MACHINE_ARCH}-${OPSYS},
which the PLIST specifies.  Adapt the PLIST accordingly, so that
this builds on amd64 as well, where MACHINE and MACHINE_ARCH is
different...

No pkgrevision bump, since this is merely a build fix, and the
contents of the package does not change for those where it
built already.
2012-11-07 12:54:30 +00:00
marino
4ad33b40f4 net/tcl-scotty: Last change no longer needed, revert
The reason tcl-scotty was missing an rpath during the build is because
tclConfig.sh wasn't configured with it.  lang/tcl has been updated so
that tclConfig.sh adds the appropriate runpath for the system.

Remove the previously hardcoded "-rpath" to revert the package to be
the way it way.
2012-08-22 22:18:23 +00:00
marino
9f2c0704cf net/tcl-scotty: Insert rpath into libtnm.so
This is not a tcl/tk 8.5 fix.  The libtnm.so couldn't be found during the
build due to an omitted runpath.  Two other patches were regenerated
because they didn't match the source exactly.
2012-08-21 21:54:19 +00:00
he
b10e503727 Several changes rolled into one:
o Wedge in DESTDIR support.  This is a little tricky since the
   installation procedure wants to run scotty to parse and dump
   the MIB files, and this needs to be done in DESTDIR.  Therefore
   we use the post-install target, to fix things up before packaging
   and the real install.

 o Fix the "dns" functionality not to use _res, since this program
   is linked with libpthread that won't work on NetBSD (aborts the
   program).  Though the modified version still uses a global static
   variable.

 o Add comments to all the patch files.

 o Eliminate use of ${WRKSRC}/.., since pkglint objects to it.  Instead
   use BUILD_DIRS and CONFIGURE_DIRS.

 o Add a LICENSE setting, 2-clause-bsd appears most similar.

 o Bump PKGREVISION for the above changes.
2011-09-02 08:06:55 +00:00
jwise
765ec9d406 Give up maintainership of packages where I am still listed as MAINTAINER. 2009-08-20 15:24:58 +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
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
wiz
b6160330f7 Update MASTER_SITES and/or HOMEPAGE, from Sergey Svishchev. 2006-10-04 21:53:15 +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
minskim
e992931f9c USE_TOOLS+=lex 2006-06-21 18:33:51 +00:00
minskim
6e1ee94c8a USE_TOOLS+=yacc 2006-06-20 22:18:19 +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
veego
815bc267a9 Add missing $NetBSD$ which was there when i generated distinfo. 2005-05-17 06:26:40 +00:00
veego
e57db3afa2 Don't initialize $(LD_SEARCH_FLAGS), which is used in the $(LD) link command.
Inspired by an patch from agc to tk83. Thx to krister for pointing that out
to me.
fix PR pkg/30241
2005-05-16 17:04:03 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
b12d62efb5 Add RMD160 digests. 2005-02-24 12:13:41 +00:00
jlam
8b2040b409 Always create a ${TOOLS_DIR}/bin/rpcgen to wrap the real rpcgen.
The wrapper will correctly set the CPP environment variable to a
stat((2)able path to a C preprocessor, then rely on the PATH to
find and invoke the real rpcgen.

Remove NO_EXPORT_CPP in package Makefiles where it was used just to
avoid problems with rpcgen.  The build system now just does the right
thing automatically without needing package-specific knowledge.

This fixes PR pkg/27272.
2004-12-18 19:24:26 +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
he
0efe4873bb Add a patch to fix a race condition in the straps program. If
traps arrive in a steady stream, straps will exit before the client
(scotty) manages to connect, because traps are handled before new
client connections in straps.  Adds a sleep(3) first, and rearranges
the order of handling of these events, so that scotty can get around
to connecting as a client before the first trap is handled by straps.

Bump pkgrevision to 3.
2004-07-07 14:39:33 +00:00
minskim
286b465b38 - Use -ltcl and -ltk instead of -ltcl83 and -ltk83, which are
version-dependent.
- Buildlink tcl-scotty.
- Enable pkgviews installation.
2004-06-05 04:30:44 +00:00
minskim
91068be19e Enable pkgviews installation. 2004-06-04 14:48:59 +00:00
minskim
6c8483a9fd Use buildlink framework and switch to Tcl 8.4.
Bump PKGREVISION due to the tcl dependency change.
2004-06-04 14:47:02 +00:00
minskim
a273e6619e Remove tk from CATEGORIES sinec this package depends on tcl only. 2004-06-04 14:44:31 +00:00
he
83caf8d871 Unconditionally add TCL_LIBS to LIBS; needed to pick up -lpthread from
the TCL configuration on NetBSD-current.
2004-05-13 12:07:48 +00:00
he
4ec4bb2a1b Add NO_EXPORT_CPP=yes, since exporting CPP will confuse rpcgen when
CPP's value is just "cpp", since that's not stat(2)able.  Instead,
let rpcgen's default be used.
2004-03-09 09:33:48 +00:00
minskim
ac690cf634 Replace lang/tcl with lang/tcl83. Packages compatible with 8.4 will
be updated to depend on lang/tcl after Tcl/Tk update.
2004-03-08 19:52:50 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
he
42670a0633 Centralize the specification of the version number, so that the
post-install target doesn't get out of sync and creates a symlink
pointing into empty space.  Package revision bumped to 1 since
this will modify a binary package.
2003-11-20 14:26:00 +00:00
martti
8cee801716 COMMENT should start with a capital letter. 2003-07-21 17:10:16 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
cjep
4e7b759367 Add RCS tag. 2002-12-08 13:31:24 +00:00
jwise
33f597505f Update tcl-scotty to version 2.1.11 and tkined to version 1.4.11 (the version bundled with scotty-2.1.11)
Tnm changes since 2.1.10:

15/6/01 (bug fix) Fixed a buffer overrun in ntping. This is actually
the reason to make this bugfix release public.

2/11/99 (bug fix) Make sure that remaining job times do not increase if
the system clock moves backwards.

17/5/99 (bug fix) Make sure that commands bound to a recv event are
always evaluated.

6/4/99 (bug fix) Fixed a Y2K bug in tnmHttp.c (thanks to bkozuma@aol.com
for finding this problem).

23/3/99 (bug fix) Accept derived types (e.g. DisplayString) in a varbind
list.

9/3/99 (bug fix) Fixed bugs in straps.c which could cause security
problems due to buffer overruns or signed/unsigned conversion.

8/3/99 (new feature) Added the global tnm(cache) variable which points
to a directory where Tnm saves frozen MIB files. The default value for
tnm(cache) is compatible with previous 2.1.X releases.


Tkined changes since 1.4.10:

21/4/99 (bug fix) The size of the canvas is now independent from the
resolution of the display. Further, PostScript dumps should now fit
on the selected page size.
2002-11-25 17:53:20 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
wiz
433b62957e Move to sha1 checksum, and/or add distfile sizes. 2001-04-21 11:23:08 +00:00
agc
bbc67fac91 + 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:53:33 +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
he
a5ab040e62 Redo the patch to tnmInit.c so that we don't test a now-uninitialized
variable (caused by other parts of that patch).  This lead to
precompiled MIB files being installed in "unknown-os" instead of
in "${MACHINE_ARCH}-${OPSYS}" when scotty was compiled with
optimization (which is the default), and subsequent mismatch between
installed files and PLIST.
2001-01-24 18:49:55 +00:00
he
2ebee49263 Depend on tcl>=8.3.2 instead of tcl-8.3.2 now that PKGNAME of tcl
is bumped to tcl-8.3.2nb1.
2001-01-24 18:44:57 +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
jwise
348152bf7b Fix an obvious syntax error in patch-ae.
People should *really* test code before committing it.  _Especially_ in
packages which they are not the maintainer of...
2000-10-13 18:59:30 +00:00