diff options
author | jmmv <jmmv@pkgsrc.org> | 2004-04-18 17:11:08 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2004-04-18 17:11:08 +0000 |
commit | 30182489f765ca56e3f7cfb18f1be78057393bfb (patch) | |
tree | 12ebbcd493d208fc6a6d5a934d5eba9972f88413 /sysutils/fam/distinfo | |
parent | b7e6c7cb56422e4f3a99a968e89e7d7d91ad9a59 (diff) | |
download | pkgsrc-30182489f765ca56e3f7cfb18f1be78057393bfb.tar.gz |
Fix location of temporary files, as they were beeing created under / instead
of /tmp! If you have been using GNOME, you may want to 'rm -f /.fam*' to
clean them up.
The problem is caused by two different issues, related to a call to tempnam:
- The code uses a HAVE_UNSETENV define to check if the unsetenv function
is available; however, the configure script does not check for it, so
unsetenv is never used. Fix the configure script to check for unsetenv.
- If unsetenv is not available, it does putenv("TMPDIR=") before calling
tempnam. The code expects that this call *unsets* the variable from the
environment (which happens in Linux), but instead it is *set* to an empty
value, causing the creation of files in the root directory. Fix this by
explicitly setting TMPDIR to /tmp.
Bump PKGREVISION to 1.
Diffstat (limited to 'sysutils/fam/distinfo')
-rw-r--r-- | sysutils/fam/distinfo | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/fam/distinfo b/sysutils/fam/distinfo index 00c443de574..ad76d55c57f 100644 --- a/sysutils/fam/distinfo +++ b/sysutils/fam/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.11 2004/04/14 20:53:08 adam Exp $ +$NetBSD: distinfo,v 1.12 2004/04/18 17:11:08 jmmv Exp $ SHA1 (fam-2.7.0.tar.gz) = 6c2316f02acf89a41c42ffc3d7fd9cf5eada83a8 Size (fam-2.7.0.tar.gz) = 301974 bytes -SHA1 (patch-aa) = 6ddb9ca9fd88de66a8edc3e2bc60b15b47c7b853 +SHA1 (patch-aa) = 19743b7627e72e96c13a1288d8872e85d42a6dca SHA1 (patch-ab) = a486fd2b7330a0942717fd2aebb0fbdeb3c87dc7 SHA1 (patch-ac) = 676966b0372780af4ee5536276132a04dd038863 SHA1 (patch-ad) = b8e621acd36811a76a84af82e6f2b5962973e344 @@ -11,9 +11,9 @@ SHA1 (patch-af) = 57946b3837479b641bb002620ae41008f49af995 SHA1 (patch-ag) = fa5889ad6d93af72d7efe83784caf61b2ac39d6a SHA1 (patch-ah) = d7763198df76d1f0783342a8961b59879e8e1241 SHA1 (patch-ai) = b80aafbb3849fc8c828b6829d8975b910e4d0fd5 -SHA1 (patch-aj) = 7aa752e629ad32925ec58cbe1532e8c9bd454a24 +SHA1 (patch-aj) = 39391961fd7929d6a5fb49ecb492585cb821afaa SHA1 (patch-ak) = 48ddfcf9b7562832402a464437ca485249d371a1 SHA1 (patch-ao) = 64827309bf91a2018629e28fef20109dde3fbf01 SHA1 (patch-ap) = 256910675fad9922c0bca47c5b080eb96b51fe1d SHA1 (patch-au) = 6bd507eb448b3fd126042759a3b6f70335401c5b -SHA1 (patch-ax) = 7bb6bd577377c22138d887e1568328a231f04c57 +SHA1 (patch-ax) = 950e9fd9de885f653f96aebaafc2269f489e2fad |