mirror of
https://github.com/osmarks/ngircd.git
synced 2025-04-28 13:43:11 +00:00
Included debian packaging files from CVS HEAD.
This commit is contained in:
parent
3b17c66068
commit
3045ce06ef
34
debian/changelog
vendored
Normal file
34
debian/changelog
vendored
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
ngircd (0.7.0-0.5ab) unstable; urgency=low
|
||||||
|
|
||||||
|
* Enhanced init script.
|
||||||
|
* Included NJOIN fix from actual CVS "HEAD" branch.
|
||||||
|
|
||||||
|
-- Alexander Barton <alex@Arthur.Ath.CX> Wed, 9 Jul 2003 22:40:49 +0200
|
||||||
|
|
||||||
|
ngircd (0.7.0-0.4ab) unstable; urgency=low
|
||||||
|
|
||||||
|
* Reverted use of dh_installexamples.
|
||||||
|
|
||||||
|
-- Alexander Barton <alex@Arthur.Ath.CX> Thu, 22 May 2003 00:15:03 +0200
|
||||||
|
|
||||||
|
ngircd (0.7.0-0.3ab) unstable; urgency=low
|
||||||
|
|
||||||
|
* Removed "debian/docs" and "debian/conffiles"; debhelper takes care of
|
||||||
|
this for us automagically.
|
||||||
|
* Excluded "etc/ngircd.conf" from dh_fixperms.
|
||||||
|
|
||||||
|
-- Alexander Barton <alex@Arthur.Ath.CX> Wed, 21 May 2003 23:25:05 +0200
|
||||||
|
|
||||||
|
ngircd (0.7.0-0.2ab) unstable; urgency=low
|
||||||
|
|
||||||
|
* Fixed wrong variable substitution in init script.
|
||||||
|
* Added some CVS "Id-Tags" (but not checked in, yet).
|
||||||
|
* Removed own "Provides:" from control file.
|
||||||
|
|
||||||
|
-- Alexander Barton <alex@barton.de> Wed, 21 May 2003 12:32:34 +0200
|
||||||
|
|
||||||
|
ngircd (0.7.0-0.1ab) unstable; urgency=low
|
||||||
|
|
||||||
|
* Initial Release.
|
||||||
|
|
||||||
|
-- Alexander Barton <alex@barton.de> Wed, 21 May 2003 02:36:52 +0200
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
4
|
23
debian/control
vendored
Normal file
23
debian/control
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
Source: ngircd
|
||||||
|
Section: net
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Alexander Barton <alex@barton.de>
|
||||||
|
Build-Depends: debhelper (>> 4.0.0), libz-dev
|
||||||
|
Standards-Version: 3.5.8
|
||||||
|
|
||||||
|
Package: ngircd
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${shlibs:Depends} ${misc:Depends}
|
||||||
|
Description: A lightweight daemon for the Internet Relay Chat (IRC)
|
||||||
|
The ngIRCd is a free open source daemon for Internet Relay Chat (IRC),
|
||||||
|
developed under the GNU General Public License (GPL). It's written from
|
||||||
|
scratch and is not based upon the original IRCd like many others.
|
||||||
|
.
|
||||||
|
Advantages:
|
||||||
|
- no problems with servers on changing or non-static IP addresses.
|
||||||
|
- small and lean configuration file.
|
||||||
|
- free, modern and open source C source code.
|
||||||
|
- still under active development.
|
||||||
|
.
|
||||||
|
ngIRCd is compatible to the "original" ircd 2.10.3p3, so you can run
|
||||||
|
mixed networks.
|
13
debian/copyright
vendored
Normal file
13
debian/copyright
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
This package was debianized by Alexander Barton <alex@barton.de> on
|
||||||
|
Tue, 20 May 2003 15:47:40 +0200.
|
||||||
|
|
||||||
|
It was downloaded from ftp://Arthur.Ath.CX/pub/Users/alex/ngircd/
|
||||||
|
|
||||||
|
Upstream Author(s): Alexander Barton <alex@barton.de>
|
||||||
|
|
||||||
|
This software is copyright (c) 1999-2003 by Alexander Barton.
|
||||||
|
|
||||||
|
You are free to distribute this software under the terms of the
|
||||||
|
GNU General Public License.
|
||||||
|
On Debian systems, the complete text of the GNU General Public
|
||||||
|
License can be found in /usr/share/common-licenses/GPL file.
|
71
debian/ngircd.init
vendored
Normal file
71
debian/ngircd.init
vendored
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# ngIRCd start and stop script for Debian-based systems
|
||||||
|
#
|
||||||
|
# $Id: ngircd.init,v 1.1.2.1 2003/07/09 21:12:00 alex Exp $
|
||||||
|
#
|
||||||
|
|
||||||
|
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
|
||||||
|
DAEMON=/usr/sbin/ngircd
|
||||||
|
NAME=ngIRCd
|
||||||
|
DESC="IRC daemon"
|
||||||
|
PARAMS=""
|
||||||
|
|
||||||
|
test -x $DAEMON || exit 0
|
||||||
|
|
||||||
|
test -f /etc/default/ngircd && . /etc/default/ngircd
|
||||||
|
|
||||||
|
Check_Config()
|
||||||
|
{
|
||||||
|
$DAEMON --configtest >/dev/null 2>&1
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "Configuration of $NAME is not valide, won't (re)start!"
|
||||||
|
echo "Please run \"$DAEMON --configtest\" manually and fix it up ..."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
Try_Start()
|
||||||
|
{
|
||||||
|
start-stop-daemon --start --quiet --exec $DAEMON -- $PARAMS
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "$NAME failed!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
echo "$NAME."
|
||||||
|
}
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
start)
|
||||||
|
Check_Config
|
||||||
|
echo -n "Starting $DESC: "
|
||||||
|
Try_Start
|
||||||
|
;;
|
||||||
|
stop)
|
||||||
|
echo -n "Stopping $DESC: "
|
||||||
|
start-stop-daemon --stop --quiet --exec $DAEMON \
|
||||||
|
&& echo "$NAME." \
|
||||||
|
|| echo "(none running)"
|
||||||
|
;;
|
||||||
|
reload|force-reload)
|
||||||
|
Check_Config
|
||||||
|
echo "Reloading $DESC configuration files."
|
||||||
|
start-stop-daemon --stop --signal 1 --quiet --exec $DAEMON
|
||||||
|
;;
|
||||||
|
restart)
|
||||||
|
Check_Config
|
||||||
|
echo -n "Restarting $DESC: "
|
||||||
|
start-stop-daemon --stop --quiet --oknodo --exec $DAEMON
|
||||||
|
sleep 1
|
||||||
|
Try_Start
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
N=/etc/init.d/$NAME
|
||||||
|
echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
# -eof-
|
94
debian/rules
vendored
Normal file
94
debian/rules
vendored
Normal file
@ -0,0 +1,94 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
# debian/rules for ngIRCd
|
||||||
|
#
|
||||||
|
# $Id: rules,v 1.1.2.1 2003/07/09 21:12:00 alex Exp $
|
||||||
|
#
|
||||||
|
# Based on the 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
|
||||||
|
|
||||||
|
# These are used for cross-compiling and for saving the configure script
|
||||||
|
# from having to guess our platform (since we know it already)
|
||||||
|
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
||||||
|
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
||||||
|
|
||||||
|
CFLAGS = -Wall -g
|
||||||
|
|
||||||
|
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||||
|
CFLAGS += -O0
|
||||||
|
else
|
||||||
|
CFLAGS += -O2
|
||||||
|
endif
|
||||||
|
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
|
||||||
|
INSTALL_PROGRAM += -s
|
||||||
|
endif
|
||||||
|
|
||||||
|
config.status: configure
|
||||||
|
dh_testdir
|
||||||
|
# Add here commands to configure the package.
|
||||||
|
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
|
||||||
|
--prefix=/usr --sysconfdir=/etc/ngircd --mandir=\$${prefix}/share/man \
|
||||||
|
--with-syslog --with-zlib
|
||||||
|
|
||||||
|
build: build-stamp
|
||||||
|
|
||||||
|
build-stamp: config.status
|
||||||
|
dh_testdir
|
||||||
|
|
||||||
|
# Add here commands to compile the package.
|
||||||
|
$(MAKE)
|
||||||
|
|
||||||
|
touch build-stamp
|
||||||
|
|
||||||
|
clean:
|
||||||
|
dh_testdir
|
||||||
|
dh_testroot
|
||||||
|
rm -f build-stamp
|
||||||
|
|
||||||
|
# Add here commands to clean up after the build process.
|
||||||
|
-$(MAKE) distclean
|
||||||
|
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
|
||||||
|
cp -f /usr/share/misc/config.sub config.sub
|
||||||
|
endif
|
||||||
|
ifneq "$(wildcard /usr/share/misc/config.guess)" ""
|
||||||
|
cp -f /usr/share/misc/config.guess config.guess
|
||||||
|
endif
|
||||||
|
dh_clean
|
||||||
|
|
||||||
|
install: build
|
||||||
|
dh_testdir
|
||||||
|
dh_testroot
|
||||||
|
dh_clean -k
|
||||||
|
dh_installdirs
|
||||||
|
|
||||||
|
# Add here commands to install the package into debian/ngircd.
|
||||||
|
$(MAKE) install DESTDIR=$(CURDIR)/debian/ngircd
|
||||||
|
|
||||||
|
|
||||||
|
# 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_installchangelogs ChangeLog
|
||||||
|
dh_installdocs
|
||||||
|
dh_installinit
|
||||||
|
dh_strip
|
||||||
|
dh_compress
|
||||||
|
dh_fixperms -Xetc/ngircd.conf
|
||||||
|
dh_installdeb
|
||||||
|
dh_shlibdeps
|
||||||
|
dh_gencontrol
|
||||||
|
dh_md5sums
|
||||||
|
dh_builddeb
|
||||||
|
|
||||||
|
binary: binary-indep binary-arch
|
||||||
|
.PHONY: build clean binary-indep binary-arch binary install
|
||||||
|
|
||||||
|
# -eof-
|
Loading…
x
Reference in New Issue
Block a user