diff options
author | Raúl Porcel <armin76@gentoo.org> | 2008-02-24 15:48:40 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2008-02-24 15:48:40 +0000 |
commit | 6aedd7541a17ba091a182a51bdfcc941443efe16 (patch) | |
tree | d8b464c92ba63ccb87952e5a9e51569c0b0f0d46 /app-arch/arc | |
parent | make findlib eclass ready for eclass manpages, thanks to mren <bugs@rennings.... (diff) | |
download | historical-6aedd7541a17ba091a182a51bdfcc941443efe16.tar.gz historical-6aedd7541a17ba091a182a51bdfcc941443efe16.tar.bz2 historical-6aedd7541a17ba091a182a51bdfcc941443efe16.zip |
old
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'app-arch/arc')
-rw-r--r-- | app-arch/arc/Manifest | 4 | ||||
-rw-r--r-- | app-arch/arc/arc-5.21m-r1.ebuild | 39 | ||||
-rw-r--r-- | app-arch/arc/arc-5.21m.ebuild | 35 | ||||
-rw-r--r-- | app-arch/arc/files/arc-5.21m-compile-cleanups.patch | 171 |
4 files changed, 0 insertions, 249 deletions
diff --git a/app-arch/arc/Manifest b/app-arch/arc/Manifest index abdabda53492..dba447e7cab6 100644 --- a/app-arch/arc/Manifest +++ b/app-arch/arc/Manifest @@ -1,9 +1,5 @@ -AUX arc-5.21m-compile-cleanups.patch 4315 RMD160 42e159f7594c3b5436309631739d0901d7a06743 SHA1 f22e3547126bfa5dec12058b49413f06cecc86d8 SHA256 992cc44fa3f87f3ef6805db96c10d5672e4c8d7056ae9b5ff2ed8d649e7f8225 AUX arc-5.21m-gentoo-fbsd.patch 268 RMD160 9eb4d26102be100d0af13c4ef598bea74f06eb9d SHA1 24971a52348358329dabc4c2752ab3c14bd5e398 SHA256 7f6d5661768486a8d541ad321f5e9f069c9dcceed585d0c74dad15d5c4fb01c7 -DIST arc-5.21m.tar.gz 82711 RMD160 f69d7923dfc50d90fa7774c32493a1724c17b2cb SHA1 60c775e885135ac5548cd2d49fcda9daabe9fe13 SHA256 5978b5494bdba13241124312671096742f3af23d5f1677db91c0e3a78859df39 DIST arc-5.21o.tgz 82386 RMD160 2897f62452f59efcb757cd5447d6d330df0cfdd1 SHA1 4b803eae04976072fae88d4dbfc4b3e45796f8f3 SHA256 73e6ff87c5c0613d684c7939cdbf7b7a5cd6c393daf956003197dd014bf72fe3 -EBUILD arc-5.21m-r1.ebuild 921 RMD160 79821945df681e94c787ca943ec2b0a9c2a335d4 SHA1 4d8247e9dd8dace036b9d53abbe9d10f4d7dba9d SHA256 a10da473bad4e11ce1f98f3fbc3be969cc97072f366f76d9424211312768d3f9 -EBUILD arc-5.21m.ebuild 765 RMD160 f11a0feb53279aca11df59223d90282059125431 SHA1 ce6b2e5d44cd8d2343470d1a43679bbbc78f2921 SHA256 554ad807a58c6e62c700dc35b0e410622c744820d6b5a1924617606a0bbae83d EBUILD arc-5.21o.ebuild 825 RMD160 f464d4acb4c864917d8cdd0f11b5c2a0a4ede3f5 SHA1 78ece7dea99b773e9b08b37552e96189933863cb SHA256 7a398377c41d0a2b6d972dd4761b797ea9a8323e8c4806ecd5699e8836c05b4d MISC ChangeLog 3694 RMD160 2dbeb640350a839fd46e624a5520499999873e7f SHA1 3b910aa489d4c9b1b5cffe96a5c83a47ef562281 SHA256 003cce46f9c3c2bac7752407eb45d8a3cc23618c13a016f6764d29e679b7dc92 MISC metadata.xml 342 RMD160 284524073e2074217b082cfbf73b5d4d9df8f1b0 SHA1 f5a8ec7afbc5856bdfa19e7bcc92b94d84c6a6fd SHA256 a9a998ebf49168191ec5cef57ab27a0080cae28a865d80ecce11bac021870336 diff --git a/app-arch/arc/arc-5.21m-r1.ebuild b/app-arch/arc/arc-5.21m-r1.ebuild deleted file mode 100644 index 1fdf15db60d3..000000000000 --- a/app-arch/arc/arc-5.21m-r1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/arc/arc-5.21m-r1.ebuild,v 1.1 2007/07/14 14:25:43 drizzt Exp $ - -inherit eutils toolchain-funcs - -DESCRIPTION="Create & extract files from DOS .ARC files" -HOMEPAGE="http://arc.sourceforge.net/" -SRC_URI="mirror://sourceforge/arc/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="" - -DEPEND="" - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}"/${P}-compile-cleanups.patch - epatch "${FILESDIR}"/${P}-gentoo-fbsd.patch - - sed -i 's/CFLAGS = $(OPT) $(SYSTEM)/CFLAGS += $(SYSTEM)/' "${S}"/Makefile -} - -src_compile() { - emake \ - CC="$(tc-getCC)" \ - OPT="${LDFLAGS}" \ - || die "emake failed" -} - -src_install() { - dobin arc marc || die "dobin failed" - doman arc.1 - dodoc Arc521.doc Arcinfo Changelog Readme -} diff --git a/app-arch/arc/arc-5.21m.ebuild b/app-arch/arc/arc-5.21m.ebuild deleted file mode 100644 index e14ba1cda0e8..000000000000 --- a/app-arch/arc/arc-5.21m.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/arc/arc-5.21m.ebuild,v 1.10 2007/07/14 14:25:43 drizzt Exp $ - -inherit eutils - -DESCRIPTION="Create & extract files from DOS .ARC files" -HOMEPAGE="http://arc.sourceforge.net/" -SRC_URI="mirror://sourceforge/arc/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 ~hppa ppc ppc64 sparc x86" -IUSE="" - -DEPEND="" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-compile-cleanups.patch -} - -src_compile() { - emake \ - OPT="${CFLAGS}" \ - LIBS="${LDFLAGS}" \ - || die "emake failed" -} - -src_install() { - dobin arc marc || die "dobin failed" - doman arc.1 - dodoc Arc521.doc Arcinfo Changelog Readme -} diff --git a/app-arch/arc/files/arc-5.21m-compile-cleanups.patch b/app-arch/arc/files/arc-5.21m-compile-cleanups.patch deleted file mode 100644 index 8682ac125d0d..000000000000 --- a/app-arch/arc/files/arc-5.21m-compile-cleanups.patch +++ /dev/null @@ -1,171 +0,0 @@ -Cleanup the build by adding missing headers, fixing broken prototypes, -incorrect if statements, and all that jazz - ---- arc-5.21m/arc-prototypes.h -+++ arc-5.21m/arc-prototypes.h -@@ -0,0 +1,12 @@ -+VOID openarc(int); -+int readhdr(struct heads*, FILE*); -+int match(char*, char*); -+VOID closearc(int); -+int unpack(FILE*, FILE*, struct heads*); -+VOID setstamp(char*, unsigned short, unsigned short); -+int crcbuf(int, u_int, u_char*); -+VOID arcdie(); -+int move(char*, char*); -+VOID writehdr(struct heads*, FILE*); -+VOID filecopy(FILE*, FILE*, long); -+VOID upper(char*); ---- arc-5.21m/arc.c -+++ arc-5.21m/arc.c -@@ -105,6 +105,7 @@ - static char **lst; /* files list */ - static int lnum; /* length of files list */ - -+int - main(num, arg) /* system entry point */ - int num; /* number of arguments */ - char *arg[]; /* pointers to arguments */ ---- arc-5.21m/arc.h -+++ arc-5.21m/arc.h -@@ -94,6 +94,7 @@ - - #ifndef DONT_DEFINE /* Defined by arcdata.c */ - #include "arcs.h" -+#include "arc-prototypes.h" - - extern int keepbak; /* true if saving the old archive */ - #if !DOS ---- arc-5.21m/arcext.c -+++ arc-5.21m/arcext.c -@@ -26,8 +26,6 @@ - #include <strings.h> - #endif - --VOID openarc(), closearc(), setstamp(); --int match(), readhdr(), unpack(); - static VOID extfile(); - - #ifndef __STDC__ -@@ -144,7 +135,7 @@ - printf("Extracting file: %s\n", fix); - - if (warn && !overlay) { -- if (f = fopen(fix, "r")) { /* see if it exists */ -+ if ((f = fopen(fix, "r"))) { /* see if it exists */ - fclose(f); - printf("WARNING: File %s already exists!", fix); - fflush(stdout); ---- arc-5.21m/arclzw.c -+++ arc-5.21m/arclzw.c -@@ -663,7 +663,7 @@ - { - int temp; - -- while (temp = string_tab[index].next) /* while more duplicates */ -+ while (temp == string_tab[index].next) /* while more duplicates */ - index = temp; - - return index; ---- arc-5.21m/arcmisc.c -+++ arc-5.21m/arcmisc.c -@@ -306,7 +306,7 @@ - - if (Nnum == 0) { /* first call */ - strcpy(namecopy,filename); -- if(pattern=rindex(namecopy,CUTOFF)) { -+ if((pattern=rindex(namecopy,CUTOFF))) { - *pattern = 0; - pattern++; - dirname = namecopy; ---- arc-5.21m/arcpack.c -+++ arc-5.21m/arcpack.c -@@ -27,7 +27,6 @@ - - VOID setcode(), init_cm(), codebuf(); - VOID arcdie(), init_sq(), flsh_cm(); --int crcbuf(); - u_int ncr_buf(); - - int lastc; ---- arc-5.21m/arcrun.c -+++ arc-5.21m/arcrun.c -@@ -20,12 +20,14 @@ - */ - #include <stdio.h> - #include <string.h> -+#include <sys/types.h> -+#include <sys/stat.h> -+#include <unistd.h> - #include "arc.h" - - VOID rempath(), openarc(), closearc(), arcdie(); - int readhdr(), match(), unpack(); - static VOID runfile(); --char *strcat(); - - VOID - runarc(num, arg) /* run file from archive */ -@@ -120,7 +122,7 @@ - #endif - - if (warn) -- if (tmp = fopen(buf, "r")) -+ if ((tmp = fopen(buf, "r"))) - arcdie("Temporary file %s already exists", buf); - if (!(tmp = fopen(buf, OPEN_W))) - arcdie("Unable to create temporary file %s", buf); -@@ -131,7 +133,7 @@ - dir = gcdir(""); /* see where we are */ - unpack(arc, tmp, hdr); /* unpack the entry */ - fclose(tmp); /* release the file */ -- chmod(buf, "700"); /* make it executable */ -+ chmod(buf, 700); /* make it executable */ - #if GEMDOS - execve(buf, arg, NULL); - #else ---- arc-5.21m/arcsvc.c -+++ arc-5.21m/arcsvc.c -@@ -19,15 +19,13 @@ - #include <stdio.h> - #include <sys/types.h> - #include <sys/stat.h> -+#include <unistd.h> - #include <fcntl.h> - #include "arc.h" - #if _MTS - #include <mts.h> - #endif - --VOID arcdie(), setstamp(); --int unlink(); -- - VOID - openarc(chg) /* open archive */ - int chg; /* true to open for changes */ ---- arc-5.21m/marc.c -+++ arc-5.21m/marc.c -@@ -26,12 +26,14 @@ - #include <sys/types.h> - #include <sys/stat.h> - #endif -+#include <unistd.h> - - #ifndef __STDC__ - char *calloc(), *malloc(), *realloc(); /* memory managers */ - #endif --VOID arcdie(); - static VOID expandlst(), merge(); -+int gethdr(FILE*, struct heads*); -+void copyfile(FILE*, struct heads*, int); - - FILE *src; /* source archive */ - char srcname[STRLEN]; /* source archive name */ -@@ -295,6 +292,7 @@ - else return 0; /* or fake end of archive */ - } - -+void - copyfile(f,hdr,ver) /* copy a file from an archive */ - FILE *f; /* archive to copy from */ - struct heads *hdr; /* header data for file */ |