- Update to 0.8.0
PR: ports/68166 Submitted by: Christian Laursen <xi@borderworlds.dk> (maintainer)
This commit is contained in:
parent
d272352088
commit
8c86deb0d4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=111938
5 changed files with 5 additions and 58 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= mlmmj
|
||||
PORTVERSION= 0.7.1
|
||||
PORTVERSION= 0.8.0
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://mlmmj.mmj.dk/files/
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
MD5 (mlmmj-0.7.1.tar.bz2) = f0b4af8821c6f67dcc3845d060ddb2a6
|
||||
SIZE (mlmmj-0.7.1.tar.bz2) = 92156
|
||||
MD5 (mlmmj-0.8.0.tar.bz2) = b69d0b621722064caaf56befdac3cca2
|
||||
SIZE (mlmmj-0.8.0.tar.bz2) = 89338
|
||||
|
|
|
@ -1,45 +0,0 @@
|
|||
--- src/mlmmj-maintd.c Thu Jun 10 18:11:55 2004
|
||||
+++ src/mlmmj-maintd.c Fri Jun 11 12:26:58 2004
|
||||
@@ -293,6 +293,8 @@
|
||||
return 1;
|
||||
}
|
||||
|
||||
+ free(dirname);
|
||||
+
|
||||
while((dp = readdir(queuedir)) != NULL) {
|
||||
if((strcmp(dp->d_name, "..") == 0) ||
|
||||
(strcmp(dp->d_name, ".") == 0))
|
||||
@@ -634,7 +636,7 @@
|
||||
{
|
||||
int opt, daemonize = 1;
|
||||
char *bindir, *listdir = NULL, *mlmmjsend, *mlmmjbounce, *mlmmjunsub;
|
||||
- char *logstr, *logname, *random = random_str();
|
||||
+ char *logstr, *logname, *random;
|
||||
char uidstr[16];
|
||||
struct stat st;
|
||||
|
||||
@@ -697,10 +699,13 @@
|
||||
}
|
||||
|
||||
for(;;) {
|
||||
+ random = random_str();
|
||||
logname = concatstr(3, listdir, "maintdlog-", random);
|
||||
+ free(random);
|
||||
maintdlogfd = open(logname, O_WRONLY|O_EXCL|O_CREAT,
|
||||
S_IRUSR|S_IWUSR);
|
||||
if(maintdlogfd < 0) {
|
||||
+ free(logname);
|
||||
log_error(LOG_ARGS, "Could not open maintenance logfile");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
@@ -744,6 +749,10 @@
|
||||
else
|
||||
sleep(MAINTD_SLEEP);
|
||||
}
|
||||
+
|
||||
+ free(mlmmjbounce);
|
||||
+ free(mlmmjsend);
|
||||
+ free(mlmmjunsub);
|
||||
|
||||
exit(EXIT_SUCCESS);
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
--- src/init_sockfd.c.orig Thu May 20 01:19:02 2004
|
||||
+++ src/init_sockfd.c Wed Jun 16 22:12:20 2004
|
||||
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
+#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
|
@ -6,12 +6,14 @@ bin/mlmmj-unsub
|
|||
bin/mlmmj-bounce
|
||||
bin/mlmmj-maintd
|
||||
bin/mlmmj-make-ml.sh
|
||||
share/mlmmj/listtexts/access
|
||||
share/mlmmj/listtexts/bounce-probe
|
||||
share/mlmmj/listtexts/listhelp
|
||||
share/mlmmj/listtexts/moderation
|
||||
share/mlmmj/listtexts/notintocc
|
||||
share/mlmmj/listtexts/sub-confirm
|
||||
share/mlmmj/listtexts/sub-ok
|
||||
share/mlmmj/listtexts/subonlypost
|
||||
share/mlmmj/listtexts/unsub-confirm
|
||||
share/mlmmj/listtexts/unsub-ok
|
||||
@dirrm share/mlmmj/listtexts
|
||||
|
|
Loading…
Reference in a new issue