Commit graph

104 commits

Author SHA1 Message Date
jmmv
7a8ccc0bcf Properly detect statvfs(2) under NetBSD so that gnome-vfs can determine the
file system type in which a given file lives.  This is just a hack to
work-around a somewhat serious portability problem in the configure script
and the code, which is currently so clumsy that it is difficult to fix it
properly through patches.

This solves, among other possible problems, the generation of image previews
in Nautilus because gnome-vfs thought the files were not local (as it could
not determine where they lived).

Bump PKGREVISION to 2.
2006-01-01 17:31:53 +00:00
wiz
f61c002199 Recursive PKGREVISION bump for gnutls shlib major bump.
Bump BUILDLINK_RECOMMENDED.
2005-12-31 12:32:31 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
rillig
39e41757fa Added patch-ax, which fixes PR 30948. The SunPro compiler does not know the
__FUNCTION__ macro, but knows the __func__ identifier.
2005-12-05 07:52:49 +00:00
hira
784f64a8f4 - Add missing files to PLIST.
- Add missing schema file to GCONF2_SCHEMAS.
Bump PKGREVISION.
2005-12-04 16:49:45 +00:00
kristerw
0bf006f0e5 Fix a build problem on OS X ('uint32_t' undeclared) using a patch from
the upstrems repository.
2005-11-19 16:24:57 +00:00
xtraeme
3ac5deb94d Apply patch from Leonard Schmidt to fix build on 2.x and maybe in
other platforms as well, this needs USE_MSGFMT_PLURALS.
2005-10-09 00:33:20 +00:00
drochner
c9a94b9b51 update to 2.12.1.1
too many fixes and feature additions to list here, see the NEWS
file in the distribution
2005-10-07 16:10:44 +00:00
adam
5190c86dd6 Revision bump, after fixing security/gnutls/buildlink3.mk 2005-09-05 14:15:32 +00:00
reed
efc8447316 Update patch to also make sure DragonFly uses statfs.
This fixes build on DragonFly. Patch from Joerg Sonnenberger.
Approved by maintainer, jmmv.
2005-08-25 16:23:42 +00:00
jlam
57f87df5e5 Use fam.buildlink3.mk instead of using fam/buildlink3.mk directly. 2005-08-10 21:11:39 +00:00
jlam
7820875fff Remove the abuse of buildlink that was pkg-config/buildlink3.mk. That
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables.  Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.

For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
2005-08-10 20:56:10 +00:00
wiz
d774725534 Change path from devel/pkgconfig to devel/pkg-config.
No PKGREVISION bump since pkg-config is only a BUILD_DEPENDS.
2005-07-21 16:29:42 +00:00
reed
08b4283fcb Add support for FreeBSD.
patch-ah -- only use EAI_ADDRFAMILY or EAI_NODATA if defined.
(Check for EAI_NODATA also because it is deprecated by FreeBSD.)
patch-am -- add checks for not FreeBSD related to statfs.

Okay'd by jmmv.
2005-07-06 06:36:03 +00:00
jlam
e46a9dd380 Create directories before installing files into them. 2005-06-17 03:50:19 +00:00
jmmv
0fe1327e86 Fix gnome-vfs2-cdda build under Dragonfly. Patch from Joerg Sonnenberger. 2005-06-02 17:10:10 +00:00
jmmv
f0cd0c3394 Fix build on DragonFly (errno conflicts).
Patch provided by Joerg Sonnenberger in private mail.
2005-05-31 18:28:44 +00:00
rillig
4628505e04 Replaced $f with ${f} to emphasize a Makefile variable is meant, not a
shell variable.
2005-05-22 21:43:22 +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
reed
0fddf6ebdb Bump BUILDLINK_RECOMMENDED.gnome-vfs2 to gnome-vfs2>=2.10.1. Its
dependency gnutls had an SONAME change, so 2.10.0 could have been
built before and after this and so could have two diffferent packages
with same package name. This happened a couple weeks ago.  The
update for gnome-vfs2 2.10.1 happened after this.

(I never checked other software that may use libgnutls.)
2005-05-18 18:50:19 +00:00
jmmv
cb38febb98 Make gnome-vfs2-{cdda,smb} depend on gnome-vfs2>=2.10.1 to avoid possible
problems due to "desynchronization".
2005-05-18 16:08:17 +00:00
drochner
9a604f74bc update to 2.10.1
changes:
-Fixed some leaks
-Translation updates
2005-04-26 18:03:18 +00:00
rh
7df068b084 Set BUILDLINK_RECOMMENDED to 2.10.0 or higher due to CDDB vulnerability:
http://secunia.com/advisories/14877/
2005-04-15 01:59:29 +00:00
jmmv
ec2fbc2586 Apply patch from Gentoo to fix security problem in the cdda module. Bump
gnome-vfs2-cdda's module to 1.

