diff options
author | Justin Lecher <jlec@gentoo.org> | 2013-02-04 11:45:40 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2013-02-04 11:45:40 +0000 |
commit | f923a7bc4fcf0a35e956bf9bf0a2fefe64740d27 (patch) | |
tree | e22f1177f49fb360255461ef4cf20c4c308abd52 /app-arch/star | |
parent | Assign myself as maintainer (diff) | |
download | historical-f923a7bc4fcf0a35e956bf9bf0a2fefe64740d27.tar.gz historical-f923a7bc4fcf0a35e956bf9bf0a2fefe64740d27.tar.bz2 historical-f923a7bc4fcf0a35e956bf9bf0a2fefe64740d27.zip |
app-arch/star: Version Bump; get some patches from fedora, fix segf #409165
Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64
Manifest-Sign-Key: 0x70EB7916
Diffstat (limited to 'app-arch/star')
-rw-r--r-- | app-arch/star/ChangeLog | 14 | ||||
-rw-r--r-- | app-arch/star/Manifest | 23 | ||||
-rw-r--r-- | app-arch/star/files/star-1.5.1-bufferoverflow.patch | 21 | ||||
-rw-r--r-- | app-arch/star/files/star-1.5.1-changewarnSegv.patch | 80 | ||||
-rw-r--r-- | app-arch/star/files/star-1.5.1-multivolsigsegv.patch | 12 | ||||
-rw-r--r-- | app-arch/star/files/star-1.5.1-stdioconflict.patch | 92 | ||||
-rw-r--r-- | app-arch/star/metadata.xml | 10 | ||||
-rw-r--r-- | app-arch/star/star-1.5.1-r1.ebuild | 7 | ||||
-rw-r--r-- | app-arch/star/star-1.5.1-r2.ebuild | 102 | ||||
-rw-r--r-- | app-arch/star/star-1.5.2.ebuild | 96 |
10 files changed, 444 insertions, 13 deletions
diff --git a/app-arch/star/ChangeLog b/app-arch/star/ChangeLog index 86ecbc687795..f1c61bd07ce5 100644 --- a/app-arch/star/ChangeLog +++ b/app-arch/star/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for app-arch/star -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/star/ChangeLog,v 1.100 2012/02/02 17:17:45 jlec Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/star/ChangeLog,v 1.101 2013/02/04 11:45:39 jlec Exp $ + +*star-1.5.2 (04 Feb 2013) +*star-1.5.1-r2 (04 Feb 2013) + + 04 Feb 2013; Justin Lecher <jlec@gentoo.org> star-1.5.1-r1.ebuild, + +star-1.5.1-r2.ebuild, +files/star-1.5.1-bufferoverflow.patch, + +files/star-1.5.1-changewarnSegv.patch, + +files/star-1.5.1-multivolsigsegv.patch, + +files/star-1.5.1-stdioconflict.patch, +star-1.5.2.ebuild, metadata.xml: + Version Bump; get some patches from fedora, fix segf #409165 02 Feb 2012; Justin Lecher <jlec@gentoo.org> -star-1.5.1.ebuild: Dropped old diff --git a/app-arch/star/Manifest b/app-arch/star/Manifest index 35337c9b6025..2fc49ba68f2c 100644 --- a/app-arch/star/Manifest +++ b/app-arch/star/Manifest @@ -1,4 +1,21 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX star-1.5.1-bufferoverflow.patch 758 SHA256 0cd06423f9442a70aa0258b5cc91e1f1c38e4552ba9da8fa632107b29461f1d9 SHA512 661303d642553198126675815ecd659ca86706250f2a85cc5f72576321f52950851b3bd041ede8a1c0ab5f56f38be2f6b17fc84a4245e14a0b070a0f115e834f WHIRLPOOL 52d3bad2668ce3f2310507f4a67eed4e5805d6813b53f4023942945f88472876537413f698f2d131ae1beb5d97fd714da3fe7611b53d5b57fd126c9d755fa919 +AUX star-1.5.1-changewarnSegv.patch 1866 SHA256 f84558f8ff06a0437225880753e5217e7a0f25ebfbbd44a22eacc2417e176fff SHA512 3dfba5aaa91f7d6e3434d0a501d493290dd1721fef8ea7f4274491544717305c460b4dc60820b8c5019c121e60c0238317aa2cd61ba80018b0fb01d75b9a903b WHIRLPOOL b6dd2fa63138fe9e1a29e8d34441bb8c03fb13f4525864cc5abaca4b2e8070bda8a02e5bfe3f1ab296dcc0c9100bc0722391329135b811256da24964167a90f1 +AUX star-1.5.1-multivolsigsegv.patch 534 SHA256 bb5270a4c556f565f9012681e7cea53531ad224c1e1ca3508e05dfdea6af25fb SHA512 7cdbf2ceb5da5f6492eeeb9296ae87593cff16e9a6b12b944f10a02188ac50f21bd53d72fe9a7b5a3f8b5e971f9d2e5432402c4350b892133f533cf5d3db1b0e WHIRLPOOL 8fe14a8d055dd56493c9d4de9768001fa90f534d43869118ce3b76a549cbaa2d0498ef402b555bfc07f439868952282854d78ba9508a6429e414cfc66b628eb8 +AUX star-1.5.1-stdioconflict.patch 3433 SHA256 a9229fbcf920fbce011040e5f7a906008ca1348ac9938023630a799f204fbfd9 SHA512 f1ee3081b34f839aaaf0d858ef7f708082c9dbf0b5b7a230c7278a3ea060ab2dc9d62cbb4746c95c975e729d5b6f2320a263cce8bddb54bbd7beda302d4b37d0 WHIRLPOOL 1bd413cdb9108aa858600870ae552957318c589b168a877fb095f08fc9dd42dd6ad9cbfd121ee85d22fc96f7308b6282b43b20be33b5c9558cd08be7913874fd DIST star-1.5.1.tar.bz2 824489 SHA256 918cf5d7f2285104990d608dd3e8873a10c60fa56fd21c9b527d6829dea3828e SHA512 f03dc8ec739b27f121409716ce5ea2cb6be1279fcceae002870808c9850ddabb79735caca5114354c0a695b2e9ebebf04801a7fbbe1550474409fa4be9e9de0c WHIRLPOOL 62e48afddaa94e3aedfdc803404a02be60ac2aef37d27d2957bd0824c827b9e08006ef6b08175373205bf839c329d54af78176723381c767d8ca1c4cbeb44585 -EBUILD star-1.5.1-r1.ebuild 2887 SHA256 02c11f6323e24e8d71793b65071d7b0347882bd56c09fcef23ca137a7de9b998 SHA512 7a32c1dd5871042151008dc95b378b0751c75147e76a068497c0621c86ac8ec7b9c5d014ec646c52a10c2b27362ecbbfcdb06eeb67140bacef3fbf7afc0e25f6 WHIRLPOOL 1b42c7284947c69b29002dbc91dd177cc196582a95672076b3aabf31602ecee5e07bd37600cb6ff5cdbe205ebe3b6a7cf206e119170e85769eea7553703aa5d8 -MISC ChangeLog 14322 SHA256 cc39bbae123a0d2e533d2d5fdf81826c76c79e6a2aa00624490d38720d7583f1 SHA512 adbe7ebb0e025ad32fd80bae2e15ba6f5a170322f6019ce953d238c0fd1398f5fccd8ba878a5103aa25564b606e756e5177422cea5dee2197a7703ee36799e09 WHIRLPOOL cf79b4e6ffb4351aeb413a506fa299a7eaa356dfe16317f336ba0d8b098cb32adef6b855edffbaf3bcfb9fe4e09c5e842942c0d8aaceafb253421521524b6702 -MISC metadata.xml 261 SHA256 3eaccb04cb08aff8a179203a18ef283f88bbf820dcb27f10b0211d55ebddbc7a SHA512 359389dc5f037f0fe57f52568177f23a9210895bd1c15868030a0b8399f1e6a1b74d849ca49bc49ad29083e3d58ae3fb3e77e9c326edfe5fb99775b7c3d8ee67 WHIRLPOOL 7c9a0d3677fe67d3b2143e2b047e9ac8c31c61eb5b8456744f0e90341b47b8b554fd6074c76fad7d3dd96bae28531bde53a5586c24e63b9831448eb51c975419 +DIST star-1.5.2.tar.bz2 874558 SHA256 762645b98af13bb9b0512812814ec8e90635d1400c94eb5911e9774daed2addf SHA512 6ea9bd3db79a83c5fae5cb791ea6fc2d79cb464d97702ca0167fdd068df77f047a53037f5be342f138dd950c2c863ee07de0bf3390e37d39a1105634ca8fc9d5 WHIRLPOOL 957a499bdbc7cca5704635c89bd7703fb0018ee22ab99a7cacab4b5241131001f6b9a65b69c227dc513c210d772b4a3a560a1a5d602e6b9dde4778ab1a329876 +EBUILD star-1.5.1-r1.ebuild 2884 SHA256 8935c8c7bc98e3dca9874e3353c0769c18b209cc5f5683cb31d7e69c834f5693 SHA512 48b7c22e3d9daa2c585f14d14200eb5f9fcff1086b1383e813108647bff8a4afba7e34c8c940d6bc9dfaab820de4e0f8a0d8ea6f52fbaaa6abd0f00b2dba8a57 WHIRLPOOL 432d307d3b9dda4d5933d391e535e7420835b7fd155198526d0881f543240cb8d4bbfc9a6b0232c57f110c99aaa669b54bb297b9387e71acf4493f0de5fbf2f8 +EBUILD star-1.5.1-r2.ebuild 3073 SHA256 3aef49b61717c530b00631dadcedbd77c39e0b971cabed5f8c81fc3fe4ba2336 SHA512 caaa3be8a64e5dfcdfc5d9e898e99d8f4e099bb70854a2a5fe15443d9cba17b5efe0129214937bf00fd42edbdef97e53d0a4b06e42ec6d28ace21906da196266 WHIRLPOOL 7faa9be25c18586d41b2a9fa4f32df662eb399f8b783fd42bf1409e0b4893d27c3e7e3f876e10d5a2538d56a5a73f17e504e1bdc4c98d619efa00e1810fcf5c0 +EBUILD star-1.5.2.ebuild 2846 SHA256 ddfbd845737509b4644a3a52daa551d4c330fe07301e9bb053edc4ecebfce150 SHA512 df4e1d1d085e1de66491adb004a813225105a75526a0b2966eb4679794900e7a81f2362922f81535dc42e1e5827acf8b635c23db7a2bb230804fc8858dafc059 WHIRLPOOL fad4b975bf50226f23a664153964c38c54d0711c127b4800b30ba278b4acc75eb4902202fb2196c94eedec2aac1dfbfb5cdc18ef60247576483e00b3e7c153f7 +MISC ChangeLog 14736 SHA256 e69f697a0785f9a98ad5188092941f536c929247d70d594e1f8bc19f60ef1c85 SHA512 ebab959d897392bfb1eecfac07ae244c1eca59768596bf26b3c671331941358d909ff4c25067cc22434f431743b00dc4108b19e36d8d53de18877962e9c5cc17 WHIRLPOOL 0a8b252ab5fdf6a906b2b46f0512a4c06c7e8dab7b8250537e103ceccfea33512fd12b8c3a85e7edabc437f88cf8a1293be1963a925b906dff36f886f0739473 +MISC metadata.xml 268 SHA256 04a70c2c1026278d1890fdaab76a42487bbf25d132c914f15f400d7d1d582882 SHA512 b03cee100ff8afa044a68f732c23a8e3d5d746fdb2caf2d9dfba8289024e59390a248b7f0c142af7b5c156a640a17cbeaf90b63d56b1839990f17c2e5f596f08 WHIRLPOOL 2e131869185041689bc955c4237820fe54e8ffcea29793e15a860ea47bc278dd3ed75ec9b848230122c75740b2a1f81ac3f0476e86d35d7aeb263933e7debdc9 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iEYEAREIAAYFAlEPn2QACgkQgAnW8HDreRbrKACfdP4sNLhGYqwJhZ7Daqb6954n +wxsAn00nSNMJE31JvQ4zOB4y+bVdHKbl +=7eYT +-----END PGP SIGNATURE----- diff --git a/app-arch/star/files/star-1.5.1-bufferoverflow.patch b/app-arch/star/files/star-1.5.1-bufferoverflow.patch new file mode 100644 index 000000000000..afc0b4aa2b58 --- /dev/null +++ b/app-arch/star/files/star-1.5.1-bufferoverflow.patch @@ -0,0 +1,21 @@ +diff -urNp star-1.5.1-orig/star/longnames.c star-1.5.1/star/longnames.c +--- star-1.5.1-orig/star/longnames.c 2009-10-16 00:38:55.000000000 +0200 ++++ star-1.5.1/star/longnames.c 2010-02-03 13:36:03.000000000 +0100 +@@ -155,7 +155,7 @@ name_to_tcb(info, ptb) + if (add) + strcatl(ptb->dbuf.t_name, name, "/", (char *)NULL); + else +- strcpy(ptb->dbuf.t_name, name); ++ strncpy(ptb->dbuf.t_name, name, props.pr_maxsname); + return (TRUE); + } + +@@ -198,7 +198,7 @@ name_to_tcb(info, ptb) + if (add) + strcatl(ptb->dbuf.t_name, &np[1], "/", (char *)NULL); + else +- strcpy(ptb->dbuf.t_name, &np[1]); ++ strncpy(ptb->dbuf.t_name, &np[1], props.pr_maxsname); + strncpy(ptb->dbuf.t_prefix, name, np - name); + info->f_flags |= F_SPLIT_NAME; + return (TRUE); diff --git a/app-arch/star/files/star-1.5.1-changewarnSegv.patch b/app-arch/star/files/star-1.5.1-changewarnSegv.patch new file mode 100644 index 000000000000..74d4870d5555 --- /dev/null +++ b/app-arch/star/files/star-1.5.1-changewarnSegv.patch @@ -0,0 +1,80 @@ +--- star-1.5/star/checkerr.c.orig-segv 2006-10-31 18:06:25.000000000 +0100 ++++ star-1.5/star/checkerr.c 2007-08-27 11:42:39.000000000 +0200 +@@ -183,39 +183,45 @@ LOCAL struct eflags { + */ + LOCAL UInt32_t + errflags(eflag, doexit) +- char *eflag; +- BOOL doexit; ++ char *eflag; ++ BOOL doexit; + { +- register char *p = eflag; +- char *ef = _endword(eflag); +- register struct eflags *ep; +- register int slen; +- register UInt32_t nflags = 0; +- +- do { +- for (ep = eflags; ep->fname; ep++) { +- slen = strlen(ep->fname); +- if ((strncmp(ep->fname, p, slen) == 0) && +- (p[slen] == '|' || p[slen] == ' ' || +- p[slen] == '\0')) { +- nflags |= ep->fval; +- break; +- } +- } +- if (ep->fname == NULL) { +- if (doexit) +- comerrno(EX_BAD, "Bad flag '%s'\n", p); +- return (0); +- } +- p = strchr(p, '|'); +- } while (p < ef && p && *p++ == '|'); +- +- if ((nflags & ~(UInt32_t)(E_ABORT|E_WARN)) == 0) { +- if (doexit) +- comerrno(EX_BAD, "Bad error condition '%s'.\n", eflag); +- return (0); +- } +- return (nflags); ++ register struct eflags *ep; ++ register int slen; ++ register UInt32_t nflags = 0; ++ char *curflags; ++ char *curflag; ++ ++ curflags = strdup (eflag); ++ *_endword(curflags) = '\0'; ++ curflag = strtok (curflags, "|"); ++ ++ while (curflag != NULL) { ++ for (ep = eflags; ep->fname; ep++) { ++ slen = strlen (ep->fname); ++ if ((strncmp (ep->fname, curflag, slen)) == 0) { ++ nflags |= ep->fval; ++ goto next; ++ } ++ } ++ ++ if (doexit) ++ comerrno (EX_BAD, "Bad flag '%s' \n", curflag); ++ ++ free (curflags); ++ return (0); ++ next: ++ curflag = strtok (NULL, "|"); ++ } ++ ++ free (curflags); ++ ++ if ((nflags & ~(UInt32_t)(E_ABORT|E_WARN)) == 0) { ++ if (doexit) ++ comerrno(EX_BAD, "Bad error condition '%s'.\n", eflag); ++ return (0); ++ } ++ return (nflags); + } + + LOCAL ec_t * diff --git a/app-arch/star/files/star-1.5.1-multivolsigsegv.patch b/app-arch/star/files/star-1.5.1-multivolsigsegv.patch new file mode 100644 index 000000000000..204a29d89e91 --- /dev/null +++ b/app-arch/star/files/star-1.5.1-multivolsigsegv.patch @@ -0,0 +1,12 @@ +diff -urNp star-1.5.1-orig/star/buffer.c star-1.5.1/star/buffer.c +--- star-1.5.1-orig/star/buffer.c 2009-07-13 21:05:02.000000000 +0200 ++++ star-1.5.1/star/buffer.c 2011-01-04 13:50:25.452138625 +0100 +@@ -799,7 +799,7 @@ initbuf(nblocks) + + bigptr = bigbuf = ___malloc((size_t) bufsize+10+pagesize, + "buffer"); +- bigptr = bigbuf = (char *)roundup((Intptr_t)bigptr, pagesize); ++ bigptr = bigbuf = (char *)roundup((UIntptr_t)bigptr, pagesize); + fillbytes(bigbuf, bufsize, '\0'); + fillbytes(&bigbuf[bufsize], 10, 'U'); + diff --git a/app-arch/star/files/star-1.5.1-stdioconflict.patch b/app-arch/star/files/star-1.5.1-stdioconflict.patch new file mode 100644 index 000000000000..e0be2d4eb4c0 --- /dev/null +++ b/app-arch/star/files/star-1.5.1-stdioconflict.patch @@ -0,0 +1,92 @@ +diff -urNp star-1.5.1-orig/include/schily/schily.h star-1.5.1/include/schily/schily.h +--- star-1.5.1-orig/include/schily/schily.h 2009-10-22 23:18:55.000000000 +0200 ++++ star-1.5.1/include/schily/schily.h 2010-01-13 13:17:10.000000000 +0100 +@@ -174,7 +174,7 @@ extern int fexecle __PR((const char *, F + /* 6th arg not const, fexecv forces av[ac] = NULL */ + extern int fexecv __PR((const char *, FILE *, FILE *, FILE *, int, + char **)); +-extern int fexecve __PR((const char *, FILE *, FILE *, FILE *, ++extern int sch_fexecve __PR((const char *, FILE *, FILE *, FILE *, + char * const *, char * const *)); + extern int fspawnv __PR((FILE *, FILE *, FILE *, int, char * const *)); + extern int fspawnl __PR((FILE *, FILE *, FILE *, const char *, ...)); +@@ -311,7 +311,7 @@ extern char *findbytes __PR((const void + extern char *findinpath __PR((char *__name, int __mode, BOOL __plain_file)); + extern int findline __PR((const char *, char, const char *, + int, char **, int)); +-extern int getline __PR((char *, int)); ++extern int sch_getline __PR((char *, int)); + extern int getstr __PR((char *, int)); + extern int breakline __PR((char *, char, char **, int)); + extern int getallargs __PR((int *, char * const**, const char *, ...)); +diff -urNp star-1.5.1-orig/lib/fexec.c star-1.5.1/lib/fexec.c +--- star-1.5.1-orig/lib/fexec.c 2009-11-15 15:14:28.000000000 +0100 ++++ star-1.5.1/lib/fexec.c 2010-01-13 13:17:10.000000000 +0100 +@@ -198,7 +198,7 @@ const char **pav; + } while (p != NULL); + va_end(args); + +- ret = fexecve(name, in, out, err, av, env); ++ ret = sch_fexecve(name, in, out, err, av, env); + if (av != xav) + free(av); + return (ret); +@@ -212,11 +212,11 @@ fexecv(name, in, out, err, ac, av) + char *av[]; + { + av[ac] = NULL; /* force list to be null terminated */ +- return (fexecve(name, in, out, err, av, environ)); ++ return (sch_fexecve(name, in, out, err, av, environ)); + } + + EXPORT int +-fexecve(name, in, out, err, av, env) ++sch_fexecve(name, in, out, err, av, env) + const char *name; + FILE *in, *out, *err; + char * const av[], * const env[]; +diff -urNp star-1.5.1-orig/lib/libschily-mapvers star-1.5.1/lib/libschily-mapvers +--- star-1.5.1-orig/lib/libschily-mapvers 2007-10-06 15:21:55.000000000 +0200 ++++ star-1.5.1/lib/libschily-mapvers 2010-01-13 13:17:10.000000000 +0100 +@@ -77,7 +77,7 @@ global: + fexecl; + fexecle; + fexecv; +- fexecve; ++ sch_fexecve; + ffileread; + ffilewrite; + fgetline; +@@ -123,7 +123,7 @@ global: + geterrno; + getfiles; + getfp; +- getline; ++ sch_getline; + getmainfp; + #getstr; + #handlecond; +diff -urNp star-1.5.1-orig/lib/stdio/fgetline.c star-1.5.1/lib/stdio/fgetline.c +--- star-1.5.1-orig/lib/stdio/fgetline.c 2004-09-25 14:23:36.000000000 +0200 ++++ star-1.5.1/lib/stdio/fgetline.c 2010-01-13 13:17:10.000000000 +0100 +@@ -61,7 +61,7 @@ fgetline(f, buf, len) + } + + EXPORT int +-getline(buf, len) ++sch_getline(buf, len) + char *buf; + int len; + { +diff -urNp star-1.5.1-orig/libfind/find.c star-1.5.1/libfind/find.c +--- star-1.5.1-orig/libfind/find.c 2009-11-15 16:25:02.000000000 +0100 ++++ star-1.5.1/libfind/find.c 2010-01-13 13:17:10.000000000 +0100 +@@ -1747,7 +1747,7 @@ doexec(f, ac, av, state) + #endif + av[ac] = NULL; /* -exec {} \; is not NULL terminated */ + +- fexecve(av[0], state->std[0], state->std[1], state->std[2], ++ sch_fexecve(av[0], state->std[0], state->std[1], state->std[2], + av, state->env); + err = geterrno(); + #ifdef PLUS_DEBUG diff --git a/app-arch/star/metadata.xml b/app-arch/star/metadata.xml index a71b55879cae..623a5ab04b12 100644 --- a/app-arch/star/metadata.xml +++ b/app-arch/star/metadata.xml @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>shell-tools</herd> - <maintainer> - <email>billie@gentoo.org</email> - <name>Daniel Pielmeier</name> - </maintainer> + <herd>shell-tools</herd> + <maintainer> + <email>billie@gentoo.org</email> + <name>Daniel Pielmeier</name> + </maintainer> </pkgmetadata> diff --git a/app-arch/star/star-1.5.1-r1.ebuild b/app-arch/star/star-1.5.1-r1.ebuild index da2b6ac12049..3e45172afeae 100644 --- a/app-arch/star/star-1.5.1-r1.ebuild +++ b/app-arch/star/star-1.5.1-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/star/star-1.5.1-r1.ebuild,v 1.7 2012/02/02 15:20:43 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/star/star-1.5.1-r1.ebuild,v 1.8 2013/02/04 11:45:39 jlec Exp $ EAPI="3" @@ -15,7 +15,8 @@ SLOT="0" KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" IUSE="acl xattr" -DEPEND="acl? ( sys-apps/acl ) +DEPEND=" + acl? ( sys-apps/acl ) xattr? ( sys-apps/attr )" RDEPEND="${DEPEND}" diff --git a/app-arch/star/star-1.5.1-r2.ebuild b/app-arch/star/star-1.5.1-r2.ebuild new file mode 100644 index 000000000000..cc46510aa95c --- /dev/null +++ b/app-arch/star/star-1.5.1-r2.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/star/star-1.5.1-r2.ebuild,v 1.1 2013/02/04 11:45:39 jlec Exp ${FILESDIR}"/${P}-r1.ebuild,v 1.7 2012/02/02 15:20:43 ssuominen Exp $ + +EAPI=5 + +inherit eutils toolchain-funcs + +DESCRIPTION="An enhanced (world's fastest) tar, as well as enhanced mt/rmt" +HOMEPAGE="http://cdrecord.berlios.de/old/private/star.html" +SRC_URI="ftp://ftp.berlios.de/pub/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1 CDDL-Schily" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="acl xattr" + +DEPEND=" + acl? ( sys-apps/acl ) + xattr? ( sys-apps/attr )" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${P/_alpha[0-9][0-9]} + +src_prepare() { + find -type f -exec chmod -c u+w '{}' + || die + sed \ + -e "s:/opt/schily:${EPREFIX}/usr:g" \ + -e 's:bin:root:g' \ + -e "s:/usr/src/linux/include:${EPREFIX}/usr/include:" \ + -i DEFAULTS/Defaults.linux || die + + # Disable libacl autodependency (hacky build system, hacky fix...) + if use acl; then + sed \ + -e 's:[$]ac_cv_header_sys_acl_h:disable acl:' \ + -i "${S}/autoconf/configure" || die + fi + + if use xattr; then + sed \ + -e 's:[$]ac_cv_header_attr_xattr_h:disable xattr:' \ + -i "${S}/autoconf/configure" || die + fi + + # Create additional symlinks needed for some archs. + pushd "${S}/RULES" > /dev/null + local t + for t in ppc64 s390x ; do + ln -s i586-linux-cc.rul ${t}-linux-cc.rul || die + ln -s i586-linux-gcc.rul ${t}-linux-gcc.rul || die + done + popd > /dev/null + + epatch \ + "${FILESDIR}"/${P}-bufferoverflow.patch \ + "${FILESDIR}"/${P}-changewarnSegv.patch \ + "${FILESDIR}"/${P}-multivolsigsegv.patch \ + "${FILESDIR}"/${P}-stdioconflict.patch + +} + +src_configure() { : ; } #avoid ./configure run + +src_compile() { + emake CC="$(tc-getCC)" COPTX="${CFLAGS}" CPPOPTX="${CPPFLAGS}" LDOPTX="${LDFLAGS}" +} + +src_install() { + # Joerg Schilling suggested to integrate star into the main OS using call: + # make INS_BASE=/usr DESTDIR="${D}" install + + dobin \ + star/OBJ/*-*-cc/star \ + tartest/OBJ/*-*-cc/tartest \ + star_sym/OBJ/*-*-cc/star_sym \ + mt/OBJ/*-*-cc/smt + + newsbin rmt/OBJ/*-*-cc/rmt rmt.star + newman rmt/rmt.1 rmt.star.1 + + # Note that we should never install gnutar, tar or rmt in this package. + # tar and rmt are provided by app-arch/tar. gnutar is not compatible with + # GNU tar and breakes compilation, or init scripts. bug #33119 + dosym {star,/usr/bin/ustar} + dosym {star,/usr/bin/spax} + dosym {star,/usr/bin/scpio} + dosym {star,/usr/bin/suntar} + + # match is needed to understand the pattern matcher, if you wondered why ;) + mv star/{star.4,star.5} + doman man/man1/match.1 tartest/tartest.1 \ + star/{star.5,star.1,spax.1,scpio.1,suntar.1} + + insinto /etc/default + newins star/star.dfl star + newins rmt/rmt.dfl rmt + + dodoc star/{README.ACL,README.crash,README.largefiles,README.otherbugs} \ + star/{README.pattern,README.pax,README.posix-2001,README,STARvsGNUTAR} \ + rmt/default-rmt.sample TODO AN-* Changelog CONTRIBUTING +} diff --git a/app-arch/star/star-1.5.2.ebuild b/app-arch/star/star-1.5.2.ebuild new file mode 100644 index 000000000000..ea0eda23018f --- /dev/null +++ b/app-arch/star/star-1.5.2.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/star/star-1.5.2.ebuild,v 1.1 2013/02/04 11:45:39 jlec Exp $ + +EAPI=5 + +inherit eutils toolchain-funcs + +DESCRIPTION="An enhanced (world's fastest) tar, as well as enhanced mt/rmt" +HOMEPAGE="http://cdrecord.berlios.de/old/private/star.html" +SRC_URI="ftp://ftp.berlios.de/pub/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1 CDDL-Schily" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="acl xattr" + +DEPEND=" + acl? ( sys-apps/acl ) + xattr? ( sys-apps/attr )" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${P/_alpha[0-9][0-9]} + +src_prepare() { + find -type f -exec chmod -c u+w '{}' + || die + sed \ + -e "s:/opt/schily:${EPREFIX}/usr:g" \ + -e 's:bin:root:g' \ + -e "s:/usr/src/linux/include:${EPREFIX}/usr/include:" \ + -i DEFAULTS/Defaults.linux || die + + # Disable libacl autodependency (hacky build system, hacky fix...) + if use acl; then + sed \ + -e 's:[$]ac_cv_header_sys_acl_h:disable acl:' \ + -i "${S}/autoconf/configure" || die + fi + + if use xattr; then + sed \ + -e 's:[$]ac_cv_header_attr_xattr_h:disable xattr:' \ + -i "${S}/autoconf/configure" || die + fi + + # Create additional symlinks needed for some archs. + pushd "${S}/RULES" > /dev/null + local t + for t in ppc64 s390x ; do + ln -s i586-linux-cc.rul ${t}-linux-cc.rul || die + ln -s i586-linux-gcc.rul ${t}-linux-gcc.rul || die + done + popd > /dev/null + + epatch "${FILESDIR}"/${PN}-1.5.1-changewarnSegv.patch +} + +src_configure() { :; } #avoid ./configure run + +src_compile() { + emake CC="$(tc-getCC)" COPTX="${CFLAGS}" CPPOPTX="${CPPFLAGS}" LDOPTX="${LDFLAGS}" +} + +src_install() { + # Joerg Schilling suggested to integrate star into the main OS using call: + # make INS_BASE=/usr DESTDIR="${D}" install + + dobin \ + star/OBJ/*-*-cc/star \ + tartest/OBJ/*-*-cc/tartest \ + star_sym/OBJ/*-*-cc/star_sym \ + mt/OBJ/*-*-cc/smt + + newsbin rmt/OBJ/*-*-cc/rmt rmt.star + newman rmt/rmt.1 rmt.star.1 + + # Note that we should never install gnutar, tar or rmt in this package. + # tar and rmt are provided by app-arch/tar. gnutar is not compatible with + # GNU tar and breakes compilation, or init scripts. bug #33119 + dosym {star,/usr/bin/ustar} + dosym {star,/usr/bin/spax} + dosym {star,/usr/bin/scpio} + dosym {star,/usr/bin/suntar} + + # match is needed to understand the pattern matcher, if you wondered why ;) + doman man/man1/match.1 tartest/tartest.1 \ + star/{star.4,star.1,spax.1,scpio.1,suntar.1} + + insinto /etc/default + newins star/star.dfl star + newins rmt/rmt.dfl rmt + + dodoc star/{README.ACL,README.crash,README.largefiles,README.otherbugs} \ + star/{README.pattern,README.pax,README.posix-2001,README,STARvsGNUTAR} \ + rmt/default-rmt.sample TODO AN-* Changelog CONTRIBUTING +} |