FreeBSD Bugzilla – Attachment 77164 Details for
Bug 111148
[maintainer update] Make security/dns-proxy-tor's Tor dependency OPTIONal
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.65 KB, created by
Fabian Keil
on 2007-04-02 18:30:04 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Fabian Keil
Created:
2007-04-02 18:30:04 UTC
Size:
1.65 KB
patch
obsolete
>diff -ruN dns-proxy-tor.old/Makefile dns-proxy-tor/Makefile >--- dns-proxy-tor.old/Makefile Sat Jul 22 21:14:57 2006 >+++ dns-proxy-tor/Makefile Sat Mar 17 18:05:34 2007 >@@ -7,6 +7,7 @@ > > PORTNAME= dns-proxy-tor > PORTVERSION= 0.1.0 >+PORTREVISION= 1 > CATEGORIES= security dns > MASTER_SITES= http://p56soo2ibjkx23xo.onion/ \ > http://www.fabiankeil.de/sourcecode/freebsd/ >@@ -15,13 +16,36 @@ > MAINTAINER= fk@fabiankeil.de > COMMENT= Resolves DNS requests through Tor > >-RUN_DEPENDS= ${LOCALBASE}/bin/tor:${PORTSDIR}/security/tor-devel >+OPTIONS= TOR_DEVEL "Depend on tor-devel" On \ >+ TOR "Depend on tor" Off >+ > USE_PERL5_RUN= yes > USE_RC_SUBR= ${PORTNAME} > > DOCSDIR= ${PREFIX}/share/doc/${PORTNAME} > SUB_FILES= pkg-message > >+HAVE_TOR_DEVEL!= if pkg_info -I tor-devel\* >/dev/null 2>&1 ; then ${ECHO} YES; fi >+.if (${HAVE_TOR_DEVEL} == "YES") >+OPTIONS= TOR_DEVEL "Depend on tor-devel (already installed)" On >+.else >+HAVE_TOR_DEVEL!= if pkg_info -I tor-\* >/dev/null 2>&1 ; then ${ECHO} YES; fi >+.endif >+.if (defined(HAVE_TOR) && ${HAVE_TOR} == "YES") >+OPTIONS= TOR "Depend on tor (already installed)" On >+.endif >+ >+.include <bsd.port.pre.mk> >+ >+.if defined(WITH_TOR_DEVEL) >+.if defined(WITH_TOR) >+IGNORE= cannot depend on tor and tor-devel at the same time >+.endif >+RUN_DEPENDS+= ${LOCALBASE}/bin/tor:${PORTSDIR}/security/tor-devel >+.elif defined(WITH_TOR) >+RUN_DEPENDS+= ${LOCALBASE}/bin/tor:${PORTSDIR}/security/tor >+.endif >+ > do-build: > pre-install: > PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL >@@ -42,4 +66,4 @@ > ${CHOWN} _dns-proxy-tor:_dns-proxy-tor ${PREFIX}/var/run/${PORTNAME} > @${CAT} ${PKGMESSAGE} > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk>
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 111148
: 77164