public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
From: git@ipfire.org
To: ipfire-scm@lists.ipfire.org
Subject: [IPFire-SCM] [git.ipfire.org] IPFire 3.x development tree branch, master, updated. ef7344ff5166b9cfaf509c80522150fb4e562681
Date: Sat, 23 Jun 2012 22:41:22 +0200	[thread overview]
Message-ID: <20120623204122.C71AE200B7@argus.ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 4151 bytes --]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 3.x development tree".

The branch, master has been updated
       via  ef7344ff5166b9cfaf509c80522150fb4e562681 (commit)
      from  397eafa577ddeab9511ffc23fcf1271527a0de47 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ef7344ff5166b9cfaf509c80522150fb4e562681
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date:   Sat Jun 23 22:40:29 2012 +0200

    rp-pppoe: New package.
    
    Comes with a devlopment pppoe-server, a pppoe-relay and a
    sniffer.

-----------------------------------------------------------------------

Summary of changes:
 rp-pppoe/rp-pppoe.nm                   |   75 ++++++++++++++++++++++++++++++++
 rp-pppoe/systemd/pppoe-server(a).service |   11 +++++
 2 files changed, 86 insertions(+), 0 deletions(-)
 create mode 100644 rp-pppoe/rp-pppoe.nm
 create mode 100644 rp-pppoe/systemd/pppoe-server(a).service

Difference in files:
diff --git a/rp-pppoe/rp-pppoe.nm b/rp-pppoe/rp-pppoe.nm
new file mode 100644
index 0000000..0751f43
--- /dev/null
+++ b/rp-pppoe/rp-pppoe.nm
@@ -0,0 +1,75 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info(a)ipfire.org>                   #
+###############################################################################
+
+name       = rp-pppoe
+version    = 3.10
+release    = 1
+
+groups     = Networking/Dialin
+url        = http://www.roaringpenguin.com/pppoe/
+license    = GPLv2+
+summary    = Administration tools for PPPoE connections.
+
+description
+	PPPoE (Point-to-Point Protocol over Ethernet) is a protocol used by
+	many ADSL Internet Service Providers.
+	This package contains a set of tools to build your own PPPoE server.
+end
+
+source_dl  = http://www.roaringpenguin.com/files/download/
+
+build
+	requires
+		autoconf
+		automake
+		iproute2
+		libtool
+		ppp-devel
+	end
+
+	DIR_APP := %{DIR_APP}/src
+	CFLAGS += -D_GNU_SOURCE -fno-strict-aliasing
+
+	prepare_cmds
+		# PLUGIN_DIR defaults to /etc/ppp/plugins, which is not what we want.
+		sed -i Makefile.in \
+			-e "s@^PLUGIN_DIR=.*@PLUGIN_DIR=%{libdir}/pppd/$(pppd --version | awk '{ print $NF }')@"
+
+		# Always enable kernel mode PPPoE for the server, because we
+		# don't ship the userspace component.
+		sed -i pppoe-server.c \
+			-e "s/UseLinuxKernelModePPPoE = 0/UseLinuxKernelModePPPoE = 1/"
+
+		autoconf
+	end
+
+	# Force support for kernel-mode PPPoE.
+	#configure_options += \
+	#	ac_cv_header_linux_if_pppox_h=yes
+
+	install_cmds
+		# Remove all the client components because we only support the
+		# rp-pppoe plugin that comes with pppd.
+		rm -rvf %{BUILDROOT}%{sysconfdir}
+		rm -vf %{BUILDROOT}%{sbindir}/pppoe
+		rm -vf %{BUILDROOT}%{sbindir}/pppoe-{connect,start,stop,status,setup}
+		rm -vf %{BUILDROOT}%{mandir}/man*/pppoe-{connect,start,stop,status,setup}*
+		rm -vf %{BUILDROOT}%{mandir}/man*/pppoe.{,conf}*
+		rm -rvf ${BUILDROOT}%{libdir}
+	end
+end
+
+packages
+	package %{name}
+		requires
+			iproute2
+			ppp
+		end
+	end
+
+	package %{name}-debuginfo
+		template DEBUGINFO
+	end
+end
diff --git a/rp-pppoe/systemd/pppoe-server(a).service b/rp-pppoe/systemd/pppoe-server(a).service
new file mode 100644
index 0000000..141bc8a
--- /dev/null
+++ b/rp-pppoe/systemd/pppoe-server(a).service
@@ -0,0 +1,11 @@
+[Unit]
+Description=PPPoE server daemon on %I
+BindTo=dev-%I.device
+After=dev-%I.device
+
+[Service]
+ExecStart=/usr/lib/network/pppoe-server %I
+ExecStopPost=/usr/lib/network/pppoe-server %I cleanup
+Restart=failure
+UtmpIdentifier=%I
+KillMode=process


hooks/post-receive
--
IPFire 3.x development tree

                 reply	other threads:[~2012-06-23 20:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120623204122.C71AE200B7@argus.ipfire.org \
    --to=git@ipfire.org \
    --cc=ipfire-scm@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox