ports/74615

Ceri Davies ceri at freebsd.org
Wed Dec 8 20:40:33 UTC 2004


The following reply was made to PR ports/74615; it has been noted by GNATS.

From: Ceri Davies <ceri at freebsd.org>
To: freebsd-gnats-submit at freebsd.org
Cc:  
Subject: Re: ports/74615
Date: Wed, 8 Dec 2004 20:31:10 +0000

 Adding to audit trail, from misfiled PR ports/74863:
 
 Date: Wed, 8 Dec 2004 11:02:55 -0800
 From: "Bob Frazier" <bobf at mrp3.com>
 Message-Id: <078101c4dd58$8712bff0$3f7aa8c0 at bobxp>
 
  This is a multi-part message in MIME format.
  
  ------=_NextPart_000_077E_01C4DD15.783816D0
  Content-Type: text/plain;
  	charset="iso-8859-1"
  Content-Transfer-Encoding: 7bit
  
  Updated 'shar' output.  Contains new MD5 and tgz file size, fixes Makefile
  (attached).  The distribution file contains a very minor fix (README file),
  and rather than doing a patch, I'm simply re-submitting the 'shar' output
  since it had not been done yet.
  
  
  ------=_NextPart_000_077E_01C4DD15.783816D0
  Content-Type: text/plain;
  	name="quoted.txt"
  Content-Transfer-Encoding: quoted-printable
  Content-Disposition: attachment;
  	filename="quoted.txt"
  
  # This is a shell archive.  Save it in a file, remove anything before=0A=
  # this line, and then unpack it by entering "sh file".  Note, it may=0A=
  # create directories; files and directories will be owned by you and=0A=
  # have default permissions.=0A=
  #=0A=
  # This archive contains:=0A=
  #=0A=
  #	net/quoted=0A=
  #	net/quoted/Makefile=0A=
  #	net/quoted/pkg-deinstall=0A=
  #	net/quoted/distinfo=0A=
  #	net/quoted/pkg-descr=0A=
  #	net/quoted/pkg-plist=0A=
  #=0A=
  echo c - net/quoted=0A=
  mkdir -p net/quoted > /dev/null 2>&1=0A=
  echo x - net/quoted/Makefile=0A=
  sed 's/^X//' >net/quoted/Makefile << 'END-of-net/quoted/Makefile'=0A=
  X# New ports collection makefile for:   quoted=0A=
  X# Date created:        1 December 2004=0A=
  X# Whom:                Bob Frazier=0A=
  X#=0A=
  X# $FreeBSD$=0A=
  X#=0A=
  X=0A=
  XPORTNAME=3D      quoted=0A=
  XPORTVERSION=3D   1.0=0A=
  XCATEGORIES=3D    net=0A=
  XMASTER_SITES=3D  http://www.mrp3.com/webutil/=0A=
  X=0A=
  XMAINTAINER=3D    bobf at mrp3.com=0A=
  XCOMMENT=3D       Easily configured QOTD daemon with over 130 good =
  quality quotes=0A=
  X=0A=
  XMAN1=3D          quoted.1=0A=
  XMANCOMPRESSED=3D no=0A=
  XGNU_CONFIGURE=3D yes=0A=
  XUSE_GMAKE=3D yes=0A=
  X=0A=
  X.include <bsd.port.pre.mk>=0A=
  X=0A=
  X.if !defined(UID)=0A=
  XUID!=3D   ${ID} -u=0A=
  X.endif=0A=
  X=0A=
  X# custom target to stop the daemon=0A=
  Xdeinstall:=0A=
  X.if ${UID} !=3D 0 && !defined(INSTALL_AS_USER)=0A=
  X	@${ECHO_MSG} "=3D=3D=3D>  Switching to root credentials for =
  '${.TARGET}' target"=0A=
  X	@cd ${.CURDIR} && \=0A=
  X		${SU_CMD} "${MAKE} ${__softMAKEFLAGS} ${.TARGET}"=0A=
  X	@${ECHO_MSG} "=3D=3D=3D>  Returning to user credentials"=0A=
  X.else=0A=
  X	@${ECHO_MSG} "=3D=3D=3D>  Deinstalling for ${PKGORIGIN}"=0A=
  X	@if test -e "/var/run/quoted.pid" ; then \=0A=
  X		(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} =
  ${MAKEFILE} ${MAKE_ARGS} custom-stop-daemon) ; \=0A=
  X		${RM} -f "/var/run/quoted.pid" ; \=0A=
  X	fi=0A=
  X	@found_names=3D`${PKG_INFO} -q -O ${PKGORIGIN}`; \=0A=
  X	for p in $${found_names}; do \=0A=
  X		check_name=3D`${ECHO_CMD} $${p} | ${SED} -e 's/-[^-]*$$//'`; \=0A=
  X		if [ "$${check_name}" =3D "${PKGBASE}" ]; then \=0A=
  X			prfx=3D`${PKG_INFO} -q -p $${p} 2> /dev/null | ${SED} -ne '1s|^@cwd =
  ||p'`; \=0A=
  X			if [ "x${PREFIX}" =3D "x$${prfx}" ]; then \=0A=
  X				${ECHO_MSG} "=3D=3D=3D>   Deinstalling $${p}"; \=0A=
  X				${PKG_DELETE} -f $${p}; \=0A=
  X			else \=0A=
  X				${ECHO_MSG} "=3D=3D=3D>   $${p} has a different PREFIX: $${prfx}, =
  skipping"; \=0A=
  X			fi; \=0A=
  X		fi; \=0A=
  X	done; \=0A=
  X	if [ -z "$${found_names}" ]; then \=0A=
  X		${ECHO_MSG} "=3D=3D=3D>   ${PKGBASE} not installed, skipping"; \=0A=
  X	fi=0A=
  X	@${RM} -f ${INSTALL_COOKIE} ${PACKAGE_COOKIE}=0A=
  X.endif=0A=
  X=0A=
  X.include <bsd.port.post.mk>=0A=
  END-of-net/quoted/Makefile=0A=
  echo x - net/quoted/pkg-deinstall=0A=
  sed 's/^X//' >net/quoted/pkg-deinstall << =
  'END-of-net/quoted/pkg-deinstall'=0A=
  X#!/bin/sh=0A=
  Xif test -e "/usr/local/bin/quoted" \=0A=
  X  -a -e "/var/run/quoted.pid" \=0A=
  X  -a -e "/usr/local/etc/rc.d/quoted.sh" ; then \=0A=
  X  "/usr/local/etc/rc.d/quoted.sh" stop || echo "" ; fi=0A=
  Xif test -e "/var/run/quoted.pid" ; then rm /var/run/quoted.pid ; fi=0A=
  X=0A=
  END-of-net/quoted/pkg-deinstall=0A=
  echo x - net/quoted/distinfo=0A=
  sed 's/^X//' >net/quoted/distinfo << 'END-of-net/quoted/distinfo'=0A=
  XMD5 (quoted-1.0.tar.gz) =3D 75d0a97140786a1b19587589e6782528=0A=
  XSIZE (quoted-1.0.tar.gz) =3D 121047=0A=
  END-of-net/quoted/distinfo=0A=
  echo x - net/quoted/pkg-descr=0A=
  sed 's/^X//' >net/quoted/pkg-descr << 'END-of-net/quoted/pkg-descr'=0A=
  Xquoted - QOTD Daemon=0A=
  X=0A=
  XThe QOTD Daemon 'quoted' listens on the qotd port (17) and responds with=0A=
  Xa randomly selected 'quote of the day' from a 'quotes' text file, which=0A=
  Xyou can update with quotes of your own.  It will operate either as a=0A=
  Xstand-alone daemon, or can also be invoked via inetd.=0A=
  X=0A=
  XIf you want, you can also have it listen on a different port, other than=0A=
  Xthe default 'qotd' port (17).=0A=
  X=0A=
  XWWW:  http://www.mrp3.com/webutil/quoted.html=0A=
  END-of-net/quoted/pkg-descr=0A=
  echo x - net/quoted/pkg-plist=0A=
  sed 's/^X//' >net/quoted/pkg-plist << 'END-of-net/quoted/pkg-plist'=0A=
  Xbin/quoted=0A=
  Xetc/quotes=0A=
  Xetc/rc.d/quoted.sh=0A=
  X=0A=
  END-of-net/quoted/pkg-plist=0A=
  exit=0A=
  =0A=
  
  ------=_NextPart_000_077E_01C4DD15.783816D0--
  



More information about the freebsd-ports-bugs mailing list