From owner-freebsd-current@freebsd.org Tue Oct 23 18:18:13 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6A804FF018F; Tue, 23 Oct 2018 18:18:13 +0000 (UTC) (envelope-from se@freebsd.org) Received: from mailout02.t-online.de (mailout02.t-online.de [194.25.134.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C8B3689C7D; Tue, 23 Oct 2018 18:18:12 +0000 (UTC) (envelope-from se@freebsd.org) Received: from fwd22.aul.t-online.de (fwd22.aul.t-online.de [172.20.26.127]) by mailout02.t-online.de (Postfix) with SMTP id 28FF141A8883; Tue, 23 Oct 2018 20:18:05 +0200 (CEST) Received: from Stefans-MBP-LAN.fritz.box (rfdqqaZbwh-0CglrTVwDr8D9GsE9zaMsNUy6lQ98Jj4HXxQHSE9OxPyNacPcLaRgLu@[80.128.111.25]) by fwd22.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1gF1Fi-3FkfkO0; Tue, 23 Oct 2018 20:18:02 +0200 Subject: Re: ctm(1) deprecation in the FreeBSD base system? To: Warner Losh Cc: "Montgomery-Smith, Stephen" , "Julian H. Stacey" , "Rodney W. Grimes" , ctm-users@freebsd.org, Poul-Henning Kamp , FreeBSD Current , Ed Maste References: <201810222132.w9MLVvxC050976@fire.js.berklix.net> From: Stefan Esser Openpgp: preference=signencrypt Autocrypt: addr=se@freebsd.org; prefer-encrypt=mutual; keydata= xsBNBFVxiRIBCADOLNOZBsqlplHUQ3tG782FNtVT33rQli9EjNt2fhFERHIo4NxHlWBpHLnU b0s4L/eItx7au0i7Gegv01A9LUMwOnAc9EFAm4EW3Wmoa6MYrcP7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Zkpq ThDMurqtQFn1ABEBAAHCwHwEGAEKACYCGwwWIQSjceplnAvsyCtxUxNH67XvWv31RAUCWvLv qwUJCyUBGQAKCRBH67XvWv31RLnrB/9gzcRlpx71sDMosoZULWn7wysBJ/8AIEfIByRaHQe3 pn/KwE57pB+zFbbQqB7YzeZb7/UUgR4zU2ZbOcEfwDZcHUbj0B3fGRsS3t0uiLlAd8w0sBZb SxrqzjdpDjIbOZkxssqUmvrsN67UG1AFWH9aD24keBS7YjPBS8hLxPeYV+Xz6vUL8fRZje/Z JgiBMIwyj6g2lH/zkdnxBdC0iG1xxJOLTaghMMeQyCdH6ef8+VMyAlAJsMckbOTvx63tY8z7 DFcrnTJfbe1EziRilVsEaK8tTzJzhcTfos+f3eBYWEilxe5HzIhYKJeC7lmsSUcGwa6+9VRg a0ctmi9Z8OgX Message-ID: Date: Tue, 23 Oct 2018 20:18:01 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Language: de-DE Content-Transfer-Encoding: 8bit X-ID: rfdqqaZbwh-0CglrTVwDr8D9GsE9zaMsNUy6lQ98Jj4HXxQHSE9OxPyNacPcLaRgLu X-TOI-MSGID: 4d488592-f23e-411b-b1e6-0e92627d3e95 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2018 18:18:13 -0000 Am 23.10.18 um 19:06 schrieb Warner Losh: > > > On Tue, Oct 23, 2018 at 10:44 AM Stefan Esser > wrote: > > Am 23.10.18 um 17:27 schrieb Montgomery-Smith, Stephen: > > I have no problem turning ctm into a port.  But I would appreciate > > advice on whether there is a standard or easy process for converting > > software from the FreeBSD base to a port.  If not, I can muddle my way > > through it.  But give me some time (a few months) to get it done, > > because the rest of my life is making heavy demands on me right now. > > Hi Stephen, > > I could spend a few hours to perform the conversion to a port and to > test it. I've a happy CTM user, many years ago, and I can understand > that it still may be useful in special situations. > > The source archive will need to be hosted somewhere. Do you have a > preference (e.g., on a FreeBSD server, or on Github, Gitlab, ...)? > > > It's trivial to setup a new repository on github.com/freebsd/ctm > for this purpose. With the right magic, we > could even retain the commit history. I have a complete port (in the sense that it builds, installs, packages), but there are a few details, that should be fixed on that occasion: 1) The man-pages install in man1 for binaries in sbin (--> change to man8) 2) The Makefiles use LIBADD (--> change to use LDADD) 3) The README file contains a reference to CVSUP (--> clean up) I do not have write access to freebsd on Github, and I'd appreciate if it was possible to move the files from src/usr.sbin/ctm there (with history would of course be preferable, but I'm not sure that it is of much use). I could then push my local changes (required to make the port build) to the Github repo (or add a few small patch files to the port). The port Makefile that I have prepared is attached below for reference. Regards, STefan --------------------------------------------------------------------- # $FreeBSD$ PORTNAME= ctm PORTVERSION= 2.0 CATEGORIES= ports-mgmt MAINTAINER= se@FreeBSD.org COMMENT= Create, receive, and apply FreeBSD source updates per mail LICENSE= Beerware LICENSE_NAME= Beerware LICENSE_TEXT= "THE BEER-WARE LICENSE" (Revision 42): \ wrote this file. As long as you retain this notice you \ can do whatever you want with this stuff. If we meet some day, and you think \ this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= tar:txz #USE_GITHUB= yes #GH_ACCOUNT= freebsd do-install: .for f in ctm ctm_dequeue ctm_rmail ctm_smail ${INSTALL_PROGRAM} ${WRKSRC}/${f}/${f} \ ${STAGEDIR}${PREFIX}/sbin .endfor .for f in ctm ctm_rmail ${INSTALL_MAN} ${WRKSRC}/${f}/${f}.1 \ ${STAGEDIR}${MAN1PREFIX}/man/man1 # should be man8 .endfor .for f in ctm_dequeue ctm_smail ${INSTALL_MAN} ${WRKSRC}/ctm_rmail/ctm_rmail.1 \ ${STAGEDIR}${MAN1PREFIX}/man/man1/${f}.1 # should be man8 .endfor .include