summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-02-04 21:09:13 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-02-04 21:09:13 +0000
commit820f0b4c9b940f7a8a0a125d485e4f20339278ec (patch)
tree08418b5550fa3a52fe56eafd99016949972fba31 /net-misc/socket
parentUse eapi5 for next libphoto2 bumps (diff)
downloadgentoo-2-820f0b4c9b940f7a8a0a125d485e4f20339278ec.tar.gz
gentoo-2-820f0b4c9b940f7a8a0a125d485e4f20339278ec.tar.bz2
gentoo-2-820f0b4c9b940f7a8a0a125d485e4f20339278ec.zip
Initial commit, wrt bug #86010. Ebuild is slightly improved version, picked up from sunrise overlay
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'net-misc/socket')
-rw-r--r--net-misc/socket/ChangeLog11
-rw-r--r--net-misc/socket/Manifest5
-rw-r--r--net-misc/socket/files/socket-1.5-makefile.patch14
-rw-r--r--net-misc/socket/metadata.xml8
-rw-r--r--net-misc/socket/socket-1.5.ebuild33
5 files changed, 71 insertions, 0 deletions
diff --git a/net-misc/socket/ChangeLog b/net-misc/socket/ChangeLog
new file mode 100644
index 000000000000..aa3b823b7d6c
--- /dev/null
+++ b/net-misc/socket/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-misc/socket
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/socket/ChangeLog,v 1.1 2013/02/04 21:09:13 pinkbyte Exp $
+
+*socket-1.5 (04 Feb 2013)
+
+ 04 Feb 2013; Sergey Popov <pinkbyte@gentoo.org> +socket-1.5.ebuild,
+ +files/socket-1.5-makefile.patch, +metadata.xml:
+ Initial commit, wrt bug #86010. Ebuild is slightly improved version, picked
+ up from sunrise overlay
+
diff --git a/net-misc/socket/Manifest b/net-misc/socket/Manifest
new file mode 100644
index 000000000000..4c484a8524d3
--- /dev/null
+++ b/net-misc/socket/Manifest
@@ -0,0 +1,5 @@
+AUX socket-1.5-makefile.patch 416 SHA256 7767c7e5b47a3fda135d8e79e27f21a045f4049a9ce6faf6cfc888183b6f3be2 SHA512 615c059534f45da30ec7a584a4fa945c9ce90070a1d0f09af785667742e2c692a51e03c00c19bd60429031597dcc5054f40fe51372fa39d213812062252628d0 WHIRLPOOL fb4a24de6c8af68b01b1f61802080903300335cd198a8e33a279e1b97a5d399bd3a3aea02453fb32b48efae57befc343430b906940df2014b1c2d8151fb39a95
+DIST socket-1.5.tar.gz 22002 SHA256 fa36abdc29e1b8a48156061f8a16779ee3446770197071802efbdb01051024a7 SHA512 9503139087a65a63462571788b6710c486c7a00532bc027b87d9f4bd0c92a7e90befe8a3ec86c622bc02ff51beaec05cacfcaffb06d7c983a73c38a18bca315d WHIRLPOOL a220486af2c6cb9c95c6518c630ebc2fc11f6d250e5e02d532d50744eb29271318d3d0c2bf8bc09fc828071aca989cdad78cf18854735eaec874346a5c07ba44
+EBUILD socket-1.5.ebuild 619 SHA256 590e68921e3c2f6b0a8cd187066a005819ff82a908e8216408981261d0fce874 SHA512 f2097c36c15d747770f2ee7d6a67cffc121b4495d652deae378d384c88a3b3d1db7f478f271da361f0cc949005f4932598cb522d58ead5b630073785742d8f8b WHIRLPOOL c85da07d366a4ff056c087bbe197760a0567a9717b0edc4e87bc6e3f6a1dbc32a1d7a457d7dc49e481b511bc91c14e815906b8b0f249d8b57c3ef232197060a1
+MISC ChangeLog 369 SHA256 47a49da03d4122d81a01b3c623ecb1426ae22e0f86d718bf8e0835025bb5f5ee SHA512 68055bc22f6f7a4a4805bf90689a9455797c61cb1684eb40cc9d304f7002960fa546c31526eb5cdbece26606649e7754cc1b71c54d8e33e75a400919d904b660 WHIRLPOOL 2b01c4e434d3442eba8acb3fa98ce684bc16c6edcc07028f0f3d64f5473b71ccbc2381f0677f0208f78e765eb42fb076a952ce2f53b0ecb44943e778476dea00
+MISC metadata.xml 233 SHA256 a93cf5c4e554b97b2a48b92f801e3a3d87833cac311db0160a387a757ab7054c SHA512 704c94018edcbc53edcf0a41c2603dd59ea217aa5871f35d4d17f7df26156b8fb0a735d2efb11b74256565db01e6790a833242de39c29a9e46ed8ed96d505334 WHIRLPOOL 57f455cf256b91fb72e642f5a861e7367961775f2ab992b8afc798ff376c9a2bc8860d09f2bc43c870531248484128c966f25a081b7789a31ba9fb4f52b5519c
diff --git a/net-misc/socket/files/socket-1.5-makefile.patch b/net-misc/socket/files/socket-1.5-makefile.patch
new file mode 100644
index 000000000000..7dc3e7c1f5c3
--- /dev/null
+++ b/net-misc/socket/files/socket-1.5-makefile.patch
@@ -0,0 +1,14 @@
+--- Makefile.orig 2008-06-27 13:57:47.000000000 +0400
++++ Makefile 2013-02-05 00:42:25.241748516 +0400
+@@ -38,9 +38,8 @@
+ INSTALLMANPATH = $(INSTALLBASE)/man
+ INSTALLMANMODE = 444
+ GCCOPTS = -Wall -Wstrict-prototypes
+-CC = cc
+-CFLAGS = $(SWITCHES) -g
+-LDFLAGS = $(SWITCHES) # -s
++CC ?= cc
++CFLAGS += $(SWITCHES)
+ # To use an architecture-specific compile directory (inside of the
+ # source directory):
+ ARCHDIR = .
diff --git a/net-misc/socket/metadata.xml b/net-misc/socket/metadata.xml
new file mode 100644
index 000000000000..b6b8956cde34
--- /dev/null
+++ b/net-misc/socket/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>pinkbyte@gentoo.org</email>
+ <name>Sergey Popov</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/net-misc/socket/socket-1.5.ebuild b/net-misc/socket/socket-1.5.ebuild
new file mode 100644
index 000000000000..7836f8db4269
--- /dev/null
+++ b/net-misc/socket/socket-1.5.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/socket/socket-1.5.ebuild,v 1.1 2013/02/04 21:09:13 pinkbyte Exp $
+
+EAPI=5
+
+inherit base toolchain-funcs
+
+DESCRIPTION="A shell-level interface to TCP sockets"
+HOMEPAGE="http://www.jnickelsen.de/socket/"
+SRC_URI="http://www.jnickelsen.de/${PN}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+
+IUSE="examples"
+
+PATCHES=( "${FILESDIR}/${P}-makefile.patch" )
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin socket
+ doman socket.1
+ dodoc BLURB CHANGES README
+ if use examples; then
+ docinto examples
+ dodoc scripts/*
+ fi
+}