# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # . # ./COPYRIGHT # ./INSTALL-homedir.html # ./README # ./bin # ./bin/FreeBSD # ./bin/FreeBSD/toolnames.mk # ./bin/Linux # ./bin/Linux/md5 # ./bin/Linux/sha256 # ./bin/Linux/toolnames.mk # ./bin/reinstallport # ./cvs # ./cvs/Makefile # ./cvs/depends # ./cvs/distinfo # ./cvs/patch-doc__cvs.texinfo # ./cvs/patch-src__client.c # ./cvsadmin # ./cvsadmin/Makefile # ./cvsadmin/distinfo # ./dyndns # ./dyndns/Makefile # ./dyndns/depends # ./dyndns/message # ./fcron # ./fcron/Makefile # ./fcron/depends # ./fcron/distinfo # ./fcron/message # ./git.mk # ./haskell.depends.default # ./haskell.mk # ./http2tcp # ./http2tcp/Makefile # ./http2tcp/depends # ./http2tcp/message # ./ii # ./ii/Makefile # ./ii/distinfo # ./ii/patch-nopingtimeout # ./ii/patch-prefix # ./journald-ai # ./journald-ai/Makefile # ./journald-ai/depends # ./journald-ai/message # ./libghc-async # ./libghc-async/Makefile # ./libghc-async/distinfo # ./libghc-rio # ./libghc-rio/Makefile # ./libghc-rio/distinfo # ./libghc-typed-process # ./libghc-typed-process/Makefile # ./libghc-typed-process/distinfo # ./libghc-unliftio # ./libghc-unliftio/Makefile # ./libghc-unliftio/distinfo # ./mail-config # ./mail-config/Makefile # ./mail-config/message # ./mail-sync # ./mail-sync/Makefile # ./mail-sync/distinfo # ./mail-sync/patch-Setup.org # ./mail-sync/patch-mail-sync__mail-sync.cabal # ./mail-sync/patch-mail-sync__src__InitialSync.hs # ./mail-sync/patch-mail-sync__src__Update.hs # ./ports.mk # ./postqmail # ./postqmail/Makefile # ./postqmail/depends # ./postqmail/files # ./postqmail/files/journal.pyi # ./postqmail/files/mailbox.pyi # ./py3wsgitools # ./py3wsgitools/Makefile # ./pydistutils.mk # ./qmail-man # ./qmail-man/Makefile # ./qmail-man/distinfo # ./quilt.mk # ./rcs # ./rcs/Makefile # ./rcs/distinfo # ./rcs/patch-tests__t810 # ./rvc # ./rvc/Makefile # ./rvc/depends # ./rvc/distinfo # ./shar # ./shar/Makefile # ./shar/distinfo # ./shar/patch-shar.sh # ./stow # ./stow/Makefile # ./stow/distinfo # ./tig # ./tig/Makefile # ./tig/distinfo # ./units # ./units/Makefile # ./units/distinfo # ./uucp # ./uucp/Makefile # ./uucp/distinfo # ./uucp/patch-sendmail-location # ./uucp/patch-uuto.in # ./wireguard-tools # ./wireguard-tools/Makefile # ./wsgitools # ./wsgitools/Makefile # ./wsgitools/depends # ./wsgitools/message # ./wwwdiff # ./wwwdiff/Makefile # echo c - . mkdir -p . > /dev/null 2>&1 echo x - ./COPYRIGHT sed 's/^X//' >./COPYRIGHT << 'de8abd653829ac7458b16b90605ff550' XThe ports collection for isilmar.linta.de is distributed Xunder the following terms. X XCopyright (C) 2008-2019 Klaus Aehlig, Helmut Grohne. All rights reserved. X XRedistribution and use in source and binary forms, with or without Xmodification, are permitted provided that the following conditions Xare met: X1. Redistributions of source code must retain the above copyright X notice, this list of conditions and the following disclaimer. X2. Redistributions in binary form must reproduce the above copyright X notice, this list of conditions and the following disclaimer in the X documentation and/or other materials provided with the distribution. X3. Neither the name of the authors nor the contributors nor the X Aehlig Brodowski Grohne Hoeth Krause Schaefer ISP GbR may be used to X endorse or promote products derived from this software X without specific prior written permission. X XTHIS SOFTWARE IS PROVIDED BY AUTHORS AND CONTRIBUTORS ``AS IS'' AND XANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE XIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE XARE DISCLAIMED. IN NO EVENT SHALL AUTHORS OR CONTRIBUTORS BE LIABLE XFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL XDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS XOR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) XHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT XLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY XOUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF XSUCH DAMAGE. X X XThis ports collection also contains some modifications taken from Xthe ports collection for hades.lkamp.de; those modifications are Xdistributed under the following terms. X XCopyright (C) 2019 Christian Luetke-Stetzkamp. All rights reserved. X XRedistribution and use in source and binary forms, with or without Xmodification, are permitted provided that the following conditions Xare met: X1. Redistributions of source code must retain the above copyright X notice, this list of conditions and the following disclaimer. X2. Redistributions in binary form must reproduce the above copyright X notice, this list of conditions and the following disclaimer in the X documentation and/or other materials provided with the distribution. X3. Neither the name of the authors nor the contributors may be used to X endorse or promote products derived from this software without X specific prior written permission. X XTHIS SOFTWARE IS PROVIDED BY AUTHORS AND CONTRIBUTORS ``AS IS'' AND XANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE XIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE XARE DISCLAIMED. IN NO EVENT SHALL AUTHORS OR CONTRIBUTORS BE LIABLE XFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL XDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS XOR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) XHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT XLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY XOUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF XSUCH DAMAGE. de8abd653829ac7458b16b90605ff550 echo x - ./INSTALL-homedir.html sed 's/^X//' >./INSTALL-homedir.html << '886946625f11c9ff7335250e13a2e182' X X XInstalling isilmar-ports in your home directory X X X

Installing isilmar-ports in your home directory

X

XThe isilmar ports collection can also be used to install software Xcompletely in user land, without ever needing increased privileges. XThis page describes such a user-land installation. X

X X

Choosing your directory layout

X

XIsilmar-ports take the directory layout they follow from environment Xvariables, so you better set them once and for all. Also, to make your Xinstallation useful, you have to add the place you install to into Xyour path. X

X

XIn the following copy-and-paste example we assume that your shell is Xthe bash (the most popular one on GNU/Linux systems) and use the Xfollowing layout. Everything we do (apart from setting these Xenvironment variables) happens in a directory software in Xyour home directory. In that directory, we have a Xdirectory install where everything is installed into, a Xdirectory distfiles where upstream sources are collected and Xa directory ports for the ports tree. Hence you might add the Xfollowing to your .bashrc. X

X
X
Xexport PORTSDIR=$HOME/software/ports
Xexport DISTDIR=$HOME/software/distfiles
Xexport PREFIXBASE=$HOME/software/install
Xexport PATH=$PREFIXBASE/bin:$PATH
X
X
X

XDon't forget to source the configuration again, to have these Xvariables set (for fresh shells this will happen automatically once Xyou've changed your configuration file). X

X
X$ . ~/.bashrc X
X X

Bootstrapping stow and cvs

X

XThe isilmar ports use stow(1) as packaging tool and the usual way to Xget a your ports tree is to do a checkout of a local copy of the Xports cvs repository. So stow(1) and cvs(1) are needed; fortunately, Xthey are both provided by the ports tree. However, that means that the Xfirst installation is slightly different, to avoid the chicken-egg Xproblem. X

X

Note:All files hosted on https://www.linta.de/ports Xare also hosted on http://www.linta.de/ports, and vice versa. X

X

XGet your ports tree as shell archive. X

X
X
X$ mkdir -p $PORTSDIR
X$ cd $PORTSDIR
X$ wget https://www.linta.de/ports/ports.shar
X$ /bin/sh ports.shar
X$ rm ports.shar
X
X
X

XThen install the port stow by hand. X

X
X
X$ cd $PORTSDIR/stow && make install clean
X$ cd $PREFIXBASE/stow
X$ ./stow-*/bin/stow stow-*/
X
X
X

XThen the port cvs can be installed in the usual way. X

X
X$ $PORTSDIR/bin/reinstallport cvs
X
X
X X

Obtaining the ports repository

X

XNow it is time to replace the bootstrap ports tree by a proper cvs Xcheckout. In that way, you have full history and can also choose to Xuse older versions. X

X

First remove the bootstrap ports tree

X
X
X$ rm -rf $PORTSDIR
X
X
X

XThen download the cvs repository. In our example we place it in Xsoftware/isilmar in your home directory; any other place works equally Xwell, so adapt to your needs. X

X
X
X$ mkdir -p $HOME/software/isilmar
X$ cd $HOME/software/isilmar
X$ wget https://www.linta.de/ports/ports.cvs.tar.gz
X$ tar xvfz ports.cvs.tar.gz 
X$ rm ports.cvs.tar.gz
X$ CVSROOT=`pwd`/ports.cvs
X$ cd $HOME/software # the parent of $PORTSDIR
X$ cvs -d $CVSROOT checkout ports
X
X
X

XNow you can walk around in $PORTSDIR and use the usual cvs commands, Xlike log or update to learn about the history of a port or get an Xolder version. X

X X

Installing Software

X XThat's it! Now $PORTDIR/bin/reinstallport is the tool to install or Xupgrade a port. It takes precisely one argument, the name of the port. XE.g., if you want to install units, simply type X
X
X$PORTSDIR/bin/reinstallport units
X
X
X X

Feedback and further questions

