This commit is contained in:
2019-02-06 00:49:12 +03:00
commit 8dbb1bb605
4796 changed files with 506072 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
perlbal (1.01-1) unstable; urgency=low
* Initial Release
-- Jay Bonci <jaybonci@debian.org> Fri, 14 Jan 2005 06:02:34 -0500

1
wcmtools/perlbal/debian/compat Executable file
View File

@@ -0,0 +1 @@
4

30
wcmtools/perlbal/debian/control Executable file
View File

@@ -0,0 +1,30 @@
Source: perlbal
Section: perl
Priority: optional
Maintainer: Jay Bonci <jaybonci@debian.org>
Build-Depends-Indep: debhelper (>= 4.1.40), perl (>= 5.8.4), libbsd-resource-perl, liblinux-aio-perl (>= 1.3), libdanga-socket-perl, libwww-perl, libnet-netmask-perl
Standards-Version: 3.6.1.0
Package: perlbal
Architecture: all
Depends: ${perl:Depends}, libbsd-resource-perl, liblinux-aio-perl (>= 1.3), libdanga-socket-perl, libwww-perl, libnet-netmask-perl
Recomends: libperlbal-perl
Suggests: perlbal-doc
Description: reverse-proxy load balancer and webserver
Perlbal is a poll/epoll based system that supports multiple personalities
dictated by what port a request comes in on. It supports the creation of an
unlimited number of services that can each have their own entirely
independent configurations.
Package: libperlbal-perl
Architecture: all
Depends: ${perl:Depends}, libbsd-resource-perl, liblinux-aio-perl (>= 1.3), libdanga-socket-perl, libwww-perl, libnet-netmask-perl
Description: supporting perl libraries for perlbal
This package contains the module files (but not the daemon) for use with
perlbal, the reverse-proxy load balancer and webserver.
Package: perlbal-doc
Architecture: all
Description: documentation for perlbal
This package contains documentation and implementation notes for use with
perlbal, the reverse-proxy load balancer and webserver.

View File

@@ -0,0 +1,25 @@
This package was debianized by Jay Bonci <jay@bonci.com> on
Fri Jan 14 06:06:23 EST 2005
It was downloaded from: http://www.danga.com/perlbal
Upstream Author:
Brad Fitzpatrick, <brad@danga.com>
Mark Smith, <marksmith@danga.com>
Copyright:
This program is free software; you can redistribute it and/or modify
it under the terms of either:
a) the GNU General Public License as published by the Free
Software Foundation; either version 1, or (at your option) any
later version, or
b) the "Artistic License"
See:
/usr/share/common-licenses/Artistic
/usr/share/common-licenses/GPL
For more information regarding these licensing options

View File

