pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mm: major package revision, removed todo;



Module Name:	pkgsrc-wip
Committed By:	Paolo Vincenzo Olivo <vms%retrobsd.ddns.net@localhost>
Pushed By:	vms
Date:		Mon Dec 12 10:16:40 2022 +0100
Changeset:	3a2c09b2ca69c950146985d4e55a1444499d696c

Modified Files:
	mm/Makefile
	mm/PLIST
	mm/distinfo
Removed Files:
	mm/TODO

Log Message:
mm: major package revision, removed todo;

* switched distfiles hosting from SDF.org to ftp.netbsd.org.
* applied patches provided by upstream maintainer and previously not
  available on kermitproject.org FTP server. These include revisions
  applied up until 2016, when the project entered maintenance state.
* fixed building CCMD on NetBSD (the tarball now doesn't ship old
  pre-built libraries, but compiles them at pre-build stage).
* created a directoriy with all relevant documentation and interesting
  notes to be installed at docs/${PKGBASE}.
* added sample configuration files from the mm/scripts directory found
  on kermitproject.org FTP server.
* CCMD is installed alongside MM.
* tarball stripped of unneeded files.
* fixed setting SPECIAL_PERMS.
* updated license to reflect the new one uploaded upstream.
* package does *NOT* conflict with wip/mailutis, because its version of
  movemail is installed in /lib/${PKGBASE} instead of /bin.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3a2c09b2ca69c950146985d4e55a1444499d696c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 mm/Makefile | 40 +++++++++++++++++++-----------
 mm/PLIST    | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 mm/TODO     |  2 --
 mm/distinfo |  6 ++---
 4 files changed, 109 insertions(+), 20 deletions(-)

diffs:
diff --git a/mm/Makefile b/mm/Makefile
index 8321b0de00..dabed77a59 100644
--- a/mm/Makefile
+++ b/mm/Makefile
@@ -1,17 +1,16 @@
 # $NetBSD$
 
-DISTNAME=	mm-0.96.0.15
+DISTNAME=	mm-0.96.0.14
 CATEGORIES=	mail
-MASTER_SITES=	https://sehnsucht.multics.org/pub/pkgsrc/distfiles/
+MASTER_SITES=	ftp://ftp.NetBSD.org/pub/NetBSD/misc/vins/dists/
 EXTRACT_SUFX=	.tar.xz
 
 MAINTAINER=	vins%NetBSD.org@localhost
 HOMEPAGE=	https://www.kermitproject.org/mm/
 COMMENT=	UNIX reimplementation of the TOPS-20 MM program
-LICENSE=	mit
+LICENSE=	modified-bsd
 
-ONLY_FOR_PLATFORM+=	*-*-i386
-MKPIE_SUPPORTED=	no
+USE_TOOLS+=	pax
 
 MAKE_FLAGS+=	OPT=${CFLAGS:Q}
 MAKE_FLAGS+=	LDFLAGS=${LDFLAGS:Q}
@@ -26,7 +25,7 @@ SUBST_FILES.paths+=	regex-0.12/configure
 SUBST_SED.paths=	-e 's|/usr/local|${PREFIX}|'
 
 SETUID_ROOT_PERMS=	${REAL_ROOT_USER} daemon 2551
-SPECIAL_PERMS+=		lib/mm/movemail
+SPECIAL_PERMS+=		lib/mm/movemail  ${SETUID_ROOT_PERMS}
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -35,30 +34,43 @@ TARGET:=	${LOWER_OPSYS}
 .elif ${OPSYS} == Darwin
 TARGET:=	macosx
 .elif ${OPSYS} == SunOS
-TARGET:=	solaris
+.  if ${OPSYS_VERSION} <= 051000
+TARGET:=	solaris10
+.  else
+TARGET:=	solaris-gcc
+.  endif
 .endif
 
-INSTALLATION_DIRS+=	bin lib
+EGDIR=	${PREFIX}/share/examples/${PKGBASE}
+DOCDIR=	${PREFIX}/doc/${PKGBASE}
+
+INSTALLATION_DIRS+=	bin lib ${EGDIR} ${DOCDOR}
 
 WRKSRC=	${WRKDIR}/mm/mm
 
 post-extract:
 	${RUN}${CHMOD} +x ${WRKSRC}/regex-0.12/configure
 
-
-.if ${OPSYS} != NetBSD
 pre-build:
 	${RUN}cd ${WRKDIR}/mm/ccmd && ${SETENV} ${MAKE_ENV}	\
-  	  ${MAKE_PROGRAM} ${TARGET}
-.endif
+		${MAKE_PROGRAM} ${MAKE_FLAGS} ${TARGET}
 
 do-build:
 	${RUN}cd ${WRKSRC} && ${SETENV} ${MAKE_ENV}		\