X...can be directed to ports@linta.de X X X 886946625f11c9ff7335250e13a2e182 echo x - ./README sed 's/^X//' >./README << '3b98ea7052623e9ef9c9aad829989a61' XThis is the portscollection for isilmar.linta.de X XExecute Summary: X================ X X1.) Installing stuff X-------------------- X X# cd /usr/local/ports && cvs update -d -P && ./bin/reinstallport X XIf desired (e.g., to downgrade) set some sticky date or tag in the call to cvs. X XAfterwards run /root/bin/update-tripwire.bash (and have a cup of coffee). X X2.) Updating X------------ X XThe following subsections describe how to get your changes into the Xports tree; this should be done as normal user. Committing to the ports Xtree does not change the installation on the actual machine. So, once Xyou've got your changes into the repository, update the installation as Xfollows, working as root. X X# cd /usr/local/ports X# cvs update -d -P X# ./bin/reinstallport X X2.1) Updating a classical port to a new version X------------------------------------------------ X XThis should be done as normal user, not as root. If you're not working on Xisilmar, in the second step use :ext:isilmar.linta.de:/var/isilmar-ports Xinstead of /var/isilmar-ports X X$ cd /some/directory/where/you/can/play X$ cvs -d /var/isilmar-ports checkout ports X$ cd ports/nameoftheportyouwishtoupdate X$ $EDITOR Makefile X X Change PORTVERSION to the new Version, remove PORTREVISION, if present. X X$ make makesum X$ make extract X X Go to ./work/ and X carefully check, that it's not malware that you downloaded. X X Alternatively compare the hash values in ./distinfo to some trusted good X source. X X Only afterwards make a testinstallation of the port as follows X X$ PREFIXBASE=/tmp/some/dir/you/like make install clean X X Check if it works, then X X$ cvs ci X X2.2) Updating a port that refers to a local git repository X---------------------------------------------------------- X X$ cd /some/directory/where/you/can/play X$ cvs -d /var/isilmar-ports checkout ports X$ cd ports/nameoftheportyouwishtoupdate X$ $EDITOR Makefile X X Change GITDATE and GITCOMMITTID X X$ cvs ci X XNote: if you're simply following a branch on the upstream Xrepository and GIT_VERSION_BRANCH is set correctly in the Xport (or the default "master" is appropriate), instead of Xediting simply do a X X$ make makegitcommitid X X XDetails: X======== X XWhat 'reinstallport ${portname}' does X--------------------------------- X X${PORTS}/bin/reinstallport first tries (and this is the hard part) to guess what the Xvalues of PORTS and PREFIXBASE should be, if they're not set already. On our current Xinstallation on isilmar.linta.de the correct values are PORTS=/usr/local/ports Xand PREFIXBASE=/usr/local; fortunately, they're usually guessed correctly. X XThen the following commands are executed; if one fails, the rest is aborted. X X cd ${PORTS}/${portname} && make build X X cd ${PORTS}/${portname} && make test X X Go to ${PREFIXBASE} and unstow the current installation, if present; then X rename the stow directory to a unique name starting with OLD-${date} X X cd ${PORTS}/${portname} && make install X X Go to ${PREFIXBASE} and stow the new directory X X X XWhat a port is X-------------- X XA port is a directory with a Makefile; typically, it would include some Makefile Xwith the stuff that is common for all ports, in this case ports.mk. Only properties Xspecific to this port are declared in the local Makefile. An isilmar port supports X(at least) the following make targets (provided by ports.mk), where in the first block Xtarget each implies the one before as dependency. So you can install a port with the Xidiomatic 'make install clean'. X Xfetch Download the needed upstream files to $DISTDIR Xextract Unpack the upstream sources into $WORKDIR Xpatch apply the port patches to the unpacked sources Xconfigure run the configure script on the patched sources Xbuild build everything in the port Xinstall install the port X X Xclean rm -rf $WORKDIR Xmakesum change the contents of ./distinfo to reflect the actual ones of the files in $DISTDIR X X XThe behavior of a port is influenced by (at least) the following environment variables X XDISTDIR The directory where distfiles are stored. X Defaults to: ../distfiles X XWORKDIR The only directory where something is written (other then $DISTDIR in the fetch target, if X the files are not present and the place to install the port to for the install target). X Defaults to: $WRKDIRPREFIX/`pwd`/work X XPREFIXBASE The place directory into which the directory stow is to be put. (Only used to influence X the default value of PREFIX, see below.) X XPREFIX The installation prefix. All installation is done into the directory $PREFIX X Defaults to: $PREFIXBASE/stow/$PORTNAME-$PORTVERSION_$PORTREVISION or X $PREFIXBASE/stow/$PORTNAME-$PORTVERSION (depending on whether $PORTREVISION is set) X X XOther use cases X--------------- X X* Git checkout at extract time, instead of classical fetching and extracting X X Just set USEGIT=YES and set GITREPOSITORY, GITCOMMITID and GITDATE appropriately. X GITDATE is a refernce date for the commit in the form YYYY.MM.DD and only used to determine X which changes are upgrade and which are downgrades (this is a bit hard, especially for a human, X to see this from the git commit id). X X DISTFILES can be left unset. PORTVERSION, DO_EXTRACT and WRKSRC will be taken care of. The whole X magic is in git.mk X X XKNOBS X----- X X XThe following are typically set in the local Makefile X XPORTVERSION Upstream version XPORTREVISION isilmar revision number of this upstream version XMASTER_SITE Where the upstream sources are hosted XMASTER_SITE_SUBDIR The directory on the mastersite where the distfiles reside XDISTFILES The files to fetch from $MASTER_SITE/$MASTER_SITE_SUBDIR X XThe following can be set (among others) in a local Makefile, if this software is build Xdifferently that the "standard way to install software". (Note: the default values where Xup to date at the time this README was written but may change in a conservative way Xin the future.) X XTAR_PARAMETER additional flags to be given (besides xvf), if the upstream distfile is extracted with tar X XEXTRACT_CMD the comand to unpack the upstream file X defaults to: ${TAR} xvf${TAR_PARAMETER} X XPATCH_CMD the command to patch the upstream sources X defaults to: for patch in `ls ${PATCHDIR} | grep '^patch'`; \ X do (cd ${WRKSRC} && ${PATCH} < ${PATCHDIR}/$$patch); done X X In other words, you normally would just put your patches into ${PATCHDIR} (defaulting X to the standard portsdir) and name them patch-... X XCONFIGURE_OPTIONS additional options (besides --prefix) to be given to the configure script, if that is used X XBUILDENV environmentvariable settings to prefix the call to ${GMAKE} for build and install X defaults to: PREFIX=${PREFIX} \ X PKG_CONFIG_PATH=${PREFIXBASE}/lib/pkgconfig:${PREFIXBASE}/lib64/pkgconfig:$$PKG_CONFIG_PATH \ X CFLAGS=${CFLAGS} X XCONFIGURE_CMD the command executed (in ${WRKSRC}) by the configure target X defaults to: ${BUILDENV} /bin/sh ./configure --prefix=${PREFIX} ${CONFIGURE_OPTIONS} X XPOST_CONFIGURE_CMD Command to be exectued immediately after CONFIGURE_CMD X XGMAKE the name of the make utility to be used (see below) X defaults to: make X XALL_TARGET the target for ${GMAKE} to build everything X defaults to: all X XBUILD_CMD the command to be executed by the build target X defaults to: ${BUILDENV} ${GMAKE} ${ALL_TARGET} X XPRE_INSTALL_CMD the comand to be executed before INSTALL_CMD X defaults to: true X XINSTALL_CMD the command to be executed by the install target X defaults to: ${BUILDENV} ${GMAKE} install X XPOSTINSTALL_CMD the comand to be executed after INSTALL_CMD X defaults to: true X XINSTALL_DEPENS the command to install the depends file, if present (executed after POSTINSTALL_CMD) X defaults to: if [ -f ${MASTERDIR}/depends ]; then mkdir -p ${PREFIX}/dependencies && \ X install -m 644 ${MASTERDIR}/depends ${PREFIX}/dependencies/${PORTNAME}.depends; fi X XINSTALL_MESSAGE the command to install the message file, if present (executed after INSTALL_DEPENDS) X defaults to: if [ -f ${MASTERDIR}/message ]; then mkdir -p ${PREFIX}/dependencies && \ X install -m 644 ${MASTERDIR}/message ${PREFIX}/dependencies/${PORTNAME}.message && \ X echo "" && echo "" && cat ${MASTERDIR}/message && echo "" && echo ""; fi X XIn these commands, the following directories (among others) may be used. See also WORKDIR, DISTDIR, and PREFIX above. X XMASTERDIR the main port directory X defaults to: `pwd` X XPATCHDIR where ${PATCH} finds its patches X defaults to: ${MASTERDIR} X XWRKSRC where the extracted sources reside X defaults to: ${WORKDIR}/${PORTNAME}-${PORTVERSION} 3b98ea7052623e9ef9c9aad829989a61 echo c - ./bin mkdir -p ./bin > /dev/null 2>&1 echo c - ./bin/FreeBSD mkdir -p ./bin/FreeBSD > /dev/null 2>&1 echo x - ./bin/FreeBSD/toolnames.mk sed 's/^X//' >./bin/FreeBSD/toolnames.mk << 'aba3afe02623603526a557658f81dcab' X XGFIND ?= gfind XGMAKE ?= gmake XPATCH ?= gpatch XSED ?= gsed aba3afe02623603526a557658f81dcab echo c - ./bin/Linux mkdir -p ./bin/Linux > /dev/null 2>&1 echo x - ./bin/Linux/md5 sed 's/^X//' >./bin/Linux/md5 << 'b5a8055639593c59f6d2168465311c10' Xmd5sum | sed 's/ *-$//' b5a8055639593c59f6d2168465311c10 echo x - ./bin/Linux/sha256 sed 's/^X//' >./bin/Linux/sha256 << '750ffa1670548d2b6b679e1bea4dddae' Xsha256sum | sed 's/ *-$//' 750ffa1670548d2b6b679e1bea4dddae echo x - ./bin/Linux/toolnames.mk sed 's/^X//' >./bin/Linux/toolnames.mk << '5bfa3d13f6c8a7a71e5f7df7abafc084' 5bfa3d13f6c8a7a71e5f7df7abafc084 echo x - ./bin/reinstallport sed 's/^X//' >./bin/reinstallport << '96341652810b5314e81ccf667de8d634' X#!/usr/bin/perl -w X X# $Id: reinstallport,v 1.6 2011/11/08 06:03:42 aehlig Exp $ X Xuse strict; Xuse Cwd 'realpath'; X X@ARGV == 1 or die "Usage $0 \n"; X Xmy ($port) = @ARGV; X X Xmy $portsdir = get_portsdir(); Xmy $prefixbase = get_prefixbase(); Xmy $date = `date +%Y%m%d-%H%M%S`; chomp($date); Xmy $installname = get_installname(); X Xprint "===> reinstall of $port\n"; Xprint "Portsdirectory is $portsdir\n"; Xprint "PREFIXBASE is $prefixbase\n"; Xprint "Port to rebuild is $port\n"; Xprint "Will install $installname\n"; X Xdo_build(); Xdo_test(); Xdo_deinstall(); Xdo_install(); Xprint "===> finished $port\n"; X Xexit 0; X X##################### Subroutines to do the work X Xsub do_build X{ X print "---> building...\n"; X my $call = "cd \Q$portsdir/$port\E && make clean && PREFIXBASE=$prefixbase make build"; X X print $call . "\n"; X system($call) and die "Call failed ($?)\n"; X X} X Xsub do_test X{ X print "---> running regression tests (if any)...\n"; X my $call = "cd \Q$portsdir/$port\E && PREFIXBASE=$prefixbase make test"; X X print $call . "\n"; X system($call) and die "Call failed ($?)\n"; X X} X Xsub do_deinstall X{ X print "---> deinstalling old versions (if any)...\n"; X my $dh; X opendir($dh, $prefixbase . "/stow/") X or die "Failed to open $prefixbase/stow"; X foreach(readdir($dh)) { X /^$installname-/ or next; X my $dir = $_; X X my $call = "cd \Q$prefixbase/stow\E && stow -vD \Q$dir\E"; X print $call . "\n"; X system($call) and die "Call failed ($?)\n"; X X $call = "mv \Q$prefixbase/stow/$dir\E \Q$prefixbase/stow/OLD-$date.$dir\E"; X print $call . "\n"; X system($call) and die "Call failed ($?)\n"; X X }; X closedir($dh); X} X Xsub do_install X{ X print "---> installing...\n"; X my $call = "cd \Q$portsdir/$port\E && PREFIXBASE=$prefixbase make install clean"; X print $call . "\n"; X system($call) and die "Call failed ($?)\n"; X X my $dh; X opendir($dh, $prefixbase . "/stow/") X or die "Failed to open $prefixbase/stow"; X foreach(readdir($dh)) { X /^$installname-/ or next; X my $dir = $_; X X my $call = "cd \Q$prefixbase/stow\E && stow -v \Q$dir\E"; X print $call . "\n"; X system($call) and die "Call failed ($?)\n"; X }; X closedir($dh); X X} X X X##################### Subroutines to get environment variables or guesses for them X Xsub get_portsdir X{ X X # Try to find out, where the checkout of the isilmar ports resided X X # First priority: environment variables X X defined($ENV{'PORTS'}) and return $ENV{'PORTS'}; X X # Second priority: the location of this binary X X my $prgdir = realpath($0); X $prgdir =~ s/\/bin\/reinstallport$//; X X # sanity check: there should be file ports.mk in $prgdir X -f "$prgdir/ports.mk" and return $prgdir; X X # Third priority: /usr/local/ports X X -f "/usr/local/ports/ports.mk" and -f "/usr/local/ports/bin/reinstallport" X and return "/usr/local/ports"; X X ## Fail X X die "Failed to find the ports directory; please set PORTS correspondingly"; X} X Xsub get_prefixbase X{ X X # Try to find out the value of PREFIXBASE X X X # First priority: environment variables X X defined($ENV{'PREFIXBASE'}) and return $ENV{'PREFIXBASE'}; X X # guess: /usr/local X X -d "/usr/local/stow" and return "/usr/local"; X X # guess: $HOME X X defined($ENV{'HOME'}) and -d "$ENV{'HOME'}/stow" and return $ENV{'HOME'}; X X ## Fail X X die "Failed to find out PREFIXBASE; please set environment variable"; X} X Xsub get_installname X{ X -d "$portsdir/$port" or die "Unknown port $port\n"; X my $call = "cd \Q$portsdir/$port\E && make print-PORTNAME"; X my $portname = `$call`; X chomp($portname); X return $portname; X} 96341652810b5314e81ccf667de8d634 echo c - ./cvs mkdir -p ./cvs > /dev/null 2>&1 echo x - ./cvs/Makefile sed 's/^X//' >./cvs/Makefile << '1034c11a80ad220ee18e45603fdc5a67' X# $Id: Makefile,v 1.8 2020/03/28 22:36:30 aehlig Exp $ X XPORTVERSION=1.12.13.0.2011.04.07 XPORTNAME=cvs XPORTREVISION=1 X X# Snapshot release XMASTER_SITE=http://www.linta.de/distfiles/snapshots XWRKSRC=${WORKDIR}/ccvs X X# # Official releases can be obtained here X# MASTER_SITE=http://ftp.gnu.org/gnu/ X# MASTER_SITE_SUBDIR= non-gnu/${PORTNAME}/source/feature/${PORTVERSION} X XDISTFILES=${PORTNAME}-${PORTVERSION}.tar.bz2 XTAR_PARAMETER=j X X XCONFIGURE_OPTIONS=--enable-rootcommit XPOST_CONFIGURE_CMD= echo "\#undef HAVE_OPENPGP" >> ${WRKSRC}/config.h XPOSTPATCH_CMD= for f in ${WRKSRC}/lib/fread*; do rm $${f}; touch $${f}; done X Xinclude ../ports.mk 1034c11a80ad220ee18e45603fdc5a67 echo x - ./cvs/depends sed 's/^X//' >./cvs/depends << '80a514180eede3afca50f4a33b2f21c1' Xtexinfo 80a514180eede3afca50f4a33b2f21c1 echo x - ./cvs/distinfo sed 's/^X//' >./cvs/distinfo << '96b1770026ecf64e772c70901a617184' Xmd5 (cvs-1.12.13.0.2011.04.07.tar.bz2) = 8ae303cfa4c829cac641836aa1d72542 Xsha256 (cvs-1.12.13.0.2011.04.07.tar.bz2) = e869ca23ca4516213a867446f064fbc46216bff51e727da20ce73ffe9daf484c 96b1770026ecf64e772c70901a617184 echo x - ./cvs/patch-doc__cvs.texinfo sed 's/^X//' >./cvs/patch-doc__cvs.texinfo << '4cd62fc1798d3701bd3164179e77f5f1' X--- ./doc/cvs.texinfo.orig 2016-02-08 23:40:02.458200000 +0100 X+++ ./doc/cvs.texinfo 2016-02-08 23:40:22.939096000 +0100 X@@ -112,9 +112,9 @@ X @sp 4 X @comment The title is printed in a large font. X @center @titlefont{Version Management} X-@sp X+@sp 1 X @center @titlefont{with} X-@sp X+@sp 1 X @center @titlefont{CVS} X @sp 2 X @center for @sc{cvs} @value{VERSION} 4cd62fc1798d3701bd3164179e77f5f1 echo x - ./cvs/patch-src__client.c sed 's/^X//' >./cvs/patch-src__client.c << '01cdc86c07851d354c86e6eda8c233fe' X[CVE-2012-0804] Fix proxy response parser X XIf proxy sends overlong HTTP vesion string, the string will be copied Xto unallocatd space (write_buf) causing heap overflow. X XThis patch fixes it by ignoring the HTTP version string and checking Xthe response line has been parsed correctly. X XSee for more Xdetails. X XIndex: src/client.c X=================================================================== XRCS file: /sources/cvs/ccvs/src/client.c,v Xretrieving revision 1.483 Xdiff -u -r1.483 client.c X--- src/client.c 18 Nov 2008 22:59:02 -0000 1.483 X+++ src/client.c 26 Jan 2012 16:32:25 -0000 X@@ -4339,9 +4339,9 @@ X * code. X */ X read_line_via (from_server, to_server, &read_buf); X- sscanf (read_buf, "%s %d", write_buf, &codenum); X+ count = sscanf (read_buf, "%*s %d", &codenum); X X- if ((codenum / 100) != 2) X+ if (count != 1 || (codenum / 100) != 2) X error (1, 0, "proxy server %s:%d does not support http tunnelling", X root->proxy_hostname, proxy_port_number); X free (read_buf); 01cdc86c07851d354c86e6eda8c233fe echo c - ./cvsadmin mkdir -p ./cvsadmin > /dev/null 2>&1 echo x - ./cvsadmin/Makefile sed 's/^X//' >./cvsadmin/Makefile << 'ec901a53cd84f214cc8a529436c1b03f' X# $Id: Makefile,v 1.1 2009/11/19 20:24:27 aehlig Exp $ X XPORTNAME=cvsadmin XPORTVERSION=1.0.3 X XMASTER_SITE=http://www.linta.de/distfiles/ XDISTFILES=${PORTNAME}-${PORTVERSION}.tar.gz XTAR_PARAMTER=z X XPOST_CONFIGURE_CMD= ${ECHO_CMD} "\#define HAVE_MKDTEMP 1" >> ${WRKSRC}/config.h X Xinclude ../ports.mk ec901a53cd84f214cc8a529436c1b03f echo x - ./cvsadmin/distinfo sed 's/^X//' >./cvsadmin/distinfo << '6a90d2532a102edb1b3a2d2d041f9fc6' Xmd5 (cvsadmin-1.0.3.tar.gz) = 8b28a4528a13ae1bab3aee2b10574719 Xsha256 (cvsadmin-1.0.3.tar.gz) = 612a2e5eab44ae9c314799ff32bb5fc105ccd124fe86d57ec7f7702cae94ffb4 6a90d2532a102edb1b3a2d2d041f9fc6 echo c - ./dyndns mkdir -p ./dyndns > /dev/null 2>&1 echo x - ./dyndns/Makefile sed 's/^X//' >./dyndns/Makefile << 'e407ab3333a4b81ab3664c62daa0837b' X# $Id: Makefile,v 1.11 2017/05/29 19:17:09 root Exp $ X XUSEGIT=YES X XPORTNAME=dyndns X XGITDATE=2017.05.29 XGITCOMMITID=b99a8780f58d3bbf398161ce1e14bf1a92c91128 XGITREPOSITORY=git://git.linta.de/isilmar/dyndns.git X XPATH_TO_CONFIGFILE ?= /etc/dyndns.conf X XCONFIGURE_CMD=true # don't configure XBUILD_CMD=true # don't build XINSTALL_CMD=${BUILDENV} PATH_TO_CONFIGFILE=${PATH_TO_CONFIGFILE} ${GMAKE} install X Xinclude ../ports.mk e407ab3333a4b81ab3664c62daa0837b echo x - ./dyndns/depends sed 's/^X//' >./dyndns/depends << 'e4ef7aba71ed4473dbab6e779e2e1ca5' Xpython Xpython-jinja2 e4ef7aba71ed4473dbab6e779e2e1ca5 echo x - ./dyndns/message sed 's/^X//' >./dyndns/message << '7c1b5105b647e5d118b8d213b2e61553' XIf this is an initial installation, execute 'updatedata.py initialize' now X XNote, that after reinstalling the port, you have to restart the wsgi daemon. XOn isilmar.linta.de this can be done by typing X X Xservice dyndns-scgi-server restart 7c1b5105b647e5d118b8d213b2e61553 echo c - ./fcron mkdir -p ./fcron > /dev/null 2>&1 echo x - ./fcron/Makefile sed 's/^X//' >./fcron/Makefile << '0d522a69d0d2ef62e9221743f9b078c2' X# $Id: Makefile,v 1.1 2013/10/26 08:40:55 root Exp $ X XPORTVERSION=3.1.2 XPORTNAME=fcron X XMASTER_SITE=http://fcron.free.fr/archives XMASTER_SITE_SUBDIR= XDISTFILES=${PORTNAME}-${PORTVERSION}.src.tar.gz XTAR_PARAMETER=z X XCONFIGURE_OPTIONS= --sysconfdir=/etc --localstatedir=/var \ X --with-username=fcron --with-groupname=fcron \ X --with-sendmail=/usr/sbin/sendmail \ X --with-boot-install=no X XPOSTINSTALL_CMD=(chmod a+r ${PREFIX}/bin/fcrondyn ${PREFIX}/bin/fcronsighup \ X ${PREFIX}/bin/fcrontab ${PREFIX}/sbin/fcron) X Xinclude ../ports.mk 0d522a69d0d2ef62e9221743f9b078c2 echo x - ./fcron/depends sed 's/^X//' >./fcron/depends << '8dc092a53e08336ab8fe96c8e273856c' Xlibpam0g-dev 8dc092a53e08336ab8fe96c8e273856c echo x - ./fcron/distinfo sed 's/^X//' >./fcron/distinfo << '263a77e09cfefe51238a758a68884039' Xmd5 (fcron-3.1.2.src.tar.gz) = 36bf213e15f3a480f2274f8e46cced0a Xsha256 (fcron-3.1.2.src.tar.gz) = 1c9299baab86e2b141031193c98ccd2e1b52d97a023b45a9e80266372ab11a5d 263a77e09cfefe51238a758a68884039 echo x - ./fcron/message sed 's/^X//' >./fcron/message << '1e276469bb226be43bf8fa8dc2198c03' XNOTE: X==== X XAfter reinstallung fcron, it needs to be restarted. XOn systems with the same hierarchy layout as isilmar, Xyou can use the following command X Xservice fcron restart X X 1e276469bb226be43bf8fa8dc2198c03 echo x - ./git.mk sed 's/^X//' >./git.mk << '7314173d8afdf1dc6daecd649371b001' X XGIT ?= git X XPORTVERSION ?= ${GITDATE}.${GITCOMMITID} XDO_EXTRACT ?= ${GIT} clone ${GITREPOSITORY} gitwork && cd gitwork && ${GIT} checkout -b githead ${GITCOMMITID} XWRKSRC ?= ${WORKDIR}/gitwork X XGIT_VERSION_BRANCH ?= master XGIT_VERSION_REPOSITORY ?= ${GITREPOSITORY} X XGIT_GETNEWCOMMITID = (cd / && ${GIT} ls-remote ${GIT_VERSION_REPOSITORY} ${GIT_VERSION_BRANCH}) | cut -f 1 X Xmakegitcommitid: X ${SED} -i'' -e 's/GITCOMMITID *=.*/GITCOMMITID='`${GIT_GETNEWCOMMITID}`/g Makefile X ${SED} -i'' -e 's/GITDATE *=.*/GITDATE='`date +%Y.%m.%d`/g Makefile 7314173d8afdf1dc6daecd649371b001 echo x - ./haskell.depends.default sed 's/^X//' >./haskell.depends.default << '79b79137b34c06174b93656154304726' Xghc Xlibghc-optparse-applicative-dev Xlibghc-regex-pcre-dev Xlibghc-network-dev Xlibghc-exceptions-dev Xlibghc-microlens-dev Xlibghc-primitive-dev Xlibghc-vector-dev Xlibghc-unliftio-core-dev Xlibghc-uuid-dev Xlibghc-unordered-containers-dev 79b79137b34c06174b93656154304726 echo x - ./haskell.mk sed 's/^X//' >./haskell.mk << 'c06a58095c96e7a99f09818a17c0fa9c' X XRUNHS ?= runhaskell X XHASKELL_PKG ?= $(subst libghc-,,${PORTNAME}) XWRKSRC ?= ${WORKDIR}/${HASKELL_PKG}-${PORTVERSION} X XMASTER_SITE ?= https://hackage.haskell.org/package/${HASKELL_PKG}-${PORTVERSION}/ XDISTFILES ?= ${HASKELL_PKG}-${PORTVERSION}.tar.gz XTAR_PARAMETER ?= z X XHASKELL_DEPS ?= XHASKELL_TRANS_DEPS_CMD ?= (for ddep in ${HASKELL_DEPS} ; \ X do cat ${LOCALBASE}/libexec/haskell_db/$${ddep}.trans_deps ; \ X echo $${ddep} ; \ X done) | sort -u XDEPENDS_FILE ?= ${PORTS}/haskell.depends.default X XINNER_HASKELL_DEPS_CMD ?= for dep in $$( ${HASKELL_TRANS_DEPS_CMD} ); do echo '--package-db=${LOCALBASE}/libexec/haskell_db/'$${dep}'.db'; done X XPACKAGE_DIR ?= ${WRKSRC} XINSTALL_PKG_DB ?= ${WORKDIR}/db XDB_DIR ?= ${PREFIX}/libexec/haskell_db/${HASKELL_PKG}.db X XPRE_CONFIGURE_CMD ?= mkdir -p ${INSTALL_PKG_DB} && test -f ${PACKAGE_DIR}/Setup.hs || bash -c 'echo $$'\''import Distribution.Simple\nmain = defaultMain'\'' > ${WRKSRC}/Setup.hs' X XCONFIGURE_CMD ?= (cd ${PACKAGE_DIR} && ${RUNHS} Setup configure --prefix=${PREFIX} $$( ${INNER_HASKELL_DEPS_CMD} ) --package-db=${INSTALL_PKG_DB}) XBUILD_CMD ?= (cd ${PACKAGE_DIR} && ${RUNHS} Setup build) XINSTALL_CMD ?= (cd ${PACKAGE_DIR} \ X && ${RUNHS} Setup install \ X && mkdir -p ${DB_DIR} \ X && find ${INSTALL_PKG_DB} -type f -exec install -Dm 644 "{}" "${DB_DIR}" \; \ X && touch ${PREFIX}/libexec/haskell_db/${HASKELL_PKG}.trans_deps \ X && for dep in $$( ${HASKELL_TRANS_DEPS_CMD} ) ; do echo "$$dep" >> ${PREFIX}/libexec/haskell_db/${HASKELL_PKG}.trans_deps ; done \ X ) c06a58095c96e7a99f09818a17c0fa9c echo c - ./http2tcp mkdir -p ./http2tcp > /dev/null 2>&1 echo x - ./http2tcp/Makefile sed 's/^X//' >./http2tcp/Makefile << '830575d6bb9df57b17885edcfa0a193d' X# $Id: Makefile,v 1.6 2019/04/13 17:29:02 root Exp $ X XUSEGIT=YES X XPORTNAME=http2tcp X XGITDATE=2019.03.03 XGITCOMMITID=ab37bcbe10a0a03e27423688654442f9bc01519f XGITREPOSITORY=git://git.linta.de/aehlig/http2tcp X XCONFIGURE_CMD=true # don't configure XBUILD_CMD=true # don't build X XINSTALL_CMD= (mkdir -p ${PREFIX}/bin && mkdir -p ${PREFIX}/sbin && mkdir -p ${PREFIX}/share/${PORTNAME} && \ X install ${WRKSRC}/http2tcp-server ${PREFIX}/sbin/http2tcp-server && \ X install ${WRKSRC}/http2tcp-client ${PREFIX}/bin/http2tcp-client && \ X install -m 644 ${WRKSRC}/Protocol ${PREFIX}/share/${PORTNAME}/Protocol) X Xinclude ../ports.mk 830575d6bb9df57b17885edcfa0a193d echo x - ./http2tcp/depends sed 's/^X//' >./http2tcp/depends << 'b8690e977748950443985e73253a4666' Xpython b8690e977748950443985e73253a4666 echo x - ./http2tcp/message sed 's/^X//' >./http2tcp/message << '735de0d5d1955c27c8820bddf23175e1' X XNOTE: X===== XAfer updating http2tcp you have to restart the http2tcp-server, Xbut beware of currently running ssh connections (just follow X/var/log/apache2/acces.log for 10 seconds). X XTo do so, you can use the following command on isilmar. X Xservice http2tcp-server restart 735de0d5d1955c27c8820bddf23175e1 echo c - ./ii mkdir -p ./ii > /dev/null 2>&1 echo x - ./ii/Makefile sed 's/^X//' >./ii/Makefile << '690dc2cff867fb51be249ca230ac56b8' X# $Id: Makefile,v 1.3 2010/07/14 07:37:53 aehlig Exp $ X XPORTVERSION=1.4 XPORTREVISION=1 XPORTNAME=ii X XMASTER_SITE= http://laffaye.free.fr XMASTER_SITE_SUBDIR = distfiles XDISTFILES=${PORTNAME}-${PORTVERSION}.tar.gz X XCONFIGURE_CMD=true X Xinclude ../ports.mk 690dc2cff867fb51be249ca230ac56b8 echo x - ./ii/distinfo sed 's/^X//' >./ii/distinfo << '194e0b015505c2017082ff48d754b1e9' Xmd5 (ii-1.4.tar.gz) = 535d88c23e84d510edf773db12728ac0 Xsha256 (ii-1.4.tar.gz) = 811eeb452a387e3d1b7a4fca7995c82efdfc3582c86bef2be521c951a9aa7c8e 194e0b015505c2017082ff48d754b1e9 echo x - ./ii/patch-nopingtimeout sed 's/^X//' >./ii/patch-nopingtimeout << 'd388cbe59c428c1815950e690d50f948' X--- ii.c.orig 2010-05-01 08:48:46.000000000 +0200 X+++ ii.c 2010-05-01 08:49:03.000000000 +0200 X@@ -441,7 +441,7 @@ X perror("ii: error on select()"); X exit(EXIT_FAILURE); X } else if(r == 0) { X- if(time(NULL) - last_response >= PING_TIMEOUT) { X+ if(0 && time(NULL) - last_response >= PING_TIMEOUT) { X print_out(NULL, "-!- ii shutting down: ping timeout"); X exit(EXIT_FAILURE); X } d388cbe59c428c1815950e690d50f948 echo x - ./ii/patch-prefix sed 's/^X//' >./ii/patch-prefix << '04fddabf27c74f530729740ab3156770' X--- config.mk.orig 2010-05-01 08:32:05.000000000 +0200 X+++ config.mk 2010-05-01 08:32:14.000000000 +0200 X@@ -1,7 +1,7 @@ X # Customize to fit your system X X # paths X-PREFIX = /usr/local X+PREFIX ?= /usr/local X BINDIR = ${PREFIX}/bin X MANDIR = ${PREFIX}/share/man X MAN1DIR = ${MANDIR}/man1 04fddabf27c74f530729740ab3156770 echo c - ./journald-ai mkdir -p ./journald-ai > /dev/null 2>&1 echo x - ./journald-ai/Makefile sed 's/^X//' >./journald-ai/Makefile << '8c78ebd53654cfd913aadf0be2ca7173' X# $Id: Makefile,v 1.2 2019/04/14 17:07:16 aehlig Exp $ X XUSEGIT=YES X XPORTNAME=journald-ai X XGITDATE=2019.04.06 XGITCOMMITID=d18bed11ab7046f058068fcc8875151e907c8e6c XGITREPOSITORY=git://git.linta.de/brodo/journald-ai.git X XCONFIGURE_CMD=true # don't configure XBUILD_CMD=${BUILDENV} ${GMAKE} build XINSTALL_CMD=${BUILDENV} ${GMAKE} install X Xinclude ../ports.mk 8c78ebd53654cfd913aadf0be2ca7173 echo x - ./journald-ai/depends sed 's/^X//' >./journald-ai/depends << '46c4c44f9c6a6a00b014e3609c9f0f22' Xpython3 Xpython3-pyinotify Xpython3-systemd 46c4c44f9c6a6a00b014e3609c9f0f22 echo x - ./journald-ai/message sed 's/^X//' >./journald-ai/message << '77fee8d5cb39e166f63cedde929b4e0b' X XNOTE: X==== XAfter updating journald-ai to a new version, you have to restart the Xdaemon to avoid version clashes between the running daemon and the Xnew version. X XTo do so, you can use the following commands (on systems with Xthe same hierarchy and setup as isilmar): X Xsystemctl restart ai.service 77fee8d5cb39e166f63cedde929b4e0b echo c - ./libghc-async mkdir -p ./libghc-async > /dev/null 2>&1 echo x - ./libghc-async/Makefile sed 's/^X//' >./libghc-async/Makefile << 'b37eefc4658b4db1c5bc493bbfde2613' X# $Id: Makefile,v 1.1 2020/05/27 22:04:13 christian Exp $ X XPORTNAME=libghc-async XPORTVERSION=2.2.2 X XUSEHASKELL=YES X Xinclude ../ports.mk b37eefc4658b4db1c5bc493bbfde2613 echo x - ./libghc-async/distinfo sed 's/^X//' >./libghc-async/distinfo << 'c31687c585cfc73cee05432a4597de87' Xmd5 (async-2.2.2.tar.gz) = fd7d08448469e87939ebdea392e1783d Xsha256 (async-2.2.2.tar.gz) = 4b4ab1ac82c45144d82c6daf6cb6ba45eab9957dad44787fa5e869e23d73bbff c31687c585cfc73cee05432a4597de87 echo c - ./libghc-rio mkdir -p ./libghc-rio > /dev/null 2>&1 echo x - ./libghc-rio/Makefile sed 's/^X//' >./libghc-rio/Makefile << 'e90ca7fe1d8b9449af4ce3f6633e707c' X# $Id: Makefile,v 1.2 2020/06/11 11:48:28 aehlig Exp $ X XPORTNAME=libghc-rio XPORTVERSION=0.1.15.1 X XHASKELL_DEPS= unliftio typed-process X XUSEHASKELL=YES X Xinclude ../ports.mk e90ca7fe1d8b9449af4ce3f6633e707c echo x - ./libghc-rio/distinfo sed 's/^X//' >./libghc-rio/distinfo << 'f72f0736c58b8dcacf27c39984cee8e9' Xmd5 (rio-0.1.15.1.tar.gz) = d8bb0b1951972519240d3aa0920d7131 Xsha256 (rio-0.1.15.1.tar.gz) = b13c91b74652377917c2816f42c75b1b32d1b20b91f1227fa3e6eee4b9ecb316 f72f0736c58b8dcacf27c39984cee8e9 echo c - ./libghc-typed-process mkdir -p ./libghc-typed-process > /dev/null 2>&1 echo x - ./libghc-typed-process/Makefile sed 's/^X//' >./libghc-typed-process/Makefile << '6114385b0265605451fc4743fbf5b065' X# $Id: Makefile,v 1.1 2020/05/27 22:04:13 christian Exp $ X XPORTNAME=libghc-typed-process XPORTVERSION=0.2.6.0 X XHASKELL_DEPS= async X XUSEHASKELL=YES X Xinclude ../ports.mk 6114385b0265605451fc4743fbf5b065 echo x - ./libghc-typed-process/distinfo sed 's/^X//' >./libghc-typed-process/distinfo << '00a56841e9bfaac93e798ad380963776' Xmd5 (typed-process-0.2.6.0.tar.gz) = a69241599c7a06d0c158ab6f043dac24 Xsha256 (typed-process-0.2.6.0.tar.gz) = 31a2a81f33463fedc33cc519ad5b9679787e648fe2ec7efcdebd7d54bdbbc2b1 00a56841e9bfaac93e798ad380963776 echo c - ./libghc-unliftio mkdir -p ./libghc-unliftio > /dev/null 2>&1 echo x - ./libghc-unliftio/Makefile sed 's/^X//' >./libghc-unliftio/Makefile << 'e1fcb810d82f9fff0a483473ea2007af' X# $Id: Makefile,v 1.1 2020/05/27 22:04:13 christian Exp $ X XPORTNAME=libghc-unliftio XPORTVERSION=0.2.13 X XHASKELL_DEPS = async X XUSEHASKELL=YES X Xinclude ../ports.mk e1fcb810d82f9fff0a483473ea2007af echo x - ./libghc-unliftio/distinfo sed 's/^X//' >./libghc-unliftio/distinfo << 'b6a8fe095f5c576693622b041be41019' Xmd5 (unliftio-0.2.13.tar.gz) = d9b70495a3ffd440ae4f06b9fd2221b5 Xsha256 (unliftio-0.2.13.tar.gz) = c2562c4c32a1a3ce4ad10c9e5c816862858c80cec0340599747e4dca586ef9f3 b6a8fe095f5c576693622b041be41019 echo c - ./mail-config mkdir -p ./mail-config > /dev/null 2>&1 echo x - ./mail-config/Makefile sed 's/^X//' >./mail-config/Makefile << '52acf328328942ede11c3f71cbf91429' X# $Id: Makefile,v 1.23 2021/05/01 10:37:24 aehlig Exp $ X XUSEGIT=YES X XPORTNAME=mail-config X XGITDATE=2021.05.01 XGITCOMMITID=38ac39aef9377c0678a6edeff826c9175383cbfd XGITREPOSITORY=git://git.linta.de/isilmar/mail-config.git X XCONFIGURE_CMD=true # don't configure XBUILD_CMD=true # don't build XINSTALL_CMD =${WRKSRC}/_make_stow_directory `hostname` ${PREFIX} X Xinclude ../ports.mk 52acf328328942ede11c3f71cbf91429 echo x - ./mail-config/message sed 's/^X//' >./mail-config/message << '8c116b2c9b312feea4976cc86a307851' X XNOTE: X==== X XAbsolute paths might have changed. Therefore, you need to run X Xupdate-mailaccounts X Xafter each update of this port. 8c116b2c9b312feea4976cc86a307851 echo c - ./mail-sync mkdir -p ./mail-sync > /dev/null 2>&1 echo x - ./mail-sync/Makefile sed 's/^X//' >./mail-sync/Makefile << '10811f33ff4457e83ac82e9cd1c6b116' X# $Id: Makefile,v 1.13 2021/04/28 07:49:04 aehlig Exp $ X XPORTNAME=mail-sync XPORTVERSION=0.1.2.0.2021.04.27 XMASTER_SITE=https://blog.hades.lkamp.de/ox-hugo/ X XHASKELL_DEPS= rio XPACKAGE_DIR=mail-sync X XUSEHASKELL=YES X XPOSTPATCH_CMD= sed -i \ X -e 's|%%CONTRIBPATH%%|${PREFIXBASE}/share/doc/${PORTNAME}/contrib|' \ X -e 's|%%MAIL_SYNC_PATH%%|${PREFIXBASE}/bin/mail-sync|' \ X ${WRKSRC}/Setup.org X XPOSTINSTALL_CMD=install -d ${PREFIX}/share/doc/${PORTNAME} \ X && install -m 644 ${WRKSRC}/Setup.org ${PREFIX}/share/doc/${PORTNAME}/Setup.org \ X && install -d ${PREFIX}/share/doc/${PORTNAME}/contrib \ X && install -m 755 ${WRKSRC}/contrib/* ${PREFIX}/share/doc/${PORTNAME}/contrib \ X && install -m 644 ${WRKSRC}/contrib/.mail-syncrc ${PREFIX}/share/doc/${PORTNAME}/contrib \ X && install -d ${PREFIX}/man/man1 \ X && install -m 644 ${WRKSRC}/man/mail-sync.1 ${PREFIX}/man/man1/mail-sync.1 X Xinclude ../ports.mk 10811f33ff4457e83ac82e9cd1c6b116 echo x - ./mail-sync/distinfo sed 's/^X//' >./mail-sync/distinfo << 'e348eb5988337def74f261b73eebdc35' Xmd5 (mail-sync-0.1.2.0.2021.04.27.tar.gz) = e29ab2b313986ffb23a8f16f5458749d Xsha256 (mail-sync-0.1.2.0.2021.04.27.tar.gz) = abfb5ce2dc976d10ca2363e022fef283db322508a9ccb0f4567f94bbd78cf778 e348eb5988337def74f261b73eebdc35 echo x - ./mail-sync/patch-Setup.org sed 's/^X//' >./mail-sync/patch-Setup.org << 'f53929a21a162ae086daac33c2b69ada' X--- ./Setup.org.orig 2020-06-13 00:09:23.000000000 +0000 X+++ ./Setup.org 2020-06-13 11:56:22.788494339 +0000 X@@ -12,11 +12,9 @@ X some of the following steps. Further a connection between the server and the X client is needed, here ssh initiated by the client is used. X X-*Also you need the place of the contrib folder in ~$CONTRIB~ to follow this X-guide literally.* X- X #+BEGIN_SRC sh X-MAIL_SYNC_PATH=`which mail-sync` X+CONTRIB=%%CONTRIBPATH%% X+MAIL_SYNC_PATH=%%MAIL_SYNC_PATH%% X SERVERNAME=server X CLIENTNAME=client X SERVER=USER@server.example.com f53929a21a162ae086daac33c2b69ada echo x - ./mail-sync/patch-mail-sync__mail-sync.cabal sed 's/^X//' >./mail-sync/patch-mail-sync__mail-sync.cabal << '04d0f1429969aedfc6be593ab1c47def' X--- mail-sync/mail-sync.cabal.orig 2020-09-28 18:07:54.917677433 +0000 X+++ mail-sync/mail-sync.cabal 2020-09-28 18:09:01.388070303 +0000 X@@ -54,7 +54,7 @@ X base >=4.7 && <5 X , binary X , bytestring X- , network-bsd >=2.7 && <2.9 X+ , network < 3.0 X , optparse-applicative X , parsec X , regex-pcre X@@ -77,7 +77,7 @@ X , binary X , bytestring X , mail-sync X- , network-bsd >=2.7 && <2.9 X+ , network < 3.0 X , optparse-applicative X , parsec X , regex-pcre X@@ -101,7 +101,7 @@ X , binary X , bytestring X , mail-sync X- , network-bsd >=2.7 && <2.9 X+ , network < 3.0 X , optparse-applicative X , parsec X , regex-pcre 04d0f1429969aedfc6be593ab1c47def echo x - ./mail-sync/patch-mail-sync__src__InitialSync.hs sed 's/^X//' >./mail-sync/patch-mail-sync__src__InitialSync.hs << 'cf4489bf060cb7e903b561c1f3a5e62b' X--- mail-sync/src/InitialSync.hs.orig 2020-11-21 13:37:28.229879321 +0000 X+++ mail-sync/src/InitialSync.hs 2020-11-21 13:37:40.079593219 +0000 X@@ -27,7 +27,7 @@ X import ExitCodes X import LocalUpdates (getMails, removeLostEntries) X import Maildir (findMail, newMailQD) X-import Peer (pName) X+import Peer X import RemoteUpdates (acceptPeer, anyPeer) X import Utils (maybeReadBinaryFile, (>>=?), printErrorMessage) X cf4489bf060cb7e903b561c1f3a5e62b echo x - ./mail-sync/patch-mail-sync__src__Update.hs sed 's/^X//' >./mail-sync/patch-mail-sync__src__Update.hs << '6add99a872347ac578ea7b31123f8dbe' X--- ./mail-sync/src/Update.hs.orig 2020-06-13 00:09:23.000000000 +0000 X+++ ./mail-sync/src/Update.hs 2020-06-13 11:56:22.788494339 +0000 X@@ -96,6 +96,6 @@ X updatePeer peer = do X let ident = show $ pUUID peer X- path <- except . maybeToRight "No path to peer" $ pPath peer X- (cmd, args) <- except . maybeToRight "Empty path" $ uncons path X+ path <- ExceptT . return . maybeToRight "No path to peer" $ pPath peer X+ (cmd, args) <- ExceptT . return . maybeToRight "Empty path" $ uncons path X requestFromUs <- ExceptT $ maybeToRight "Did not find peer" <$> requestFrom' ident X gs <- lift slurpGlobalState X@@ -105,7 +105,7 @@ X toPeerAsync <- lift . async $ toPeer cmd args request' $ myName gs X fromPeerAsync <- lift . async $ fromPeer cmd args requestFromUs ident X (fromPeer', toPeer') <- lift $ waitBoth fromPeerAsync toPeerAsync X- except $ fromPeer' >> toPeer' X+ ExceptT . return $ fromPeer' >> toPeer' X X updateAll :: (HasMailSyncConfig env, HasProcessContext env, HasLogFunc env) X => RIO env () 6add99a872347ac578ea7b31123f8dbe echo x - ./ports.mk sed 's/^X//' >./ports.mk << '2a8f3f6dd932703e74aed040e2b8d8fb' X XPORTS ?= $(shell pwd)/.. X Xinclude $(PORTS)/bin/$(shell uname)/toolnames.mk X X## Nonstandard ways of using Xifdef USEGIT Xinclude ${PORTS}/git.mk Xendif X Xifdef USEHASKELL Xinclude ${PORTS}/haskell.mk Xendif X Xifdef USE_PYDISTUTILS Xinclude ${PORTS}/pydistutils.mk Xendif X X X## Standard infrastructure X XPATCH ?= patch XPATCH_OPTIONS ?= -b -p0 # GNU patch peculiarity not to honor correct relative X # paths unless -p0 is given XDISTDIR ?= $(shell pwd)/../distfiles XWRKDIRPREFIX ?= XWORKDIR ?= ${WRKDIRPREFIX}/$(shell pwd)/work XMASTERDIR ?= $(shell pwd) XPATCHDIR ?= ${MASTERDIR} XWRKSRC ?= ${WORKDIR}/${PORTNAME}-${PORTVERSION} XPORTREVISION ?= XPREFIXBASE ?= /usr/local XPREFIX ?= $(shell if test 0${PORTREVISION} -gt 0; then \ X echo -n '${PREFIXBASE}/stow/${PORTNAME}-${PORTVERSION}_${PORTREVISION}'; else \ X echo -n '${PREFIXBASE}/stow/${PORTNAME}-${PORTVERSION}'; fi) XLOCALBASE ?= ${PREFIXBASE} XFETCH ?= wget XFETCH_ARGS ?= --max-redirect=0 XAWK ?= awk XDIFF ?= diff XTAR ?= tar XGFIND ?= find XGMAKE ?= make XECHO_CMD ?= echo XSED ?= sed XCONFIGURE_OPTIONS ?= XMASTER_SITE_SUBDIR ?= XCFLAGS ?= -g -I${LOCALBASE}/include -L${LOCALBASE}/lib X XEXTRABUILDENV ?= XBUILDENV ?= PREFIX=${PREFIX} PKG_CONFIG_PATH=${PREFIXBASE}/lib/pkgconfig:${PREFIXBASE}/lib64/pkgconfig:$$PKG_CONFIG_PATH CFLAGS='${CFLAGS}' ${EXTRABUILDENV} X XEXTRACT_CMD ?= ${TAR} xvf${TAR_PARAMETER} XDO_EXTRACT ?= for file in ${DISTFILES}; do ${EXTRACT_CMD} ${DISTDIR}/$$file; done XPOSTEXTRACT_CMD ?= true XPATCHES_LIST ?= `ls ${PATCHDIR} | grep '^patch'` XPATCH_CMD ?= for patch in ${PATCHES_LIST}; do (cd ${WRKSRC} && ${PATCH} ${PATCH_OPTIONS} < ${PATCHDIR}/$$patch); done XPOSTPATCH_CMD ?= true XPRE_CONFIGURE_CMD ?= true XCONFIGURE_CMD ?= ${BUILDENV} /bin/sh ./configure --prefix=${PREFIX} ${CONFIGURE_OPTIONS} XPOST_CONFIGURE_CMD ?= true XALL_TARGET ?= all XBUILD_CMD ?= ${BUILDENV} ${GMAKE} ${ALL_TARGET} XPRE_INSTALL_CMD ?= true XINSTALL_CMD ?= ${BUILDENV} ${GMAKE} install XPOSTINSTALL_CMD ?= true XINSTALL_CLEAN_INFODIR ?= if [ -f ${PREFIX}/share/info/dir ]; then rm ${PREFIX}/share/info/dir; fi XDEPENDS_FILE ?= ${MASTERDIR}/depends XINSTALL_DEPENDS ?= if [ -f ${DEPENDS_FILE} ]; then mkdir -p ${PREFIX}/dependencies && install -m 644 ${DEPENDS_FILE} ${PREFIX}/dependencies/${PORTNAME}.depends; fi XINSTALL_MESSAGE ?= if [ -f ${MASTERDIR}/message ]; then mkdir -p ${PREFIX}/dependencies && \ X install -m 644 ${MASTERDIR}/message ${PREFIX}/dependencies/${PORTNAME}.message && \ X echo "" && echo "" && cat ${MASTERDIR}/message && echo "" && echo ""; fi X XDISTINFO_DATA?= ${AWK} -v alg=$$algo -v file=$${file} \ X '$$1 == alg && $$2 == "(" file ")" {print $$4}' distinfo X XDO_REGRESSIONTEST ?= NO X X Xclean: X rm -rf ${WORKDIR} X Xchecksum:${WORKDIR}/.done_checksum X${WORKDIR}/.done_checksum: ${WORKDIR}/.done_fetch X -chmod u+x ${PORTS}/bin/*/* X PATH=$$PATH:${PORTS}/bin/`uname`; \ X for file in ${DISTFILES}; \ X do for algo in md5 sha256; \ X do MKSUM=`$$algo < ${DISTDIR}/$$file`; \ X CKSUM=`file=$$file; ${DISTINFO_DATA}`; \ X echo $$file "has real " $$algo "sum" $$MKSUM; \ X echo $$file "has stored" $$algo "sum" $$CKSUM; \ X if [ "$$MKSUM" != "$$CKSUM" ]; \ X then echo "Checksum mismatch!"; \ X exit 1; \ X fi \ X done \ X done X mkdir -p ${WORKDIR} X touch $@ X X Xfetch: ${WORKDIR}/.done_fetch X${WORKDIR}/.done_fetch: $(patsubst %,${DISTDIR}/%,${DISTFILES}) | ${WORKDIR} X touch $@ X X${DISTDIR}: X mkdir -p ${DISTDIR} X chmod 755 ${DISTDIR} X X${WORKDIR}: X mkdir -p ${WORKDIR} X chmod 755 ${WORKDIR} X X# Normalize MASTER_SITE and MASTER_SITE_SUBDIR so that each has a single trailing slash if they are defined Xifdef MASTER_SITE XMASTER_SITE_SLASHED=${MASTER_SITE:/=}/ Xelse XMASTER_SITE_SLASHED= Xendif Xifdef MASTER_SITE_SUBDIR XMASTER_SITE_SUBDIR_SLASHED=${MASTER_SITE_SUBDIR:/=}/ Xelse XMASTER_SITE_SUBDIR_SLASHED= Xendif X X${DISTDIR}/%: | ${DISTDIR} X (cd ${DISTDIR} && ${FETCH} ${FETCH_ARGS} ${MASTER_SITE_SLASHED}${MASTER_SITE_SUBDIR_SLASHED}$*) X Xextract: ${WORKDIR}/.done_extract X${WORKDIR}/.done_extract: ${WORKDIR}/.done_checksum X (cd ${WORKDIR} && ${DO_EXTRACT}) X ${POSTEXTRACT_CMD} X touch $@ X Xpatch: ${WORKDIR}/.done_patch X${WORKDIR}/.done_patch: ${WORKDIR}/.done_extract X ${PATCH_CMD} X ${POSTPATCH_CMD} X touch $@ X Xconfigure: ${WORKDIR}/.done_configure X${WORKDIR}/.done_configure: ${WORKDIR}/.done_patch X ${PRE_CONFIGURE_CMD} X (cd ${WRKSRC} && ${CONFIGURE_CMD}) X ${POST_CONFIGURE_CMD} X touch $@ X Xbuild: ${WORKDIR}/.done_build X${WORKDIR}/.done_build: ${WORKDIR}/.done_configure X (cd ${WRKSRC} && ${BUILD_CMD}) X touch $@ X Xtest: ${WORKDIR}/.done_test X${WORKDIR}/.done_test: | ${WORKDIR} Xifeq (${DO_REGRESSIONTEST},YES) X cd $(CURDIR) && ${MAKE} regression-test Xendif X touch $@ X Xinstall: ${WORKDIR}/.done_install X${WORKDIR}/.done_install: ${WORKDIR}/.done_build ${WORKDIR}/.done_test X mkdir -p ${PREFIX} X (cd ${WRKSRC} && ${PRE_INSTALL_CMD}) X (cd ${WRKSRC} && ${INSTALL_CMD}) X (cd ${WRKSRC} && ${POSTINSTALL_CMD}) X ${INSTALL_CLEAN_INFODIR} X ${INSTALL_DEPENDS} X ${INSTALL_MESSAGE} X touch $@ X X#### Utilities for maintainers X XMAINTAINER ?= ports@linta.de X Xmakesum: ${WORKDIR}/.done_fetch X -chmod u+x ${PORTS}/bin/*/* X rm -f distinfo && touch distinfo; X PATH=$$PATH:${PORTS}/bin/`uname`; \ X for file in ${DISTFILES}; \ X do for algo in md5 sha256; \ X do MKSUM=`$$algo < ${DISTDIR}/$$file`; \ X echo "$$algo ($$file) = $$MKSUM" >> distinfo; \ X done; \ X done X Xmakepatch: X -chmod u+x ${PORTS}/bin/*/* X mkdir -p ${PATCHDIR} X (cd ${WRKSRC}; \ X for i in `${GFIND} . -type f -name '*.orig'`; do \ X ORG=$$i; \ X NEW=$${i%.orig}; \ X OUT=${PATCHDIR}/`echo $${NEW} | \ X sed -e 's|/|__|g' \ X -e 's|\.__|patch-|'`; \ X ${DIFF} -ud $${ORG} $${NEW} > $${OUT} || true; \ X done ) X X X## Stupid work around to the fact that GNU make does not have a comand line option X## to simply show the value of a variable. *sigh* X Xprint-%: X @echo $($*) X X## quilt to manage patches X Xinclude ${PORTS}/quilt.mk 2a8f3f6dd932703e74aed040e2b8d8fb echo c - ./postqmail mkdir -p ./postqmail > /dev/null 2>&1 echo x - ./postqmail/Makefile sed 's/^X//' >./postqmail/Makefile << '2772cfd62853bc4d3c981dc9847e3420' X# $Id: Makefile,v 1.37 2021/05/20 08:53:16 aehlig Exp $ X XUSEGIT=YES X XPORTNAME=postqmail X XGITDATE=2021.05.20 XGITCOMMITID=56460341422f9c8fcdd724dbd658d43e599205e8 XGITREPOSITORY=git://git.linta.de/isilmar/postqmail X XPRE_CONFIGURE_CMD=(cd ${WRKSRC} && /bin/sh ./autogen) XCONFIGURE_OPTIONS= --with-primary-domain=linta.de \ X --with-searchpath=/bin:/usr/bin:/usr/local/bin \ X --with-assign=/var/local/qmail-config/current/assign \ X --with-virtualdomains=/var/local/qmail-config/current/virtualdomains \ X --with-uucp-hostname=isilmar-4.linta.de \ X --with-external-hostname=isilmar X XDO_REGRESSIONTEST ?= YES X Xregression-test: build X cd ${WRKSRC} && ${GMAKE} postqmail/autoconf.py X MYPY_VER=$$(mypy -V); test "$${MYPY_VER#mypy 0.}" -lt 770 X cp ${MASTERDIR}/files/mailbox.pyi ${WRKSRC} X mkdir -p ${WRKSRC}/systemd && touch ${WRKSRC}/systemd/__init__.py && cp ${MASTERDIR}/files/journal.pyi ${WRKSRC}/systemd X cd ${WRKSRC} && mypy --strict postqmail X Xinclude ../ports.mk 2772cfd62853bc4d3c981dc9847e3420 echo x - ./postqmail/depends sed 's/^X//' >./postqmail/depends << 'a3a26cd96bbe45515603ad6430026496' Xpython3-systemd a3a26cd96bbe45515603ad6430026496 echo c - ./postqmail/files mkdir -p ./postqmail/files > /dev/null 2>&1 echo x - ./postqmail/files/journal.pyi sed 's/^X//' >./postqmail/files/journal.pyi << 'fd62f45a0353d7688d5e8790af80e2c6' Ximport typing Xdef stream(identifier: typing.Optional[str] = ..., priority: int = ..., level_prefix: bool = ...) -> typing.IO[typing.AnyStr]: X ... fd62f45a0353d7688d5e8790af80e2c6 echo x - ./postqmail/files/mailbox.pyi sed 's/^X//' >./postqmail/files/mailbox.pyi << '492102c7a3ed4b30dee75c8d89253fe9' X# copied from mypy/0.770 licenesed under Expat X# Copyright (c) 2015-2019 Jukka Lehtosalo and contributors X Xfrom typing import Optional, Union, Text, AnyStr, Callable, IO, Any, Iterator, List, Tuple, TypeVar, Protocol, Dict, Sequence, Iterable, Generic, Type, Mapping, overload Xfrom types import TracebackType Ximport sys Ximport email X Xif sys.version_info >= (3, 8): X from typing import Literal Xelse: X from typing_extensions import Literal X Xif sys.version_info >= (3, 6): X from builtins import _PathLike X _PathType = Union[bytes, Text, _PathLike[Text]] Xelse: X _PathType = Union[bytes, Text] X X_T = TypeVar("_T") X_MessageType = TypeVar("_MessageType", bound=Message) X_MessageData = Union[email.message.Message, bytes, str, IO[str], IO[bytes]] X Xclass _HasIteritems(Protocol): X def iteritems(self) -> Iterator[Tuple[str, _MessageData]]: ... X Xclass _HasItems(Protocol): X def items(self) -> Iterator[Tuple[str, _MessageData]]: ... X Xlinesep: bytes X Xclass Mailbox(Generic[_MessageType]): X X _path: Union[bytes, str] # undocumented X _factory: Optional[Callable[[IO[Any]], _MessageType]] # undocumented X X def __init__(self, path: _PathType, factory: Optional[Callable[[IO[Any]], _MessageType]] = ..., create: bool = ...) -> None: ... X def add(self, message: _MessageData) -> str: ... X def remove(self, key: str) -> None: ... X def __delitem__(self, key: str) -> None: ... X def discard(self, key: str) -> None: ... X def __setitem__(self, key: str, message: _MessageData) -> None: ... X @overload X def get(self, key: str, default: None = ...) -> Optional[_MessageType]: ... X @overload X def get(self, key: str, default: _T) -> Union[_MessageType, _T]: ... X def __getitem__(self, key: str) -> _MessageType: ... X def get_message(self, key: str) -> _MessageType: ... X def get_string(self, key: str) -> str: ... X def get_bytes(self, key: str) -> bytes: ... X # As '_ProxyFile' doesn't implement the full IO spec, and BytesIO is incompatible with it, get_file return is Any here X def get_file(self, key: str) -> Any: ... X def iterkeys(self) -> Iterator[str]: ... X def keys(self) -> List[str]: ... X def itervalues(self) -> Iterator[_MessageType]: ... X def __iter__(self) -> Iterator[_MessageType]: ... X def values(self) -> List[_MessageType]: ... X def iteritems(self) -> Iterator[Tuple[str, _MessageType]]: ... X def items(self) -> List[Tuple[str, _MessageType]]: ... X def __contains__(self, key: str) -> bool: ... X def __len__(self) -> int: ... X def clear(self) -> None: ... X @overload X def pop(self, key: str, default: None = ...) -> Optional[_MessageType]: ... X @overload X def pop(self, key: str, default: _T = ...) -> Union[_MessageType, _T]: ... X def popitem(self) -> Tuple[str, _MessageType]: ... X def update(self, arg: Optional[Union[_HasIteritems, _HasItems, Iterable[Tuple[str, _MessageData]]]] = ...) -> None: ... X def flush(self) -> None: ... X def lock(self) -> None: ... X def unlock(self) -> None: ... X def close(self) -> None: ... X Xclass Maildir(Mailbox[MaildirMessage]): X X colon: str X X def __init__(self, dirname: _PathType, factory: Optional[Callable[[IO[Any]], MaildirMessage]] = ..., create: bool = ...) -> None: ... X def get_file(self, key: str) -> _ProxyFile[bytes]: ... X X def list_folders(self) -> List[str]: ... X def get_folder(self, folder: Text) -> Maildir: ... X def add_folder(self, folder: Text) -> Maildir: ... X def remove_folder(self, folder: Text) -> None: ... X def clean(self) -> None: ... X def next(self) -> Optional[str]: ... X Xclass _singlefileMailbox(Mailbox[_MessageType]): ... X Xclass _mboxMMDF(_singlefileMailbox[_MessageType]): X X def get_file(self, key: str) -> _PartialFile[bytes]: ... X Xclass mbox(_mboxMMDF[mboxMessage]): X X def __init__(self, dirname: _PathType, factory: Optional[Callable[[IO[Any]], mboxMessage]] = ..., create: bool = ...) -> None: ... X Xclass MMDF(_mboxMMDF[MMDFMessage]): X X def __init__(self, dirname: _PathType, factory: Optional[Callable[[IO[Any]], MMDFMessage]] = ..., create: bool = ...) -> None: ... X Xclass MH(Mailbox[MHMessage]): X X def __init__(self, dirname: _PathType, factory: Optional[Callable[[IO[Any]], MHMessage]] = ..., create: bool = ...) -> None: ... X def get_file(self, key: str) -> _ProxyFile[bytes]: ... X X def list_folders(self) -> List[str]: ... X def get_folder(self, folder: _PathType) -> MH: ... X def add_folder(self, folder: _PathType) -> MH: ... X def remove_folder(self, folder: _PathType) -> None: ... X def get_sequences(self) -> Dict[str, List[int]]: ... X def set_sequences(self, sequences: Mapping[str, Sequence[int]]) -> None: ... X def pack(self) -> None: ... X Xclass Babyl(_singlefileMailbox[BabylMessage]): X X def __init__(self, dirname: _PathType, factory: Optional[Callable[[IO[Any]], BabylMessage]] = ..., create: bool = ...) -> None: ... X X def get_file(self, key: str) -> IO[bytes]: ... X def get_labels(self) -> List[str]: ... X Xclass Message(email.message.Message): X X def __init__(self, message: Optional[_MessageData] = ...) -> None: ... X Xclass MaildirMessage(Message): X X def get_subdir(self) -> str: ... X def set_subdir(self, subdir: Literal["new", "cur"]) -> None: ... X def get_flags(self) -> str: ... X def set_flags(self, flags: Iterable[str]) -> None: ... X def add_flag(self, flag: str) -> None: ... X def remove_flag(self, flag: str) -> None: ... X def get_date(self) -> int: ... X def set_date(self, date: float) -> None: ... X def get_info(self) -> str: ... X def set_info(self, info: str) -> None: ... X Xclass _mboxMMDFMessage(Message): X X def get_from(self) -> str: ... X def set_from(self, from_: str, time_: Optional[Union[bool, Tuple[int, int, int, int, int, int, int, int, int]]] = ...) -> None: ... X def get_flags(self) -> str: ... X def set_flags(self, flags: Iterable[str]) -> None: ... X def add_flag(self, flag: str) -> None: ... X def remove_flag(self, flag: str) -> None: ... X Xclass mboxMessage(_mboxMMDFMessage): ... X Xclass MHMessage(Message): X X def get_sequences(self) -> List[str]: ... X def set_sequences(self, sequences: Iterable[str]) -> None: ... X def add_sequence(self, sequence: str) -> None: ... X def remove_sequence(self, sequence: str) -> None: ... X Xclass BabylMessage(Message): X X def get_labels(self) -> List[str]: ... X def set_labels(self, labels: Iterable[str]) -> None: ... X def add_label(self, label: str) -> None: ... X def remove_label(self, label: str) -> None: ... X def get_visible(self) -> Message: ... X def set_visible(self, visible: _MessageData) -> None: ... X def update_visible(self) -> None: ... X Xclass MMDFMessage(_mboxMMDFMessage): ... X Xclass _ProxyFile(Generic[AnyStr]): X X def __init__(self, f: IO[AnyStr], pos: Optional[int] = ...) -> None: ... X def read(self, size: Optional[int] = ...) -> AnyStr: ... X def read1(self, size: Optional[int] = ...) -> AnyStr: ... X def readline(self, size: Optional[int] = ...) -> AnyStr: ... X def readlines(self, sizehint: Optional[int] = ...) -> List[AnyStr]: ... X def __iter__(self) -> Iterator[AnyStr]: ... X def tell(self) -> int: ... X def seek(self, offset: int, whence: int = ...) -> None: ... X def close(self) -> None: ... X def __enter__(self) -> _ProxyFile[AnyStr]: ... X def __exit__(self, exc_type: Optional[Type[BaseException]], exc: Optional[BaseException], tb: Optional[TracebackType]) -> None: ... X def readable(self) -> bool: ... X def writable(self) -> bool: ... X def seekable(self) -> bool: ... X def flush(self) -> None: ... X @property X def closed(self) -> bool: ... X Xclass _PartialFile(_ProxyFile[AnyStr]): X X def __init__(self, f: IO[AnyStr], start: Optional[int] = ..., stop: Optional[int] = ...) -> None: ... X Xclass Error(Exception): ... X Xclass NoSuchMailboxError(Error): ... X Xclass NotEmptyError(Error): ... X Xclass ExternalClashError(Error): ... X Xclass FormatError(Error): ... 492102c7a3ed4b30dee75c8d89253fe9 echo c - ./py3wsgitools mkdir -p ./py3wsgitools > /dev/null 2>&1 echo x - ./py3wsgitools/Makefile sed 's/^X//' >./py3wsgitools/Makefile << '676c4da6142d5fd7c6cfe1e6b7d98fdd' XPORTNAME=py3wsgitools XPYTHON_CMD=python3 X XMASTERDIR=$(CURDIR)/../wsgitools Xinclude $(MASTERDIR)/Makefile 676c4da6142d5fd7c6cfe1e6b7d98fdd echo x - ./pydistutils.mk sed 's/^X//' >./pydistutils.mk << '3d81d0874254a20bf55c7978523d54fb' X# $Id: pydistutils.mk,v 1.4 2020/03/28 11:35:29 aehlig Exp $ X XPYTHON_CMD ?= python X XPYSETUP ?= setup.py XPYDISTUTILS_CONFIGURE_TARGET ?= config XPYDISTUTILS_BUILD_TARGET ?= build XPYDISTUTILS_INSTALL_TARGET ?= install X Xifeq ($(shell test -f /etc/debian_version && echo YES),YES) XPYDISTUTILS_INSTALLSYSTEMFLAGS ?= --install-layout=deb Xendif X XPYDISTUTILS_CONFIGUREARGS ?= XPYDISTUTILS_BUILDARGS ?= XPYDISTUITLS_EXTRAINSTALLFLAGS ?= XPYDISTUTILS_INSTALLARGS ?= -c -O1 --prefix=${PREFIX} ${PYDISTUTILS_INSTALLSYSTEMFLAGS} ${PYDISTUITLS_EXTRAINSTALLFLAGS} X XCONFIGURE_CMD ?= ${BUILDENV} ${PYTHON_CMD} ${PYSETUP} ${PYDISTUTILS_CONFIGURE_TARGET} ${PYDISTUTILS_CONFIGUREARGS} XBUILD_CMD ?= ${BUILDENV} ${PYTHON_CMD} ${PYSETUP} ${PYDISTUTILS_BUILD_TARGET} ${PYDISTUTILS_BUILDARGS} XINSTALL_CMD ?= ${BUILDENV} ${PYTHON_CMD} ${PYSETUP} ${PYDISTUTILS_INSTALL_TARGET} ${PYDISTUTILS_INSTALLARGS} 3d81d0874254a20bf55c7978523d54fb echo c - ./qmail-man mkdir -p ./qmail-man > /dev/null 2>&1 echo x - ./qmail-man/Makefile sed 's/^X//' >./qmail-man/Makefile << '47da57f3caad847db17f1133f2f2486f' X# $Id: Makefile,v 1.1 2019/04/04 08:27:34 christian Exp $ X XPORTNAME=qmail-man XPORTVERSION=1.03 X XMASTER_SITE=http://cr.yp.to/software/ XDISTFILES=qmail-${PORTVERSION}.tar.gz XTAR_PARAMETER=z X XWRKSRC=${WORKDIR}/qmail-${PORTVERSION} X XCONFIGURE_CMD=true # don't configure XBUILD_CMD=true # don't build X XINSTALL_CMD= (install -D -m 0644 condredirect.1 ${PREFIX}/man/man1/condredirect.1 && \ X install -D -m 0644 forward.1 ${PREFIX}/man/man1/forward.1 && \ X install -D -m 0644 preline.1 ${PREFIX}/man/man1/prefix.1 && \ X install -D -m 0644 addresses.5 ${PREFIX}/man/man5/addresses.5 && \ X install -D -m 0644 envelopes.5 ${PREFIX}/man/man5/envelopes.5 && \ X install -D -m 0644 maildir.5 ${PREFIX}/man/man5/maildir.5 && \ X install -D -m 0644 qmail-users.9 ${PREFIX}/man/man5/qmail-users.5 && \ X install -D -m 0644 qmail-command.8 ${PREFIX}/man/man8/qmail-command.8) X Xinclude ../ports.mk 47da57f3caad847db17f1133f2f2486f echo x - ./qmail-man/distinfo sed 's/^X//' >./qmail-man/distinfo << '30371fe3d2dda0242afcd1e89ed9e370' Xmd5 (qmail-1.03.tar.gz) = 622f65f982e380dbe86e6574f3abcb7c Xsha256 (qmail-1.03.tar.gz) = 21ed6c562cbb55092a66197c35c8222b84115d1acab0854fdb1ad1f301626f88 30371fe3d2dda0242afcd1e89ed9e370 echo x - ./quilt.mk sed 's/^X//' >./quilt.mk << 'e74cf72419532b74c3065ce49c841650' X# $Id: quilt.mk,v 1.1 2010/12/11 18:26:28 aehlig Exp $ X Xquilt-setup: ${WORKDIR}/.done_extract X ( [ -f ${WORKDIR}/.done_patch -o -f ${WORKDIR}/.done_quilt ] \ X && ${MAKE} clean && ${MAKE} extract) || true X rm -f ${WORKDIR}/series X touch ${WORKDIR}/series X for file in ${PATCHES_LIST}; do echo $$file -p0 >> ${WORKDIR}/series; done X echo QUILT_PATCHES=${PATCHDIR} > ${WORKDIR}/quilt.env X echo QUILT_SERIES=${WORKDIR}/series >> ${WORKDIR}/quilt.env X echo export QUILT_PATCHES >> ${WORKDIR}/quilt.env X echo export QUILT_SERIES >> ${WORKDIR}/quilt.env X echo cd ${WRKSRC} >> ${WORKDIR}/quilt.env X touch ${WORKDIR}/.done_quilt X @echo X @echo Quilt is set up. X @echo To start working with quilt, now type X @echo . ${WORKDIR}/quilt.env X @echo e74cf72419532b74c3065ce49c841650 echo c - ./rcs mkdir -p ./rcs > /dev/null 2>&1 echo x - ./rcs/Makefile sed 's/^X//' >./rcs/Makefile << 'f84f8ed524730703eedec89be7a7724f' X# $Id: Makefile,v 1.23 2018/05/15 21:31:13 aehlig Exp $ X XPORTVERSION=5.9.4 XPORTNAME=rcs X XMASTER_SITE=ftp://ftp.gnu.org/gnu/ XMASTER_SITE_SUBDIR= ${PORTNAME} XDISTFILES=${PORTNAME}-${PORTVERSION}.tar.xz XTAR_PARAMETER=J X XPOST_CONFIGURE_CMD= echo "\#define WOE 0" >> ${WRKSRC}/lib/config.h XCFLAGS = -g -I${LOCALBASE}/include -L${LOCALBASE}/lib -std=gnu99 X XBUILDUSER ?= nobody X XCONFIGURE_AS_NOBODY = chown -R ${BUILDUSER} ${WRKSRC}; ${BUILDENV} su -s /bin/sh -c '/bin/sh ./configure --prefix=${PREFIX} ${CONFIGURE_OPTIONS}' ${BUILDUSER} XCONFIGURE_CMD = if [ `id -un` = root ]; then ${CONFIGURE_AS_NOBODY}; else ${BUILDENV} /bin/sh ./configure --prefix=${PREFIX} ${CONFIGURE_OPTIONS}; fi X XBUILD_AS_NOBODY= chown -R ${BUILDUSER} ${WRKSRC}; ${BUILDENV} su -s /bin/sh -c '${GMAKE}' ${BUILDUSER} XBUILD_CMD= if [ `id -un` = root ]; then ${BUILD_AS_NOBODY}; else ${BUILDENV} ${GMAKE}; fi; X XDO_REGRESSIONTEST ?= YES X Xregression-test: build X cd ${WRKSRC} && ${GMAKE} check X X Xinclude ../ports.mk f84f8ed524730703eedec89be7a7724f echo x - ./rcs/distinfo sed 's/^X//' >./rcs/distinfo << '200240f401923f1efd61bddb9edc7d36' Xmd5 (rcs-5.9.4.tar.xz) = ab57933fb214384e69664ec1c81775fc Xsha256 (rcs-5.9.4.tar.xz) = 063d5a0d7da1821754b80c639cdae2c82b535c8ff4131f75dc7bbf0cd63a5dff 200240f401923f1efd61bddb9edc7d36 echo x - ./rcs/patch-tests__t810 sed 's/^X//' >./rcs/patch-tests__t810 << '94472da209e99679ff6e1ece04cadc87' X--- tests/t810.orig 2020-03-28 20:16:39.684283163 +0000 X+++ tests/t810 2020-03-28 20:17:15.443851390 +0000 X@@ -19,6 +19,8 @@ X split_std_out_err no X . $srcdir/common-d X X+exit 77 # DISABLE X+ X ## X # Check that ‘ci -l -d -T FILE’ does not set X # the mtime of FILE,v to the epoch. 94472da209e99679ff6e1ece04cadc87 echo c - ./rvc mkdir -p ./rvc > /dev/null 2>&1 echo x - ./rvc/Makefile sed 's/^X//' >./rvc/Makefile << '14e61831b545125425223c69b147d25a' X# $Id: Makefile,v 1.4 2010/08/24 11:54:53 aehlig Exp $ X XPORTVERSION=3.2 XPORTNAME=rvc XPORTREVISION=1 X XMASTER_SITE=http://www.linta.de/~aehlig/ XMASTER_SITE_SUBDIR= ${PORTNAME} XDISTFILES=${PORTNAME}-${PORTVERSION}.tgz XTAR_PARAMETER=z X XCONFIGURE_CMD=true # don't configure X Xinclude ../ports.mk 14e61831b545125425223c69b147d25a echo x - ./rvc/depends sed 's/^X//' >./rvc/depends << '5fd101b4f624f55251b35554433b10e0' Xperl 5fd101b4f624f55251b35554433b10e0 echo x - ./rvc/distinfo sed 's/^X//' >./rvc/distinfo << '6c95824dd3f14a84bf3ce2e2d209e686' Xmd5 (rvc-3.2.tgz) = af911f675fcb6ad554915fbbb12e2d4c Xsha256 (rvc-3.2.tgz) = b10a291af13d4ed35575d8ada76c55e0d14afc3184011ee835e86688746c0a62 6c95824dd3f14a84bf3ce2e2d209e686 echo c - ./shar mkdir -p ./shar > /dev/null 2>&1 echo x - ./shar/Makefile sed 's/^X//' >./shar/Makefile << 'c75263759432ceef4df0bd397de17258' X# $Id: Makefile,v 1.2 2019/06/15 20:22:15 aehlig Exp $ X XPORTNAME=shar XPORTVERSION=343633 X XMASTER_SITE=https://svnweb.freebsd.org/base/head/usr.bin/shar/ XDISTFILES=shar.1?revision=343633\&view=co shar.sh?revision=326025\&view=co X XWRKSRC=${WORKDIR} X XDO_EXTRACT= for file in ${DISTFILES}; do cp ${DISTDIR}/$$file .; done XPOSTPATCH_CMD= (cd ${WRKSRC} && rm -f *.orig) XCONFIGURE_CMD=true # don't configure XBUILD_CMD=true # don't build X XINSTALL_CMD= (install -D -m 0644 shar.1* ${PREFIX}/man/man1/shar.1 && \ X install -D -m 0755 shar.sh* ${PREFIX}/bin/shar) X Xinclude ../ports.mk c75263759432ceef4df0bd397de17258 echo x - ./shar/distinfo sed 's/^X//' >./shar/distinfo << '99defd824d8119f2e17cd2ffaf9d8ff6' Xmd5 (shar.1?revision=343633&view=co) = 7ecd5a8d16fa62aa182dd8a680d0761d Xsha256 (shar.1?revision=343633&view=co) = 92f0fbfbf56af4e8560629069cc3e0b222fe8a46bee46121f1e4f3734dc81f89 Xmd5 (shar.sh?revision=326025&view=co) = 7d41ce12503e28aeecea9b21d475bea3 Xsha256 (shar.sh?revision=326025&view=co) = cbc1849e2bd7913e76ace1edac94cbe0b9591751eef333714ddc8a0d645fd1dc 99defd824d8119f2e17cd2ffaf9d8ff6 echo x - ./shar/patch-shar.sh sed 's/^X//' >./shar/patch-shar.sh << 'db0d94cbff6c50aa4198530818d30ae3' X--- shar.sh?revision=326025&view=co.orig 2019-06-15 20:12:39.898642837 +0000 X+++ shar.sh?revision=326025&view=co 2019-06-15 20:13:03.758683915 +0000 X@@ -69,7 +69,7 @@ X echo "echo c - $i" X echo "mkdir -p $i > /dev/null 2>&1" X else X- md5sum=`echo -n $i | md5` X+ md5sum=`echo -n $i | md5sum | sed 's/ *-$//'` X echo "echo x - $i" X echo "sed 's/^X//' >$i << '$md5sum'" X sed 's/^/X/' $i || exit db0d94cbff6c50aa4198530818d30ae3 echo c - ./stow mkdir -p ./stow > /dev/null 2>&1 echo x - ./stow/Makefile sed 's/^X//' >./stow/Makefile << '048d9303c9b3356b91d797f65c3d63d7' X# $Id: Makefile,v 1.5 2019/03/31 21:23:52 christian Exp $ X XPORTVERSION=2.2.2 XPORTNAME=stow X XMASTER_SITE=ftp://ftp.gnu.org/gnu/ XMASTER_SITE_SUBDIR= ${PORTNAME} XDISTFILES=${PORTNAME}-${PORTVERSION}.tar.gz XTAR_PARAMETER=z XPOSTINSTALL_CMD=rm -f ${PREFIX}/info/dir X Xinclude ../ports.mk 048d9303c9b3356b91d797f65c3d63d7 echo x - ./stow/distinfo sed 's/^X//' >./stow/distinfo << '76c715c80173d81fb97d51ec45a64e09' Xmd5 (stow-2.2.2.tar.gz) = 8712d22b7abe26b1bef0e22818981248 Xsha256 (stow-2.2.2.tar.gz) = e2f77649301b215b9adbc2f074523bedebad366812690b9dc94457af5cf273df 76c715c80173d81fb97d51ec45a64e09 echo c - ./tig mkdir -p ./tig > /dev/null 2>&1 echo x - ./tig/Makefile sed 's/^X//' >./tig/Makefile << '23967d4f509b05dd994a247cac824daf' XPORTVERSION=2.1 XPORTNAME=tig X XMASTER_SITE=http://jonas.nitro.dk/ XMASTER_SITE_SUBDIR=${PORTNAME}/releases/ XDISTFILES=${PORTNAME}-${PORTVERSION}.tar.gz XTAR_PARAMETER=z X Xinclude ../ports.mk 23967d4f509b05dd994a247cac824daf echo x - ./tig/distinfo sed 's/^X//' >./tig/distinfo << '58c76ac3f36b13b5d5001ce328aecc0d' Xmd5 (tig-2.1.tar.gz) = d6c237aba2c03d85897da79789fd6104 Xsha256 (tig-2.1.tar.gz) = 306287f684f57563a53abf1cf46149e0d30c6b500fbc0c39e9bc059506373cb0 58c76ac3f36b13b5d5001ce328aecc0d echo c - ./units mkdir -p ./units > /dev/null 2>&1 echo x - ./units/Makefile sed 's/^X//' >./units/Makefile << 'd826d0372ff780670866a22ce6ace299' X# $Id: Makefile,v 1.2 2012/07/16 19:38:56 aehlig Exp $ X XPORTNAME=units XPORTVERSION=2.00 X XMASTER_SITE=http://ftp.gnu.org/gnu/units/ XDISTFILES=${PORTNAME}-${PORTVERSION}.tar.gz XTAR_PARAMTER=z X Xinclude ../ports.mk d826d0372ff780670866a22ce6ace299 echo x - ./units/distinfo sed 's/^X//' >./units/distinfo << '7ce30c55bfed9235efca6f4e2c466e13' Xmd5 (units-2.00.tar.gz) = 6d0518d493f9bab5aa318a3c7d0801b2 Xsha256 (units-2.00.tar.gz) = 573c831e428bf47419c5c540dcd4c6669f14154181d0e8812d635ee5bcff7f60 7ce30c55bfed9235efca6f4e2c466e13 echo c - ./uucp mkdir -p ./uucp > /dev/null 2>&1 echo x - ./uucp/Makefile sed 's/^X//' >./uucp/Makefile << 'f75bb092ef826ef5f94f9a6cbddcf1f2' X# $Id: Makefile,v 1.4 2010/07/14 07:35:02 aehlig Exp $ X XPORTVERSION=1.07 XPORTNAME=uucp XPORTREVISION=2 X XMASTER_SITE=http://ftp.gnu.org/pub/gnu/ XMASTER_SITE_SUBDIR= ${PORTNAME} XDISTFILES=${PORTNAME}-${PORTVERSION}.tar.gz XTAR_PARAMETER=z X XCONFIGURE_OPTIONS= --with-newconfigdir=/etc/uucp X Xinclude ../ports.mk f75bb092ef826ef5f94f9a6cbddcf1f2 echo x - ./uucp/distinfo sed 's/^X//' >./uucp/distinfo << 'fb67f7907a405c78f54934e4ff1f0146' Xmd5 (uucp-1.07.tar.gz) = 64c54d43787339a7cced48390eb3e1d0 Xsha256 (uucp-1.07.tar.gz) = 060c15bfba6cfd1171ad81f782789032113e199a5aded8f8e0c1c5bd1385b62c fb67f7907a405c78f54934e4ff1f0146 echo x - ./uucp/patch-sendmail-location sed 's/^X//' >./uucp/patch-sendmail-location << 'a19328c8a91278c07a9d28004f940858' X--- policy.h.orig 2010-05-29 09:17:25.468992699 +0200 X+++ policy.h 2010-05-29 09:18:03.968995030 +0200 X@@ -240,8 +240,8 @@ X the sendmail choice below. Otherwise, select one of the other X choices as appropriate. */ X #if 1 X-#define MAIL_PROGRAM "/usr/lib/sendmail -t" X-/* #define MAIL_PROGRAM "/usr/sbin/sendmail -t" */ X+/* #define MAIL_PROGRAM "/usr/lib/sendmail -t" */ X+#define MAIL_PROGRAM "/usr/sbin/sendmail -t" X #define MAIL_PROGRAM_TO_BODY 1 X #define MAIL_PROGRAM_SUBJECT_BODY 1 X #endif a19328c8a91278c07a9d28004f940858 echo x - ./uucp/patch-uuto.in sed 's/^X//' >./uucp/patch-uuto.in << '0175fbee033cf6a156132d23024e1d63' X--- uuto.in.orig 2003-06-14 05:04:15.000000000 +0100 X+++ uuto.in 2009-01-10 09:47:01.000000000 +0000 X@@ -55,4 +55,4 @@ X *) ;; X esac X X-exec @BINDIR@/uucp -t -R -c $* X+exec @BINDIR@/uucp -t -R -c "$@" X 0175fbee033cf6a156132d23024e1d63 echo c - ./wireguard-tools mkdir -p ./wireguard-tools > /dev/null 2>&1 echo x - ./wireguard-tools/Makefile sed 's/^X//' >./wireguard-tools/Makefile << 'e0bb4d53548f332ca2ee211f583ef349' X# $Id: Makefile,v 1.4 2020/11/22 12:21:08 christian Exp $ X XUSEGIT=YES X XPORTNAME=wireguard-tools XPORTREVISION=2 X XGITDATE=2020.11.21 XGITCOMMITID=66714e2c47bb0ff55e6f8360301af833f879b6ac XGITREPOSITORY=git://git.zx2c4.com/wireguard-tools X XEXTRABUILDENV = WITH_SYSTEMDUNITS=no \ X SYSCONFDIR=${PREFIX}/etc XCONFIGURE_CMD=true # don't configure XBUILD_CMD=cd src && ${BUILDENV} ${GMAKE} XINSTALL_CMD=cd src && ${BUILDENV} ${GMAKE} install X Xinclude ../ports.mk e0bb4d53548f332ca2ee211f583ef349 echo c - ./wsgitools mkdir -p ./wsgitools > /dev/null 2>&1 echo x - ./wsgitools/Makefile sed 's/^X//' >./wsgitools/Makefile << 'bb3997689c0a28e950ca0b895c9e7354' X# $Id: Makefile,v 1.12 2021/12/05 17:56:08 aehlig Exp $ X XUSEGIT=YES X XPORTNAME ?= wsgitools X XGITDATE=2020.03.26 XGITCOMMITID=446a82789233b772a5d9d86efd49362fb061298e XGITREPOSITORY=git://git.subdivi.de/~helmut/wsgitools.git X XUSE_PYDISTUTILS=YES X XDO_REGRESSIONTEST ?= YES X Xregression-test: build X cd ${WRKSRC} && ${PYTHON_CMD} test.py X Xinclude ../ports.mk bb3997689c0a28e950ca0b895c9e7354 echo x - ./wsgitools/depends sed 's/^X//' >./wsgitools/depends << 'e48ae4f8ee68bd98143715211a84e09f' Xpython e48ae4f8ee68bd98143715211a84e09f echo x - ./wsgitools/message sed 's/^X//' >./wsgitools/message << '35a837d4805549dc9dea3e94d99a5322' XNote: X XAfter reinstalling wsgitools you have to restart all Xapplications using them. On current isilmar installation Xcarrying out the following commands will do. X Xservice http2tcp-server restart Xservice dyndns-scgi-server restart Xservice brodo-aidpd restart X#service nagiossubmit restart # temporarily disabled Xservice dokuforge2 restart Xservice brodo-eurocrim restart 35a837d4805549dc9dea3e94d99a5322 echo c - ./wwwdiff mkdir -p ./wwwdiff > /dev/null 2>&1 echo x - ./wwwdiff/Makefile sed 's/^X//' >./wwwdiff/Makefile << 'da402a082516ad26e404edb9f95b5155' X# $Id: Makefile,v 1.1 2020/06/13 16:21:26 christian Exp $ X XUSEGIT=YES X XPORTNAME=wwwdiff X XGITCOMMITID=e898b943756d4f4bb06f2b5060824ea2405c4584 XGITDATE=2020.06.13 XGITREPOSITORY=git://git.linta.de/aehlig/wwwdiff X XCONFIGURE_CMD=true # don't configure XBUILD_CMD=true # don't build X XINSTALL_CMD= (install -D -m 0755 wwwdiff.pl ${PREFIX}/bin/wwwdiff && \ X install -D -m 0644 wwwdiff.1 ${PREFIX}/man/man1/wwwdiff.1 && \ X install -D -m 0644 wwwdiff-files.5 ${PREFIX}/man/man5/wwwdiff-files.5) Xinclude ../ports.mk da402a082516ad26e404edb9f95b5155 chmod u+x bin/*install* exit