# ChangeLog for net-misc/stunnel
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/ChangeLog,v 1.214 2015/04/17 11:59:05 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/ChangeLog,v 1.215 2015/04/17 12:03:11 blueness Exp $
+
+ 17 Apr 2015; Anthony G. Basile <blueness@gentoo.org> -files/stunnel.initd,
+ -stunnel-5.07.ebuild, -stunnel-5.09.ebuild, -stunnel-5.10.ebuild,
+ -stunnel-5.11.ebuild:
+ Cleanup older versions.
*stunnel-5.15 (17 Apr 2015)
AUX stunnel 1365 SHA256 f5f6007fa87a0465703f7d746514f6ce84199e9c0e37e0f5a6f8c07659e7853c SHA512 cb8774e5d162afad2a0b5f305cc8ce6bbb0a270e0ebeda600ce6aa005bce161582303727fb21eb34eaaf92b41295d705f9134686ee13a7fb1c4151601e891fe2 WHIRLPOOL e83ec23e99a3bdaef68618da04dcae1be0b789d447977f9b8ca1e6fbbd0a47fc5ed5805e4f0dffa4608a542b1d03e22b9cd7930a735aabc804064b0b8e29e209
AUX stunnel.conf 1419 SHA256 9ae90e10e9cb99e69183d908e6df3b56660eeefba8651988feaa9ab874a83c88 SHA512 4f76fd92eaf7fe878f7566a29ded673e7054edb8d7efeca8aad8621fdddeed457676d73b896d24466843874bb1b82ad3102cb1de4d24a7ac3597f3bf85d36826 WHIRLPOOL c5622e8c7785b9601126446d8b92419d3b671f001363683203bccbffece3b08b762d0db61f7a9ba7cc7de14114623d0ce415909bb957c824b2e7a8b14db5e3d1
-AUX stunnel.initd 1986 SHA256 4f97093f81b854099851ba32552b36036906933933f7a794c7b1e6aa1c006e3b SHA512 8d764b0687d0d219e30dd489c6f16da20f8bac9d9797d2de937368e03fb18ddfec6c69c6e4bfdafb8bd8e7d751984c34a4351ce2ec1521bf2082fdc5f661f031 WHIRLPOOL 4d1cc28389b8d7b5e2ad16ea7e4b2e8b35ad634e4f8680a6d725389684f44cdc0aff633785d7ada6272c17891869a9b05484717dc296f7a79940ddbc975bec4e
AUX stunnel.tmpfiles.conf 38 SHA256 68c9c963673a3bf0f3ce3f32751c9e36a3299251da12e9bcae929629657df135 SHA512 8e06ec39547ce5991217e551e563f5d212742afda94da801ec266c632375aae489594d14815fe596319d9881eb5a58e32bf05baa69f3a9d1bae554419f5ac1bb WHIRLPOOL 5e070b27ed14c06efc8e66d23a9098d60cc16c01331824d910786c6fa7697f96b8704dc02af4f4346b4628dd22b8729a11756c7d85596ffcf916f36f9de8ec05
-DIST stunnel-5.07.tar.gz 599111 SHA256 505c6c63c4a20fc0cce8c35ef1ab7626c7b01071e3fca4ac6ea417afe8065309 SHA512 267addfc0ebc10509076a92a1614f70a94b0557735616aa8bacc82768132d65d35046df040bf310a3d1146cffc93a84c22d01985ada6b88a2064765687d7a5af WHIRLPOOL d2ec56c3a500e6189beed58663b4d97e6d718a7513133670eaacc001ce6b8ba60e142053f49190caa01bfea28fc8ebc515cec251f2378a5aea4155e41b7e4161
DIST stunnel-5.08.tar.gz 608365 SHA256 830b21d24cd237e96f4d7993be43553d4eba4d3cfa2660faa78dec8d41d314fc SHA512 8cbcb11aef85cbfa8bdad15deeeaed1af4e4361ab1bbf0f535fcd8b36bab4c00faec6519cecbf7f18d8c14397f8264ad2e0e2cb84968e0a0c40a41720e064dca WHIRLPOOL e3b4d8531af603b4a8c7f556831e877c7a4bdd0a3a75b00ea65a134e38a2df7faf30b0006d0ec44600c9cd22917eae58a9f98f63dbddd28728ec2fa85304e75c
-DIST stunnel-5.09.tar.gz 588436 SHA256 87b34a74061861d1edd2ab238c73eb989b3d0a17e44574b7b6ead1a16aae38c8 SHA512 39e5914c1541b2eed4afc92d0dae1af1e0cd91861ef677607bb005dd93f3cf5e32db2e6ba259fda45718722f6d04961c3fc907d3ba6e2de92cc4fc29598d1743 WHIRLPOOL 644ece29172b8b97c1cf11aeceb4d3a48b302c865532dd4c8ddd13b1a7e7966dcfb36f10e0ee603621cac56bdfd79d7c03b26b38de2060ba14aee6ab43676264
-DIST stunnel-5.10.tar.gz 603179 SHA256 032bfc1854f8a0b9e452343c36ec6b52c7e0daef0863423c6b13a61a7c92eb23 SHA512 02b2985010991590de32ece5bfb11eb2437e07e1906342aac4336cd406f2d66920c7fda02375e5def02d4f898544b035d3e0d5b4d039bed4b561fc5a31d62904 WHIRLPOOL 982668302cb477f113a55747f36ede1632e8cbe55a18d536e83a357d12a1ddff8320f9096bdc2093dd19e06cd7f12a268bed3e828107f56b5929bee07de3d1e5
-DIST stunnel-5.11.tar.gz 603842 SHA256 71a8bc37e58e34509b0267ade02292994c7a127f14d6e5ba03081db695edff8c SHA512 4a663bb6c6e167fc325f4e5658679ea09afdfa6c9851023c56d30f846416f5abffb7120c404a77ebc7b1483029088726a59f478c4ca4fcb4393440ce497a2e90 WHIRLPOOL a08e91fe39b453575f5c3678f47313be21c150878f771ee9cb433da9d098176451de77b59e2fecd112634161748f386805b1c85ca21b56490973454c185bca50
DIST stunnel-5.14.tar.gz 608366 SHA256 2197b4fc1db82eba69c8baf1fac30f0767af26e9f8c7e9e1d5a4a8fbb264695a SHA512 f0d074f5c525036d98565c9c315f1761920c2e7cd7687a9a0f0441e7caf5cf3930b14c078f4f158806c557ba8ea0698aa3b23d5e7e03c076ee3b6667140148c8 WHIRLPOOL af8d018ffb74aafafef7bc90c63c2a5c1e4dbe164f71eb7aea7cf5388f60c9f49c19ce4dcbf2e55c2c166ee1be98ff5ef72171d750949e668391a7afeca78224
DIST stunnel-5.15.tar.gz 613768 SHA256 58ff4645eb5d6bd64e6ddedaa683534302f75625c531e8a6364badcac0541cba SHA512 317d9d970b15024bd28d5db1014592d1f7cf342f617618c301e3810c98a595d80c888136aa0050ca750fd75084966f653dbcc725c4721d15eaeb4b280a1267e0 WHIRLPOOL ad015f3063b6c6bf16f4d5db6479e87a216cb1a87c53c7e2f14f71ef7255984551c39b486d9378122bd2c916e3351aaf07a4ee2023ee6cbd8e4e989cddd039f3
-EBUILD stunnel-5.07.ebuild 2623 SHA256 d9f5a33ed46cdae69481bbf177449b09d158349cd4b6136aaa035fb5572fe8e5 SHA512 c0f3b5b952f4e90213ba86482b467a1b475457cfa35dfd01136f2b5e457a8b77f2880c917754e68bb1545d1a6ceb2104d8dcfc22fbd144ab6e614e05940e1551 WHIRLPOOL fe9518ac28369b348014c54d07e47d58876864b2a154880b7efc79df88f9c62ac6139523532a8c31114f8d4a2d2d0b8f9c9f70de7e1e24cf11c824c0bd3e667d
EBUILD stunnel-5.08.ebuild 2624 SHA256 c9d2a47b72acb1d84c332009edd9a574d1e6250ce6ebd98f01de013951e68114 SHA512 5b900c0b491e58f2d4bbaa80b1efcb4767898c1d865b371d2bf4c9b4284e1e6846fa03a1519d9f8fdbe4db129a5c5e463d5ff02dc27fdda3e096311ea6388dbd WHIRLPOOL a32e999d3f5140e992da90b20e680cdc9045f3aff9a696affa578316486eca42da149e77d136b61f65a3eb5a46435b2d49e09e89ab32d97ce7f2381dcb888721
-EBUILD stunnel-5.09.ebuild 2637 SHA256 27d9a58a7cbf169d455fc01e04fa75c30981e4edcb2a82ae08ff5660db45c456 SHA512 fdd23babcb2d5abbbb693c22a1a0501864c122036965c6684153b1d51dfe3979698a30953a2fd932077f73a349d908ec17dee02635d28583896038f4aa002988 WHIRLPOOL 2e4ffede8832dfcc460094c5826b66d428db5e575cb5133d605d22dd40c121a9f73802f80dfce6457867b515e6e6b195fdf7ad1ef8efa7b34ff1953738dd2411
-EBUILD stunnel-5.10.ebuild 2637 SHA256 d7766156a67aefd54f0f0a89e1ca5b587fd466abfba0a8e8a059a4c5bc14068c SHA512 128eb2e51bdb8e5e0a6cbc63a515073443a6fe57b5804949b9593406ebcd16c3a45284d14c4a2c663a5d255841b96e3b49af687433d757ab7e14c1626e455882 WHIRLPOOL 74be531bdd37cb2f7db8a56133d72a7e0eaf1eb82455578d1762a1b1089778319c808a88a7540ae8126ed8cbe68dc7e55c1c617e92427c18fe981b8747d1be8e
-EBUILD stunnel-5.11.ebuild 2637 SHA256 df52141059bb371a1863daffb26d941af1913e27b48b20dc5d3d4b199cd3aa48 SHA512 088a67c05673f49fb23c60f442ca3b05df93c5408ed1e0913f838fad7c50bc635f350c970f031d5d666c70ca1deb5ded03c02038ff8f1f4d3711702c2109ac52 WHIRLPOOL 7f0512e33c545bacd7d1f87bd56bc316d5164c7a43d7eeef2c7ad3a02f5c24b1c13cc96c6130df35e6bcc2dc074139f6a1afa5d609de59add7156124435d9829
EBUILD stunnel-5.14.ebuild 2637 SHA256 f450cc3c77112575910cf58dbb77c51d27525949f64a2b52ea60d8cd52d15d2e SHA512 542831eb69e6de4ed883e848d95b2ac103d8e6a1d454de852d61ee438f5e14c48a44f96d219c10673de5618fdb98030dbd49cc25cf75512407558e75e1174077 WHIRLPOOL ba9eabacefc16a62479409966e60b9635687af2f3bacc981a85a9510a316f01d998c36f66befff4adbde4b51276e751599288502ef54c4ef1b155e30fc9b1a2b
EBUILD stunnel-5.15.ebuild 2637 SHA256 6bf7a9ca2ffefc1a08975db3cb652a18c9e83cb725f6b6b854128ee917baabbf SHA512 2f263958e248930b8611696726dfe736f2d97245351e960ff4c416e988879b703a4961ca6ba75b7c4f0d8066a2766daa6b67b5aee5f83f2be43f8571a9ae6514 WHIRLPOOL 6cc8b7846fb83db0af3565b94da836d4aef9d5a59716805ba7914123040a8ca74bdc6c35ac5805a99367907899ec35a39b5763ec7b24272b638c734f42b75325
-MISC ChangeLog 30530 SHA256 fddd68c44d1325d4ad44e1e2788e57dd3e147ca55252ed6ae1ec5d9e5017c84d SHA512 9168105ba88371d7b577ba97c243653c306cb91caf22e6223c65158126527f4336bafcd83418b7f155ffc5d7aa015f58d29ed9929c8ca2917953f0547826f1a5 WHIRLPOOL 27d0e6f3860f79bfc3e7717683dd55c25bd1aa32d845855c64991870f5029f9214475fd958baa0b19877c74b4851cd2f5471d490ffbb67c8bed4f66f850b7b6b
+MISC ChangeLog 30726 SHA256 e58fa8d556f63fbf1630e4c86b12b9b547c10f05aed4d31961fab75c133ed0e5 SHA512 c3c72fd3419105190efacbd4d017dd202fb898abdb7b1339aff3b1d0e013e62a2af805cae76b22c63857e2116b6727e9a131bcbc286081baabc735a64fbebee7 WHIRLPOOL 57928580e17d86dc3b9f38ba4345a35e43ab9ed15e4d40f7c6934da4f4913535a38215c6a22a2fcd2eca46c0ce1030a1c89f64e6a535a756cb03c5c5069bac82
MISC metadata.xml 622 SHA256 42b6c75bd95fd3f6322e6a6f726a9e07d74f0b46376a6f17718f9043cf6cc225 SHA512 930faf03b0f8e73c0ddb1a9821c04d8e0b0eb49fbf1e70ba439cd810e7aac827490b2036fb9a4bf4d8f2d96b3a2e0c0b2923ed21ae17b08ca09464c7cee54997 WHIRLPOOL a604c6422e399f97c5d701d756eee871438b9bb7fb7195c5b4a35357be9e11b7709d7e77172d85f1e5f1d31987de958e8f0f29f13bd1106afab1bb32b75564e1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQIcBAEBCAAGBQJVMPYfAAoJEJOE+m71LUu6OQEP/1QbShvqD+us/5/DXfClPodZ
-k5mH47IbB/3BBU+PWI1tFdoWu102iXb4ljOyOqJ2NOAaEx/PyHC4fIi8tTxpceoG
-bdaenJFkptsJIEgggNgtaxgWbgLsAdVtcmgqIWvL21aL5y0M57JClJfEwsCgu/1X
-vtRbnWPz0rq6ImSijr8h4trBo0wpid/+BDh7HMtdRlvit/9+GJpR0IF21FKs8cYr
-OLAY5Hj68LZx/NDi72aglLSL5Dl+8jpfa0W8qS3jtA7IWznGWzcHmICkT1tKaxP6
-3Vl8UVOsSR4jTo5S5Oz8NIlzr6XHPgtb6rE7Yzk/B86r8ayQduDoJuzjEr63CM7Z
-EVFz+88ItKeDzUPoaRrYdtlHcQIU43QjIRsTpGEhjvsNMdAHXF2Hn6Kq3hrKS14/
-+je/zTzJNM+do+/5jH8LSJT92/r7YoqfaC6/AnG4T8pf+n1rmssXGArlFgg8LI9B
-kzKX5R1SN566rAZl1t5rRsEqCztu08If6fLibkMUXVxNGn6SMXWgR880BJa5W16k
-5Z+hvNjnEOmAxyeo2Ao5waMzKo6C7lL1uh19rWxlbuXIRJLtxVn6VGQyXFa5JRfS
-/YE0ZBrgvUHOwQFhq7d9bREidmb5Xl5wDk9EN3EM6V1Sr7BmTCrNLijydSo3GAeL
-3c37Ez3sbh1kJR76sTv8
-=k6Y0
+iQIcBAEBCAAGBQJVMPcVAAoJEJOE+m71LUu6ri8P/j53oSsWLLfbVfBNf4fIfcH5
+Gdt1M+iZ5hxngGogfl0tP6/9zOKNkdp7S32Ix5/jH+h3Wnvzksuiq1vw9J0JaVf1
+iNwI/gcNWT7ysRUuRZIBSQYgI49b7riGZDZ+c76G+2OyuHYJLgnewBGxE0cn72rq
+U74LvhEIfJ/s2nOhHSjt3PTAuMyiGWGc3bk56/tATaFYsqX7ZTz25gBKM7/2xYYu
+XO/9Hj3zewU8ennntduhpUt+pGXTd52zFaHMr5iiSCzdAuojn5A6F2ivbz4wy25S
+T/fodrIzoQos2DhkvuP9lxiTSGmt5G1s7ykBSVsHh6fFRpVl6dwGXqBtCnfTuku0
+tALdrHwBsQvodtPvf/XXq0YXVtbzdgwrfxs4QCNqiiAXWMm/R3mpreDTK/9jssB9
+sfIjiJtmzoxHnZuPfDsgm13Omc/a8B3J9rx8Id0mZyYMpvpBa2NqYF/7676zNDzD
+PMZmxSCqrlcAfpsrocYvVm8pPKzJ0z1suNmRItbuuJu3+xTzuzS9oIyBFC1iSDa9
+wKQOE+UKIz93imVZ2i8FLywv1Q6FRnmSN+pLqvFltvz2uMDJB7OkE9oJrbyRvjUg
+UN9URbrqxhqe5KdHk2lFgpUNI72zdoBvd5DSAimCUl9k9ljL3I8WBGdeApgCjyhS
+kfUjiGH8PANCFiTdCNNN
+=Kd7Q
-----END PGP SIGNATURE-----
+++ /dev/null
-#!/sbin/runscript
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# Default pidfile location
-DEFAULT_PIDFILE="/var/run/stunnel/stunnel.pid"
-FILES="/etc/stunnel/*.conf"
-DAEMON="/usr/sbin/stunnel"
-
-depend() {
- need net
- before logger
-}
-
-get_pids() {
- local file=${1}
- if test -f ${file} ; then
- CHROOT=$(grep "^chroot" ${file} | sed "s;.*= *;;")
- PIDFILE=$(grep "^pid" ${file} | sed "s;.*= *;;")
- if [ "${PIDFILE}" == "" ] ; then
- PIDFILE="${DEFAULT_PIDFILE}"
- fi
- if test -f ${CHROOT}/${PIDFILE} ; then
- cat ${CHROOT}/${PIDFILE}
- fi
- fi
-}
-
-start() {
- rm -rf /var/run/stunnel/*.pid
- ebegin "Starting stunnel"
- for file in ${FILES} ; do
- if test -f "${file}" ; then
- ARGS="${file} ${STUNNEL_OPTIONS}"
- PROCLIST="$(get_pids ${file})"
- CHROOT=$(grep "^chroot" ${file} | sed "s;.*= *;;")
- PIDFILE=$(grep "^pid" ${file} | sed "s;.*= *;;")
- if [ "${PROCLIST}" ] && kill -0 ${PROCLIST} 2> /dev/null ; then
- ewarn " already running: ${file} "
- elif ${DAEMON} ${ARGS} ; then
- if ! test -f ${CHROOT}/${PIDFILE} ; then
- # give the daemon time to create the pid file
- # See bug #308931 for more details
- sleep 0.5s
- fi
- if test -f ${CHROOT}/${PIDFILE} ; then
- einfo " ${file}"
- else
- eerror " error starting: ${file}"
- fi
- fi
- fi
- done
- eend $?
-}
-
-stop() {
- ebegin "Stopping stunnel"
- for file in ${FILES} ; do
- PROCLIST=$(get_pids ${file})
- if [ "${PROCLIST}" ] && kill -0 ${PROCLIST} 2> /dev/null ; then
- kill ${PROCLIST}
- einfo " ${file} "
- fi
- done
- eend $?
-}
-
-restart() {
- svc_stop
- sleep 1
- svc_start
-}
+++ /dev/null
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/stunnel-5.07.ebuild,v 1.9 2014/12/06 16:54:19 ago Exp $
-
-EAPI="5"
-
-inherit ssl-cert eutils systemd user
-
-DESCRIPTION="TLS/SSL - Port Wrapper"
-HOMEPAGE="http://www.stunnel.org/index.html"
-SRC_URI="ftp://ftp.stunnel.org/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
- http://www.usenix.org.uk/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
- http://ftp.nluug.nl/pub/networking/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
- http://www.namesdir.com/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
- http://stunnel.cybermirror.org/archive/${PV%%.*}.x/${P}.tar.gz
- http://mirrors.zerg.biz/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
- ftp://mirrors.go-parts.com/stunnel/archive/${PV%%.*}.x/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="ipv6 selinux tcpd"
-
-DEPEND="tcpd? ( sys-apps/tcp-wrappers )
- dev-libs/openssl"
-RDEPEND="${DEPEND}
- selinux? ( sec-policy/selinux-stunnel )"
-
-pkg_setup() {
- enewgroup stunnel
- enewuser stunnel -1 -1 -1 stunnel
-}
-
-src_prepare() {
- # Hack away generation of certificate
- sed -i -e "s/^install-data-local:/do-not-run-this:/" \
- tools/Makefile.in || die "sed failed"
-}
-
-src_configure() {
- econf \
- $(use_enable ipv6) \
- $(use_enable tcpd libwrap) \
- --with-ssl="${EPREFIX}"/usr \
- --disable-fips
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- rm -rf "${ED}"/usr/share/doc/${PN}
- rm -f "${ED}"/etc/stunnel/stunnel.conf-sample "${ED}"/usr/bin/stunnel3 \
- "${ED}"/usr/share/man/man8/stunnel.{fr,pl}.8
-
- # The binary was moved to /usr/bin with 4.21,
- # symlink for backwards compatibility
- dosym ../bin/stunnel /usr/sbin/stunnel
-
- dodoc AUTHORS BUGS CREDITS PORTS README TODO ChangeLog
- dohtml doc/stunnel.html doc/en/VNC_StunnelHOWTO.html tools/ca.html \
- tools/importCA.html
-
- insinto /etc/stunnel
- doins "${FILESDIR}"/stunnel.conf
- doinitd "${FILESDIR}"/stunnel
-
- systemd_dounit "${S}/tools/stunnel.service"
- systemd_newtmpfilesd "${FILESDIR}"/stunnel.tmpfiles.conf stunnel.conf
-}
-
-pkg_postinst() {
- if [ ! -f "${EROOT}"/etc/stunnel/stunnel.key ]; then
- install_cert /etc/stunnel/stunnel
- chown stunnel:stunnel "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
- chmod 0640 "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
- fi
-
- einfo "If you want to run multiple instances of stunnel, create a new config"
- einfo "file ending with .conf in /etc/stunnel/. **Make sure** you change "
- einfo "\'pid= \' with a unique filename."
-}
+++ /dev/null
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/stunnel-5.09.ebuild,v 1.1 2015/01/02 15:52:28 blueness Exp $
-
-EAPI="5"
-
-inherit ssl-cert eutils systemd user
-
-DESCRIPTION="TLS/SSL - Port Wrapper"
-HOMEPAGE="http://www.stunnel.org/index.html"
-SRC_URI="ftp://ftp.stunnel.org/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
- http://www.usenix.org.uk/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
- http://ftp.nluug.nl/pub/networking/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
- http://www.namesdir.com/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
- http://stunnel.cybermirror.org/archive/${PV%%.*}.x/${P}.tar.gz
- http://mirrors.zerg.biz/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
- ftp://mirrors.go-parts.com/stunnel/archive/${PV%%.*}.x/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="ipv6 selinux tcpd"
-
-DEPEND="tcpd? ( sys-apps/tcp-wrappers )
- dev-libs/openssl"
-RDEPEND="${DEPEND}
- selinux? ( sec-policy/selinux-stunnel )"
-
-pkg_setup() {
- enewgroup stunnel
- enewuser stunnel -1 -1 -1 stunnel
-}
-
-src_prepare() {
- # Hack away generation of certificate
- sed -i -e "s/^install-data-local:/do-not-run-this:/" \
- tools/Makefile.in || die "sed failed"
-}
-
-src_configure() {
- econf \
- $(use_enable ipv6) \
- $(use_enable tcpd libwrap) \
- --with-ssl="${EPREFIX}"/usr \
- --disable-fips
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- rm -rf "${ED}"/usr/share/doc/${PN}
- rm -f "${ED}"/etc/stunnel/stunnel.conf-sample "${ED}"/usr/bin/stunnel3 \
- "${ED}"/usr/share/man/man8/stunnel.{fr,pl}.8
-
- # The binary was moved to /usr/bin with 4.21,
- # symlink for backwards compatibility
- dosym ../bin/stunnel /usr/sbin/stunnel
-
- dodoc AUTHORS BUGS CREDITS PORTS README TODO ChangeLog
- dohtml doc/stunnel.html doc/en/VNC_StunnelHOWTO.html tools/ca.html \
- tools/importCA.html
-
- insinto /etc/stunnel
- doins "${FILESDIR}"/stunnel.conf
- doinitd "${FILESDIR}"/stunnel
-
- systemd_dounit "${S}/tools/stunnel.service"
- systemd_newtmpfilesd "${FILESDIR}"/stunnel.tmpfiles.conf stunnel.conf
-}
-
-pkg_postinst() {
- if [ ! -f "${EROOT}"/etc/stunnel/stunnel.key ]; then
- install_cert /etc/stunnel/stunnel
- chown stunnel:stunnel "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
- chmod 0640 "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
- fi
-
- einfo "If you want to run multiple instances of stunnel, create a new config"
- einfo "file ending with .conf in /etc/stunnel/. **Make sure** you change "
- einfo "\'pid= \' with a unique filename."
-}
+++ /dev/null
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/stunnel-5.10.ebuild,v 1.1 2015/01/23 20:06:11 blueness Exp $
-
-EAPI="5"
-
-inherit ssl-cert eutils systemd user
-
-DESCRIPTION="TLS/SSL - Port Wrapper"
-HOMEPAGE="http://www.stunnel.org/index.html"
-SRC_URI="ftp://ftp.stunnel.org/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
- http://www.usenix.org.uk/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
- http://ftp.nluug.nl/pub/networking/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
- http://www.namesdir.com/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
- http://stunnel.cybermirror.org/archive/${PV%%.*}.x/${P}.tar.gz
- http://mirrors.zerg.biz/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
- ftp://mirrors.go-parts.com/stunnel/archive/${PV%%.*}.x/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="ipv6 selinux tcpd"
-
-DEPEND="tcpd? ( sys-apps/tcp-wrappers )
- dev-libs/openssl"
-RDEPEND="${DEPEND}
- selinux? ( sec-policy/selinux-stunnel )"
-
-pkg_setup() {
- enewgroup stunnel
- enewuser stunnel -1 -1 -1 stunnel
-}
-
-src_prepare() {
- # Hack away generation of certificate
- sed -i -e "s/^install-data-local:/do-not-run-this:/" \
- tools/Makefile.in || die "sed failed"
-}
-
-src_configure() {
- econf \
- $(use_enable ipv6) \
- $(use_enable tcpd libwrap) \
- --with-ssl="${EPREFIX}"/usr \
- --disable-fips
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- rm -rf "${ED}"/usr/share/doc/${PN}
- rm -f "${ED}"/etc/stunnel/stunnel.conf-sample "${ED}"/usr/bin/stunnel3 \
- "${ED}"/usr/share/man/man8/stunnel.{fr,pl}.8
-
- # The binary was moved to /usr/bin with 4.21,
- # symlink for backwards compatibility
- dosym ../bin/stunnel /usr/sbin/stunnel
-
- dodoc AUTHORS BUGS CREDITS PORTS README TODO ChangeLog
- dohtml doc/stunnel.html doc/en/VNC_StunnelHOWTO.html tools/ca.html \
- tools/importCA.html
-
- insinto /etc/stunnel
- doins "${FILESDIR}"/stunnel.conf
- doinitd "${FILESDIR}"/stunnel
-
- systemd_dounit "${S}/tools/stunnel.service"
- systemd_newtmpfilesd "${FILESDIR}"/stunnel.tmpfiles.conf stunnel.conf
-}
-
-pkg_postinst() {
- if [ ! -f "${EROOT}"/etc/stunnel/stunnel.key ]; then
- install_cert /etc/stunnel/stunnel
- chown stunnel:stunnel "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
- chmod 0640 "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
- fi
-
- einfo "If you want to run multiple instances of stunnel, create a new config"
- einfo "file ending with .conf in /etc/stunnel/. **Make sure** you change "
- einfo "\'pid= \' with a unique filename."
-}
+++ /dev/null
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/stunnel-5.11.ebuild,v 1.1 2015/03/12 00:04:44 blueness Exp $
-
-EAPI="5"
-
-inherit ssl-cert eutils systemd user
-
-DESCRIPTION="TLS/SSL - Port Wrapper"
-HOMEPAGE="http://www.stunnel.org/index.html"
-SRC_URI="ftp://ftp.stunnel.org/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
- http://www.usenix.org.uk/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
- http://ftp.nluug.nl/pub/networking/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
- http://www.namesdir.com/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
- http://stunnel.cybermirror.org/archive/${PV%%.*}.x/${P}.tar.gz
- http://mirrors.zerg.biz/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
- ftp://mirrors.go-parts.com/stunnel/archive/${PV%%.*}.x/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="ipv6 selinux tcpd"
-
-DEPEND="tcpd? ( sys-apps/tcp-wrappers )
- dev-libs/openssl"
-RDEPEND="${DEPEND}
- selinux? ( sec-policy/selinux-stunnel )"
-
-pkg_setup() {
- enewgroup stunnel
- enewuser stunnel -1 -1 -1 stunnel
-}
-
-src_prepare() {
- # Hack away generation of certificate
- sed -i -e "s/^install-data-local:/do-not-run-this:/" \
- tools/Makefile.in || die "sed failed"
-}
-
-src_configure() {
- econf \
- $(use_enable ipv6) \
- $(use_enable tcpd libwrap) \
- --with-ssl="${EPREFIX}"/usr \
- --disable-fips
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- rm -rf "${ED}"/usr/share/doc/${PN}
- rm -f "${ED}"/etc/stunnel/stunnel.conf-sample "${ED}"/usr/bin/stunnel3 \
- "${ED}"/usr/share/man/man8/stunnel.{fr,pl}.8
-
- # The binary was moved to /usr/bin with 4.21,
- # symlink for backwards compatibility
- dosym ../bin/stunnel /usr/sbin/stunnel
-
- dodoc AUTHORS BUGS CREDITS PORTS README TODO ChangeLog
- dohtml doc/stunnel.html doc/en/VNC_StunnelHOWTO.html tools/ca.html \
- tools/importCA.html
-
- insinto /etc/stunnel
- doins "${FILESDIR}"/stunnel.conf
- doinitd "${FILESDIR}"/stunnel
-
- systemd_dounit "${S}/tools/stunnel.service"
- systemd_newtmpfilesd "${FILESDIR}"/stunnel.tmpfiles.conf stunnel.conf
-}
-
-pkg_postinst() {
- if [ ! -f "${EROOT}"/etc/stunnel/stunnel.key ]; then
- install_cert /etc/stunnel/stunnel
- chown stunnel:stunnel "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
- chmod 0640 "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
- fi
-
- einfo "If you want to run multiple instances of stunnel, create a new config"
- einfo "file ending with .conf in /etc/stunnel/. **Make sure** you change "
- einfo "\'pid= \' with a unique filename."
-}