From owner-freebsd-current@freebsd.org Tue Oct 23 18:35:07 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 76B30FF0D85 for ; Tue, 23 Oct 2018 18:35:07 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-vs1-xe31.google.com (mail-vs1-xe31.google.com [IPv6:2607:f8b0:4864:20::e31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0ECD58ACD6 for ; Tue, 23 Oct 2018 18:35:07 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-vs1-xe31.google.com with SMTP id y195so1519986vsc.7 for ; Tue, 23 Oct 2018 11:35:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dn8eMI5FIsNIyQMUrtXC5mROUJVie0ao+0bQGtivqng=; b=zJVw7FwssO1Rkky1ZCk/WVtNmKd+AU85omhq4PAFhANh7/9FsWtX7oS8oX/jdxiERc mfoZCIAWXPDd9Er6k501333+dNyLATKD858QsTZik59ZQ7LZP6CtIzUHmNn0QiwmajO7 I+yCLbky5MXK/ai9mNEduYwCVctnWJ/b50pQFHV0xoPqbft/QLSQ5XeRsyQ5njhW0dwg HR6mawwFptIFUw6nbC35Kc1S20mX51X/r0tDY9Pz6mHJJNqRLYHistUxvVSLgBb7UKJr bbczz/7/Cwptygi1Gkz/LyteKrWHjE9HB7NicZJzwQeFKd+rZWVd3xoHBUt4/K9sfzuq dGNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dn8eMI5FIsNIyQMUrtXC5mROUJVie0ao+0bQGtivqng=; b=VQm/soan7//1ksm9rUy2a7qMnf8XKWUO6cE/6XOjn2CavRAH6GFOfAU1Hun5n94ed3 ToZc4sxwXf81gJ/w44gGXqKhd1vJTSyksNQcmTndy0r/KiK1N6KWO5yJ/qJQnUjmTCTc dTW+C1PIM9fXv08wjhCnUctCrU8cD70oa6Rg9Z2fkvOboGjojcyvbynJpR92IyVZb53y yvpmcFUrKQwy4zMp43gjfH9tTmYYbgwisGNvjOnCG87vyJBYPLfFd/txRtPLMGwjjPiw G8q3bKfraJmqclt09X3NRAQgwjyEhzOTB/BpKHd3lY6kPeHORi4ATdNydO2n4y7P7Gg5 inBQ== X-Gm-Message-State: ABuFfoiq+egomCcMlSKPYAaXSvVxZiYTrO7ZuoTn/TMbtOdJhb+Qe4dR eAobUbkRDuhOxBh0nKQti3x6hpVpmLpoNhDa3iGiIA== X-Google-Smtp-Source: ACcGV63/bV6kACPjJT4/p3IJCqp4EHi6+tOXBiT9og7KGJ+qf4R0iue8QB1jCHPVn6K3W3oatEALt85B50JqJ4yUlLU= X-Received: by 2002:a67:2704:: with SMTP id n4mr22037192vsn.209.1540319706426; Tue, 23 Oct 2018 11:35:06 -0700 (PDT) MIME-Version: 1.0 References: <201810222132.w9MLVvxC050976@fire.js.berklix.net> In-Reply-To: From: Warner Losh Date: Tue, 23 Oct 2018 12:34:53 -0600 Message-ID: Subject: Re: ctm(1) deprecation in the FreeBSD base system? To: Stefan Esser Cc: "Montgomery-Smith, Stephen" , "Julian H. Stacey" , "Rodney W. Grimes" , ctm-users@freebsd.org, Poul-Henning Kamp , FreeBSD Current , Ed Maste Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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:35:07 -0000 On Tue, Oct 23, 2018, 12:18 PM Stefan Esser wrote: > 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 can do this. We have many ports that are managed via github. What is your github id? Warner 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 >