summaryrefslogtreecommitdiffstats
path: root/archive
diff options
context:
space:
mode:
authorIsmael Luceno2021-09-18 18:57:17 +0200
committerIsmael Luceno2021-09-18 18:57:17 +0200
commit32e30224a9bb75c98f1fca4c444704f3fa1c213d (patch)
tree6003f9847a53f2439549b2e1153985dc4a72be28 /archive
parentf6d135e9403c0264b70e381a624aa2ebd78e607c (diff)
ncompress 5.0
Diffstat (limited to 'archive')
-rwxr-xr-xarchive/ncompress/BUILD9
-rwxr-xr-xarchive/ncompress/DETAILS13
-rw-r--r--archive/ncompress/HISTORY6
-rw-r--r--archive/ncompress/ncompress-gcc34.patch23
4 files changed, 14 insertions, 37 deletions
diff --git a/archive/ncompress/BUILD b/archive/ncompress/BUILD
index d8579de26b..189f4b5c75 100755
--- a/archive/ncompress/BUILD
+++ b/archive/ncompress/BUILD
@@ -1,6 +1,3 @@
-unpack_file 2 &&
-zcat $SOURCE2 | patch -p1 &&
-cat $SCRIPT_DIRECTORY/ncompress-gcc34.patch | patch -p1 &&
-export LBOPT="$CFLAGS $LDFLAGS" &&
-sed -e 's/LBOPT=//' Makefile.def > Makefile &&
-make
+CFLAGS+=' -DLSTAT=1 -DUTIME_H=1' &&
+touch Makefile &&
+make -f Makefile.def CC="$CC"
diff --git a/archive/ncompress/DETAILS b/archive/ncompress/DETAILS
index 082469da65..32afb580fc 100755
--- a/archive/ncompress/DETAILS
+++ b/archive/ncompress/DETAILS
@@ -1,15 +1,12 @@
SPELL=ncompress
- VERSION=4.2.4
- SOURCE=$SPELL-$VERSION.tar.Z
- SOURCE2=ncompress_4.2.4-15.diff.gz
+ VERSION=5.0
+ SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
- SOURCE_URL[0]=http://www.ibiblio.org/pub/linux/utils/compress/$SOURCE
- SOURCE2_URL[0]=http://ftp.debian.org/debian/pool/main/n/$SPELL/$SOURCE2
- WEB_SITE=http://www.ibiblio.org/pub/linux/utils/compress/
+ SOURCE_URL[0]=https://github.com/vapier/$SPELL/archive/refs/tags/v$VERSION.tar.gz
+ WEB_SITE=https://vapier.github.io/ncompress/
DOCS="README LZW.INFO"
ENTERED=20041108
- SOURCE_HASH=sha512:c0d2a7f2d2b04225d63488c4c0f8d169d577f750d4d455bab25f46332bc09943600f3f84200736f315d7b255a1f330f6250ef321ba421c2305107f5f9e9cfdf1
- SOURCE2_HASH=sha512:cf617ee5cae6fe60f7e71c30964a9967265323ec8b3cdf4a4d120ccb2f65e7a52d8af8b02ff7edfafdbf3979b894f850d90a97d054c9ee67c63a8c0545b2c801
+ SOURCE_HASH=sha512:5bc886f98f25b03d034e8d8ebb0ee9388d727ee3e0c6d8a906698b2f8fa5c930f55d857486244b7f40447c7b74f3c620626600db619d0c6d6fd434f52912be42
LICENSE[0]=PD
KEYWORDS="archive"
SHORT="ncompress provides the standard unix compress command."
diff --git a/archive/ncompress/HISTORY b/archive/ncompress/HISTORY
index 724f918750..10b9908356 100644
--- a/archive/ncompress/HISTORY
+++ b/archive/ncompress/HISTORY
@@ -1,3 +1,9 @@
+2021-09-18 Ismael Luceno <ismael@sourcemage.org>
+ * PRE_BUILD, ncompress-gcc34.patch: removed, no longer needed
+ * BUILD: simplified
+ * DETAILS: updated spell to 5.0
+ updated WEB_SITE
+
2006-10-26 Jaka Kranjc <lynxlynxlynx@sourcemage.org>
* INSTALL: use TRACK_ROOT not INSTALL_ROOT when linking #9163
diff --git a/archive/ncompress/ncompress-gcc34.patch b/archive/ncompress/ncompress-gcc34.patch
deleted file mode 100644
index 0ed2ebfa5e..0000000000
--- a/archive/ncompress/ncompress-gcc34.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- ncompress-4.2.4/compress42.c 1992-10-28 06:10:53.000000000 -0500
-+++ ../compress42.c 2004-04-13 16:57:11.325373656 -0400
-@@ -171,9 +171,9 @@
- #ifndef NOFUNCDEF
- extern void *malloc LARGS((int));
- extern void free LARGS((void *));
--#ifndef _IBMR2
-+/* #ifndef _IBMR2
- extern int open LARGS((char const *,int,...));
--#endif
-+#endif */
- extern int close LARGS((int));
- extern int read LARGS((int,void *,int));
- extern int write LARGS((int,void const *,int));
-@@ -184,7 +184,7 @@
- extern char *strcpy LARGS((char *,char const *));
- extern char *strcat LARGS((char *,char const *));
- extern int strcmp LARGS((char const *,char const *));
-- extern unsigned strlen LARGS((char const *));
-+/* extern unsigned strlen LARGS((char const *)); */
- extern void *memset LARGS((void *,char,unsigned int));
- extern void *memcpy LARGS((void *,void const *,unsigned int));
- extern int atoi LARGS((char const *));