Commit graph

86 commits

Author SHA1 Message Date
rillig
fda59d7b87 Fixed pkglint warnings. 2005-10-07 12:18:19 +00:00
abs
8e32b054d7 fix NetBSD statvfs check to be >= 299000900 not >= 200040000 2005-09-06 07:59:32 +00:00
markd
288fb7291b Make openslp support optional (PR pkg/30715) and add an option for PAM.
Bump PKGREVISION.
2005-07-31 13:19:55 +00:00
markd
15dbb62571 Make sure configure finds the db4 lib from the pkgsrc package rather
than any other that might be installed in the base system (on for example
Red Hat Linux). Problem noted by Louis Guillaume in tech-pkg.
2005-07-30 13:12:24 +00:00
jlam
3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00
markd
b49bc98f59 Update netatalk to version 2.0.3.
Also fix build on NetBSD1.6

Changes in 2.0.3
================

* NEW: afpd: add a cachecnid option that controls if afpd should
       use the IDs stored in the AD2 files as cache. Defaults
       to off.
* UPD: afpd: deal with more than 32 groups.
* FIX: afpd: several catsearch fixes, based on patch from
       TSUBAKIMOTO Hiroya.
* FIX: afpd: fix a race when a client very quickly reconnects and
       tries to kill its old session.
* FIX: afpd: OSX style symlink caused problems with Panther clients.
* FIX: afpd: old files with default type didn't show the right icon
       in finder, from Shlomi Yaakobovich, slightly modified.
* FIX: cnid_check: disable cnid_check if CNID db was configured with
       transactions and really bail out after the first error.
* FIX: admin-group configure option was broken.
* FIX: several problems with IDs cached in AD2 files.
* FIX: Ignore BIDI in UTF8 hints from OSX.
* FIX: Lots of gcc warning fixes.
* FIX: small configure script changes.
2005-05-26 05:47:40 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
wiz
199f90370f Sort. 2005-05-03 15:40:57 +00:00
reed
ee8be9d0c1 RCD_SCRIPTS_EXAMPLEDIR is no longer customizable.
And always is defined as share/examples/rc.d
which was the default before.

This rc.d scripts are not automatically added to PLISTs now also.
So add to each corresponding PLIST as required.

This was discussed on tech-pkg in late January and late April.

Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere
and remove the RCD_SCRIPTS_EXAMPLEDIR itself.
2005-05-02 20:33:57 +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
markd
50356caa38 Need to explictly include security/openssl/buildlink3.mk as it wont be
pulled in if kerberos option not set.
2005-01-31 13:33:23 +00:00
markd
575f362e05 Make cups and kerberos optional. Bump PKGREVISION. 2005-01-31 09:53:11 +00:00
markd
f194fdbb1e Be explicit that the source for the rc scripts is not in files/ (the
package supplies them itself).
From Greg Woods by way of Jeremy Reed.
2005-01-16 20:00:05 +00:00
markd
b7e57420af Redo fixing of hardcoded paths, including actually using the value of
${RCD_SCRIPTS_EXAMPLEDIR} rather than just its default.
2005-01-07 12:29:02 +00:00
markd
5c95fe7466 USE_OLD_DES_API=yes rather than explicitly using -ldes 2005-01-05 10:30:44 +00:00
markd
a0523193f0 Update to netatalk 2.0.2.
Changes in 2.0.2
NEW: cnid: Add an indexes check and rebuild, optional for dbd (parameter
  check default no), standalone program cnid_index for cdb.
UPD: Enhanced afpd's -v command line switch and added -V for more verbose
  information
UPD: uams_gss: build the principal used by uams_gss.so from afpd's
  configuration, don't use GSS_C_NT_HOSTBASED_SERVICE
UPD: cnid_dbd: add process id in syslog and small clean up
REM: remove netatalkshorternamelinks.pl
FIX: afpd: check for DenyRead on FPCopyFile
FIX: afpd: add missing flush for AD2 Metadata on FPCopyFile
FIX: afpd: Deal with AFP3 connection and type 2 (non-UTF8) names.
  reported by Gair Heaton, HI RESOLUTION SYSTEMS
FIX: afpd: Broken 'crlf' option
FIX: afpd: fix afpd/dhx memory bug, by Ralf Schuchardt
FIX: afpd: Return an error if we cannot get the db stamp in afp_openvol.
FIX: afpd: Fix slp registration with Solaris9 slpd, from hat at
  fa2.so-net.ne.jp
2005-01-04 12:57:03 +00:00
reed
32d8f290c2 The default location of the pkgsrc-installed rc.d scripts is now
under share/examples/rc.d. The variable name already was named
RCD_SCRIPTS_EXAMPLEDIR.

This is from ideas from Greg Woods and others.

Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).
2004-12-28 02:47:40 +00:00
markd
9c5c3af204 Fix up a local path that snuck in. Noted by Krister Walfridsson. 2004-11-26 20:59:08 +00:00
markd
e6956fff93 Fix build with gcc2. 2004-11-07 12:21:27 +00:00
markd
52f8026831 Fix statvfs() handling. 2004-11-03 20:53:15 +00:00
markd
deda8f73a2 Update netatalk to 2.0.1
Changes:
     * Netatalk's file server, afpd, now speaking AFP 3.1 allows long
       filenames, UTF-8 names, large file support and full MacOS X
       compatibility
     * The print server task, papd, can directly interact with CUPS,
       automagically sharing all CUPS queues
     * Kerberos V support, allowing true "Single Sign On"
     * Whole rework of the CNID subsystem, providing reliable and
       persistant storage of file and directory IDs
     * Huge improvements regarding product documentation making
       Netatalk's features accessible more easily
     * Tons of bugs fixed compared to all previous versions
2004-11-02 11:26:28 +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
reed
9c790735db mk/bsd.pkg.install.mk now automatically registers
the RCD_SCRIPTS rc.d script(s) to the PLIST.

This GENERATE_PLIST idea is part of Greg A. Woods'
PR #22954.

This helps when the RC_SCRIPTS are installed to
a different ${RCD_SCRIPTS_EXAMPLEDIR}. (Later,
the default RCD_SCRIPTS_EXAMPLEDIR will be changed
to be more clear that they are the examples.)

These patches also remove the etc/rc.d/ scripts from PLISTs
(of packages that use RCD_SCRIPTS). (This also removes
now unused references from openssh* makefiles. Note that
qmail package has not been changed yet.)

I have been doing automatic PLIST registration for RC_SCRIPTS
for over a year. Not all of these packages have been tested,
but many have been tested and used.

Somethings maybe to do:
- a few packages still manually install the rc.d scripts to
  hard-coded etc/rc.d. These need to be fixed.
- maybe  remove from mk/${OPSYS}.pkg.dist mtree specifications too.
2004-04-23 22:07:52 +00:00
snj
6901d4b555 No longer used. 2004-04-11 22:21:26 +00:00
jlam
7db11b582a Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
by moving the inclusion of buildlink3.mk files outside of the protected
region.  This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.

BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list.  This ordering property is used to check for builtin
packages in the correct order.  The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end.  However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-18 09:12:08 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
minskim
ae152d91d5 bl3ify 2004-02-22 16:48:11 +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
grant
6eab5759a3 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 14:50:05 +00:00
reed
5a41c8b1b3 Add buildlink2.mk for net/netatalk. (Okay'd by wiz.)
This is for PR #23391 submitted by Hauke Fath. Changes include
using wildcard for include/atalk/* and include/netatalk/*
and also added bin/netatalk-config as a buildlink file.
2003-11-07 23:07:09 +00:00
jmc
6350ddf66e Nuke definition for DEINSTALL_EXTRA_TMPL here since DEINSTALL doesn't exist. 2003-09-03 03:16:58 +00:00
jlam
b2677a2cb0 Add definitions for DEINSTALL_EXTRA_TMPL and INSTALL_EXTRA_TMPL if
USE_PKGINSTALL is "YES".  bsd.pkg.install.mk will no longer automatically
pick up a INSTALL/DEINSTALL script in the package directory and assume that
you want it for the corresponding *_EXTRA_TMPL variable.
2003-08-30 22:51:11 +00:00
jlam
2920a32c71 Prepare for pkgviews by making sure that passing VIEW-INSTALL or
VIEW-DEINSTALL to the INSTALL/DEINSTALL scripts don't cause errors.
2003-08-30 20:22:49 +00:00
jmmv
12a10361a1 Set USE_PKGINSTALL instead of directly including bsd.pkg.install.mk. 2003-07-30 10:41:22 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
fredb
30f9923cc4 Update to netatalk-1.6.2, uses patches contributed by Toru TAKAMIZU in
PR pkg/21341. From "NEWS":

Changes in 1.6.2
================

* FIX: atalkd: Fixes for reading long configuration file lines. [Dan Wilga]
* FIX: afpd: CNID id allocation in a multiuser environment.
* FIX: papd: Fix PSSP support when PAM is enabled.
* FIX: macusers: Can now cope with IP addresses as well as host names.
* FIX: etc2ps.sh: Install correctly.
2003-04-28 04:07:45 +00:00
fredb
c47827137b Update netatalk to 1.6.1, using patches submitted by Toru TAKAMIZU in
PR pkg/20471:

Changes in 1.6.1
================

* UPD: Improve --enable-fhs. [Olaf Hering]
* UPD: Add BDB 4.1.x support.
* UPD: Add more documentation on CNID, as well as list which versions
       of Berkeley DB are supported.
* FIX: Codepage file maccode.koi8-r is now correctly cleaned.
* FIX: Fix init script location on SuSE. [Olaf]
* FIX: Build fixes. [Olaf, Steven N. Hirsch]
* FIX: Various bugs when a user doesn't have access permission to a folder.
       (Fixes an OSX kernel panic.)
* FIX: CNID, folders' DID handling with concurrent access or symlinks.
       (Fixes an endless loop in afpd.)
2003-02-23 19:18:51 +00:00
fredb
421e0e28de Re-arrange "configure", so as to re-order the linker flags, rather than
add extra ones, all so "libtool" doesn't drop the first "-lcrypt".
2003-02-18 04:40:04 +00:00
fredb
96617558ac Fix auth for non-DES unix passwords by linking in -lcrypt *before -lcrypto,
to get the right crypt()! Should close PR pkg/19033.
2003-02-18 01:13:22 +00:00
fredb
cb8a942c41 Update netatalk to 1.6.0. Significant changes since 1.5.5, from "NEWS":
Changes in 1.6.0
================

* FIX: pap looks at the STDOUT file descriptor to see if it's connected to
       a tty, instead of STDIN.

Changes in 1.6pre2
==================

* UPD: Removed --with-catsearch option from configure and enable FPCatSearch
       by default.
* UPD: The dbpath argument does now support variable substitution.
* FIX: Build fix for non-GNU-C compilers in libatalk/util/logger.c.
* FIX: Two directories with the same name but different case confused the
       Mac Finder.
* FIX: The ROOT_PARENT directory could get invalidated.

Changes in 1.6pre1
====================

* NEW: Long file name mangling support.
* NEW: Improved log file support.
* NEW: Server-side find capability ("FPCatSearch")
* NEW: Concurrent datastore (CDB) is now the default CNID datastore.  This
       should be heavily tested in a multiuser environment.
* NEW: Variable substitution support has been added for the dbpath AppleVolume
       option.
* UPD: CNID DID handling is now enabled by default.
* FIX: Various bug and build fixes as well as code cleanups.

*******************************************************************************
Changes to the package:

- Now use buildlink2.
- Drop --with-flock for now, as it's currently broken.
- Add (heretofore) missing dependendency on "devel/rx".
- Add --with-did=last, to avoid having to create a dependendency on db3.
   --with-did=last was the default with netatalk 1.5.5.
2003-02-15 20:01:06 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
abs
43fa788e4b Update netatalk to 1.5.5
Neither the Changelog nor CHANGES files list the changes from 1.5.3.1
2002-09-30 09:25:22 +00:00
taca
0fb7f0257b Remove setting PKGNAME and STAGE from position parameters ($1 and $2).
This break netatalk package under current bsd.pkg.install.mk.
2002-09-30 02:07:02 +00:00
abs
8738984922 adjust last 2002-09-02 11:52:58 +00:00
abs
e956f5ccb6 Updated netatalk to 1.5.3.1nb2:
Use getrlimit() and setrlimit() to attempt to set the open
	filedescriptor to a sane value. Avoids afpd running out of
	fork slots when serving MacOS 10.2 clients. Patch sent back
	to maintainers.
2002-09-02 11:43:38 +00:00
abs
0438906db7 update to 1.5.3.1nb1 - install scripts in /etc/rc.d 2002-08-29 11:16:14 +00:00
wiz
d3851f3dd9 USE_LIBTOOL, and create a directory that's wanted by the PLIST. 2002-05-25 13:33:20 +00:00