Quoting the Gentoo advisory: "The GnomeVFS and libcdaudio libraries contain
a buffer overflow that can be triggered by a large CDDB response, potentially
allowing the execution of arbitrary code."

See http://www.gentoo.org/security/en/glsa/glsa-200504-07.xml and
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0706 for more
information.
2005-04-12 20:12:02 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
jmmv
85b55a7b9b Explicitly disable howl; fixes build if it's installed. 2005-04-10 15:37:13 +00:00
rillig
b002c33d27 Added a patch necessary for gcc-2.95. Approved by wiz. 2005-04-05 20:29:04 +00:00
jmmv
f732f063cf Remove LIBTOOL_REQD; tv@ has just bumped the version in bsd.pkg.mk. 2005-03-22 16:01:28 +00:00
jmmv
92d0440dfd Update gnome-vfs2, gnome-vfs2-cdda and gnome-vfs2-smb to 2.10.0:
gnome-vfs 2.10.0
    * Translation updates

    Note: The handling of dav:// and http:// changed with this release.
     If you use http:// the http-method will be in http-only
     mode and won't try to retrive file information through webdav.
     Be sure to use dav:// and davs:// for webdav resources!

gnome-vfs 2.9.93

    * Bugs fixed:
	+ smb-method: fix browsing of (non-domain) workgroups and
                      browsing of Windows machines not on a domain

gnome-vfs 2.9.92

    * Bugs fixed:
	+ Fix some tests
	+ smb-method: Fix crashes when user specified in uri
	+ smb-method: Some authentication fixes
	+ sftp-method: fix memory leaks
	+ Make GnomeVFSSocket handle cancellation earlier
	+ ftp-method: Fix access rights
	+ Return OK on read/writes of 0 bytes, even at eof
	+ Make gnome_vfs_read_entire_file nul-terminate the string
	  to fix some apps that depended on this
	+ Get right mime description for folders.

gnome-vfs 2.9.91

    Note: The handling of dav:// and http:// changed with this release.
     If you use http:// the http-mehtod will be in http-only
     mode and won't try to retrive file information through webdav.
     Be sure to use dav:// and davs:// for webdav resources!

    * Features:
	+ Browse for the new sftp-ssh service

    * Bugs fixed:
	+ fix gnomevfs-copy to have cp semantics so it
	  won't override directories
	+ fix copying data to FAT 16 file systems
	+ sftp-method: clear up closed ssh connections and processes
	+ sftp-method: increased timeout for initiating connections
	+ http-method: work around broken icecast server
	+ http-method: update to neon version 0.24.7
	+ http-method: fix a possible crasher and plug a few leaks
	+ ftp-method: fix directory listings for windows ftp servers
	+ smb-method: fix connection cache lookups
	+ fix gnome_vfs_uri_extract_short_name to never return NULL
	+ better default folder handler mechanism
	+ fix bad grammar in http-proxy schema file
	+ various doc and translation updates
	+ build fixes

gnome-vfs 2.9.90

    * Features:
	+ support for joliet cdrom labels
	+ allow eject of unmounted volumes
	+ use posix_fadvice when doing large copies
	  to avoid bad cache behaviour
	+ Better smb authentication behaviour,
	  now uses the same password on all the shares
	  on a server.
	+ Update to the API for no auto login that was
	  commited to samba
	+ Support setgid directories in gnome-vfs-xfer

    * Bugs fixed:
	+ sftp: fix crash
	+ fix deadlock in gnome-vfs daemon with hal enabled

gnome-vfs 2.9.3

    * Features:
	+ gnomevfs-mv program added
	+ Added GNOME_VFS_OPEN_TRUNCATE open flag

    * Bugs fixed:
	+ smb: New mechanism for handling authentication

	  NOTE: This should work a lot better then before, but unless
	  you first apply the samba patch from
	  https://bugzilla.samba.org/show_bug.cgi?id=2092
	  there can be problems with logging in as a user on shares
	  that support anonymous logins.

	+ sftp: Honour force_replace flag in move
	+ use right icon name field in mime files
	+ fix mimetype detection for names with a dot in
	+ build fixes on IA64

gnome-vfs 2.9.2

    * Features:
	+ Deprecate parts of GnomeVFSMimeApplication structure
	+ AIX support
	+ Better mime detection
	+ New HAL support for volumes/drives

    * Bugs fixed:
	+ Fix memory leak
	+ Detect mime data changed in mime monitor
	+ Fix EOF problem in sftp method

gnome-vfs 2.9.1

    * Features:
        + removed the vfolder and cdemenu methods
	+ Updated the mime handler APIs, deprecated some old APIs

    * Bugs fixed:
        + Fixed bogus gcc warnings
