[debian] remove sarge packaging
This commit is contained in:
parent
e74a860f6a
commit
6269a8a886
|
@ -1,2 +0,0 @@
|
|||
authentic
|
||||
files
|
|
@ -1,6 +0,0 @@
|
|||
DocumentRoot /usr/share/authentic/web/
|
||||
|
||||
SCGIMount / 127.0.0.1:3002
|
||||
<LocationMatch "^/(css|images|js)/.*">
|
||||
SCGIHandler off
|
||||
</LocationMatch>
|
|
@ -1,10 +0,0 @@
|
|||
#! /bin/sh
|
||||
|
||||
NAME=authentic
|
||||
if [ -r /etc/default/$NAME ]
|
||||
then
|
||||
. /etc/default/$NAME
|
||||
fi
|
||||
|
||||
/usr/sbin/authenticctl.py clean_sessions
|
||||
|
|
@ -1,94 +0,0 @@
|
|||
#! /bin/sh
|
||||
### BEGIN INIT INFO
|
||||
# Provides: authentic
|
||||
# Required-Start: $local_fs $network
|
||||
# Required-Stop: $local_fs $network
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Start Authentic Liberty Alliance identity provider
|
||||
# Description: Start Authentic Liberty Alliance identity provider
|
||||
### END INIT INFO
|
||||
|
||||
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
|
||||
DESC="Authentic Identity Server"
|
||||
NAME=authentic
|
||||
DAEMON=/usr/sbin/authenticctl.py
|
||||
PIDFILE=/var/run/$NAME.pid
|
||||
SCRIPTNAME=/etc/init.d/$NAME
|
||||
|
||||
# Gracefully exit if the package has been removed.
|
||||
test -x $DAEMON || exit 0
|
||||
|
||||
# Read config file if it is present.
|
||||
if [ -r /etc/default/$NAME ]
|
||||
then
|
||||
. /etc/default/$NAME
|
||||
fi
|
||||
|
||||
#
|
||||
# Function that starts the daemon/service.
|
||||
#
|
||||
d_start() {
|
||||
start-stop-daemon --start --quiet --pidfile $PIDFILE \
|
||||
--chuid www-data:www-data --make-pidfile --background --exec $DAEMON -- start $OPTIONS
|
||||
}
|
||||
|
||||
#
|
||||
# Function that stops the daemon/service.
|
||||
#
|
||||
d_stop() {
|
||||
start-stop-daemon --stop --quiet --pidfile $PIDFILE
|
||||
}
|
||||
|
||||
#
|
||||
# Function that sends a SIGHUP to the daemon/service.
|
||||
#
|
||||
d_reload() {
|
||||
start-stop-daemon --stop --quiet --pidfile $PIDFILE \
|
||||
--make-pidfile --background --signal 1
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
echo -n "Starting $DESC: $NAME"
|
||||
d_start
|
||||
echo "."
|
||||
;;
|
||||
stop)
|
||||
echo -n "Stopping $DESC: $NAME"
|
||||
d_stop
|
||||
echo "."
|
||||
;;
|
||||
#reload)
|
||||
#
|
||||
# If the daemon can reload its configuration without
|
||||
# restarting (for example, when it is sent a SIGHUP),
|
||||
# then implement that here.
|
||||
#
|
||||
# If the daemon responds to changes in its config file
|
||||
# directly anyway, make this an "exit 0".
|
||||
#
|
||||
# echo -n "Reloading $DESC configuration..."
|
||||
# d_reload
|
||||
# echo "done."
|
||||
#;;
|
||||
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: $NAME"
|
||||
d_stop
|
||||
sleep 1
|
||||
d_start
|
||||
echo "."
|
||||
;;
|
||||
*)
|
||||
# echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
|
||||
echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
|
@ -1,31 +0,0 @@
|
|||
authentic (0.7.0-0) INVALID; urgency=low
|
||||
|
||||
* New upstream.
|
||||
|
||||
-- Frederic Peters <fpeters@debian.org> Thu, 19 Oct 2006 16:11:41 +0200
|
||||
|
||||
authentic (0.6.0-0) INVALID; urgency=low
|
||||
|
||||
* New upstream.
|
||||
|
||||
-- Frederic Peters <fpeters@debian.org> Mon, 20 Mar 2006 12:07:47 +0100
|
||||
|
||||
authentic (0.5.0-0) INVALID; urgency=low
|
||||
|
||||
* New upstream.
|
||||
|
||||
-- Frederic Peters <fpeters@debian.org> Fri, 30 Sep 2005 08:52:21 +0200
|
||||
|
||||
authentic (0.2.0-0) INVALID; urgency=low
|
||||
|
||||
* New upstream.
|
||||
* Use SCGI instead of mod_python
|
||||
|
||||
-- Frederic Peters <fpeters@debian.org> Wed, 4 May 2005 16:19:44 +0200
|
||||
|
||||
authentic (0.1.0-0) INVALID; urgency=low
|
||||
|
||||
* Initial package.
|
||||
|
||||
-- Frederic Peters <fpeters@debian.org> Sat, 23 Apr 2005 20:48:19 +0200
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
Source: authentic
|
||||
Section: web
|
||||
Priority: optional
|
||||
Maintainer: Frederic Peters <fpeters@debian.org>
|
||||
Build-Depends-Indep: debhelper (>> 4.0.0), python2.3, gettext
|
||||
Standards-Version: 3.6.6.0
|
||||
|
||||
Package: authentic
|
||||
Architecture: all
|
||||
Depends: python, python2.3, python2.3-lasso (>= 0.6.1), quixote (>= 2.0), libapache2-mod-scgi | libapache-mod-scgi, python2.3-scgi
|
||||
Description: Liberty Alliance Identity Server
|
||||
Authentic is a Liberty-compliant identity provider aiming to address a broad
|
||||
range of needs, from simple to complex setups. Its Liberty compliance relies
|
||||
on Lasso, a free (GNU GPL) implementation of the Liberty Alliance
|
||||
specifications.
|
||||
.
|
||||
It is a quixote application and is commonly runned inside Apache web server.
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
This package was debianized by Frederic Peters <fpeters@debian.org> on
|
||||
Wed, 20 Apr 2005 11:10:00 +0200.
|
||||
|
||||
Upstream Author: Frederic Peters <fpeters@entrouvert.com>
|
||||
|
||||
Copyright (c) 2005 Entr'ouvert;
|
||||
copyright (c) 2003-2005 dotclear for the graphics.
|
||||
|
||||
License is GNU GPL v2 or later plus OpenSSL exception clause.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
Foundation; either version 2 of the License, or (at your option) any later
|
||||
version.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
|
||||
St, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
On Debian GNU/Linux systems, the complete text of the GNU General Public
|
||||
License can be found in `/usr/share/common-licenses/GPL'.
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
etc/apache2/sites-available
|
||||
usr/sbin
|
||||
var/lib/authentic
|
|
@ -1 +0,0 @@
|
|||
README
|
|
@ -1,54 +0,0 @@
|
|||
#! /bin/sh
|
||||
# postinst script for authentic
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
# summary of how this script can be called:
|
||||
# * <postinst> `configure' <most-recently-configured-version>
|
||||
# * <old-postinst> `abort-upgrade' <new version>
|
||||
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
|
||||
# <new-version>
|
||||
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
|
||||
# <failed-install-package> <version> `removing'
|
||||
# <conflicting-package> <version>
|
||||
# for details, see http://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package
|
||||
#
|
||||
# quoting from the policy:
|
||||
# Any necessary prompting should almost always be confined to the
|
||||
# post-installation script, and should be protected with a conditional
|
||||
# so that unnecessary prompting doesn't happen if a package's
|
||||
# installation fails and the `postinst' is called with `abort-upgrade',
|
||||
# `abort-remove' or `abort-deconfigure'.
|
||||
|
||||
PACKAGE=authentic
|
||||
VERSION=2.3
|
||||
LIB="/usr/lib/python$VERSION"
|
||||
DIRLIST="$LIB/site-packages/authentic"
|
||||
|
||||
case "$1" in
|
||||
configure|abort-upgrade|abort-remove|abort-deconfigure)
|
||||
for i in $DIRLIST ; do
|
||||
/usr/bin/python$VERSION -O $LIB/compileall.py -q $i
|
||||
/usr/bin/python$VERSION $LIB/compileall.py -q $i
|
||||
done
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "postinst called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
|
||||
# dh_installdeb will replace this with shell code automatically
|
||||
# generated by other debhelper scripts.
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
#! /bin/sh
|
||||
# prerm script for authentic
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
# summary of how this script can be called:
|
||||
# * <prerm> `remove'
|
||||
# * <old-prerm> `upgrade' <new-version>
|
||||
# * <new-prerm> `failed-upgrade' <old-version>
|
||||
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
|
||||
# * <deconfigured's-prerm> `deconfigure' `in-favour'
|
||||
# <package-being-installed> <version> `removing'
|
||||
# <conflicting-package> <version>
|
||||
# for details, see http://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package
|
||||
|
||||
|
||||
PACKAGE=authentic
|
||||
|
||||
case "$1" in
|
||||
remove|upgrade|deconfigure)
|
||||
dpkg --listfiles $PACKAGE |
|
||||
awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
|
||||
xargs rm -f >&2
|
||||
;;
|
||||
failed-upgrade)
|
||||
;;
|
||||
*)
|
||||
echo "prerm called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# dh_installdeb will replace this with shell code automatically
|
||||
# generated by other debhelper scripts.
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
|
||||
|
|
@ -1,76 +0,0 @@
|
|||
#!/usr/bin/make -f
|
||||
# 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
|
||||
|
||||
|
||||
PYTHON=/usr/bin/python2.3
|
||||
|
||||
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
|
||||
CFLAGS += -g
|
||||
endif
|
||||
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
|
||||
INSTALL_PROGRAM += -s
|
||||
endif
|
||||
|
||||
build: build-stamp
|
||||
|
||||
build-stamp:
|
||||
dh_testdir
|
||||
touch build-stamp
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f build-stamp
|
||||
|
||||
cd doc && make clean
|
||||
cd po && rm -f *.mo
|
||||
python setup.py clean
|
||||
rm -rf build
|
||||
|
||||
dh_clean
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
dh_installdirs
|
||||
|
||||
$(PYTHON) setup.py install --prefix=$(CURDIR)/debian/authentic/usr --no-compile
|
||||
mv $(CURDIR)/debian/authentic/usr/bin/* $(CURDIR)/debian/authentic/usr/sbin/
|
||||
rmdir $(CURDIR)/debian/authentic/usr/bin
|
||||
cd po && make install prefix=$(CURDIR)/debian/authentic/
|
||||
cp debian/vhost-apache-authentic $(CURDIR)/debian/authentic/etc/apache2/sites-available/authentic
|
||||
cp debian/apache2.conf $(CURDIR)/debian/authentic/usr/share/authentic/
|
||||
chown www-data.www-data $(CURDIR)/debian/authentic/var/lib/authentic/
|
||||
chmod 0770 $(CURDIR)/debian/authentic/var/lib/authentic/
|
||||
|
||||
|
||||
# Build architecture-independent files here.
|
||||
binary-indep: build install
|
||||
# We have nothing to do by default.
|
||||
|
||||
# Build architecture-dependent files here.
|
||||
binary-arch: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installcron
|
||||
dh_installdocs
|
||||
dh_installchangelogs
|
||||
dh_installinit
|
||||
dh_link
|
||||
dh_strip
|
||||
dh_compress
|
||||
dh_fixperms -X /var/lib/authentic
|
||||
dh_installdeb
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install
|
|
@ -1,6 +0,0 @@
|
|||
<VirtualHost *:80>
|
||||
ServerName authentic.example.com
|
||||
include /usr/share/authentic/apache2.conf
|
||||
CustomLog /var/log/apache2/authentic-access.log combined
|
||||
ErrorLog /var/log/apache2/authentic-error.log
|
||||
</VirtualHost>
|
Reference in New Issue