aboutsummaryrefslogtreecommitdiff
path: root/net/citadel
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-10-14 12:40:26 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-10-14 12:40:26 +0000
commit6c4801dc4e73948a75d4693d845ecbb2b96902f2 (patch)
tree85246e5d63dc708f5b07b059daf39eebe2d9a4c5 /net/citadel
parent046d55db6a828cd8f3430e9975d4800a21b407b2 (diff)
downloadports-6c4801dc4e73948a75d4693d845ecbb2b96902f2.tar.gz
ports-6c4801dc4e73948a75d4693d845ecbb2b96902f2.zip
Notes
Diffstat (limited to 'net/citadel')
-rw-r--r--net/citadel/Makefile48
-rw-r--r--net/citadel/distinfo1
-rw-r--r--net/citadel/files/patch-aa102
-rw-r--r--net/citadel/files/patch-ab31
-rw-r--r--net/citadel/files/patch-ac48
-rw-r--r--net/citadel/files/patch-ad21
-rw-r--r--net/citadel/files/patch-ae21
-rw-r--r--net/citadel/files/patch-af14
-rw-r--r--net/citadel/files/patch-ag26
-rw-r--r--net/citadel/files/patch-ah18
-rw-r--r--net/citadel/files/patch-ai55
-rw-r--r--net/citadel/files/patch-aj18
-rw-r--r--net/citadel/files/patch-ak12
-rw-r--r--net/citadel/files/patch-al11
-rw-r--r--net/citadel/pkg-comment1
-rw-r--r--net/citadel/pkg-descr24
-rw-r--r--net/citadel/pkg-install16
-rw-r--r--net/citadel/pkg-message20
-rw-r--r--net/citadel/pkg-plist113
19 files changed, 600 insertions, 0 deletions
diff --git a/net/citadel/Makefile b/net/citadel/Makefile
new file mode 100644
index 000000000000..21ad2197fa64
--- /dev/null
+++ b/net/citadel/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: Citadel/UX
+# Date created: Tue Jun 12 15:42:14 EDT 2001
+# Whom: brian@shadowcom.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= citadel
+PORTVERSION= 5.80
+CATEGORIES= net
+MASTER_SITES= http://uncensored.citadel.org/pub/citadel/ \
+ ftp://ftp.tux.org/pub/net/citadel/ \
+ http://www.shadowcom.net/Software/Citadel-UX/
+DISTNAME= ${PORTNAME}-ux-${PORTVERSION}
+
+MAINTAINER= brian@shadowcom.net
+
+LIB_DEPENDS= gdbm:${PORTSDIR}/databases/gdbm
+
+WRKSRC= ${WRKDIR}/citadel
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+
+post-install:
+ ${STRIP} ${PREFIX}/bin/aidepost
+ ${STRIP} ${PREFIX}/bin/base64
+ ${STRIP} ${PREFIX}/bin/citadel
+ ${STRIP} ${PREFIX}/bin/citmail
+ ${STRIP} ${PREFIX}/bin/citserver
+ ${STRIP} ${PREFIX}/bin/mailinglist
+ ${STRIP} ${PREFIX}/bin/msgform
+ ${STRIP} ${PREFIX}/bin/netmailer
+ ${STRIP} ${PREFIX}/bin/netpoll
+ ${STRIP} ${PREFIX}/bin/netproc
+ ${STRIP} ${PREFIX}/bin/netsetup
+ ${STRIP} ${PREFIX}/bin/qpdecode
+ ${STRIP} ${PREFIX}/bin/rcit
+ ${STRIP} ${PREFIX}/bin/readlog
+ ${STRIP} ${PREFIX}/bin/sendcommand
+ ${STRIP} ${PREFIX}/bin/citsetup
+ ${STRIP} ${PREFIX}/bin/stats
+ ${STRIP} ${PREFIX}/bin/userlist
+ ${STRIP} ${PREFIX}/bin/whobbs
+ ${STRIP} ${PREFIX}/share/citadel/modules/*.so
+ ${PREFIX}/bin/citsetup
+ ${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/net/citadel/distinfo b/net/citadel/distinfo
new file mode 100644
index 000000000000..e1114e21d8a0
--- /dev/null
+++ b/net/citadel/distinfo
@@ -0,0 +1 @@
+MD5 (citadel-ux-5.80.tar.gz) = b71e7c5295947c9a8cff75dc88b15ee2
diff --git a/net/citadel/files/patch-aa b/net/citadel/files/patch-aa
new file mode 100644
index 000000000000..4284d79e12f6
--- /dev/null
+++ b/net/citadel/files/patch-aa
@@ -0,0 +1,102 @@
+--- Makefile.in.orig Mon Jul 2 23:07:06 2001
++++ Makefile.in Mon Sep 10 11:00:50 2001
+@@ -24,7 +24,7 @@
+ CX=@CX@
+
+ CLIENT_TARGETS=citadel$(EXEEXT) whobbs$(EXEEXT)
+-SERVER_TARGETS=citserver setup $(CHKPWD)
++SERVER_TARGETS=citserver citsetup $(CHKPWD)
+ SERV_MODULES=modules/serv_chat$(SO) modules/serv_vcard$(SO) \
+ modules/serv_upgrade$(SO) \
+ modules/serv_smtp$(SO) \
+@@ -224,8 +224,8 @@
+ mailinglist: mailinglist.o config.o internetmail.o
+ $(CC) mailinglist.o config.o internetmail.o $(LDFLAGS) -o mailinglist
+
+-setup: setup.o tools.o
+- $(CC) setup.o tools.o $(CURSES) $(NETLIBS) $(LDFLAGS) -o setup
++citsetup: setup.o tools.o
++ $(CC) setup.o tools.o $(CURSES) $(NETLIBS) $(LDFLAGS) -o citsetup
+
+ chkpwd: chkpwd.o auth.o config.o
+ $(CC) chkpwd.o auth.o config.o $(LDFLAGS) -o chkpwd $(chkpwd_LIBS)
+@@ -269,45 +269,60 @@
+ install-data:
+ @for i in help messages network/spoolin network/spoolout \
+ network/systems; do \
+- $(srcdir)/mkinstalldirs $(root)$(prefix)/$$i; \
++ $(srcdir)/mkinstalldirs $(root)$(prefix)/share/citadel/$$i; \
+ done
+ @for i in citadel.rc public_clients \
+ `find $(srcdir)/help $(srcdir)/messages $(srcdir)/network -type f | grep -v CVS`; do \
+- echo $(INSTALL_DATA) $$i $(root)$(prefix)/$$i; \
+- $(INSTALL_DATA) $$i $(root)$(prefix)/$$i; \
++ echo $(INSTALL_DATA) $$i $(root)$(prefix)/share/citadel/$$i; \
++ $(INSTALL_DATA) $$i $(root)$(prefix)/share/citadel/$$i; \
+ done
+ -@if test -d $(root)/etc/pam.d; then \
+- echo $(INSTALL_DATA) $(srcdir)/citadel.pam $(root)/etc/pam.d/citadel; \
+- $(INSTALL_DATA) $(srcdir)/citadel.pam $(root)/etc/pam.d/citadel; \
++ echo $(INSTALL_DATA) $(srcdir)/citadel.pam $(root)$(prefix)/etc/pam.d/citadel; \
++ $(INSTALL_DATA) $(srcdir)/citadel.pam $(root)$(prefix)/etc/pam.d/citadel; \
+ fi
+
+ install-doc:
+- @$(srcdir)/mkinstalldirs $(root)$(prefix)/techdoc
++ @$(srcdir)/mkinstalldirs $(root)$(prefix)/share/doc/citadel/techdoc
+ @for i in `find $(srcdir)/techdoc -type f | grep -v CVS`; do \
+- echo $(INSTALL_DATA) $$i $(root)$(prefix)/$$i; \
+- $(INSTALL_DATA) $$i $(root)$(prefix)/$$i; \
++ echo $(INSTALL_DATA) $$i $(root)$(prefix)/share/doc/citadel/$$i; \
++ $(INSTALL_DATA) $$i $(root)$(prefix)/share/doc/citadel/$$i; \
++ done
++ @$(srcdir)/mkinstalldirs $(root)$(prefix)/share/doc/citadel/docs
++ @for i in `find $(srcdir)/docs -type f | grep -v CVS`; do \
++ echo $(INSTALL_DATA) $$i $(root)$(prefix)/share/doc/citadel/$$i; \
++ $(INSTALL_DATA) $$i $(root)$(prefix)/share/doc/citadel/$$i; \
+ done
+
+ install-exec: all weekly
+- @for i in bio bitbucket files images info modules userpics; do \
+- $(srcdir)/mkinstalldirs $(root)$(prefix)/$$i; \
++ @for i in bio bitbucket files images info modules userpics network/spoolin network/spoolout network/systems; do \
++ $(srcdir)/mkinstalldirs $(root)$(prefix)/share/citadel/$$i; \
++ done
++ @echo "This directory contains upload/download files." > $(root)$(prefix)/share/citadel/files/README
++ @for i in $(CLIENT_TARGETS) $(SERVER_TARGETS) $(UTIL_TARGETS) ; do \
++ if test -f $$i; then \
++ echo $(INSTALL) $$i $(root)$(prefix)/bin/$$i; \
++ $(INSTALL) $$i $(root)$(prefix)/bin/$$i; \
++ fi \
+ done
+- @for i in $(CLIENT_TARGETS) $(SERVER_TARGETS) $(UTIL_TARGETS) \
+- $(SERV_MODULES) ; do \
++ @for i in $(SERV_MODULES) ; do \
+ if test -f $$i; then \
+- echo $(INSTALL) $$i $(root)$(prefix)/$$i; \
+- $(INSTALL) $$i $(root)$(prefix)/$$i; \
++ echo $(INSTALL) $$i $(root)$(prefix)/share/citadel/$$i; \
++ $(INSTALL) $$i $(root)$(prefix)/share/citadel/$$i; \
+ fi \
+ done
+ @for i in utilsmenu weekly dnetsetup; do \
+ if test -f $(srcdir)/$$i; then \
+- echo $(INSTALL) $(srcdir)/$$i $(root)$(prefix)/$$i; \
+- $(INSTALL) $(srcdir)/$$i $(root)$(prefix)/$$i; \
++ echo $(INSTALL) $(srcdir)/$$i $(root)$(prefix)/bin/$$i; \
++ $(INSTALL) $(srcdir)/$$i $(root)$(prefix)/bin/$$i; \
+ fi \
+ done
+- @if test x`find $(root)$(prefix)/chkpwd -user root` = x$(root)$(prefix)/chkpwd; then \
+- echo chmod u+s $(root)$(prefix)/chkpwd; \
+- chmod u+s $(root)$(prefix)/chkpwd; \
++ echo $(srcdir)/mkinstalldirs $(root)$(prefix)/etc/rc.d
++ $(srcdir)/mkinstalldirs $(root)$(prefix)/etc/rc.d
++ echo $(INSTALL) $(srcdir)/rc-startup-citadel.sh $(root)$(prefix)/etc/rc.d/citadel.sh.example
++ $(INSTALL) $(srcdir)/rc-startup-citadel.sh $(root)$(prefix)/etc/rc.d/citadel.sh.example
++ @if test x`find $(root)$(prefix)/bin/chkpwd -user root` = x$(root)$(prefix)/bin/chkpwd; then \
++ echo chmod u+s $(root)$(prefix)/bin/chkpwd; \
++ chmod u+s $(root)$(prefix)/bin/chkpwd; \
+ fi
+
+ clean:
diff --git a/net/citadel/files/patch-ab b/net/citadel/files/patch-ab
new file mode 100644
index 000000000000..fdbacd600c48
--- /dev/null
+++ b/net/citadel/files/patch-ab
@@ -0,0 +1,31 @@
+*** configure.orig Tue Jun 12 17:04:41 2001
+--- configure Tue Jun 12 17:05:01 2001
+***************
+*** 536,547 ****
+
+ if test "$prefix" = NONE; then
+ cat >> confdefs.h <<EOF
+! #define BBSDIR "$ac_default_prefix"
+ EOF
+
+ else
+ cat >> confdefs.h <<EOF
+! #define BBSDIR "$prefix"
+ EOF
+
+ fi
+--- 536,549 ----
+
+ if test "$prefix" = NONE; then
+ cat >> confdefs.h <<EOF
+! #define BBSDIR "$ac_default_prefix/share/citadel"
+! #define BINDIR "$ac_default_prefix/bin"
+ EOF
+
+ else
+ cat >> confdefs.h <<EOF
+! #define BBSDIR "$prefix/share/citadel"
+! #define BINDIR "$prefix/bin"
+ EOF
+
+ fi
diff --git a/net/citadel/files/patch-ac b/net/citadel/files/patch-ac
new file mode 100644
index 000000000000..6a2bddd3574c
--- /dev/null
+++ b/net/citadel/files/patch-ac
@@ -0,0 +1,48 @@
+*** setup.c.orig Tue Sep 5 14:35:25 2000
+--- setup.c Tue Jun 12 19:24:13 2001
+***************
+*** 59,71 ****
+ {
+
+ "0",
+! "Enter the full pathname of the directory in which the BBS you are",
+! "creating or updating resides. If you specify a directory other than the",
+! "default, you will need to specify the -h flag to the server when you start",
+! "it up.",
+
+ "1",
+! "Enter the name of the system administrator (which is probably you).",
+ "When an account is created with this name, it will automatically be",
+ "assigned the highest access level.",
+
+--- 59,71 ----
+ {
+
+ "0",
+! "Enter the full pathname to the directory which holds the configuration",
+! "files for the BBS that you are creating or upgrading resides. If you",
+! "specify a directory other than the default, you will need to specify",
+! "the -h flag to the server when you start citserver.",
+
+ "1",
+! "Enter the account name of the system administrator (which is probably you).",
+ "When an account is created with this name, it will automatically be",
+ "assigned the highest access level.",
+
+***************
+*** 468,474 ****
+ char entryname[3];
+
+ /* Determine the fully qualified path name of citserver */
+! sprintf(looking_for, "%s/citserver ", BBSDIR);
+
+ /* Pound through /etc/inittab line by line. Set have_entry to 1 if
+ * an entry is found which we believe starts citserver.
+--- 468,474 ----
+ char entryname[3];
+
+ /* Determine the fully qualified path name of citserver */
+! sprintf(looking_for, "%s/citserver ", BINDIR);
+
+ /* Pound through /etc/inittab line by line. Set have_entry to 1 if
+ * an entry is found which we believe starts citserver.
diff --git a/net/citadel/files/patch-ad b/net/citadel/files/patch-ad
new file mode 100644
index 000000000000..9ba559d5cb63
--- /dev/null
+++ b/net/citadel/files/patch-ad
@@ -0,0 +1,21 @@
+*** user_ops.c.orig Tue Jun 12 19:25:41 2001
+--- user_ops.c Tue Jun 12 19:25:48 2001
+***************
+*** 434,441 ****
+ }
+ close(pipev[0]);
+
+! execl(BBSDIR "/chkpwd", BBSDIR "/chkpwd", NULL);
+! perror(BBSDIR "/chkpwd");
+ exit(1);
+ }
+
+--- 434,441 ----
+ }
+ close(pipev[0]);
+
+! execl(BINDIR "/chkpwd", BINDIR "/chkpwd", NULL);
+! perror(BINDIR "/chkpwd");
+ exit(1);
+ }
+
diff --git a/net/citadel/files/patch-ae b/net/citadel/files/patch-ae
new file mode 100644
index 000000000000..480ba5e07f7a
--- /dev/null
+++ b/net/citadel/files/patch-ae
@@ -0,0 +1,21 @@
+*** weekly.in.orig Tue Jun 12 19:27:37 2001
+--- weekly.in Tue Jun 12 19:27:06 2001
+***************
+*** 7,14 ****
+ # $Id: weekly.in,v 573.0 2000/09/05 18:35:25 ajc Exp $
+ #
+
+! [ x$BBSDIR = x ] && BBSDIR=@prefix@
+! [ x$EXECDIR = x ] && EXECDIR=$BBSDIR
+
+ cd $BBSDIR || exit
+
+--- 7,14 ----
+ # $Id: weekly.in,v 573.0 2000/09/05 18:35:25 ajc Exp $
+ #
+
+! [ x$BBSDIR = x ] && BBSDIR=@prefix@/share/citadel
+! [ x$EXECDIR = x ] && EXECDIR=@prefix@/bin
+
+ cd $BBSDIR || exit
+
diff --git a/net/citadel/files/patch-af b/net/citadel/files/patch-af
new file mode 100644
index 000000000000..f8cfca7cae3b
--- /dev/null
+++ b/net/citadel/files/patch-af
@@ -0,0 +1,14 @@
+*** sysdep.h.in.orig Tue Jun 12 19:32:04 2001
+--- sysdep.h.in Tue Jun 12 19:32:28 2001
+***************
+*** 36,41 ****
+--- 36,44 ----
+ /* define this to the bbs home directory */
+ #undef BBSDIR
+
++ /* define this to the Citadel/UX binaries directory */
++ #undef BINDIR
++
+ /* define this to enable the autologin feature */
+ #undef ENABLE_AUTOLOGIN
+
diff --git a/net/citadel/files/patch-ag b/net/citadel/files/patch-ag
new file mode 100644
index 000000000000..9647dab77248
--- /dev/null
+++ b/net/citadel/files/patch-ag
@@ -0,0 +1,26 @@
+*** rc-startup-citadel.sh.orig Wed Jun 13 08:53:57 2001
+--- rc-startup-citadel.sh Wed Jun 13 08:56:43 2001
+***************
+*** 0 ****
+--- 1,21 ----
++ #!/bin/sh
++
++ PREFIX=/usr/local
++ LOGTO=/var/log/citadel.log
++
++ case $1 in
++ [Ss][Tt][Aa][Rr][Tt])
++ if [ -x "${PREFIX}/bin/citserver" ]; then
++ ${PREFIX}/bin/citserver -t${LOGTO} -d
++ echo -n " Citadel/UX"
++ fi
++ ;;
++
++ [Ss][Tt][Oo][Pp])
++ ps -auxwww | grep citserver | grep -v grep | awk '{print $2}' | xargs kill
++ ;;
++
++ *)
++ echo "Usage: $0 [start|stop]"
++ ;;
++ esac
diff --git a/net/citadel/files/patch-ah b/net/citadel/files/patch-ah
new file mode 100644
index 000000000000..db2f34a3be62
--- /dev/null
+++ b/net/citadel/files/patch-ah
@@ -0,0 +1,18 @@
+*** sysdep.c.orig Tue Sep 5 14:35:25 2000
+--- sysdep.c Wed Jun 13 09:32:44 2001
+***************
+*** 35,42 ****
+--- 35,47 ----
+ #include <stdarg.h>
+ #include <syslog.h>
+ #include <grp.h>
++ #if (defined(__unix__) || defined(unix)) && !defined(USG)
++ #include <sys/param.h>
++ #endif
++ #if !defined(BSD)
+ #ifdef __GNUC__
+ #include <malloc.h>
++ #endif
+ #endif
+ #ifdef HAVE_PTHREAD_H
+ #include <pthread.h>
diff --git a/net/citadel/files/patch-ai b/net/citadel/files/patch-ai
new file mode 100644
index 000000000000..b97c23e33cf0
--- /dev/null
+++ b/net/citadel/files/patch-ai
@@ -0,0 +1,55 @@
+*** netmailer.c.orig Wed Jun 13 09:37:35 2001
+--- netmailer.c Wed Jun 13 09:39:48 2001
+***************
+*** 201,212 ****
+ char subject[256];
+ time_t mid_buf;
+ time_t now;
+ int mlist = 0;
+
+ openlog("netmailer", LOG_PID, LOG_USER);
+ get_config();
+ LoadInternetConfig();
+! strcpy(temp, tmpnam(NULL)); /* temp file name */
+
+ if ((argc < 2) || (argc > 3)) {
+ fprintf(stderr, "netmailer: usage: "
+--- 201,213 ----
+ char subject[256];
+ time_t mid_buf;
+ time_t now;
++ int fh;
+ int mlist = 0;
+
+ openlog("netmailer", LOG_PID, LOG_USER);
+ get_config();
+ LoadInternetConfig();
+! /* strcpy(temp, tmpnam(NULL)); /* temp file name */
+
+ if ((argc < 2) || (argc > 3)) {
+ fprintf(stderr, "netmailer: usage: "
+***************
+*** 223,231 ****
+ mlist = 1;
+ }
+ /* convert to ASCII & get info */
+! fp = fopen(temp, "w");
+ msgform(argv[1], fp, sbuf, rbuf, nbuf, pbuf, &mid_buf, rmname, subject);
+ fclose(fp);
+
+ strcpy(buf, rmname);
+ strcpy(rmname, "room_");
+--- 224,236 ----
+ mlist = 1;
+ }
+ /* convert to ASCII & get info */
+! /* fp = fopen(temp, "w"); */
+! fh = mkstemp( "/tmp/netmailer.XXXXXXXX" );
+! fp = fdopen( fh, "w" );
+!
+ msgform(argv[1], fp, sbuf, rbuf, nbuf, pbuf, &mid_buf, rmname, subject);
+ fclose(fp);
++ close(fh);
+
+ strcpy(buf, rmname);
+ strcpy(rmname, "room_");
diff --git a/net/citadel/files/patch-aj b/net/citadel/files/patch-aj
new file mode 100644
index 000000000000..038ca493f374
--- /dev/null
+++ b/net/citadel/files/patch-aj
@@ -0,0 +1,18 @@
+*** messages/goodbye.orig Tue Sep 5 15:08:12 2000
+--- messages/goodbye Wed Jun 13 10:44:19 2001
+***************
+*** 1,7 ****
+
+! < this logoff banner resides in ./messages/goodbye >
+!
+! Thanks for calling ^humannode - please call again soon!
+!
+! Also be sure to visit UNCENSORED! BBS at uncnsrd.mt-kisco.ny.us
+
+--- 1,6 ----
++ Citadel/UX Communications Server - Powered by FreeBSD/i386
+
+! < this logoff banner resides in PREFIX/share/citadel/messages/goodbye >
+!
+! Also be sure to visit UNCENSORED! BBS at uncensored.citadel.org
+
diff --git a/net/citadel/files/patch-ak b/net/citadel/files/patch-ak
new file mode 100644
index 000000000000..08780b1dd494
--- /dev/null
+++ b/net/citadel/files/patch-ak
@@ -0,0 +1,12 @@
+*** messages/hello.orig Fri May 21 09:45:16 1999
+--- messages/hello Wed Jun 13 10:42:37 2001
+***************
+*** 1,3 ****
+
+! < this logon banner resides in ./messages/hello >
+!
+--- 1,4 ----
+
+! < this logon banner resides in PREFIX/share/citadel/messages/hello >
+!
+! Citadel/UX Communications Server - Powered by FreeBSD/i386
diff --git a/net/citadel/files/patch-al b/net/citadel/files/patch-al
new file mode 100644
index 000000000000..1ad3bc00fa56
--- /dev/null
+++ b/net/citadel/files/patch-al
@@ -0,0 +1,11 @@
+--- ipc_c_tcp.c.orig Mon Sep 10 10:45:23 2001
++++ ipc_c_tcp.c Mon Sep 10 10:45:35 2001
+@@ -315,7 +315,7 @@
+
+ /* If we're using a unix domain socket we can do a bunch of stuff */
+ if (!strcmp(cithost, UDS)) {
+- sprintf(sockpath, "citadel.socket");
++ sprintf(sockpath, "%s/citadel.socket", BBSDIR);
+ serv_sock = uds_connectsock(sockpath);
+ if (hostbuf != NULL) strcpy(hostbuf, cithost);
+ if (portbuf != NULL) strcpy(portbuf, sockpath);
diff --git a/net/citadel/pkg-comment b/net/citadel/pkg-comment
new file mode 100644
index 000000000000..603e90ba09ae
--- /dev/null
+++ b/net/citadel/pkg-comment
@@ -0,0 +1 @@
+Citadel/UX Communications Server
diff --git a/net/citadel/pkg-descr b/net/citadel/pkg-descr
new file mode 100644
index 000000000000..c3f0409f80e2
--- /dev/null
+++ b/net/citadel/pkg-descr
@@ -0,0 +1,24 @@
+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.
+
+WWW: http://uncensored.citadel.org/citadel/
+Author: Arthur J. Cancro <ajc@uncensored.citadel.org>
+Revision: 5.80
+
+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, IMAP servers built-in)
+ - Real-time Chatting
+ - Instant Messaging
+Refer to the link above for more information about the
+Citadel/UX Project.
+
+--
+Maintainer: Brian Ledbetter <brian@shadowcom.net>
diff --git a/net/citadel/pkg-install b/net/citadel/pkg-install
new file mode 100644
index 000000000000..4e5515ac81f4
--- /dev/null
+++ b/net/citadel/pkg-install
@@ -0,0 +1,16 @@
+
+case $2 in
+ [Pp][Rr][Ee]-[Ii][Nn][Ss][Tt][Aa][Ll][Ll])
+ echo "- Installing Citadel/UX Communications Server..."
+ ;;
+
+ [Pp][Oo][Ss][Tt]-[Ii][Nn][Ss][Tt][Aa][Ll][Ll])
+ echo "- Starting the Citadel/UX Setup and Configuration Program..."
+ ${PKG_PREFIX}/bin/citsetup
+ echo "- Citadel/UX Communications Server"
+ echo " Installed PREFIX: ${PKG_PREFIX}"
+ ;;
+
+esac
+
+exit 0
diff --git a/net/citadel/pkg-message b/net/citadel/pkg-message
new file mode 100644
index 000000000000..84134dab4b1a
--- /dev/null
+++ b/net/citadel/pkg-message
@@ -0,0 +1,20 @@
+
+Citadel/UX Communications Server 5.74 been installed
+on your computer. You may start the Server now by
+typing:
+
+ ${PREFIX}/bin/citserver -t/var/log/citadel.log -d
+
+and you can connect to your server by using:
+
+ ${PREFIX}/bin/citadel
+
+To start the server up with your computer, rename
+/usr/local/etc/rc.d/citadel.sh.example to
+/usr/local/etc/rc.d/citadel.sh
+
+Please refer to ${PREFIX}/share/doc/citadel/ for
+more information about configuring and using your
+new Citadel/UX Server. Documentation can also be
+found at http://uncensored.citadel.org/citadel/
+
diff --git a/net/citadel/pkg-plist b/net/citadel/pkg-plist
new file mode 100644
index 000000000000..14196a4cd9f2
--- /dev/null
+++ b/net/citadel/pkg-plist
@@ -0,0 +1,113 @@
+@group 3
+@mode 755
+@name citadel-5.80
+@owner 0
+bin/aidepost
+bin/base64
+bin/chkpwd
+bin/citadel
+bin/citmail
+bin/citserver
+bin/citsetup
+bin/dnetsetup
+bin/mailinglist
+bin/msgform
+bin/netmailer
+bin/netpoll
+bin/netproc
+bin/netsetup
+bin/qpdecode
+bin/rcit
+bin/readlog
+bin/sendcommand
+bin/stats
+bin/userlist
+bin/utilsmenu
+bin/weekly
+bin/whobbs
+etc/rc.d/citadel.sh.example
+share/citadel/citadel.rc
+share/citadel/files/README
+share/citadel/help/?
+share/citadel/help/aide
+share/citadel/help/floors
+share/citadel/help/hours
+share/citadel/help/intro
+share/citadel/help/mail
+share/citadel/help/network
+share/citadel/help/nice
+share/citadel/help/policy
+share/citadel/help/software
+share/citadel/help/summary
+share/citadel/messages/aideopt
+share/citadel/messages/changepw
+share/citadel/messages/dotopt
+share/citadel/messages/entermsg
+share/citadel/messages/entopt
+share/citadel/messages/goodbye
+share/citadel/messages/hello
+share/citadel/messages/help
+share/citadel/messages/mainmenu
+share/citadel/messages/newuser
+share/citadel/messages/readopt
+share/citadel/messages/register
+share/citadel/messages/roomaccess
+share/citadel/messages/unlisted
+share/citadel/modules/serv_bio.so
+share/citadel/modules/serv_chat.so
+share/citadel/modules/serv_expire.so
+share/citadel/modules/serv_imap.so
+share/citadel/modules/serv_inetcfg.so
+share/citadel/modules/serv_moderate.so
+share/citadel/modules/serv_network.so
+share/citadel/modules/serv_pas2.so
+share/citadel/modules/serv_pop3.so
+share/citadel/modules/serv_rwho.so
+share/citadel/modules/serv_smtp.so
+share/citadel/modules/serv_upgrade.so
+share/citadel/modules/serv_vandelay.so
+share/citadel/modules/serv_vcard.so
+share/citadel/public_clients
+share/doc/citadel/techdoc/PAM.txt
+share/doc/citadel/techdoc/build.txt
+share/doc/citadel/techdoc/chat.txt
+share/doc/citadel/techdoc/citadelapi.txt
+share/doc/citadel/techdoc/delivery-list.txt
+share/doc/citadel/techdoc/developers.txt
+share/doc/citadel/techdoc/hack.txt
+share/doc/citadel/techdoc/moderation.txt
+share/doc/citadel/techdoc/netconfigs.txt
+share/doc/citadel/techdoc/session.txt
+share/doc/citadel/docs/COPYING.txt
+share/doc/citadel/docs/chat.txt
+share/doc/citadel/docs/copyright.txt
+share/doc/citadel/docs/inetmailsetup.txt
+share/doc/citadel/docs/inetmailsetupmx.txt
+share/doc/citadel/docs/inetsiteconfig.txt
+share/doc/citadel/docs/install.txt
+share/doc/citadel/docs/mailinglists.txt
+share/doc/citadel/docs/netsetup.txt
+share/doc/citadel/docs/network.txt
+share/doc/citadel/docs/room-sharing-howto.txt
+share/doc/citadel/docs/siteconfig.txt
+share/doc/citadel/docs/sysop.txt
+share/doc/citadel/docs/upgrading.txt
+share/doc/citadel/docs/utils.txt
+share/doc/citadel/docs/import-export.txt
+@dirrm share/citadel/bio
+@dirrm share/citadel/bitbucket
+@dirrm share/citadel/data
+@dirrm share/citadel/files
+@dirrm share/citadel/help
+@dirrm share/citadel/images
+@dirrm share/citadel/info
+@dirrm share/citadel/messages
+@dirrm share/citadel/modules
+@dirrm share/citadel/netconfigs
+@dirrm share/citadel/network/spoolin
+@dirrm share/citadel/network
+@dirrm share/citadel/userpics
+@dirrm share/citadel
+@dirrm share/doc/citadel/docs
+@dirrm share/doc/citadel/techdoc
+@dirrm share/doc/citadel