2005-03-22 15:56:41 +00:00
jmmv
8e8e030fcb Also include krb5.buildlink3.mk from here so that depending packages can
find the correct files (and dependencies, such as db4).

I suspect this will fix PR pkg/29710, PR pkg/29711 and PR pkg/29715, which
could be a result of the (incorrect) change in PR pkg/29712 sent by the
submitter of all these reports.
2005-03-18 19:32:21 +00:00
jmmv
8bcbf5fb6b Include krb5.buildlink3.mk file so that gssapi support can be built on
systems which support it (not true under NetBSD, as there is no krb5-config
file; no harm done, but a workaround should be put in place, which is
kinda laborious).

"Fixes" build under Linux (I'm not sure it was really broken, but anyway,
this was in fact a problem), as reported in PR pkg/29712.
2005-03-18 19:28:09 +00:00
jmmv
01e212d00c Updated gnome-vfs2, gnome-vfs2-cdda and gnome-vfs2-smb to 2.8.4:
* Bugs fixed:
+ Never return NULL on gnome_vfs_uri_extract_short_name calls
+ sftp-method: always check for the gnome_vfs_unescape_string return value
+ sftp-method: honor the force_replace flag on moves
+ gzip-method: correctly return GNOME_VFS_ERROR_EOF
+ Plug some memory leaks
+ Fix bogus warnings with later gcc versions
+ Various translation updates
2005-02-26 17:23:01 +00:00
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
uebayasi
211bc4976b Fix quoting. 2005-02-14 07:02:08 +00:00
recht
d5f5f55a3d Pull in a fix from gnome-vfs CVS:
* libgnomevfs/gnome-vfs-mime-info-cache.c:
        (gnome_vfs_mime_get_all_desktop_entries):
        Fix a memory leak, patch from Josselin Mouette <joss@debian.org>
        (Closes: #159823).

http://bugzilla.gnome.org/show_bug.cgi?id=159823

bump PKGREVISION to 3
2005-01-21 20:32:23 +00:00
recht
a22373e549 - add fix for gzip-method from
http://bugzilla.gnome.org/show_bug.cgi?id=157275
  (which also is in the gnome-vfs2 CVS)

        * modules/gzip-method.c (do_read): Return GNOME_VFS_ERROR_EOF when
        we reach the end of a file with the gzip method. Fixes bug 157275.

- add fix for sftp-method from gnome-vfs2 CVS to make sftp URIs
  actually work

        * modules/sftp-method.c: always check gnome_vfs_unescape_string
        return value.
        * modules/sftp-method.c (do_move): honour the force_replace flag.

- sync with opendarwinports and make CFLAGS.Darwin to LDFLAGS.Darwin
  and remove obsolute stuff (leaves only -lresolv)

bump PKGREVISION to 2
2005-01-20 21:32:11 +00:00
jmmv
844bfd6fb3 Use sane paths instead of relying on the XDG_{CONFIG,DATA}_DIRS variables
beeing set in the environment, which have a very big chance on producing
misbehavior at runtime.  Should have done this a long time ago.
Bump PKGREVISION to 1.
2005-01-11 12:32:53 +00:00
recht
30bdc67bc3 Follow darwinports lead and set the Darwin specific flags rather as
CFLAGS than LDFLAGS. (In other words: revert revision 1.41.)
2004-12-05 23:48:41 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
recht
878b488d75 update to gnome-vfs2-2.8.3
2004-10-28  Alexander Larsson  <alexl@redhat.com>

	* NEWS:
	Update for release

2004-10-28  Alexander Larsson  <alexl@redhat.com>

	* libgnomevfs/gnome-vfs-utils.c: (filename_charset_cache_free),
	(vfs_get_filename_charset),
	(gnome_vfs_format_uri_for_display_internal),
	(gnome_vfs_format_uri_for_display),
	(gnome_vfs_make_uri_from_input_internal),
	(gnome_vfs_make_uri_from_input):
	Correctly handle the new forms of G_BROKEN_FILENAMES

2004-10-27  Ray Strode  <rstrode@redhat.com>

	* libgnomevfs/gnome-vfs-mime-handlers.c
	(gnome_vfs_mime_application_new_from_id):
	Chomp spaces off command strings.

2004-10-26  Alexander Larsson  <alexl@redhat.com>

	* libgnomevfs/gnome-vfs-mime-info-cache.c:
	Handle default.list files that have lists of desktop files.

2004-10-21  Alexander Larsson  <alexl@redhat.com>

	* libgnomevfs/gnome-vfs-xfer.c (copy_symlink):
	Handle existing files when copying symlinks.

2004-10-21  Alexander Larsson  <alexl@redhat.com>

	* libgnomevfs/gnome-vfs-xfer.c (gnome_vfs_new_directory_with_unique_name):
	Set vfs_status on callback.

2004-10-18  Ray Strode  <rstrode@redhat.com>

	* libgnomevfs/eggdesktopentries.c
	(egg_desktop_entries_parse_entry):
	Reword error message to not break string freeze.

2004-10-18  Ray Strode  <rstrode@redhat.com>

	* libgnomevfs/eggdesktopentries.c
	(egg_desktop_entries_parse_entry):
	Error out if trying to add key-value pair to comment group
	(Patch from Miloslav Trmac <mitr@redhat.com>)

2004-10-18  Alexander Larsson  <alexl@redhat.com>

	* libgnomevfs/gnome-vfs-hal-mounts.c (_hal_get_drive_name):
	Use utf8 +/- char, not latin1.

2004-10-18  Alexander Larsson  <alexl@redhat.com>

	* libgnomevfs/gnome-vfs-mime-info.c (handle_attribute):
	Remove some debug spew.

2004-10-15  Ryan Lortie  <desrt@desrt.ca>

	* libgnomevfs/gnome-vfs-uri.c:
	(split_toplevel_uri): Prevent uri->text from containing
	a NULL pointer (as per bug #141051).
	(set_uri_element): trivial style fix


2004-10-15  Alexander Larsson  <alexl@redhat.com>

	* libgnomevfs/gnome-vfs-unix-mounts.c:
	(_gnome_vfs_get_current_unix_mounts),
	(_gnome_vfs_get_unix_mount_table):
	Handle several changes to mtab/fstab in the same second.
	Fix aix mtime check.
	Patch from johnp@redhat.com

2004-10-13  Alexander Larsson  <alexl@redhat.com>

	* gnome-vfs-2.0.pc.in:
	Add missing dependencies.
	Patch from Juergen George Sawinski <j4y54w@sawinski.de>

2004-10-13  Alexander Larsson  <alexl@redhat.com>

	* libgnomevfs/gnome-vfs-socket-buffer.c (flush):
	Correctly move memory in buffer when we've written some bytes.

2004-10-11  Christian Kellner  <gicmo@gnome.org>

	* libgnomevfs/Makefile.am:
	Fix build issues with concurrent installs. Patch from
	Chris Kelso <ckelso@rooneyholdings.com>.

2004-10-11  Alexander Larsson  <alexl@redhat.com>

	* configure.in:
	Post release version bump
2004-11-28 13:00:17 +00:00
sketch
8fd4159a8f modules/cdda-cdrom-extensions.h also clashes with a Solaris header, so as it
was only added for Darwin support, only include it on that platform.
2004-11-09 16:04:52 +00:00
recht
f074cbd299 Put the Darwin specific linker flags in LDFLAGS.Darwin and not CFLAGS.Darwin. 2004-10-30 11:50:30 +00:00
jmmv
da7e4e2096 Update gnome-vfs2{,-cdda,-smb} to 2.8.2:
gnome-vfs 2.8.2
    * Bugs fixed:
	+ performance increase in gnome-vfs-volume-monitor
	+ Update to latest eggdesktopentries.c, fixing leaks
	+ Fix problem with http leak fix in last version
	+ Fix leaks
	+ Make folders open with components, to make run-dialog work for
	  folders
	+ Add support for additional headers to http backend
	+ API docs updates
	+ Default to the workgroup specified in smb.conf for network://
	+ Fix queue handling for monitoring events
	+ Add --disable-howl flag
	+ Ignore smb files with empty names when enumerating

gnome-vfs 2.8.1
    * Bugs fixed:
        + ftp-method: Don't ask for password if hostname wrong
	+ fix detection of and build with kerberos
	+ allow unref of the volume monitor after shutdown
	+ Fix http issues with gtik
	+ Fix leaks
	+ Fix default application handling. Now user defaults override
	  system defaults.
	+ Don't keep re-reading /etc/fstab
	+ Read the right fstab file on solaris
	+ sftp-method: use password if in uri
	+ http-method: fix seek to end of file
	+ http-method: various webdav fixes
	+ Handle empty but non-null http proxy hostname.
2004-10-26 21:01:06 +00:00
recht
7420714971 Adopt patches from darwinports to make gnome-vfs2 build on OS X.
While at it also combine patch-a[fk] since they've patched the same file.
2004-10-24 18:03:24 +00:00
tron
26dccaf673 Backout last change. Julio M. Merino Vidal already committed a patch
which solves this differently.
2004-09-22 21:27:24 +00:00
tron
73ee98821a Include "pkgsrc/net/bind9/buildlink3.mk' because this package requires
the BIND 9 resolver headers and libraries to for building.
2004-09-22 21:24:45 +00:00
jmmv
3fe5c44705 Fix build under NetBSD 2.0_BETA. Based on patch provided by Douglas Brebner
in private mail.
2004-09-22 08:37:27 +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