From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- .../wwwoffle/files/wwwoffle-2.9i-define.patch | 20 +++++++++++++++ net-proxy/wwwoffle/files/wwwoffle-online.confd | 10 ++++++++ net-proxy/wwwoffle/files/wwwoffle-online.initd | 30 ++++++++++++++++++++++ net-proxy/wwwoffle/files/wwwoffle.initd | 21 +++++++++++++++ 4 files changed, 81 insertions(+) create mode 100644 net-proxy/wwwoffle/files/wwwoffle-2.9i-define.patch create mode 100644 net-proxy/wwwoffle/files/wwwoffle-online.confd create mode 100644 net-proxy/wwwoffle/files/wwwoffle-online.initd create mode 100644 net-proxy/wwwoffle/files/wwwoffle.initd (limited to 'net-proxy/wwwoffle/files') diff --git a/net-proxy/wwwoffle/files/wwwoffle-2.9i-define.patch b/net-proxy/wwwoffle/files/wwwoffle-2.9i-define.patch new file mode 100644 index 000000000000..3bcc10d761e6 --- /dev/null +++ b/net-proxy/wwwoffle/files/wwwoffle-2.9i-define.patch @@ -0,0 +1,20 @@ +--- a/src/wwwoffled.c ++++ b/src/wwwoffled.c +@@ -15,6 +15,7 @@ + + #include "autoconfig.h" + ++#define _GNU_SOURCE + #include + #include + #include +--- a/src/cgi.c ++++ b/src/cgi.c +@@ -16,6 +16,7 @@ + + #include "autoconfig.h" + ++#define _GNU_SOURCE + #include + #include + #include diff --git a/net-proxy/wwwoffle/files/wwwoffle-online.confd b/net-proxy/wwwoffle/files/wwwoffle-online.confd new file mode 100644 index 000000000000..db8979c209c2 --- /dev/null +++ b/net-proxy/wwwoffle/files/wwwoffle-online.confd @@ -0,0 +1,10 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# Enter the interface that connects you to the outside world +# This will correspond to /etc/wwwoffle/init.d/net.${IFACE} + +# IMPORTANT: Be sure to run depscan.sh after modifiying IFACE + +#IFACE=ppp0 diff --git a/net-proxy/wwwoffle/files/wwwoffle-online.initd b/net-proxy/wwwoffle/files/wwwoffle-online.initd new file mode 100644 index 000000000000..780708a5ea6a --- /dev/null +++ b/net-proxy/wwwoffle/files/wwwoffle-online.initd @@ -0,0 +1,30 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +depend() { + need wwwoffled + use dns + + if [ -n ${IFACE} ]; + then + need net.${IFACE} + else + ewarn "No IFACE is defined in /etc/conf.d/wwwoffle-online" + need net + fi +} + +start() { + ebegin "Starting wwwoffled-online" + wwwoffle -online -c /etc/wwwoffle/wwwoffle.conf + wwwoffle -fetch -c /etc/wwwoffle/wwwoffle.conf & > /dev/null 2>&1 + eend $? +} + +stop() { + ebegin "Stopping wwwoffled-online" + wwwoffle -offline -c /etc/wwwoffle/wwwoffle.conf + eend $? +} diff --git a/net-proxy/wwwoffle/files/wwwoffle.initd b/net-proxy/wwwoffle/files/wwwoffle.initd new file mode 100644 index 000000000000..8aa6e104036d --- /dev/null +++ b/net-proxy/wwwoffle/files/wwwoffle.initd @@ -0,0 +1,21 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +depend() { + need localmount +} + +start() { + ebegin "Starting wwwoffled" + start-stop-daemon --start --quiet --exec /usr/sbin/wwwoffled \ + -u wwwoffle -- -c /etc/wwwoffle/wwwoffle.conf 2>&1 + eend $? +} + +stop() { + ebegin "Stopping wwwoffled" + start-stop-daemon --stop --quiet --name wwwoffled + eend $? +} -- cgit v1.2.3-65-gdbad