Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/ulm:master commit in: net-misc/stunnel/, net-misc/stunnel/files/
Date: Sun, 31 Aug 2014 16:50:56
Message-Id: 1409341762.680ff84c16a975ba8ccd988200898a63c6bafbcb.ulm@gentoo
1 commit: 680ff84c16a975ba8ccd988200898a63c6bafbcb
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 29 19:49:22 2014 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 29 19:49:22 2014 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=dev/ulm.git;a=commit;h=680ff84c
7
8 Copied from Portage tree.
9
10 Package-Manager: portage-2.2.12
11 RepoMan-Options: --force
12
13 ---
14 net-misc/stunnel/ChangeLog | 10 ++++++++
15 net-misc/stunnel/Manifest | 1 +
16 net-misc/stunnel/files/stunnel-3.26-gentoo.diff | 29 +++++++++++++++++++++++
17 net-misc/stunnel/metadata.xml | 14 +++++++++++
18 net-misc/stunnel/stunnel-3.26.ebuild | 31 +++++++++++++++++++++++++
19 5 files changed, 85 insertions(+)
20
21 diff --git a/net-misc/stunnel/ChangeLog b/net-misc/stunnel/ChangeLog
22 new file mode 100644
23 index 0000000..719ac72
24 --- /dev/null
25 +++ b/net-misc/stunnel/ChangeLog
26 @@ -0,0 +1,10 @@
27 +# ChangeLog for net-misc/stunnel
28 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: $
30 +
31 +*stunnel-3.26 (29 Aug 2014)
32 +
33 + 29 Aug 2014; Ulrich Müller <ulm@g.o> +stunnel-3.26.ebuild,
34 + +files/stunnel-3.26-gentoo.diff, +metadata.xml:
35 + Copied from Portage tree.
36 +
37
38 diff --git a/net-misc/stunnel/Manifest b/net-misc/stunnel/Manifest
39 new file mode 100644
40 index 0000000..f8c815b
41 --- /dev/null
42 +++ b/net-misc/stunnel/Manifest
43 @@ -0,0 +1 @@
44 +DIST stunnel-3.26.tar.gz 228923 SHA256 d2a55b089d46d14bc4b456bb1927303492dab6649867c67a005d2c9d1ededfb3 SHA512 5eb5abc7c74af00a36163ea43b1e8bd9072d4b5aa15c22d48f48252b1c9d0e2fd6ad8a9b7ce49bfa57ce88babb968ee17491bc64049f731f5e6a09675c75399a WHIRLPOOL dadc4fef2442a00e02952368f6245b11fcd53357ec3ce7a95e86e8c7f2a6ba2985bfce39e1c4f577b43254d68716319ce32a38fd3627d8f0f9539d6f1b515b05
45
46 diff --git a/net-misc/stunnel/files/stunnel-3.26-gentoo.diff b/net-misc/stunnel/files/stunnel-3.26-gentoo.diff
47 new file mode 100644
48 index 0000000..a6d0faa
49 --- /dev/null
50 +++ b/net-misc/stunnel/files/stunnel-3.26-gentoo.diff
51 @@ -0,0 +1,29 @@
52 +--- Makefile.in Sun Dec 23 12:03:25 2001
53 ++++ Makefile.in Thu Jan 17 12:28:22 2002
54 +@@ -9,7 +9,7 @@
55 + sbindir=@sbindir@
56 + libdir=@libdir@
57 + man8dir=@mandir@/man8
58 +-piddir=@localstatedir@/stunnel/
59 ++piddir=/var/run
60 + ssldir=@ssldir@
61 + openssl=$(ssldir)/bin/openssl
62 + PEM_DIR=@PEM_DIR@
63 +@@ -24,7 +24,7 @@
64 + LIBS=@LIBS@
65 + HEADERS=common.h prototypes.h client.h
66 + OBJS=client.o stunnel.o ssl.o protocol.o sthreads.o pty.o log.o options.o
67 +-DESTFILES=$(sbindir)/stunnel $(libdir)/stunnel.so $(man8dir)/stunnel.8 $(PEM_DIR)/stunnel.pem
68 ++DESTFILES=$(sbindir)/stunnel $(libdir)/stunnel.so $(man8dir)/stunnel.8
69 +
70 + WINGCC=i386-mingw32msvc-gcc
71 + WINCFLAGS=-O2 -Wall -DUSE_WIN32=1 -DHAVE_OPENSSL=1 -DFD_SETSIZE=4096 -DVERSION=\"@VERSION@\" -I../openssl-0.9.6b/outinc
72 +@@ -33,7 +33,7 @@
73 +
74 + # standard external rules
75 +
76 +-all: stunnel stunnel.8 stunnel.html stunnel.so stunnel.pem
77 ++all: stunnel stunnel.8 stunnel.html stunnel.so
78 +
79 + install: all installdirs $(DESTFILES)
80 +
81
82 diff --git a/net-misc/stunnel/metadata.xml b/net-misc/stunnel/metadata.xml
83 new file mode 100644
84 index 0000000..b8050b9
85 --- /dev/null
86 +++ b/net-misc/stunnel/metadata.xml
87 @@ -0,0 +1,14 @@
88 +<?xml version="1.0" encoding="UTF-8"?>
89 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
90 +<pkgmetadata>
91 +<maintainer>
92 + <email>ulm@g.o</email>
93 +</maintainer>
94 +<longdescription lang="en">
95 + Stunnel is a program that allows you to encrypt arbitrary TCP
96 + connections inside SSL (Secure Sockets Layer) available on both Unix
97 + and Windows. Stunnel can allow you to secure non-SSL aware daemons
98 + and protocols (like POP, IMAP, LDAP, etc) by having Stunnel provide
99 + the encryption, requiring no changes to the daemon's code.
100 +</longdescription>
101 +</pkgmetadata>
102
103 diff --git a/net-misc/stunnel/stunnel-3.26.ebuild b/net-misc/stunnel/stunnel-3.26.ebuild
104 new file mode 100644
105 index 0000000..4793d65
106 --- /dev/null
107 +++ b/net-misc/stunnel/stunnel-3.26.ebuild
108 @@ -0,0 +1,31 @@
109 +# Copyright 1999-2014 Gentoo Foundation
110 +# Distributed under the terms of the GNU General Public License v2
111 +# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/stunnel-3.26.ebuild,v 1.23 2013/08/02 15:17:48 ulm Exp $
112 +
113 +EAPI=5
114 +
115 +inherit eutils
116 +
117 +DESCRIPTION="TLS/SSL - Port Wrapper"
118 +HOMEPAGE="http://www.stunnel.org/"
119 +SRC_URI="http://www.stunnel.org/download/stunnel/src/${P}.tar.gz"
120 +
121 +LICENSE="GPL-2+"
122 +SLOT="0"
123 +KEYWORDS="alpha amd64 ppc sparc x86"
124 +IUSE="selinux"
125 +
126 +DEPEND=">=dev-libs/openssl-0.9.6j"
127 +RDEPEND="${DEPEND}
128 + selinux? ( sec-policy/selinux-stunnel )"
129 +
130 +src_prepare() {
131 + epatch "${FILESDIR}"/${P}-gentoo.diff
132 +}
133 +
134 +src_install() {
135 + dosbin stunnel
136 + dolib.so stunnel.so
137 + dodoc FAQ README HISTORY BUGS PORTS TODO
138 + doman stunnel.8
139 +}