Skip site navigation (1)Skip section navigation (2)
Date:      18 Jun 2001 13:08:40 -0000
From:      brian@mail.corp.yellowbrix.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/28256: New port: citadel-5.74
Message-ID:  <20010618130840.37241.qmail@mail.corp.yellowbrix.com>

next in thread | raw e-mail | index | archive | help

>Number:         28256
>Category:       ports
>Synopsis:       New port: citadel-5.74
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 18 06:10:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Brian Ledbetter
>Release:        FreeBSD 4.3-RELEASE i386
>Organization:
ShadowCom.net
>Environment:
System: FreeBSD yep.axva.yellowbrix.com 4.3-RELEASE FreeBSD 4.3-RELEASE #1: Wed May 30 09:07:06 EDT 2001 bledbett@yep.axva.yellowbrix.com:/usr/src/sys/compile/SPARCLIKE i386


>Description:
Citadel/UX Communications Server
Copyright (c) 1987-2001 by Art Cancro.
Portions (c) 1998-2001 by Nathan Bryant, Brian Costello, and Ben Mehlman.
Documentation (c) 2000 by Steve Williams.
HP/UX compatibility layer (c) 2000 by Michael Bremen.
base64 encoding/decoding for MIME parser, public domain by John Walker.
'parsedate' function, public domain by Steven M. Bellovin, et. al.

Source: http://uncensored.citadel.org/citadel/
Author: Art J. Cancro <ajc@uncensored.citadel.org>
Revision: 5.74

The Citadel/UX Communications Server provides your
enterprise with a powerful alternative to products
such as Microsoft Exchange.  Citadel/UX provides you
with:

  - Internet E-Mail (SMTP, POP3 servers built-in)
  - Real-time Chatting
  - Instant Messaging

Work is currently under progress to add group-scheduling
and other features to the server.  Refer to the link
above for more information about the Citadel/UX Project.

--
Brian Ledbetter <brian@shadowcom.net>

