# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
- AC_INIT([disorder], [5.0.3], [richard+disorder@sfere.greenend.org.uk])
-AC_INIT([disorder], [5.0.DEV], [richard+disorder@sfere.greenend.org.uk])
++AC_INIT([disorder], [5.1], [richard+disorder@sfere.greenend.org.uk])
AC_CONFIG_AUX_DIR([config.aux])
- AM_INIT_AUTOMAKE(disorder, [5.0.3])
-AM_INIT_AUTOMAKE(disorder, [5.0.DEV])
++AM_INIT_AUTOMAKE(disorder, [5.1])
AC_CONFIG_SRCDIR([server/disorderd.c])
AM_CONFIG_HEADER([config.h])
+ AC_CONFIG_MACRO_DIR([m4])
# Find host type
AC_CANONICAL_HOST
;;
*linux* | *Linux* )
AC_MSG_RESULT([Linux])
+ AC_DEFINE_UNQUOTED([PATH_PROC_MOUNTS],["/proc/mounts"],[path to kernel mount list])
;;
*-apple-darwin* )
AC_MSG_RESULT([Mac OS X])
# Look for a suitable version of libdb among the versions found in FreeBSD 7.0
AC_CACHE_CHECK([looking for a libdb install],[rjk_cv_libdb],[
rjk_cv_libdb="none"
- for db in db43 db44 db45 db46; do
+ for db in db43 db44 db45 db47; do
if test -e /usr/local/lib/$db; then
rjk_cv_libdb=$db
break
AC_CHECK_HEADERS([db.h],[:],[
missing_headers="$missing_headers $ac_header"
])
- AC_CHECK_HEADERS([FLAC/file_decoder.h])
fi
AC_CHECK_HEADERS([dlfcn.h gcrypt.h \
getopt.h iconv.h langinfo.h \
AC_CHECK_TYPES([struct sockaddr_in6],,,[AC_INCLUDES_DEFAULT
#include <netinet/in.h>])
+ # Figure out how we'll check for devices being mounted and unmounted
+ AC_CACHE_CHECK([for list of mounted filesystems],[rjk_cv_mtab],[
+ if test -e /etc/mtab; then
+ rjk_cv_mtab=/etc/mtab
+ else
+ rjk_cv_mtab=none
+ fi
+ ])
+ if test $rjk_cv_mtab != none; then
+ AC_DEFINE_UNQUOTED([PATH_MTAB],["$rjk_cv_mtab"],[path to file containing mount list])
+ fi
+
# enable -Werror when we check for certain characteristics:
old_CFLAGS="${CFLAGS}"
fi
# Functions we can take or leave
- AC_CHECK_FUNCS([fls])
+ AC_CHECK_FUNCS([fls getfsstat])
if test $want_server = yes; then
# <db.h> had better be version 3 or later
AC_CACHE_CHECK([db.h version],[rjk_cv_db_version],[
- AC_PREPROC_IFELSE([
+ AC_PREPROC_IFELSE([AC_LANG_PROGRAM([
#include <db.h>
#ifndef DB_VERSION_MAJOR
# error cannot determine db version
#if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR <= 2
# error inadequate db version
#endif
- ],
+ ],[])],
[rjk_cv_db_version=ok],
[rjk_cv_db_version=inadequate])
if test $rjk_cv_db_version = ok; then
- AC_PREPROC_IFELSE([
+ AC_PREPROC_IFELSE([AC_LANG_PROGRAM([
#include <db.h>
#if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR == 6
# error http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=510270
#endif
- ],
+ ],[])],
[rjk_cv_db_version=ok],
[rjk_cv_db_version=toxic])
fi
if test $GCC = yes; then
CC="$CC -Wall -Werror"
fi
- AC_COMPILE_IFELSE([
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
static int x(char *f) {
return *f;
}
int z(const char *g) {
return x((char *)g);
- }],
+ }],[])],
[rjk_cv_pr29478=no],
[rjk_cv_pr29478=yes]
)
if test $GCC = yes; then
CC="$CC -Wreturn-type -Werror"
fi
- AC_COMPILE_IFELSE([
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[
static void *threadfn(void) {
for(;;)
;
- }],
+ }],[])],
[rjk_cv_gcc44_stupidity=no],
[rjk_cv_gcc44_stupidity=yes])
CC="$old_CC"
fi
# a reasonable default set of warnings
- CC="${CC} -Wall -W -Wpointer-arith -Wbad-function-cast \
+ CC="${CC} -Wall -W -Wpointer-arith \
-Wwrite-strings -Wmissing-prototypes \
-Wmissing-declarations -Wnested-externs"
-disorder (5.0.DEV) unstable; urgency=low
++disorder (5.1) stable; urgency=low
+
- * Development version.
++ * DisOrder 5.1
+
- -- Richard Kettlewell <rjk@greenend.org.uk> Sat, 12 Feb 2011 15:44:33 +0000
++ -- Richard Kettlewell <rjk@terraraq.org.uk> Sun, 17 Feb 2013 16:22:14 +0000
++
+disorder (5.0.3) stable; urgency=emergency
+
+ * Security: Local connections can no longer create and delete users
+ unless they are properly authorized.
+
+ -- Richard Kettlewell <rjk@greenend.org.uk> Sun, 31 Jul 2011 17:07:59 +0100
+
+disorder (5.0.2) unstable; urgency=low
+
+ * Mention login cookie.
+
+ -- Richard Kettlewell <rjk@greenend.org.uk> Sat, 28 May 2011 11:54:52 +0100
+
+disorder (5.0.1) unstable; urgency=low
+
+ * Disorder 5.0.1
+ * The sense of the Control -> Playing menu item was fixed.
+
+ -- Richard Kettlewell <rjk@greenend.org.uk> Thu, 10 Jun 2010 09:18:58 +0100
disorder (5.0) unstable; urgency=low