@@ -0,0 +1 @@
doc/*

View File

@@ -0,0 +1,73 @@
#! /bin/sh
#
# skeleton example file to build /etc/init.d/ scripts.
# This file should be used to construct scripts for /etc/init.d.
#
# Written by Miquel van Smoorenburg <miquels@cistron.nl>.
# Modified for Debian
# by Ian Murdock <imurdock@gnu.ai.mit.edu>.
#
# Version: @(#)skeleton 1.9 26-Feb-2001 miquels@cistron.nl
#
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/bin/perlbal
NAME=perlbal
DESC=Perlbal
PIDFILE=/var/run/$NAME.pid
USER=root
test -x $DAEMON || exit 0
set -e
case "$1" in
start)
echo -n "Starting $DESC: "
if [ -e $PIDFILE ]
then
if [ -d /proc/`cat $PIDFILE`/ ]
then
echo "$NAME already running."
exit 0;
else
rm -f $PIDFILE
fi
fi
start-stop-daemon --start --quiet --exec $DAEMON --pidfile $PIDFILE -b -m --name $NAME --user $USER
echo "$NAME."
;;
stop)
echo -n "Stopping $DESC: "
start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE --name $NAME --user $USER
echo "$NAME."
rm -f $PIDFILE
;;
restart|force-reload)
#
# If the "reload" option is implemented, move the "force-reload"
# option to the "reload" entry above. If not, "force-reload" is
# just the same as "restart".
#
echo -n "Restarting $DESC: "
start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE --name $NAME --user $USER
rm -f $PIDFILE
sleep 1
start-stop-daemon --start --quiet --exec $DAEMON --pidfile $PIDFILE -b -m --name $NAME --user $USER
echo "$NAME."
;;
*)
N=/etc/init.d/$NAME
# echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
echo "Usage: $N {start|stop|restart|force-reload}" >&2
exit 1
;;
esac
exit 0

View File

@@ -0,0 +1,15 @@
#!/bin/sh
if [ ! -e /etc/perlbal/perlbal.conf ]
then
mkdir -p /etc/perlbal
cp /usr/share/perlbal/perlbal.conf.default /etc/perlbal/perlbal.conf
fi
if [ ! -e /etc/perlbal/nodelist.dat ]
then
mkdir -p /etc/perlbal
cp /usr/share/perlbal/nodelist.dat.default /etc/perlbal/nodelist.dat
fi
#DEBHELPER#

View File

@@ -0,0 +1,12 @@
#!/bin/sh
if [ "$1" = "purge" ]
then
rm -f /etc/perlbal/perlbal.conf
rm -f /etc/perlbal/nodelist.dat
rmdir --ignore-fail-on-non-empty /etc/perlbal
fi
rm -f /var/run/perlbal.pid
#DEBHELPER#

72
wcmtools/perlbal/debian/rules Executable file
View File

@@ -0,0 +1,72 @@
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# This is the debhelper compatibility version to use.
# export DH_COMPAT=4
#PACKAGE=`pwd | sed -e "s/.*\/\\(.*\\)-.*/\\1/"`
ENV=/usr/bin/env
PERL=/usr/bin/perl
MODULESPACKAGE=libperlbal-perl
DAEMONPACKAGE=perlbal
CONFDIR=$(CURDIR)/debian/$(DAEMONPACKAGE)/usr/share/perlbal
BM=blib.modules
BD=blib.daemon
build:
dh_testdir
# Add here commands to compile the package.
$(ENV) DANGABUILD_MODULESONLY=1 $(PERL) Makefile.PL verbose INSTALLDIRS=vendor INST_LIB=$(BM)
cp Makefile Makefile.modules
$(ENV) DANGABUILD_DAEMONONLY=1 $(PERL) Makefile.PL verbose INSTALLDIRS=vendor INST_LIB=$(BD) INST_SCRIPT=$(BD)
cp Makefile Makefile.daemon
clean:
dh_testdir
dh_testroot
-$(MAKE) -f Makefile.modules clean
-$(MAKE) -f Makefile.daemon clean
rm -f Makefile.old Makefile.modules Makefile.daemon
rm -rf $(BD) $(BM)
dh_clean
install:
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
$(MAKE) -f Makefile.modules PREFIX=$(CURDIR)/debian/$(MODULESPACKAGE)/usr OPTIMIZE="-O2 -g -Wall" test install
$(MAKE) -f Makefile.daemon PREFIX=$(CURDIR)/debian/$(DAEMONPACKAGE)/usr OPTIMIZE="-O2 -g -Wall" install
-find $(CURDIR)/debian -type d | xargs rmdir -p --ignore-fail-on-non-empty
install -d $(CONFDIR)
install -m 644 conf/perlbal.conf $(CONFDIR)/perlbal.conf.default
install -m 644 conf/nodelist.dat $(CONFDIR)/nodelist.dat.default
binary-arch:;
binary-indep: build install
dh_testdir
dh_testroot
dh_installdocs
dh_installman
dh_installinit
dh_installchangelogs CHANGES
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_perl
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure

2
wcmtools/perlbal/debian/watch Executable file
View File

@@ -0,0 +1,2 @@
version=2
http://www.danga.com/dist/Perlbal/Perlbal-([0-9].*)\.tar.gz