-	  ${MAKE_PROGRAM} ${TARGET}
+		${MAKE_PROGRAM} ${MAKE_FLAGS} ${TARGET}
+
+pre-install:
+	${RUN}cd ${WRKDIR}/mm/ccmd && ${SETENV} ${MAKE_ENV} 	\
+		${INSTALL_ENV} ${MAKE_PROGRAM}			\
+		prefix=${DESTDIR}${PREFIX} install
 
 post-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/sys-prof			\
-	  ${DESTDIR}/${PREFIX}/bin/mm-sysprof
+		${DESTDIR}/${PREFIX}/bin/mm-sysprof
+	${RUN}cd ${WRKDIR}/mm/docs && 				\
+		${PAX} -rw . ${DESTDIR}${DOCDIR}
+	${RUN}cd ${WRKSRC}/samples &&				\
+		${PAX} -rw . ${DESTDIR}${EGDIR}
 
 .include "../../mk/curses.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/mm/PLIST b/mm/PLIST
index 7ce12204fb..a81034738d 100644
--- a/mm/PLIST
+++ b/mm/PLIST
@@ -2,6 +2,27 @@
 bin/mm
 bin/mm-sysprof
 bin/mm-trans
+doc/mm/CHANGELOG
+doc/mm/DEBUG.NOTES
+doc/mm/INSTALL
+doc/mm/LICENSE.TXT
+doc/mm/README.TXT
+doc/mm/ccmd/DOC.TXT
+doc/mm/ccmd/INTRO.TXT
+doc/mm/ccmd/README
+doc/mm/ccmd/README.TOO
+doc/mm/notes/notes-beebe.txt
+doc/mm/notes/notes-fdc.txt
+doc/mm/notes/notes-klh.txt
+doc/mm/rfc/rfc2822.txt
+doc/mm/rfc/rfc733.txt
+doc/mm/rfc/rfc822.txt
+include/ccmd.h
+include/ccmdmd.h
+include/cmfnc.h
+include/cmfncs.h
+include/datime.h
+lib/libccmd.a
 lib/mm/help/READ.DIR/!.HLP
 lib/mm/help/READ.DIR/answer.HLP
 lib/mm/help/READ.DIR/backtrack.HLP
@@ -190,6 +211,61 @@ lib/mm/help/TOP.DIR/version.HLP
 lib/mm/help/TOP.DIR/who.HLP
 lib/mm/help/TOP.DIR/write.HLP
 lib/mm/help/TOP.DIR/z.HLP
