diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-irc/epic4 |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-irc/epic4')
-rw-r--r-- | net-irc/epic4/Manifest | 10 | ||||
-rw-r--r-- | net-irc/epic4/epic4-2.10.1.ebuild | 96 | ||||
-rw-r--r-- | net-irc/epic4/files/epic-defaultserver.patch | 12 | ||||
-rw-r--r-- | net-irc/epic4/files/epic4-2.10.1-make-recursion.patch | 10 | ||||
-rw-r--r-- | net-irc/epic4/files/epic4-2.10.1-perl.patch | 54 | ||||
-rw-r--r-- | net-irc/epic4/metadata.xml | 5 |
6 files changed, 187 insertions, 0 deletions
diff --git a/net-irc/epic4/Manifest b/net-irc/epic4/Manifest new file mode 100644 index 000000000000..02cbb8d67b51 --- /dev/null +++ b/net-irc/epic4/Manifest @@ -0,0 +1,10 @@ +AUX epic-defaultserver.patch 620 SHA256 54d016eb90d1b1aab13d399398ba69450876941f947f53e9b9341d32e24403ea SHA512 5f939cac74194e0e92e7ce48fe668244201ae24590be9e8c71bf6fe74adbbd7cdfad6b43b3ccd755cbf22c4362467e72d7a0e7877c0b0f04340f58a039b67e7d WHIRLPOOL c111c87c73c115c94253cb41d23a309751ad7de2f1c1cddbe11b50d7186c627831385b754fe982620d047de4d405d1c357ac5a6c1bd30945f740271167d2dba2 +AUX epic4-2.10.1-make-recursion.patch 275 SHA256 5a8792c5febb7bafc1b895189e47e9ba35e60bb71ba52b04b090a99008774234 SHA512 e5def43f987585aa66761260f507049f67eca75a3cbef3b6f0a7283d0412388cb810ce7692877a62582816bca9887ee2c87429b8246442774bcecd5e195e4d1b WHIRLPOOL badae6ee1bde6d02d8d4739d804d97c59190110315b1a9a69e0beec52c0f13537c62630304de9acb7f0ad44a993085c8dab40e100680d83e0ab38e162a085128 +AUX epic4-2.10.1-perl.patch 1405 SHA256 9c192f37c314c348f0965daa2e212cc5c0127285b998ee43766b72650aad675e SHA512 958e54d18199b412a7f03917d62169227e0ac3be73793698c518cf676375879227d6c754622e722729369197853a2c22f1e6f7de97841c01471dd7b020d42781 WHIRLPOOL d7bf18f8a364b6915791bde71be1de8ed75ed8f3d1188ae6fe52b17cf0e0554ee2535a25810ebef12e4880b80057bebfebd4c7478bcba02430d909ad112d6c59 +DIST epic4-2.10.1.tar.bz2 629722 SHA256 7eb6294c0a1a5aee8bc47f9c6904b2240bf7163e4e07d295296f6b2e214e9935 SHA512 382a0ad6d2778aba037ee1cf065ec7d2ea3827957010f9eea36072fbb8bf14cdba5baffa9a3ce7888305a2451ae61a4b5b5823336fc80b73997fe0d609918656 WHIRLPOOL 0d7ccf95886124ccc0cefe5674990fd778eaa84c836404ab1b74cde090e89e91b59950a3c7ce3eecd33e83a8abaa00bfbf7d192d16c69dd4bf94fcfca37c0c79 +DIST epic4-help-20050315.tar.gz 332502 SHA256 714afd07348731e6ac82e1f6548acc12e84539b3106ab27fa5d00ed5696256f7 SHA512 f59339d4f2c339cb4c3cbc0cce7db8fadbfe469884c16ab9add42e98eb318851e48ce8a04b4920d33c42afff8b39ec41186744eda0460af544c43fe14658e7e6 WHIRLPOOL c2d3783d99692c562490707f68e6b2f2c50c11ef3053e7574c8f049e01504f171f8d86e189e8849e30bb0f3097dc5c7ebb61db9f869b22345ebbfdcdb2daaf38 +DIST epic4-local.bz2 6530 SHA256 4509ac8e491ac0b75dc5ddcef845b02b3610804dd98de9b5b98d58630be322cd SHA512 2f4bb0aee284ddedd95dd97b17bd1756fcc700ec07b2814d84f3185e215134600fdd0fadf7ecb1d490ebb449f5e9530fcb207ebfaec27cfce1f9570e73103cc1 WHIRLPOOL 437ab54779f6579a77870b792bf1f763f94c2faf29ca3adfa0d465385dd67b8bf3fc315130761ba8a305c3c01f01e46fe3c1f708110b3ee5a79221a17fb32ab1 +EBUILD epic4-2.10.1.ebuild 2714 SHA256 d879eefe23cc7118a4effbd3047f7caebc1d925b413a1364d0bb47547fbfa26d SHA512 9f3b5eac97febf130e179170fa4377864c08319a42981aa6003ea24a83be3bbe920e64117c012c53dbdb686da766da4bffdb0fef1f303d0c1cfda3a902273e6f WHIRLPOOL dee4fbfe8024b24968397cf6ffadea94ae285c6e0dd98a442d1731bf88f2b2f780cd187abd0b495a700c3e5e0ad64de1e4a75908e035ddaf85c9287be1e67841 +MISC ChangeLog 2560 SHA256 e046d4a4ce0ae5b7bc29808b21187871ded5ed6a292d784e4b3baa4217d228b6 SHA512 0e921a9324ec9573107834b66a03565e78056325d0950ad3ea1466f7759a2a7f52f35c3b0f9f0e00f30f50e1c5e919473a14dee3f94637570f8b5d6841e9a564 WHIRLPOOL ebf1274f45807099b20989c7c5b9e024de40331498ce7a21ee59034cd3c700ce8c6273713905c439b93ee188e50d69ff8b0262b38aa5e8a033a0f6f7bd534c4d +MISC ChangeLog-2015 13939 SHA256 f48ade7c97f0486ca31b3957648f1a34c0d2e20bfccd0e50338916229b7aa8ea SHA512 4984c59c13980cacda3e0fe19734e7ac85db8543b186e2ecd6d93410feb576d47edae237e2afa3ed8406a42b7b0c81cfafc55358312f026d7d2235e7977daa59 WHIRLPOOL 2b5c84cbefcdc61f52a2e5b58a0191fbff5f3a599c81c3255495a43fd8dc08743449666b935a3faa2252b3dcf1ca35dcb6c2123a14c7d37f4d41c2a291a01b5f +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/net-irc/epic4/epic4-2.10.1.ebuild b/net-irc/epic4/epic4-2.10.1.ebuild new file mode 100644 index 000000000000..fa6e98d50759 --- /dev/null +++ b/net-irc/epic4/epic4-2.10.1.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit autotools eutils flag-o-matic toolchain-funcs + +HELP_V="20050315" + +DESCRIPTION="Epic4 IRC Client" +HOMEPAGE="http://epicsol.org/" +SRC_URI=" + ftp://ftp.epicsol.org/pub/epic/EPIC4-PRODUCTION/${P}.tar.bz2 + ftp://prbh.org/pub/epic/EPIC4-PRODUCTION/epic4-help-${HELP_V}.tar.gz + mirror://gentoo/epic4-local.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="alpha amd64 hppa ia64 ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="ipv6 perl ssl" + +DEPEND=" + >=sys-libs/ncurses-5.2 + perl? ( dev-lang/perl ) + ssl? ( >=dev-libs/openssl-0.9.5:0 )" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch \ + "${FILESDIR}"/epic-defaultserver.patch \ + "${FILESDIR}"/${P}-make-recursion.patch \ + "${FILESDIR}"/${P}-perl.patch + + eautoconf + + rm -f "${WORKDIR}"/help/Makefile || die + ecvs_clean +} + +src_configure() { + replace-flags "-O?" "-O" + + # copied from alt overlay + [[ ${CHOST} == *-interix* ]] && export ac_cv_func_getpgrp_void=yes + + econf \ + --libexecdir="${EPREFIX}"/usr/libexec/${PN} \ + $(use_with ipv6) \ + $(use_with perl) \ + $(use_with ssl) +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install () { + einstall \ + sharedir="${ED}"/usr/share \ + libexecdir="${ED}"/usr/libexec/${PN} + + dodoc BUG_FORM README KNOWNBUGS VOTES + + cd "${S}"/doc || die + docinto doc + dodoc \ + *.txt colors EPIC* IRCII_VERSIONS local_vars missing new-load \ + nicknames outputhelp SILLINESS TS4 + + insinto /usr/share/epic + doins -r "${WORKDIR}"/help +} + +pkg_postinst() { + if [ ! -f "${EROOT}"/usr/share/epic/script/local ]; then + elog "/usr/share/epic/script/local does not exist, I will now" + elog "create it. If you do not like the look/feel of this file, or" + elog "if you'd prefer to use your own script, simply remove this" + elog "file. If you want to prevent this file from being installed" + elog "in the future, simply create an empty file with this name." + cp "${WORKDIR}"/epic4-local "${EROOT}"/usr/share/epic/script/local + elog + elog "This provided local startup script adds a number of nifty" + elog "features to Epic including tab completion, a comprehensive set" + elog "of aliases, and channel-by-channel logging. To prevent" + elog "unintentional conflicts with your own scripting, if either the" + elog "~/.ircrc or ~/.epicrc script files exist, then the local script" + elog "is *not* run. If you like the script but want to make careful" + elog "additions (such as selecting your usual servers or setting your" + elog "nickname), simply copy /usr/share/epic/script/local to ~/.ircrc" + elog "and then add your additions to the copy." + fi + + # Fix for bug 59075 + chmod 755 "${EROOT}"/usr/share/epic/help +} diff --git a/net-irc/epic4/files/epic-defaultserver.patch b/net-irc/epic4/files/epic-defaultserver.patch new file mode 100644 index 000000000000..1dbc2087cce9 --- /dev/null +++ b/net-irc/epic4/files/epic-defaultserver.patch @@ -0,0 +1,12 @@ +diff -Naur epic4-1.1.14.orig/include/config.h epic4-1.1.14/include/config.h +--- epic4-1.1.14.orig/include/config.h 2003-10-28 05:53:57.000000000 +0000 ++++ epic4-1.1.14/include/config.h 2004-01-03 13:49:53.083473288 +0000 +@@ -42,7 +42,7 @@ + * the client will NOT compile and work properly! Use the default here if + * you dont have other servers to use. + */ +-#define DEFAULT_SERVER "localhost irc.efnet.net irc.undernet.org irc.dal.net" ++#define DEFAULT_SERVER "localhost irc.freenode.net irc.efnet.net irc.undernet.org irc.dal.net" + + /* + * The left and right brace characters ('{', '}') are special characters in diff --git a/net-irc/epic4/files/epic4-2.10.1-make-recursion.patch b/net-irc/epic4/files/epic4-2.10.1-make-recursion.patch new file mode 100644 index 000000000000..68d7e4c460b6 --- /dev/null +++ b/net-irc/epic4/files/epic4-2.10.1-make-recursion.patch @@ -0,0 +1,10 @@ +--- a/Makefile.in ++++ b/Makefile.in +@@ -210,6 +210,6 @@ + $(RM) Makefile source/Makefile include/sig.inc config.status config.cache config.log include/defs.h source/info.c.sh + + depend: +- (cd source;make depend) ++ (cd source;$(MAKE) depend) + + # This is the end of the file. diff --git a/net-irc/epic4/files/epic4-2.10.1-perl.patch b/net-irc/epic4/files/epic4-2.10.1-perl.patch new file mode 100644 index 000000000000..ce41d153abc6 --- /dev/null +++ b/net-irc/epic4/files/epic4-2.10.1-perl.patch @@ -0,0 +1,54 @@ +From: Nathan Phillip Brink <binki@gentoo.org> +Subject: Fix broken perl detection somewhat. + +--- a/configure.in ++++ b/configure.in +@@ -636,25 +636,27 @@ + dnl + + AC_MSG_CHECKING(whether to support Perl) +-AC_ARG_WITH(perl, +-[ --with-perl[=PATH] Compile with perl support.], +-[ test -z "$withval" && withval=yes ], +-) +-test "xno" != "x$withval" && for base in $withval /usr/local /usr / +-do +- FOUND= +- for ext in so a dll ; do +- test -r $base/lib/libperl.$ext && FOUND=1 +- test -r $base/libperl.$ext && FOUND=1 +- done +- test -n "$FOUND" || continue +- AC_MSG_RESULT(yes) +- LIBS="$LIBS `perl -MExtUtils::Embed -e ldopts`" +- PERLDOTOH="perl.o" +- AC_DEFINE(PERL) +- break +-done +-test -z "$PERLDOTOH" && AC_MSG_RESULT(no) ++AC_ARG_WITH([perl], ++ [AS_HELP_STRING([--with-perl[=PATH]], [Compile with perl support.])], ++ [], ++ [with_perl=maybe]) ++AS_IF([test "xno" != "x$with_perl"], ++ [ ++ PERL_LIBS="`perl -MExtUtils::Embed -e ldopts`" ++ AS_IF([test -n "$PERL_LIBS"], ++ [ ++ AC_MSG_RESULT([yes]) ++ LIBS="$LIBS $PERL_LIBS" ++ AC_DEFINE([PERL], [], [Define if perl support should be compiled]) ++ PERLDOTOH="perl.o" ++ ], ++ [ ++ AC_MSG_RESULT([no]) ++ AS_IF([test "x$with_perl" != "xmaybe"], ++ [AC_MSG_ERROR([You specified --with-perl, but I was unable to find libperl])]) ++ ]) ++ ]) ++ + withval='' + + dnl ---------------------------------------------------------- + +Diff finished. Thu Jun 30 22:15:26 2011 diff --git a/net-irc/epic4/metadata.xml b/net-irc/epic4/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/net-irc/epic4/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> |