Gentoo Archives: gentoo-commits

From: Michael Weber <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/balance/files/, net-misc/balance/
Date: Wed, 25 Jan 2017 16:12:52
Message-Id: 1485360691.4cdf54400d1fed0c515137f82e3535a5fcac05ac.xmw@gentoo
1 commit: 4cdf54400d1fed0c515137f82e3535a5fcac05ac
2 Author: Michael Weber <xmw <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 25 15:40:29 2017 +0000
4 Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 25 16:11:31 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cdf5440
7
8 net-misc/balance: Drop old version.
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 net-misc/balance/Manifest | 1 -
13 net-misc/balance/balance-3.54-r1.ebuild | 35 ---------------
14 net-misc/balance/files/balance-3.54-Makefile.patch | 52 ----------------------
15 3 files changed, 88 deletions(-)
16
17 diff --git a/net-misc/balance/Manifest b/net-misc/balance/Manifest
18 index e6fbdfd..c0d29d2 100644
19 --- a/net-misc/balance/Manifest
20 +++ b/net-misc/balance/Manifest
21 @@ -1,2 +1 @@
22 -DIST balance-3.54.tar.gz 35166 SHA256 170b1a5dd60a566a785b72afde42a349e20fe01f53263db1279f71ef188efe45 SHA512 addddc3f76b3f85fc56ea2a8139660405d2ece43a087e20e9d57db1c0bdbbf4bd34f94c8e42936e9291c0462b3f0abae0ed97fec48540de730afd3c9898fb79d WHIRLPOOL ff4dff4c1548c2276077f2bd83d82cc64bf19feae3d48b835b48c131f5a605afdf0903459185668251328960e1a96fc644e5dbdde3a70063bdca78fc6ba5fb65
23 DIST balance-3.57.tar.gz 35547 SHA256 b355f98932a9f4c9786cb61012e8bdf913c79044434b7d9621e2fa08370afbe1 SHA512 191195e2aa62c867d85085f273db911e8957c3eea7bed8e58abc29e125a0b0a4487048c7db5857e32f54545de1f81f8148b174225aaf8cf1e3a66e4b040748b4 WHIRLPOOL 7fac226f9829f5ded949d7b42c34338cf5cdc487e41d04d63b48cc35b019406d5c34db39079405ac188d47eddfae8166115ae7e679f4127e077e0871b1638d37
24
25 diff --git a/net-misc/balance/balance-3.54-r1.ebuild b/net-misc/balance/balance-3.54-r1.ebuild
26 deleted file mode 100644
27 index 6287494..00000000
28 --- a/net-misc/balance/balance-3.54-r1.ebuild
29 +++ /dev/null
30 @@ -1,35 +0,0 @@
31 -# Copyright 1999-2013 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -# $Id$
34 -
35 -EAPI=4
36 -
37 -inherit eutils toolchain-funcs
38 -
39 -DESCRIPTION="TCP Load Balancing Port Forwarder"
40 -HOMEPAGE="http://www.inlab.de/balance.html"
41 -SRC_URI="http://www.inlab.de/${P}.tar.gz"
42 -
43 -LICENSE="GPL-2"
44 -SLOT="0"
45 -KEYWORDS="~amd64 ~ppc ~x86"
46 -IUSE="doc"
47 -
48 -DEPEND="doc? ( app-text/ghostscript-gpl
49 - sys-apps/groff )"
50 -RDEPEND=""
51 -
52 -src_prepare() {
53 - epatch "${FILESDIR}"/${P}-Makefile.patch
54 - tc-export CC
55 - use doc || touch balance.pdf
56 -}
57 -
58 -src_install() {
59 - default
60 -
61 - #autocreated on program start, if missing
62 - rmdir "${D}"/var/run/${PN}
63 -
64 - use doc && dodoc balance.pdf
65 -}
66
67 diff --git a/net-misc/balance/files/balance-3.54-Makefile.patch b/net-misc/balance/files/balance-3.54-Makefile.patch
68 deleted file mode 100644
69 index 8b231aa..00000000
70 --- a/net-misc/balance/files/balance-3.54-Makefile.patch
71 +++ /dev/null
72 @@ -1,52 +0,0 @@
73 ---- balance-3.54/Makefile
74 -+++ balance-3.54/Makefile
75 -@@ -1,14 +1,14 @@
76 - # $Id$
77 -
78 - #CFLAGS=-g -I.
79 --CFLAGS=-O2 -Wall -Wstrict-prototypes -Wuninitialized
80 -+CFLAGS+=-Wall -Wstrict-prototypes -Wuninitialized
81 -
82 - # uncomment for any OS other than Cygwin
83 - BALANCE=balance
84 - ROOT=root
85 - INSTALL=install
86 - BINDIR=/usr/sbin
87 --MANDIR=${BINDIR}/../man/man1
88 -+MANDIR=/usr/share/man/man1
89 -
90 - # uncomment for Solaris:
91 - # LIBRARIES=-lsocket -lnsl
92 -@@ -20,13 +20,13 @@
93 - # BALANCE=balance.exe
94 - # ROOT=Administrators
95 -
96 --CC=gcc
97 -+CC?=gcc
98 - RELEASE=3.54
99 -
100 - all: balance
101 -
102 - balance: balance.o butils.o
103 -- $(CC) $(CFLAGS) -I. -o balance balance.o butils.o $(LIBRARIES)
104 -+ $(CC) $(CFLAGS) $(LDFLAGS) -I. -o balance balance.o butils.o $(LIBRARIES)
105 -
106 - balance.o: balance.c balance.h
107 - $(CC) $(CFLAGS) -I. -c balance.c
108 -@@ -48,12 +48,15 @@
109 - rm -f $(BALANCE) *.o balance.ps balance.pdf
110 -
111 - install:
112 -+ $(INSTALL) -o $(ROOT) -g $(ROOT) -m 755 -d \
113 -+ $(DESTDIR)$(BINDIR) \
114 -+ $(DESTDIR)$(MANDIR)
115 - $(INSTALL) -o $(ROOT) -g $(ROOT) -m 755 $(BALANCE) \
116 - $(DESTDIR)$(BINDIR)/$(BALANCE)
117 - $(INSTALL) -o $(ROOT) -g $(ROOT) -m 755 balance.1 \
118 - $(DESTDIR)$(MANDIR)
119 - mkdir -p $(DESTDIR)/var/run/balance
120 -- chmod 1777 $(DESTDIR)/var/run/balance
121 -+ chmod 1755 $(DESTDIR)/var/run/balance
122 -
123 - release: balance.pdf
124 - rm -rf ./releases/balance-$(RELEASE)