summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-02-04 21:09:15 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-02-04 21:09:15 +0000
commit4ef5a203184cea3eaf49765724c8fab0a87b3b84 (patch)
treebce0561612b2e1f66e68c96c9fc1f1e41e74bb81
parentInitial commit, wrt bug #86010. Ebuild is slightly improved version, picked u... (diff)
downloadhistorical-4ef5a203184cea3eaf49765724c8fab0a87b3b84.tar.gz
historical-4ef5a203184cea3eaf49765724c8fab0a87b3b84.tar.bz2
historical-4ef5a203184cea3eaf49765724c8fab0a87b3b84.zip
Initial commit, wrt bug #86010. Ebuild is slightly improved version, picked up from sunrise overlay
Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64
-rw-r--r--net-misc/socket/Manifest4
-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
4 files changed, 57 insertions, 2 deletions
diff --git a/net-misc/socket/Manifest b/net-misc/socket/Manifest
index 4c484a8524d3..fb88db7c0005 100644
--- a/net-misc/socket/Manifest
+++ b/net-misc/socket/Manifest
@@ -1,5 +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
+EBUILD socket-1.5.ebuild 716 SHA256 4afdbfc8e85395622c7f6f04dbfe20dadf90977aecd4daa3982afac93861d4aa SHA512 b25b0f54380b84e964bb37475a66b9db8ed2ae623f4f6709d462653f687a3f1a05bd1c93c49c413da7213ac2e35efad930c3993474175b715b12aefbaa958186 WHIRLPOOL 893813acf805741f5b0f6f524570d777fb655bd10e32ec2adb810c920fa742ee81a26681aeee9877f34f920e6c85048985f68580db19c47b532f02611e2d31b7
+MISC ChangeLog 458 SHA256 eee8933d8c187fa47cdcd23497627814fe1f1788d9f63c2f83797ac6fe55cc88 SHA512 d46f7f60d9a3709cdb19933fe11d40f691c62afa748276dcf6b2884628cbed611ddee110e90708067e3853edbd37a6d80b25c2d2add299785ca4ed74fa2a1a93 WHIRLPOOL 735fc1f72564a61f1ea01a5beeaff09030f4ba333c5662b9ae0da1c5da6a47908bde616ac859da491e07a2e0dafdddfc948f40b9d10bfc64b96aa4117d7d8b77
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
+}