Date: Sat, 22 Oct 2005 14:47:52 -0600 (MDT) From: Brad Huntting <huntting@hunkular.glarp.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/87851: removed bad man page, general cleanup Message-ID: <200510222047.j9MKlq8V045701@hunkular.glarp.com> Resent-Message-ID: <200510222050.j9MKoFcw008457@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 87851 >Category: ports >Synopsis: removed bad man page, general cleanup >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Oct 22 20:50:15 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Brad Huntting >Release: FreeBSD 5.4-RELEASE i386 >Organization: >Environment: System: FreeBSD hunkular.glarp.com 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: >How-To-Repeat: >Fix: The current port installs a man page for bitstring(3) which is already included with FreeBSD. Also, The man pages it should install were not listed in pkg-plist. Lastly, somewhere along the line the following patchfiles files and examples became redundant or superfluous: files/patch-script::gen-in.pl files/patch-script::has_usrgrp.pl files/sample-fcrontab-operator files/sample-fcrontab-root The scripts being patched are not used (by this port), and the samples were renamed. I used cd ~/my-fcron-port diff -NPru /usr/ports/sysutils/fcron . to generate the patch below, so "patch -E" should remove the files listed mentioned above. If there is a better way to generate these diffs in the future (or if these dont work) please let me know. thanx much, brad ------------------------------ cut here ------------------------------ diff -NPru /usr/ports/sysutils/fcron/Makefile ./Makefile --- /usr/ports/sysutils/fcron/Makefile Wed Oct 5 02:54:05 2005 +++ ./Makefile Sat Oct 22 13:34:30 2005 @@ -30,7 +30,6 @@ SUB_FILES= pkg-message MAN1= fcrondyn.1 fcrontab.1 -MAN3= bitstring.3 MAN5= fcron.conf.5 fcrontab.5 MAN8= fcron.8 @@ -49,7 +48,7 @@ .endfor ${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${FILESDIR}/fcrontab-* ${WRKSRC}/files/*.pam ${EXAMPLESDIR} -.for n in 1 3 5 8 +.for n in 1 5 8 ${INSTALL_MAN} ${MAN${n}:S|^|${WRKSRC}/doc/man/|} ${PREFIX}/man/man${n} .endfor .if !defined(NOPORTDOCS) diff -NPru /usr/ports/sysutils/fcron/files/patch-script::gen-in.pl ./files/patch-script::gen-in.pl --- /usr/ports/sysutils/fcron/files/patch-script::gen-in.pl Sun Oct 2 11:49:32 2005 +++ ./files/patch-script::gen-in.pl Wed Dec 31 17:00:00 1969 @@ -1,8 +0,0 @@ ---- script/gen-in.pl.orig Wed Jun 16 14:36:38 2004 -+++ script/gen-in.pl Tue Sep 6 11:29:55 2005 -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -+#!/usr/local/bin/perl - - # - read define assignations in config.h - # - read variable assignations in Makefile diff -NPru /usr/ports/sysutils/fcron/files/patch-script::has_usrgrp.pl ./files/patch-script::has_usrgrp.pl --- /usr/ports/sysutils/fcron/files/patch-script::has_usrgrp.pl Sun Oct 2 11:49:32 2005 +++ ./files/patch-script::has_usrgrp.pl Wed Dec 31 17:00:00 1969 @@ -1,8 +0,0 @@ ---- script/has_usrgrp.pl.orig Wed Jun 16 14:36:38 2004 -+++ script/has_usrgrp.pl Tue Sep 6 11:30:21 2005 -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -+#!/usr/local/bin/perl - - # call getpwnam() or getgrnam() to check if user or group (given as arg) exists - # on the system (getpwnam() and getgrnam() use nsswitch.conf, so it works diff -NPru /usr/ports/sysutils/fcron/files/sample-fcrontab-operator ./files/sample-fcrontab-operator --- /usr/ports/sysutils/fcron/files/sample-fcrontab-operator Sun Oct 2 11:49:32 2005 +++ ./files/sample-fcrontab-operator Wed Dec 31 17:00:00 1969 @@ -1,9 +0,0 @@ -# Derived from the default /etc/crontab for FreeBSD -# See fcrontab(5) for syntax and semantics -# -SHELL=/bin/sh -PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin -HOME=/var/log -# -# Save some entropy so that /dev/random can re-seed on boot. -@ 11 /usr/libexec/save-entropy diff -NPru /usr/ports/sysutils/fcron/files/sample-fcrontab-root ./files/sample-fcrontab-root --- /usr/ports/sysutils/fcron/files/sample-fcrontab-root Sun Oct 2 11:49:32 2005 +++ ./files/sample-fcrontab-root Wed Dec 31 17:00:00 1969 @@ -1,20 +0,0 @@ -# Derived from the default /etc/crontab for FreeBSD -# See fcrontab(5) for syntax and semantics -# -SHELL=/bin/sh -PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin -HOME=/var/log -# -@serial,lavg5(1.5) 5 /usr/libexec/atrun -# -# Rotate log files every hour, if necessary. -%hourly * newsyslog -# -# Perform daily/weekly/monthly maintenance. -%daily,serial * * periodic daily -%weekly,serial * * periodic weekly -%monthly,serial * * * periodic monthly -# -# Adjust the time zone if the CMOS clock keeps local time, as opposed to -# UTC time. See adjkerntz(8) for details. -1,31 0-5 * * * root adjkerntz -a diff -NPru /usr/ports/sysutils/fcron/pkg-plist ./pkg-plist --- /usr/ports/sysutils/fcron/pkg-plist Wed Oct 5 02:54:05 2005 +++ ./pkg-plist Sat Oct 22 14:40:26 2005 @@ -5,6 +5,11 @@ etc/fcron.conf.dist etc/fcron.deny.dist sbin/fcron +man/man1/fcrondyn.1 +man/man1/fcrontab.1 +man/man5/fcron.conf.5 +man/man5/fcrontab.5 +man/man8/fcron.8 %%EXAMPLESDIR%%/fcron.pam %%EXAMPLESDIR%%/fcrontab-operator %%EXAMPLESDIR%%/fcrontab-root >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510222047.j9MKlq8V045701>