| Summary: | [patch] add rc script to port dns/dnsproxy | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Olli Hauer <ohauer> | ||||||
| Component: | Individual Port(s) | Assignee: | Andrej Zverev <az> | ||||||
| Status: | Closed FIXED | ||||||||
| Severity: | Affects Only Me | ||||||||
| Priority: | Normal | ||||||||
| Version: | Latest | ||||||||
| Hardware: | Any | ||||||||
| OS: | Any | ||||||||
| Attachments: |
|
||||||||
Responsible Changed From-To: freebsd-ports-bugs->az Over to maintainer (via the GNATS Auto Assign Tool) arrrg, plead do a $> sed 's/spamd/dnsproxy/' dnsproxy.in for the rc script before commit. Any change to commit this during port freeze or getting any feedback? Regards, olli az 2007-12-12 08:48:31 UTC
FreeBSD ports repository
Modified files:
dns/dnsproxy Makefile
Added files:
dns/dnsproxy/files dnsproxy.in pkg-message.in
Log:
- Add rc.d script
- Add tip in pkg-message
- Provide sample config in %%ETCDIR%%
- BUMP port revision
PR: ports/118089
Submitted by: olli hauer <ohauer at gmx.de>
Revision Changes Path
1.6 +10 -1 ports/dns/dnsproxy/Makefile
1.1 +32 -0 ports/dns/dnsproxy/files/dnsproxy.in (new)
1.1 +14 -0 ports/dns/dnsproxy/files/pkg-message.in (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, with minor changes. Thanks! |
There is no rc script for the port dns/dnsproxy so i wrote one. Also copy a sample config file to $PREFIX/etc/ Fix: +USE_RC_SUBR?= dnsproxy + MAN1= dnsproxy.1 -PLIST_FILES= sbin/dnsproxy +PLIST_FILES= sbin/dnsproxy \ + etc/dnsproxy.conf.sample + +CONFIG_DIR= ${PREFIX}/etc +SAMPLE_DNSPROXY_CONF= ${CONFIG_DIR}/dnsproxy.conf.sample + +SUB_FILES= pkg-message .include <bsd.port.pre.mk> @@ -26,8 +34,16 @@ ${RM} ${WRKSRC}/libevent/compat/sys/queue.h .endif +post-install: + @${CAT} ${PKGMESSAGE} + do-install: @${INSTALL_PROGRAM} ${WRKSRC}/dnsproxy ${PREFIX}/sbin @${INSTALL_MAN} ${WRKSRC}/dnsproxy.1 ${MAN1PREFIX}/man/man1 + @if [ ! -f ${SAMPLE_DNSPROXY_CONF} ]; then \ + ${ECHO_MSG} "Installing ${SAMPLE_DNSPROXY_CONF} file."; \ + ${ECHO_MSG} "${INSTALL_DATA} -v -p ${WRKSRC}/dnsproxy.conf ${SAMPLE_DNSPROXY_CONF}"; \ + ${INSTALL_DATA} -v -p ${WRKSRC}/dnsproxy.conf ${SAMPLE_DNSPROXY_CONF}; \ + fi .include <bsd.port.post.mk> How-To-Repeat: install the old port without patch