Annotation of ports/misc/portscout/patches/patch-portscout_conf, Revision 1.1
1.1 ! kirby 1: $OpenBSD$
! 2: --- portscout.conf.orig Thu Jan 23 20:52:44 2014
! 3: +++ portscout.conf Thu Jan 23 21:03:41 2014
! 4: @@ -16,9 +16,9 @@
! 5:
! 6: # Space saving variables (only used within this file)
! 7:
! 8: -prefix = /usr/local
! 9: +prefix = ${PREFIX}
! 10: tmpdir = /tmp
! 11: -wwwdir = %(prefix)/www/data
! 12: +wwwdir = ${VARBASE}/www/htdocs
! 13:
! 14: #-- Data Provider -------------------------------------------------------------
! 15:
! 16: @@ -34,7 +34,7 @@ datasrc = Portscout::DataSrc::Ports
! 17: # Option Two: XML file
! 18:
! 19: #datasrc = Portscout::DataSrc::XML
! 20: -#datasrc opts = file:%(prefix)/etc/portscout/software.xml
! 21: +#datasrc opts = file:${SYSCONFDIR}/portscout/software.xml
! 22:
! 23: #-- User Privileges -----------------------------------------------------------
! 24:
! 25: @@ -51,7 +51,7 @@ ports dir = /usr/ports # Ports root
! 26:
! 27: html data dir = %(wwwdir)/portscout # Where to put generated HTML
! 28:
! 29: -templates dir = %(prefix)/etc/portscout/templates # Where HTML templates are kept
! 30: +templates dir = ${SYSCONFDIR}/portscout/templates # Where HTML templates are kept
! 31:
! 32: #-- Limit Processing ----------------------------------------------------------
! 33:
! 34: @@ -86,7 +86,7 @@ indexfile enable = true # Use INDEX if needed
! 35: mail enable = true
! 36:
! 37: mail from = portscout # Sender address
! 38: -mail subject = FreeBSD ports you maintain which are out of date
! 39: +mail subject = OpenBSD ports you maintain which are out of date
! 40: mail method = sendmail # Can be 'sendmail' or 'smtp'
! 41: #mail host = localhost # SMTP server, if method is 'smtp'
! 42:
! 43: @@ -131,7 +131,7 @@ portconfig enable = true # Respect port config
! 44: # FreeBSD ports tree, switch this off to disable rejection of
! 45: # non-FreeBSD distfiles (such as 1.3.2-win32.zip).
! 46:
! 47: -freebsdhacks enable = true
! 48: +freebsdhacks enable = false
! 49:
! 50: # HTTP/FTP options
! 51:
! 52: @@ -165,12 +165,12 @@ db pass = # Password
! 53:
! 54: # These two are only used for db_connstr, below
! 55:
! 56: -db host = # Host
! 57: -db port = # Port
! 58: +db host = 127.0.0.1 # Host
! 59: +db port = 5432 # Port
! 60:
! 61: -db connstr = DBI:Pg:dbname=%(db_name)
! 62: +#db connstr = DBI:Pg:dbname=%(db_name)
! 63: #db connstr = DBI:Pg:dbname=%(db_name);host=%(db_host);port=%(db_port)
! 64: -#db connstr = DBI:SQLite:dbname=/var/db/portscout.db
! 65: +db connstr = DBI:SQLite:dbname=${VARBASE}/db/portscout.db
! 66:
! 67:
! 68: # ex: ts=4 sw=4
CVSweb