[Lunar-commits] r26492 - in moonbase/branches/crater/modules_fixed_for_glibc_2.7: . util-linux-ng

Samuel Verstraete elangelo at lunar-linux.org
Mon Oct 29 23:04:25 CET 2007


Author: elangelo
Date: 2007-10-29 23:04:25 +0100 (Mon, 29 Oct 2007)
New Revision: 26492

Added:
   moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux-ng/
   moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux-ng/DEPENDS
   moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux-ng/DETAILS
   moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux-ng/POST_INSTALL
   moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux-ng/make-issue
Log:
replacement of util-linux


Added: moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux-ng/DEPENDS
===================================================================
--- moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux-ng/DEPENDS	                        (rev 0)
+++ moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux-ng/DEPENDS	2007-10-29 22:04:25 UTC (rev 26492)
@@ -0,0 +1 @@
+depends  ncurses

Added: moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux-ng/DETAILS
===================================================================
--- moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux-ng/DETAILS	                        (rev 0)
+++ moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux-ng/DETAILS	2007-10-29 22:04:25 UTC (rev 26492)
@@ -0,0 +1,18 @@
+          MODULE=util-linux-ng
+         VERSION=2.13.0.1
+          SOURCE=$MODULE-$VERSION.tar.bz2
+         #SOURCE2=fsck-compat.patch
+         #SOURCE3=hal-mount-options.patch
+   SOURCE_URL[0]=$KERNEL_URL/pub/linux/utils/$MODULE/v2.13
+      SOURCE_VFY=sha1:59e19626951955a1c4cab53f7fa4e818fd159887
+        #WEB_SITE=ftp://ftp.win.tue.nl/pub/linux-local/utils/util-linux
+         ENTERED=20010922
+         UPDATED=20071029
+           SHORT="util-linux contains essential utilities for any Linux box."
+
+cat << EOF
+Util-linux is a suite of essential utilities for any Linux system. Its
+primary audience is system integrators and DIY Linux hackers. Util-linux
+is attempting to be portable, but the only platform it has been tested
+much on is Linux i386.
+EOF

Added: moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux-ng/POST_INSTALL
===================================================================
--- moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux-ng/POST_INSTALL	                        (rev 0)
+++ moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux-ng/POST_INSTALL	2007-10-29 22:04:25 UTC (rev 26492)
@@ -0,0 +1,8 @@
+if ! [ -d /etc/init.d ]; then
+     mkdir -p /etc/init.d
+fi
+
+if ! grep -q "^issu::once:/sbin/make-issue" /etc/inittab ; then
+  echo "issu::once:/sbin/make-issue" >> /etc/inittab
+fi
+

Added: moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux-ng/make-issue
===================================================================
--- moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux-ng/make-issue	                        (rev 0)
+++ moonbase/branches/crater/modules_fixed_for_glibc_2.7/util-linux-ng/make-issue	2007-10-29 22:04:25 UTC (rev 26492)
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+[ ! -w /etc/ ] && exit 0
+
+for ISSUE in /etc/issue /etc/issue.net ; do
+  if [ -f /etc/lunar.release ] ; then
+    cat /etc/lunar.release > $ISSUE
+  else
+    echo "Lunar Linux 1.4.0 (General P. Fault)" > $ISSUE
+  fi
+  echo "Kernel `uname -r` on an `uname -m`" >> $ISSUE
+  echo "" >> $ISSUE
+done
+



More information about the Lunar-commits mailing list