public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-dialup/rp-l2tp/files/, net-dialup/rp-l2tp/
@ 2016-04-28 22:00 Austin English
  0 siblings, 0 replies; 2+ messages in thread
From: Austin English @ 2016-04-28 22:00 UTC (permalink / raw
  To: gentoo-commits

commit:     25e5fe7861d9eb70648fd3e12c4a0eee9a5ae91b
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 28 21:52:01 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Thu Apr 28 21:59:32 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25e5fe78

net-dialup/rp-l2tp: use #!/sbin/openrc-run instead of #!/sbin/runscript

Gentoo-Bug: https://bugs.gentoo.org/573846

Package-Manager: portage-2.2.26

 net-dialup/rp-l2tp/files/rp-l2tpd-init   |  4 ++--
 net-dialup/rp-l2tp/rp-l2tp-0.4-r4.ebuild | 36 ++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+), 2 deletions(-)

diff --git a/net-dialup/rp-l2tp/files/rp-l2tpd-init b/net-dialup/rp-l2tp/files/rp-l2tpd-init
index a541255..b8029c6 100644
--- a/net-dialup/rp-l2tp/files/rp-l2tpd-init
+++ b/net-dialup/rp-l2tp/files/rp-l2tpd-init
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 

diff --git a/net-dialup/rp-l2tp/rp-l2tp-0.4-r4.ebuild b/net-dialup/rp-l2tp/rp-l2tp-0.4-r4.ebuild
new file mode 100644
index 0000000..315cdd8
--- /dev/null
+++ b/net-dialup/rp-l2tp/rp-l2tp-0.4-r4.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="User-space implementation of L2TP for Linux and other UNIX systems"
+HOMEPAGE="http://sourceforge.net/projects/rp-l2tp/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="amd64 ~ppc x86"
+SLOT="0"
+
+src_prepare() {
+	tc-export AR CC RANLIB
+	epatch \
+		"${FILESDIR}/${P}-gentoo.patch" \
+		"${FILESDIR}/${P}-flags.patch" \
+		"${FILESDIR}/${P}-build.patch"
+	epatch_user
+}
+
+src_install() {
+	emake RPM_INSTALL_ROOT="${D}" install
+
+	dodoc README
+	newdoc l2tp.conf rp-l2tpd.conf
+	docinto libevent
+	dodoc libevent/Doc/*
+	docompress -x "/usr/share/doc/${PF}/libevent"
+
+	newinitd "${FILESDIR}/rp-l2tpd-init" rp-l2tpd
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-dialup/rp-l2tp/files/, net-dialup/rp-l2tp/
@ 2018-04-02 10:21 Pacho Ramos
  0 siblings, 0 replies; 2+ messages in thread
From: Pacho Ramos @ 2018-04-02 10:21 UTC (permalink / raw
  To: gentoo-commits

commit:     a7305139e77019c29d1419498b769f0564e363ba
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  2 10:02:16 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Mon Apr  2 10:02:16 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7305139

net-dialup/rp-l2tp: Fix parallel build (#567744 by Felix Janda)

Package-Manager: Portage-2.3.27, Repoman-2.3.9

 net-dialup/rp-l2tp/files/rp-l2tp-0.4-build.patch   | 12 ++++++------
 .../rp-l2tp/files/rp-l2tp-0.4-parallel-build.patch | 12 ++++++++++++
 net-dialup/rp-l2tp/rp-l2tp-0.4-r4.ebuild           | 22 ++++++++++++----------
 3 files changed, 30 insertions(+), 16 deletions(-)

diff --git a/net-dialup/rp-l2tp/files/rp-l2tp-0.4-build.patch b/net-dialup/rp-l2tp/files/rp-l2tp-0.4-build.patch
index 7bb534b6794..6ba8630e43d 100644
--- a/net-dialup/rp-l2tp/files/rp-l2tp-0.4-build.patch
+++ b/net-dialup/rp-l2tp/files/rp-l2tp-0.4-build.patch
@@ -1,5 +1,5 @@
---- Makefile.in.orig	2014-06-24 15:20:47.028342728 +0400
-+++ Makefile.in	2014-06-24 15:21:07.468320934 +0400
+--- a/Makefile.in.orig	2014-06-24 15:20:47.028342728 +0400
++++ b/Makefile.in	2014-06-24 15:21:07.468320934 +0400
 @@ -39,8 +39,8 @@
  
  libl2tp.a: $(OBJS)
@@ -11,8 +11,8 @@
  
  l2tpd: libl2tp.a libevent/libevent.a
  	$(MAKE) -C handlers
---- libevent/Makefile.in.orig	2002-09-30 23:45:00.000000000 +0400
-+++ libevent/Makefile.in	2014-06-24 15:24:31.535105268 +0400
+--- a/libevent/Makefile.in.orig	2002-09-30 23:45:00.000000000 +0400
++++ b/libevent/Makefile.in	2014-06-24 15:24:31.535105268 +0400
 @@ -18,20 +18,20 @@
  
  libevent.a: $(OBJS)
@@ -39,8 +39,8 @@
  
  clean: FORCE
  	rm -f *.a *.o *~
---- handlers/Makefile.in.orig	2014-06-24 15:31:35.186667624 +0400
-+++ handlers/Makefile.in	2014-06-24 15:32:26.659615281 +0400
+--- a/handlers/Makefile.in.orig	2014-06-24 15:31:35.186667624 +0400
++++ b/handlers/Makefile.in	2014-06-24 15:32:26.659615281 +0400
 @@ -20,19 +20,19 @@
  all: $(HANDLERS) l2tp-control
  

diff --git a/net-dialup/rp-l2tp/files/rp-l2tp-0.4-parallel-build.patch b/net-dialup/rp-l2tp/files/rp-l2tp-0.4-parallel-build.patch
new file mode 100644
index 00000000000..cfbb096bef7
--- /dev/null
+++ b/net-dialup/rp-l2tp/files/rp-l2tp-0.4-parallel-build.patch
@@ -0,0 +1,12 @@
+--- a/Makefile.in~	2018-04-02 11:58:30.000000000 +0200
++++ b/Makefile.in	2018-04-02 12:00:15.173470572 +0200
+@@ -42,8 +42,7 @@
+ 	$(AR) -rc $@ $^
+ 	@RANLIB@ $@ || true
+ 
+-l2tpd: libl2tp.a libevent/libevent.a
+-	$(MAKE) -C handlers
++l2tpd: libl2tp.a libevent/libevent.a handlers
+ 	@CC@ $(LDFLAGS) -o l2tpd -rdynamic $(OBJS) $(EXTRA_LIBS)
+ 
+ libevent/libevent.a:

diff --git a/net-dialup/rp-l2tp/rp-l2tp-0.4-r4.ebuild b/net-dialup/rp-l2tp/rp-l2tp-0.4-r4.ebuild
index cfe036f1c58..7d468429c0a 100644
--- a/net-dialup/rp-l2tp/rp-l2tp-0.4-r4.ebuild
+++ b/net-dialup/rp-l2tp/rp-l2tp-0.4-r4.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-
-inherit eutils toolchain-funcs
+EAPI=6
+inherit toolchain-funcs
 
 DESCRIPTION="User-space implementation of L2TP for Linux and other UNIX systems"
 HOMEPAGE="https://sourceforge.net/projects/rp-l2tp/"
@@ -13,19 +12,22 @@ LICENSE="GPL-2"
 KEYWORDS="amd64 ~ppc x86"
 SLOT="0"
 
+PATCHES=(
+	"${FILESDIR}/${P}-gentoo.patch"
+	"${FILESDIR}/${P}-flags.patch"
+	"${FILESDIR}/${P}-build.patch"
+	"${FILESDIR}/${P}-parallel-build.patch"
+)
+
 src_prepare() {
 	tc-export AR CC RANLIB
-	epatch \
-		"${FILESDIR}/${P}-gentoo.patch" \
-		"${FILESDIR}/${P}-flags.patch" \
-		"${FILESDIR}/${P}-build.patch"
-	epatch_user
+	default
 }
 
 src_install() {
 	emake RPM_INSTALL_ROOT="${D}" install
 
-	dodoc README
+	einstalldocs
 	newdoc l2tp.conf rp-l2tpd.conf
 	docinto libevent
 	dodoc libevent/Doc/*


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-04-02 10:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-02 10:21 [gentoo-commits] repo/gentoo:master commit in: net-dialup/rp-l2tp/files/, net-dialup/rp-l2tp/ Pacho Ramos
  -- strict thread matches above, loose matches on Subject: below --
2016-04-28 22:00 Austin English

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox