summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-video/mtxdrivers/mtxdrivers-0.3.0.ebuild4
-rw-r--r--media-video/nvidia-kernel/files/1.0.4349/NVIDIA_kernel-1.0-4349-2.5-20030402.diff6
-rw-r--r--media-video/nvidia-kernel/files/1.0.4363/NVIDIA_kernel-1.0-4363-2.5-20030714.diff6
-rw-r--r--net-mail/spamass-milter/files/spamass-milter.rc4
-rw-r--r--net-zope/zope/files/zope2
-rw-r--r--net-zope/zope/files/zope.rc62
6 files changed, 12 insertions, 12 deletions
diff --git a/media-video/mtxdrivers/mtxdrivers-0.3.0.ebuild b/media-video/mtxdrivers/mtxdrivers-0.3.0.ebuild
index 9c180b48d614..9929ffd235c9 100644
--- a/media-video/mtxdrivers/mtxdrivers-0.3.0.ebuild
+++ b/media-video/mtxdrivers/mtxdrivers-0.3.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mtxdrivers/mtxdrivers-0.3.0.ebuild,v 1.7 2003/11/20 02:29:38 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mtxdrivers/mtxdrivers-0.3.0.ebuild,v 1.8 2004/01/19 03:01:19 vapier Exp $
At="mtxdrivers-rh9.0-0.3.0.run"
DESCRIPTION="Drviers for the Matrox Parhelia and Millenium P650/P750 cards."
@@ -26,7 +26,7 @@ pkg_nofetch() {
src_unpack() {
mkdir ${S}
cd ${S}
- tail -4434 "${DISTDIR}/${At}" | tar -xvzf -
+ tail -n 4434 "${DISTDIR}/${At}" | tar -xvzf -
}
src_compile() {
diff --git a/media-video/nvidia-kernel/files/1.0.4349/NVIDIA_kernel-1.0-4349-2.5-20030402.diff b/media-video/nvidia-kernel/files/1.0.4349/NVIDIA_kernel-1.0-4349-2.5-20030402.diff
index 0f4e205ef305..c58673eede09 100644
--- a/media-video/nvidia-kernel/files/1.0.4349/NVIDIA_kernel-1.0-4349-2.5-20030402.diff
+++ b/media-video/nvidia-kernel/files/1.0.4349/NVIDIA_kernel-1.0-4349-2.5-20030402.diff
@@ -311,7 +311,7 @@ diff -ruN NVIDIA_kernel-1.0-4349/Makefile.kbuild NVIDIA_kernel-1.0-4349-2.5/Make
+ cp $(src)/$(RESMAN_CORE_OBJS) $(obj)/$(RESMAN_CORE_OBJS)
+
+$(obj)/$(VERSION_HEADER):
-+ echo \#define NV_COMPILER \"`$(CC) -v 2>&1 | tail -1`\" > $@
++ echo \#define NV_COMPILER \"`$(CC) -v 2>&1 | tail -n 1`\" > $@
+
+$(obj)/nv.o: $(obj)/$(VERSION_HEADER)
+
@@ -556,7 +556,7 @@ diff -ruN NVIDIA_kernel-1.0-4349/Makefile.nvidia NVIDIA_kernel-1.0-4349-2.5/Make
+ ld -d -r -o $@ $(LINUX_MODULE) $(RESMAN_KERNEL_MODULE)
+
+$(VERSION_HDR):
-+ echo \#define NV_COMPILER \"`$(CC) -v 2>&1 | tail -1`\" > $@
++ echo \#define NV_COMPILER \"`$(CC) -v 2>&1 | tail -n 1`\" > $@
+
+$(LINUX_MODULE): $(OBJECTS)
+ ld -r -o $@ $(OBJECTS)
@@ -620,7 +620,7 @@ diff -ruN NVIDIA_kernel-1.0-4349/conftest.sh NVIDIA_kernel-1.0-4349-2.5/conftest
+
+ VERSION="^Linux version [^(]* (.*@.*) (\(.*\)) .*"
+ KERNEL=$(cat /proc/version | sed "s/$VERSION/\1/" | cut -d ' ' -f 3)
-+ MODULE=$($* -v 2>&1 | tail -1 | cut -d ' ' -f 3)
++ MODULE=$($* -v 2>&1 | tail -n 1 | cut -d ' ' -f 3)
+
+ if test "$KERNEL" != "$MODULE"; then
+ #
diff --git a/media-video/nvidia-kernel/files/1.0.4363/NVIDIA_kernel-1.0-4363-2.5-20030714.diff b/media-video/nvidia-kernel/files/1.0.4363/NVIDIA_kernel-1.0-4363-2.5-20030714.diff
index 1bb862725c65..40993cd78d7f 100644
--- a/media-video/nvidia-kernel/files/1.0.4363/NVIDIA_kernel-1.0-4363-2.5-20030714.diff
+++ b/media-video/nvidia-kernel/files/1.0.4363/NVIDIA_kernel-1.0-4363-2.5-20030714.diff
@@ -325,7 +325,7 @@ diff -ruN NVIDIA_kernel-1.0-4363/Makefile.kbuild NVIDIA_kernel-1.0-4363-2.5/Make
+ cp $(src)/$(RESMAN_CORE_OBJS) $(obj)/$(RESMAN_CORE_OBJS)
+
+$(obj)/$(VERSION_HEADER):
-+ echo \#define NV_COMPILER \"`$(CC) -v 2>&1 | tail -1`\" > $@
++ echo \#define NV_COMPILER \"`$(CC) -v 2>&1 | tail -n 1`\" > $@
+
+$(obj)/nv.o: $(obj)/$(VERSION_HEADER)
+
@@ -570,7 +570,7 @@ diff -ruN NVIDIA_kernel-1.0-4363/Makefile.nvidia NVIDIA_kernel-1.0-4363-2.5/Make
+ ld -d -r -o $@ $(LINUX_MODULE) $(RESMAN_KERNEL_MODULE)
+
+$(VERSION_HDR):
-+ echo \#define NV_COMPILER \"`$(CC) -v 2>&1 | tail -1`\" > $@
++ echo \#define NV_COMPILER \"`$(CC) -v 2>&1 | tail -n 1`\" > $@
+
+$(LINUX_MODULE): $(OBJECTS)
+ ld -r -o $@ $(OBJECTS)
@@ -615,7 +615,7 @@ diff -ruN NVIDIA_kernel-1.0-4363/conftest.sh NVIDIA_kernel-1.0-4363-2.5/conftest
+
+ VERSION="^Linux version [^(]* (.*@.*) (\(.*\)) .*"
+ KERNEL=$(cat /proc/version | sed "s/$VERSION/\1/" | cut -d ' ' -f 3)
-+ MODULE=$($* -v 2>&1 | tail -1 | cut -d ' ' -f 3)
++ MODULE=$($* -v 2>&1 | tail -n 1 | cut -d ' ' -f 3)
+
+ if test "$KERNEL" != "$MODULE"; then
+ #
diff --git a/net-mail/spamass-milter/files/spamass-milter.rc b/net-mail/spamass-milter/files/spamass-milter.rc
index a4efd39a6828..cbb51484e391 100644
--- a/net-mail/spamass-milter/files/spamass-milter.rc
+++ b/net-mail/spamass-milter/files/spamass-milter.rc
@@ -2,7 +2,7 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Sample init script for Gentoo Linux
-# $Header: /var/cvsroot/gentoo-x86/net-mail/spamass-milter/files/spamass-milter.rc,v 1.1 2003/07/16 22:03:20 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/spamass-milter/files/spamass-milter.rc,v 1.2 2004/01/19 02:59:31 vapier Exp $
# NB: Config is in /etc/conf.d/spamass-milter
#DAEMON=/usr/sbin/spamass-milter
@@ -31,7 +31,7 @@ stop() {
/bin/rm -f ${SOCKET}
/bin/rm -f ${PIDFILE}
} \
- && kill -1 `head -1 /var/run/sendmail.pid`
+ && kill -1 `head -n 1 /var/run/sendmail.pid`
eend $? "Failed to stop ${DAEMON}"
}
diff --git a/net-zope/zope/files/zope b/net-zope/zope/files/zope
index dd50e4da0f92..e35c1f9f1e3b 100644
--- a/net-zope/zope/files/zope
+++ b/net-zope/zope/files/zope
@@ -141,7 +141,7 @@ chkstatus() {
# Next try "/var/run/*.pid" files
if [ -f /var/run/$1.pid ] ; then
- pid=`head -1 /var/run/$1.pid`
+ pid=`head -n 1 /var/run/$1.pid`
if [ "$pid" != "" ] ; then
echo "$1 dead but pid file exists"
return 1
diff --git a/net-zope/zope/files/zope.rc6 b/net-zope/zope/files/zope.rc6
index e9b706856dde..a437b190bafa 100644
--- a/net-zope/zope/files/zope.rc6
+++ b/net-zope/zope/files/zope.rc6
@@ -143,7 +143,7 @@ chkstatus() {
# Next try "/var/run/*.pid" files
if [ -f /var/run/$1.pid ] ; then
- pid=`head -1 /var/run/$1.pid`
+ pid=`head -n 1 /var/run/$1.pid`
if [ "$pid" != "" ] ; then
echo "$1 dead but pid file exists"
return 1