+lib/mm/help/TOPICS.DIR/READ.DIR/addressing.HLP
+lib/mm/help/TOPICS.DIR/READ.DIR/basic.HLP
+lib/mm/help/TOPICS.DIR/READ.DIR/bitnet.HLP
+lib/mm/help/TOPICS.DIR/READ.DIR/ccmd.HLP
+lib/mm/help/TOPICS.DIR/READ.DIR/command-history.HLP
+lib/mm/help/TOPICS.DIR/READ.DIR/command-line-edit.HLP
+lib/mm/help/TOPICS.DIR/READ.DIR/customization.HLP
+lib/mm/help/TOPICS.DIR/READ.DIR/directory.HLP
+lib/mm/help/TOPICS.DIR/READ.DIR/filing.HLP
+lib/mm/help/TOPICS.DIR/READ.DIR/information.HLP
+lib/mm/help/TOPICS.DIR/READ.DIR/internet.HLP
+lib/mm/help/TOPICS.DIR/READ.DIR/message-handling.HLP
+lib/mm/help/TOPICS.DIR/READ.DIR/message-sequence.HLP
+lib/mm/help/TOPICS.DIR/READ.DIR/message-tagging.HLP
+lib/mm/help/TOPICS.DIR/READ.DIR/other.HLP
+lib/mm/help/TOPICS.DIR/READ.DIR/shell.HLP
+lib/mm/help/TOPICS.DIR/READ.DIR/signature-file.HLP
+lib/mm/help/TOPICS.DIR/READ.DIR/text-mode.HLP
+lib/mm/help/TOPICS.DIR/READ.DIR/top.HLP
+lib/mm/help/TOPICS.DIR/SEND.DIR/addressing.HLP
+lib/mm/help/TOPICS.DIR/SEND.DIR/basic.HLP
+lib/mm/help/TOPICS.DIR/SEND.DIR/bitnet.HLP
+lib/mm/help/TOPICS.DIR/SEND.DIR/ccmd.HLP
+lib/mm/help/TOPICS.DIR/SEND.DIR/command-history.HLP
+lib/mm/help/TOPICS.DIR/SEND.DIR/command-line-edit.HLP
+lib/mm/help/TOPICS.DIR/SEND.DIR/customization.HLP
+lib/mm/help/TOPICS.DIR/SEND.DIR/directory.HLP
+lib/mm/help/TOPICS.DIR/SEND.DIR/header-field.HLP
+lib/mm/help/TOPICS.DIR/SEND.DIR/information.HLP
+lib/mm/help/TOPICS.DIR/SEND.DIR/internet.HLP
+lib/mm/help/TOPICS.DIR/SEND.DIR/message-sequence.HLP
+lib/mm/help/TOPICS.DIR/SEND.DIR/other.HLP
+lib/mm/help/TOPICS.DIR/SEND.DIR/shell.HLP
+lib/mm/help/TOPICS.DIR/SEND.DIR/signature-file.HLP
+lib/mm/help/TOPICS.DIR/SEND.DIR/text-mode.HLP
+lib/mm/help/TOPICS.DIR/SEND.DIR/top.HLP
+lib/mm/help/TOPICS.DIR/TOP.DIR/addressing.HLP
+lib/mm/help/TOPICS.DIR/TOP.DIR/basic.HLP
+lib/mm/help/TOPICS.DIR/TOP.DIR/bitnet.HLP
+lib/mm/help/TOPICS.DIR/TOP.DIR/ccmd.HLP
+lib/mm/help/TOPICS.DIR/TOP.DIR/command-history.HLP
+lib/mm/help/TOPICS.DIR/TOP.DIR/command-line-edit.HLP
+lib/mm/help/TOPICS.DIR/TOP.DIR/customization.HLP
+lib/mm/help/TOPICS.DIR/TOP.DIR/directory.HLP
+lib/mm/help/TOPICS.DIR/TOP.DIR/filing.HLP
+lib/mm/help/TOPICS.DIR/TOP.DIR/information.HLP
+lib/mm/help/TOPICS.DIR/TOP.DIR/internet.HLP
+lib/mm/help/TOPICS.DIR/TOP.DIR/message-handling.HLP
+lib/mm/help/TOPICS.DIR/TOP.DIR/message-sequence.HLP
+lib/mm/help/TOPICS.DIR/TOP.DIR/message-tagging.HLP
+lib/mm/help/TOPICS.DIR/TOP.DIR/other.HLP
+lib/mm/help/TOPICS.DIR/TOP.DIR/shell.HLP
+lib/mm/help/TOPICS.DIR/TOP.DIR/signature-file.HLP
+lib/mm/help/TOPICS.DIR/TOP.DIR/text-mode.HLP
+lib/mm/help/TOPICS.DIR/TOP.DIR/top.HLP
 lib/mm/help/VARS.DIR/aliases-use-groups.HLP
 lib/mm/help/VARS.DIR/append-new-mail.HLP
 lib/mm/help/VARS.DIR/append-signature.HLP
@@ -274,4 +350,7 @@ lib/mm/help/VARS.DIR/user-level.HLP
 lib/mm/help/VARS.DIR/user-name.HLP
 lib/mm/mmail.el
 lib/mm/movemail
-@pkgdir lib/mm/help/TOPICS.DIR
+share/examples/mm/sample-mailcap
+share/examples/mm/sample-mm-header-options
+share/examples/mm/sample-mminit
+share/examples/mm/sample-shell-profile
diff --git a/mm/TODO b/mm/TODO
deleted file mode 100644
index 485d610dfd..0000000000
--- a/mm/TODO
+++ /dev/null
@@ -1,2 +0,0 @@
-* patch CCMD (C Command Interface) to compile on non-x86 targets.
-* make ccmd a standalone package 
diff --git a/mm/distinfo b/mm/distinfo
index 9f77b6db0c..1ccf8f80fb 100644
--- a/mm/distinfo
+++ b/mm/distinfo
@@ -1,6 +1,6 @@
 $NetBSD$
 
-BLAKE2s (mm-0.96.0.15.tar.xz) = f4d42181fc13a030f9a135746d2b2b457e93f23063393927e30315d539420b80
-SHA512 (mm-0.96.0.15.tar.xz) = 27f65516f3d134223cf9c3c4eb12f050e16cbf06bea89bb80cb83191fb7142dd48221ed32107016a939ef60079dff20fd07cd83f44909cd8b7ffa10c9d666ff5
-Size (mm-0.96.0.15.tar.xz) = 1131452 bytes
+BLAKE2s (mm-0.96.0.14.tar.xz) = 95d3f4f680ec65996a431be38c164e38df5234752820a04735d1d109c7dee806
+SHA512 (mm-0.96.0.14.tar.xz) = cb12d88861d9cf687fe1f1fc79b03456b931fbbfe67e31a32fbb8bb7bb75348fc84535833e99f43b72ea2fb636141dce0974f88fc9d7fa4e31c0b6dfb069dad7
+Size (mm-0.96.0.14.tar.xz) = 726168 bytes
 SHA1 (patch-Makefile) = a7bb46db85380521de4ec8401c70a03b4f6d3116


Home | Main Index | Thread Index | Old Index