diff options
Diffstat (limited to 'app-misc')
1415 files changed, 48043 insertions, 0 deletions
diff --git a/app-misc/abduco/Manifest b/app-misc/abduco/Manifest new file mode 100644 index 000000000000..251c7889208f --- /dev/null +++ b/app-misc/abduco/Manifest @@ -0,0 +1,2 @@ +DIST abduco-0.2.tar.gz 11499 SHA256 c8b75a903b0914dd7804d57566f571f3f5efa91e46482bfb4652400156a71912 SHA512 9e6bda1779c4eff43c0f8a44857dd3beb25948c0f0bf2ff6e12bc951655e5f5ed3304794d7966b2e1cbb2c9f3917c153a1393889791a5293bd13111e15c3db11 WHIRLPOOL b76a95c21e16946eff999a148c453a44f819423fb6ab8c3903c8266c6d805d779c7232f2aa49fc0e09a19e3b6a6448b8a6a3c178266934dd1a3dcaaa4370a07c +DIST abduco-0.3.tar.gz 11978 SHA256 934bf0b9ae25fb3f71b775387b5f281bf7d175fea79c12ec28ffdbbbb95390d4 SHA512 0bbd3a52e256738d39edf8e73e43d72fd4bcf2d240f45b8287486910777310320e239e7d1abb523a37c573dc557a0e33bf5849aa34f50f261f50c27a80db7338 WHIRLPOOL 1741f3c8d47a4f745b0fa0bed79306ca2d7dba8a936c6e66c1773205809fa1cf12f33f4c9f488eaa3c31f57d21299f17ec092926539a4fd037ebf2619e0dfb85 diff --git a/app-misc/abduco/abduco-0.2.ebuild b/app-misc/abduco/abduco-0.2.ebuild new file mode 100644 index 000000000000..d69623781671 --- /dev/null +++ b/app-misc/abduco/abduco-0.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils savedconfig toolchain-funcs + +DESCRIPTION="lightweight session manager with {de,at}tach support" +HOMEPAGE="http://www.brain-dump.org/projects/abduco/" +SRC_URI="http://www.brain-dump.org/projects/${PN}/${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_prepare() { + sed -e 's:^PREFIX.*:PREFIX = /usr:' \ + -e 's/-Os//' \ + -e '/^CC/d' \ + -i config.mk || die + + sed -e "s/VERSION/${PV}/g" \ + -i ${PN}.1 || die + + sed -e '/@echo CC/d' \ + -e 's|@${CC}|$(CC)|g' \ + -i Makefile || die + + restore_config config.def.h + epatch_user + + tc-export CC +} + +src_test() { + ./testsuite.sh || die +} + +src_install() { + dobin ${PN} + dodoc README + doman ${PN}.1 + + save_config config.def.h +} diff --git a/app-misc/abduco/abduco-0.3.ebuild b/app-misc/abduco/abduco-0.3.ebuild new file mode 100644 index 000000000000..8dcc0276128e --- /dev/null +++ b/app-misc/abduco/abduco-0.3.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils savedconfig toolchain-funcs + +DESCRIPTION="lightweight session manager with {de,at}tach support" +HOMEPAGE="http://www.brain-dump.org/projects/abduco/" +SRC_URI="http://www.brain-dump.org/projects/${PN}/${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_prepare() { + sed -e 's:^PREFIX.*:PREFIX = /usr:' \ + -e 's/-Os//' \ + -e '/^CC/d' \ + -i config.mk || die + + sed -e "s/VERSION/${PV}/g" \ + -i ${PN}.1 || die + + sed -e '/@echo CC/d' \ + -e 's|@${CC}|$(CC)|g' \ + -i Makefile || die + + restore_config config.def.h + epatch_user + + tc-export CC +} + +src_test() { + ./testsuite.sh || die +} + +src_install() { + dobin ${PN} + dodoc README + doman ${PN}.1 + + save_config config.def.h +} diff --git a/app-misc/abduco/metadata.xml b/app-misc/abduco/metadata.xml new file mode 100644 index 000000000000..e062d001b116 --- /dev/null +++ b/app-misc/abduco/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>proxy-maintainers</herd> +<maintainer> + <email>hendrik@consetetur.de</email> + <name>Hendrik v. Raven (lorem_ipsum)</name> +</maintainer> +<maintainer> + <email>xmw@gentoo.org</email> + <name>Michael Weber</name> +</maintainer> +<longdescription lang="en"> + abduco provides session management i.e. it allows programs to be run independently from its controlling terminal. That is programs can be detached - run in the background - and then later reattached. Together with dvtm it provides a simpler and cleaner alternative to tmux or screen. +</longdescription> +</pkgmetadata> diff --git a/app-misc/abook/Manifest b/app-misc/abook/Manifest new file mode 100644 index 000000000000..e154d0f2db1b --- /dev/null +++ b/app-misc/abook/Manifest @@ -0,0 +1 @@ +DIST abook-0.6.0pre2.tar.gz 411412 SHA256 59d444504109dd96816e003b3023175981ae179af479349c34fa70bc12f6d385 SHA512 d1bc437981964a5dd873b12458833c60306d37b36904a04b072cefe7501175933dd7817ca51f8634bbd6722f79f768b39e00b68d0699086d5efaf28d0cbdf1ed WHIRLPOOL fbaed8cc4dff1b7b7786c4f5b4124e94893d59e97b67372b0b1f1cf176a16ef23141c37255589cfb352f1e4993ae69d1f77077f2396aaa2c482e85b3c617fc5f diff --git a/app-misc/abook/abook-0.6.0_pre2.ebuild b/app-misc/abook/abook-0.6.0_pre2.ebuild new file mode 100644 index 000000000000..e383d809c9ba --- /dev/null +++ b/app-misc/abook/abook-0.6.0_pre2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=3 + +inherit eutils + +MY_P="${P/_/}" +DESCRIPTION="Abook is a text-based addressbook program designed to use with mutt mail client" +HOMEPAGE="http://abook.sourceforge.net/" +SRC_URI="http://abook.sourceforge.net/devel/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ppc ppc64 sparc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="nls" + +RDEPEND="sys-libs/ncurses + sys-libs/readline + nls? ( virtual/libintl )" +DEPEND="nls? ( sys-devel/gettext )" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-vcard-import.patch + epatch "${FILESDIR}"/${P}-vcard-fix.patch +} + +src_configure() { + econf $(use_enable nls) +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc BUGS ChangeLog FAQ README TODO sample.abookrc || die "dodoc failed" +} diff --git a/app-misc/abook/files/abook-0.6.0_pre2-vcard-fix.patch b/app-misc/abook/files/abook-0.6.0_pre2-vcard-fix.patch new file mode 100644 index 000000000000..8045909463ac --- /dev/null +++ b/app-misc/abook/files/abook-0.6.0_pre2-vcard-fix.patch @@ -0,0 +1,10 @@ +--- abook-0.6.0pre2/abook.c.orig 2010-10-03 14:54:23.827767178 -0700 ++++ abook-0.6.0pre2/abook.c 2010-10-03 14:54:55.738042419 -0700 +@@ -708,6 +708,7 @@ + check_abook_directory(); + init_opts(); + load_opts(rcfile); ++ init_standard_fields(); + atexit(free_opts); + + /* diff --git a/app-misc/abook/files/abook-0.6.0_pre2-vcard-import.patch b/app-misc/abook/files/abook-0.6.0_pre2-vcard-import.patch new file mode 100644 index 000000000000..316f1229fd9f --- /dev/null +++ b/app-misc/abook/files/abook-0.6.0_pre2-vcard-import.patch @@ -0,0 +1,325 @@ +diff -ru a/filter.c b/filter.c +--- a/filter.c 2006-09-06 07:26:10.000000000 +0200 ++++ b/filter.c 2008-05-18 20:55:12.000000000 +0200 +@@ -44,6 +44,7 @@ + static int csv_parse_file(FILE *in); + static int allcsv_parse_file(FILE *in); + static int palmcsv_parse_file(FILE *in); ++static int vcard_parse_file(FILE *in); + + /* + * export filter prototypes +@@ -75,6 +76,7 @@ + { "csv", N_("comma separated values"), csv_parse_file }, + { "allcsv", N_("comma separated values (all fields)"), allcsv_parse_file }, + { "palmcsv", N_("Palm comma separated values"), palmcsv_parse_file }, ++ { "vcard", N_("vCard file"), vcard_parse_file }, + { "\0", NULL, NULL } + }; + +@@ -1331,6 +1333,262 @@ + */ + + /* ++ * vCard import filter ++ */ ++ ++static char *vcard_fields[] = { ++ "FN", /* NAME */ ++ "EMAIL", /* EMAIL */ ++ "ADR", /* ADDRESS */ ++ "ADR", /* ADDRESS2 - not used */ ++ "ADR", /* CITY */ ++ "ADR", /* STATE */ ++ "ADR", /* ZIP */ ++ "ADR", /* COUNTRY */ ++ "TEL", /* PHONE */ ++ "TEL", /* WORKPHONE */ ++ "TEL", /* FAX */ ++ "TEL", /* MOBILEPHONE */ ++ "NICKNAME", /* NICK */ ++ "URL", /* URL */ ++ "NOTE", /* NOTES */ ++ NULL /* not implemented: ANNIVERSARY, ITEM_FIELDS */ ++}; ++ ++/* ++ * mappings between vCard ADR field and abook's ADDRESS ++ * see rfc2426 section 3.2.1 ++ */ ++static int vcard_address_fields[] = { ++ -1, /* vCard(post office box) - not used */ ++ -1, /* vCard(the extended address) - not used */ ++ 2, /* vCard(the street address) - ADDRESS */ ++ 4, /* vCard(the locality) - CITY */ ++ 5, /* vCard(the region) - STATE */ ++ 6, /* vCard(the postal code) - ZIP */ ++ 7 /* vCard(the country name) - COUNTRY */ ++}; ++ ++enum { ++ VCARD_KEY = 0, ++ VCARD_KEY_ATTRIBUTE, ++ VCARD_VALUE, ++}; ++ ++static char * ++vcard_get_line_element(char *line, int element) ++{ ++ int i; ++ char *line_copy = 0; ++ char *result = 0; ++ char *key = 0; ++ char *key_attr = 0; ++ char *value = 0; ++ ++ line_copy = xstrdup(line); ++ ++ /* make newline characters if exist end of string */ ++ for(i=0; line_copy[i]; i++) { ++ if(line_copy[i] == '\r' || line_copy[i] == '\n') { ++ line_copy[i] = '\0'; ++ break; ++ } ++ } ++ ++ /* separate key from value */ ++ for(i=0; line_copy[i]; i++) { ++ if(line_copy[i] == ':') { ++ line_copy[i] = '\0'; ++ key = line_copy; ++ value = &line_copy[i+1]; ++ break; ++ } ++ } ++ ++ /* separate key from key attributes */ ++ if (key) { ++ for(i=0; key[i]; i++) { ++ if(key[i] == ';') { ++ key[i] = '\0'; ++ key_attr = &key[i+1]; ++ break; ++ } ++ } ++ } ++ ++ switch(element) { ++ case VCARD_KEY: ++ if(key) ++ result = xstrdup(key); ++ break; ++ case VCARD_KEY_ATTRIBUTE: ++ if(key_attr) ++ result = xstrdup(key_attr); ++ break; ++ case VCARD_VALUE: ++ if(value) ++ result = xstrdup(value); ++ break; ++ } ++ ++ xfree(line_copy); ++ return result; ++} ++ ++static void ++vcard_parse_email(list_item item, char *line) ++{ ++ char *email; ++ ++ email = vcard_get_line_element(line, VCARD_VALUE); ++ ++ if(item[1]) { ++ item[1] = strconcat(item[1], ",", email, 0); ++ xfree(email); ++ } ++ else { ++ item[1] = email; ++ } ++} ++ ++static void ++vcard_parse_address(list_item item, char *line) ++{ ++ int i; ++ int k; ++ char *value; ++ char *address_field; ++ ++ value = vcard_get_line_element(line, VCARD_VALUE); ++ if(!value) ++ return; ++ ++ address_field = value; ++ for(i=k=0; value[i]; i++) { ++ if(value[i] == ';') { ++ value[i] = '\0'; ++ if(vcard_address_fields[k] >= 0) { ++ item[vcard_address_fields[k]] = xstrdup(address_field); ++ } ++ address_field = &value[i+1]; ++ k++; ++ if((k+1)==(sizeof(vcard_address_fields)/sizeof(*vcard_address_fields))) ++ break; ++ } ++ } ++ item[vcard_address_fields[k]] = xstrdup(address_field); ++ xfree(value); ++} ++ ++static void ++vcard_parse_phone(list_item item, char *line) ++{ ++ int index = 8; ++ char *type = vcard_get_line_element(line, VCARD_KEY_ATTRIBUTE); ++ char *value = vcard_get_line_element(line, VCARD_VALUE); ++ ++ /* set the standard number */ ++ if (!type) { ++ item[index] = value; ++ } ++ ++ /* ++ * see rfc2426 section 3.3.1 ++ */ ++ else if (strstr(type, "TYPE=") == type){ ++ if (strcasestr(type, "home")) { ++ item[index] = xstrdup(value); ++ } ++ if (strcasestr(type, "work")) { ++ item[index+1] = xstrdup(value); ++ } ++ if (strcasestr(type, "fax")) { ++ item[index+2] = xstrdup(value); ++ } ++ if (strcasestr(type, "cell")) { ++ item[index+3] = xstrdup(value); ++ } ++ ++ xfree(type); ++ xfree(value); ++ } ++} ++ ++static void ++vcard_parse_line(list_item item, char *line) ++{ ++ int i; ++ char *key; ++ ++ for(i=0; vcard_fields[i]; i++) { ++ key = vcard_fields[i]; ++ ++ if(!strncmp(key, line, strlen(key))) { ++ if(i == 1) { ++ vcard_parse_email(item, line); ++ } ++ else if(i == 2) { ++ vcard_parse_address(item, line); ++ } ++ else if(i == 8) { ++ vcard_parse_phone(item, line); ++ } ++ else { ++ item[i] = vcard_get_line_element(line, VCARD_VALUE); ++ } ++ break; ++ } ++ } ++} ++ ++static void ++vcard_parse_item(FILE *in) ++{ ++ char *line = NULL; ++ list_item item = item_create(); ++ ++ while(!feof(in)) { ++ line = getaline(in); ++ ++ if(line && !strncmp("END:VCARD", line, 9)) { ++ xfree(line); ++ break; ++ } ++ else if(line) { ++ vcard_parse_line(item, line); ++ xfree(line); ++ } ++ } ++ ++ add_item2database(item); ++ item_free(&item); ++} ++ ++static int ++vcard_parse_file(FILE *in) ++{ ++ char *line = NULL; ++ ++ while(!feof(in)) { ++ line = getaline(in); ++ ++ if(line && !strncmp("BEGIN:VCARD", line, 11)) { ++ xfree(line); ++ vcard_parse_item(in); ++ } ++ else if(line) { ++ xfree(line); ++ } ++ } ++ ++ return 0; ++} ++ ++/* ++ * end of vCard import filter ++ */ ++ ++/* + * csv addressbook export filters + */ + +diff -ru a/misc.c b/misc.c +--- a/misc.c 2006-09-04 21:24:18.000000000 +0200 ++++ b/misc.c 2008-05-18 18:00:33.000000000 +0200 +@@ -77,6 +77,27 @@ + return 1; + } + ++char * ++strcasestr(char *haystack, char *needle) ++{ ++ int i; ++ int k; ++ ++ assert(haystack != NULL); ++ assert(needle != NULL); ++ ++ for(i=0; i<strlen(haystack)-strlen(needle)+1; i++) { ++ for(k=0; k<strlen(needle); k++, i++) { ++ if (tolower(haystack[i]) != tolower(needle[k])) ++ break; ++ else if ((k+1) == strlen(needle)) ++ return &haystack[i]; ++ } ++ } ++ ++ return NULL; ++} ++ + + #ifdef HAVE_CONFIG_H + # include "config.h" +diff -ru a/misc.h b/misc.h +--- a/misc.h 2006-09-04 21:24:18.000000000 +0200 ++++ b/misc.h 2008-05-18 17:55:59.000000000 +0200 +@@ -18,6 +18,8 @@ + + int is_number(char *s); + ++char *strcasestr(char *haystack, char *needle); ++ + char *strdup_printf(const char *format, ... ); + char *strconcat(const char *str, ...); + diff --git a/app-misc/abook/metadata.xml b/app-misc/abook/metadata.xml new file mode 100644 index 000000000000..38597f5e4851 --- /dev/null +++ b/app-misc/abook/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>net-mail</herd> +<longdescription>Abook is a text-based addressbook program designed to use with mutt mail client.</longdescription> +</pkgmetadata> diff --git a/app-misc/acdctl/Manifest b/app-misc/acdctl/Manifest new file mode 100644 index 000000000000..9cb139db080a --- /dev/null +++ b/app-misc/acdctl/Manifest @@ -0,0 +1 @@ +DIST acdctl-1.1.tar.bz2 10827 SHA256 d6c6d83672682d5d803431010bce3112becf5c6a42e1918da3f814b1e3af4f43 SHA512 3a41aba7b6385f4d823694bfd387036759b7d47355f2d69e92de9e80bb9491aeaf5e060cf6695ae5ec23ba7580e203c13210b7d2bc5aaf796adf52925557043d WHIRLPOOL fbf479865dc9ee1851e425f32b48fa1ba45b23956ed0bd110e2609d070350b08f06b24367e84b293d9455bcc8b36558a6b0ddb37cbc125eec1ef3f6452242eff diff --git a/app-misc/acdctl/acdctl-1.1.ebuild b/app-misc/acdctl/acdctl-1.1.ebuild new file mode 100644 index 000000000000..e91aa178ca75 --- /dev/null +++ b/app-misc/acdctl/acdctl-1.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +DESCRIPTION="Apple Cinema Display Control" +HOMEPAGE="http://www.technocage.com/~caskey/acdctl/" +SRC_URI="http://www.technocage.com/~caskey/acdctl/download/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="ppc" +IUSE="" + +RDEPEND="virtual/libusb:0" +DEPEND="${RDEPEND}" + +src_install() { + dobin acdctl + dodoc CHANGELOG README +} diff --git a/app-misc/acdctl/metadata.xml b/app-misc/acdctl/metadata.xml new file mode 100644 index 000000000000..3ccf5464591f --- /dev/null +++ b/app-misc/acdctl/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>maintainer-needed@gentoo.org</email> + <name>Default assignee for orphaned packages</name> + </maintainer> + <longdescription lang="en"> + acdctl is a command-line utility to control the otherwise inaccessible + brightness levels of an Apple Cinema Display on any system with libusb + support. + </longdescription> +</pkgmetadata> diff --git a/app-misc/activylircd/Manifest b/app-misc/activylircd/Manifest new file mode 100644 index 000000000000..1b0c4d31e413 --- /dev/null +++ b/app-misc/activylircd/Manifest @@ -0,0 +1 @@ +DIST activylircd-0.4.tgz 26900 SHA256 d9475ca9009d0af83c1c88352b0aba39a485dd4b469950fbc005010f6e966d3f SHA512 2440f4b858d945ae7103d14d6aeea6e16461713da60eaadc0767843d218d12554efc99607231503aabcbb853cd26cd205c4c783083b7c77d6d3a5e3f9cbd2cb7 WHIRLPOOL 4dc995d80e189b2093aec1f9fb18328990048c38131c5a77d4331fccfc99b75e347c0170da854869697b7653f2e98f300c5aadb6eea05054c263cbcb2549c1cf diff --git a/app-misc/activylircd/activylircd-0.4.ebuild b/app-misc/activylircd/activylircd-0.4.ebuild new file mode 100644 index 000000000000..5e1f745552f4 --- /dev/null +++ b/app-misc/activylircd/activylircd-0.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils toolchain-funcs + +DESCRIPTION="ACTIVYLIRCD lirc daemon for activy remote control" +HOMEPAGE="http://www.htpc-forum.de/" +SRC_URI="http://www.htpc-forum.de/download/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="x11-libs/libX11 + x11-libs/libXtst" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${P}-linking.patch" # Bug #277656 +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + dosbin activylircd + dobin key2xd eventmapper key2lircd key2xd + dodoc key2x.conf README +} diff --git a/app-misc/activylircd/files/activylircd-0.4-linking.patch b/app-misc/activylircd/files/activylircd-0.4-linking.patch new file mode 100644 index 000000000000..8ebd721fd38e --- /dev/null +++ b/app-misc/activylircd/files/activylircd-0.4-linking.patch @@ -0,0 +1,25 @@ +Index: activylircd-0.4/Makefile +=================================================================== +--- activylircd-0.4.orig/Makefile ++++ activylircd-0.4/Makefile +@@ -14,16 +14,16 @@ names.h: /usr/include/linux/input.h genn + ./gennames $< > $@ + + activylircd: activylircd.c /usr/include/linux/input.h names.h Makefile +- $(CC) $(CFLAGS) -o $@ $< ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< + + key2lircd: key2lircd.c /usr/include/linux/input.h names.h Makefile +- $(CC) $(CFLAGS) -o $@ $< ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< + + eventmapper: eventmapper.c /usr/include/linux/input.h names.h Makefile +- $(CC) $(CFLAGS) -o $@ $< ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< + + key2xd: key2xd.c Makefile +- $(CC) $(CFLAGS) -o $@ -lX11 -lXtst $< ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -lX11 -lXtst + + install: $(PROG) + install -v -t /usr/bin $(PROG) diff --git a/app-misc/activylircd/metadata.xml b/app-misc/activylircd/metadata.xml new file mode 100644 index 000000000000..332e9ad12d8a --- /dev/null +++ b/app-misc/activylircd/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>media-tv</herd> +<herd>proxy-maintainers</herd> +<maintainer> + <email>vdr@helmutauer.de</email> + <name>Helmut Auer</name> + <description>Proxy maintaining through zzam</description> +</maintainer> +</pkgmetadata> diff --git a/app-misc/actkbd/Manifest b/app-misc/actkbd/Manifest new file mode 100644 index 000000000000..c4cb100976d5 --- /dev/null +++ b/app-misc/actkbd/Manifest @@ -0,0 +1 @@ +DIST actkbd-0.2.8.tar.bz2 23192 SHA256 95ea643b8e1b6bd8b9bc342d4a01eb4639498e15329aa42329f7cc83cb3cebc6 SHA512 307d97b2854be801f1a4a8a8fbc408d3c83efd40f5bb35ea463b154fc0c9761fcb83a99905cd2730a24122ff222f60f31c4ac0163600ba463d4713846de2bf72 WHIRLPOOL cf1288351bb8ccc7306289cf7227483d5a7c13905cfa24af905c568ce135aa4cee7085141d8e4812aa09a045cd8448ae15973224b6bd9d5e7d8c5c568db750dd diff --git a/app-misc/actkbd/actkbd-0.2.8-r1.ebuild b/app-misc/actkbd/actkbd-0.2.8-r1.ebuild new file mode 100644 index 000000000000..e986555edf13 --- /dev/null +++ b/app-misc/actkbd/actkbd-0.2.8-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit linux-info eutils toolchain-funcs + +DESCRIPTION="A keyboard shortcut daemon" +HOMEPAGE="http://users.softlab.ece.ntua.gr/~thkala/projects/actkbd/" +SRC_URI="http://users.softlab.ece.ntua.gr/~thkala/projects/actkbd/files/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +CONFIG_CHECK="~INPUT_EVDEV" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.2.7-amd64.patch +} + +src_compile() { + emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" +} + +src_install() { + dobin actkbd + dodoc AUTHORS ChangeLog FAQ README TODO + docinto samples + dodoc samples/actkbd.conf + newconfd "${FILESDIR}/${PN}.confd" ${PN} + newinitd "${FILESDIR}/${PN}.initd" ${PN} +} + +pkg_postinst() { + elog + elog "System-wide configuration file is /etc/actkbd.conf." + elog "Use actkbd.conf from usr/share/doc/${PF}/samples as a template." + elog "You need to create the config and set right input device from" + elog "/dev/input/event* in /etc/conf.d/actkbd" + elog + elog "To obtain keycodes for pressed combinations/keys just run:" + elog " # actkbd -s -d /dev/input/event<MYDEVICENUMBER>" +} diff --git a/app-misc/actkbd/files/actkbd-0.2.7-amd64.patch b/app-misc/actkbd/files/actkbd-0.2.7-amd64.patch new file mode 100644 index 000000000000..b962d7e861a7 --- /dev/null +++ b/app-misc/actkbd/files/actkbd-0.2.7-amd64.patch @@ -0,0 +1,38 @@ +# Try to fix pointer assigned to int and vice-versa problems. Written by Joe Pelkey. + +diff -ru actkbd-0.2.7.orig/actkbd.h actkbd-0.2.7/actkbd.h +--- actkbd-0.2.7.orig/actkbd.h 2006-05-02 13:24:01.000000000 -0400 ++++ actkbd-0.2.7/actkbd.h 2006-10-27 03:37:37.000000000 -0400 +@@ -122,7 +122,7 @@ + typedef struct _attr_t attr_t; + struct _attr_t { + int type; /* Attribute type */ +- void *opt; /* Options for this attribute */ ++ int opt; /* Options for this attribute */ + attr_t *next; /* The next node */ + }; + +diff -ru actkbd-0.2.7.orig/config.c actkbd-0.2.7/config.c +--- actkbd-0.2.7.orig/config.c 2006-08-20 07:05:36.000000000 -0400 ++++ actkbd-0.2.7/config.c 2006-10-27 03:55:21.000000000 -0400 +@@ -107,7 +107,7 @@ + strtolower(attrs); + while ((tmp = strsep(&attrs, ", \t")) != NULL) { + int type = -1; +- void *opt = NULL; ++ int opt = 0; + char *num = NULL; + + if (strlen(tmp) == 0) +@@ -174,9 +174,9 @@ + + errno = 0; + if (strlen(num) > 0) { +- opt = (void *)((int)strtol(num, (char **)NULL, 10)); ++ opt = ((int)strtol(num, (char **)NULL, 10)); + } else { +- opt = (void *)((int)(-1)); ++ opt = ((int)(-1)); + } + + if (((int)opt < 0) && diff --git a/app-misc/actkbd/files/actkbd.confd b/app-misc/actkbd/files/actkbd.confd new file mode 100644 index 000000000000..c3c711c1c887 --- /dev/null +++ b/app-misc/actkbd/files/actkbd.confd @@ -0,0 +1,13 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Configuration file +CONFIG="/etc/actkbd.conf" + +# Event provider providing the keypress events +EVENT_DEVICE="/dev/input/<DEVICE>" + +# PID +PIDFILE="/var/run/actkbd.pid" + diff --git a/app-misc/actkbd/files/actkbd.initd b/app-misc/actkbd/files/actkbd.initd new file mode 100644 index 000000000000..e0fc046a7ff6 --- /dev/null +++ b/app-misc/actkbd/files/actkbd.initd @@ -0,0 +1,32 @@ +#!/sbin/runscript +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +checkconfig() { + if [ ! -f ${CONFIG} ] ; then + eerror "Config file \"${CONFIG}\" does not exist. Create it prior launching the daemon." + return 1 + fi + if [ ! -c ${EVENT_DEVICE} ] ; then + eerror "Device \"${EVENT_DEVICE}\" is not valid pointer to input provider." + return 1 + fi +} + +depend() { + before acpid +} + +start() { + checkconfig || return 1 + ebegin "Starting actkbd" + start-stop-daemon --start --quiet --pidfile ${PIDFILE} --exec /usr/bin/actkbd -- -c "${CONFIG}" -D -q -x -l -p "${PIDFILE}" -d "${EVENT_DEVICE}" + eend $? +} + +stop() { + ebegin "Stopping actkbd" + start-stop-daemon --stop --quiet --pidfile ${PIDFILE} --exec /usr/bin/actkbd + eend $? +} diff --git a/app-misc/actkbd/metadata.xml b/app-misc/actkbd/metadata.xml new file mode 100644 index 000000000000..cbfedbb3611a --- /dev/null +++ b/app-misc/actkbd/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>maintainer-needed@gentoo.org</email> + </maintainer> + <longdescription> +actkbd is a simple daemon that binds actions to keyboard events. It recognises +key combinations and can handle press, repeat and release events. + </longdescription> +</pkgmetadata> diff --git a/app-misc/aldo/Manifest b/app-misc/aldo/Manifest new file mode 100644 index 000000000000..692e576f2dc0 --- /dev/null +++ b/app-misc/aldo/Manifest @@ -0,0 +1 @@ +DIST aldo-0.7.7.tar.bz2 112000 SHA256 f1b8849d09267fff3c1f5122097d90fec261291f51b1e075f37fad8f1b7d9f92 SHA512 b68f9bd96210f17b6a37bc49f114bba70b75357967580cb4644454789b70285439f15bedb55fb93aa1bc0e5027c46a65679fcefb6a66332ca37d866d9c169e0b WHIRLPOOL ff7e569cb674a331eeb3208c08762aa70a699796212ca7774c8101c079cad6ad8d1048571563a64520e34ba86cbf82d14677d29e34a564f4216679e7e276c290 diff --git a/app-misc/aldo/aldo-0.7.7.ebuild b/app-misc/aldo/aldo-0.7.7.ebuild new file mode 100644 index 000000000000..29b75d8b8f92 --- /dev/null +++ b/app-misc/aldo/aldo-0.7.7.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="A morse tutor" +HOMEPAGE="http://www.nongnu.org/aldo" +SRC_URI="mirror://nongnu/${PN}/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND=">=media-libs/libao-0.8.5" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS ChangeLog NEWS README THANKS ) + +src_compile() { + emake LDFLAGS="${LDFLAGS}" +} diff --git a/app-misc/aldo/metadata.xml b/app-misc/aldo/metadata.xml new file mode 100644 index 000000000000..59e2b8f78cb5 --- /dev/null +++ b/app-misc/aldo/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>maintainer-needed@gentoo.org</email> + <name>Default assignee for orphaned packages</name> + </maintainer> +</pkgmetadata> diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest new file mode 100644 index 000000000000..bea9e6f80134 --- /dev/null +++ b/app-misc/anki/Manifest @@ -0,0 +1,2 @@ +DIST anki-2.0.31.tgz 3329290 SHA256 4b969629255b00db9a9eb8a2fd70271cc41c92c47752eb1c78e8609ff025be2f SHA512 3e6e29247d83b026ece6974007c848822360a812838dbb718cf3f1423fc9d015236b027944cd99f3b419e0fe4fe6cb2390d185f00646af727ec8e76f4aa3cbb8 WHIRLPOOL 42b1ecf2cc856c15ad1fe690d45e8051a8b79ef0b850e701a6a8a510a56cc4e6711bf4c8acc8ae9add7a3c761788005979c9a6398a71e1b28c9821043d5f6053 +DIST anki-2.0.32.tgz 3353186 SHA256 398f00d9ab7da811548813e19b6da192f07d5c1c7e4486de508040ecc1abb93c SHA512 a65a529121e8d6ca53b29ef3b22d432b48884c28ef5b2422f0c813069f5889469e0545951f6789aa883a411572419e7175364320a18a7cfc1582f5fa98b837d3 WHIRLPOOL 204a8761bbafd87bddf9aecad867eb9705c72d6e8f1c7b6f050d893db3e9d4d58d047597f0e079cfd502b89095fedd17d1581c3be8cd833d2a18a37fb90fb262 diff --git a/app-misc/anki/anki-2.0.31-r1.ebuild b/app-misc/anki/anki-2.0.31-r1.ebuild new file mode 100644 index 000000000000..51896953783b --- /dev/null +++ b/app-misc/anki/anki-2.0.31-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="sqlite" + +inherit eutils python-single-r1 + +DESCRIPTION="A spaced-repetition memory training program (flash cards)" +HOMEPAGE="http://ichi2.net/anki/" +SRC_URI="http://ankisrs.net/download/mirror/${P}.tgz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="latex +recording +sound" + +RDEPEND="${PYTHON_DEPS} + dev-python/PyQt4[X,svg,webkit] + >=dev-python/httplib2-0.7.4 + dev-python/beautifulsoup:python-2 + dev-python/send2trash + recording? ( media-sound/lame + >=dev-python/pyaudio-0.2.4 ) + sound? ( media-video/mplayer ) + latex? ( app-text/texlive + app-text/dvipng )" +DEPEND="" + +pkg_setup(){ + python-single-r1_pkg_setup +} + +src_prepare() { + rm -r thirdparty || die + sed -i -e "s/updates=True/updates=False/" \ + aqt/profiles.py || die +} + +# Nothing to configure or compile +src_configure() { + true; +} + +src_compile() { + true; +} + +src_install() { + doicon ${PN}.png + domenu ${PN}.desktop + doman ${PN}.1 + + dodoc README README.development + python_domodule aqt anki + python_doscript anki/anki + + # Localization files go into the anki directory: + python_moduleinto anki + python_domodule locale +} diff --git a/app-misc/anki/anki-2.0.31.ebuild b/app-misc/anki/anki-2.0.31.ebuild new file mode 100644 index 000000000000..c82f391f0e78 --- /dev/null +++ b/app-misc/anki/anki-2.0.31.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="sqlite" + +inherit eutils python-single-r1 + +DESCRIPTION="A spaced-repetition memory training program (flash cards)" +HOMEPAGE="http://ichi2.net/anki/" +SRC_URI="http://ankisrs.net/download/mirror/${P}.tgz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="latex +recording +sound" + +RDEPEND="${PYTHON_DEPS} + dev-python/PyQt4[X,svg,webkit] + >=dev-python/httplib2-0.7.4 + dev-python/beautifulsoup:python-2 + dev-python/send2trash + recording? ( media-sound/lame + >=dev-python/pyaudio-0.2.4 ) + sound? ( media-video/mplayer ) + latex? ( app-text/texlive + app-text/dvipng )" +DEPEND="" + +pkg_setup(){ + python-single-r1_pkg_setup +} + +src_prepare() { + rm -r thirdparty || die + sed -i -e "s/updates=True/updates=False/" \ + aqt/profiles.py || die +} + +# Nothing to configure or compile +src_configure() { + true; +} + +src_compile() { + true; +} + +src_install() { + doicon ${PN}.png + domenu ${PN}.desktop + doman ${PN}.1 + + dodoc README README.development + python_domodule aqt anki + python_doscript anki/anki +} + +pkg_preinst() { + if has_version "<app-misc/anki-2" ; then + elog "Anki 2 is a rewrite of Anki with many new features and" + elog "a new database format. On the first run your decks are" + elog "converted to the new format and a backup of your Anki-1" + elog "decks is created. Please read the following:" + elog "http://ankisrs.net/anki2.html" + fi +} diff --git a/app-misc/anki/anki-2.0.32.ebuild b/app-misc/anki/anki-2.0.32.ebuild new file mode 100644 index 000000000000..51896953783b --- /dev/null +++ b/app-misc/anki/anki-2.0.32.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="sqlite" + +inherit eutils python-single-r1 + +DESCRIPTION="A spaced-repetition memory training program (flash cards)" +HOMEPAGE="http://ichi2.net/anki/" +SRC_URI="http://ankisrs.net/download/mirror/${P}.tgz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="latex +recording +sound" + +RDEPEND="${PYTHON_DEPS} + dev-python/PyQt4[X,svg,webkit] + >=dev-python/httplib2-0.7.4 + dev-python/beautifulsoup:python-2 + dev-python/send2trash + recording? ( media-sound/lame + >=dev-python/pyaudio-0.2.4 ) + sound? ( media-video/mplayer ) + latex? ( app-text/texlive + app-text/dvipng )" +DEPEND="" + +pkg_setup(){ + python-single-r1_pkg_setup +} + +src_prepare() { + rm -r thirdparty || die + sed -i -e "s/updates=True/updates=False/" \ + aqt/profiles.py || die +} + +# Nothing to configure or compile +src_configure() { + true; +} + +src_compile() { + true; +} + +src_install() { + doicon ${PN}.png + domenu ${PN}.desktop + doman ${PN}.1 + + dodoc README README.development + python_domodule aqt anki + python_doscript anki/anki + + # Localization files go into the anki directory: + python_moduleinto anki + python_domodule locale +} diff --git a/app-misc/anki/metadata.xml b/app-misc/anki/metadata.xml new file mode 100644 index 000000000000..1de05e0522a5 --- /dev/null +++ b/app-misc/anki/metadata.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>tomka@gentoo.org</email> + <name>Thomas Kahle</name> + </maintainer> + <maintainer> + <email>patrick@gentoo.org</email> + <name>Patrick Lauer</name> + </maintainer> + <longdescription lang="en"> + Anki is a program designed to help you remember facts + (such as words and phrases in a foreign language) as + quickly, easily and efficiently as possible. + </longdescription> + <use> + <flag name="recording"> + Enable support for audio recording + </flag> + <flag name="sound"> + Enable support for adding sound to cards + </flag> + </use> +</pkgmetadata> diff --git a/app-misc/asciinema/Manifest b/app-misc/asciinema/Manifest new file mode 100644 index 000000000000..b5a2c4fe4b52 --- /dev/null +++ b/app-misc/asciinema/Manifest @@ -0,0 +1 @@ +DIST asciinema-0.9.8.tar.gz 6336 SHA256 f20bf96c5ec5f4faba7c4c91ce5b48696ce8160593a4897e8a87cc839214df1f SHA512 2df8520dca6c3a61e0bb5987a723a9668423da088cbba91e79ed51f0000e242290477f7a23e409270e29d5792e8a88e38d3c33963b835ce8dd9fc0cd24e2b7b4 WHIRLPOOL f7db1f8a2e6557879e08af44def66692699fa6296ed476d88cd93101045759b094ed487df8cae68a75377cbb9b91cefd21f103782fb550a739d9e952aa94bc21 diff --git a/app-misc/asciinema/asciinema-0.9.8.ebuild b/app-misc/asciinema/asciinema-0.9.8.ebuild new file mode 100644 index 000000000000..0ad1d2ec51cd --- /dev/null +++ b/app-misc/asciinema/asciinema-0.9.8.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4}) +inherit distutils-r1 + +DESCRIPTION="Command line recorder for asciinema.org service" +HOMEPAGE="http://pypi.python.org/pypi/asciinema http://asciinema.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64" +IUSE="" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND=">=dev-python/requests-1.1.0[${PYTHON_USEDEP}]" diff --git a/app-misc/asciinema/metadata.xml b/app-misc/asciinema/metadata.xml new file mode 100644 index 000000000000..7debdb1d988c --- /dev/null +++ b/app-misc/asciinema/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>maintainer-needed@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="pypi">asciinema</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-misc/astrolog-ephemeris/Manifest b/app-misc/astrolog-ephemeris/Manifest new file mode 100644 index 000000000000..013d6db4ab69 --- /dev/null +++ b/app-misc/astrolog-ephemeris/Manifest @@ -0,0 +1 @@ +DIST ephemall.zip 4604012 SHA256 d1a6de1de067af81c17500fbce52861f3e2a0a6925ecf599e55397d6f9684910 SHA512 e7822cecb87466987107e84aae64d292dad31de9d2c268886869a37ea9e99bf81b2a530129c0f6538c6b55ad46b185e16ee0c5b0d8858acfe189f19e2595c6da WHIRLPOOL 1ad7e6fe584ad3b23d40dcebebfe60d4fe9b82ff11ee32bdeb1ae15a3dbf82a9520ae2a2cdab345aeed39704604f4c3df38bf93fd831240340cd6cdc6b1285ac diff --git a/app-misc/astrolog-ephemeris/astrolog-ephemeris-5.40.ebuild b/app-misc/astrolog-ephemeris/astrolog-ephemeris-5.40.ebuild new file mode 100644 index 000000000000..b07a911374b7 --- /dev/null +++ b/app-misc/astrolog-ephemeris/astrolog-ephemeris-5.40.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +DESCRIPTION="ephemeris files for optional extended accuracy of astrolog's calculations" +HOMEPAGE="http://www.astrolog.org/astrolog.htm" +SRC_URI="http://www.astrolog.org/ftp/ephem/ephemall.zip" + +LICENSE="astrolog" +SLOT="0" +# works fine on x86 - runs probably on other architectures, too +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="" + +S="${WORKDIR}" + +RDEPEND="app-misc/astrolog" +DEPEND="${RDEPEND} + app-arch/unzip" + +src_install() { + dodir /usr/share/astrolog + cp * "${D}"/usr/share/astrolog || die "cp failed" +} diff --git a/app-misc/astrolog-ephemeris/metadata.xml b/app-misc/astrolog-ephemeris/metadata.xml new file mode 100644 index 000000000000..ccfb996d72e6 --- /dev/null +++ b/app-misc/astrolog-ephemeris/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> + +<maintainer> + <email>george@gentoo.org</email> + <name>George Shapovalov</name> + <description> + I'll be taking care of it. But since we need to have a herd in metadata + I've put sci there, as it seems the most related one. + </description> +</maintainer> + +</pkgmetadata> diff --git a/app-misc/astrolog/Manifest b/app-misc/astrolog/Manifest new file mode 100644 index 000000000000..d55b24122aa4 --- /dev/null +++ b/app-misc/astrolog/Manifest @@ -0,0 +1 @@ +DIST ast54unx.shr 1465432 SHA256 6700d393a421c16076d1aad37f171fde6293f1c062ec6a6ee07a884182287736 SHA512 824fcea1891dafc77692e84a36cc97a8afd90ad93d772edab8437e89869cdc912002f628fd86eecc8182ba4f1ad02cb98f42a30fde425bf94cf59f852b4eda1a WHIRLPOOL 6538f1e1d41a1a23dc476ffbe3f153d43e22829614ecbb71fa5c4f2b31b9ee799291ef7ac55283875f8e07324f9e416bb9f8092a97e354017796f7ff4fd42edd diff --git a/app-misc/astrolog/astrolog-5.40-r1.ebuild b/app-misc/astrolog/astrolog-5.40-r1.ebuild new file mode 100644 index 000000000000..5a28227beaae --- /dev/null +++ b/app-misc/astrolog/astrolog-5.40-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit toolchain-funcs + +DESCRIPTION="A many featured astrology chart calculation program" +HOMEPAGE="http://www.astrolog.org/astrolog.htm" +SRC_URI="http://www.astrolog.org/ftp/ast54unx.shr" + +LICENSE="astrolog" +SLOT="0" +KEYWORDS="amd64 ~ppc ~ppc64 x86" +IUSE="X" + +DEPEND="X? ( x11-libs/libX11 )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}" + +src_unpack() { + sh "${DISTDIR}"/ast54unx.shr || die +} + +src_prepare() { + # remove stripping of created binary, dump hardcoded CFLAGS, + # respect CC (bug #243606), and CFLAGS (bug #240057) + sed \ + -e 's:strip:#strip:' -e 's:^CFLAGS = :#CFLAGS = :' \ + -e 's:\tcc :\t$(CC) $(CFLAGS) $(LDFLAGS) :' \ + -i Makefile || die + + # we use /usr/share/astrolog for config and (optional) ephemeris-data-files + sed -i -e "s:~/astrolog:/usr/share/astrolog:g" astrolog.h || die + + # if we use X, we need to add -L/usr/X11R6/lib to compile succesful + #use X && sed -i -e "s:-lm -lX11:-lm -lX11 -L/usr/X11R6/lib:g" Makefile + + # if we do NOT use X, we disable it by removing the -lX11 from the Makefile + # and remove the "#define X11" and "#define MOUSE" from astrolog.h + use X || ( sed -i -e "s:-lm -lX11:-lm:g" Makefile + sed -i -e "s:#define X11:/*#define X11:g" astrolog.h + sed -i -e "s:#define MOUSE:/*#define MOUSE:g" astrolog.h ) + + # any user may have an own astrolog configfile + #sed -i -e "s:astrolog.dat:astrolog.dat:g" astrolog.h +} + +src_compile() { + emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" +} + +src_install() { + dobin astrolog + dodoc Helpfile.540 README.1ST README.540 Update.540 + insinto /usr/share/astrolog + doins astrolog.dat +} + +pkg_postinst() { + ewarn "There is a sample config file /usr/share/astrolog/astrolog.dat" + ewarn "astrolog looks in current dir for a file astrolog.dat before" + ewarn "using the file in /usr/share/astrolog" + ewarn "If you want extended accuracy of astrolog's calculations you" + ewarn "can emerge the optional package \"astrolog-ephemeris\" which" + ewarn "needs ~4.7 MB additional diskspace for the ephemeris-files" +} diff --git a/app-misc/astrolog/astrolog-5.40-r2.ebuild b/app-misc/astrolog/astrolog-5.40-r2.ebuild new file mode 100644 index 000000000000..57b454dba452 --- /dev/null +++ b/app-misc/astrolog/astrolog-5.40-r2.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit toolchain-funcs + +DESCRIPTION="A many featured astrology chart calculation program" +HOMEPAGE="http://www.astrolog.org/astrolog.htm" +SRC_URI="http://www.astrolog.org/ftp/ast54unx.shr" + +LICENSE="astrolog" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="X" + +DEPEND="X? ( x11-libs/libX11 )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}" + +src_unpack() { + sh "${DISTDIR}"/ast54unx.shr || die +} + +src_prepare() { + # remove stripping of created binary, dump hardcoded CFLAGS, + # respect CC (bug #243606), and CFLAGS (bug #240057) + sed \ + -e 's:strip:#strip:' -e 's:^CFLAGS = :#CFLAGS = :' \ + -e 's:\tcc :\t$(CC) $(CFLAGS) $(LDFLAGS) :' \ + -i Makefile || die + + # we use /usr/share/astrolog for config and (optional) ephemeris-data-files + sed -i -e "s:~/astrolog:/usr/share/astrolog:g" astrolog.h || die + + # if we use X, we need to add -L/usr/X11R6/lib to compile succesful + #use X && sed -i -e "s:-lm -lX11:-lm -lX11 -L/usr/X11R6/lib:g" Makefile + + # if we do NOT use X, we disable it by removing the -lX11 from the Makefile + # and remove the "#define X11" and "#define MOUSE" from astrolog.h + use X || ( sed -i -e "s:-lm -lX11:-lm:g" Makefile + sed -i -e "s:#define X11:/*#define X11:g" astrolog.h + sed -i -e "s:#define MOUSE:/*#define MOUSE:g" astrolog.h ) + + # any user may have an own astrolog configfile + #sed -i -e "s:astrolog.dat:astrolog.dat:g" astrolog.h +} + +src_compile() { + emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" +} + +src_install() { + dobin astrolog + dodoc Helpfile.540 README.1ST README.540 Update.540 + insinto /usr/share/astrolog + doins astrolog.dat +} + +pkg_postinst() { + ewarn "There is a sample config file /usr/share/astrolog/astrolog.dat" + ewarn "astrolog looks in current dir for a file astrolog.dat before" + ewarn "using the file in /usr/share/astrolog" + ewarn "If you want extended accuracy of astrolog's calculations you" + ewarn "can emerge the optional package \"astrolog-ephemeris\" which" + ewarn "needs ~4.7 MB additional diskspace for the ephemeris-files" +} diff --git a/app-misc/astrolog/metadata.xml b/app-misc/astrolog/metadata.xml new file mode 100644 index 000000000000..b589349749e1 --- /dev/null +++ b/app-misc/astrolog/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>george@gentoo.org</email> + <name>George Shapovalov</name> + </maintainer> +</pkgmetadata> diff --git a/app-misc/away/Manifest b/app-misc/away/Manifest new file mode 100644 index 000000000000..78a19d50a0f1 --- /dev/null +++ b/app-misc/away/Manifest @@ -0,0 +1 @@ +DIST away-0.9.5.tar.bz2 16909 SHA256 d8ca7d4f63634b8093e90f99b4cdf99920a13ae905c61c21095c07edd9d0ec7a SHA512 9cb0ab5caf80e337ce524ec88ee0ffc5305080be807494ababd122d7c5a00b7e79711537d74d930eb3768a71a31156e9abe5e0d9d424a201a9af31aa1bbc1c2a WHIRLPOOL 436f12d6e44263c999398e58188711af4ef91162e9105e18f9262e581d7d70228fea36cd722b7db63dab519310a80534ce921c306584144bf47b9d1ff47d7491 diff --git a/app-misc/away/away-0.9.5-r1.ebuild b/app-misc/away/away-0.9.5-r1.ebuild new file mode 100644 index 000000000000..48c32d5dd319 --- /dev/null +++ b/app-misc/away/away-0.9.5-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit pam toolchain-funcs flag-o-matic + +DESCRIPTION="Terminal locking program with few additional features" +HOMEPAGE="http://unbeatenpath.net/software/away/" +SRC_URI="http://unbeatenpath.net/software/away/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 sparc x86" +IUSE="" + +RDEPEND=">=sys-libs/pam-0.75" +DEPEND="${RDEPEND}" + +src_unpack() { + unpack ${A} + + sed -i -e '/-o \$(BINARY)/d' \ + -e 's:LIBS:LDLIBS:' \ + "${S}"/Makefile || die "Makefile fix failed" +} +src_compile() { + append-flags -pthread + + emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die +} + +src_install() { + dobin away || die "dobin failed" + + pamd_mimic_system away auth + + doman doc/* + dodoc BUGS AUTHORS NEWS README TODO data/awayrc || die "dodoc failed" +} diff --git a/app-misc/away/metadata.xml b/app-misc/away/metadata.xml new file mode 100644 index 000000000000..91f4e72fb544 --- /dev/null +++ b/app-misc/away/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>maintainer-needed@gentoo.org</email> + </maintainer> +</pkgmetadata> diff --git a/app-misc/banner/Manifest b/app-misc/banner/Manifest new file mode 100644 index 000000000000..6df67045cde6 --- /dev/null +++ b/app-misc/banner/Manifest @@ -0,0 +1 @@ +DIST banner-1.3.3.tar.gz 114237 SHA256 bbc0c166da751d2055f76fde7a268a1ea008e4b6f949b767ab79ff07d47a4bda SHA512 38f16f2a25bd7fb270056ebe43691c989a808891ecc75e4f794456d1752a07002efb7ba7b90a2000a40704e6b6f11760b47a3fe59deeb05ff3578f0d982f7d96 WHIRLPOOL bea44375446950d737e4f7472d8f9305eb640f339e1c846f43e407bd0a26da95194e97029e52fa126d50ce6f757279ee939763aafa7ee5cef19229a308bafbf3 diff --git a/app-misc/banner/banner-1.3.3.ebuild b/app-misc/banner/banner-1.3.3.ebuild new file mode 100644 index 000000000000..cb1d920d4e32 --- /dev/null +++ b/app-misc/banner/banner-1.3.3.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils + +DESCRIPTION="The well known banner program for Linux" +HOMEPAGE="http://cedar-solutions.com" +SRC_URI="http://cedar-solutions.com/ftp/software/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ~ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux" + +DEPEND="!games-misc/bsd-games" + +src_prepare() { + epatch "${FILESDIR}"/${P}-ctype.h.patch +} diff --git a/app-misc/banner/files/banner-1.3.3-ctype.h.patch b/app-misc/banner/files/banner-1.3.3-ctype.h.patch new file mode 100644 index 000000000000..c89e1b3fe8d1 --- /dev/null +++ b/app-misc/banner/files/banner-1.3.3-ctype.h.patch @@ -0,0 +1,11 @@ +--- a/banner.c ++++ b/banner.c +@@ -126,6 +126,8 @@ + #include <string.h> + #endif + ++#include <ctype.h> /* isspace() toupper() */ ++ + #include "letters.h" + + diff --git a/app-misc/banner/metadata.xml b/app-misc/banner/metadata.xml new file mode 100644 index 000000000000..731225048652 --- /dev/null +++ b/app-misc/banner/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-misc</herd> +</pkgmetadata> diff --git a/app-misc/basenji/Manifest b/app-misc/basenji/Manifest new file mode 100644 index 000000000000..2f1d0b794749 --- /dev/null +++ b/app-misc/basenji/Manifest @@ -0,0 +1 @@ +DIST basenji-1.0.0.tar.gz 642763 SHA256 1a52c351a84ffe05801f1f440bfc9dbf4523136fad0da40d928e6e354c727c1e SHA512 9448545f345138cdef39f872a8bbd60d60a6e8f49a7ea518d58fa69c6711c5ca019d1d0257e26b80b95d5fe12d787ab9b2ed4bf5a76e4f6acccd904cc6fa6084 WHIRLPOOL 315ea82274acbb7e98ac44407fd10fa377940db7b47f37c54ad11806b2e7e0cc1a40568b12bb805316fb2d91cd550a568d305d9072194a7b5d94c392f8b28319 diff --git a/app-misc/basenji/basenji-1.0.0.ebuild b/app-misc/basenji/basenji-1.0.0.ebuild new file mode 100644 index 000000000000..843742a2e489 --- /dev/null +++ b/app-misc/basenji/basenji-1.0.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit multilib versionator + +DESCRIPTION="Basenji is a volume indexing tool designed for easy and fast indexing of volume collections" +HOMEPAGE="http://launchpad.net/basenji" +SRC_URI="http://launchpad.net/basenji/trunk/$(get_version_component_range 1-2)/+download/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +CDEPEND="dev-dotnet/dbus-sharp + dev-dotnet/dbus-sharp-glib + dev-dotnet/gio-sharp + dev-dotnet/gtk-sharp + dev-dotnet/gnome-sharp + dev-dotnet/taglib-sharp + media-libs/libextractor" + +DEPEND="${CDEPEND}" + +RDEPEND="${CDEPEND} + dev-dotnet/gnome-desktop-sharp + sys-fs/udisks" + +S="${WORKDIR}" + +src_prepare() { + sed -i -e "s/-pkg:mono-cairo/-r:Mono.Cairo/" Basenji/Makefile || die "sed failed." +} + +src_configure() { + ./configure --prefix="${EPREFIX}/usr" +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed" +} diff --git a/app-misc/basenji/metadata.xml b/app-misc/basenji/metadata.xml new file mode 100644 index 000000000000..8a8a86733d17 --- /dev/null +++ b/app-misc/basenji/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>maintainer-needed@gentoo.org</email> + </maintainer> + <longdescription> + Basenji is a volume indexing tool designed for easy and fast indexing of volume collections. It currently supports indexing of removable media such as CDs and USB sticks and stores them as volume objects in a database. After being stored in this database, volumes can be browsed and searched trough for specific files very quickly. + </longdescription> + <use> + </use> + <upstream> + <remote-id type="launchpad">basenji</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-misc/bb/Manifest b/app-misc/bb/Manifest new file mode 100644 index 000000000000..f0828061abec --- /dev/null +++ b/app-misc/bb/Manifest @@ -0,0 +1 @@ +DIST bb-1.3rc1.tar.gz 1416292 SHA256 793d88c872793b6dab444cf5bab24f283ecb2f3502f1479ebbe41dd8e90b81c4 SHA512 f05eb741f1189038a5a63016437f8eaeb25eb001307561bfe8827701bc246873fec14462e586d5966dcd1c74cddaf346f4670254b712713625e139300817c0a9 WHIRLPOOL 3e56032a2dc593eb91418deb6ca13d641177068755b5ee5c7d836ff0e444e4f4a0f3453d3d841f7a6f4dae007b3188cccb2fc478aad6dc2f94684ac5221023c7 diff --git a/app-misc/bb/bb-1.3.0_rc1-r3.ebuild b/app-misc/bb/bb-1.3.0_rc1-r3.ebuild new file mode 100644 index 000000000000..3232314295ba --- /dev/null +++ b/app-misc/bb/bb-1.3.0_rc1-r3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools eutils versionator + +MY_P="${PN}-$(get_version_component_range 1-2)$(get_version_component_range 4-4)" + +DESCRIPTION="Demonstration program for visual effects of aalib" +HOMEPAGE="http://aa-project.sourceforge.net/" +SRC_URI="mirror://sourceforge/aa-project/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="mikmod" + +DEPEND="media-libs/aalib:= + dev-libs/lzo:= + mikmod? ( media-libs/libmikmod:= ) +" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)" + +src_prepare() { + epatch "${FILESDIR}/${P}-noattr.patch" + epatch "${FILESDIR}/${P}-fix-protos.patch" + epatch "${FILESDIR}"/${P}-messager-overlap.patch + epatch "${FILESDIR}"/${P}-zbuff-fault.patch + epatch "${FILESDIR}"/${P}-printf-cleanup.patch + epatch "${FILESDIR}"/${P}-m4-stuff.patch + + # unbundle lzo, #515286 + rm -v README.LZO minilzo.{c,h} mylzo.h || die + sed -e 's/minilzo.c//' \ + -e 's/minilzo.h//' \ + -e 's/README.LZO//' \ + -i Makefile.am || die + echo 'bb_LDADD = -llzo2' >> Makefile.am || die + # update code + sed -e 's,#include "minilzo.h",#include <lzo/lzo1x.h>,' \ + -e 's,int size = image,lzo_uint size = image,' \ + -i image.c || die + + # rename binary and manpage bb -> bb-aalib + + mv bb.1 bb-aalib.1 || die + sed -e 's/bb/bb-aalib/' \ + -i bb-aalib.1 + sed -e 's/bin_PROGRAMS = bb/bin_PROGRAMS = bb-aalib/' \ + -e 's/man_MANS = bb.1/man_MANS = bb-aalib.1/' \ + -e 's/bb_SOURCES/bb_aalib_SOURCES/' \ + -e 's/bb_LDADD/bb_aalib_LDADD/' \ + -i Makefile.am || die + + AT_M4DIR="m4" eautoreconf +} + +pkg_postinst() { + elog "bb binary has been renamed to bb-aalib to avoid a naming conflict with sys-apps/busybox." +} diff --git a/app-misc/bb/files/bb-1.3.0_rc1-fix-protos.patch b/app-misc/bb/files/bb-1.3.0_rc1-fix-protos.patch new file mode 100644 index 000000000000..577f306c8169 --- /dev/null +++ b/app-misc/bb/files/bb-1.3.0_rc1-fix-protos.patch @@ -0,0 +1,15 @@ +Fixes warning: +main.c: In function 'load_song': +main.c:56:23: warning: incompatible implicit declaration of built-in function 'strlen' +diff --git a/main.c b/main.c +index ae852a7..417ff62 100644 +--- a/main.c ++++ b/main.c +@@ -21,6 +21,7 @@ + * 675 Mass Ave, Cambridge, MA 02139, USA. + */ + ++#include <string.h> + #include <unistd.h> + #include "timers.h" + #include "bb.h" diff --git a/app-misc/bb/files/bb-1.3.0_rc1-m4-stuff.patch b/app-misc/bb/files/bb-1.3.0_rc1-m4-stuff.patch new file mode 100644 index 000000000000..0fa98f8162f5 --- /dev/null +++ b/app-misc/bb/files/bb-1.3.0_rc1-m4-stuff.patch @@ -0,0 +1,396 @@ +Fix aclocal failure on libmikmod-less systems + +commit 55b86efdc3e2a1febb593169b10ab252c75fdb10 +Author: Sergei Trofimovich <slyfox@gentoo.org> +Date: Tue Feb 7 10:59:09 2012 +0300 + + bb-1.3.0_rc1: bundle m4 source + +diff --git m4/aalib.m4 m4/aalib.m4 +new file mode 100644 +index 0000000..991fbda +--- /dev/null ++++ m4/aalib.m4 +@@ -0,0 +1,169 @@ ++# Configure paths for AALIB ++# Jan Hubicka 4/22/2001 ++# stolen from Sam Lantinga 9/21/99 ++# stolen from Manish Singh ++# stolen back from Frank Belew ++# stolen from Manish Singh ++# Shamelessly stolen from Owen Taylor ++ ++dnl AM_PATH_AALIB([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) ++dnl Test for AALIB, and define AALIB_CFLAGS and AALIB_LIBS ++dnl ++AC_DEFUN([AM_PATH_AALIB], ++[dnl ++dnl Get the cflags and libraries from the aalib-config script ++dnl ++AC_ARG_WITH(aalib-prefix,[ --with-aalib-prefix=PFX Prefix where AALIB is installed (optional)], ++ aalib_prefix="$withval", aalib_prefix="") ++AC_ARG_WITH(aalib-exec-prefix,[ --with-aalib-exec-prefix=PFX Exec prefix where AALIB is installed (optional)], ++ aalib_exec_prefix="$withval", aalib_exec_prefix="") ++AC_ARG_ENABLE(aalibtest, [ --disable-aalibtest Do not try to compile and run a test AALIB program], ++ , enable_aalibtest=yes) ++ ++ if test x$aalib_exec_prefix != x ; then ++ aalib_args="$aalib_args --exec-prefix=$aalib_exec_prefix" ++ if test x${AALIB_CONFIG+set} != xset ; then ++ AALIB_CONFIG=$aalib_exec_prefix/bin/aalib-config ++ fi ++ fi ++ if test x$aalib_prefix != x ; then ++ aalib_args="$aalib_args --prefix=$aalib_prefix" ++ if test x${AALIB_CONFIG+set} != xset ; then ++ AALIB_CONFIG=$aalib_prefix/bin/aalib-config ++ fi ++ fi ++ ++ AC_PATH_PROG(AALIB_CONFIG, aalib-config, no) ++ min_aalib_version=ifelse([$1], ,0.11.0,$1) ++ AC_MSG_CHECKING(for AALIB - version >= $min_aalib_version) ++ no_aalib="" ++ if test "$AALIB_CONFIG" = "no" ; then ++ no_aalib=yes ++ else ++ AALIB_CFLAGS=`$AALIB_CONFIG $aalibconf_args --cflags` ++ AALIB_LIBS=`$AALIB_CONFIG $aalibconf_args --libs` ++ ++ aalib_major_version=`$AALIB_CONFIG $aalib_args --version | \ ++ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` ++ aalib_minor_version=`$AALIB_CONFIG $aalib_args --version | \ ++ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` ++ aalib_micro_version=`$AALIB_CONFIG $aalib_config_args --version | \ ++ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` ++ if test "x$enable_aalibtest" = "xyes" ; then ++ ac_save_CFLAGS="$CFLAGS" ++ ac_save_LIBS="$LIBS" ++ CFLAGS="$CFLAGS $AALIB_CFLAGS" ++ LIBS="$LIBS $AALIB_LIBS" ++dnl ++dnl Now check if the installed AALIB is sufficiently new. (Also sanity ++dnl checks the results of aalib-config to some extent ++dnl ++ rm -f conf.aalibtest ++ AC_TRY_RUN([ ++#include <stdio.h> ++#include <stdlib.h> ++#include <string.h> ++#include "aalib.h" ++ ++char* ++my_strdup (char *str) ++{ ++ char *new_str; ++ ++ if (str) ++ { ++ new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char)); ++ strcpy (new_str, str); ++ } ++ else ++ new_str = NULL; ++ ++ return new_str; ++} ++ ++int main (int argc, char *argv[]) ++{ ++ int major, minor, micro; ++ char *tmp_version; ++ ++ /* This hangs on some systems (?) ++ system ("touch conf.aalibtest"); ++ */ ++ { FILE *fp = fopen("conf.aalibtest", "a"); if ( fp ) fclose(fp); } ++ ++ /* HP/UX 9 (%@#!) writes to sscanf strings */ ++ tmp_version = my_strdup("$min_aalib_version"); ++ if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { ++ printf("%s, bad version string\n", "$min_aalib_version"); ++ exit(1); ++ } ++ ++ if (($aalib_major_version > major) || ++ (($aalib_major_version == major) && ($aalib_minor_version > minor)) || ++ (($aalib_major_version == major) && ($aalib_minor_version == minor) && ($aalib_micro_version >= micro))) ++ { ++ return 0; ++ } ++ else ++ { ++ printf("\n*** 'aalib-config --version' returned %d.%d.%d, but the minimum version\n", $aalib_major_version, $aalib_minor_version, $aalib_micro_version); ++ printf("*** of AALIB required is %d.%d.%d. If aalib-config is correct, then it is\n", major, minor, micro); ++ printf("*** best to upgrade to the required version.\n"); ++ printf("*** If aalib-config was wrong, set the environment variable AALIB_CONFIG\n"); ++ printf("*** to point to the correct copy of aalib-config, and remove the file\n"); ++ printf("*** config.cache before re-running configure\n"); ++ return 1; ++ } ++} ++ ++],, no_aalib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) ++ CFLAGS="$ac_save_CFLAGS" ++ LIBS="$ac_save_LIBS" ++ fi ++ fi ++ if test "x$no_aalib" = x ; then ++ AC_MSG_RESULT(yes) ++ ifelse([$2], , :, [$2]) ++ else ++ AC_MSG_RESULT(no) ++ if test "$AALIB_CONFIG" = "no" ; then ++ echo "*** The aalib-config script installed by AALIB could not be found" ++ echo "*** If AALIB was installed in PREFIX, make sure PREFIX/bin is in" ++ echo "*** your path, or set the AALIB_CONFIG environment variable to the" ++ echo "*** full path to aalib-config." ++ else ++ if test -f conf.aalibtest ; then ++ : ++ else ++ echo "*** Could not run AALIB test program, checking why..." ++ CFLAGS="$CFLAGS $AALIB_CFLAGS" ++ LIBS="$LIBS $AALIB_LIBS" ++ AC_TRY_LINK([ ++#include <stdio.h> ++#include "AALIB.h" ++], [ return 0; ], ++ [ echo "*** The test program compiled, but did not run. This usually means" ++ echo "*** that the run-time linker is not finding AALIB or finding the wrong" ++ echo "*** version of AALIB. If it is not finding AALIB, you'll need to set your" ++ echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" ++ echo "*** to the installed location Also, make sure you have run ldconfig if that" ++ echo "*** is required on your system" ++ echo "***" ++ echo "*** If you have an old version installed, it is best to remove it, although" ++ echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], ++ [ echo "*** The test program failed to compile or link. See the file config.log for the" ++ echo "*** exact error that occured. This usually means AALIB was incorrectly installed" ++ echo "*** or that you have moved AALIB since it was installed. In the latter case, you" ++ echo "*** may want to edit the aalib-config script: $AALIB_CONFIG" ]) ++ CFLAGS="$ac_save_CFLAGS" ++ LIBS="$ac_save_LIBS" ++ fi ++ fi ++ AALIB_CFLAGS="" ++ AALIB_LIBS="" ++ ifelse([$3], , :, [$3]) ++ fi ++ AC_SUBST(AALIB_CFLAGS) ++ AC_SUBST(AALIB_LIBS) ++ rm -f conf.aalibtest ++]) +diff --git m4/libmikmod.m4 m4/libmikmod.m4 +new file mode 100644 +index 0000000..18feebe +--- /dev/null ++++ m4/libmikmod.m4 +@@ -0,0 +1,207 @@ ++# Configure paths for libmikmod ++# ++# Derived from glib.m4 (Owen Taylor 97-11-3) ++# Improved by Chris Butler ++# ++ ++dnl AM_PATH_LIBMIKMOD([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]]) ++dnl Test for libmikmod, and define LIBMIKMOD_CFLAGS, LIBMIKMOD_LIBS and ++dnl LIBMIKMOD_LDADD ++dnl ++AC_DEFUN([AM_PATH_LIBMIKMOD], ++[dnl ++dnl Get the cflags and libraries from the libmikmod-config script ++dnl ++AC_ARG_WITH(libmikmod-prefix,[ --with-libmikmod-prefix=PFX Prefix where libmikmod is installed (optional)], ++ libmikmod_config_prefix="$withval", libmikmod_config_prefix="") ++AC_ARG_WITH(libmikmod-exec-prefix,[ --with-libmikmod-exec-prefix=PFX Exec prefix where libmikmod is installed (optional)], ++ libmikmod_config_exec_prefix="$withval", libmikmod_config_exec_prefix="") ++AC_ARG_ENABLE(libmikmodtest, [ --disable-libmikmodtest Do not try to compile and run a test libmikmod program], ++ , enable_libmikmodtest=yes) ++ ++ if test x$libmikmod_config_exec_prefix != x ; then ++ libmikmod_config_args="$libmikmod_config_args --exec-prefix=$libmikmod_config_exec_prefix" ++ if test x${LIBMIKMOD_CONFIG+set} != xset ; then ++ LIBMIKMOD_CONFIG=$libmikmod_config_exec_prefix/bin/libmikmod-config ++ fi ++ fi ++ if test x$libmikmod_config_prefix != x ; then ++ libmikmod_config_args="$libmikmod_config_args --prefix=$libmikmod_config_prefix" ++ if test x${LIBMIKMOD_CONFIG+set} != xset ; then ++ LIBMIKMOD_CONFIG=$libmikmod_config_prefix/bin/libmikmod-config ++ fi ++ fi ++ ++ AC_PATH_PROG(LIBMIKMOD_CONFIG, libmikmod-config, no) ++ min_libmikmod_version=ifelse([$1], ,3.1.5,$1) ++ AC_MSG_CHECKING(for libmikmod - version >= $min_libmikmod_version) ++ no_libmikmod="" ++ if test "$LIBMIKMOD_CONFIG" = "no" ; then ++ no_libmikmod=yes ++ else ++ LIBMIKMOD_CFLAGS=`$LIBMIKMOD_CONFIG $libmikmod_config_args --cflags` ++ LIBMIKMOD_LIBS=`$LIBMIKMOD_CONFIG $libmikmod_config_args --libs` ++ LIBMIKMOD_LDADD=`$LIBMIKMOD_CONFIG $libmikmod_config_args --ldadd` ++ libmikmod_config_major_version=`$LIBMIKMOD_CONFIG $libmikmod_config_args --version | \ ++ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\).*/\1/'` ++ libmikmod_config_minor_version=`$LIBMIKMOD_CONFIG $libmikmod_config_args --version | \ ++ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\).*/\2/'` ++ libmikmod_config_micro_version=`$LIBMIKMOD_CONFIG $libmikmod_config_args --version | \ ++ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\).*/\3/'` ++ if test "x$enable_libmikmodtest" = "xyes" ; then ++ ac_save_CFLAGS="$CFLAGS" ++ ac_save_LIBS="$LIBS" ++ AC_LANG_SAVE ++ AC_LANG_C ++ CFLAGS="$CFLAGS $LIBMIKMOD_CFLAGS $LIBMIKMOD_LDADD" ++ LIBS="$LIBMIKMOD_LIBS $LIBS" ++dnl ++dnl Now check if the installed libmikmod is sufficiently new. (Also sanity ++dnl checks the results of libmikmod-config to some extent ++dnl ++ rm -f conf.mikmodtest ++ AC_TRY_RUN([ ++#include <mikmod.h> ++#include <stdio.h> ++#include <stdlib.h> ++ ++char* my_strdup (char *str) ++{ ++ char *new_str; ++ ++ if (str) { ++ new_str = malloc ((strlen (str) + 1) * sizeof(char)); ++ strcpy (new_str, str); ++ } else ++ new_str = NULL; ++ ++ return new_str; ++} ++ ++int main() ++{ ++ int major,minor,micro; ++ int libmikmod_major_version,libmikmod_minor_version,libmikmod_micro_version; ++ char *tmp_version; ++ ++ system("touch conf.mikmodtest"); ++ ++ /* HP/UX 9 (%@#!) writes to sscanf strings */ ++ tmp_version = my_strdup("$min_libmikmod_version"); ++ if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { ++ printf("%s, bad version string\n", "$min_libmikmod_version"); ++ exit(1); ++ } ++ ++ libmikmod_major_version=(MikMod_GetVersion() >> 16) & 255; ++ libmikmod_minor_version=(MikMod_GetVersion() >> 8) & 255; ++ libmikmod_micro_version=(MikMod_GetVersion() ) & 255; ++ ++ if ((libmikmod_major_version != $libmikmod_config_major_version) || ++ (libmikmod_minor_version != $libmikmod_config_minor_version) || ++ (libmikmod_micro_version != $libmikmod_config_micro_version)) ++ { ++ printf("\n*** 'libmikmod-config --version' returned %d.%d.%d, but libmikmod (%d.%d.%d)\n", ++ $libmikmod_config_major_version, $libmikmod_config_minor_version, $libmikmod_config_micro_version, ++ libmikmod_major_version, libmikmod_minor_version, libmikmod_micro_version); ++ printf ("*** was found! If libmikmod-config was correct, then it is best\n"); ++ printf ("*** to remove the old version of libmikmod. You may also be able to fix the error\n"); ++ printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); ++ printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); ++ printf("*** required on your system.\n"); ++ printf("*** If libmikmod-config was wrong, set the environment variable LIBMIKMOD_CONFIG\n"); ++ printf("*** to point to the correct copy of libmikmod-config, and remove the file config.cache\n"); ++ printf("*** before re-running configure\n"); ++ } ++ else if ((libmikmod_major_version != LIBMIKMOD_VERSION_MAJOR) || ++ (libmikmod_minor_version != LIBMIKMOD_VERSION_MINOR) || ++ (libmikmod_micro_version != LIBMIKMOD_REVISION)) ++ { ++ printf("*** libmikmod header files (version %d.%d.%d) do not match\n", ++ LIBMIKMOD_VERSION_MAJOR, LIBMIKMOD_VERSION_MINOR, LIBMIKMOD_REVISION); ++ printf("*** library (version %d.%d.%d)\n", ++ libmikmod_major_version, libmikmod_minor_version, libmikmod_micro_version); ++ } ++ else ++ { ++ if ((libmikmod_major_version > major) || ++ ((libmikmod_major_version == major) && (libmikmod_minor_version > minor)) || ++ ((libmikmod_major_version == major) && (libmikmod_minor_version == minor) && (libmikmod_micro_version >= micro))) ++ { ++ return 0; ++ } ++ else ++ { ++ printf("\n*** An old version of libmikmod (%d.%d.%d) was found.\n", ++ libmikmod_major_version, libmikmod_minor_version, libmikmod_micro_version); ++ printf("*** You need a version of libmikmod newer than %d.%d.%d.\n", ++ major, minor, micro); ++ printf("***\n"); ++ printf("*** If you have already installed a sufficiently new version, this error\n"); ++ printf("*** probably means that the wrong copy of the libmikmod-config shell script is\n"); ++ printf("*** being found. The easiest way to fix this is to remove the old version\n"); ++ printf("*** of libmikmod, but you can also set the LIBMIKMOD_CONFIG environment to point to the\n"); ++ printf("*** correct copy of libmikmod-config. (In this case, you will have to\n"); ++ printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); ++ printf("*** so that the correct libraries are found at run-time))\n"); ++ } ++ } ++ return 1; ++} ++],, no_libmikmod=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) ++ CFLAGS="$ac_save_CFLAGS" ++ LIBS="$ac_save_LIBS" ++ AC_LANG_RESTORE ++ fi ++ fi ++ if test "x$no_libmikmod" = x ; then ++ AC_MSG_RESULT([yes, `$LIBMIKMOD_CONFIG --version`]) ++ ifelse([$2], , :, [$2]) ++ else ++ AC_MSG_RESULT(no) ++ if test "$LIBMIKMOD_CONFIG" = "no" ; then ++ echo "*** The libmikmod-config script installed by libmikmod could not be found" ++ echo "*** If libmikmod was installed in PREFIX, make sure PREFIX/bin is in" ++ echo "*** your path, or set the LIBMIKMOD_CONFIG environment variable to the" ++ echo "*** full path to libmikmod-config." ++ else ++ if test -f conf.mikmodtest ; then ++ : ++ else ++ echo "*** Could not run libmikmod test program, checking why..." ++ CFLAGS="$CFLAGS $LIBMIKMOD_CFLAGS" ++ LIBS="$LIBS $LIBMIKMOD_LIBS" ++ AC_LANG_SAVE ++ AC_LANG_C ++ AC_TRY_LINK([ ++#include <mikmod.h> ++#include <stdio.h> ++], [ return (MikMod_GetVersion()!=0); ], ++ [ echo "*** The test program compiled, but did not run. This usually means" ++ echo "*** that the run-time linker is not finding libmikmod or finding the wrong" ++ echo "*** version of libmikmod. If it is not finding libmikmod, you'll need to set your" ++ echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" ++ echo "*** to the installed location. Also, make sure you have run ldconfig if that" ++ echo "*** is required on your system." ++ echo "***" ++ echo "*** If you have an old version installed, it is best to remove it, although" ++ echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], ++ [ echo "*** The test program failed to compile or link. See the file config.log for the" ++ echo "*** exact error that occured. This usually means libmikmod was incorrectly installed" ++ echo "*** or that you have moved libmikmod since it was installed. In the latter case, you" ++ echo "*** may want to edit the libmikmod-config script: $LIBMIKMOD_CONFIG" ]) ++ CFLAGS="$ac_save_CFLAGS" ++ LIBS="$ac_save_LIBS" ++ AC_LANG_RESTORE ++ fi ++ fi ++ LIBMIKMOD_CFLAGS="" ++ LIBMIKMOD_LIBS="" ++ LIBMIKMOD_LDADD="" ++ ifelse([$3], , :, [$3]) ++ fi ++ AC_SUBST(LIBMIKMOD_CFLAGS) ++ AC_SUBST(LIBMIKMOD_LIBS) ++ AC_SUBST(LIBMIKMOD_LDADD) ++ rm -f conf.mikmodtest ++]) diff --git a/app-misc/bb/files/bb-1.3.0_rc1-messager-overlap.patch b/app-misc/bb/files/bb-1.3.0_rc1-messager-overlap.patch new file mode 100644 index 000000000000..e46b75fd5815 --- /dev/null +++ b/app-misc/bb/files/bb-1.3.0_rc1-messager-overlap.patch @@ -0,0 +1,25 @@ +messager.c: fix memory overlap (fixes artefacts in scrolling text) + +==363== Source and destination overlap in memcpy(0xa066240, 0xa0662b8, 240) +==363== at 0x4C2B220: memcpy@@GLIBC_2.14 (mc_replace_strmem.c:838) +==363== by 0x407D97: newline (messager.c:43) +==363== by 0x407EE6: put (messager.c:54) +==363== by 0x40806E: messager (messager.c:77) +==363== by 0x403009: bb (bb.c:258) +==363== by 0x407C06: main (main.c:202) + +diff --git a/messager.c b/messager.c +index 95cc410..964080b 100644 +--- a/messager.c ++++ b/messager.c +@@ -40,8 +40,8 @@ static void newline() + start = 0; + cursor_y++, cursor_x = 0; + if (cursor_y >= aa_scrheight(context)) { +- memcpy(context->textbuffer + start * aa_scrwidth(context), context->textbuffer + (start + 1) * aa_scrwidth(context), aa_scrwidth(context) * (aa_scrheight(context) - start - 1)); +- memcpy(context->attrbuffer + start * aa_scrwidth(context), context->attrbuffer + (start + 1) * aa_scrwidth(context), aa_scrwidth(context) * (aa_scrheight(context) - start - 1)); ++ memmove(context->textbuffer + start * aa_scrwidth(context), context->textbuffer + (start + 1) * aa_scrwidth(context), aa_scrwidth(context) * (aa_scrheight(context) - start - 1)); ++ memmove(context->attrbuffer + start * aa_scrwidth(context), context->attrbuffer + (start + 1) * aa_scrwidth(context), aa_scrwidth(context) * (aa_scrheight(context) - start - 1)); + memset(context->textbuffer + aa_scrwidth(context) * (aa_scrheight(context) - 1), ' ', aa_scrwidth(context)); + memset(context->attrbuffer + aa_scrwidth(context) * (aa_scrheight(context) - 1), 0, aa_scrwidth(context)); + cursor_y--; diff --git a/app-misc/bb/files/bb-1.3.0_rc1-noattr.patch b/app-misc/bb/files/bb-1.3.0_rc1-noattr.patch new file mode 100644 index 000000000000..7a6f9474a71e --- /dev/null +++ b/app-misc/bb/files/bb-1.3.0_rc1-noattr.patch @@ -0,0 +1,15 @@ +# remove __attribute__ + +--- timers.h Thu Apr 26 18:04:22 2001 ++++ timers.h Sun Dec 9 18:44:31 2007 +@@ -49,8 +49,8 @@ + extern tl_group *syncgroup, *asyncgroup; + void tl_sleep (int); + void tl_allegromode (int mode); /*Just for djgpp */ +-int tl_lookup_timer (tl_timer * t) REGISTERS (3); +-void tl_reset_timer (tl_timer * t) REGISTERS (3); ++int tl_lookup_timer (tl_timer * t); ++void tl_reset_timer (tl_timer * t); + + struct timeemulator *tl_create_emulator(void); + void tl_free_emulator(struct timeemulator *t); diff --git a/app-misc/bb/files/bb-1.3.0_rc1-printf-cleanup.patch b/app-misc/bb/files/bb-1.3.0_rc1-printf-cleanup.patch new file mode 100644 index 000000000000..da113795124b --- /dev/null +++ b/app-misc/bb/files/bb-1.3.0_rc1-printf-cleanup.patch @@ -0,0 +1,55 @@ +zoom.c: cleanup protos + +x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -march=core2 -pipe -I/usr/include -pthread -D_REENTRANT -D SOUNDDIR=\"/usr/share/bb\" -c zoom.c +zoom.c: In function 'mkrealloc_table': +zoom.c:245:113: warning: format '%i' expects type 'int', but argument 3 has type 'long unsigned int' +zoom.c:251:113: warning: format '%i' expects type 'int', but argument 3 has type 'long unsigned int' +zoom.c:260:113: warning: format '%i' expects type 'int', but argument 3 has type 'long unsigned int' +zoom.c: In function 'moveoldpoints': +zoom.c:590:3: warning: format '%i' expects type 'int', but argument 3 has type 'long unsigned int' +zoom.c:596:3: warning: format '%i' expects type 'int', but argument 3 has type 'long unsigned int' +diff --git a/zoom.c b/zoom.c +index 7450095..b86cc8b 100644 +--- a/zoom.c ++++ b/zoom.c +@@ -241,13 +241,13 @@ static /*INLINE */ void mkrealloc_table(register number_t * pos, realloc_t * rea + #endif + if (dyndata == NULL) { + fprintf(stderr, "XaoS fatal error:Could not allocate memory for" +- "temporary dynamical data of size:%i\n" ++ "temporary dynamical data of size:%li\n" + "I am unable to handle this problem so please resize to lower window\n", (size) * (DSIZE + 1) * sizeof(struct dyn_data) + size * sizeof(int) + size * sizeof(int)); + return; + } + if (best == NULL) { + fprintf(stderr, "XaoS fatal error:Could not allocate memory for" +- "temporary dynamical data of size:%i\n" ++ "temporary dynamical data of size:%li\n" + "I am unable to handle this problem so please resize to lower window\n", (size) * (DSIZE + 1) * sizeof(struct dyn_data) + size * sizeof(int) + size * sizeof(int)); + #ifndef HAVE_ALLOCA + free(dyndata); +@@ -256,7 +256,7 @@ static /*INLINE */ void mkrealloc_table(register number_t * pos, realloc_t * rea + } + if (best1 == NULL) { + fprintf(stderr, "XaoS fatal error:Could not allocate memory for" +- "temporary dynamical data of size:%i\n" ++ "temporary dynamical data of size:%li\n" + "I am unable to handle this problem so please resize to lower window\n", (size) * (DSIZE + 1) * sizeof(struct dyn_data) + size * sizeof(int) + size * sizeof(int)); + #ifndef HAVE_ALLOCA + free(dyndata); +@@ -586,13 +586,13 @@ static /*INLINE */ void moveoldpoints(void) + #endif + if (size == NULL) { + fprintf(stderr, "XaoS fratal error:Could not allocate memory for" +- "temporary dynamical data of size:%i\n" ++ "temporary dynamical data of size:%li\n" + "I am unable to handle this problem so please resize to lower window\n", 2 * d->width * sizeof(int)); + return; + } + if (start == NULL) { + fprintf(stderr, "XaoS fratal error:Could not allocate memory for" +- "temporary dynamical data of size:%i\n" ++ "temporary dynamical data of size:%li\n" + "I am unable to handle this problem so please resize to lower window\n", 2 * d->width * sizeof(int)); + #ifndef HAVE_ALLOCA + free(size); diff --git a/app-misc/bb/files/bb-1.3.0_rc1-zbuff-fault.patch b/app-misc/bb/files/bb-1.3.0_rc1-zbuff-fault.patch new file mode 100644 index 000000000000..b3e882ed55e9 --- /dev/null +++ b/app-misc/bb/files/bb-1.3.0_rc1-zbuff-fault.patch @@ -0,0 +1,35 @@ +tex.c: Fix out-of-bounds zbuff clearing + +> zbuff = (int *) malloc(X_s * Y_s * sizeof(int)); +> memset(zbuff, 0x55, (X_s * Y_s * sizeof(long))); + +Ouch! amd64: sizeof(long) == 8; sizeof (int) == 4 + +Valgrind says: +==4525== Invalid write of size 4 +==4525== at 0x4C2C3AF: memset (mc_replace_strmem.c:967) +==4525== by 0x4122E0: clear_zbuff (tex.c:95) +==4525== by 0x4144D8: disp3d (tex.c:292) +==4525== by 0x40F3C6: scene5 (scene5.c:206) +==4525== by 0x4031BC: bb (bb.c:325) +==4525== by 0x407C56: main (main.c:202) +==4525== Address 0xac9ef00 is 0 bytes after a block of size 34,992 alloc'd +==4525== at 0x4C2996D: malloc (vg_replace_malloc.c:263) +==4525== by 0x412283: set_zbuff (tex.c:85) +==4525== by 0x40F347: scene5 (scene5.c:196) +==4525== by 0x4031BC: bb (bb.c:325) +==4525== by 0x407C56: main (main.c:202) + +diff --git a/tex.c b/tex.c +index 9f2f99d..b390510 100644 +--- a/tex.c ++++ b/tex.c +@@ -92,7 +92,7 @@ void unset_zbuff() + + static inline void clear_zbuff() + { +- memset(zbuff, 0x55, (X_s * Y_s * sizeof(long))); ++ memset(zbuff, 0x55, (X_s * Y_s * sizeof(int))); + } + + diff --git a/app-misc/bb/metadata.xml b/app-misc/bb/metadata.xml new file mode 100644 index 000000000000..94a1b8593946 --- /dev/null +++ b/app-misc/bb/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>slyfox@gentoo.org</email> + <name>Sergei Trofimovich</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">aa-project</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-misc/beancounter/Manifest b/app-misc/beancounter/Manifest new file mode 100644 index 000000000000..d3dfe1a57e5c --- /dev/null +++ b/app-misc/beancounter/Manifest @@ -0,0 +1 @@ +DIST beancounter_0.8.10.tar.gz 88658 SHA256 342a29110128daf6d4dc97dc5a8275d484154d8a75362df6804c953c7cfa7bbe SHA512 6d1270f0846987fe73480e0f6b46d1c27971d70ffe2622dee9a907f852249f7d30459003cc560c95dff9e6c973a88e81c4f6f63af8f8aa278861962bba703c1b WHIRLPOOL 2108f5d8d2852d098e748ad96b4dd69c71bd47a5584243e0e9643e10bfd75276672a3cc1b932d334e6be7c81e7c4150b81c71290d3848e81096a73f585241b1d diff --git a/app-misc/beancounter/beancounter-0.8.10-r1.ebuild b/app-misc/beancounter/beancounter-0.8.10-r1.ebuild new file mode 100644 index 000000000000..98a4fec0fce2 --- /dev/null +++ b/app-misc/beancounter/beancounter-0.8.10-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit perl-module + +DESCRIPTION="Finance performance calculation engine with full data acquisition and SQL support" +HOMEPAGE="http://dirk.eddelbuettel.com/code/beancounter.html" +SRC_URI="http://eddelbuettel.com/dirk/code/${PN}/${PN}_${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="mysql postgres sqlite" + +DEPEND="dev-perl/DateManip + dev-perl/Statistics-Descriptive + dev-perl/Finance-YahooQuote + dev-perl/libwww-perl + mysql? ( dev-perl/DBD-mysql ) + sqlite? ( dev-perl/DBD-SQLite ) + postgres? ( dev-perl/DBD-Pg )" + +RDEPEND="${DEPEND} dev-perl/DBI" +mydoc="README example.beancounterrc beancounter_*.txt " + +src_install() { + perl-module_src_install + # rm unwanted READMEs + rm "${D}"usr/share/doc/${PF}/{README.Debian,README.non-gnu} || die +} diff --git a/app-misc/beancounter/metadata.xml b/app-misc/beancounter/metadata.xml new file mode 100644 index 000000000000..5ff3359131f4 --- /dev/null +++ b/app-misc/beancounter/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>maintainer-needed@gentoo.org</email> + </maintainer> + <longdescription lang="en"> + Finance performance calculation engine with data acquisition (Yahoo! Finance) + and SQL backend support. + </longdescription> +</pkgmetadata> diff --git a/app-misc/beanstalkd/Manifest b/app-misc/beanstalkd/Manifest new file mode 100644 index 000000000000..20e2fc516e9c --- /dev/null +++ b/app-misc/beanstalkd/Manifest @@ -0,0 +1,3 @@ +DIST beanstalkd-1.10.tar.gz 66243 SHA256 923b1e195e168c2a91adcc75371231c26dcf23868ed3e0403cd4b1d662a52d59 SHA512 db85e4a32c686330e50d64d497a39bb9806de42a2c2d2c84eb260ae8cfad91b4c99eef6a8f0ab3e62d0ca71a31837778ec68a4299899ac5a9d94a5a4403d673b WHIRLPOOL 3074fb2df0aa835d46d95a90a573bfe2afd1d316da6c9739d37d1eafb85b987ef12c3113f2bc51afed014e151e5eb064922b46c16a92e3113480b1c5ec8dc50c +DIST beanstalkd-1.4.6.tar.gz 140858 SHA256 a03aca5ccd87c2a1bb6cdaf38d3463c9f987090f4eb6cd9c7f6e03d3d54d3ac9 SHA512 07cd77540367c25cdd16bea6f46a5e43162a13d59e96a6821465bfc950e6fbac2e28e0e1cb0f5b6d1483b493b59daad68c0d99672edeeb4f709d6b835d76eb64 WHIRLPOOL cd7f35ad0432000894a186803b01dbf963146fcb5473fc185dd918987a3235df98fbc743d6bcf80b7d364532b772fbde723e13c649d15fa40870c256e6ea542a +DIST beanstalkd-1.9.tar.gz 63794 SHA256 158e6d6090c0afac7ee17b9f22713506b3e870dc04a738517282e2e262afb9eb SHA512 0b8ba803b511bc4a3275d23f2076d8129107df3756d0c991460693a6999a895da4fe84c7931afe153ea17245d7c280f92df977cc35e715d7997e54a861b547f4 WHIRLPOOL 13517e18b2b1b4517eda6f57645c3d078f20c73d450f96803939b5dc43433364a5214a3a6b39568a0bb82a53fc92195cd28ecf1699e963b8579b121c94b7d667 diff --git a/app-misc/beanstalkd/beanstalkd-1.10.ebuild b/app-misc/beanstalkd/beanstalkd-1.10.ebuild new file mode 100644 index 000000000000..e9138b9bb0b1 --- /dev/null +++ b/app-misc/beanstalkd/beanstalkd-1.10.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils systemd toolchain-funcs user + +DESCRIPTION="A simple, fast work queue" +HOMEPAGE="http://kr.github.io/beanstalkd/" +SRC_URI="https://github.com/kr/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~mips x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x64-macos ~x86-macos" + +RDEPEND="" +DEPEND="" + +IUSE="" + +DOCS=( README News docs/protocol.txt ) + +pkg_setup() { + enewuser beanstalk -1 -1 /var/lib/beanstalkd daemon +} + +src_prepare() { + sed -i -e "s/CFLAGS=/CFLAGS?=/" \ + -e "s/LDLIBS/LDFLAGS/" \ + -e "s/LDFLAGS=/LDFLAGS?=/" Makefile +} + +src_compile() { + emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" LD="$(tc-getLD)" +} + +src_install() { + dobin beanstalkd + + DATADIR=/var/lib/${PN} + dodir ${DATADIR} + fowners beanstalk:daemon ${DATADIR} + + doman doc/"${PN}".1 + + newconfd "${FILESDIR}/conf-1.9" beanstalkd + newinitd "${FILESDIR}/init-1.9" beanstalkd + + systemd_dounit "${S}/adm/systemd/${PN}".{service,socket} +} diff --git a/app-misc/beanstalkd/beanstalkd-1.4.6-r1.ebuild b/app-misc/beanstalkd/beanstalkd-1.4.6-r1.ebuild new file mode 100644 index 000000000000..49926bfa2593 --- /dev/null +++ b/app-misc/beanstalkd/beanstalkd-1.4.6-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +inherit eutils user + +DESCRIPTION="A fast, distributed, in-memory workqueue service" +HOMEPAGE="http://xph.us/software/beanstalkd/" +SRC_URI="http://xph.us/dist/beanstalkd/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 ~mips x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x64-macos ~x86-macos" + +RDEPEND="dev-libs/libevent" +DEPEND="${RDEPEND} + test? ( dev-lang/python )" + +IUSE="debug test" + +pkg_setup() { + enewuser beanstalk -1 -1 /var/lib/beanstalkd daemon +} + +src_prepare() { + epatch "$FILESDIR/beanstalkd-werror-v2.patch" + epatch "$FILESDIR/beanstalkd-dbgprintf.patch" +} + +src_configure() { + econf \ + --docdir="${EPREFIX}"/usr/share/${PF} \ + --with-event="${EPREFIX}"/usr \ + $(use_enable debug) +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + + DATADIR=/var/lib/${PN} + dodir ${DATADIR} || die "Install failed" + fowners beanstalk:daemon ${DATADIR} + + dodoc README TODO doc/*.txt + + newconfd "${FILESDIR}/conf-1.4.2" beanstalkd + newinitd "${FILESDIR}/init-${PV}" beanstalkd +} diff --git a/app-misc/beanstalkd/beanstalkd-1.9-r1.ebuild b/app-misc/beanstalkd/beanstalkd-1.9-r1.ebuild new file mode 100644 index 000000000000..30f9e1ea2e8a --- /dev/null +++ b/app-misc/beanstalkd/beanstalkd-1.9-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils systemd toolchain-funcs user + +DESCRIPTION="A simple, fast work queue" +HOMEPAGE="http://kr.github.io/beanstalkd/" +SRC_URI="https://github.com/kr/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~mips x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x64-macos ~x86-macos" + +RDEPEND="" +DEPEND="" + +IUSE="" + +DOCS=( README News docs/protocol.txt ) + +pkg_setup() { + enewuser beanstalk -1 -1 /var/lib/beanstalkd daemon +} + +src_prepare() { + sed -i -e "s/CFLAGS=/CFLAGS?=/" \ + -e "s/LDLIBS/LDFLAGS/" \ + -e "s/LDFLAGS=/LDFLAGS?=/" Makefile +} + +src_compile() { + emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" LD="$(tc-getLD)" +} + +src_install() { + dobin beanstalkd + + DATADIR=/var/lib/${PN} + dodir ${DATADIR} + fowners beanstalk:daemon ${DATADIR} + + doman doc/"${PN}".1 + + newconfd "${FILESDIR}/conf-${PV}" beanstalkd + newinitd "${FILESDIR}/init-${PV}" beanstalkd + + systemd_dounit "${S}/adm/systemd/${PN}".{service,socket} +} diff --git a/app-misc/beanstalkd/files/beanstalkd-dbgprintf.patch b/app-misc/beanstalkd/files/beanstalkd-dbgprintf.patch new file mode 100644 index 000000000000..91d418e5f1ba --- /dev/null +++ b/app-misc/beanstalkd/files/beanstalkd-dbgprintf.patch @@ -0,0 +1,110 @@ +diff -Naur beanstalkd-1.4.6.orig/prot.c beanstalkd-1.4.6/prot.c +--- beanstalkd-1.4.6.orig/prot.c 2010-05-23 03:37:28.000000000 -0400 ++++ beanstalkd-1.4.6/prot.c 2011-01-10 19:44:05.000000000 -0500 +@@ -305,7 +305,7 @@ + c->reply_len = len; + c->reply_sent = 0; + c->state = state; +- dprintf("sending reply: %.*s", len, line); ++ dbgprintf("sending reply: %.*s", len, line); + } + + #define reply_msg(c,m) reply((c),(m),CONSTSTRLEN(m),STATE_SENDWORD) +@@ -382,10 +382,10 @@ + size_t i; + job j = NULL, candidate; + +- dprintf("tubes.used = %zu\n", tubes.used); ++ dbgprintf("tubes.used = %zu\n", tubes.used); + for (i = 0; i < tubes.used; i++) { + t = tubes.items[i]; +- dprintf("for %s t->waiting.used=%zu t->ready.used=%d t->pause=%" PRIu64 "\n", ++ dbgprintf("for %s t->waiting.used=%zu t->ready.used=%d t->pause=%" PRIu64 "\n", + t->name, t->waiting.used, t->ready.used, t->pause); + if (t->pause) { + if (t->deadline_at > now) continue; +@@ -395,7 +395,7 @@ + candidate = pq_peek(&t->ready); + if (!j || job_pri_cmp(candidate, j) < 0) j = candidate; + } +- dprintf("i = %zu, tubes.used = %zu\n", i, tubes.used); ++ dbgprintf("i = %zu, tubes.used = %zu\n", i, tubes.used); + } + + return j; +@@ -407,9 +407,9 @@ + job j; + usec now = now_usec(); + +- dprintf("processing queue\n"); ++ dbgprintf("processing queue\n"); + while ((j = next_eligible_job(now))) { +- dprintf("got eligible job %llu in %s\n", j->id, j->tube->name); ++ dbgprintf("got eligible job %llu in %s\n", j->id, j->tube->name); + j = pq_take(&j->tube->ready); + ready_ct--; + if (j->pri < URGENT_THRESHOLD) { +@@ -462,7 +462,7 @@ + + if (j && (!deadline_at || j->deadline_at < deadline_at)) deadline_at = j->deadline_at; + +- dprintf("deadline_at=%" PRIu64 "\n", deadline_at); ++ dbgprintf("deadline_at=%" PRIu64 "\n", deadline_at); + set_main_timeout(deadline_at); + } + +@@ -1178,7 +1178,7 @@ + } + + type = which_cmd(c); +- dprintf("got %s command: \"%s\"\n", op_names[(int) type], c->cmd); ++ dbgprintf("got %s command: \"%s\"\n", op_names[(int) type], c->cmd); + + switch (type) { + case OP_PUT: +@@ -1578,10 +1578,10 @@ + } + + if (should_timeout) { +- dprintf("conn_waiting(%p) = %d\n", c, conn_waiting(c)); ++ dbgprintf("conn_waiting(%p) = %d\n", c, conn_waiting(c)); + return reply_msg(remove_waiting_conn(c), MSG_DEADLINE_SOON); + } else if (conn_waiting(c) && c->pending_timeout >= 0) { +- dprintf("conn_waiting(%p) = %d\n", c, conn_waiting(c)); ++ dbgprintf("conn_waiting(%p) = %d\n", c, conn_waiting(c)); + c->pending_timeout = -1; + return reply_msg(remove_waiting_conn(c), MSG_TIMED_OUT); + } +@@ -1773,7 +1773,7 @@ + for (i = 0; i < tubes.used; i++) { + t = tubes.items[i]; + +- dprintf("h_delay for %s t->waiting.used=%zu t->ready.used=%d t->pause=%" PRIu64 "\n", ++ dbgprintf("h_delay for %s t->waiting.used=%zu t->ready.used=%d t->pause=%" PRIu64 "\n", + t->name, t->waiting.used, t->ready.used, t->pause); + if (t->pause && t->deadline_at <= now) { + t->pause = 0; +@@ -1811,7 +1811,7 @@ + c = make_conn(cfd, STATE_WANTCOMMAND, default_tube, default_tube); + if (!c) return twarnx("make_conn() failed"), close(cfd), brake(); + +- dprintf("accepted conn, fd=%d\n", cfd); ++ dbgprintf("accepted conn, fd=%d\n", cfd); + r = conn_set_evq(c, EV_READ | EV_PERSIST, (evh) h_conn); + if (r == -1) return twarnx("conn_set_evq() failed"), close(cfd), brake(); + } +diff -Naur beanstalkd-1.4.6.orig/util.h beanstalkd-1.4.6/util.h +--- beanstalkd-1.4.6.orig/util.h 2010-05-22 17:23:16.000000000 -0400 ++++ beanstalkd-1.4.6/util.h 2011-01-10 19:43:44.000000000 -0500 +@@ -43,9 +43,9 @@ + __FILE__, __LINE__, __func__, ##args) + + #ifdef DEBUG +-#define dprintf(fmt, args...) ((void) fprintf(stderr, fmt, ##args)) ++#define dbgprintf(fmt, args...) ((void) fprintf(stderr, fmt, ##args)) + #else +-#define dprintf(fmt, ...) ((void) 0) ++#define dbgprintf(fmt, ...) ((void) 0) + #endif + + typedef uint64_t usec; diff --git a/app-misc/beanstalkd/files/beanstalkd-werror-v2.patch b/app-misc/beanstalkd/files/beanstalkd-werror-v2.patch new file mode 100644 index 000000000000..808e82b21362 --- /dev/null +++ b/app-misc/beanstalkd/files/beanstalkd-werror-v2.patch @@ -0,0 +1,14 @@ +diff --git a/configure b/configure +index 2f29879..50136fb 100755 +--- a/configure ++++ b/configure +@@ -3569,7 +3569,7 @@ fi + + + +- list="-Wall -Werror" ++ list="-Wall" + flags_supported="" + flags_unsupported="" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported compiler flags" >&5 + diff --git a/app-misc/beanstalkd/files/conf b/app-misc/beanstalkd/files/conf new file mode 100644 index 000000000000..f9a2e3a8fc45 --- /dev/null +++ b/app-misc/beanstalkd/files/conf @@ -0,0 +1,15 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +BEANSTALKD_BINARY="/usr/bin/beanstalkd" +PIDFILE="/var/run/beanstalkd.pid" + +# User to run as +USER="beanstalk" + +# Port to listen on +PORT="11300" + +# Address to listen on +ADDR="127.0.0.1" diff --git a/app-misc/beanstalkd/files/conf-1.4.2 b/app-misc/beanstalkd/files/conf-1.4.2 new file mode 100644 index 000000000000..f7e517f7706e --- /dev/null +++ b/app-misc/beanstalkd/files/conf-1.4.2 @@ -0,0 +1,18 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +BEANSTALKD_BINARY="/usr/bin/beanstalkd" +PIDFILE="/var/run/beanstalkd.pid" + +# User to run as +USER="beanstalk" + +# Port to listen on +PORT="11300" + +# Address to listen on +ADDR="127.0.0.1" + +# Datadir (where to store queue) +DATADIR="/var/lib/beanstalkd" diff --git a/app-misc/beanstalkd/files/conf-1.9 b/app-misc/beanstalkd/files/conf-1.9 new file mode 100644 index 000000000000..6d4365121902 --- /dev/null +++ b/app-misc/beanstalkd/files/conf-1.9 @@ -0,0 +1,21 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +BEANSTALKD_BINARY="/usr/bin/beanstalkd" +PIDFILE="/run/beanstalkd.pid" + +# User to run as +USER="beanstalk" + +# Port to listen on +PORT="11300" + +# Address to listen on +ADDR="127.0.0.1" + +# Datadir (where to store queue) +DATADIR="/var/lib/beanstalkd" + +# Max job size +JOB_SIZE="65536" diff --git a/app-misc/beanstalkd/files/init b/app-misc/beanstalkd/files/init new file mode 100644 index 000000000000..7d2e7e909df8 --- /dev/null +++ b/app-misc/beanstalkd/files/init @@ -0,0 +1,25 @@ +#!/sbin/runscript +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +depend() { + need net +} + +start() { + ebegin "Starting beanstalkd" + /sbin/start-stop-daemon --start \ + --pidfile ${PIDFILE} \ + --exec ${BEANSTALKD_BINARY} \ + -- -d -p ${PORT} -l ${ADDR} -u ${USER} + eend $? +} + +stop() { + ebegin "Stopping beanstalkd" + start-stop-daemon --stop --quiet \ + --pidfile ${PIDFILE} \ + --exec ${BEANSTALKD_BINARY} + eend $? +} diff --git a/app-misc/beanstalkd/files/init-1.4.6 b/app-misc/beanstalkd/files/init-1.4.6 new file mode 100644 index 000000000000..bfbb74f69864 --- /dev/null +++ b/app-misc/beanstalkd/files/init-1.4.6 @@ -0,0 +1,26 @@ +#!/sbin/runscript +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +depend() { + need net +} + +start() { + ebegin "Starting beanstalkd" + /sbin/start-stop-daemon --start \ + --background \ + --pidfile ${PIDFILE} --make-pidfile \ + --exec ${BEANSTALKD_BINARY} \ + -- -b ${DATADIR} -p ${PORT} -l ${ADDR} -u ${USER} + eend $? +} + +stop() { + ebegin "Stopping beanstalkd" + start-stop-daemon --stop --quiet \ + --pidfile ${PIDFILE} \ + --exec ${BEANSTALKD_BINARY} + eend $? +} diff --git a/app-misc/beanstalkd/files/init-1.7 b/app-misc/beanstalkd/files/init-1.7 new file mode 100644 index 000000000000..6de235504a0e --- /dev/null +++ b/app-misc/beanstalkd/files/init-1.7 @@ -0,0 +1,26 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of MIT +# $Id$ + +depend() { + need net +} + +start() { + ebegin "Starting beanstalkd" + /sbin/start-stop-daemon --start \ + --background \ + --pidfile ${PIDFILE} --make-pidfile \ + --exec ${BEANSTALKD_BINARY} \ + -- -b ${DATADIR} -p ${PORT} -l ${ADDR} -u ${USER} + eend $? +} + +stop() { + ebegin "Stopping beanstalkd" + start-stop-daemon --stop --quiet \ + --pidfile ${PIDFILE} \ + --exec ${BEANSTALKD_BINARY} + eend $? +}
\ No newline at end of file diff --git a/app-misc/beanstalkd/files/init-1.8 b/app-misc/beanstalkd/files/init-1.8 new file mode 100644 index 000000000000..6de235504a0e --- /dev/null +++ b/app-misc/beanstalkd/files/init-1.8 @@ -0,0 +1,26 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of MIT +# $Id$ + +depend() { + need net +} + +start() { + ebegin "Starting beanstalkd" + /sbin/start-stop-daemon --start \ + --background \ + --pidfile ${PIDFILE} --make-pidfile \ + --exec ${BEANSTALKD_BINARY} \ + -- -b ${DATADIR} -p ${PORT} -l ${ADDR} -u ${USER} + eend $? +} + +stop() { + ebegin "Stopping beanstalkd" + start-stop-daemon --stop --quiet \ + --pidfile ${PIDFILE} \ + --exec ${BEANSTALKD_BINARY} + eend $? +}
\ No newline at end of file diff --git a/app-misc/beanstalkd/files/init-1.9 b/app-misc/beanstalkd/files/init-1.9 new file mode 100644 index 000000000000..2b86c7e6f0e5 --- /dev/null +++ b/app-misc/beanstalkd/files/init-1.9 @@ -0,0 +1,26 @@ +#!/sbin/runscript +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of MIT +# $Id$ + +depend() { + need net +} + +start() { + ebegin "Starting beanstalkd" + /sbin/start-stop-daemon --start \ + --background \ + --pidfile ${PIDFILE} --make-pidfile \ + --exec ${BEANSTALKD_BINARY} \ + -- -b ${DATADIR} -p ${PORT} -l ${ADDR} -u ${USER} -z ${JOB_SIZE} + eend $? +} + +stop() { + ebegin "Stopping beanstalkd" + start-stop-daemon --stop --quiet \ + --pidfile ${PIDFILE} \ + --exec ${BEANSTALKD_BINARY} + eend $? +} diff --git a/app-misc/beanstalkd/metadata.xml b/app-misc/beanstalkd/metadata.xml new file mode 100644 index 000000000000..2748ce39ae60 --- /dev/null +++ b/app-misc/beanstalkd/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>patrick@gentoo.org</email> + <name>Patrick Lauer</name> + </maintainer> + <maintainer> + <email>bugs@bergstroem.nu</email> + <name>Johan Bergstroem</name> + </maintainer> + <longdescription lang="en"> +beanstalked is a fast distributed workqueue service +</longdescription> + <upstream> + <remote-id type="github">kr/beanstalkd</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-misc/beep/Manifest b/app-misc/beep/Manifest new file mode 100644 index 000000000000..2df976f6f696 --- /dev/null +++ b/app-misc/beep/Manifest @@ -0,0 +1,2 @@ +DIST beep-1.2.2.tar.gz 18460 SHA256 5c0445dac43950b7c7c3f235c6fb21f620ab3fd2f3aafaf09896e5730fcf49a1 SHA512 85e2288fc01322ad2b9ad59063ee61cc94edc6b712ef1af2f86bd7e52e08cfaa81a4d8aafd729791eb3e776dbaf8fff7298ccafb758a716a3bdc9a3c385a38e1 WHIRLPOOL 845899b7f2122128833bb0b23a4eb2df576e6239e1c6df80f1abc1d1b5fddb8e80e5a500ba7bfc9638e69e5d2366aea5afdcd15c86d71304c6afe8ba1cf12868 +DIST beep-1.3.tar.gz 19344 SHA256 59acef7a987de5557cefd1a904666cc2691f132929af39e65450b182a581ec2d SHA512 3f71146202208fa0c0cda360d125dd972ea003cf8cd62da21d67eb544c92f7b82640e7ce7c3835cbc65c75909a882edfa54dbd8d8b748d6f243711ea331477fd WHIRLPOOL 23ddc6e456803b82bf84b1022e5eed39488db6f4cd4410e77e55545b3e4c6256979dfc5587367c8206ea069ac4fedc4d5fa81406ea66c6c0c79fb9b428c339c7 diff --git a/app-misc/beep/beep-1.2.2-r1.ebuild b/app-misc/beep/beep-1.2.2-r1.ebuild new file mode 100644 index 000000000000..3a1cf3038cec --- /dev/null +++ b/app-misc/beep/beep-1.2.2-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils base toolchain-funcs + +DESCRIPTION="The advanced PC speaker beeper" +HOMEPAGE="http://www.johnath.com/beep/" +SRC_URI="mirror://gentoo/${P}.tar.gz http://www.johnath.com/beep/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ppc ppc64 sparc x86" +IUSE="" + +PATCHES=( ${FILESDIR}/${P}-{Makefile,nosuid}.patch ) + +pkg_setup() { + tc-export CC +} + +src_install() { + dobin beep + fperms 0711 /usr/bin/beep + doman beep.1.gz + dodoc CHANGELOG CREDITS README +} diff --git a/app-misc/beep/beep-1.3.ebuild b/app-misc/beep/beep-1.3.ebuild new file mode 100644 index 000000000000..f4ef53689687 --- /dev/null +++ b/app-misc/beep/beep-1.3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils base toolchain-funcs + +DESCRIPTION="The advanced PC speaker beeper" +HOMEPAGE="http://www.johnath.com/beep/" +SRC_URI="http://www.johnath.com/beep/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +PATCHES=( ${FILESDIR}/${PN}-1.2.2-Makefile.patch ) + +pkg_setup() { + tc-export CC +} + +src_install() { + dobin beep + fperms 0711 /usr/bin/beep + doman beep.1.gz + dodoc CHANGELOG CREDITS README +} diff --git a/app-misc/beep/files/beep-1.2.2-Makefile.patch b/app-misc/beep/files/beep-1.2.2-Makefile.patch new file mode 100644 index 000000000000..6497323b9235 --- /dev/null +++ b/app-misc/beep/files/beep-1.2.2-Makefile.patch @@ -0,0 +1,26 @@ +--- /var/tmp/portage/app-misc/beep-1.2.2-r1/work/beep-1.2.2/Makefile 2002-03-29 09:37:22.000000000 -0800 ++++ /tmp/Makefile 2009-03-27 22:19:18.000000000 -0700 +@@ -1,17 +1,18 @@ +-CC=gcc +-FLAGS=-Wall ++CC ?= gcc ++LDFLAGS ?= ++CFLAGS ?= -Wall + EXEC_NAME=beep + INSTALL_DIR=/usr/bin + MAN_FILE=beep.1.gz +-MAN_DIR=/usr/man/man1 ++MAN_DIR=/usr/share/man/man1 + + default : beep + + clean : +- rm ${EXEC_NAME} ++ rm -f ${EXEC_NAME} + + beep : beep.c +- ${CC} ${FLAGS} -o ${EXEC_NAME} beep.c ++ ${CC} ${CFLAGS} ${LDFLAGS} -o ${EXEC_NAME} beep.c + + install : + cp ${EXEC_NAME} ${INSTALL_DIR} diff --git a/app-misc/beep/files/beep-1.2.2-nosuid.patch b/app-misc/beep/files/beep-1.2.2-nosuid.patch new file mode 100644 index 000000000000..33e6affa9ffb --- /dev/null +++ b/app-misc/beep/files/beep-1.2.2-nosuid.patch @@ -0,0 +1,33 @@ +--- beep.c.orig 2005-07-23 13:37:01.000000000 -0400 ++++ beep.c 2005-07-23 14:00:55.000000000 -0400 +@@ -218,22 +218,20 @@ + int i; /* loop counter */ + + /* try to snag the console */ +- if((console_fd = open("/dev/console", O_WRONLY)) == -1) { +- fprintf(stderr, "Could not open /dev/console for writing.\n"); +- printf("\a"); /* Output the only beep we can, in an effort to fall back on usefulness */ +- perror("open"); +- exit(1); +- } ++ console_fd = open("/dev/console", O_WRONLY); + + /* Beep */ + for (i = 0; i < parms.reps; i++) { /* start beep */ +- if(ioctl(console_fd, KIOCSOUND, (int)(CLOCK_TICK_RATE/parms.freq)) < 0) { +- printf("\a"); /* Output the only beep we can, in an effort to fall back on usefulness */ +- perror("ioctl"); ++ if (console_fd >= 0) { ++ ioctl(console_fd, KIOCSOUND, (int)(CLOCK_TICK_RATE/parms.freq)); ++ } else { ++ printf("\a"); /* Output the fall back for usefulness we don't have to be suid to work at all */ ++ fflush(stdout); + } + /* Look ma, I'm not ansi C compatible! */ + usleep(1000*parms.length); /* wait... */ +- ioctl(console_fd, KIOCSOUND, 0); /* stop beep */ ++ if (console_fd >= 0) ++ ioctl(console_fd, KIOCSOUND, 0); /* stop beep */ + if(parms.end_delay || (i+1 < parms.reps)) + usleep(1000*parms.delay); /* wait... */ + } /* repeat. */ diff --git a/app-misc/beep/metadata.xml b/app-misc/beep/metadata.xml new file mode 100644 index 000000000000..f23b9cae1593 --- /dev/null +++ b/app-misc/beep/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>shell-tools</herd> +</pkgmetadata> diff --git a/app-misc/bfm/Manifest b/app-misc/bfm/Manifest new file mode 100644 index 000000000000..270fbe2b1dba --- /dev/null +++ b/app-misc/bfm/Manifest @@ -0,0 +1 @@ +DIST bfm-1.2.tar.gz 193924 SHA256 09294fb40e515198095b1df0744bb4eb0cd0aebe36df81827871e73d9df7bd6b SHA512 39a9a250a8f3cf3b148c31a9fa5a89ac9a5873884dc1a98840b2f21879b30bd7cc6cc5dd9c5f7e657090a56276dbef2a72594e095aec8c05f3e003f89e91daee WHIRLPOOL 43df53a85d6ba6697f510f9cc940859cdf7f14915675b8f7cca2da176380a8ef5f18bc34e8d0b9cd6adba22888e36ecbd15d0360243ead101fa62a453387428a diff --git a/app-misc/bfm/bfm-1.2-r1.ebuild b/app-misc/bfm/bfm-1.2-r1.ebuild new file mode 100644 index 000000000000..e5fa4fb96573 --- /dev/null +++ b/app-misc/bfm/bfm-1.2-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="File manager and first person shooter written in Java3D, you remove files by shooting at them" +HOMEPAGE="http://bfm.webhop.net" +SRC_URI="http://bfm.webhop.net/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=virtual/jre-1.4 + >=dev-java/sun-java3d-bin-1.3" +DEPEND=">=virtual/jdk-1.4 + ${RDEPEND}" + +src_unpack() { + unpack ${A} + + cd "${S}" + cp "${FILESDIR}/${PV}-build.xml" ./build.xml + + mkdir "${S}/lib" && cd "${S}/lib" + if has_version dev-java/sun-java3d-bin; then + java-pkg_jar-from sun-java3d-bin + elif has_version dev-java/blackdown-java3d-bin; then + java-pkg_jar-from blackdown-java3d-bin + fi +} + +EANT_DOC_TARGET="" + +src_install() { + java-pkg_dojar dist/${PN}.jar + + local java3d="" + if has_version dev-java/blackdown-java3d-bin; then + java3d="blackdown-java3d-bin" + elif has_version dev-java/sun-java3d-bin; then + java3d="sun-java3d-bin" + fi + + java-pkg_dolauncher ${PN} --main Bfm + + insinto /etc/bfm + doins "${S}/bfm.conf" + + if use doc; then + dodoc README ChangeLog bindings NEWS || die + java-pkg_dohtml -r docs/* + fi + use source && java-pkg_dosrc src/* +} + +pkg_postinst() { + elog "A system wide config file has been installed to /etc/bfm/bfm.conf" + elog "Copy the file to ~/.bfm/bfm.conf to set local settings" + echo + ewarn "Be sure to run bfm in safe mode if you don't want to delete files" +} diff --git a/app-misc/bfm/bfm-1.2-r2.ebuild b/app-misc/bfm/bfm-1.2-r2.ebuild new file mode 100644 index 000000000000..f8d56408256a --- /dev/null +++ b/app-misc/bfm/bfm-1.2-r2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="File manager and first person shooter written in Java3D, you remove files by shooting at them" +HOMEPAGE="http://bfm.webhop.net" +SRC_URI="http://bfm.webhop.net/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" + +CDEPEND="dev-java/sun-java3d-bin:0" + +RDEPEND=">=virtual/jre-1.4 + ${CDEPEND}" + +DEPEND=">=virtual/jdk-1.4 + ${CDEPEND}" + +java_prepare() { + cp "${FILESDIR}"/${PVR}-build.xml ./build.xml || die + + mkdir lib || die + pushd lib + java-pkg_jar-from sun-java3d-bin + popd + + epatch "${FILESDIR}"/${PVR}-package.patch + + mkdir -p net/webhop/bfm || die + mv src/* net/webhop/bfm/ || die +} + +EANT_DOC_TARGET="docs" + +src_install() { + local java3d="sun-java3d-bin" + + java-pkg_dojar dist/${PN}.jar + java-pkg_dolauncher ${PN} --main net.webhop.bfm.Bfm + + insinto /etc/bfm + doins "${S}/bfm.conf" + + if use doc; then + dodoc README ChangeLog bindings NEWS + java-pkg_dohtml -r docs/* + fi + + use source && java-pkg_dosrc src/* +} + +pkg_postinst() { + elog "A system wide config file has been installed to /etc/bfm/bfm.conf" + elog "Copy the file to ~/.bfm/bfm.conf to set local settings" + echo + ewarn "Be sure to run bfm in safe mode if you don't want to delete files" +} diff --git a/app-misc/bfm/files/1.2-build.xml b/app-misc/bfm/files/1.2-build.xml new file mode 100644 index 000000000000..85d9b447e4dc --- /dev/null +++ b/app-misc/bfm/files/1.2-build.xml @@ -0,0 +1,75 @@ +<?xml version="1.0"?> + +<project name="bfm" default="jar"> + <!-- some properties --> + <property name="src.dir" value="src" /> + <property name="build.dir" value="build" /> + <property name="docs.dir" value="docs" /> + <property name="dist.dir" value="dist" /> + <property name="lib.dir" value="lib" /> + <property name="jarfile" value="${dist.dir}/${ant.project.name}.jar" /> + <property name="target.jdk" value="1.4" /> + + <!-- init --> + <target name="init"> + <mkdir dir="${dist.dir}" /> + <mkdir dir="${build.dir}" /> + <mkdir dir="${docs.dir}" /> + </target> + + <!-- classpath --> + <path id="refcp"> + <fileset dir="${lib.dir}"> + <include name="**/*.jar" /> + </fileset> + </path> + + <!-- compile everything --> + <target name="compile" depends="init"> + <mkdir dir="${build.dir}" /> + <javac srcdir="${src.dir}" + destdir="${build.dir}" + source="${target.jdk}" + target="${target.jdk}" + classpathref="refcp" /> + + <copy todir="${build.dir}"> + <fileset file="${src.dir}/data" /> + </copy> + <copy todir="${build.dir}/data"> + <fileset dir="${src.dir}/data" /> + </copy> + </target> + + <!-- build the jar file --> + <target name="jar" depends="compile"> + <jar jarfile="${jarfile}" basedir="${build.dir}" + manifest="${src.dir}/data/manifest" /> + </target> + + <!-- generate javadocs --> + <target name="docs" depends="init"> + <javadoc sourcepath="${src.dir}" + packagenames="" + destdir="${docs.dir}" + author="true" + version="true" + use="true" + windowtitle="${ant.project.name} API" /> + </target> + + <!-- clean up --> + <target name="clean"> + <delete dir="${build.dir}" /> + <delete dir="${docs.dir}" /> + <delete dir="${dist.dir}" /> + </target> + + <!-- zip the sources --> + <target name="sourcezip"> + <zip destfile="${dist.dir}/${ant.project.name}-src.zip"> + <zipfileset dir="${src.dir}" /> + </zip> + </target> + +</project> diff --git a/app-misc/bfm/files/1.2-r2-build.xml b/app-misc/bfm/files/1.2-r2-build.xml new file mode 100644 index 000000000000..3c056688129d --- /dev/null +++ b/app-misc/bfm/files/1.2-r2-build.xml @@ -0,0 +1,75 @@ +<?xml version="1.0"?> + +<project name="bfm" default="jar"> + <!-- some properties --> + <property name="src.dir" value="net" /> + <property name="build.dir" value="build" /> + <property name="docs.dir" value="docs" /> + <property name="dist.dir" value="dist" /> + <property name="lib.dir" value="lib" /> + <property name="jarfile" value="${dist.dir}/${ant.project.name}.jar" /> + <property name="target.jdk" value="1.4" /> + + <!-- init --> + <target name="init"> + <mkdir dir="${dist.dir}" /> + <mkdir dir="${build.dir}" /> + <mkdir dir="${docs.dir}" /> + </target> + + <!-- classpath --> + <path id="refcp"> + <fileset dir="${lib.dir}"> + <include name="**/*.jar" /> + </fileset> + </path> + + <!-- compile everything --> + <target name="compile" depends="init"> + <mkdir dir="${build.dir}" /> + <javac srcdir="${src.dir}" + destdir="${build.dir}" + source="${target.jdk}" + target="${target.jdk}" + classpathref="refcp" /> + + <copy todir="${build.dir}"> + <fileset file="${src.dir}/webhop/bfm/data" /> + </copy> + <copy todir="${build.dir}/net/webhop/bfm/data"> + <fileset dir="${src.dir}/webhop/bfm/data" /> + </copy> + </target> + + <!-- build the jar file --> + <target name="jar" depends="compile"> + <jar jarfile="${jarfile}" basedir="${build.dir}" + manifest="${src.dir}/webhop/bfm/data/manifest" /> + </target> + + <!-- generate javadocs --> + <target name="docs" depends="init"> + <javadoc sourcepath="." + packagenames="*" + destdir="${docs.dir}" + author="true" + version="true" + use="true" + windowtitle="${ant.project.name} API" /> + </target> + + <!-- clean up --> + <target name="clean"> + <delete dir="${build.dir}" /> + <delete dir="${docs.dir}" /> + <delete dir="${dist.dir}" /> + </target> + + <!-- zip the sources --> + <target name="sourcezip"> + <zip destfile="${dist.dir}/${ant.project.name}-src.zip"> + <zipfileset dir="${src.dir}" /> + </zip> + </target> + +</project> diff --git a/app-misc/bfm/files/1.2-r2-package.patch b/app-misc/bfm/files/1.2-r2-package.patch new file mode 100644 index 000000000000..7b3db3a4415d --- /dev/null +++ b/app-misc/bfm/files/1.2-r2-package.patch @@ -0,0 +1,313 @@ +diff -urN a/src/Bfm.java b/src/Bfm.java +--- a/src/Bfm.java 2005-02-22 03:07:39.000000000 +0100 ++++ b/src/Bfm.java 2013-06-10 08:37:16.978094948 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import java.awt.*;
+ import javax.swing.*;
+ import com.sun.j3d.utils.universe.*;
+diff -urN a/src/Blood.java b/src/Blood.java +--- a/src/Blood.java 2005-01-08 23:45:41.000000000 +0100 ++++ b/src/Blood.java 2013-06-10 08:37:16.978094948 +0200 +@@ -26,6 +26,8 @@ + A big thank to Andrew for letting us use his code! + */ + ++package net.webhop.bfm; ++ + import javax.media.j3d.*; + import javax.vecmath.*; + import com.sun.j3d.utils.image.*; +diff -urN a/src/DroppedDynamite.java b/src/DroppedDynamite.java +--- a/src/DroppedDynamite.java 2004-12-31 14:23:44.000000000 +0100 ++++ b/src/DroppedDynamite.java 2013-06-10 08:37:16.978094948 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/Dynamite.java b/src/Dynamite.java +--- a/src/Dynamite.java 2005-02-18 21:24:29.000000000 +0100 ++++ b/src/Dynamite.java 2013-06-10 08:37:16.978094948 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/Explotion.java b/src/Explotion.java +--- a/src/Explotion.java 2005-02-20 23:55:12.000000000 +0100 ++++ b/src/Explotion.java 2013-06-10 08:37:16.978094948 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++package net.webhop.bfm; ++ + import com.sun.j3d.utils.geometry.*; + import javax.media.j3d.*; + import javax.vecmath.*; +diff -urN a/src/FSDefault.java b/src/FSDefault.java +--- a/src/FSDefault.java 2005-01-04 16:02:08.000000000 +0100 ++++ b/src/FSDefault.java 2013-06-10 08:37:16.978094948 +0200 +@@ -20,6 +20,8 @@ + /* FS stands for FileShape but is actually an transformgroup
+ containing the visuall shape of the FileObjet*/
+
++package net.webhop.bfm;
++
+ import java.awt.*;
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+diff -urN a/src/FSDocument.java b/src/FSDocument.java +--- a/src/FSDocument.java 2005-01-04 16:02:08.000000000 +0100 ++++ b/src/FSDocument.java 2013-06-10 08:37:16.978094948 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import java.awt.*;
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+diff -urN a/src/FSPicture.java b/src/FSPicture.java +--- a/src/FSPicture.java 2005-02-22 02:29:54.000000000 +0100 ++++ b/src/FSPicture.java 2013-06-10 08:37:16.978094948 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import java.awt.*;
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+diff -urN a/src/FSVideo.java b/src/FSVideo.java +--- a/src/FSVideo.java 2005-01-04 16:02:08.000000000 +0100 ++++ b/src/FSVideo.java 2013-06-10 08:37:16.978094948 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import java.awt.*;
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+diff -urN a/src/FileObject.java b/src/FileObject.java +--- a/src/FileObject.java 2005-02-20 23:55:12.000000000 +0100 ++++ b/src/FileObject.java 2013-06-10 08:37:16.978094948 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import java.awt.*;
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+diff -urN a/src/GrapplingHook.java b/src/GrapplingHook.java +--- a/src/GrapplingHook.java 2005-01-03 06:03:50.000000000 +0100 ++++ b/src/GrapplingHook.java 2013-06-10 08:37:16.978094948 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/Hud.java b/src/Hud.java +--- a/src/Hud.java 2005-02-21 19:14:18.000000000 +0100 ++++ b/src/Hud.java 2013-06-10 08:37:16.978094948 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++package net.webhop.bfm; ++ + import com.sun.j3d.utils.geometry.*; + import java.awt.*; + import javax.media.j3d.*; +diff -urN a/src/OpenDialog.java b/src/OpenDialog.java +--- a/src/OpenDialog.java 2005-02-21 18:36:44.000000000 +0100 ++++ b/src/OpenDialog.java 2013-06-10 08:37:16.978094948 +0200 +@@ -16,6 +16,9 @@ + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ ++ ++package net.webhop.bfm; ++ + import javax.swing.plaf.*; + import java.awt.*; + import java.awt.event.*; +diff -urN a/src/Pattern.java b/src/Pattern.java +--- a/src/Pattern.java 2004-12-31 14:22:27.000000000 +0100 ++++ b/src/Pattern.java 2013-06-10 08:37:16.978094948 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++package net.webhop.bfm; ++ + import javax.vecmath.*; + + public abstract class Pattern { +diff -urN a/src/PatternCircle.java b/src/PatternCircle.java +--- a/src/PatternCircle.java 2004-12-31 14:22:27.000000000 +0100 ++++ b/src/PatternCircle.java 2013-06-10 08:37:16.978094948 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++package net.webhop.bfm; ++ + import javax.vecmath.*; + + public class PatternCircle extends Pattern { +diff -urN a/src/PhysicsHandler.java b/src/PhysicsHandler.java +--- a/src/PhysicsHandler.java 2005-02-21 18:36:44.000000000 +0100 ++++ b/src/PhysicsHandler.java 2013-06-10 08:37:16.978094948 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+ import java.io.*;
+diff -urN a/src/Player.java b/src/Player.java +--- a/src/Player.java 2005-02-21 18:30:54.000000000 +0100 ++++ b/src/Player.java 2013-06-10 08:37:16.974761615 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++package net.webhop.bfm; ++ + import com.sun.j3d.utils.universe.*; + import javax.media.j3d.*; + import javax.vecmath.*; +diff -urN a/src/Rocket.java b/src/Rocket.java +--- a/src/Rocket.java 2004-12-31 14:22:27.000000000 +0100 ++++ b/src/Rocket.java 2013-06-10 08:37:16.974761615 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/RocketLauncher.java b/src/RocketLauncher.java +--- a/src/RocketLauncher.java 2005-01-08 01:22:40.000000000 +0100 ++++ b/src/RocketLauncher.java 2013-06-10 08:37:16.974761615 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/Room.java b/src/Room.java +--- a/src/Room.java 2005-02-20 23:55:12.000000000 +0100 ++++ b/src/Room.java 2013-06-10 08:37:16.974761615 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+ import java.io.*;
+diff -urN a/src/RoomObject.java b/src/RoomObject.java +--- a/src/RoomObject.java 2005-02-20 23:55:12.000000000 +0100 ++++ b/src/RoomObject.java 2013-06-10 08:37:16.974761615 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++package net.webhop.bfm; ++ + import javax.media.j3d.*; + + public abstract class RoomObject extends BranchGroup { +diff -urN a/src/Shotgun.java b/src/Shotgun.java +--- a/src/Shotgun.java 2005-01-08 01:22:40.000000000 +0100 ++++ b/src/Shotgun.java 2013-06-10 08:37:16.974761615 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/SniperRifle.java b/src/SniperRifle.java +--- a/src/SniperRifle.java 2005-02-20 18:16:14.000000000 +0100 ++++ b/src/SniperRifle.java 2013-06-10 08:37:16.974761615 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/Spear.java b/src/Spear.java +--- a/src/Spear.java 2005-01-03 02:00:41.000000000 +0100 ++++ b/src/Spear.java 2013-06-10 08:37:16.974761615 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/Wall.java b/src/Wall.java +--- a/src/Wall.java 2005-01-03 20:40:55.000000000 +0100 ++++ b/src/Wall.java 2013-06-10 08:37:16.974761615 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import java.awt.*;
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+diff -urN a/src/Weapon.java b/src/Weapon.java +--- a/src/Weapon.java 2005-02-21 18:36:44.000000000 +0100 ++++ b/src/Weapon.java 2013-06-10 08:37:16.974761615 +0200 +@@ -17,6 +17,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++package net.webhop.bfm; ++ + import javax.media.j3d.*; + import javax.vecmath.*; + import com.sun.j3d.utils.picking.*; diff --git a/app-misc/bfm/metadata.xml b/app-misc/bfm/metadata.xml new file mode 100644 index 000000000000..05f7df690ca1 --- /dev/null +++ b/app-misc/bfm/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>java</herd> + +<longdescription> + BFM, the Brutal File Manager is a combined file manager and first + person shooter game. The basic idea is to represent different folders + on your computer as rooms in a 3D environment. Then, armed to your + teeths you go through these rooms and delete files by shooting at them. +</longdescription> + +</pkgmetadata> diff --git a/app-misc/bfr/Manifest b/app-misc/bfr/Manifest new file mode 100644 index 000000000000..9b605cf62a64 --- /dev/null +++ b/app-misc/bfr/Manifest @@ -0,0 +1 @@ +DIST bfr-1.6.tar.bz2 81002 SHA256 9e1168f00a166cb99eb36f9a0ba4f8418919b4ffb9f1841b917426b9b5764d39 SHA512 19939218029219cc328e3efb8e799bb8c755ccff7b8cb81ba0c735d499a48f581aa42322045fdbd153dcfdb8792e84d9fddbfba9e9c5d94675e2830163936762 WHIRLPOOL 336e88b51a45ff065c9dd3ce691574670633b106c4a818441a339463b69562a9cc910ee06bf39e7f57088541b02fe29c46399de87db0bb56d1e8ccc178c62780 diff --git a/app-misc/bfr/bfr-1.6-r2.ebuild b/app-misc/bfr/bfr-1.6-r2.ebuild new file mode 100644 index 000000000000..5e35149245ad --- /dev/null +++ b/app-misc/bfr/bfr-1.6-r2.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils toolchain-funcs + +DESCRIPTION="General-purpose command-line pipe buffer" +HOMEPAGE="http://www.glines.org/software/bfr" +SRC_URI="http://www.glines.org/bin/pk/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc ppc64 sparc x86" + +DEPEND="dev-lang/perl" + +src_prepare() { + epatch "${FILESDIR}"/${P}-perl.patch + tc-export CC +} diff --git a/app-misc/bfr/files/bfr-1.6-perl.patch b/app-misc/bfr/files/bfr-1.6-perl.patch new file mode 100644 index 000000000000..b2483fd54eb8 --- /dev/null +++ b/app-misc/bfr/files/bfr-1.6-perl.patch @@ -0,0 +1,28 @@ +--- old/bfr.pod 2004-03-03 15:38:53.000000000 +0100 ++++ new/bfr.pod 2014-10-12 06:53:49.011697801 +0200 +@@ -176,8 +176,12 @@ + + =back + ++=back ++ + =head2 BUFPLAY SPECIFIC OPTIONS + ++=over 2 ++ + =item + + B<-s> | B<--speed> +@@ -226,8 +230,12 @@ + + =back + ++=back ++ + =head2 DEBUG SPECIFIC OPTIONS + ++=over 2 ++ + =item + + B<-d> | B<--debug> diff --git a/app-misc/bfr/metadata.xml b/app-misc/bfr/metadata.xml new file mode 100644 index 000000000000..f23b9cae1593 --- /dev/null +++ b/app-misc/bfr/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>shell-tools</herd> +</pkgmetadata> diff --git a/app-misc/bgrep/Manifest b/app-misc/bgrep/Manifest new file mode 100644 index 000000000000..65783f0296ad --- /dev/null +++ b/app-misc/bgrep/Manifest @@ -0,0 +1 @@ +DIST tmbinc-bgrep-49b098b.tar.gz 3386 SHA256 036e2843cc33170e8ee9aa640055f7e4c37d7268ace59fd23cfa19d420752c70 SHA512 18a0161fe23a04d36bbfe67712a90b3d30c4cca95fed023773b0a1eda5fc1c284996d9669eec256a9aacc7019297f96c3d4fe69c240595bcdcc3a8b7c1bea990 WHIRLPOOL e6f9ac1efb5730d4e32bb707148bd331adadaccd3a468a3157705f2667c0797677ece018f8c20db1df0862cf7a1d351716c0ae845d60e826b786d0aab88102fb diff --git a/app-misc/bgrep/bgrep-0_p20110121.ebuild b/app-misc/bgrep/bgrep-0_p20110121.ebuild new file mode 100644 index 000000000000..32c012881579 --- /dev/null +++ b/app-misc/bgrep/bgrep-0_p20110121.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +GITHUB_USER="tmbinc" +GITHUB_HASH="49b098be9548d174023ad05c10f6af9d02b8e18e" +MY_P="${GITHUB_USER}-${PN}-${GITHUB_HASH:0:7}" + +inherit toolchain-funcs + +DESCRIPTION="grep-like tool to search for binary strings" +HOMEPAGE="https://github.com/tmbinc/bgrep/" +SRC_URI="https://github.com/${GITHUB_USER}/${PN}/tarball/${GITHUB_HASH} -> ${MY_P}.tar.gz" + +S="${WORKDIR}/${MY_P}" +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64" + +IUSE="test" + +RDEPEND="" +DEPEND="test? ( dev-lang/perl )" + +src_prepare() { + sed -i -e "s|/tmp/|${T}/|g" \ + test/bgrep-test.sh || die +} + +src_compile() { + tc-export CC + emake || die +} + +src_test() { + cd test + ./bgrep-test.sh || die +} + +src_install() { + dobin bgrep + dodoc README +} diff --git a/app-misc/bgrep/metadata.xml b/app-misc/bgrep/metadata.xml new file mode 100644 index 000000000000..f7d75d1eedfb --- /dev/null +++ b/app-misc/bgrep/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>flameeyes@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">tmbinc/bgrep</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-misc/bijiben/Manifest b/app-misc/bijiben/Manifest new file mode 100644 index 000000000000..7a6b91b0f751 --- /dev/null +++ b/app-misc/bijiben/Manifest @@ -0,0 +1,2 @@ +DIST bijiben-3.14.2.tar.xz 621696 SHA256 7998632c83889071c23725ad95867618c72814676a3a3865881e9556714e0537 SHA512 1fc1d4c9ddf3fb674229e96793603769ef77c9aaf43eb142c41450ce79d82e6a5dc659d7e0fe1b7c0256830516f770b32d3b2cf36250172feba2962b71bcb40a WHIRLPOOL 005b103a96457a729b5bb194f2d8973f4785ef302a23825f473c18d75caa699d9d47f8bab27ac44b11f8c327d5d93fb3ce72b46ef57a5f430ca721d95de3adba +DIST bijiben-3.16.2.tar.xz 658656 SHA256 39c97690e6d0bbed343b2283ea184c89fd49f3c4309af7f56e1b494efd0fd98a SHA512 59e56a961ad66e90e2267ffeb0cdeab312720e82e2a0fb3e78fc1908478f42d657b81b7a3099121a36e150997cdae177f0b25db7e8fb664311550c2d79fab6de WHIRLPOOL 710db7f418be48ead556de0e059f39428bde6277a40174379f797953c8dea20b72ebda15db505cc044fff19df6636932f30b481eae271664ca357825ae8d171a diff --git a/app-misc/bijiben/bijiben-3.14.2.ebuild b/app-misc/bijiben/bijiben-3.14.2.ebuild new file mode 100644 index 000000000000..60e5bd6d3412 --- /dev/null +++ b/app-misc/bijiben/bijiben-3.14.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GCONF_DEBUG="no" + +inherit gnome2 + +DESCRIPTION="Note editor designed to remain simple to use" +HOMEPAGE="https://wiki.gnome.org/Apps/Bijiben" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +# zeitgeist is optional but automagic +RDEPEND=" + >=app-misc/tracker-1:= + >=dev-libs/glib-2.28:2 + dev-libs/libxml2 + >=gnome-extra/evolution-data-server-3 + >=mail-client/evolution-3 + gnome-extra/zeitgeist + net-libs/gnome-online-accounts + net-libs/webkit-gtk:3 + sys-apps/util-linux + >=x11-libs/gtk+-3.11.4:3 +" +DEPEND="${RDEPEND} + >=dev-util/intltool-0.35.0 + sys-devel/gettext + virtual/pkgconfig +" +# app-text/yelp-tools + +src_configure() { + gnome2_src_configure \ + ITSTOOL="$(type -P true)" \ + --disable-update-mimedb +} diff --git a/app-misc/bijiben/bijiben-3.16.2.ebuild b/app-misc/bijiben/bijiben-3.16.2.ebuild new file mode 100644 index 000000000000..3b7abaa9aeca --- /dev/null +++ b/app-misc/bijiben/bijiben-3.16.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GCONF_DEBUG="no" + +inherit gnome2 + +DESCRIPTION="Note editor designed to remain simple to use" +HOMEPAGE="https://wiki.gnome.org/Apps/Bijiben" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# zeitgeist is optional but automagic +RDEPEND=" + >=app-misc/tracker-1:= + >=dev-libs/glib-2.28:2 + dev-libs/libxml2 + >=gnome-extra/evolution-data-server-3.13.90:= + >=mail-client/evolution-3 + gnome-extra/zeitgeist + net-libs/gnome-online-accounts + net-libs/webkit-gtk:3 + sys-apps/util-linux + >=x11-libs/gtk+-3.11.4:3 +" +DEPEND="${RDEPEND} + dev-libs/appstream-glib + >=dev-util/intltool-0.50.1 + sys-devel/gettext + virtual/pkgconfig +" +# app-text/yelp-tools + +src_configure() { + gnome2_src_configure \ + ITSTOOL="$(type -P true)" \ + --disable-update-mimedb +} diff --git a/app-misc/bijiben/metadata.xml b/app-misc/bijiben/metadata.xml new file mode 100644 index 000000000000..da6fd63d0085 --- /dev/null +++ b/app-misc/bijiben/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>gnome</herd> +</pkgmetadata> diff --git a/app-misc/binclock/Manifest b/app-misc/binclock/Manifest new file mode 100644 index 000000000000..170ad9c66852 --- /dev/null +++ b/app-misc/binclock/Manifest @@ -0,0 +1 @@ +DIST binclock-1.5.tar.gz 12301 SHA256 3b34033aef01771235e87848ddc92ef23dc2c989902f2ea1cb652b91e43f3df5 SHA512 f3650c8befb999a7e6261bc72ee4f81be670fe95899efc742112102c4107ebbbb25d015d57a702630ce2104cf8c738953c7fe70f24814514d8a2705240000e75 WHIRLPOOL 73b8ccdf94177e8959a83da9b0a3d9745e85c5672e2a4e3ef4d64a7394252697fc648040cf8486e519efb73c769be858ab5ae76445da3ea3bb2a370dccd1e3bd diff --git a/app-misc/binclock/binclock-1.5.ebuild b/app-misc/binclock/binclock-1.5.ebuild new file mode 100644 index 000000000000..b1e84c5cd8d3 --- /dev/null +++ b/app-misc/binclock/binclock-1.5.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="2" + +inherit toolchain-funcs + +DESCRIPTION="Displays a binary clock in your terminal" +HOMEPAGE="http://www.ngolde.de/binclock/" +SRC_URI="http://www.ngolde.de/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ~ia64 ~mips ppc ppc64 sparc x86" +IUSE="" + +RDEPEND="" +DEPEND=">=sys-apps/sed-4" + +src_prepare() { + sed -i -e s/strip/true/ Makefile || die +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}" || die "emake failed" +} + +src_install() { + dobin binclock || die "dobin failed" + doman doc/binclock.1 || die "doman failed" + dodoc CHANGELOG README binclockrc || die "dodoc failed" +} diff --git a/app-misc/binclock/metadata.xml b/app-misc/binclock/metadata.xml new file mode 100644 index 000000000000..dbf8947073ac --- /dev/null +++ b/app-misc/binclock/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>shell-tools</herd> + <longdescription>binclock displays a binary clock in your terminal.</longdescription> +</pkgmetadata> diff --git a/app-misc/binwalk/Manifest b/app-misc/binwalk/Manifest new file mode 100644 index 000000000000..cdff1fd99390 --- /dev/null +++ b/app-misc/binwalk/Manifest @@ -0,0 +1 @@ +DIST binwalk-2.0.1.tar.gz 2234469 SHA256 90ee8426d71e91b62dfe4a1446c457bc7835b475b28717859e275a0494403959 SHA512 de223f61a0a212469c21b8e36d02cadc83f1cdb96a0f6114490d15d8dc12c93a86b46ef74379acb96b32b305e75ca66e940d7a18a8dc3b5036ebe8946dcca0f3 WHIRLPOOL c66ea461132417629f59e3f7562330f038263a0d522aca1db1e85f0bad5e9564d8baa27125acfb67404f0ee8045bd8da71faedcf3d2e352303ca8b0295a2767d diff --git a/app-misc/binwalk/binwalk-2.0.1.ebuild b/app-misc/binwalk/binwalk-2.0.1.ebuild new file mode 100644 index 000000000000..bace7a0a5b04 --- /dev/null +++ b/app-misc/binwalk/binwalk-2.0.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +inherit distutils-r1 + +DESCRIPTION="A tool for identifying files embedded inside firmware images" +HOMEPAGE="https://github.com/devttys0/binwalk" +SRC_URI="https://github.com/devttys0/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="graph" + +RDEPEND=" + app-crypt/ssdeep + sys-apps/file[${PYTHON_USEDEP}] + graph? ( dev-python/pyqtgraph[opengl,${PYTHON_USEDEP}] ) +" + +PATCHES=( + "${FILESDIR}"/${P}-makefile.patch + "${FILESDIR}"/${P}-libs.patch +) + +python_configure_all() { + econf --disable-bundles +} + +python_compile_all() { + emake +} + +python_install_all() { + local DOCS=( API.md INSTALL.md ) + distutils-r1_python_install_all + + dolib.so src/C/*/*.so +} diff --git a/app-misc/binwalk/files/binwalk-2.0.1-libs.patch b/app-misc/binwalk/files/binwalk-2.0.1-libs.patch new file mode 100644 index 000000000000..5a746a4176fc --- /dev/null +++ b/app-misc/binwalk/files/binwalk-2.0.1-libs.patch @@ -0,0 +1,14 @@ +Don't install C libs by default since we don't need to install them for +every python version since they aren't linked with libpython. + +--- binwalk-2.0.1/setup.py ++++ binwalk-2.0.1/setup.py +@@ -134,7 +134,7 @@ + + # The data files to install along with the module + data_dirs = ["magic", "config", "plugins", "modules", "core"] +-install_data_files = [os.path.join("libs", "*.so")] ++install_data_files = [] + + for data_dir in data_dirs: + install_data_files.append("%s%s*" % (data_dir, os.path.sep)) diff --git a/app-misc/binwalk/files/binwalk-2.0.1-makefile.patch b/app-misc/binwalk/files/binwalk-2.0.1-makefile.patch new file mode 100644 index 000000000000..e70f096ea6b4 --- /dev/null +++ b/app-misc/binwalk/files/binwalk-2.0.1-makefile.patch @@ -0,0 +1,61 @@ +Don't build python via the makefile and fix parallel make jobs. + +--- binwalk-2.0.1/Makefile.in ++++ binwalk-2.0.1/Makefile.in +@@ -33,21 +33,20 @@ + $(PYTHON) ./setup.py install $(PREFIX) + + build: +- if [ "$(BUILD_C_LIBS)" -eq "1" ]; then make -C $(SRC_C_DIR); fi +- if [ "$(BUILD_BUNDLES)" -eq "1" ]; then make -C $(SRC_BUNDLES_DIR); fi +- $(PYTHON) ./setup.py build ++ if [ "$(BUILD_C_LIBS)" -eq "1" ]; then $(MAKE) -C $(SRC_C_DIR); fi ++ if [ "$(BUILD_BUNDLES)" -eq "1" ]; then $(MAKE) -C $(SRC_BUNDLES_DIR); fi + + deps: + ./deps.sh + + clean: +- if [ "$(BUILD_C_LIBS)" -eq "1" ]; then make -C $(SRC_C_DIR) clean; fi +- if [ "$(BUILD_BUNDLES)" -eq "1" ]; then make -C $(SRC_BUNDLES_DIR) clean; fi ++ if [ "$(BUILD_C_LIBS)" -eq "1" ]; then $(MAKE) -C $(SRC_C_DIR) clean; fi ++ if [ "$(BUILD_BUNDLES)" -eq "1" ]; then $(MAKE) -C $(SRC_BUNDLES_DIR) clean; fi + $(PYTHON) ./setup.py clean + + distclean: clean +- if [ "$(BUILD_C_LIBS)" -eq "1" ]; then make -C $(SRC_C_DIR) distclean; fi +- if [ "$(BUILD_BUNDLES)" -eq "1" ]; then make -C $(SRC_BUNDLES_DIR) distclean; fi ++ if [ "$(BUILD_C_LIBS)" -eq "1" ]; then $(MAKE) -C $(SRC_C_DIR) distclean; fi ++ if [ "$(BUILD_BUNDLES)" -eq "1" ]; then $(MAKE) -C $(SRC_BUNDLES_DIR) distclean; fi + rm -rf Makefile config.* *.cache + + uninstall: +--- binwalk-2.0.1/src/C/Makefile ++++ binwalk-2.0.1/src/C/Makefile +@@ -3,9 +3,9 @@ + .PHONY: all clean_libs clean distclean + + all: +- make -C miniz ++ $(MAKE) -C miniz + cp miniz/*.$(SOEXT) $(LIB_DIR) +- make -C compress ++ $(MAKE) -C compress + cp compress/*.$(SOEXT) $(LIB_DIR) + + clean_libs: +@@ -13,10 +13,10 @@ + rm -f $(LIB_DIR)/libcompress42.$(SOEXT) + + clean: clean_libs +- make -C miniz clean +- make -C compress clean ++ $(MAKE) -C miniz clean ++ $(MAKE) -C compress clean + + distclean: clean_libs +- make -C miniz distclean +- make -C compress distclean ++ $(MAKE) -C miniz distclean ++ $(MAKE) -C compress distclean + diff --git a/app-misc/binwalk/metadata.xml b/app-misc/binwalk/metadata.xml new file mode 100644 index 000000000000..8edfc65b851a --- /dev/null +++ b/app-misc/binwalk/metadata.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>radhermit@gentoo.org</email> + <name>Tim Harder</name> + </maintainer> + <longdescription lang="en">Binwalk is a tool for searching a given binary image for embedded files. + Specifically, it is designed for identifying files embedded inside of firmware + images. Binwalk uses the libmagic library, so it is compatible with magic + signatures created for the Unix file utility. + Binwalk also includes a custom magic signature file which contains improved + signatures for files that are commonly found in firmware images such as + compressed/archived files, firmware headers, Linux kernels, bootloaders, + filesystems, etc.</longdescription> + <upstream> + <remote-id type="google-code">binwalk</remote-id> + <remote-id type="github">devttys0/binwalk</remote-id> + </upstream> + <use> + <flag name="graph">Enable support for generating entropy graphs</flag> + </use> +</pkgmetadata> diff --git a/app-misc/birthday/Manifest b/app-misc/birthday/Manifest new file mode 100644 index 000000000000..18dabee0e81d --- /dev/null +++ b/app-misc/birthday/Manifest @@ -0,0 +1 @@ +DIST birthday-1.6.2.tar.bz2 85617 SHA256 355ad07ad3312d8f5c5b54c71596ac3a0e706c539167900d73cb65df30c8e2f4 SHA512 5081cd9f875260758d209165803715d3eb19e2256344172cb3ea01f87f859215ce68e29174c22eec467bdb6eebc11627a71674321bb9b96db9562d13cdc80882 WHIRLPOOL 226a0293a2a3b91dfd6eae09680a7e2df56de1c2329332574c2d4eb5be9520106309cccead7c71439d5b9f3149798d25321c167eda2ead3f972630698cd6665b diff --git a/app-misc/birthday/birthday-1.6.2.ebuild b/app-misc/birthday/birthday-1.6.2.ebuild new file mode 100644 index 000000000000..600b93523b1b --- /dev/null +++ b/app-misc/birthday/birthday-1.6.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit toolchain-funcs + +DESCRIPTION="Displays a list of events happening in the near future" +HOMEPAGE="http://sourceforge.net/projects/birthday/" +SRC_URI="mirror://sourceforge/birthday/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 sparc x86" +IUSE="" + +src_unpack() { + unpack ${A} + cd "${S}" + + # Don't strip, install in correct share dir and respect CFLAGS + sed -i -e "s:install -s:install:g" -e "s:#SHARE:SHARE:g" -e "s:-O2:${CFLAGS}:g" \ + Makefile || die +} + +src_compile() { + emake CC=$(tc-getCC) || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" +} diff --git a/app-misc/birthday/metadata.xml b/app-misc/birthday/metadata.xml new file mode 100644 index 000000000000..66d5c0543734 --- /dev/null +++ b/app-misc/birthday/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>shell-tools</herd> + <upstream> + <remote-id type="sourceforge">birthday</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-misc/bottlerocket/Manifest b/app-misc/bottlerocket/Manifest new file mode 100644 index 000000000000..17efb6b26253 --- /dev/null +++ b/app-misc/bottlerocket/Manifest @@ -0,0 +1 @@ +DIST bottlerocket-0.04c.tar.gz 40533 SHA256 deb8fbf8856f87af15fa9883e07b1fddb2aa78f6b4c7d119ae4bd664dc1d19ae SHA512 37673bd9a519307f0ae3003f3a458dbb99d4fd0c96ebaa664f4967fe45b20c1132828c3c7a31e769157e6034c43c9cdcd1ecac8c6791812d2a04e93d4c0c6888 WHIRLPOOL 838f4267ea55a70fff2a50d457e90d2597ff6254383ae7d420075cb32782a8544a6491c9109e42f066c8408f14ed08654756f783184fb667471a7c7a4dcf12e6 diff --git a/app-misc/bottlerocket/bottlerocket-0.04c-r1.ebuild b/app-misc/bottlerocket/bottlerocket-0.04c-r1.ebuild new file mode 100644 index 000000000000..46da14cd9b7e --- /dev/null +++ b/app-misc/bottlerocket/bottlerocket-0.04c-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="2" + +inherit toolchain-funcs + +DESCRIPTION="CLI interface to the X-10 Firecracker Kit" +HOMEPAGE="http://www.linuxha.com/bottlerocket/" +SRC_URI="http://www.linuxha.com/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc ~sparc x86" +IUSE="" + +src_prepare() { + # inset LDFLAGS + sed -i Makefile.in \ + -e 's| -O2 ||g' \ + -e '/ -o br /s|${CFLAGS}|& $(LDFLAGS)|g' \ + || die "sed Makefile.in" +} + +src_configure() { + econf --with-x10port=/dev/firecracker +} + +src_compile() { + emake CC="$(tc-getCC)" || die "emake failed" +} + +src_install() { + einstall || die "einstall" + dodoc README +} + +pkg_postinst() { + elog + elog "Be sure to create a /dev/firecracker symlink to the" + elog "serial port that has the Firecracker serial interface" + elog "installed on it." + elog +} diff --git a/app-misc/bottlerocket/metadata.xml b/app-misc/bottlerocket/metadata.xml new file mode 100644 index 000000000000..d9cd2cad66c2 --- /dev/null +++ b/app-misc/bottlerocket/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> +<email>maintainer-needed@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/app-misc/boxes/Manifest b/app-misc/boxes/Manifest new file mode 100644 index 000000000000..33d89a2cb62f --- /dev/null +++ b/app-misc/boxes/Manifest @@ -0,0 +1 @@ +DIST boxes-1.1.2.tar.gz 101658 SHA256 4d5e536be91b476ee48640bef9122f3114b16fe2da9b9906947308b94682c5fe SHA512 10efb5f62d94003532e2f32d6a0f7c76dd86c7cfaf150f35c24516dc6684f5e3909ecd5fd48c1c64f25f874cb1364bdf3d959a2fb837bfe74c2d879a35f443dd WHIRLPOOL 4017bca428dc6d5cd55a3eb240432ef00a468c21d6d3e3a66a8ec51105b5933d8949006cdefe61d9c1689a663afee6cce8b093c6e5a70368bcd23482aa31f0f3 diff --git a/app-misc/boxes/boxes-1.1.2-r1.ebuild b/app-misc/boxes/boxes-1.1.2-r1.ebuild new file mode 100644 index 000000000000..9fdd532dd4de --- /dev/null +++ b/app-misc/boxes/boxes-1.1.2-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Draw any kind of boxes around your text" +HOMEPAGE="http://boxes.thomasjensen.com/ https://github.com/ascii-boxes/boxes" +SRC_URI="https://github.com/ascii-boxes/boxes/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ia64 ~mips ppc ppc64 sparc x86" +IUSE="" + +DEPEND=" + sys-devel/bison + sys-devel/flex + " + +src_prepare() { + append-cflags -Iregexp -I. -ansi + append-ldflags -Lregexp + sed \ + -e 's:STRIP=true:STRIP=false:g' \ + -i src/Makefile || die +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +} + +src_install() { + dobin src/boxes + doman doc/boxes.1 + dodoc README.md + insinto /usr/share/boxes + doins boxes-config +} diff --git a/app-misc/boxes/metadata.xml b/app-misc/boxes/metadata.xml new file mode 100644 index 000000000000..940c759eeb8f --- /dev/null +++ b/app-misc/boxes/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>shell-tools</herd> + <upstream> + <remote-id type="github">ascii-boxes/boxes</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-misc/brewtarget/Manifest b/app-misc/brewtarget/Manifest new file mode 100644 index 000000000000..6a015b52fd3a --- /dev/null +++ b/app-misc/brewtarget/Manifest @@ -0,0 +1,2 @@ +DIST brewtarget_2.0.2.orig.tar.gz 8412998 SHA256 3f71a32a13b96726b3a71414ffd95e5e3634ecd95f784ae257bac27a195b3e39 SHA512 08a3420c29b1f4b914c36aebd15c2d1c7f717b1996d60b64dc5ad2d613aebc44bf5235d7ffeb0a598128d17b95ff9a171a46c7e461b3b1e1f4bc594ad8bed366 WHIRLPOOL 6e7bbf62df0b904228e9c08c603becfd13573ae6da6053e2cb1267f19946766e1dface9ba3acd092c15c8653ed1db296faff6c7e08266bc982969bbd42140539 +DIST brewtarget_2.1.0.orig.tar.xz 8576552 SHA256 5d34c6ed169d6589c85dd5383850512a0e36ab2b2233f9ed566f3a0fb4adb9be SHA512 980867c7d5d0d9c6a3c7dc659677c384522fa468c4c86b54d2e77e59b577352abdcaa245d04f01ee4d4d433426925f9df472821c81346e13457b6c58a35fe9c5 WHIRLPOOL df22343055dd133efb918afde589bd86bb0596adde2005a3cda70c8c7817392b762d4ae238feb4d026272108e6053743a1becfe953402d2f646f336a17bcf072 diff --git a/app-misc/brewtarget/brewtarget-2.0.2.ebuild b/app-misc/brewtarget/brewtarget-2.0.2.ebuild new file mode 100644 index 000000000000..9d5b5b806b5f --- /dev/null +++ b/app-misc/brewtarget/brewtarget-2.0.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PLOCALES="ca cs de en es fr hu it nb nl pl pt ru sv" + +inherit cmake-utils l10n + +DESCRIPTION="Application to create and manage beer recipes" +HOMEPAGE="http://www.brewtarget.org/" +SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${PN}_${PV}.orig.tar.gz" + +LICENSE="GPL-3 WTFPL-2" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="kde phonon" + +DEPEND=" + >=dev-qt/qtcore-4.8:4 + >=dev-qt/qtgui-4.8:4 + >=dev-qt/qtsql-4.8:4[sqlite] + >=dev-qt/qtsvg-4.8:4 + >=dev-qt/qtwebkit-4.8:4 + phonon? ( + kde? ( media-libs/phonon[qt4] ) + !kde? ( || ( >=dev-qt/qtphonon-4.8:4 media-libs/phonon[qt4] ) ) + ) +" +RDEPEND="${DEPEND}" + +remove_locale() { + sed -i -e "/bt_$1.ts/d" CMakeLists.txt || die +} + +src_prepare() { + # Check for new locales, respect LINGUAS + l10n_find_plocales_changes "${S}/translations" bt_ .ts + l10n_for_each_disabled_locale_do remove_locale + + # Fix desktop file + sed -i -e '/^Encoding=/d' ${PN}.desktop.in || die + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DDO_RELEASE_BUILD=ON + -DNO_MESSING_WITH_FLAGS=ON + $(cmake-utils_use_no phonon) + ) + cmake-utils_src_configure +} diff --git a/app-misc/brewtarget/brewtarget-2.1.0.ebuild b/app-misc/brewtarget/brewtarget-2.1.0.ebuild new file mode 100644 index 000000000000..f15a48c7df43 --- /dev/null +++ b/app-misc/brewtarget/brewtarget-2.1.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PLOCALES="ca cs da de el en es fr hu it nb nl pl pt ru sv zh" + +inherit cmake-utils l10n + +DESCRIPTION="Application to create and manage beer recipes" +HOMEPAGE="http://www.brewtarget.org/" +SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${PN}_${PV}.orig.tar.xz" + +LICENSE="GPL-3 WTFPL-2" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="kde phonon" + +DEPEND=" + >=dev-qt/qtcore-4.8:4 + >=dev-qt/qtgui-4.8:4 + >=dev-qt/qtsql-4.8:4[sqlite] + >=dev-qt/qtsvg-4.8:4 + >=dev-qt/qtwebkit-4.8:4 + phonon? ( + kde? ( media-libs/phonon[qt4] ) + !kde? ( || ( >=dev-qt/qtphonon-4.8:4 media-libs/phonon[qt4] ) ) + ) +" +RDEPEND="${DEPEND}" + +remove_locale() { + sed -i -e "/bt_$1.ts/d" CMakeLists.txt || die +} + +src_prepare() { + # Check for new locales, respect LINGUAS + l10n_find_plocales_changes "${S}/translations" bt_ .ts + l10n_for_each_disabled_locale_do remove_locale + + # Tests are bogus, don't build them + sed -i -e '/=Tests=/,/=Installs=/d' src/CMakeLists.txt || die + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DDO_RELEASE_BUILD=ON + -DNO_MESSING_WITH_FLAGS=ON + $(cmake-utils_use_no phonon) + ) + cmake-utils_src_configure +} diff --git a/app-misc/brewtarget/metadata.xml b/app-misc/brewtarget/metadata.xml new file mode 100644 index 000000000000..0ebb2a47b0a2 --- /dev/null +++ b/app-misc/brewtarget/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>pesa@gentoo.org</email> + </maintainer> + <use> + <flag name="phonon">Enable sound support via <pkg>media-libs/phonon</pkg> or <pkg>dev-qt/qtphonon</pkg></flag> + </use> + <upstream> + <remote-id type="launchpad">brewtarget</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-misc/btail/Manifest b/app-misc/btail/Manifest new file mode 100644 index 000000000000..2990bbd8d46c --- /dev/null +++ b/app-misc/btail/Manifest @@ -0,0 +1 @@ +DIST btail-0.3.tgz 7402 SHA256 0bcf19b49ad2071a7fd31bbc12327c132c1419d67519ea67d97241d436f71b1c SHA512 1b27b6fff41b5e69119526115d5c3d239d106303923796121829729617765354cbd3f769b95c8fd32cd5a181475c3cde0ffe2accaae44ae461966df46bb990ee WHIRLPOOL 882dcb45ae21750c6d3487e6885d798e2356567d55f27b8269c5037033aef6268cacd7c076e69bf95925770943a256433b96b0715c96d6101850cc9384f0371d diff --git a/app-misc/btail/btail-0.3.ebuild b/app-misc/btail/btail-0.3.ebuild new file mode 100644 index 000000000000..f71b4bd9c0cb --- /dev/null +++ b/app-misc/btail/btail-0.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit toolchain-funcs + +DESCRIPTION="Bayesian logfile filter" +HOMEPAGE="http://www.vanheusden.com/btail/" +SRC_URI="${HOMEPAGE}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND="sys-libs/gdbm" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i Makefile \ + -e '/^LDFLAGS/s:=:+=:g' \ + -e '/$(CC)/s:-Wall:$(CFLAGS) &:g' \ + || die + sed -i conf.cpp \ + -e '/Configline/s:):, line):g' \ + || die +} + +src_compile() { + emake \ + CFLAGS="${CFLAGS}" \ + CXXFLAGS="${CXXFLAGS}" \ + CC="$(tc-getCC)" \ + CXX="$(tc-getCXX)" +} + +src_install() { + dobin blearn btail + dodoc readme.txt btail.conf license.txt +} diff --git a/app-misc/btail/metadata.xml b/app-misc/btail/metadata.xml new file mode 100644 index 000000000000..ff62877c67ae --- /dev/null +++ b/app-misc/btail/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>maintainer-needed@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/app-misc/byobu/Manifest b/app-misc/byobu/Manifest new file mode 100644 index 000000000000..34e3f28dcfec --- /dev/null +++ b/app-misc/byobu/Manifest @@ -0,0 +1,2 @@ +DIST byobu_5.90.orig.tar.gz 658445 SHA256 a06daaf6074a2254632983dc261a68bccef5d313844deb08533d6ef5bf16c73b SHA512 73a4a3e79240466daab845fd4c90a3dc78e0a43b4a94b430eabc537968e805b67de3a2f94680d7c13ba6ccd097d62a62cc9e2e77d38d4698b68e5116c6bc09a6 WHIRLPOOL 89a71abd328ad50016ae2219978e739727561d397268d20f8447614c98499445de32efd760aa8a0c22f4f10437ad14b8da49e7ac6601e4911ec3e1615ceab283 +DIST byobu_5.94.orig.tar.gz 660103 SHA256 4917013f590110d25b18293a51af02bd1ebcd1c665474f62e2566fb9b8f62916 SHA512 b4e07d7d197f8796c26f33aa08c1d61dab463ce5cd2d646bf32c4c5a4be17ffe2b8996cb305c999ca0be20a1fab81c24dbd0eae5588b74e8da1e7726c293b2e6 WHIRLPOOL d2832c4ecac9d4d6907051d33efb8f51816866ce4bd0d75d5684322dd83a56d0a4717d2b6fd7736a0ca488d5e2e648a0e48a09de6a0bffcd779aa63cefd50c4c diff --git a/app-misc/byobu/byobu-5.90.ebuild b/app-misc/byobu/byobu-5.90.ebuild new file mode 100644 index 000000000000..8264cdcce309 --- /dev/null +++ b/app-misc/byobu/byobu-5.90.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 + +DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)" +HOMEPAGE="http://byobu.co" +SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="screen" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-libs/newt[${PYTHON_USEDEP}] + screen? ( app-misc/screen ) + !screen? ( app-misc/tmux )" + +src_prepare() { + python_fix_shebang . + + # Set default system backend to screen + if use screen ; then + sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die + fi +} + +src_install() { + default + + # Create symlinks for backends + dosym ${PN} /usr/bin/${PN}-screen + dosym ${PN} /usr/bin/${PN}-tmux + + docompress -x /usr/share/doc/${PN} +} diff --git a/app-misc/byobu/byobu-5.94.ebuild b/app-misc/byobu/byobu-5.94.ebuild new file mode 100644 index 000000000000..8264cdcce309 --- /dev/null +++ b/app-misc/byobu/byobu-5.94.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 + +DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)" +HOMEPAGE="http://byobu.co" +SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="screen" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-libs/newt[${PYTHON_USEDEP}] + screen? ( app-misc/screen ) + !screen? ( app-misc/tmux )" + +src_prepare() { + python_fix_shebang . + + # Set default system backend to screen + if use screen ; then + sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die + fi +} + +src_install() { + default + + # Create symlinks for backends + dosym ${PN} /usr/bin/${PN}-screen + dosym ${PN} /usr/bin/${PN}-tmux + + docompress -x /usr/share/doc/${PN} +} diff --git a/app-misc/byobu/metadata.xml b/app-misc/byobu/metadata.xml new file mode 100644 index 000000000000..1c7747e40943 --- /dev/null +++ b/app-misc/byobu/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>shell-tools</herd> + <longdescription> +Byobu is a GPLv3 open source text-based window manager and terminal multiplexer. +It was originally designed to provide elegant enhancements to the otherwise +functional, plain, practical GNU Screen, for the Ubuntu server distribution. +Byobu now includes an enhanced profiles, convenient keybindings, configuration +utilities, and toggle-able system status notifications for both the GNU Screen +window manager and the more modern Tmux terminal multiplexer, and works on most +Linux, BSD, and Mac distributions. +</longdescription> + <use> + <flag name="screen">Use <pkg>app-misc/screen</pkg> as the default backend</flag> + </use> + <upstream> + <remote-id type="launchpad">byobu</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-misc/ca-certificates/Manifest b/app-misc/ca-certificates/Manifest new file mode 100644 index 000000000000..a479f3e79c09 --- /dev/null +++ b/app-misc/ca-certificates/Manifest @@ -0,0 +1,23 @@ +DIST ca-certificates_20090709_all.deb 154620 SHA256 de1e35997eb39c7ba5713f206aba034ff8ce8aa3aebebfc7eb1823de9968d767 SHA512 2237f03c6794f33e5dde2acc05c04447daf2b8a41fc4182297d971cf4bc1eb2ae1abdf21561fb8fdf9dad27465e63c17b8bd2060d3b270edcfdf22c5c5cb094d WHIRLPOOL 174facc0da0677baae403a0e9234692768d6a6342a1894116561a2c41878850cdc603c3556961641ba743fe347c436adef1d914060b23767549dd40041c4120c +DIST ca-certificates_20110421_all.deb 176778 SHA256 a60a9c0faf1847df4553ce13ffe337412b88dd1b9d502741ac1760204c0bdda3 SHA512 11c9ba3f483cd17ca964f19e6ec394a2239fd74187f57224d7b13d1c0bf5dc55bb6c66217c1dd8273695ff92710617a897f7a40be6e4ec9960276f1bfe6b2bbb WHIRLPOOL 67dee5217526d5abec740f367fe28ce0f823d3c21b99fc988b73e75859e47beb00cb76e3d83572e704c3924e45bd9f6a7c818a1a1b2dd3bf7594864c9d9b2c5f +DIST ca-certificates_20110502+nmu1_all.deb 174242 SHA256 d44284ee9b733b9890a54516f66b68a382ac5fb2c0bdceafed4cf229aa3b05a1 SHA512 2ba33346689d21846632390ad55f2a6102a333cc32019a6e00d85c00970a6f744b4a4d548b68bf9b6369d0cfc2b06009db4b4be4ffafd3629bf05737fdc096d2 WHIRLPOOL 88ffbbc68e1299a2b3cc243e1b17160f9862c469279e8dca03841c45defb238c034c8d81abe811a3d32f9968d7754f6d8c64a697cbcba0c2eb4be9d513d527e9 +DIST ca-certificates_20110502_all.deb 175556 SHA256 fa14c729b48ed58f5c048b8721f09fded9824c1f450a656fb2cc396195935a98 SHA512 12b148987c292320e90b7124bf5d0194a3b7d8f1807b13b05461b18798e6a5346e205b065256d0bbdce7bf13d5db2b9c756b0f5a63a309d9164eff973179a363 WHIRLPOOL 79a8dd9c27f094dbe687d61f41d39c26229a21d02713134c71dd0878927eefcbe325cf801b63caf4421a6c97dd21731dd49862e931cef7a5895734039ad877b2 +DIST ca-certificates_20111025_all.deb 185800 SHA256 7d743b307ab31138176d6da4fff1f4c7f6bd246b42698662894bfb1b74e55647 SHA512 4be682158891110d32e8f065af64c597da09476263fdebb860d08387c873e7839b106b6f9ad6be7acfb4e0eb568274e2196377b4e0bbb61aafaeaecaeef88284 WHIRLPOOL 78568cc1b4f21ef7ca747dd9c60d43a98b15da9236c76ce928d416ad0875bd5ec2a1096d7e0551fada838d6ffbfe30366080f698ea4a35ef4748b9833c1550f8 +DIST ca-certificates_20120212_all.deb 176812 SHA256 7e4277a0a5a0ac42c370a93f986839b4e3ff82646581caa8c5135ad0a41d01d7 SHA512 c22cb3b3472deb7819bae6518b136a5af27e4cb29610b12713908ce7effbe5e39f9f1856efd75d071d70016462e66b34d5800ab061a2b3a213e4f2969330f8f0 WHIRLPOOL 306cbafa408ddb0444d5cb547ff201ca5709527db0ca5f4798db751d8ef8df147ef8ffe382adda3cefadd110197104af9bc8e45a6276a2d7739d59ffccd498c5 +DIST ca-certificates_20120623_all.deb 183022 SHA256 41f719a63b8cace12a6cd69dce3fea9720c2702511205c2bab20c5d05528ede7 SHA512 970478971f545919e15f1af7e774043113fee725c7dba89bff27969814d60e1187219fb7f87e250261c54bc0cb03098b69748c33b625f5e5061df65c6bbe019a WHIRLPOOL 07b693dabae839bde3c31548e11d8cb8b0940de6aa1838eab3834ad3a5206f4a32a3cd7d134c9722ce244ac5ed21c5a222b74899972be9f5ae59876c4b61fc22 +DIST ca-certificates_20121114_all.deb 192630 SHA256 f6991820d1c6431a7db42e92efa51f4058e921bdcc491a906dc1309e9ba35286 SHA512 b2810d1b728c71189100352706fda17c6d87f53b5c6fc2dfb78be13fcfb5758ddd7f5a4bb69742c18241bd05809cbbe67b7a4c179e678b8cf46e277b54d77869 WHIRLPOOL a75ef6c7cbb12ab24070ef7cc016dbd03509dc1cee95634281210fc45bd4a620b5854a76349e060f46f1f0844d774a5f53aeac5c34f73e025b890364b70be1ee +DIST ca-certificates_20130119_all.deb 185428 SHA256 08f8e5a1fab74a365c284ed4e353b4f14596f5ef533fced6395ead81fb3a76f7 SHA512 b93621e578dfa5ea224b3528839ca250fd9470dc28b17dd82e8669d64a631cb62218f1c53ebdb165ea3fffcaa8717210132215b5407ea0185e76ac2a11c0d157 WHIRLPOOL 9cedaba913d90f9f10ce7c97bcd248400b17c4fc3016e2fc3fca81333094f33ce60997da49144763fe86d705c458a273fd1e279a0237a1e855ae8ffe6d1e4c51 +DIST ca-certificates_20130610_all.deb 184342 SHA256 ab20ee409012c980725a6392d71ac0464bb87edd1645221d0eb4ecb32c2e00bd SHA512 6f5f3523d4f70b1a5f2ec45ee36ae2bd706fc713edfdcddab4bafe27c42c2c169f87852abfc7e9daf4d597b633bfcaea08cb0a36ea3a88b770a45c62c134e248 WHIRLPOOL 7dd5e5a0dc0c8a3bc1556aefea5d5544183af68fce234899e56678fcdba4ac988c07f8a76a4f05e4861ed086cc3c1d1c15601d3372bbc4431c8d8e7bb54f1c4a +DIST ca-certificates_20130906_all.deb 185064 SHA256 b2326834479192de2298c607bc020715c949cbd4dc5dd6be28a1b3f348eb9b76 SHA512 0410d11843e36fb488698a5ce7e1eda473b91d476c99d8e3bd006705167c9f2ac9a554e7fce1595f3717f1781a1390af345b3e7e4bc1e58c055e0a11321ececa WHIRLPOOL b9cf04b0e080752567a82c8fecffd033d10f19e41c0ecb1e676246947a34d1380002f9860539611dd79b04c47d19f6631a126c5887cff7ee52ff866b36c50109 +DIST ca-certificates_20140223.tar.xz 274768 SHA256 815b7cd97200b0d76450bb3e7d9b65997ac494ab6467b17369f65b2ef94bcb0c SHA512 14855eba51f90ab062b53a0d1986889de9ad7db4cb52bd4d764872b7c90eaaee62920543a4670ab45329469f76365d1e902219397b660034689159f13b8668d8 WHIRLPOOL f841d9a5fa2d4b3d46d06a2de947108ccb8bf7f19c99979822e22f043624656e789ba0340657b21a15560fd6593efa4256efc9f317974bdca8088a3647836e49 +DIST ca-certificates_20140223_all.deb 190226 SHA256 13cb11144a97d95a8be130e4bcdd6c9ffc3df269bb194699bcd21ca377e01df2 SHA512 003b6fd2301eee3ca2119781ee75a1b195f142678d4570b598c4b93847de23c4f659152f834db1f0c8866767324d02b27807260cf43f6ae16207538fa419aa31 WHIRLPOOL 179a0bcf341e7de07d02f6574850614ef221851379945db00018d25f485cee6c11915322ee370e72321d81464d7d6bb96401b41029b8f7215a68e46971671deb +DIST ca-certificates_20140325.tar.xz 278816 SHA256 c0e3d8c517995db2737f7f1a9b69d654b8823fa6d337871c6ce111fcf083454a SHA512 6645740d61da78845facce6e3881c64f51e945a454cb26cead6e7df4887f1f3797bea217cebaffaae22a76fa3867ee20dee7b1d5200df20b85878a0c6029c2f8 WHIRLPOOL 93d4ff1ac74c6961612ffa0e4da35228636698940fd0a66e4e6842de4e48f5ded74885bfb330f6d106ae267124309d51d49f646959bbae1ef9fa7a55dbb2085a +DIST ca-certificates_20140927.tar.xz 288824 SHA256 e582724ebb9d5d6fe02d02db1773c9ca76d3aaab4b15375a0d72e9abf88a65c5 SHA512 3cd08559c52aeba763a8ecc0333c7c20838db0111e52d9adf65719f14f858611271d61801a60fb3aea4e74be4a7903c1b462bf889172f5afb774280bb615b98b WHIRLPOOL e32e54b21109b7c44266480a6a5d78693b5ef7ffae1df595c4edfe2cce85d1cd29664e6d916c5bfffb965e4bb01fce6a8327a2ead5bb0ca7cdd8afd04346a270 +DIST ca-certificates_20141019.tar.xz 289092 SHA256 684902d3f4e9ad27829f4af0d9d2d588afed03667997579b9c2be86fcd1eb73a SHA512 5b0e8fb917f5642a5a2b4fde46a706db0c652ff3fb31a5053d9123a5b670b50c6e3cf2496915cc01c613dcbe964d6432f393c12d8a697baedfad58f9d13e568b WHIRLPOOL 6d3c0ccfbd4b1598ed529cb07390baaf741e24c8fd4762aa1786ada7188ec0c4e327513047bca2b93a488681e80b5a8fabc37b98b7f6e5e92cba62580c4cf74f +DIST nss-3.14.1-add_spi+cacerts_ca_certs.patch 25018 SHA256 82ca25982828fd7153ad15fc6e81408c115476eeeb4045d3a71469380b56824b SHA512 2aafbd972b073061bfd66a66a4b50060691957f2910f716f7a69d22d655c499f186f05db2101bea5248a00949f339327ba8bfffec024c61c8ee908766201ae00 WHIRLPOOL c9fe397e316dac7983b187acf7227078ebd8f8da5df53f77f2564489e85f123c4d2afb88d56e8dc14b9ebfffe8a71ade4724b3c1ea683c5c4c487cb3a64eda43 +DIST nss-3.15.5.tar.gz 6367893 SHA256 1442c85624b7de74c7745132a65aa0de47d280c4f01f293d111bc0b6d8271f43 SHA512 4db27ea98f17f1a5bc6f513455497945fc35957f573b3ac7e730b166fbe0e8fd741c188187c578faf361d969db63d83ff8ccf15ac2b8ca72a367f33a018695ca WHIRLPOOL c3c687ac53dca571d1c45bdf4a80e192ca58da07e06ef56de7ac9736480c97689dd12d14351860764b70a1d823092a1ddbc471328c4bae4a899edd0e331c8aee +DIST nss-3.16.3.tar.gz 6426732 SHA256 657711ff7a4058043b69019a66f44101d0234eae2b6b80ab900439dbf02add60 SHA512 2e829b021319a9d8c0cedec742f84c54815eed8e3b1042b5045f08746e5768286001e9517d2b69c2a5d705cd632c98f3a9227e651a492bae3ef638cc706fe31f WHIRLPOOL bd8fe296baf79b4cad2224a921bf6d0a6b6a1f13df5b64131f59964541d2ec1ae506a79a5a3b8dc08a47c8fcdfa5eafb866727fcf26c37d4e5e91a7ebb7886b3 +DIST nss-3.16.tar.gz 6378110 SHA256 2bb4faa200962caacf0454f1e870e74aa9a543809e5c440f7978bcce58e0bfe8 SHA512 e3dcde8213f7f131fe2f714ff2f45c6d7b9b2167e51dbf0e1a750cc4f83d9fa35e69408850de6600f55fbc9e26b29dc344548cb64849d6e3252476eadd7ee57f WHIRLPOOL d30b53ec36cacff9756b43780d904e32760cd5d0b75f1888b6fb80e0a87ce828f4e6189de63880ddce90bdf5d90123ff7e9fdf600f4df02ce59702898f08c11e +DIST nss-3.17.2.tar.gz 6927414 SHA256 134929e44e44b968a4883f4ee513a71ae45d55b486cee41ee8e26c3cc84dab8b SHA512 a3d165bb2c578e7b5d90349729e85a2fce09260d069093080c76cce3b8a996c6489232324fd6a0c69b959321bcdf5f1806054f165cd6ce851fe4ffeb2883ae7f WHIRLPOOL 01b3cc546aa2dd0974caa2267aa9874b01cf6096f307a114393ba5a98adc216e0f2b217631b89b20752be5881f70fc1a7e94e0e90618707d5f9b9d18fd55d859 +DIST nss-3.17.4.tar.gz 6924699 SHA256 1d98ad1881a4237ec98cbe472fc851480f0b0e954dfe224d047811fb96ff9d79 SHA512 dfc44e28c303743a72b4553f471089bc991c3cb61d5f3071082c16400d5e4f216f84a2e44536570316fe0e798c14ca370c875dad791a873034595b9e4dd70b89 WHIRLPOOL bb6e1027c5237d12fe58b4c520536022d8d4e83183a78c3421fd46bf9c3503b1f0ca4644240e383f216ec1e5174c0ae4148372db68fb9f1c10275954559d5bbf +DIST nss-3.19.tar.gz 6951461 SHA256 989ebdf79374f24181f060d332445b1a4baf3df39d08514c4349ba8573cefa9b SHA512 e428d206a4fd30087f275a33771a1d7e753b000e8fc3e7c746972a89d1b32300d3619f430ea15e870d82b3af52785d4dd36ae89c9c496f014f9f323ea373da14 WHIRLPOOL 3a8b58a8a28e31f65f40cfa6a9bd9ca2177a17552082d8de2189da6c92ff7ba9c90be13793666558a2bff609da738cb1f4313968077e1041b8f283d36005e76c diff --git a/app-misc/ca-certificates/ca-certificates-20090709.ebuild b/app-misc/ca-certificates/ca-certificates-20090709.ebuild new file mode 100644 index 000000000000..b56979597665 --- /dev/null +++ b/app-misc/ca-certificates/ca-certificates-20090709.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +DESCRIPTION="Common CA Certificates PEM files" +HOMEPAGE="http://packages.debian.org/sid/ca-certificates" +SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}_all.deb" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" +IUSE="" + +DEPEND="|| ( >=sys-apps/coreutils-6.10-r1 sys-apps/mktemp sys-freebsd/freebsd-ubin )" +RDEPEND="${DEPEND} + dev-libs/openssl + sys-apps/debianutils" + +S=${WORKDIR} + +src_unpack() { + unpack ${A} + unpack ./data.tar.gz + rm -f control.tar.gz data.tar.gz debian-binary +} + +pkg_setup() { + # For the conversion to having it in CONFIG_PROTECT_MASK, + # we need to tell users about it once manually first. + [[ -f /etc/env.d/98ca-certificates ]] \ + || ewarn "You should run update-ca-certificates manually after etc-update" +} + +src_install() { + cp -pPR * "${D}"/ || die "installing data failed" + + ( + echo "# Automatically generated by ${CAT}/${PF}" + echo "# $(date -u)" + echo "# Do not edit." + cd "${D}"/usr/share/ca-certificates + find . -name '*.crt' | sort | cut -b3- + ) > "${D}"/etc/ca-certificates.conf + + mv "${D}"/usr/share/doc/{ca-certificates,${PF}} || die + prepalldocs + + echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates + doenvd 98ca-certificates +} + +pkg_postinst() { + if [ "${ROOT}" = "/" ] ; then + # However it's too overzealous when the user has custom certs in place. + # --fresh is to clean up dangling symlinks + update-ca-certificates + fi + + local badcerts=0 + for c in $(find -L "${ROOT}"etc/ssl/certs/ -type l) ; do + ewarn "Broken symlink for a certificate at $c" + badcerts=1 + done + if [ $badcerts -eq 1 ]; then + ewarn "You MUST remove the above broken symlinks" + ewarn "Otherwise any SSL validation that use the directory may fail!" + ewarn "To batch-remove them, run:" + ewarn "find -L ${ROOT}etc/ssl/certs/ -type l -exec rm {} +" + fi +} diff --git a/app-misc/ca-certificates/ca-certificates-20110421.ebuild b/app-misc/ca-certificates/ca-certificates-20110421.ebuild new file mode 100644 index 000000000000..1e074c085562 --- /dev/null +++ b/app-misc/ca-certificates/ca-certificates-20110421.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +DESCRIPTION="Common CA Certificates PEM files" +HOMEPAGE="http://packages.debian.org/sid/ca-certificates" +SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}_all.deb" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" +IUSE="" + +DEPEND="|| ( >=sys-apps/coreutils-6.10-r1 sys-apps/mktemp sys-freebsd/freebsd-ubin )" +RDEPEND="${DEPEND} + dev-libs/openssl + sys-apps/debianutils" + +S=${WORKDIR} + +src_unpack() { + unpack ${A} + unpack ./data.tar.gz + rm -f control.tar.gz data.tar.gz debian-binary +} + +pkg_setup() { + # For the conversion to having it in CONFIG_PROTECT_MASK, + # we need to tell users about it once manually first. + [[ -f /etc/env.d/98ca-certificates ]] \ + || ewarn "You should run update-ca-certificates manually after etc-update" +} + +src_install() { + cp -pPR * "${D}"/ || die + + ( + echo "# Automatically generated by ${CATEGORY}/${PF}" + echo "# $(date -u)" + echo "# Do not edit." + cd "${D}"/usr/share/ca-certificates + find . -name '*.crt' | sort | cut -b3- + ) > "${D}"/etc/ca-certificates.conf + + mv "${D}"/usr/share/doc/{ca-certificates,${PF}} || die + prepalldocs + + echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates + doenvd 98ca-certificates +} + +pkg_postinst() { + if [ "${ROOT}" = "/" ] ; then + # However it's too overzealous when the user has custom certs in place. + # --fresh is to clean up dangling symlinks + update-ca-certificates + fi + + local c badcerts=0 + for c in $(find -L "${ROOT}"etc/ssl/certs/ -type l) ; do + ewarn "Broken symlink for a certificate at $c" + badcerts=1 + done + if [ $badcerts -eq 1 ]; then + ewarn "You MUST remove the above broken symlinks" + ewarn "Otherwise any SSL validation that use the directory may fail!" + ewarn "To batch-remove them, run:" + ewarn "find -L ${ROOT}etc/ssl/certs/ -type l -exec rm {} +" + fi +} diff --git a/app-misc/ca-certificates/ca-certificates-20110502-r1.ebuild b/app-misc/ca-certificates/ca-certificates-20110502-r1.ebuild new file mode 100644 index 000000000000..a38aae8366f8 --- /dev/null +++ b/app-misc/ca-certificates/ca-certificates-20110502-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +DESCRIPTION="Common CA Certificates PEM files" +HOMEPAGE="http://packages.debian.org/sid/ca-certificates" +SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}+nmu1_all.deb" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" +IUSE="" + +DEPEND="|| ( >=sys-apps/coreutils-6.10-r1 sys-apps/mktemp sys-freebsd/freebsd-ubin )" +RDEPEND="${DEPEND} + dev-libs/openssl + sys-apps/debianutils" + +S=${WORKDIR} + +src_unpack() { + unpack ${A} + unpack ./data.tar.gz + rm -f control.tar.gz data.tar.gz debian-binary +} + +pkg_setup() { + # For the conversion to having it in CONFIG_PROTECT_MASK, + # we need to tell users about it once manually first. + [[ -f /etc/env.d/98ca-certificates ]] \ + || ewarn "You should run update-ca-certificates manually after etc-update" +} + +src_install() { + cp -pPR * "${D}"/ || die + + ( + echo "# Automatically generated by ${CATEGORY}/${PF}" + echo "# $(date -u)" + echo "# Do not edit." + cd "${D}"/usr/share/ca-certificates + find . -name '*.crt' | sort | cut -b3- + ) > "${D}"/etc/ca-certificates.conf + + mv "${D}"/usr/share/doc/{ca-certificates,${PF}} || die + prepalldocs + + echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates + doenvd 98ca-certificates +} + +pkg_postinst() { + if [ "${ROOT}" = "/" ] ; then + # However it's too overzealous when the user has custom certs in place. + # --fresh is to clean up dangling symlinks + update-ca-certificates + fi + + local c badcerts=0 + for c in $(find -L "${ROOT}"etc/ssl/certs/ -type l) ; do + ewarn "Broken symlink for a certificate at $c" + badcerts=1 + done + if [ $badcerts -eq 1 ]; then + ewarn "You MUST remove the above broken symlinks" + ewarn "Otherwise any SSL validation that use the directory may fail!" + ewarn "To batch-remove them, run:" + ewarn "find -L ${ROOT}etc/ssl/certs/ -type l -exec rm {} +" + fi +} diff --git a/app-misc/ca-certificates/ca-certificates-20110502-r2.ebuild b/app-misc/ca-certificates/ca-certificates-20110502-r2.ebuild new file mode 100644 index 000000000000..deb91a980a9d --- /dev/null +++ b/app-misc/ca-certificates/ca-certificates-20110502-r2.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +inherit eutils + +DESCRIPTION="Common CA Certificates PEM files" +HOMEPAGE="http://packages.debian.org/sid/ca-certificates" +SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}+nmu1_all.deb" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" +IUSE="" + +DEPEND="|| ( >=sys-apps/coreutils-6.10-r1 sys-apps/mktemp sys-freebsd/freebsd-ubin )" +RDEPEND="${DEPEND} + dev-libs/openssl + sys-apps/debianutils + kernel_AIX? ( app-arch/deb2targz )" # platforms like AIX don't have a good ar + +S=${WORKDIR} + +pkg_setup() { + # For the conversion to having it in CONFIG_PROTECT_MASK, + # we need to tell users about it once manually first. + [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ + || ewarn "You should run update-ca-certificates manually after etc-update" +} + +src_unpack() { + unpack ${A} + unpack ./data.tar.gz + rm -f control.tar.gz data.tar.gz debian-binary +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-20090709-root.patch +} + +src_compile() { + ( + echo "# Automatically generated by ${CATEGORY}/${PF}" + echo "# $(date -u)" + echo "# Do not edit." + cd "${S}"/usr/share/ca-certificates + find * -name '*.crt' | LC_ALL=C sort + ) > "${S}"/etc/ca-certificates.conf + + sed -i "/^ROOT=""/s:=.*:='${EPREFIX}':" "${S}"/usr/sbin/update-ca-certificates || die + "${S}"/usr/sbin/update-ca-certificates --root "${S}" +} + +src_install() { + mkdir -p "${ED}" + cp -pPR * "${ED}"/ || die + + mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die + prepalldocs + + echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates + doenvd 98ca-certificates +} + +pkg_postinst() { + if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then + # if the user has local certs, we need to rebuild again + # to include their stuff in the db. + # However it's too overzealous when the user has custom certs in place. + # --fresh is to clean up dangling symlinks + "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" + fi + + local c badcerts=0 + for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do + ewarn "Broken symlink for a certificate at $c" + badcerts=1 + done + if [ $badcerts -eq 1 ]; then + ewarn "You MUST remove the above broken symlinks" + ewarn "Otherwise any SSL validation that use the directory may fail!" + ewarn "To batch-remove them, run:" + ewarn "find -L ${EROOT}etc/ssl/certs/ -type l -exec rm {} +" + fi +} diff --git a/app-misc/ca-certificates/ca-certificates-20110502-r3.ebuild b/app-misc/ca-certificates/ca-certificates-20110502-r3.ebuild new file mode 100644 index 000000000000..4e47b1e95568 --- /dev/null +++ b/app-misc/ca-certificates/ca-certificates-20110502-r3.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +inherit eutils + +DESCRIPTION="Common CA Certificates PEM files" +HOMEPAGE="http://packages.debian.org/sid/ca-certificates" +SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}+nmu1_all.deb" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" +IUSE="" + +# platforms like AIX don't have a good ar +DEPEND="kernel_AIX? ( app-arch/deb2targz )" +# openssl: we run `c_rehash` +# debianutils: we run `run-parts` +RDEPEND="${DEPEND} + dev-libs/openssl + sys-apps/debianutils" + +S=${WORKDIR} + +pkg_setup() { + # For the conversion to having it in CONFIG_PROTECT_MASK, + # we need to tell users about it once manually first. + [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ + || ewarn "You should run update-ca-certificates manually after etc-update" +} + +src_unpack() { + if [[ -n ${EPREFIX} ]] ; then + # need to perform everything in the offset, #381937 + mkdir -p "./${EPREFIX}" + cd "./${EPREFIX}" || die + fi + unpack ${A} + unpack ./data.tar.gz + rm -f control.tar.gz data.tar.gz debian-binary +} + +src_prepare() { + cd "./${EPREFIX}" || die + epatch "${FILESDIR}"/${PN}-20090709-root.patch + sed -i -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ + usr/sbin/update-ca-certificates || die +} + +src_compile() { + ( + echo "# Automatically generated by ${CATEGORY}/${PF}" + echo "# $(date -u)" + echo "# Do not edit." + cd "${S}${EPREFIX}"/usr/share/ca-certificates + find * -name '*.crt' | LC_ALL=C sort + ) > "${S}${EPREFIX}"/etc/ca-certificates.conf + + "${S}${EPREFIX}"/usr/sbin/update-ca-certificates --root "${S}" +} + +src_install() { + cp -pPR * "${D}"/ || die + + mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die + prepalldocs + + echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates + doenvd 98ca-certificates +} + +pkg_postinst() { + if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then + # if the user has local certs, we need to rebuild again + # to include their stuff in the db. + # However it's too overzealous when the user has custom certs in place. + # --fresh is to clean up dangling symlinks + "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" + fi + + local c badcerts=0 + for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do + ewarn "Broken symlink for a certificate at $c" + badcerts=1 + done + if [ $badcerts -eq 1 ]; then + ewarn "You MUST remove the above broken symlinks" + ewarn "Otherwise any SSL validation that use the directory may fail!" + ewarn "To batch-remove them, run:" + ewarn "find -L ${EROOT}etc/ssl/certs/ -type l -exec rm {} +" + fi +} diff --git a/app-misc/ca-certificates/ca-certificates-20110502-r4.ebuild b/app-misc/ca-certificates/ca-certificates-20110502-r4.ebuild new file mode 100644 index 000000000000..3aaa519e4ca9 --- /dev/null +++ b/app-misc/ca-certificates/ca-certificates-20110502-r4.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +inherit eutils + +DESCRIPTION="Common CA Certificates PEM files" +HOMEPAGE="http://packages.debian.org/sid/ca-certificates" +SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}+nmu1_all.deb" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" +IUSE="" + +# platforms like AIX don't have a good ar +DEPEND="kernel_AIX? ( app-arch/deb2targz )" +# openssl: we run `c_rehash` +# debianutils: we run `run-parts` +RDEPEND="${DEPEND} + dev-libs/openssl + sys-apps/debianutils" + +S=${WORKDIR} + +pkg_setup() { + # For the conversion to having it in CONFIG_PROTECT_MASK, + # we need to tell users about it once manually first. + [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ + || ewarn "You should run update-ca-certificates manually after etc-update" +} + +src_unpack() { + if [[ -n ${EPREFIX} ]] ; then + # need to perform everything in the offset, #381937 + mkdir -p "./${EPREFIX}" + cd "./${EPREFIX}" || die + fi + unpack ${A} + unpack ./data.tar.gz + rm -f control.tar.gz data.tar.gz debian-binary +} + +src_prepare() { + cd "./${EPREFIX}" || die + epatch "${FILESDIR}"/${PN}-20110502-root.patch + local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g') + sed -i \ + -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ + -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \ + usr/sbin/update-ca-certificates || die +} + +src_compile() { + ( + echo "# Automatically generated by ${CATEGORY}/${PF}" + echo "# $(date -u)" + echo "# Do not edit." + cd "${S}${EPREFIX}"/usr/share/ca-certificates + find * -name '*.crt' | LC_ALL=C sort + ) > "${S}${EPREFIX}"/etc/ca-certificates.conf + + sh "${S}${EPREFIX}"/usr/sbin/update-ca-certificates --root "${S}" || die +} + +src_install() { + cp -pPR * "${D}"/ || die + + mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die + prepalldocs + + echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates + doenvd 98ca-certificates +} + +pkg_postinst() { + if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then + # if the user has local certs, we need to rebuild again + # to include their stuff in the db. + # However it's too overzealous when the user has custom certs in place. + # --fresh is to clean up dangling symlinks + "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" + fi + + local c badcerts=0 + for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do + ewarn "Broken symlink for a certificate at $c" + badcerts=1 + done + if [ $badcerts -eq 1 ]; then + ewarn "You MUST remove the above broken symlinks" + ewarn "Otherwise any SSL validation that use the directory may fail!" + ewarn "To batch-remove them, run:" + ewarn "find -L ${EROOT}etc/ssl/certs/ -type l -exec rm {} +" + fi +} diff --git a/app-misc/ca-certificates/ca-certificates-20110502.ebuild b/app-misc/ca-certificates/ca-certificates-20110502.ebuild new file mode 100644 index 000000000000..1e074c085562 --- /dev/null +++ b/app-misc/ca-certificates/ca-certificates-20110502.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +DESCRIPTION="Common CA Certificates PEM files" +HOMEPAGE="http://packages.debian.org/sid/ca-certificates" +SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}_all.deb" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" +IUSE="" + +DEPEND="|| ( >=sys-apps/coreutils-6.10-r1 sys-apps/mktemp sys-freebsd/freebsd-ubin )" +RDEPEND="${DEPEND} + dev-libs/openssl + sys-apps/debianutils" + +S=${WORKDIR} + +src_unpack() { + unpack ${A} + unpack ./data.tar.gz + rm -f control.tar.gz data.tar.gz debian-binary +} + +pkg_setup() { + # For the conversion to having it in CONFIG_PROTECT_MASK, + # we need to tell users about it once manually first. + [[ -f /etc/env.d/98ca-certificates ]] \ + || ewarn "You should run update-ca-certificates manually after etc-update" +} + +src_install() { + cp -pPR * "${D}"/ || die + + ( + echo "# Automatically generated by ${CATEGORY}/${PF}" + echo "# $(date -u)" + echo "# Do not edit." + cd "${D}"/usr/share/ca-certificates + find . -name '*.crt' | sort | cut -b3- + ) > "${D}"/etc/ca-certificates.conf + + mv "${D}"/usr/share/doc/{ca-certificates,${PF}} || die + prepalldocs + + echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates + doenvd 98ca-certificates +} + +pkg_postinst() { + if [ "${ROOT}" = "/" ] ; then + # However it's too overzealous when the user has custom certs in place. + # --fresh is to clean up dangling symlinks + update-ca-certificates + fi + + local c badcerts=0 + for c in $(find -L "${ROOT}"etc/ssl/certs/ -type l) ; do + ewarn "Broken symlink for a certificate at $c" + badcerts=1 + done + if [ $badcerts -eq 1 ]; then + ewarn "You MUST remove the above broken symlinks" + ewarn "Otherwise any SSL validation that use the directory may fail!" + ewarn "To batch-remove them, run:" + ewarn "find -L ${ROOT}etc/ssl/certs/ -type l -exec rm {} +" + fi +} diff --git a/app-misc/ca-certificates/ca-certificates-20111025.ebuild b/app-misc/ca-certificates/ca-certificates-20111025.ebuild new file mode 100644 index 000000000000..6934f8ccc450 --- /dev/null +++ b/app-misc/ca-certificates/ca-certificates-20111025.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +inherit eutils + +DESCRIPTION="Common CA Certificates PEM files" +HOMEPAGE="http://packages.debian.org/sid/ca-certificates" +#NMU_PR="1" +SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" +IUSE="" + +# platforms like AIX don't have a good ar +DEPEND="kernel_AIX? ( app-arch/deb2targz ) + !<sys-apps/portage-2.1.10.41" +# openssl: we run `c_rehash` +# debianutils: we run `run-parts` +RDEPEND="${DEPEND} + dev-libs/openssl + sys-apps/debianutils" + +S=${WORKDIR} + +pkg_setup() { + # For the conversion to having it in CONFIG_PROTECT_MASK, + # we need to tell users about it once manually first. + [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ + || ewarn "You should run update-ca-certificates manually after etc-update" +} + +src_unpack() { + if [[ -n ${EPREFIX} ]] ; then + # need to perform everything in the offset, #381937 + mkdir -p "./${EPREFIX}" + cd "./${EPREFIX}" || die + fi + unpack ${A} + unpack ./data.tar.gz + rm -f control.tar.gz data.tar.gz debian-binary +} + +src_prepare() { + cd "./${EPREFIX}" || die + epatch "${FILESDIR}"/${PN}-20110502-root.patch + local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g') + sed -i \ + -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ + -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \ + usr/sbin/update-ca-certificates || die +} + +src_compile() { + ( + echo "# Automatically generated by ${CATEGORY}/${PF}" + echo "# $(date -u)" + echo "# Do not edit." + cd "${S}${EPREFIX}"/usr/share/ca-certificates + find * -name '*.crt' | LC_ALL=C sort + ) > "${S}${EPREFIX}"/etc/ca-certificates.conf + + sh "${S}${EPREFIX}"/usr/sbin/update-ca-certificates --root "${S}" || die +} + +src_install() { + cp -pPR * "${D}"/ || die + + mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die + prepalldocs + + echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates + doenvd 98ca-certificates +} + +pkg_postinst() { + if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then + # if the user has local certs, we need to rebuild again + # to include their stuff in the db. + # However it's too overzealous when the user has custom certs in place. + # --fresh is to clean up dangling symlinks + "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" + fi + + local c badcerts=0 + for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do + ewarn "Broken symlink for a certificate at $c" + badcerts=1 + done + if [ $badcerts -eq 1 ]; then + ewarn "You MUST remove the above broken symlinks" + ewarn "Otherwise any SSL validation that use the directory may fail!" + ewarn "To batch-remove them, run:" + ewarn "find -L ${EROOT}etc/ssl/certs/ -type l -exec rm {} +" + fi +} diff --git a/app-misc/ca-certificates/ca-certificates-20120212.ebuild b/app-misc/ca-certificates/ca-certificates-20120212.ebuild new file mode 100644 index 000000000000..9b55707ce50a --- /dev/null +++ b/app-misc/ca-certificates/ca-certificates-20120212.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +inherit eutils + +DESCRIPTION="Common CA Certificates PEM files" +HOMEPAGE="http://packages.debian.org/sid/ca-certificates" +#NMU_PR="1" +SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" +IUSE="" + +# platforms like AIX don't have a good ar +DEPEND="kernel_AIX? ( app-arch/deb2targz ) + !<sys-apps/portage-2.1.10.41" +# openssl: we run `c_rehash` +# debianutils: we run `run-parts` +RDEPEND="${DEPEND} + dev-libs/openssl + sys-apps/debianutils" + +S=${WORKDIR} + +pkg_setup() { + # For the conversion to having it in CONFIG_PROTECT_MASK, + # we need to tell users about it once manually first. + [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ + || ewarn "You should run update-ca-certificates manually after etc-update" +} + +src_unpack() { + if [[ -n ${EPREFIX} ]] ; then + # need to perform everything in the offset, #381937 + mkdir -p "./${EPREFIX}" + cd "./${EPREFIX}" || die + fi + unpack ${A} + unpack ./data.tar.gz + rm -f control.tar.gz data.tar.gz debian-binary +} + +src_prepare() { + cd "./${EPREFIX}" || die + epatch "${FILESDIR}"/${PN}-20110502-root.patch + local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g') + sed -i \ + -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ + -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \ + usr/sbin/update-ca-certificates || die +} + +src_compile() { + ( + echo "# Automatically generated by ${CATEGORY}/${PF}" + echo "# $(date -u)" + echo "# Do not edit." + cd "${S}${EPREFIX}"/usr/share/ca-certificates + find * -name '*.crt' | LC_ALL=C sort + ) > "${S}${EPREFIX}"/etc/ca-certificates.conf + + sh "${S}${EPREFIX}"/usr/sbin/update-ca-certificates --root "${S}" || die +} + +src_install() { + cp -pPR * "${D}"/ || die + + mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die + prepalldocs + + echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates + doenvd 98ca-certificates +} + +pkg_postinst() { + if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then + # if the user has local certs, we need to rebuild again + # to include their stuff in the db. + # However it's too overzealous when the user has custom certs in place. + # --fresh is to clean up dangling symlinks + "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" + fi + + local c badcerts=0 + for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do + ewarn "Broken symlink for a certificate at $c" + badcerts=1 + done + if [ $badcerts -eq 1 ]; then + ewarn "You MUST remove the above broken symlinks" + ewarn "Otherwise any SSL validation that use the directory may fail!" + ewarn "To batch-remove them, run:" + ewarn "find -L ${EROOT}etc/ssl/certs/ -type l -exec rm {} +" + fi +} diff --git a/app-misc/ca-certificates/ca-certificates-20120623.ebuild b/app-misc/ca-certificates/ca-certificates-20120623.ebuild new file mode 100644 index 000000000000..9b55707ce50a --- /dev/null +++ b/app-misc/ca-certificates/ca-certificates-20120623.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +inherit eutils + +DESCRIPTION="Common CA Certificates PEM files" +HOMEPAGE="http://packages.debian.org/sid/ca-certificates" +#NMU_PR="1" +SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" +IUSE="" + +# platforms like AIX don't have a good ar +DEPEND="kernel_AIX? ( app-arch/deb2targz ) + !<sys-apps/portage-2.1.10.41" +# openssl: we run `c_rehash` +# debianutils: we run `run-parts` +RDEPEND="${DEPEND} + dev-libs/openssl + sys-apps/debianutils" + +S=${WORKDIR} + +pkg_setup() { + # For the conversion to having it in CONFIG_PROTECT_MASK, + # we need to tell users about it once manually first. + [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ + || ewarn "You should run update-ca-certificates manually after etc-update" +} + +src_unpack() { + if [[ -n ${EPREFIX} ]] ; then + # need to perform everything in the offset, #381937 + mkdir -p "./${EPREFIX}" + cd "./${EPREFIX}" || die + fi + unpack ${A} + unpack ./data.tar.gz + rm -f control.tar.gz data.tar.gz debian-binary +} + +src_prepare() { + cd "./${EPREFIX}" || die + epatch "${FILESDIR}"/${PN}-20110502-root.patch + local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g') + sed -i \ + -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ + -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \ + usr/sbin/update-ca-certificates || die +} + +src_compile() { + ( + echo "# Automatically generated by ${CATEGORY}/${PF}" + echo "# $(date -u)" + echo "# Do not edit." + cd "${S}${EPREFIX}"/usr/share/ca-certificates + find * -name '*.crt' | LC_ALL=C sort + ) > "${S}${EPREFIX}"/etc/ca-certificates.conf + + sh "${S}${EPREFIX}"/usr/sbin/update-ca-certificates --root "${S}" || die +} + +src_install() { + cp -pPR * "${D}"/ || die + + mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die + prepalldocs + + echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates + doenvd 98ca-certificates +} + +pkg_postinst() { + if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then + # if the user has local certs, we need to rebuild again + # to include their stuff in the db. + # However it's too overzealous when the user has custom certs in place. + # --fresh is to clean up dangling symlinks + "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" + fi + + local c badcerts=0 + for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do + ewarn "Broken symlink for a certificate at $c" + badcerts=1 + done + if [ $badcerts -eq 1 ]; then + ewarn "You MUST remove the above broken symlinks" + ewarn "Otherwise any SSL validation that use the directory may fail!" + ewarn "To batch-remove them, run:" + ewarn "find -L ${EROOT}etc/ssl/certs/ -type l -exec rm {} +" + fi +} diff --git a/app-misc/ca-certificates/ca-certificates-20121114.ebuild b/app-misc/ca-certificates/ca-certificates-20121114.ebuild new file mode 100644 index 000000000000..6c0e2c46f19a --- /dev/null +++ b/app-misc/ca-certificates/ca-certificates-20121114.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +inherit eutils + +DESCRIPTION="Common CA Certificates PEM files" +HOMEPAGE="http://packages.debian.org/sid/ca-certificates" +#NMU_PR="1" +SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" +IUSE="" + +# platforms like AIX don't have a good ar +DEPEND="kernel_AIX? ( app-arch/deb2targz ) + !<sys-apps/portage-2.1.10.41" +# openssl: we run `c_rehash` +# debianutils: we run `run-parts` +RDEPEND="${DEPEND} + dev-libs/openssl + sys-apps/debianutils" + +S=${WORKDIR} + +pkg_setup() { + # For the conversion to having it in CONFIG_PROTECT_MASK, + # we need to tell users about it once manually first. + [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ + || ewarn "You should run update-ca-certificates manually after etc-update" +} + +src_unpack() { + if [[ -n ${EPREFIX} ]] ; then + # need to perform everything in the offset, #381937 + mkdir -p "./${EPREFIX}" + cd "./${EPREFIX}" || die + fi + unpack ${A} + unpack ./data.tar.gz + rm -f control.tar.gz data.tar.gz debian-binary +} + +src_prepare() { + cd "./${EPREFIX}" || die + epatch "${FILESDIR}"/${PN}-20110502-root.patch + local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g') + sed -i \ + -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ + -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \ + usr/sbin/update-ca-certificates || die +} + +src_compile() { + ( + echo "# Automatically generated by ${CATEGORY}/${PF}" + echo "# $(date -u)" + echo "# Do not edit." + cd "${S}${EPREFIX}"/usr/share/ca-certificates + find * -name '*.crt' | LC_ALL=C sort + ) > "${S}${EPREFIX}"/etc/ca-certificates.conf + + sh "${S}${EPREFIX}"/usr/sbin/update-ca-certificates --root "${S}" || die +} + +src_install() { + cp -pPR * "${D}"/ || die + + mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die + prepalldocs + + echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates + doenvd 98ca-certificates +} + +pkg_postinst() { + if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then + # if the user has local certs, we need to rebuild again + # to include their stuff in the db. + # However it's too overzealous when the user has custom certs in place. + # --fresh is to clean up dangling symlinks + "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" + fi + + local c badcerts=0 + for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do + ewarn "Broken symlink for a certificate at $c" + badcerts=1 + done + if [ $badcerts -eq 1 ]; then + ewarn "You MUST remove the above broken symlinks" + ewarn "Otherwise any SSL validation that use the directory may fail!" + ewarn "To batch-remove them, run:" + ewarn "find -L ${EROOT}etc/ssl/certs/ -type l -exec rm {} +" + fi +} diff --git a/app-misc/ca-certificates/ca-certificates-20130119.ebuild b/app-misc/ca-certificates/ca-certificates-20130119.ebuild new file mode 100644 index 000000000000..8e6e4f18b3c7 --- /dev/null +++ b/app-misc/ca-certificates/ca-certificates-20130119.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +inherit eutils unpacker + +DESCRIPTION="Common CA Certificates PEM files" +HOMEPAGE="http://packages.debian.org/sid/ca-certificates" +#NMU_PR="1" +SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" +IUSE="" + +# platforms like AIX don't have a good ar +DEPEND="kernel_AIX? ( app-arch/deb2targz ) + !<sys-apps/portage-2.1.10.41" +# openssl: we run `c_rehash` +# debianutils: we run `run-parts` +RDEPEND="${DEPEND} + dev-libs/openssl + sys-apps/debianutils" + +S=${WORKDIR} + +pkg_setup() { + # For the conversion to having it in CONFIG_PROTECT_MASK, + # we need to tell users about it once manually first. + [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ + || ewarn "You should run update-ca-certificates manually after etc-update" +} + +src_unpack() { + if [[ -n ${EPREFIX} ]] ; then + # need to perform everything in the offset, #381937 + mkdir -p "./${EPREFIX}" + cd "./${EPREFIX}" || die + fi + unpack_deb ${A} +} + +src_prepare() { + cd "./${EPREFIX}" || die + epatch "${FILESDIR}"/${PN}-20110502-root.patch + local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g') + sed -i \ + -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ + -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \ + usr/sbin/update-ca-certificates || die +} + +src_compile() { + ( + echo "# Automatically generated by ${CATEGORY}/${PF}" + echo "# $(date -u)" + echo "# Do not edit." + cd "${S}${EPREFIX}"/usr/share/ca-certificates + find * -name '*.crt' | LC_ALL=C sort + ) > "${S}${EPREFIX}"/etc/ca-certificates.conf + + sh "${S}${EPREFIX}"/usr/sbin/update-ca-certificates --root "${S}" || die +} + +src_install() { + cp -pPR . "${D}"/ || die + + mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die + prepalldocs + + echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates + doenvd 98ca-certificates +} + +pkg_postinst() { + if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then + # if the user has local certs, we need to rebuild again + # to include their stuff in the db. + # However it's too overzealous when the user has custom certs in place. + # --fresh is to clean up dangling symlinks + "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" + fi + + local c badcerts=0 + for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do + ewarn "Broken symlink for a certificate at $c" + badcerts=1 + done + if [ $badcerts -eq 1 ]; then + ewarn "You MUST remove the above broken symlinks" + ewarn "Otherwise any SSL validation that use the directory may fail!" + ewarn "To batch-remove them, run:" + ewarn "find -L ${EROOT}etc/ssl/certs/ -type l -exec rm {} +" + fi +} diff --git a/app-misc/ca-certificates/ca-certificates-20130610.ebuild b/app-misc/ca-certificates/ca-certificates-20130610.ebuild new file mode 100644 index 000000000000..8142937e118e --- /dev/null +++ b/app-misc/ca-certificates/ca-certificates-20130610.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit eutils unpacker + +DESCRIPTION="Common CA Certificates PEM files" +HOMEPAGE="http://packages.debian.org/sid/ca-certificates" +#NMU_PR="1" +SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" +IUSE="" + +# platforms like AIX don't have a good ar +DEPEND="kernel_AIX? ( app-arch/deb2targz ) + !<sys-apps/portage-2.1.10.41" +# openssl: we run `c_rehash` +# debianutils: we run `run-parts` +RDEPEND="${DEPEND} + dev-libs/openssl + sys-apps/debianutils" + +S=${WORKDIR} + +pkg_setup() { + # For the conversion to having it in CONFIG_PROTECT_MASK, + # we need to tell users about it once manually first. + [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ + || ewarn "You should run update-ca-certificates manually after etc-update" +} + +src_unpack() { + if [[ -n ${EPREFIX} ]] ; then + # need to perform everything in the offset, #381937 + mkdir -p "./${EPREFIX}" + cd "./${EPREFIX}" || die + fi + unpack_deb ${A} +} + +src_prepare() { + cd "./${EPREFIX}" || die + epatch "${FILESDIR}"/${PN}-20110502-root.patch + local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g') + sed -i \ + -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ + -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \ + usr/sbin/update-ca-certificates || die +} + +src_compile() { + ( + echo "# Automatically generated by ${CATEGORY}/${PF}" + echo "# $(date -u)" + echo "# Do not edit." + cd "${S}${EPREFIX}"/usr/share/ca-certificates + find * -name '*.crt' | LC_ALL=C sort + ) > "${S}${EPREFIX}"/etc/ca-certificates.conf + + sh "${S}${EPREFIX}"/usr/sbin/update-ca-certificates --root "${S}" || die +} + +src_install() { + cp -pPR . "${D}"/ || die + + mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die + + echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates + doenvd 98ca-certificates +} + +pkg_postinst() { + if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then + # if the user has local certs, we need to rebuild again + # to include their stuff in the db. + # However it's too overzealous when the user has custom certs in place. + # --fresh is to clean up dangling symlinks + "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" + fi + + local c badcerts=0 + for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do + ewarn "Broken symlink for a certificate at $c" + badcerts=1 + done + if [ $badcerts -eq 1 ]; then + ewarn "You MUST remove the above broken symlinks" + ewarn "Otherwise any SSL validation that use the directory may fail!" + ewarn "To batch-remove them, run:" + ewarn "find -L ${EROOT}etc/ssl/certs/ -type l -exec rm {} +" + fi +} diff --git a/app-misc/ca-certificates/ca-certificates-20130906-r1.ebuild b/app-misc/ca-certificates/ca-certificates-20130906-r1.ebuild new file mode 100644 index 000000000000..1147230ac23c --- /dev/null +++ b/app-misc/ca-certificates/ca-certificates-20130906-r1.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit eutils unpacker + +DESCRIPTION="Common CA Certificates PEM files" +HOMEPAGE="http://packages.debian.org/sid/ca-certificates" +#NMU_PR="1" +SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" +IUSE="" + +# platforms like AIX don't have a good ar +DEPEND="kernel_AIX? ( app-arch/deb2targz ) + !<sys-apps/portage-2.1.10.41" +# openssl: we run `c_rehash` +# debianutils: we run `run-parts` +RDEPEND="${DEPEND} + dev-libs/openssl + sys-apps/debianutils" + +S=${WORKDIR} + +pkg_setup() { + # For the conversion to having it in CONFIG_PROTECT_MASK, + # we need to tell users about it once manually first. + [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ + || ewarn "You should run update-ca-certificates manually after etc-update" +} + +src_unpack() { + if [[ -n ${EPREFIX} ]] ; then + # need to perform everything in the offset, #381937 + mkdir -p "./${EPREFIX}" + cd "./${EPREFIX}" || die + fi + unpack_deb ${A} +} + +src_prepare() { + cd "./${EPREFIX}" || die + epatch "${FILESDIR}"/${PN}-20110502-root.patch + local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g') + sed -i \ + -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ + -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \ + usr/sbin/update-ca-certificates || die +} + +src_compile() { + ( + echo "# Automatically generated by ${CATEGORY}/${PF}" + echo "# $(date -u)" + echo "# Do not edit." + cd "${S}${EPREFIX}"/usr/share/ca-certificates + find * -name '*.crt' | LC_ALL=C sort + ) > "${S}${EPREFIX}"/etc/ca-certificates.conf + + sh "${S}${EPREFIX}"/usr/sbin/update-ca-certificates --root "${S}" || die +} + +src_install() { + cp -pPR . "${D}"/ || die + + mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die + + echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates + doenvd 98ca-certificates +} + +pkg_postinst() { + if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then + # if the user has local certs, we need to rebuild again + # to include their stuff in the db. + # However it's too overzealous when the user has custom certs in place. + # --fresh is to clean up dangling symlinks + "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" + fi + + local c badcerts=0 + for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do + ewarn "Broken symlink for a certificate at $c" + badcerts=1 + done + if [ $badcerts -eq 1 ]; then + ewarn "Removing the following broken symlinks:" + ewarn "$(find -L "${EROOT}"/etc/ssl/certs/ -type l -printf '%p -> %l\n' -delete)" + fi +} diff --git a/app-misc/ca-certificates/ca-certificates-20140223-r1.ebuild b/app-misc/ca-certificates/ca-certificates-20140223-r1.ebuild new file mode 100644 index 000000000000..586020504363 --- /dev/null +++ b/app-misc/ca-certificates/ca-certificates-20140223-r1.ebuild @@ -0,0 +1,178 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# The Debian ca-certificates package merely takes the CA database as it exists +# in the nss package and repackages it for use by openssl. +# +# The issue with using the compiled debs directly is two fold: +# - they do not update frequently enough for us to rely on them +# - they pull the CA database from nss tip of tree rather than the release +# +# So we take the Debian source tools and combine them with the latest nss +# release to produce (largely) the same end result. The difference is that +# now we know our cert database is kept in sync with nss and, if need be, +# can be sync with nss tip of tree more frequently to respond to bugs. + +# When triaging bugs from users, here's some handy tips: +# - To see what cert is hitting errors, use openssl: +# openssl s_client -port 443 -CApath /etc/ssl/certs/ -host $HOSTNAME +# Focus on the errors written to stderr. +# +# - Look at the upstream log as to why certs were added/removed: +# https://hg.mozilla.org/projects/nss/log/tip/lib/ckfw/builtins/certdata.txt +# +# - If people want to add/remove certs, tell them to file w/mozilla: +# https://bugzilla.mozilla.org/enter_bug.cgi?product=NSS&component=CA%20Certificates&version=trunk + +EAPI="4" + +inherit eutils + +if [[ ${PV} == *.* ]] ; then + # Compile from source ourselves. + PRECOMPILED=false + inherit versionator + + DEB_VER=$(get_version_component_range 1) + NSS_VER=$(get_version_component_range 2-) + RTM_NAME="NSS_${NSS_VER//./_}_RTM" +else + # Debian precompiled version. + PRECOMPILED=true + inherit unpacker +fi + +DESCRIPTION="Common CA Certificates PEM files" +HOMEPAGE="http://packages.debian.org/sid/ca-certificates" +if ${PRECOMPILED} ; then + #NMU_PR="1" + SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb" +else + SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${DEB_VER}${NMU_PR:++nmu}${NMU_PR}.tar.xz + ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/${RTM_NAME}/src/nss-${NSS_VER}.tar.gz + cacert? ( http://dev.gentoo.org/~anarchy/patches/nss-3.14.1-add_spi+cacerts_ca_certs.patch )" +fi + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" +IUSE="" +${PRECOMPILED} || IUSE+=" +cacert" + +DEPEND="" +if ${PRECOMPILED} ; then + # platforms like AIX don't have a good ar + DEPEND+=" + kernel_AIX? ( app-arch/deb2targz ) + !<sys-apps/portage-2.1.10.41" +fi +# openssl: we run `c_rehash` +# debianutils: we run `run-parts` +RDEPEND="${DEPEND} + dev-libs/openssl + sys-apps/debianutils" + +S=${WORKDIR} + +pkg_setup() { + # For the conversion to having it in CONFIG_PROTECT_MASK, + # we need to tell users about it once manually first. + [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ + || ewarn "You should run update-ca-certificates manually after etc-update" +} + +src_unpack() { + ${PRECOMPILED} || default + + # Do all the work in the image subdir to avoid conflicting with source + # dirs in $WORKDIR. Need to perform everything in the offset #381937 + mkdir -p "image/${EPREFIX}" + cd "image/${EPREFIX}" || die + + ${PRECOMPILED} && unpacker_src_unpack +} + +src_prepare() { + cd "image/${EPREFIX}" || die + if ! ${PRECOMPILED} ; then + mkdir -p usr/sbin + cp -p "${S}"/${PN}/sbin/update-ca-certificates usr/sbin/ || die + + if use cacert ; then + pushd "${S}"/nss-${NSS_VER} >/dev/null + epatch "${DISTDIR}"/nss-3.14.1-add_spi+cacerts_ca_certs.patch + popd >/dev/null + fi + fi + + epatch "${FILESDIR}"/${PN}-20110502-root.patch + local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g') + sed -i \ + -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ + -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \ + usr/sbin/update-ca-certificates || die +} + +src_compile() { + cd "image/${EPREFIX}" || die + if ! ${PRECOMPILED} ; then + local d="${S}/${PN}/mozilla" + # Grab the database from the nss sources. + cp "${S}"/nss-${NSS_VER}/nss/lib/ckfw/builtins/{certdata.txt,nssckbi.h} "${d}" || die + emake -C "${d}" + + # Now move the files to the same places that the precompiled would. + mkdir -p etc/ssl/certs etc/ca-certificates/update.d usr/share/ca-certificates/mozilla + if use cacert ; then + mkdir -p usr/share/ca-certificates/{cacert.org,spi-inc.org} + mv "${d}"/CAcert_Inc..crt usr/share/ca-certificates/cacert.org/cacert.org_root.crt || die + mv "${d}"/SPI_Inc..crt usr/share/ca-certificates/spi-inc.org/spi-cacert-2008.crt || die + fi + mv "${d}"/*.crt usr/share/ca-certificates/mozilla/ || die + else + mv usr/share/doc/{ca-certificates,${PF}} || die + fi + + ( + echo "# Automatically generated by ${CATEGORY}/${PF}" + echo "# $(date -u)" + echo "# Do not edit." + cd usr/share/ca-certificates + find * -name '*.crt' | LC_ALL=C sort + ) > etc/ca-certificates.conf + + sh usr/sbin/update-ca-certificates --root "${S}/image" || die +} + +src_install() { + cp -pPR image/* "${D}"/ || die + if ! ${PRECOMPILED} ; then + cd ca-certificates + doman sbin/*.8 + dodoc debian/README.* examples/ca-certificates-local/README + fi + + echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates + doenvd 98ca-certificates +} + +pkg_postinst() { + if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then + # if the user has local certs, we need to rebuild again + # to include their stuff in the db. + # However it's too overzealous when the user has custom certs in place. + # --fresh is to clean up dangling symlinks + "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" + fi + + local c badcerts=0 + for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do + ewarn "Broken symlink for a certificate at $c" + badcerts=1 + done + if [ $badcerts -eq 1 ]; then + ewarn "Removing the following broken symlinks:" + ewarn "$(find -L "${EROOT}"/etc/ssl/certs/ -type l -printf '%p -> %l\n' -delete)" + fi +} diff --git a/app-misc/ca-certificates/ca-certificates-20140223.3.15.5-r1.ebuild b/app-misc/ca-certificates/ca-certificates-20140223.3.15.5-r1.ebuild new file mode 100644 index 000000000000..c76cfef8083d --- /dev/null +++ b/app-misc/ca-certificates/ca-certificates-20140223.3.15.5-r1.ebuild @@ -0,0 +1,184 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# The Debian ca-certificates package merely takes the CA database as it exists +# in the nss package and repackages it for use by openssl. +# +# The issue with using the compiled debs directly is two fold: +# - they do not update frequently enough for us to rely on them +# - they pull the CA database from nss tip of tree rather than the release +# +# So we take the Debian source tools and combine them with the latest nss +# release to produce (largely) the same end result. The difference is that +# now we know our cert database is kept in sync with nss and, if need be, +# can be sync with nss tip of tree more frequently to respond to bugs. + +# When triaging bugs from users, here's some handy tips: +# - To see what cert is hitting errors, use openssl: +# openssl s_client -port 443 -CApath /etc/ssl/certs/ -host $HOSTNAME +# Focus on the errors written to stderr. +# +# - Look at the upstream log as to why certs were added/removed: +# https://hg.mozilla.org/projects/nss/log/tip/lib/ckfw/builtins/certdata.txt +# +# - If people want to add/remove certs, tell them to file w/mozilla: +# https://bugzilla.mozilla.org/enter_bug.cgi?product=NSS&component=CA%20Certificates&version=trunk + +EAPI="4" +PYTHON_COMPAT=( python2_7 ) + +inherit eutils python-any-r1 + +if [[ ${PV} == *.* ]] ; then + # Compile from source ourselves. + PRECOMPILED=false + inherit versionator + + DEB_VER=$(get_version_component_range 1) + NSS_VER=$(get_version_component_range 2-) + RTM_NAME="NSS_${NSS_VER//./_}_RTM" +else + # Debian precompiled version. + PRECOMPILED=true + inherit unpacker +fi + +DESCRIPTION="Common CA Certificates PEM files" +HOMEPAGE="http://packages.debian.org/sid/ca-certificates" +if ${PRECOMPILED} ; then + #NMU_PR="1" + SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb" +else + SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${DEB_VER}${NMU_PR:++nmu}${NMU_PR}.tar.xz + ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/${RTM_NAME}/src/nss-${NSS_VER}.tar.gz + cacert? ( http://dev.gentoo.org/~anarchy/patches/nss-3.14.1-add_spi+cacerts_ca_certs.patch )" +fi + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" +IUSE="" +${PRECOMPILED} || IUSE+=" +cacert" + +DEPEND="" +if ${PRECOMPILED} ; then + # platforms like AIX don't have a good ar + DEPEND+=" + kernel_AIX? ( app-arch/deb2targz ) + !<sys-apps/portage-2.1.10.41" +fi +# openssl: we run `c_rehash` +# debianutils: we run `run-parts` +RDEPEND="${DEPEND} + dev-libs/openssl + sys-apps/debianutils" + +if ! ${PRECOMPILED}; then + DEPEND+=" ${PYTHON_DEPS}" +fi + +S=${WORKDIR} + +pkg_setup() { + # For the conversion to having it in CONFIG_PROTECT_MASK, + # we need to tell users about it once manually first. + [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ + || ewarn "You should run update-ca-certificates manually after etc-update" +} + +src_unpack() { + ${PRECOMPILED} || default + + # Do all the work in the image subdir to avoid conflicting with source + # dirs in $WORKDIR. Need to perform everything in the offset #381937 + mkdir -p "image/${EPREFIX}" + cd "image/${EPREFIX}" || die + + ${PRECOMPILED} && unpacker_src_unpack +} + +src_prepare() { + cd "image/${EPREFIX}" || die + if ! ${PRECOMPILED} ; then + mkdir -p usr/sbin + cp -p "${S}"/${PN}/sbin/update-ca-certificates usr/sbin/ || die + + if use cacert ; then + pushd "${S}"/nss-${NSS_VER} >/dev/null + epatch "${DISTDIR}"/nss-3.14.1-add_spi+cacerts_ca_certs.patch + popd >/dev/null + fi + fi + + epatch "${FILESDIR}"/${PN}-20110502-root.patch + local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g') + sed -i \ + -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ + -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \ + usr/sbin/update-ca-certificates || die +} + +src_compile() { + cd "image/${EPREFIX}" || die + if ! ${PRECOMPILED} ; then + python_setup + local d="${S}/${PN}/mozilla" + # Grab the database from the nss sources. + cp "${S}"/nss-${NSS_VER}/nss/lib/ckfw/builtins/{certdata.txt,nssckbi.h} "${d}" || die + emake -C "${d}" + + # Now move the files to the same places that the precompiled would. + mkdir -p etc/ssl/certs etc/ca-certificates/update.d usr/share/ca-certificates/mozilla + if use cacert ; then + mkdir -p usr/share/ca-certificates/{cacert.org,spi-inc.org} + mv "${d}"/CAcert_Inc..crt usr/share/ca-certificates/cacert.org/cacert.org_root.crt || die + mv "${d}"/SPI_Inc..crt usr/share/ca-certificates/spi-inc.org/spi-cacert-2008.crt || die + fi + mv "${d}"/*.crt usr/share/ca-certificates/mozilla/ || die + else + mv usr/share/doc/{ca-certificates,${PF}} || die + fi + + ( + echo "# Automatically generated by ${CATEGORY}/${PF}" + echo "# $(date -u)" + echo "# Do not edit." + cd usr/share/ca-certificates + find * -name '*.crt' | LC_ALL=C sort + ) > etc/ca-certificates.conf + + sh usr/sbin/update-ca-certificates --root "${S}/image" || die +} + +src_install() { + cp -pPR image/* "${D}"/ || die + if ! ${PRECOMPILED} ; then + cd ca-certificates + doman sbin/*.8 + dodoc debian/README.* examples/ca-certificates-local/README + fi + + echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates + doenvd 98ca-certificates +} + +pkg_postinst() { + if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then + # if the user has local certs, we need to rebuild again + # to include their stuff in the db. + # However it's too overzealous when the user has custom certs in place. + # --fresh is to clean up dangling symlinks + "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" + fi + + local c badcerts=0 + for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do + ewarn "Broken symlink for a certificate at $c" + badcerts=1 + done + if [ $badcerts -eq 1 ]; then + ewarn "Removing the following broken symlinks:" + ewarn "$(find -L "${EROOT}"/etc/ssl/certs/ -type l -printf '%p -> %l\n' -delete)" + fi +} diff --git a/app-misc/ca-certificates/ca-certificates-20140223.3.16-r1.ebuild b/app-misc/ca-certificates/ca-certificates-20140223.3.16-r1.ebuild new file mode 100644 index 000000000000..c76cfef8083d --- /dev/null +++ b/app-misc/ca-certificates/ca-certificates-20140223.3.16-r1.ebuild @@ -0,0 +1,184 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# The Debian ca-certificates package merely takes the CA database as it exists +# in the nss package and repackages it for use by openssl. +# +# The issue with using the compiled debs directly is two fold: +# - they do not update frequently enough for us to rely on them +# - they pull the CA database from nss tip of tree rather than the release +# +# So we take the Debian source tools and combine them with the latest nss +# release to produce (largely) the same end result. The difference is that +# now we know our cert database is kept in sync with nss and, if need be, +# can be sync with nss tip of tree more frequently to respond to bugs. + +# When triaging bugs from users, here's some handy tips: +# - To see what cert is hitting errors, use openssl: +# openssl s_client -port 443 -CApath /etc/ssl/certs/ -host $HOSTNAME +# Focus on the errors written to stderr. +# +# - Look at the upstream log as to why certs were added/removed: +# https://hg.mozilla.org/projects/nss/log/tip/lib/ckfw/builtins/certdata.txt +# +# - If people want to add/remove certs, tell them to file w/mozilla: +# https://bugzilla.mozilla.org/enter_bug.cgi?product=NSS&component=CA%20Certificates&version=trunk + +EAPI="4" +PYTHON_COMPAT=( python2_7 ) + +inherit eutils python-any-r1 + +if [[ ${PV} == *.* ]] ; then + # Compile from source ourselves. + PRECOMPILED=false + inherit versionator + + DEB_VER=$(get_version_component_range 1) + NSS_VER=$(get_version_component_range 2-) + RTM_NAME="NSS_${NSS_VER//./_}_RTM" +else + # Debian precompiled version. + PRECOMPILED=true + inherit unpacker +fi + +DESCRIPTION="Common CA Certificates PEM files" +HOMEPAGE="http://packages.debian.org/sid/ca-certificates" +if ${PRECOMPILED} ; then + #NMU_PR="1" + SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb" +else + SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${DEB_VER}${NMU_PR:++nmu}${NMU_PR}.tar.xz + ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/${RTM_NAME}/src/nss-${NSS_VER}.tar.gz + cacert? ( http://dev.gentoo.org/~anarchy/patches/nss-3.14.1-add_spi+cacerts_ca_certs.patch )" +fi + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" +IUSE="" +${PRECOMPILED} || IUSE+=" +cacert" + +DEPEND="" +if ${PRECOMPILED} ; then + # platforms like AIX don't have a good ar + DEPEND+=" + kernel_AIX? ( app-arch/deb2targz ) + !<sys-apps/portage-2.1.10.41" +fi +# openssl: we run `c_rehash` +# debianutils: we run `run-parts` +RDEPEND="${DEPEND} + dev-libs/openssl + sys-apps/debianutils" + +if ! ${PRECOMPILED}; then + DEPEND+=" ${PYTHON_DEPS}" +fi + +S=${WORKDIR} + +pkg_setup() { + # For the conversion to having it in CONFIG_PROTECT_MASK, + # we need to tell users about it once manually first. + [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ + || ewarn "You should run update-ca-certificates manually after etc-update" +} + +src_unpack() { + ${PRECOMPILED} || default + + # Do all the work in the image subdir to avoid conflicting with source + # dirs in $WORKDIR. Need to perform everything in the offset #381937 + mkdir -p "image/${EPREFIX}" + cd "image/${EPREFIX}" || die + + ${PRECOMPILED} && unpacker_src_unpack +} + +src_prepare() { + cd "image/${EPREFIX}" || die + if ! ${PRECOMPILED} ; then + mkdir -p usr/sbin + cp -p "${S}"/${PN}/sbin/update-ca-certificates usr/sbin/ || die + + if use cacert ; then + pushd "${S}"/nss-${NSS_VER} >/dev/null + epatch "${DISTDIR}"/nss-3.14.1-add_spi+cacerts_ca_certs.patch + popd >/dev/null + fi + fi + + epatch "${FILESDIR}"/${PN}-20110502-root.patch + local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g') + sed -i \ + -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ + -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \ + usr/sbin/update-ca-certificates || die +} + +src_compile() { + cd "image/${EPREFIX}" || die + if ! ${PRECOMPILED} ; then + python_setup + local d="${S}/${PN}/mozilla" + # Grab the database from the nss sources. + cp "${S}"/nss-${NSS_VER}/nss/lib/ckfw/builtins/{certdata.txt,nssckbi.h} "${d}" || die + emake -C "${d}" + + # Now move the files to the same places that the precompiled would. + mkdir -p etc/ssl/certs etc/ca-certificates/update.d usr/share/ca-certificates/mozilla + if use cacert ; then + mkdir -p usr/share/ca-certificates/{cacert.org,spi-inc.org} + mv "${d}"/CAcert_Inc..crt usr/share/ca-certificates/cacert.org/cacert.org_root.crt || die + mv "${d}"/SPI_Inc..crt usr/share/ca-certificates/spi-inc.org/spi-cacert-2008.crt || die + fi + mv "${d}"/*.crt usr/share/ca-certificates/mozilla/ || die + else + mv usr/share/doc/{ca-certificates,${PF}} || die + fi + + ( + echo "# Automatically generated by ${CATEGORY}/${PF}" + echo "# $(date -u)" + echo "# Do not edit." + cd usr/share/ca-certificates + find * -name '*.crt' | LC_ALL=C sort + ) > etc/ca-certificates.conf + + sh usr/sbin/update-ca-certificates --root "${S}/image" || die +} + +src_install() { + cp -pPR image/* "${D}"/ || die + if ! ${PRECOMPILED} ; then + cd ca-certificates + doman sbin/*.8 + dodoc debian/README.* examples/ca-certificates-local/README + fi + + echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates + doenvd 98ca-certificates +} + +pkg_postinst() { + if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then + # if the user has local certs, we need to rebuild again + # to include their stuff in the db. + # However it's too overzealous when the user has custom certs in place. + # --fresh is to clean up dangling symlinks + "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" + fi + + local c badcerts=0 + for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do + ewarn "Broken symlink for a certificate at $c" + badcerts=1 + done + if [ $badcerts -eq 1 ]; then + ewarn "Removing the following broken symlinks:" + ewarn "$(find -L "${EROOT}"/etc/ssl/certs/ -type l -printf '%p -> %l\n' -delete)" + fi +} diff --git a/app-misc/ca-certificates/ca-certificates-20140325.3.16.3.ebuild b/app-misc/ca-certificates/ca-certificates-20140325.3.16.3.ebuild new file mode 100644 index 000000000000..34568af1490e --- /dev/null +++ b/app-misc/ca-certificates/ca-certificates-20140325.3.16.3.ebuild @@ -0,0 +1,184 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# The Debian ca-certificates package merely takes the CA database as it exists +# in the nss package and repackages it for use by openssl. +# +# The issue with using the compiled debs directly is two fold: +# - they do not update frequently enough for us to rely on them +# - they pull the CA database from nss tip of tree rather than the release +# +# So we take the Debian source tools and combine them with the latest nss +# release to produce (largely) the same end result. The difference is that +# now we know our cert database is kept in sync with nss and, if need be, +# can be sync with nss tip of tree more frequently to respond to bugs. + +# When triaging bugs from users, here's some handy tips: +# - To see what cert is hitting errors, use openssl: +# openssl s_client -port 443 -CApath /etc/ssl/certs/ -host $HOSTNAME +# Focus on the errors written to stderr. +# +# - Look at the upstream log as to why certs were added/removed: +# https://hg.mozilla.org/projects/nss/log/tip/lib/ckfw/builtins/certdata.txt +# +# - If people want to add/remove certs, tell them to file w/mozilla: +# https://bugzilla.mozilla.org/enter_bug.cgi?product=NSS&component=CA%20Certificates&version=trunk + +EAPI="4" +PYTHON_COMPAT=( python2_7 ) + +inherit eutils python-any-r1 + +if [[ ${PV} == *.* ]] ; then + # Compile from source ourselves. + PRECOMPILED=false + inherit versionator + + DEB_VER=$(get_version_component_range 1) + NSS_VER=$(get_version_component_range 2-) + RTM_NAME="NSS_${NSS_VER//./_}_RTM" +else + # Debian precompiled version. + PRECOMPILED=true + inherit unpacker +fi + +DESCRIPTION="Common CA Certificates PEM files" +HOMEPAGE="http://packages.debian.org/sid/ca-certificates" +NMU_PR="" +if ${PRECOMPILED} ; then + SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb" +else + SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${DEB_VER}${NMU_PR:++nmu}${NMU_PR}.tar.xz + ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/${RTM_NAME}/src/nss-${NSS_VER}.tar.gz + cacert? ( http://dev.gentoo.org/~anarchy/patches/nss-3.14.1-add_spi+cacerts_ca_certs.patch )" +fi + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" +IUSE="" +${PRECOMPILED} || IUSE+=" +cacert" + +DEPEND="" +if ${PRECOMPILED} ; then + # platforms like AIX don't have a good ar + DEPEND+=" + kernel_AIX? ( app-arch/deb2targz ) + !<sys-apps/portage-2.1.10.41" +fi +# openssl: we run `c_rehash` +# debianutils: we run `run-parts` +RDEPEND="${DEPEND} + dev-libs/openssl + sys-apps/debianutils" + +if ! ${PRECOMPILED}; then + DEPEND+=" ${PYTHON_DEPS}" +fi + +S=${WORKDIR} + +pkg_setup() { + # For the conversion to having it in CONFIG_PROTECT_MASK, + # we need to tell users about it once manually first. + [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ + || ewarn "You should run update-ca-certificates manually after etc-update" +} + +src_unpack() { + ${PRECOMPILED} || default + + # Do all the work in the image subdir to avoid conflicting with source + # dirs in $WORKDIR. Need to perform everything in the offset #381937 + mkdir -p "image/${EPREFIX}" + cd "image/${EPREFIX}" || die + + ${PRECOMPILED} && unpacker_src_unpack +} + +src_prepare() { + cd "image/${EPREFIX}" || die + if ! ${PRECOMPILED} ; then + mkdir -p usr/sbin + cp -p "${S}"/${PN}/sbin/update-ca-certificates usr/sbin/ || die + + if use cacert ; then + pushd "${S}"/nss-${NSS_VER} >/dev/null + epatch "${DISTDIR}"/nss-3.14.1-add_spi+cacerts_ca_certs.patch + popd >/dev/null + fi + fi + + epatch "${FILESDIR}"/${PN}-20110502-root.patch + local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g') + sed -i \ + -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ + -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \ + usr/sbin/update-ca-certificates || die +} + +src_compile() { + cd "image/${EPREFIX}" || die + if ! ${PRECOMPILED} ; then + python_setup + local d="${S}/${PN}/mozilla" + # Grab the database from the nss sources. + cp "${S}"/nss-${NSS_VER}/nss/lib/ckfw/builtins/{certdata.txt,nssckbi.h} "${d}" || die + emake -C "${d}" + + # Now move the files to the same places that the precompiled would. + mkdir -p etc/ssl/certs etc/ca-certificates/update.d usr/share/ca-certificates/mozilla + if use cacert ; then + mkdir -p usr/share/ca-certificates/{cacert.org,spi-inc.org} + mv "${d}"/CAcert_Inc..crt usr/share/ca-certificates/cacert.org/cacert.org_root.crt || die + mv "${d}"/SPI_Inc..crt usr/share/ca-certificates/spi-inc.org/spi-cacert-2008.crt || die + fi + mv "${d}"/*.crt usr/share/ca-certificates/mozilla/ || die + else + mv usr/share/doc/{ca-certificates,${PF}} || die + fi + + ( + echo "# Automatically generated by ${CATEGORY}/${PF}" + echo "# $(date -u)" + echo "# Do not edit." + cd usr/share/ca-certificates + find * -name '*.crt' | LC_ALL=C sort + ) > etc/ca-certificates.conf + + sh usr/sbin/update-ca-certificates --root "${S}/image" || die +} + +src_install() { + cp -pPR image/* "${D}"/ || die + if ! ${PRECOMPILED} ; then + cd ca-certificates + doman sbin/*.8 + dodoc debian/README.* examples/ca-certificates-local/README + fi + + echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates + doenvd 98ca-certificates +} + +pkg_postinst() { + if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then + # if the user has local certs, we need to rebuild again + # to include their stuff in the db. + # However it's too overzealous when the user has custom certs in place. + # --fresh is to clean up dangling symlinks + "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" + fi + + local c badcerts=0 + for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do + ewarn "Broken symlink for a certificate at $c" + badcerts=1 + done + if [ $badcerts -eq 1 ]; then + ewarn "Removing the following broken symlinks:" + ewarn "$(find -L "${EROOT}"/etc/ssl/certs/ -type l -printf '%p -> %l\n' -delete)" + fi +} diff --git a/app-misc/ca-certificates/ca-certificates-20140927.3.17.2.ebuild b/app-misc/ca-certificates/ca-certificates-20140927.3.17.2.ebuild new file mode 100644 index 000000000000..98847059e374 --- /dev/null +++ b/app-misc/ca-certificates/ca-certificates-20140927.3.17.2.ebuild @@ -0,0 +1,186 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# The Debian ca-certificates package merely takes the CA database as it exists +# in the nss package and repackages it for use by openssl. +# +# The issue with using the compiled debs directly is two fold: +# - they do not update frequently enough for us to rely on them +# - they pull the CA database from nss tip of tree rather than the release +# +# So we take the Debian source tools and combine them with the latest nss +# release to produce (largely) the same end result. The difference is that +# now we know our cert database is kept in sync with nss and, if need be, +# can be sync with nss tip of tree more frequently to respond to bugs. + +# When triaging bugs from users, here's some handy tips: +# - To see what cert is hitting errors, use openssl: +# openssl s_client -port 443 -CApath /etc/ssl/certs/ -host $HOSTNAME +# Focus on the errors written to stderr. +# +# - Look at the upstream log as to why certs were added/removed: +# https://hg.mozilla.org/projects/nss/log/tip/lib/ckfw/builtins/certdata.txt +# +# - If people want to add/remove certs, tell them to file w/mozilla: +# https://bugzilla.mozilla.org/enter_bug.cgi?product=NSS&component=CA%20Certificates&version=trunk + +EAPI="4" +PYTHON_COMPAT=( python2_7 ) + +inherit eutils python-any-r1 + +if [[ ${PV} == *.* ]] ; then + # Compile from source ourselves. + PRECOMPILED=false + inherit versionator + + DEB_VER=$(get_version_component_range 1) + NSS_VER=$(get_version_component_range 2-) + RTM_NAME="NSS_${NSS_VER//./_}_RTM" +else + # Debian precompiled version. + PRECOMPILED=true + inherit unpacker +fi + +DESCRIPTION="Common CA Certificates PEM files" +HOMEPAGE="http://packages.debian.org/sid/ca-certificates" +NMU_PR="" +if ${PRECOMPILED} ; then + SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb" +else + SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${DEB_VER}${NMU_PR:++nmu}${NMU_PR}.tar.xz + ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/${RTM_NAME}/src/nss-${NSS_VER}.tar.gz + cacert? ( http://dev.gentoo.org/~anarchy/patches/nss-3.14.1-add_spi+cacerts_ca_certs.patch )" +fi + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" +IUSE="" +${PRECOMPILED} || IUSE+=" +cacert" + +DEPEND="" +if ${PRECOMPILED} ; then + # platforms like AIX don't have a good ar + DEPEND+=" + kernel_AIX? ( app-arch/deb2targz ) + !<sys-apps/portage-2.1.10.41" +fi +# openssl: we run `c_rehash` +# debianutils: we run `run-parts` +RDEPEND="${DEPEND} + dev-libs/openssl + sys-apps/debianutils" + +if ! ${PRECOMPILED}; then + DEPEND+=" ${PYTHON_DEPS}" +fi + +S=${WORKDIR} + +pkg_setup() { + # For the conversion to having it in CONFIG_PROTECT_MASK, + # we need to tell users about it once manually first. + [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \ + || ewarn "You should run update-ca-certificates manually after etc-update" +} + +src_unpack() { + ${PRECOMPILED} || default + + mv ${PN}-*/ ${PN} || die + + # Do all the work in the image subdir to avoid conflicting with source + # dirs in $WORKDIR. Need to perform everything in the offset #381937 + mkdir -p "image/${EPREFIX}" + cd "image/${EPREFIX}" || die + + ${PRECOMPILED} && unpacker_src_unpack +} + +src_prepare() { + cd "image/${EPREFIX}" || die + if ! ${PRECOMPILED} ; then + mkdir -p usr/sbin + cp -p "${S}"/${PN}/sbin/update-ca-certificates usr/sbin/ || die + + if use cacert ; then + pushd "${S}"/nss-${NSS_VER} >/dev/null + epatch "${DISTDIR}"/nss-3.14.1-add_spi+cacerts_ca_certs.patch + popd >/dev/null + fi + fi + + epatch "${FILESDIR}"/${PN}-20110502-root.patch + local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g') + sed -i \ + -e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \ + -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \ + usr/sbin/update-ca-certificates || die +} + +src_compile() { + cd "image/${EPREFIX}" || die + if ! ${PRECOMPILED} ; then + python_setup + local d="${S}/${PN}/mozilla" + # Grab the database from the nss sources. + cp "${S}"/nss-${NSS_VER}/nss/lib/ckfw/builtins/{certdata.txt,nssckbi.h} "${d}" || die + emake -C "${d}" + + # Now move the files to the same places that the precompiled would. + mkdir -p etc/ssl/certs etc/ca-certificates/update.d usr/share/ca-certificates/mozilla + if use cacert ; then + mkdir -p usr/share/ca-certificates/{cacert.org,spi-inc.org} + mv "${d}"/CAcert_Inc..crt usr/share/ca-certificates/cacert.org/cacert.org_root.crt || die + mv "${d}"/SPI_Inc..crt usr/share/ca-certificates/spi-inc.org/spi-cacert-2008.crt || die + fi + mv "${d}"/*.crt usr/share/ca-certificates/mozilla/ || die + else + mv usr/share/doc/{ca-certificates,${PF}} || die + fi + + ( + echo "# Automatically generated by ${CATEGORY}/${PF}" + echo "# $(date -u)" + echo "# Do not edit." + cd usr/share/ca-certificates + find * -name '*.crt' | LC_ALL=C sort + ) > etc/ca-certificates.conf + + sh usr/sbin/update-ca-certificates --root "${S}/image" || die +} + +src_install() { + cp -pPR image/* "${D}"/ || die + if ! ${PRECOMPILED} ; then + cd ca-certificates + doman sbin/*.8 + dodoc debian/README.* examples/ca-certificates-local/README + fi + + echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates + doenvd 98ca-certificates +} + +pkg_postinst() { + if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then + # if the user has local certs, we need to rebuild again + # to include their stuff in the db. + # However it's too overzealous when the user has custom certs in place. + # --fresh is to clean up dangling symlinks + "${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}" + fi + + local c badcerts=0 + for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do + ewarn "Broken symlink for a certificate at $c" + badcerts=1 + done + if [ $badcerts -eq 1 ]; then + ewarn "Removing the following broken symlinks:" + ewarn "$(find -L "${EROOT}"/etc/ssl/certs/ -type l -printf '%p -> %l\n' -delete)" + fi +} diff --git a/app-misc/ca-certificates/ca-certificates-20141019.3.17.4.ebuild b/app-misc/ca-certificates/ca-certificates-20141019.3.17.4.ebuild new file mode 100644 index 000000000000..d11df9859787 --- /dev/null +++ b/app-misc/ca-certificates/ca-certificates-20141019.3.17.4.ebuild @@ -0,0 +1,186 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# The Debian ca-certificates package merely takes the CA database as it exists +# in the nss package and repackages it for use by openssl. +# +# The issue with using the compiled debs directly is two fold: +# - they do not update frequently enough for us to rely on them +# - they pull the CA database from nss tip of tree rather than the release +# +# So we take the Debian source tools and combine them with the latest nss +# release to produce (largely) the same end result. The difference is that +# now we know our cert database is kept in sync with nss and, if need be, +# can be sync with nss tip of tree more frequently to respond to bugs. + +# When triaging bugs from users, here's some handy tips: +# - To see what cert is hitting errors, use openssl: +# openssl s_client -port 443 -CApath /etc/ssl/certs/ -host $HOSTNAME +# Focus on the errors written to stderr. +# +# - Look at the upstream log as to why certs were added/removed: +# https://hg.mozilla.org/projects/nss/log/tip/lib/ckfw/builtins/certdata.txt +# +# - If people want to add/remove certs, tell them to file w/mozilla: +# https://bugzilla.mozilla.org/enter_bug.cgi?product=NSS&component=CA%20Certificates&version=trunk + +EAPI="4" +PYTHON_COMPAT=( python2_7 ) + +inherit eutils python-any-r1 + +if [[ ${PV} == *.* ]] ; then + # Compile from source ourselves. + PRECOMPILED=false + inherit versionator + + DEB_VER=$(get_version_component_range 1) + NSS_VER=$(get_version_component_range 2-) + RTM_NAME="NSS_${NSS_VER//./_}_RTM" +else + # Debian precompiled version. + PRECOMPILED=true + inherit unpacker +fi + +DESCRIPTION="Common CA Certificates PEM files" +HOMEPAGE="http://packages.debian.org/sid/ca-certificates" +NMU_PR="" +if ${PRECOMPILED} ; then + SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb" +else + SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${DEB_VER}${NMU_PR:++nmu}${NMU_PR}.tar.xz + ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/${RTM_NAME}/src/nss-${NSS_VER}.tar.gz + cacert? ( http://dev.gentoo.org/~anarchy/patches/nss-3.14.1-add_spi+cacerts_ca_certs.patch )" +fi + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 |