diff -u -r systemd-187.old/configure.ac systemd-187/configure.ac --- systemd-187.old/configure.ac 2012-08-04 12:40:15.415217549 +0200 +++ systemd-187/configure.ac 2012-08-04 12:43:10.653014512 +0200 @@ -504,7 +504,7 @@ AC_PATH_PROG([XSLTPROC], [xsltproc]) AM_CONDITIONAL(HAVE_XSLTPROC, test x"$XSLTPROC" != x) -AC_ARG_WITH(distro, AS_HELP_STRING([--with-distro=DISTRO],[Specify the distribution to target: One of fedora, suse, debian, ubuntu, arch, gentoo, slackware, altlinux, mandriva, mageia, angstrom or other])) +AC_ARG_WITH(distro, AS_HELP_STRING([--with-distro=DISTRO],[Specify the distribution to target: One of fedora, suse, debian, ubuntu, arch, gentoo, slackware, altlinux, mandriva, mageia, angstrom, nutyx or other])) if test "z$with_distro" = "z"; then if test "$cross_compiling" = yes; then AC_MSG_WARN([Target distribution cannot be reliably detected when cross-compiling. You should specify it with --with-distro (see $0 --help for recognized distros)]) @@ -587,6 +587,12 @@ AC_DEFINE(TARGET_MAGEIA, [], [Target is Mageia]) M4_DEFINES=-DTARGET_MAGEIA=1 ;; + nutyx) + SYSTEM_SYSVINIT_PATH=/etc/rc.d/init.d + SYSTEM_SYSVRCND_PATH=/etc/rc.d + AC_DEFINE(TARGET_NUTYX, [], [Target is NuTyX]) + M4_DEFINES=-DTARGET_NUTYX=1 + ;; other) ;; *) @@ -639,6 +645,7 @@ AM_CONDITIONAL(TARGET_MANDRIVA, test x"$with_distro" = xmandriva) AM_CONDITIONAL(TARGET_ANGSTROM, test x"$with_distro" = xangstrom) AM_CONDITIONAL(TARGET_MAGEIA, test x"$with_distro" = xmageia) +AM_CONDITIONAL(TARGET_NUTYX, test x"$with_distro" = xnutyx) AM_CONDITIONAL(HAVE_SYSV_COMPAT, test "$SYSTEM_SYSV_COMPAT" = "yes") diff -u -r systemd-187.old/Makefile.am systemd-187/Makefile.am --- systemd-187.old/Makefile.am 2012-08-04 12:40:15.345218430 +0200 +++ systemd-187/Makefile.am 2012-08-04 12:44:24.922080822 +0200 @@ -189,6 +189,12 @@ -DKBD_SETFONT=\"/bin/setfont\" \ -DDEFAULT_FONT=\"LatArCyrHeb-16\" else +if TARGET_NUTYX +AM_CPPFLAGS += \ + -DKBD_LOADKEYS=\"/bin/loadkeys\" \ + -DKBD_SETFONT=\"/bin/setfont\" \ + -DDEFAULT_FONT=\"LatArCyrHeb-16\" +else AM_CPPFLAGS += \ -DKBD_LOADKEYS=\"/bin/loadkeys\" \ -DKBD_SETFONT=\"/bin/setfont\" \ @@ -199,6 +205,7 @@ endif endif endif +endif # ------------------------------------------------------------------------------ rootbin_PROGRAMS = \ @@ -423,6 +430,11 @@ systemd-rc-local-generator endif +if TARGET_NUTYX +dist_systemunit_DATA += \ + units/frugalware/display-manager.service +endif + dist_doc_DATA = \ README \ NEWS \ diff -u -r systemd-187.old/src/journal/journalctl.c systemd-187/src/journal/journalctl.c --- systemd-187.old/src/journal/journalctl.c 2012-08-04 12:40:15.355218304 +0200 +++ systemd-187/src/journal/journalctl.c 2012-08-04 12:44:52.461734604 +0200 @@ -327,8 +327,8 @@ } #ifdef HAVE_ACL - if (!arg_quiet && geteuid() != 0 && in_group("adm") <= 0) - log_warning("Showing user generated messages only. Users in the group 'adm' can see all messages. Pass -q to turn this message off."); + if (!arg_quiet && geteuid() != 0 && in_group("admin") <= 0) + log_warning("Showing user generated messages only. Users in the group 'admin' can see all messages. Pass -q to turn this message off."); #endif if (arg_directory) diff -u -r systemd-187.old/src/journal/journald.c systemd-187/src/journal/journald.c --- systemd-187.old/src/journal/journald.c 2012-08-04 12:40:15.355218304 +0200 +++ systemd-187/src/journal/journald.c 2012-08-04 12:45:22.681354690 +0200 @@ -205,7 +205,7 @@ } static void server_read_file_gid(Server *s) { - const char *adm = "adm"; + const char *adm = "admin"; int r; assert(s); @@ -215,7 +215,7 @@ r = get_group_creds(&adm, &s->file_gid); if (r < 0) - log_warning("Failed to resolve 'adm' group: %s", strerror(-r)); + log_warning("Failed to resolve 'admin' group: %s", strerror(-r)); /* if we couldn't read the gid, then it will be 0, but that's * fine and we shouldn't try to resolve the group again, so