Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
8bc3d13a
...
8bc3d13a6bb4b71a98838f240ecd687e735a2207
authored
1999-09-16 19:30:53 +0000
by
Jakob Kaivo
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
imported (mostly) the pop3d tree
added libsrc (for getopt and md5)
1 parent
9afa88f6
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
64 additions
and
7 deletions
ChangeLog
Makefile.am
configure.in
libmailbox/mailbox.c
libmailbox/mailbox.h
ChangeLog
View file @
8bc3d13
1999-09-14 Jakob 'sparky' Kaivo <jkaivo@elijah.nodomainname.net>
* pop3d/pop3d.c (main): moved setgid() call to after option parsing
(main): make --version report PACKAGE and VERSION
* libmailbox/mailbox.c (mbox_open): changed paramater type to const
* pop3d/Makefile.am (INCLUDES): change relative directories to top_srcdir base
* configure.in: Added checks for PAM and crypt
1999-09-13 Jakob 'sparky' Kaivo <jkaivo@elijah.nodomainname.net>
* pop3d/retr.c (pop3_retr): fixed calls mbox_header => mbox_get_header
and mbox_body => mbox_get_body
* pop3d/user.c (pop3_user): removed references to mailbox variable
* pop3d/stat.c (pop3_stat): fixed mbox->is_deleted => mbox_is_deleted
* pop3d/pop3d.c (pop3_mainloop): removed reference to lockfile variable
* pop3d/extra.c (pop3_abquit): change fclose(mbox) to mbox_close(mbox)
removed calls to free(messages) and pop3_unlock()
* pop3d/dele.c (pop3_dele): fixed call to mbox_delete()
* Makefile.am (SUBDIRS): added pop3d and libsrc
* configure.in: Added checks needed for pop3d/*
made it work with libtool
* libsrc/*: imported from gnu-pop3d tree
* pop3d/*: imported from gnu-pop3d tree
1999-09-11 Jeff Bailey <jbailey@cr499794-a.crdva1.bc.wave.home.com>
* libmailbox/unixmbox.h: Do not prefix config.h defines with _
...
...
Makefile.am
View file @
8bc3d13
AUTOMAKE_OPTIONS
=
gnu 1.4
SUBDIRS
=
libmailbox mail
SUBDIRS
=
libmailbox mail
pop3d libsrc
...
...
configure.in
View file @
8bc3d13
dnl Process this file with autoconf to procude a configure script. -*-m4-*-
AC_INIT(libmailbox/mailbox.c)
AM_INIT_AUTOMAKE(
libmailbox, 0.0.19990909
)
AM_INIT_AUTOMAKE(
mailutils, 0.9.7.1999.09.12
)
AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE
dnl Check for programs
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LN_S
A
C
_PROG_LIBTOOL
A
M
_PROG_LIBTOOL
dnl Check for arguments
AC_ARG_ENABLE(-mailbox-install,
[ --enable-mailbox-install install libmailbox])
AM_CONDITIONAL(INSTALL_MAILBOX, test x"${enable_mailbox_install-no}" != xno)
dnl Check for headers
AC_HEADER_STDC
AC_CHECK_HEADERS(malloc.h stdlib.h stdio.h errno.h unistd.h)
AC_CHECK_HEADERS(malloc.h stdlib.h stdio.h errno.h unistd.h\
paths.h sys/file.h syslog.h shadow.h security/pam_appl.h)
AC_CHECK_HEADERS(string.h strings.h, break)
AC_OUTPUT(Makefile libmailbox/Makefile mail/Makefile)
dnl Check for libraries
if test x"$ac_cv_header_security_pam_appl_h" = x"yes"; then
AC_CHECK_LIB(pam, pam_authenticate,
[LIBS="$LIBS -ldl -lpam"; AC_DEFINE(USE_LIBPAM)],, -ldl)
##fi
##if test x"$ac_cv_have_libpam" != x"yes"; then
else
AC_CHECK_FUNCS(crypt)
if test x"$ac_cv_func_crypt" = x"no"; then
AC_CHECK_LIB(crypt, crypt,
[LIBS="$LIBS -lcrypt"],, -lcrypt)
fi
fi
dnl Output Makefiles
AC_OUTPUT(Makefile libmailbox/Makefile mail/Makefile pop3d/Makefile)
...
...
libmailbox/mailbox.c
View file @
8bc3d13
...
...
@@ -13,7 +13,7 @@ int _mbox_dummy3 (mailbox * mbox, char *c);
char
*
_mbox_dummy4
(
mailbox
*
mbox
,
int
num
);
mailbox
*
mbox_open
(
char
*
name
)
mbox_open
(
c
onst
c
har
*
name
)
{
mailbox
*
mbox
=
malloc
(
sizeof
(
mailbox
));
if
(
mbox
==
NULL
)
...
...
libmailbox/mailbox.h
View file @
8bc3d13
...
...
@@ -42,6 +42,6 @@ typedef struct _mailbox
}
mailbox
;
mailbox
*
mbox_open
__P
((
char
*
name
));
mailbox
*
mbox_open
__P
((
c
onst
c
har
*
name
));
#endif
...
...
Please
register
or
sign in
to post a comment