mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Stage mail/cucipop
PR: 192664 Submitted by: Vladimir Kondratiev
This commit is contained in:
parent
16459b054b
commit
c15b91679d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364961
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= cucipop
|
||||
PORTVERSION= 1.31
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= mail ipv6
|
||||
MASTER_SITES= ftp://ftp.informatik.rwth-aachen.de/pub/packages/cucipop/ \
|
||||
http://ftp.riken.go.jp/archives/net/mail/pop/cucipop/ \
|
||||
@ -19,18 +19,6 @@ PATCHFILES= cucipop-1.31-v6-20010223.diff.gz
|
||||
PATCH_DIST_STRIP= -p1
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Cubic Circle's POP3 daemon (fully RFC1939 compliant)
|
||||
|
||||
#BUILD_DEPENDS= ${PREFIX}/include/db2/db.h:${PORTSDIR}/databases/db2
|
||||
|
||||
|
||||
MAN8= cucipop.8 #makevpopdb.8
|
||||
PLIST_FILES= libexec/cucipop
|
||||
|
||||
NO_STAGE= yes
|
||||
post-install:
|
||||
@${ECHO_CMD} "@exec mkdir -p /var/spool/cucipop/bulletins" >> ${TMPPLIST}
|
||||
@${ECHO_CMD} "@unexec rmdir /var/spool/cucipop/bulletins 2>/dev/null || true" >> ${TMPPLIST}
|
||||
@${ECHO_CMD} "@unexec rmdir /var/spool/cucipop 2>/dev/null || true" >> ${TMPPLIST}
|
||||
COMMENT= Cubic Circle POP3 daemon (fully RFC1939 compliant)
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -35,8 +35,8 @@
|
||||
-INSTALL=install -o root -m
|
||||
-BINPERM=02755 -s -g mail
|
||||
-REGPERM=0644
|
||||
+INSTALL=install -c -o bin -m
|
||||
+BINLPERM=02555 -s -g mail
|
||||
+INSTALL=install -c -m
|
||||
+BINLPERM=555 -s
|
||||
+BINSPERM=555 -s
|
||||
+REGPERM=0444
|
||||
|
||||
@ -61,23 +61,26 @@
|
||||
|
||||
cucipop: $(OBJS)
|
||||
$(CC) $(CFLAGS) $(OBJS) -o $@ $(LDFLAGS) $(LIBS)
|
||||
@@ -67,12 +70,14 @@
|
||||
@@ -67,13 +70,15 @@
|
||||
$(MD5_OBJ): md5/md5c.c md5/md5.h
|
||||
cd md5; $(CC) $(CFLAGS) -c md5c.c
|
||||
|
||||
-install: $(BINS) $(MANS)
|
||||
- $(INSTALL) $(BINPERM) $(BINS) $(BINDIR)
|
||||
+install: $(BINL) $(MANS) #$(BINS)
|
||||
+ $(INSTALL) $(BINLPERM) $(BINL) $(LIBEXECDIR)
|
||||
+# $(INSTALL) $(BINSPERM) $(BINS) $(BINDIR)
|
||||
$(INSTALL) $(REGPERM) $(MANS) $(MANDIR)
|
||||
- $(INSTALL) $(REGPERM) $(MANS) $(MANDIR)
|
||||
- mkdir $(CUCIPOPLIB) 2>/dev/null; exit 0
|
||||
- mkdir $(CUCIPOPBULLETINS) 2>/dev/null; exit 0
|
||||
- @for a in $(BINS); do ls -l $(BINDIR)/$$a; done
|
||||
+ mkdir -p $(CUCIPOPLIB) 2>/dev/null; exit 0
|
||||
+ mkdir -p $(CUCIPOPBULLETINS) 2>/dev/null; exit 0
|
||||
+ @for a in $(BINL); do ls -l $(LIBEXECDIR)/$$a; done
|
||||
+# @for a in $(BINS); do ls -l $(BINDIR)/$$a; done
|
||||
@for a in $(MANS); do ls -l $(MANDIR)/$$a; done
|
||||
- @for a in $(MANS); do ls -l $(MANDIR)/$$a; done
|
||||
+install: $(BINL) $(MANS) #$(BINS)
|
||||
+ $(INSTALL) $(BINLPERM) $(BINL) $(DESTDIR)$(LIBEXECDIR)
|
||||
+# $(INSTALL) $(BINSPERM) $(BINS) $(DESTDIR)$(BINDIR)
|
||||
+ $(INSTALL) $(REGPERM) $(MANS) $(DESTDIR)$(MANDIR)
|
||||
+ mkdir -p $(DESTDIR)$(CUCIPOPLIB) 2>/dev/null; exit 0
|
||||
+ mkdir -p $(DESTDIR)$(CUCIPOPBULLETINS) 2>/dev/null; exit 0
|
||||
+ @for a in $(BINL); do ls -l $(DESTDIR)$(LIBEXECDIR)/$$a; done
|
||||
+# @for a in $(BINS); do ls -l $(DESTDIR)$(BINDIR)/$$a; done
|
||||
+ @for a in $(MANS); do ls -l $(DESTDIR)$(MANDIR)/$$a; done
|
||||
|
||||
deinstall:
|
||||
cd $(BINDIR) && $(RM) $(BINS)
|
||||
|
9
mail/cucipop/pkg-plist
Normal file
9
mail/cucipop/pkg-plist
Normal file
@ -0,0 +1,9 @@
|
||||
@mode 2555
|
||||
@group mail
|
||||
libexec/cucipop
|
||||
@mode
|
||||
@group
|
||||
man/man8/cucipop.8.gz
|
||||
@exec mkdir -p "/var/spool/cucipop/bulletins"
|
||||
@unexec rmdir "/var/spool/cucipop/bulletins" >/dev/null 2>&1 || :
|
||||
@unexec rmdir "/var/spool/cucipop" >/dev/null 2>&1 || :
|
Loading…
Reference in New Issue
Block a user