>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/net/citadel
#	/usr/ports/net/citadel/Makefile
#	/usr/ports/net/citadel/pkg-descr
#	/usr/ports/net/citadel/pkg-comment
#	/usr/ports/net/citadel/pkg-plist
#	/usr/ports/net/citadel/distinfo
#	/usr/ports/net/citadel/pkg-message
#	/usr/ports/net/citadel/files
#	/usr/ports/net/citadel/files/patch-aa
#	/usr/ports/net/citadel/files/patch-ab
#	/usr/ports/net/citadel/files/patch-ac
#	/usr/ports/net/citadel/files/patch-ad
#	/usr/ports/net/citadel/files/patch-ae
#	/usr/ports/net/citadel/files/patch-ag
#	/usr/ports/net/citadel/files/patch-af
#	/usr/ports/net/citadel/files/patch-ah
#	/usr/ports/net/citadel/files/patch-ai
#	/usr/ports/net/citadel/files/patch-aj
#	/usr/ports/net/citadel/files/patch-ak
#	/usr/ports/net/citadel/pkg-install
#
echo c - /usr/ports/net/citadel
mkdir -p /usr/ports/net/citadel > /dev/null 2>&1
echo x - /usr/ports/net/citadel/Makefile
sed 's/^X//' >/usr/ports/net/citadel/Makefile << 'END-of-/usr/ports/net/citadel/Makefile'
X# New ports collection makefile for:    Citadel/UX
X# Date created:         Tue Jun 12 15:42:14 EDT 2001
X# Whom:                 brian@shadowcom.net
X#
X# $FreeBSD$
X#
X
XPORTNAME=	citadel
XPORTVERSION=	5.74
XDISTNAME=	citadel-ux-5.74
XWRKSRC=		work/citadel
XCATEGORIES=	deskutils
XMASTER_SITES=	ftp://ftp.tux.org/pub/net/citadel/ \
X		http://www.shadowcom.net/Software/Citadel-UX/
X
XMAINTAINER=	brian@shadowcom.net
X
XLIB_DEPENDS=    gdbm:${PORTSDIR}/databases/gdbm
X
XGNU_CONFIGURE=  yes
XUSE_GMAKE=      yes
X
Xpost-install:
X	strip ${PREFIX}/bin/aidepost
X	strip ${PREFIX}/bin/base64
X	strip ${PREFIX}/bin/citadel
X	strip ${PREFIX}/bin/citmail
X	strip ${PREFIX}/bin/citserver
X	strip ${PREFIX}/bin/mailinglist
X	strip ${PREFIX}/bin/msgform
X	strip ${PREFIX}/bin/netmailer
X	strip ${PREFIX}/bin/netpoll
X	strip ${PREFIX}/bin/netproc
X	strip ${PREFIX}/bin/netsetup
X	strip ${PREFIX}/bin/qpdecode
X	strip ${PREFIX}/bin/rcit
X	strip ${PREFIX}/bin/readlog
X	strip ${PREFIX}/bin/sendcommand
X	strip ${PREFIX}/bin/citsetup
X	strip ${PREFIX}/bin/stats
X	strip ${PREFIX}/bin/userlist
X	strip ${PREFIX}/bin/whobbs
X	strip ${PREFIX}/share/citadel/modules/*.so
X	${PREFIX}/bin/citsetup
X	cat ./pkg-message
X
X.include <bsd.port.mk>
END-of-/usr/ports/net/citadel/Makefile
echo x - /usr/ports/net/citadel/pkg-descr
sed 's/^X//' >/usr/ports/net/citadel/pkg-descr << 'END-of-/usr/ports/net/citadel/pkg-descr'
XCitadel/UX Communications Server
XCopyright (c) 1987-2001 by Art Cancro.
XPortions (c) 1998-2001 by Nathan Bryant, Brian Costello, and Ben Mehlman.
XDocumentation (c) 2000 by Steve Williams.
XHP/UX compatibility layer (c) 2000 by Michael Bremen.
Xbase64 encoding/decoding for MIME parser, public domain by John Walker.
X'parsedate' function, public domain by Steven M. Bellovin, et. al.
X
XSource: http://uncensored.citadel.org/citadel/
XAuthor: Arthur J. Cancro <ajc@uncensored.citadel.org>
XRevision: 5.74
X
XThe Citadel/UX Communications Server provides your
Xenterprise with a powerful alternative to products
Xsuch as Microsoft Exchange.  Citadel/UX provides you
Xwith:
X
X  - Internet E-Mail (SMTP, POP3 servers built-in)
X  - Real-time Chatting
X  - Instant Messaging
X
XWork is currently under progress to add group-scheduling
Xand other features to the server.  Refer to the link
Xabove for more information about the Citadel/UX Project.
X
X--
XBrian Ledbetter <brian@shadowcom.net>
END-of-/usr/ports/net/citadel/pkg-descr
echo x - /usr/ports/net/citadel/pkg-comment
sed 's/^X//' >/usr/ports/net/citadel/pkg-comment << 'END-of-/usr/ports/net/citadel/pkg-comment'
XCitadel/UX Communications Server
END-of-/usr/ports/net/citadel/pkg-comment
echo x - /usr/ports/net/citadel/pkg-plist
sed 's/^X//' >/usr/ports/net/citadel/pkg-plist << 'END-of-/usr/ports/net/citadel/pkg-plist'
X@group 3
X@mode 755
X@name citadel-5.74
X@owner 0
Xbin/aidepost
Xbin/base64
Xbin/chkpwd
Xbin/citadel
Xbin/citmail
Xbin/citserver
Xbin/citsetup
Xbin/dnetsetup
Xbin/mailinglist
Xbin/msgform
Xbin/netmailer
Xbin/netpoll
Xbin/netproc
Xbin/netsetup
Xbin/qpdecode
Xbin/rcit
Xbin/readlog
Xbin/sendcommand
Xbin/stats
Xbin/userlist
Xbin/utilsmenu
Xbin/weekly
Xbin/whobbs
Xetc/rc.d/citadel.sh.example
Xshare/citadel/citadel.rc
Xshare/citadel/files/README
Xshare/citadel/help/?
Xshare/citadel/help/aide
Xshare/citadel/help/floors
Xshare/citadel/help/hours
Xshare/citadel/help/intro
Xshare/citadel/help/mail
Xshare/citadel/help/network
Xshare/citadel/help/nice
Xshare/citadel/help/policy
Xshare/citadel/help/software
Xshare/citadel/help/summary
Xshare/citadel/messages/aideopt
Xshare/citadel/messages/changepw
Xshare/citadel/messages/dotopt
Xshare/citadel/messages/entermsg
Xshare/citadel/messages/entopt
Xshare/citadel/messages/goodbye
Xshare/citadel/messages/hello
Xshare/citadel/messages/help
Xshare/citadel/messages/mainmenu
Xshare/citadel/messages/newuser
Xshare/citadel/messages/readopt
Xshare/citadel/messages/register
Xshare/citadel/messages/roomaccess
Xshare/citadel/messages/unlisted
Xshare/citadel/modules/serv_bio.so
Xshare/citadel/modules/serv_chat.so
Xshare/citadel/modules/serv_expire.so
Xshare/citadel/modules/serv_imap.so
Xshare/citadel/modules/serv_inetcfg.so
Xshare/citadel/modules/serv_moderate.so
Xshare/citadel/modules/serv_network.so
Xshare/citadel/modules/serv_pas2.so
Xshare/citadel/modules/serv_pop3.so
Xshare/citadel/modules/serv_rwho.so
Xshare/citadel/modules/serv_smtp.so
Xshare/citadel/modules/serv_upgrade.so
Xshare/citadel/modules/serv_vandelay.so
Xshare/citadel/modules/serv_vcard.so
Xshare/citadel/public_clients
Xshare/doc/citadel/techdoc/PAM.txt
Xshare/doc/citadel/techdoc/build.txt
Xshare/doc/citadel/techdoc/chat.txt
Xshare/doc/citadel/techdoc/citadelapi.txt
Xshare/doc/citadel/techdoc/delivery-list.txt
Xshare/doc/citadel/techdoc/developers.txt
Xshare/doc/citadel/techdoc/hack.txt
Xshare/doc/citadel/techdoc/moderation.txt
Xshare/doc/citadel/techdoc/netconfigs.txt
Xshare/doc/citadel/techdoc/session.txt
Xshare/doc/citadel/docs/COPYING.txt
Xshare/doc/citadel/docs/chat.txt
Xshare/doc/citadel/docs/copyright.txt
Xshare/doc/citadel/docs/inetmailsetup.txt
Xshare/doc/citadel/docs/inetmailsetupmx.txt
Xshare/doc/citadel/docs/inetsiteconfig.txt
Xshare/doc/citadel/docs/install.txt
Xshare/doc/citadel/docs/mailinglists.txt
Xshare/doc/citadel/docs/netsetup.txt
Xshare/doc/citadel/docs/network.txt
Xshare/doc/citadel/docs/room-sharing-howto.txt
Xshare/doc/citadel/docs/siteconfig.txt
Xshare/doc/citadel/docs/sysop.txt
Xshare/doc/citadel/docs/upgrading.txt
Xshare/doc/citadel/docs/utils.txt
Xshare/doc/citadel/docs/import-export.txt
X@dirrm share/citadel/bio
X@dirrm share/citadel/bitbucket
X@dirrm share/citadel/data
X@dirrm share/citadel/files
X@dirrm share/citadel/help
X@dirrm share/citadel/images
X@dirrm share/citadel/info
X@dirrm share/citadel/messages
X@dirrm share/citadel/modules
X@dirrm share/citadel/netconfigs
X@dirrm share/citadel/network
X@dirrm share/citadel/userpics
X@dirrm share/citadel
X@dirrm share/doc/citadel/docs
X@dirrm share/doc/citadel/techdoc
X@dirrm share/doc/citadel
END-of-/usr/ports/net/citadel/pkg-plist
echo x - /usr/ports/net/citadel/distinfo
sed 's/^X//' >/usr/ports/net/citadel/distinfo << 'END-of-/usr/ports/net/citadel/distinfo'
XMD5 (citadel-ux-5.74.tar.gz) = 76bb85004981f7b5097bc4fd0a28db23
END-of-/usr/ports/net/citadel/distinfo
echo x - /usr/ports/net/citadel/pkg-message
sed 's/^X//' >/usr/ports/net/citadel/pkg-message << 'END-of-/usr/ports/net/citadel/pkg-message'
X
XCitadel/UX Communications Server 5.74 been installed
Xon your computer.  You may start the Server now by
Xtyping:
X
X  ${PREFIX}/bin/citserver -t/var/log/citadel.log -d
X
Xand you can connect to your server by using:
X
X  ${PREFIX}/bin/citadel
X
XTo start the server up with your computer, rename
X/usr/local/etc/rc.d/citadel.sh.example to
X/usr/local/etc/rc.d/citadel.sh
X
XPlease refer to ${PREFIX}/share/doc/citadel/ for
Xmore information about configuring and using your
Xnew Citadel/UX Server.  Documentation can also be
Xfound at http://uncensored.citadel.org/citadel/
X
END-of-/usr/ports/net/citadel/pkg-message
echo c - /usr/ports/net/citadel/files
mkdir -p /usr/ports/net/citadel/files > /dev/null 2>&1
echo x - /usr/ports/net/citadel/files/patch-aa
sed 's/^X//' >/usr/ports/net/citadel/files/patch-aa << 'END-of-/usr/ports/net/citadel/files/patch-aa'
X*** Makefile.in.orig	Tue Sep  5 14:55:25 2000
X--- Makefile.in	Wed Jun 13 09:53:54 2001
X***************
X*** 24,30 ****
X  CX=@CX@
X  
X  CLIENT_TARGETS=citadel$(EXEEXT) whobbs$(EXEEXT)
X! SERVER_TARGETS=citserver setup $(CHKPWD)
X  SERV_MODULES=modules/serv_chat$(SO) modules/serv_vcard$(SO) \
X  	modules/serv_upgrade$(SO) \
X  	modules/serv_smtp$(SO) \
X--- 24,30 ----
X  CX=@CX@
X  
X  CLIENT_TARGETS=citadel$(EXEEXT) whobbs$(EXEEXT)
X! SERVER_TARGETS=citserver citsetup $(CHKPWD)
X  SERV_MODULES=modules/serv_chat$(SO) modules/serv_vcard$(SO) \
X  	modules/serv_upgrade$(SO) \
X  	modules/serv_smtp$(SO) \
X***************
X*** 274,281 ****
X  mailinglist: mailinglist.o config.o internetmail.o
X  	$(CC) mailinglist.o config.o internetmail.o $(LDFLAGS) -o mailinglist
X  
X! setup: setup.o tools.o
X! 	$(CC) setup.o tools.o $(CURSES) $(NETLIBS) $(LDFLAGS) -o setup
X  
X  chkpwd: chkpwd.o auth.o config.o
X  	$(CC) chkpwd.o auth.o config.o $(LDFLAGS) -o chkpwd $(chkpwd_LIBS)
X--- 274,281 ----
X  mailinglist: mailinglist.o config.o internetmail.o
X  	$(CC) mailinglist.o config.o internetmail.o $(LDFLAGS) -o mailinglist
X  
X! citsetup: setup.o tools.o
X! 	$(CC) setup.o tools.o $(CURSES) $(NETLIBS) $(LDFLAGS) -o citsetup
X  
X  chkpwd: chkpwd.o auth.o config.o
X  	$(CC) chkpwd.o auth.o config.o $(LDFLAGS) -o chkpwd $(chkpwd_LIBS)
X***************
X*** 322,367 ****
X  install-data:
X  	@for i in help messages network/spoolin network/spoolout \
X  		 network/systems; do \
X! 		$(srcdir)/mkinstalldirs $(root)$(prefix)/$$i; \
X  	done
X  	@for i in citadel.rc public_clients \
X  		 `find $(srcdir)/help $(srcdir)/messages $(srcdir)/network -type f | grep -v CVS`; do \
X! 		echo $(INSTALL_DATA) $$i $(root)$(prefix)/$$i; \
X! 		$(INSTALL_DATA) $$i $(root)$(prefix)/$$i; \
X  	done
X  	-@if test -d $(root)/etc/pam.d; then \
X! 		echo $(INSTALL_DATA) $(srcdir)/citadel.pam $(root)/etc/pam.d/citadel; \
X! 		$(INSTALL_DATA) $(srcdir)/citadel.pam $(root)/etc/pam.d/citadel; \
X  	fi
X  
X  install-doc:
X! 	@$(srcdir)/mkinstalldirs $(root)$(prefix)/techdoc
X  	@for i in `find $(srcdir)/techdoc -type f | grep -v CVS`; do \
X! 		echo $(INSTALL_DATA) $$i $(root)$(prefix)/$$i; \
X! 		$(INSTALL_DATA) $$i $(root)$(prefix)/$$i; \
X  	done
X  
X  install-exec: all weekly
X  	@for i in bio bitbucket files images info modules userpics; do \
X! 		$(srcdir)/mkinstalldirs $(root)$(prefix)/$$i; \
X  	done
X  	@for i in $(CLIENT_TARGETS) $(SERVER_TARGETS) $(UTIL_TARGETS) \
X! 		 $(PROXY_TARGETS) $(SERV_MODULES) ; do \
X  		if test -f $$i; then \
X! 			echo $(INSTALL) $$i $(root)$(prefix)/$$i; \
X! 			$(INSTALL) $$i $(root)$(prefix)/$$i; \
X  		fi \
X  	done
X  	@for i in utilsmenu weekly dnetsetup; do \
X  		if test -f $(srcdir)/$$i; then \
X! 			echo $(INSTALL) $(srcdir)/$$i $(root)$(prefix)/$$i; \
X! 			$(INSTALL) $(srcdir)/$$i $(root)$(prefix)/$$i; \
X  		fi \
X  	done
X! 	@if test x`find $(root)$(prefix)/chkpwd -user root` = x$(root)$(prefix)/chkpwd; then \
X! 		echo chmod u+s $(root)$(prefix)/chkpwd; \
X! 		chmod u+s $(root)$(prefix)/chkpwd; \
X! 	fi
X  
X  clean:
X  	rm -f *.o *.ro *.mo
X--- 322,379 ----
X  install-data:
X  	@for i in help messages network/spoolin network/spoolout \
X  		 network/systems; do \
X! 		$(srcdir)/mkinstalldirs $(root)$(prefix)/share/citadel/$$i; \
X  	done
X  	@for i in citadel.rc public_clients \
X  		 `find $(srcdir)/help $(srcdir)/messages $(srcdir)/network -type f | grep -v CVS`; do \
X! 		echo $(INSTALL_DATA) $$i $(root)$(prefix)/share/citadel/$$i; \
X! 		$(INSTALL_DATA) $$i $(root)$(prefix)/share/citadel/$$i; \
X  	done
X  	-@if test -d $(root)/etc/pam.d; then \
X! 		echo $(INSTALL_DATA) $(srcdir)/citadel.pam $(root)$(prefix)/etc/pam.d/citadel; \
X! 		$(INSTALL_DATA) $(srcdir)/citadel.pam $(root)$(prefix)/etc/pam.d/citadel; \
X  	fi
X  
X  install-doc:
X! 	@$(srcdir)/mkinstalldirs $(root)$(prefix)/share/doc/citadel/techdoc
X  	@for i in `find $(srcdir)/techdoc -type f | grep -v CVS`; do \
X! 		echo $(INSTALL_DATA) $$i $(root)$(prefix)/share/doc/citadel/$$i; \
X! 		$(INSTALL_DATA) $$i $(root)$(prefix)/share/doc/citadel/$$i; \
X! 	done
X! 	@$(srcdir)/mkinstalldirs $(root)$(prefix)/share/doc/citadel/docs
X! 	@for i in `find $(srcdir)/docs -type f | grep -v CVS`; do \
X! 		echo $(INSTALL_DATA) $$i $(root)$(prefix)/share/doc/citadel/$$i; \
X! 		$(INSTALL_DATA) $$i $(root)$(prefix)/share/doc/citadel/$$i; \
X  	done
X  
X  install-exec: all weekly
X  	@for i in bio bitbucket files images info modules userpics; do \
X! 		$(srcdir)/mkinstalldirs $(root)$(prefix)/share/citadel/$$i; \
X  	done
X+ 	@echo "This directory contains upload/download files." > $(root)$(prefix)/share/citadel/files/README
X  	@for i in $(CLIENT_TARGETS) $(SERVER_TARGETS) $(UTIL_TARGETS) \
X! 		 $(PROXY_TARGETS) ; do \
X  		if test -f $$i; then \
X! 			echo $(INSTALL) $$i $(root)$(prefix)/bin/$$i; \
X! 			$(INSTALL) $$i $(root)$(prefix)/bin/$$i; \
X! 		fi \
X! 	done
X! 	@for i in $(SERV_MODULES) ; do \
X! 		if test -f $$i; then \
X! 			echo $(INSTALL) $$i $(root)$(prefix)/share/citadel/$$i; \
X! 			$(INSTALL) $$i $(root)$(prefix)/share/citadel/$$i; \
X  		fi \
X  	done
X  	@for i in utilsmenu weekly dnetsetup; do \
X  		if test -f $(srcdir)/$$i; then \
X! 			echo $(INSTALL) $(srcdir)/$$i $(root)$(prefix)/bin/$$i; \
X! 			$(INSTALL) $(srcdir)/$$i $(root)$(prefix)/bin/$$i; \
X  		fi \
X  	done
X! 	echo $(srcdir)/mkinstalldirs $(root)$(prefix)/etc/rc.d
X! 	$(srcdir)/mkinstalldirs $(root)$(prefix)/etc/rc.d
X! 	echo $(INSTALL) $(srcdir)/rc-startup-citadel.sh $(root)$(prefix)/etc/rc.d/citadel.sh.example
X! 	$(INSTALL) $(srcdir)/rc-startup-citadel.sh $(root)$(prefix)/etc/rc.d/citadel.sh.example
X  
X  clean:
X  	rm -f *.o *.ro *.mo
END-of-/usr/ports/net/citadel/files/patch-aa
echo x - /usr/ports/net/citadel/files/patch-ab
sed 's/^X//' >/usr/ports/net/citadel/files/patch-ab << 'END-of-/usr/ports/net/citadel/files/patch-ab'
X*** configure.orig	Tue Jun 12 17:04:41 2001
X--- configure	Tue Jun 12 17:05:01 2001
X***************
X*** 536,547 ****
X  
X  if test "$prefix" = NONE; then
X  	cat >> confdefs.h <<EOF
X! #define BBSDIR "$ac_default_prefix"
X  EOF
X  
X  else
X  	cat >> confdefs.h <<EOF
X! #define BBSDIR "$prefix"
X  EOF
X  
X  fi
X--- 536,549 ----
X  
X  if test "$prefix" = NONE; then
X  	cat >> confdefs.h <<EOF
X! #define BBSDIR "$ac_default_prefix/share/citadel"
X! #define BINDIR "$ac_default_prefix/bin"
X  EOF
X  
X  else
X  	cat >> confdefs.h <<EOF
X! #define BBSDIR "$prefix/share/citadel"
X! #define BINDIR "$prefix/bin"
X  EOF
X  
X  fi
END-of-/usr/ports/net/citadel/files/patch-ab
echo x - /usr/ports/net/citadel/files/patch-ac
sed 's/^X//' >/usr/ports/net/citadel/files/patch-ac << 'END-of-/usr/ports/net/citadel/files/patch-ac'
X*** setup.c.orig	Tue Sep  5 14:35:25 2000
X--- setup.c	Tue Jun 12 19:24:13 2001
X***************
X*** 59,71 ****
X  {
X  
X  "0",
X! "Enter the full pathname of the directory in which the BBS you are",
X! "creating or updating resides.  If you specify a directory other than the",
X! "default, you will need to specify the -h flag to the server when you start",
X! "it up.",
X  
X  "1",
X! "Enter the name of the system administrator (which is probably you).",
X  "When an account is created with this name, it will automatically be",
X  "assigned the highest access level.",
X  
X--- 59,71 ----
X  {
X  
X  "0",
X! "Enter the full pathname to the directory which holds the configuration",
X! "files for the BBS that you are creating or upgrading resides.  If you",
X! "specify a directory other than the default, you will need to specify",
X! "the -h flag to the server when you start citserver.",
X  
X  "1",
X! "Enter the account name of the system administrator (which is probably you).",
X  "When an account is created with this name, it will automatically be",
X  "assigned the highest access level.",
X  
X***************
X*** 468,474 ****
X  	char entryname[3];
X  
X  	/* Determine the fully qualified path name of citserver */
X! 	sprintf(looking_for, "%s/citserver ", BBSDIR);
X  
X  	/* Pound through /etc/inittab line by line.  Set have_entry to 1 if
X  	 * an entry is found which we believe starts citserver.
X--- 468,474 ----
X  	char entryname[3];
X  
X  	/* Determine the fully qualified path name of citserver */
X! 	sprintf(looking_for, "%s/citserver ", BINDIR);
X  
X  	/* Pound through /etc/inittab line by line.  Set have_entry to 1 if
X  	 * an entry is found which we believe starts citserver.
END-of-/usr/ports/net/citadel/files/patch-ac
echo x - /usr/ports/net/citadel/files/patch-ad
sed 's/^X//' >/usr/ports/net/citadel/files/patch-ad << 'END-of-/usr/ports/net/citadel/files/patch-ad'
X*** user_ops.c.orig	Tue Jun 12 19:25:41 2001
X--- user_ops.c	Tue Jun 12 19:25:48 2001
X***************
X*** 434,441 ****
X  			}
X  		close(pipev[0]);
X  
X! 		execl(BBSDIR "/chkpwd", BBSDIR "/chkpwd", NULL);
X! 		perror(BBSDIR "/chkpwd");
X  		exit(1);
X  		}
X  
X--- 434,441 ----
X  			}
X  		close(pipev[0]);
X  
X! 		execl(BINDIR "/chkpwd", BINDIR "/chkpwd", NULL);
X! 		perror(BINDIR "/chkpwd");
X  		exit(1);
X  		}
X  
END-of-/usr/ports/net/citadel/files/patch-ad
echo x - /usr/ports/net/citadel/files/patch-ae
sed 's/^X//' >/usr/ports/net/citadel/files/patch-ae << 'END-of-/usr/ports/net/citadel/files/patch-ae'
X*** weekly.in.orig	Tue Jun 12 19:27:37 2001
X--- weekly.in	Tue Jun 12 19:27:06 2001
X***************
X*** 7,14 ****
X  # $Id: weekly.in,v 573.0 2000/09/05 18:35:25 ajc Exp $
X  # 
X  
X! [ x$BBSDIR = x ] && BBSDIR=@prefix@
X! [ x$EXECDIR = x ] && EXECDIR=$BBSDIR
X  
X  cd $BBSDIR || exit
X  
X--- 7,14 ----
X  # $Id: weekly.in,v 573.0 2000/09/05 18:35:25 ajc Exp $
X  # 
X  
X! [ x$BBSDIR = x ] && BBSDIR=@prefix@/share/citadel
X! [ x$EXECDIR = x ] && EXECDIR=@prefix@/bin
X  
X  cd $BBSDIR || exit
X  
END-of-/usr/ports/net/citadel/files/patch-ae
echo x - /usr/ports/net/citadel/files/patch-ag
sed 's/^X//' >/usr/ports/net/citadel/files/patch-ag << 'END-of-/usr/ports/net/citadel/files/patch-ag'
X*** rc-startup-citadel.sh.orig	Wed Jun 13 08:53:57 2001
X--- rc-startup-citadel.sh	Wed Jun 13 08:56:43 2001
X***************
X*** 0 ****
X--- 1,21 ----
X+ #!/bin/sh
X+ 
X+ PREFIX=/usr/local
X+ LOGTO=/var/log/citadel.log
X+ 
X+ case $1 in
X+ 	[Ss][Tt][Aa][Rr][Tt])
X+ 		if [ -x "${PREFIX}/bin/citserver" ]; then
X+ 			${PREFIX}/bin/citserver -t${LOGTO} -d
X+ 			echo -n " Citadel/UX"
X+ 		fi
X+ 	;;
X+ 
X+ 	[Ss][Tt][Oo][Pp])
X+ 		ps -auxwww | grep citserver | grep -v grep | awk '{print $2}' | xargs kill
X+ 	;;
X+ 
X+ 	*)
X+ 		echo "Usage:	$0 [start|stop]"
X+ 	;;
X+ esac
END-of-/usr/ports/net/citadel/files/patch-ag
echo x - /usr/ports/net/citadel/files/patch-af
sed 's/^X//' >/usr/ports/net/citadel/files/patch-af << 'END-of-/usr/ports/net/citadel/files/patch-af'
X*** sysdep.h.in.orig	Tue Jun 12 19:32:04 2001
X--- sysdep.h.in	Tue Jun 12 19:32:28 2001
X***************
X*** 36,41 ****
X--- 36,44 ----
X  /* define this to the bbs home directory */
X  #undef BBSDIR
X  
X+ /* define this to the Citadel/UX binaries directory */
X+ #undef BINDIR
X+ 
X  /* define this to enable the autologin feature */
X  #undef ENABLE_AUTOLOGIN
X  
END-of-/usr/ports/net/citadel/files/patch-af
echo x - /usr/ports/net/citadel/files/patch-ah
sed 's/^X//' >/usr/ports/net/citadel/files/patch-ah << 'END-of-/usr/ports/net/citadel/files/patch-ah'
X*** sysdep.c.orig	Tue Sep  5 14:35:25 2000
X--- sysdep.c	Wed Jun 13 09:32:44 2001
X***************
X*** 35,42 ****
X--- 35,47 ----
X  #include <stdarg.h>
X  #include <syslog.h>
X  #include <grp.h>
X+ #if (defined(__unix__) || defined(unix)) && !defined(USG)
X+ #include <sys/param.h>
X+ #endif
X+ #if !defined(BSD)
X  #ifdef __GNUC__
X  #include <malloc.h>
X+ #endif
X  #endif
X  #ifdef HAVE_PTHREAD_H
X  #include <pthread.h>
END-of-/usr/ports/net/citadel/files/patch-ah
echo x - /usr/ports/net/citadel/files/patch-ai
sed 's/^X//' >/usr/ports/net/citadel/files/patch-ai << 'END-of-/usr/ports/net/citadel/files/patch-ai'
X*** netmailer.c.orig	Wed Jun 13 09:37:35 2001
X--- netmailer.c	Wed Jun 13 09:39:48 2001
X***************
X*** 201,212 ****
X  	char subject[256];
X  	time_t mid_buf;
X  	time_t now;
X  	int mlist = 0;
X  
X  	openlog("netmailer", LOG_PID, LOG_USER);
X  	get_config();
X  	LoadInternetConfig();
X! 	strcpy(temp, tmpnam(NULL));	/* temp file name */
X  
X  	if ((argc < 2) || (argc > 3)) {
X  		fprintf(stderr, "netmailer: usage: "
X--- 201,213 ----
X  	char subject[256];
X  	time_t mid_buf;
X  	time_t now;
X+ 	int fh;
X  	int mlist = 0;
X  
X  	openlog("netmailer", LOG_PID, LOG_USER);
X  	get_config();
X  	LoadInternetConfig();
X! /*	strcpy(temp, tmpnam(NULL));	/* temp file name */
X  
X  	if ((argc < 2) || (argc > 3)) {
X  		fprintf(stderr, "netmailer: usage: "
X***************
X*** 223,231 ****
X  		mlist = 1;
X  	}
X  	/* convert to ASCII & get info */
X! 	fp = fopen(temp, "w");
X  	msgform(argv[1], fp, sbuf, rbuf, nbuf, pbuf, &mid_buf, rmname, subject);
X  	fclose(fp);
X  
X  	strcpy(buf, rmname);
X  	strcpy(rmname, "room_");
X--- 224,236 ----
X  		mlist = 1;
X  	}
X  	/* convert to ASCII & get info */
X! /*	fp = fopen(temp, "w"); */
X! 	fh = mkstemp( "/tmp/netmailer.XXXXXXXX" );
X! 	fp = fdopen( fh, "w" );
X! 
X  	msgform(argv[1], fp, sbuf, rbuf, nbuf, pbuf, &mid_buf, rmname, subject);
X  	fclose(fp);
X+ 	close(fh);
X  
X  	strcpy(buf, rmname);
X  	strcpy(rmname, "room_");
END-of-/usr/ports/net/citadel/files/patch-ai
echo x - /usr/ports/net/citadel/files/patch-aj
sed 's/^X//' >/usr/ports/net/citadel/files/patch-aj << 'END-of-/usr/ports/net/citadel/files/patch-aj'
X*** messages/goodbye.orig	Tue Sep  5 15:08:12 2000
X--- messages/goodbye	Wed Jun 13 10:44:19 2001
X***************
X*** 1,7 ****
X   
X!   < this logoff banner resides in ./messages/goodbye >
X!  
X!  Thanks for calling ^humannode - please call again soon!
X!  
X   Also be sure to visit UNCENSORED! BBS at uncensored.citadel.org
X  
X--- 1,6 ----
X+  Citadel/UX Communications Server - Powered by FreeBSD/i386 
X   
X!   < this logoff banner resides in PREFIX/share/citadel/messages/goodbye >
X! 
X   Also be sure to visit UNCENSORED! BBS at uncensored.citadel.org
X  
END-of-/usr/ports/net/citadel/files/patch-aj
echo x - /usr/ports/net/citadel/files/patch-ak
sed 's/^X//' >/usr/ports/net/citadel/files/patch-ak << 'END-of-/usr/ports/net/citadel/files/patch-ak'
X*** messages/hello.orig	Fri May 21 09:45:16 1999
X--- messages/hello	Wed Jun 13 10:42:37 2001
X***************
X*** 1,3 ****
X    
X!  < this logon banner resides in ./messages/hello >
X!  
X--- 1,4 ----
X    
X!  < this logon banner resides in PREFIX/share/citadel/messages/hello >
X! 
X!  Citadel/UX Communications Server - Powered by FreeBSD/i386
END-of-/usr/ports/net/citadel/files/patch-ak
echo x - /usr/ports/net/citadel/pkg-install
sed 's/^X//' >/usr/ports/net/citadel/pkg-install << 'END-of-/usr/ports/net/citadel/pkg-install'
X
Xcase $2 in
X	[Pp][Rr][Ee]-[Ii][Nn][Ss][Tt][Aa][Ll][Ll])
X	echo "- Installing Citadel/UX Communications Server..."
X	;;
X
X	[Pp][Oo][Ss][Tt]-[Ii][Nn][Ss][Tt][Aa][Ll][Ll])
X	echo "- Starting the Citadel/UX Setup and Configuration Program..."
X	${PKG_PREFIX}/bin/citsetup
X	echo "- Citadel/UX Communications Server"
X	echo "  Installed PREFIX: ${PKG_PREFIX}"
X	;;
X
Xesac
X
Xexit 0
END-of-/usr/ports/net/citadel/pkg-install
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010618130840.37241.qmail>