Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dcs_classifier
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
dcs_classifier
Commits
da0bfe47
Commit
da0bfe47
authored
Aug 05, 2015
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
additional dbfiles DCS_DBFILE_PRE DCS_DBFILE_POST
parent
1ddf657e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
4 deletions
+25
-4
Makefile.am
Makefile.am
+2
-0
README.rst
README.rst
+16
-1
configure.ac
configure.ac
+5
-1
Makefile.am
src/gen/Makefile.am
+2
-2
No files found.
Makefile.am
View file @
da0bfe47
...
...
@@ -13,6 +13,8 @@ DISTCHECK_CONFIGURE_FLAGS = \
DCS_KEY
=
'
$(DCS_KEY)
'
\
DCS_ACCOUNT
=
'
$(DCS_ACCOUNT)
'
\
DCS_DBFILE
=
'
$(DCS_DBFILE)
'
\
DCS_DBFILE_PRE
=
'
$(DCS_DBFILE_PRE)
'
\
DCS_DBFILE_POST
=
'
$(DCS_DBFILE_POST)
'
\
VMOD_DIR
=
'
$(VMOD_DIR)
'
\
VARNISHSRC
=
'
$(VARNISHSRC)
'
\
--disable-dependency-tracking
...
...
README.rst
View file @
da0bfe47
...
...
@@ -219,12 +219,27 @@ required:
.. _using_the_demo_db:
2c. Use the bundled demo Database.
We provide a very simple database for demonstration purposes.
::
sh configure DCS_KEY=demo DCS_DBFILE=dcs_demo.db
2d. Optionally add dbfiles to prepend and append
To override / amend entries from the main ``DCS_DBFILE``,
additional files can be speficied as ``DCS_DBFILE_PRE`` (to
prepend / override) and ``DCS_DBFILE_POST``. These files should
not be encrypted, otherwise the same encryption key must be used.
::
sh configure DCS_KEY=demo DCS_DBFILE=dcs_demo.db \
DCS_DBFILE_PRE=/path/to/pre.db \
DCS_DBFILE_POST=/path/to/post.db
3. Run `make`
4. Optionally run `make install` to install at the default location
...
...
configure.ac
View file @
da0bfe47
...
...
@@ -227,7 +227,11 @@ if test "x$DCS_KEY" = x; then
fi
AC_ARG_VAR([DCS_ACCOUNT], [your netbiscuits account - optional, for online update only])
AC_ARG_VAR([DCS_DBFILE], [path to your DCS database file])
AC_ARG_VAR([DCS_DBFILE], [path to your primary DCS database file])
AC_ARG_VAR([DCS_DBFILE_PRE],
[path to an additional DCS database file to prepend])
AC_ARG_VAR([DCS_DBFILE_POST],
[path to an additional DCS database file to append])
if test "x$DCS_DBFILE" = "xdcs_demo.db"; then
AM_CONDITIONAL([DCS_DBFILE_ABS], [false])
...
...
src/gen/Makefile.am
View file @
da0bfe47
...
...
@@ -34,12 +34,12 @@ dcs_classifier.c: $(srcdir)/gen_dcs_classifier.pl dbfile $(srcdir)/../classes.co
--classes
$(srcdir)
/../classes.conf
\
--remove
fixup.remove
\
--reorder
fixup.reorder
\
dbfile
;
\
@DCS_DBFILE_PRE@ dbfile @DCS_DBFILE_POST@
;
\
else
\
$(srcdir)
/gen_dcs_classifier.pl
\
--key
$(DCS_KEY)
\
--classes
$(srcdir)
/../classes.conf
\
dbfile
;
\
@DCS_DBFILE_PRE@ dbfile @DCS_DBFILE_POST@
;
\
fi
# -- gen_dcs_match_mem
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment