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-im/pork |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-im/pork')
-rw-r--r-- | net-im/pork/Manifest | 6 | ||||
-rw-r--r-- | net-im/pork/files/pork-0.99.8.1-fix-buildsystem.patch | 101 | ||||
-rw-r--r-- | net-im/pork/metadata.xml | 11 | ||||
-rw-r--r-- | net-im/pork/pork-0.99.8.1-r1.ebuild | 42 |
4 files changed, 160 insertions, 0 deletions
diff --git a/net-im/pork/Manifest b/net-im/pork/Manifest new file mode 100644 index 000000000000..4b014262004c --- /dev/null +++ b/net-im/pork/Manifest @@ -0,0 +1,6 @@ +AUX pork-0.99.8.1-fix-buildsystem.patch 2980 SHA256 cdb410171b3d40a16b9f4c6887122e0ee8c579a9485e1aef8dbf7dd584af3073 SHA512 410a519a56988746746de788128c09daff66f7ef68babd625c68585cd31955dd3ba7d003227417c675be0e27a7b78724b57585d29c4d3733c0cbc995258a6d44 WHIRLPOOL 123f4a867213c0d3c36414121fc2ec8074c1e712acba0e3269e7a6f63989f30e13a38928e856818bf14d2858ad1b5d43d0514470b0bcc2200cfb2174bba357af +DIST pork-0.99.8.1.tar.gz 490425 SHA256 f0d4cad21017fd75b3c200342c54dd56d9ff7bc38d1e9b3c8ba686ba53d585ed SHA512 20efae37c847e4f4552280832c252341f3d541a08f94df21b780d130bb9dc61cf3464f99e119c01a540572a96340d84ed04e81458c0908357693b6af50d6e77f WHIRLPOOL d507920b28046172c607be05b1acbbbcef0889dd2ca1a39d2751e4753939eac868a43076f3281be8f9336eb226528f92fcdb1767c9909b68f0ce482718c108f6 +EBUILD pork-0.99.8.1-r1.ebuild 799 SHA256 f62a5866abf0c1fa718c61b3f4673f501ebaa049470b59d765ec8f26abe48f79 SHA512 24ed68afc98274261c426929b5be43c1cf9d1061a9ed0106a4d325f4fb3be9c2c396c5693ec30ed9bcd1e284cd636d8f570102c8e1dde8e24c55af9db3854526 WHIRLPOOL a2fe3660ae910191228cb6e9a9eab90482a5f9e5572fa42f2ec69e73257a85575360e3283ba53d821ab049385b0644e5b4dca52cabb572e3b539369358e61c79 +MISC ChangeLog 2884 SHA256 7e1142c028c75dccba4ebc6552fd0237e6ab972922f0369a212d04ea6013678e SHA512 9174773dde502b0f97447d6ab5f918f35ba58f9682e0cbaf5c6da303dc1b001cbe14c56855efdd805ffcf5b2f09c2d21dbe698c9e95e2cb918ce378ca2fe93de WHIRLPOOL 6f3a216b784c858c04298a4e3043101bd511beb69d492900f62c3f706a5cce35c0304006d5d3f8fb9b34b7b61c3304f11ce6c53fea8ca266bcd549dc731918da +MISC ChangeLog-2015 5574 SHA256 684ca6f615838ba6eacfd7f8d96174e898f1352ede1c9f7e8270fbefa3852310 SHA512 e3e1469762b04624b882d28941b7128160841dcc24f4d02ef9750520ad934e0b88a66a8e2889dca405e4d100d9e005b01cefb908ae21b9c44a5d00d3f6768063 WHIRLPOOL 1a9c27395ecb60477e5f92bd29fe9f752b772f9eb77864b9972609fd61065bc459cfd40b9af37dc941362bdac5bc316b736fceaae8e10f82010fdab5dc6e7330 +MISC metadata.xml 366 SHA256 37ed8ce04c33933ea486560cd37744ca0aca9128097054db1e2a190e88fe66c9 SHA512 3cb6bdcf1b0f87c99e7579bf694a95bc4b5128efbb797be26f13e5a53871fee6d20f6e1cd56266a0c877c58bc04cc6e95fc4f6098f0f96763d6cbc976d9ae07c WHIRLPOOL d3c01571856642ceb6b202197433d6e0300d3d7adb5ff3e9711dcb0b4ef95d6b52a3c9beddc0faea10f2ca7bb651bafea8c241be40402ee6d33c6b592aecbcb4 diff --git a/net-im/pork/files/pork-0.99.8.1-fix-buildsystem.patch b/net-im/pork/files/pork-0.99.8.1-fix-buildsystem.patch new file mode 100644 index 000000000000..cb63980ee70e --- /dev/null +++ b/net-im/pork/files/pork-0.99.8.1-fix-buildsystem.patch @@ -0,0 +1,101 @@ +Fix buildsystem to explicitly compile with -std=gnu89 to avoid +differencs in inline semantics introduced in GCC5. +https://bugs.gentoo.org/show_bug.cgi?id=570598 + +Additionally, fix QA issues caused by implicit declarations, such as: +* QA Notice: Package triggers severe warnings which indicate that it +* may exhibit random runtime failures. +* pork_inet.c:69:8: warning: implicit declaration of function ‘vasprintf’ [-Wimplicit-function-declaration] + +--- pork-0.99.8.1/configure.ac ++++ pork-0.99.8.1/configure.ac +@@ -114,6 +114,8 @@ + + AC_CHECK_LIB(ncurses, resizeterm, AC_DEFINE(HAVE_RESIZETERM, 1, [Define to 1 if you have the 'resizeterm' function in -lncurses.])) + ++AC_SEARCH_LIBS(stdscr, tinfo) ++ + AC_CHECK_TYPE(u_int32_t, uint32_t) + if test "$ac_cv_type_u_int32_t" = "no"; then + AC_CHECK_TYPE(uint32_t, unsigned int) +--- pork-0.99.8.1/Makefile.am ++++ pork-0.99.8.1/Makefile.am +@@ -1,3 +1,5 @@ ++AM_CFLAGS = -std=gnu89 ++ + SUBDIRS = \ + src \ + doc \ +--- pork-0.99.8.1/src/Makefile.am ++++ pork-0.99.8.1/src/Makefile.am +@@ -6,7 +6,7 @@ + endif + + +-AM_CFLAGS = -funsigned-char -Imissing -Wall -Iprotocols -fPIC ++AM_CFLAGS = -funsigned-char -Imissing -Wall -Iprotocols -fPIC -std=gnu89 + AM_CFLAGS += -DHELP_PATH=\"$(pkgdatadir)/help\" -DSYSTEM_PORKRC=\"$(pkgdatadir)/porkrc\" + AM_CFLAGS += $(PERL_CFLAGS) $(DEBUG_CFLAGS) + +--- pork-0.99.8.1/src/missing/Makefile.am ++++ pork-0.99.8.1/src/missing/Makefile.am +@@ -1,5 +1,5 @@ + INCLUDES = -I../../src +-AM_CFLAGS = $(DEBUG_CFLAGS) $(PERL_CFLAGS) ++AM_CFLAGS = $(DEBUG_CFLAGS) $(PERL_CFLAGS) -std=gnu89 + + noinst_LIBRARIES = libmissing.a + +--- pork-0.99.8.1/src/pork_inet.c ++++ pork-0.99.8.1/src/pork_inet.c +@@ -9,8 +9,9 @@ + + #include <config.h> + +-#include <unistd.h> ++#define _GNU_SOURCE 1 + #include <stdio.h> ++#include <unistd.h> + #include <stdlib.h> + #include <string.h> + #include <errno.h> +--- pork-0.99.8.1/src/pork_screen_io.c ++++ pork-0.99.8.1/src/pork_screen_io.c +@@ -14,6 +14,8 @@ + + #include <config.h> + ++#define _GNU_SOURCE 1 ++#include <stdio.h> + #include <unistd.h> + #include <ncurses.h> + #include <stdlib.h> +--- pork-0.99.8.1/src/protocols/aim/Makefile.am ++++ pork-0.99.8.1/src/protocols/aim/Makefile.am +@@ -1,5 +1,5 @@ + INCLUDES = -I. -I.. -I../.. -I../../.. -I../../missing -Ilibfaim +-AM_CFLAGS = $(DEBUG_CFLAGS) $(PERL_CFLAGS) ++AM_CFLAGS = $(DEBUG_CFLAGS) $(PERL_CFLAGS) -std=gnu89 + + noinst_LIBRARIES = libaim.a + +--- pork-0.99.8.1/src/protocols/irc/Makefile.am ++++ pork-0.99.8.1/src/protocols/irc/Makefile.am +@@ -1,6 +1,6 @@ + INCLUDES = -I. -I.. -I../.. -I../../.. -I../../missing + +-AM_CFLAGS = $(DEBUG_CFLAGS) $(PERL_CFLAGS) ++AM_CFLAGS = $(DEBUG_CFLAGS) $(PERL_CFLAGS) -std=gnu89 + + noinst_LIBRARIES = libirc.a + +--- pork-0.99.8.1/src/protocols/Makefile.am ++++ pork-0.99.8.1/src/protocols/Makefile.am +@@ -3,6 +3,6 @@ + endif + + INCLUDES = -I. -I.. -I../.. -I../missing +-AM_CFLAGS = $(DEBUG_CFLAGS) $(PERL_CFLAGS) ++AM_CFLAGS = $(DEBUG_CFLAGS) $(PERL_CFLAGS) -std=gnu89 + + SUBDIRS = $(irc_dir) aim diff --git a/net-im/pork/metadata.xml b/net-im/pork/metadata.xml new file mode 100644 index 000000000000..7ad6912389e9 --- /dev/null +++ b/net-im/pork/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-needed --> + <longdescription> + Pork is an AIM client based on the GAIM libraries with an interface similar to IRCII. +</longdescription> + <upstream> + <remote-id type="sourceforge">ojnk</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-im/pork/pork-0.99.8.1-r1.ebuild b/net-im/pork/pork-0.99.8.1-r1.ebuild new file mode 100644 index 000000000000..5da6c71b7297 --- /dev/null +++ b/net-im/pork/pork-0.99.8.1-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools + +DESCRIPTION="Console based AIM client that looks like ircII" +HOMEPAGE="http://dev.ojnk.net/" +SRC_URI="mirror://sourceforge/ojnk/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ~mips ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="perl" + +RDEPEND=" + perl? ( dev-lang/perl ) + sys-libs/ncurses:0= +" +DEPEND="${RDEPEND}" +PATCHES=( + "${FILESDIR}/${P}-fix-buildsystem.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf $(use_enable perl) +} + +src_install() { + default + + doman doc/pork.1 + insinto /usr/share/pork/examples + doins examples/blist.txt + + dodoc AUTHORS ChangeLog INSTALL NEWS README STYLE TODO QUICK_START +} |