summaryrefslogtreecommitdiff
path: root/sysutils/mc
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2002-07-24 05:05:59 +0000
committerhubertf <hubertf@pkgsrc.org>2002-07-24 05:05:59 +0000
commit6cab7008fe4754dd36df0e8fbaaa7d7121726039 (patch)
tree70e31b803cbf5d396e6ea75b8bfd50fb9e245455 /sysutils/mc
parent5b0b86843e5d480c4fbd7de4dab9fdc7271c64d2 (diff)
downloadpkgsrc-6cab7008fe4754dd36df0e8fbaaa7d7121726039.tar.gz
fix handling of lha archives:
if ls(1) doesn't have a -e switch, it must have a --full-times switch, right?!?! Try -T also. (SUSv3 specifies neither -e nor -T)
Diffstat (limited to 'sysutils/mc')
-rw-r--r--sysutils/mc/distinfo3
-rw-r--r--sysutils/mc/patches/patch-ae23
2 files changed, 25 insertions, 1 deletions
diff --git a/sysutils/mc/distinfo b/sysutils/mc/distinfo
index 8e978f381c2..6ee46846c16 100644
--- a/sysutils/mc/distinfo
+++ b/sysutils/mc/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2002/07/24 04:30:15 hubertf Exp $
+$NetBSD: distinfo,v 1.4 2002/07/24 05:05:59 hubertf Exp $
SHA1 (mc-4.5.51.tar.gz) = 24d5d90695266587a2e8190196b32c8f3a4b2406
Size (mc-4.5.51.tar.gz) = 4330056 bytes
@@ -6,6 +6,7 @@ SHA1 (patch-aa) = 22ef7d7983dfca3a90a6a59d6055a93410ff1783
SHA1 (patch-ab) = 6da1ccfdcd9b0623bf5619a99c59e67cd70b51b6
SHA1 (patch-ac) = 36ee4017c74f04efff92e2a79cdb40cd5a4de6ed
SHA1 (patch-ad) = 4057502edcc25394211232e94fc8975ea0d9bf52
+SHA1 (patch-ae) = c3ad5c2f2ad99782f343f7197a3ebcfb07366dee
SHA1 (patch-af) = be7b6906f5cd23e28311519b42a1d8c630e98f2e
SHA1 (patch-ag) = 60e697e475647038181d12186a0424c4a6165c59
SHA1 (patch-ah) = a5ef804a13870ae5d100a7f6fb45281303da82c3
diff --git a/sysutils/mc/patches/patch-ae b/sysutils/mc/patches/patch-ae
new file mode 100644
index 00000000000..0ca76233330
--- /dev/null
+++ b/sysutils/mc/patches/patch-ae
@@ -0,0 +1,23 @@
+$NetBSD: patch-ae,v 1.7 2002/07/24 05:06:00 hubertf Exp $
+
+--- vfs/extfs/ulha.in.orig Wed Jul 24 06:52:24 2002
++++ vfs/extfs/ulha.in
+@@ -34,11 +34,16 @@
+ # Define your awk
+ AWK=@AWK@
+
+-if ls -de . >& /dev/null;
++if ls -de . >/dev/null 2>&1 ;
+ then
+ LS_COMMAND="ls -le"
+ else
+- LS_COMMAND="ls -l --full-time"
++ if ls -dT . >/dev/null 2>&1; # BSD::ls -T == Linux::ls -e
++ then
++ LS_COMMAND="ls -lT"
++ else
++ LS_COMMAND="ls -l --full-time"
++ fi
+ fi
+
+ # Define which archiver you are using with appropriate options