summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-libs/libircclient
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-libs/libircclient')
-rw-r--r--net-libs/libircclient/Manifest2
-rw-r--r--net-libs/libircclient/files/libircclient-1.6-build.patch13
-rw-r--r--net-libs/libircclient/files/libircclient-1.6-include.patch10
-rw-r--r--net-libs/libircclient/files/libircclient-1.6-shared.patch53
-rw-r--r--net-libs/libircclient/files/libircclient-1.6-static.patch12
-rw-r--r--net-libs/libircclient/files/libircclient-1.8-build.patch13
-rw-r--r--net-libs/libircclient/files/libircclient-1.8-include.patch10
-rw-r--r--net-libs/libircclient/files/libircclient-1.8-shared.patch50
-rw-r--r--net-libs/libircclient/files/libircclient-1.8-static.patch12
-rw-r--r--net-libs/libircclient/libircclient-1.6-r2.ebuild50
-rw-r--r--net-libs/libircclient/libircclient-1.8.ebuild49
-rw-r--r--net-libs/libircclient/metadata.xml8
12 files changed, 282 insertions, 0 deletions
diff --git a/net-libs/libircclient/Manifest b/net-libs/libircclient/Manifest
new file mode 100644
index 000000000000..3ed2f27435b9
--- /dev/null
+++ b/net-libs/libircclient/Manifest
@@ -0,0 +1,2 @@
+DIST libircclient-1.6.tar.gz 392788 SHA256 6c511923023398bcd7627cf3305054befacf6874203cb0de36bdbe658779e953 SHA512 94a68f27fcb12c918fa347d4ee44747e08e016245048c81f179b9a45081bd336c329e7185a3bc46deb28c9c77e1eff5dc53de7e723b1ed5ee2c1d3cc57ce0548 WHIRLPOOL f0958c14f923b97e38d230e3d9a27aa08ef9162c0749ef0defb7b107083b27f3458dc652944672cae76527258b788045dcc040d33f055df70a5cab8e16da9ca1
+DIST libircclient-1.8.tar.gz 291803 SHA256 2cf8523ac683588f2785b08159a2df3e4d15939ee655c0024aa86334149de8f6 SHA512 f19e4b55cf49091ab2c83ff3d5cace2252daad6bf23cb61b7677b9c6055fe8a8a7d891f6e1e5962481c836f47b7dcd35ef563c8807737ac81e3c4cee253cfc4a WHIRLPOOL 39550aa403445ca333aeeca2108c6a5e67cbf2eb1f53d313aa4e970f39b702f3862698a0ce7956ad0c93034d9b0f59313b695a7666910872eb9505dd2e895e1b
diff --git a/net-libs/libircclient/files/libircclient-1.6-build.patch b/net-libs/libircclient/files/libircclient-1.6-build.patch
new file mode 100644
index 000000000000..d3d6c0f3edf9
--- /dev/null
+++ b/net-libs/libircclient/files/libircclient-1.6-build.patch
@@ -0,0 +1,13 @@
+--- libircclient-1.6/configure.in
++++ libircclient-1.6.new/configure.in
+@@ -61,9 +61,7 @@ AC_CHECK_FUNCS([localtime_r socket])
+ AC_CHECK_LIB(socket, socket, AC_DEFINE(HAVE_SOCKET) LIBS="$LIBS -lsocket")
+
+ if test "$use_debug" = "yes"; then
+- CFLAGS="${CFLAGS} -g -DENABLE_DEBUG"
+-else
+- CFLAGS="${CFLAGS} -O3"
++ CFLAGS="${CFLAGS} -DENABLE_DEBUG"
+ fi
+
+ # Choosing the target
diff --git a/net-libs/libircclient/files/libircclient-1.6-include.patch b/net-libs/libircclient/files/libircclient-1.6-include.patch
new file mode 100644
index 000000000000..c5bce1dfd947
--- /dev/null
+++ b/net-libs/libircclient/files/libircclient-1.6-include.patch
@@ -0,0 +1,10 @@
+--- libircclient-1.6.orig/include/libircclient.h
++++ libircclient-1.6/include/libircclient.h
+@@ -130,6 +130,7 @@
+ #define IN_INCLUDE_LIBIRC_H
+ #include "libirc_errors.h"
+ #include "libirc_events.h"
++#include "libirc_rfcnumeric.h"
+ #include "libirc_options.h"
+ #undef IN_INCLUDE_LIBIRC_H
+
diff --git a/net-libs/libircclient/files/libircclient-1.6-shared.patch b/net-libs/libircclient/files/libircclient-1.6-shared.patch
new file mode 100644
index 000000000000..44fe9ded64b6
--- /dev/null
+++ b/net-libs/libircclient/files/libircclient-1.6-shared.patch
@@ -0,0 +1,53 @@
+--- libircclient-1.6/src/Makefile.in
++++ libircclient-1.6/src/Makefile.in
+@@ -1,10 +1,13 @@
+ # $Id$
+ CC = @CC@
+-CFLAGS = -Wall -DIN_BUILDING_LIBIRC @CFLAGS@
++CFLAGS = -fPIC -Wall -DIN_BUILDING_LIBIRC @CFLAGS@
+ AR=@AR@ cr
+ RANLIB=@RANLIB@
++INSTALL = install
++LN = ln -sf
+ INCLUDES=-I../include
+ DESTDIR=
++APIVERSION = 1
+
+ OBJS = libircclient.o
+
+@@ -14,19 +17,24 @@
+ shared: libircclient.so
+ shared_mingw: libircclient.dll
+
+-install: lib
+- -mkdir -p $(DESTDIR)@prefix@/include
+- -mkdir -p $(DESTDIR)@prefix@/lib
+- cp ../include/libircclient.h $(DESTDIR)@prefix@/include/libircclient.h
+- cp ../include/libirc_errors.h $(DESTDIR)@prefix@/include/libirc_errors.h
+- cp ../include/libirc_events.h $(DESTDIR)@prefix@/include/libirc_events.h
+- cp ../include/libirc_options.h $(DESTDIR)@prefix@/include/libirc_options.h
+- cp ../include/libirc_rfcnumeric.h $(DESTDIR)@prefix@/include/libirc_rfcnumeric.h
+- cp libircclient.so $(DESTDIR)@prefix@/lib/
+- cp libircclient.a $(DESTDIR)@prefix@/lib/
++install: install-headers install-static install-shared
++install-headers:
++ $(INSTALL) -d $(DESTDIR)@prefix@/include
++ $(INSTALL) -m0644 ../include/libircclient.h $(DESTDIR)@prefix@/include/libircclient.h
++ $(INSTALL) -m0644 ../include/libirc_errors.h $(DESTDIR)@prefix@/include/libirc_errors.h
++ $(INSTALL) -m0644 ../include/libirc_events.h $(DESTDIR)@prefix@/include/libirc_events.h
++ $(INSTALL) -m0644 ../include/libirc_options.h $(DESTDIR)@prefix@/include/libirc_options.h
++ $(INSTALL) -m0644 ../include/libirc_rfcnumeric.h $(DESTDIR)@prefix@/include/libirc_rfcnumeric.h
++install-shared:
++ $(INSTALL) -d $(DESTDIR)@libdir@
++ $(INSTALL) -m0755 libircclient.so $(DESTDIR)@libdir@/libircclient.so.$(APIVERSION)
++ $(LN) libircclient.so.$(APIVERSION) $(DESTDIR)@libdir@/libircclient.so
++install-static:
++ $(INSTALL) -d $(DESTDIR)@libdir@
++ $(INSTALL) -m0644 libircclient.a $(DESTDIR)@libdir@/libircclient.a
+
+ libircclient.so: libircclient.o
+- $(CC) -shared -s -o libircclient.so libircclient.o @LIBS@
++ $(CC) $(CFLAGS) -shared -Wl,-soname,libircclient.so.$(APIVERSION) -o libircclient.so libircclient.o $(LDFLAGS) @LIBS@
+
+ libircclient.dll: libircclient.o
+ $(CC) -shared -s -o libircclient.dll -Wl,-out-implib,libircclient.lib libircclient.o libircclient.def -lkernel32 -lwsock32 @LIBS@
diff --git a/net-libs/libircclient/files/libircclient-1.6-static.patch b/net-libs/libircclient/files/libircclient-1.6-static.patch
new file mode 100644
index 000000000000..4ecbb3362223
--- /dev/null
+++ b/net-libs/libircclient/files/libircclient-1.6-static.patch
@@ -0,0 +1,12 @@
+--- libircclient-1.6.orig/src/Makefile.in
++++ libircclient-1.6/src/Makefile.in
+@@ -9,6 +9,9 @@
+ DESTDIR=
+ APIVERSION = 1
+
++prefix = @prefix@
++exec_prefix = @exec_prefix@
++
+ OBJS = libircclient.o
+
+ all: @TARGET@
diff --git a/net-libs/libircclient/files/libircclient-1.8-build.patch b/net-libs/libircclient/files/libircclient-1.8-build.patch
new file mode 100644
index 000000000000..86ea64efd55a
--- /dev/null
+++ b/net-libs/libircclient/files/libircclient-1.8-build.patch
@@ -0,0 +1,13 @@
+--- libircclient-1.7.orig/configure.in
++++ libircclient-1.7/configure.in
+@@ -61,9 +61,7 @@
+ AC_CHECK_LIB(socket, socket, AC_DEFINE(HAVE_SOCKET) LIBS="$LIBS -lsocket")
+
+ if test "$use_debug" = "yes"; then
+- CFLAGS="${CFLAGS} -g -DENABLE_DEBUG"
+-else
+- CFLAGS="${CFLAGS} -O3"
++ CFLAGS="${CFLAGS} -DENABLE_DEBUG"
+ fi
+
+ # Choosing the target
diff --git a/net-libs/libircclient/files/libircclient-1.8-include.patch b/net-libs/libircclient/files/libircclient-1.8-include.patch
new file mode 100644
index 000000000000..c5bce1dfd947
--- /dev/null
+++ b/net-libs/libircclient/files/libircclient-1.8-include.patch
@@ -0,0 +1,10 @@
+--- libircclient-1.6.orig/include/libircclient.h
++++ libircclient-1.6/include/libircclient.h
+@@ -130,6 +130,7 @@
+ #define IN_INCLUDE_LIBIRC_H
+ #include "libirc_errors.h"
+ #include "libirc_events.h"
++#include "libirc_rfcnumeric.h"
+ #include "libirc_options.h"
+ #undef IN_INCLUDE_LIBIRC_H
+
diff --git a/net-libs/libircclient/files/libircclient-1.8-shared.patch b/net-libs/libircclient/files/libircclient-1.8-shared.patch
new file mode 100644
index 000000000000..1fbc0e693502
--- /dev/null
+++ b/net-libs/libircclient/files/libircclient-1.8-shared.patch
@@ -0,0 +1,50 @@
+--- libircclient-1.7.orig/src/Makefile.in
++++ libircclient-1.7/src/Makefile.in
+@@ -1,8 +1,10 @@
+ # $Id$
+ CC = @CC@
+-CFLAGS = -Wall -DIN_BUILDING_LIBIRC @CFLAGS@
++CFLAGS = -fPIC -Wall -DIN_BUILDING_LIBIRC @CFLAGS@
+ AR=@AR@ cr
+ RANLIB=@RANLIB@
++INSTALL=install
++LN=ln -sf
+ INCLUDES=-I../include
+ DESTDIR=
+ APIVERSION = 1
+@@ -15,19 +17,24 @@
+ shared: libircclient.so
+ shared_mingw: libircclient.dll
+
+-install:
+- -mkdir -p $(DESTDIR)@prefix@/include
+- -mkdir -p $(DESTDIR)@libdir@
+- cp ../include/libircclient.h $(DESTDIR)@prefix@/include/libircclient.h
+- cp ../include/libirc_errors.h $(DESTDIR)@prefix@/include/libirc_errors.h
+- cp ../include/libirc_events.h $(DESTDIR)@prefix@/include/libirc_events.h
+- cp ../include/libirc_options.h $(DESTDIR)@prefix@/include/libirc_options.h
+- cp ../include/libirc_rfcnumeric.h $(DESTDIR)@prefix@/include/libirc_rfcnumeric.h
+- cp libircclient.so $(DESTDIR)@libdir@/libircclient.so.$(APIVERSION)
+- ln -fs libircclient.so.$(APIVERSION) $(DESTDIR)@libdir@/libircclient.so
++install: install-headers install-static install-shared
++install-headers:
++ $(INSTALL) -d $(DESTDIR)@prefix@/include
++ $(INSTALL) -m0644 ../include/libircclient.h $(DESTDIR)@prefix@/include/libircclient.h
++ $(INSTALL) -m0644 ../include/libirc_errors.h $(DESTDIR)@prefix@/include/libirc_errors.h
++ $(INSTALL) -m0644 ../include/libirc_events.h $(DESTDIR)@prefix@/include/libirc_events.h
++ $(INSTALL) -m0644 ../include/libirc_options.h $(DESTDIR)@prefix@/include/libirc_options.h
++ $(INSTALL) -m0644 ../include/libirc_rfcnumeric.h $(DESTDIR)@prefix@/include/libirc_rfcnumeric.h
++install-shared:
++ $(INSTALL) -d $(DESTDIR)@libdir@
++ $(INSTALL) -m0755 libircclient.so $(DESTDIR)@libdir@/libircclient.so.$(APIVERSION)
++ $(LN) libircclient.so.$(APIVERSION) $(DESTDIR)@libdir@/libircclient.so
++install-static:
++ $(INSTALL) -d $(DESTDIR)@libdir@
++ $(INSTALL) -m0644 libircclient.a $(DESTDIR)@libdir@/libircclient.a
+
+ libircclient.so: libircclient.o
+- $(CC) -shared -s -Wl,-soname,libircclient.so.$(APIVERSION) -o libircclient.so libircclient.o @LIBS@
++ $(CC) $(CFLAGS) -shared -Wl,-soname,libircclient.so.$(APIVERSION) -o libircclient.so libircclient.o $(LDFLAGS) @LIBS@
+
+ libircclient.dll: libircclient.o
+ $(CC) -shared -s -o libircclient.dll -Wl,-out-implib,libircclient.lib libircclient.o libircclient.def -lkernel32 -lwsock32 @LIBS@
diff --git a/net-libs/libircclient/files/libircclient-1.8-static.patch b/net-libs/libircclient/files/libircclient-1.8-static.patch
new file mode 100644
index 000000000000..b820a19c73d1
--- /dev/null
+++ b/net-libs/libircclient/files/libircclient-1.8-static.patch
@@ -0,0 +1,12 @@
+--- libircclient-1.7.orig/src/Makefile.in
++++ libircclient-1.7/src/Makefile.in
+@@ -9,6 +9,9 @@
+ DESTDIR=
+ APIVERSION = 1
+
++prefix=@prefix@
++exec_prefix=@exec_prefix@
++
+ OBJS = libircclient.o
+
+ all: @TARGET@
diff --git a/net-libs/libircclient/libircclient-1.6-r2.ebuild b/net-libs/libircclient/libircclient-1.6-r2.ebuild
new file mode 100644
index 000000000000..66d2da4a8b34
--- /dev/null
+++ b/net-libs/libircclient/libircclient-1.6-r2.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 autotools eutils
+
+DESCRIPTION="Small but powerful library implementing the client-server IRC protocol"
+HOMEPAGE="http://www.ulduzsoft.com/libircclient/"
+SRC_URI="mirror://sourceforge/libircclient/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="doc ipv6 ssl static-libs threads"
+
+DEPEND="ssl? ( dev-libs/openssl )"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-build.patch \
+ "${FILESDIR}"/${P}-shared.patch \
+ "${FILESDIR}"/${P}-include.patch \
+ "${FILESDIR}"/${P}-static.patch
+ eautoconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable threads) \
+ $(use_enable ipv6) \
+ $(use_enable ssl openssl) \
+ $(use_enable ssl threads)
+}
+
+src_compile() {
+ emake -C src $(usex static-libs "shared static" "shared")
+}
+
+src_install() {
+ emake -C src DESTDIR="${D}" $(usex static-libs "install" "install-shared")
+ insinto /usr/include/libircclient
+ doins include/*.h
+
+ dodoc Changelog THANKS
+ if use doc ; then
+ doman doc/man/man3/*
+ dohtml doc/html/*
+ fi
+}
diff --git a/net-libs/libircclient/libircclient-1.8.ebuild b/net-libs/libircclient/libircclient-1.8.ebuild
new file mode 100644
index 000000000000..1b5541aec5dc
--- /dev/null
+++ b/net-libs/libircclient/libircclient-1.8.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="Small but powerful library implementing the client-server IRC protocol"
+HOMEPAGE="http://www.ulduzsoft.com/libircclient/"
+SRC_URI="mirror://sourceforge/libircclient/${P}.tar.gz"
+
+LICENSE="LGPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE="doc ipv6 ssl static-libs threads"
+
+DEPEND="ssl? ( dev-libs/openssl:0 )"
+RDEPEND=${DEPEND}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-build.patch \
+ "${FILESDIR}"/${P}-shared.patch \
+ "${FILESDIR}"/${P}-static.patch \
+ "${FILESDIR}"/${P}-include.patch
+ mv configure.in configure.ac || die
+ eautoconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable threads) \
+ $(use_enable ipv6) \
+ $(use_enable ssl openssl) \
+ $(use_enable ssl threads)
+}
+
+src_compile() {
+ emake -C src $(usex static-libs "shared static" "shared")
+}
+
+src_install() {
+ emake -C src DESTDIR="${D}" install-shared $(usex static-libs "install-static" "")
+ insinto /usr/include/libircclient
+ doins include/*.h
+
+ dodoc Changelog THANKS
+ doman man/libircclient.1
+}
diff --git a/net-libs/libircclient/metadata.xml b/net-libs/libircclient/metadata.xml
new file mode 100644
index 000000000000..85eaa183f0ae
--- /dev/null
+++ b/net-libs/libircclient/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>games</herd>
+ <upstream>
+ <remote-id type="sourceforge">libircclient</remote-id>
+ </upstream>
+</pkgmetadata>