FreeBSD Bugzilla – Attachment 144393 Details for
Bug 191552
[patch] sysutils/apcupsd: Add PDF distfile checksum, Unmark BROKEN
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Stagify port and remove PDF documentation
sysutils_apcupsd-stagify_and_remove_pdf.patch (text/plain), 3.81 KB, created by
cyberleo
on 2014-07-04 07:47:01 UTC
(
hide
)
Description:
Stagify port and remove PDF documentation
Filename:
MIME Type:
Creator:
cyberleo
Created:
2014-07-04 07:47:01 UTC
Size:
3.81 KB
patch
obsolete
>diff -ur sysutils/apcupsd/distinfo sysutils/apcupsd/distinfo >--- sysutils/apcupsd/distinfo 2014-01-22 09:30:13.000000000 -0600 >+++ sysutils/apcupsd/distinfo 2014-07-04 02:11:39.777720169 -0500 >@@ -1,3 +1,2 @@ > SHA256 (apcupsd-3.14.10.tar.gz) = 0707b5ec9916fbde9e44eb8d18037c8d8f75dfd6aeef51aba5487e189eef2032 > SIZE (apcupsd-3.14.10.tar.gz) = 1336852 >-SHA256 (apcupsd.pdf) = IGNORE >diff -ur sysutils/apcupsd/Makefile sysutils/apcupsd/Makefile >--- sysutils/apcupsd/Makefile 2014-06-22 17:21:38.000000000 -0500 >+++ sysutils/apcupsd/Makefile 2014-07-04 02:22:31.750385486 -0500 >@@ -9,15 +9,12 @@ > http://T32.TecNik93.com/FreeBSD/ports/${PORTNAME}/sources/:src_bk \ > http://apcupsd.sourceforge.net/manual/:doc_sf \ > http://T32.TecNik93.com/FreeBSD/ports/${PORTNAME}/sources/:doc_bk >-DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:src_sf,src_bk \ >- ${PORTNAME}.pdf:doc_sf,doc_bk >+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:src_sf,src_bk > EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} > > MAINTAINER= itetcu@FreeBSD.org > COMMENT= Set of programs for controlling APC UPS > >-BROKEN= no distinfo provided for some of the distfiles >- > USE_RC_SUBR= apcupsd > SUB_FILES= pkg-message > >@@ -33,11 +30,8 @@ > CPPFLAGS+= -I${LOCALBASE}/include > LIBS+= -L${LOCALBASE}/lib > >-MAN5= apcupsd.conf.5 >-MAN8= apcaccess.8 apccontrol.8 apctest.8 apcupsd.8 >- > OPTIONS_DEFINE= APCSMART_DRV APCDUMB_DRV CLIENT_ONLY CGI PCNET_DRV USB SNMP_DRV \ >- SNMP_DRV_OLD TCP_WRAPPERS TEST_DRV GAPCMON DOCS >+ SNMP_DRV_OLD TCP_WRAPPERS TEST_DRV GAPCMON > OPTIONS_DEFAULT= APCSMART_DRV APCDUMB_DRV PCNET_DRV USB TCP_WRAPPERS > APCSMART_DRV_DESC= Compile APC SmartUPS serial driver > APCDUMB_DRV_DESC= Compile dumb UPS driver >@@ -51,9 +45,6 @@ > TEST_DRV_DESC= Compile TEST driver > GAPCMON_DESC= Build GTK GUI front-end > >-PORTDOCS= ${PORTNAME}.pdf >- >-NO_STAGE= yes > .include <bsd.port.options.mk> > > .if ${PORT_OPTIONS:MAPCSMART_DRV} >@@ -138,32 +129,11 @@ > .endif > > post-install: >-# If the files presaved are identical with the new one, include them in >-# the package list, so the port can be removed without problems >- for na in apccontrol commfailure mainsback mastertimeout \ >- changeme commok masterconnect onbattery; do \ >- if [ -f ${ETCDIR}/$$na.orig ]; then \ >- if cmp -s ${ETCDIR}/$$na ${ETCDIR}/$$na.orig; then \ >- ${ECHO_CMD} "%%ETCDIR%%/$$na.orig" >> ${TMPPLIST}; \ >- fi \ >- fi; \ >- done > @${ECHO_CMD} "@unexec if [ -d %D/${ETCDIR_REL} ]; then ${ECHO_CMD} \"If you are permanently removing this port, you should do a ``rm -rf ${ETCDIR}`` to remove config files left.\" | ${FMT} ; fi" >> ${TMPPLIST} >-# Install sample startup script >-# If there is already a config file it is installed as ...new > for na in apcupsd.conf apcupsd.css hosts.conf multimon.conf; do \ >- if [ -f ${ETCDIR}/$$na ]; then \ >- if [ -f ${ETCDIR}/$$na.new ]; then \ >- ${MV} ${ETCDIR}/$$na.new ${ETCDIR}/$$na.sample; \ >- else \ >- ${CP} ${ETCDIR}/$$na ${ETCDIR}/$$na.sample; \ >- fi; \ >+ if [ -f ${STAGEDIR}${ETCDIR}/%%na ]; then \ >+ ${MV} ${STAGEDIR}${ETCDIR}/%%na ${STAGEDIR}${ETCDIR}/%%na.sample; \ > fi; \ > done >-.if ${PORT_OPTIONS:MDOCS} >- @${MKDIR} ${DOCSDIR} >- ${INSTALL_DATA} ${DISTDIR}/${PORTNAME}.pdf ${DOCSDIR} >-.endif >- @${CAT} ${PKGMESSAGE} > > .include <bsd.port.mk> >diff -ur sysutils/apcupsd/pkg-plist sysutils/apcupsd/pkg-plist >--- sysutils/apcupsd/pkg-plist 2014-01-22 09:16:56.000000000 -0600 >+++ sysutils/apcupsd/pkg-plist 2014-07-04 01:41:31.000000000 -0500 >@@ -2,6 +2,11 @@ > sbin/apcaccess > sbin/apctest > sbin/smtp >+man/man5/apcupsd.conf.5.gz >+man/man8/apcaccess.8.gz >+man/man8/apccontrol.8.gz >+man/man8/apctest.8.gz >+man/man8/apcupsd.8.gz > @unexec if cmp -s %D/%%ETCDIR%%/apcupsd.conf.sample %D/%%ETCDIR%%/apcupsd.conf; then rm -f %D/%%ETCDIR%%/apcupsd.conf; fi > %%ETCDIR%%/apcupsd.conf.sample > %%ETCDIR%%/apccontrol >Only in /home/cyberleo/scm/svn/CyberLeo/sysutils/apcupsd/: sysutils_apcupsd-stagify_and_remove_pdf.patch
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 191552
:
144334
|
144388
|
144389
|
144393
|
144395