summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2012-06-10 16:40:24 +0000
committerwiz <wiz@pkgsrc.org>2012-06-10 16:40:24 +0000
commitb9c3f490a944f0fc5ced9eafdc0904e04f32bcdc (patch)
treed407f176e8f090fc7de6b15819cf26e44eddc1c6 /x11
parent72747b38ccf3677947788556c52124468db8ed03 (diff)
downloadpkgsrc-b9c3f490a944f0fc5ced9eafdc0904e04f32bcdc.tar.gz
Update to 1.0.7.
1.0.7: This release features a lot of cleanups, portability & build configuration improvements, and some fixes for building on BSD releases, especially recent versions of FreeBSD. 1.0.6: This release mostly covers build fixes, including one needed for building on FreeBSD 9.0, and minor janitorial cleanups. 1.0.5: A minor release featuring documentation improvements and janitorial cleanups. sessreg is used by display managers such as xdm and gdm to record X sessions in utmp, wtmp, and lastlog files. 1.0.4: Alan Coopersmith: X_NOT_POSIX bits for pre-POSIX-1990 systems not needed any more Version bump: 1.0.4 David Nusinow: Require xproto instead of libX11 for building (bug #9631) James Cloos: Add missing PHONY line for automatic ChangeLog generation
Diffstat (limited to 'x11')
-rw-r--r--x11/sessreg/Makefile4
-rw-r--r--x11/sessreg/distinfo11
-rw-r--r--x11/sessreg/patches/patch-ab6
-rw-r--r--x11/sessreg/patches/patch-sessreg.c20
4 files changed, 31 insertions, 10 deletions
diff --git a/x11/sessreg/Makefile b/x11/sessreg/Makefile
index 040d4903761..5463e0c0276 100644
--- a/x11/sessreg/Makefile
+++ b/x11/sessreg/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2008/05/24 21:45:20 tnn Exp $
+# $NetBSD: Makefile,v 1.4 2012/06/10 16:40:24 wiz Exp $
-DISTNAME= sessreg-1.0.3
+DISTNAME= sessreg-1.0.7
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XORG:=app/}
EXTRACT_SUFX= .tar.bz2
diff --git a/x11/sessreg/distinfo b/x11/sessreg/distinfo
index 4f367a2e37a..8a4b4f441b8 100644
--- a/x11/sessreg/distinfo
+++ b/x11/sessreg/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2007/11/23 12:23:40 bjs Exp $
+$NetBSD: distinfo,v 1.4 2012/06/10 16:40:24 wiz Exp $
-SHA1 (sessreg-1.0.3.tar.bz2) = cdebc8cc176b16c05f34b5dd1eaca710bda0e5be
-RMD160 (sessreg-1.0.3.tar.bz2) = 6ed2c5568d58e42557ac65dff500fc019cf65550
-Size (sessreg-1.0.3.tar.bz2) = 94690 bytes
-SHA1 (patch-ab) = 81c42cd1206d58d740d04be65f037f2173a451e4
+SHA1 (sessreg-1.0.7.tar.bz2) = 2c806506e1ebdd27b0628dac5c699aae9268a11d
+RMD160 (sessreg-1.0.7.tar.bz2) = 77d5ecd945282487d9cc5f2079dc5bbb6a84ea7c
+Size (sessreg-1.0.7.tar.bz2) = 120461 bytes
+SHA1 (patch-ab) = f4f8a51bfe022f6e4f8ad2471f13d68570f456cb
+SHA1 (patch-sessreg.c) = a2e4052e0c443458dfa0e03b4379a4bbd7b52f35
diff --git a/x11/sessreg/patches/patch-ab b/x11/sessreg/patches/patch-ab
index c568dd53825..f0553db6e52 100644
--- a/x11/sessreg/patches/patch-ab
+++ b/x11/sessreg/patches/patch-ab
@@ -1,11 +1,11 @@
-$NetBSD: patch-ab,v 1.1 2007/11/23 12:23:40 bjs Exp $
+$NetBSD: patch-ab,v 1.2 2012/06/10 16:40:24 wiz Exp $
Ugh ... more arbitrary per-OS preprocessor fun; let's replace this
with something we can keep track of more intuitively.
---- sessreg.h.orig 2007-06-11 18:41:04.000000000 -0400
+--- sessreg.h.orig 2011-06-26 16:30:31.000000000 +0000
+++ sessreg.h
-@@ -86,7 +86,7 @@
+@@ -76,7 +76,7 @@
#endif
#ifdef CSRG_BASED
diff --git a/x11/sessreg/patches/patch-sessreg.c b/x11/sessreg/patches/patch-sessreg.c
new file mode 100644
index 00000000000..adac406941b
--- /dev/null
+++ b/x11/sessreg/patches/patch-sessreg.c
@@ -0,0 +1,20 @@
+$NetBSD: patch-sessreg.c,v 1.1 2012/06/10 16:40:24 wiz Exp $
+
+Make sure file name defines exist on NetBSD.
+
+--- sessreg.c.orig 2011-09-26 23:01:11.000000000 +0000
++++ sessreg.c
+@@ -99,6 +99,13 @@ static const char *wtmpx_file = NULL;
+ static const char *utmpx_file = NULL;
+ #endif
+ #endif
++#ifndef WTMPX_FILE
++#define WTMPX_FILE _PATH_WTMPX
++#endif
++#ifndef UTMPX_FILE
++#define UTMPX_FILE _PATH_UTMPX
++#endif
++
+ static int utmp_none, wtmp_none;
+ /*
+ * BSD specific variables. To make life much easier for Xstartup/Xreset