debian/0000755000000000000000000000000012102705430007160 5ustar debian/repack.sh0000755000000000000000000000205312102674622010774 0ustar #!/bin/sh # Repackage upstream source to exclude non-distributable files # should be called as "repack.sh --upstream-source # (for example, via uscan) set -e set -u VER="$2+dfsg" FILE="$3" PKG=`dpkg-parsechangelog|grep ^Source:|sed 's/^Source: //'` REPACK_DIR="$PKG-$VER.orig" # DevRef § 6.7.8.2 echo -e "\nRepackaging $FILE\n" DIR=`mktemp -d ./tmpRepackXXXXXX` trap "rm -rf \"$DIR\"" QUIT INT EXIT # Create an extra directory to cope with rootless tarballs UP_BASE="$DIR/unpack" mkdir "$UP_BASE" tar xzf "$FILE" -C "$UP_BASE" if [ `ls -1 "$UP_BASE" | wc -l` -eq 1 ]; then # Tarball does contain a root directory UP_BASE="$UP_BASE/`ls -1 "$UP_BASE"`" fi ## Remove undistributable files from source. rm -vfr $UP_BASE/solr/solr-jetty.tar.gz ## End mv "$UP_BASE" "$DIR/$REPACK_DIR" # Using a pipe hides tar errors! tar cfC "$DIR/repacked.tar" "$DIR" "$REPACK_DIR" gzip -9 < "$DIR/repacked.tar" > "$DIR/repacked.tar.gz" FILE="../${PKG}_${VER}.orig.tar.gz" mv "$DIR/repacked.tar.gz" "$FILE" echo "*** $FILE repackaged" debian/etc/0000755000000000000000000000000012102674622007743 5ustar debian/etc/chef/0000755000000000000000000000000012102674622010650 5ustar debian/etc/chef/solr.rb0000644000000000000000000000510212102674622012152 0ustar # Configuration File For Chef SOLR (chef-solr, chef-solr-indexer) # # Both the chef-solr and chef-solr-indexer daemons read this configuration # file on startup, as set in /etc/default/chef-solr*. # # The chef-solr-indexer program listens to a rabbitmq-server for the /chef # queue, for data stored in the CouchDB. When data is saved to the chef-server, # a message is sent to the queue, and the data is indexed and stored by # chef-solr for search in Chef recipes, or with the 'knife' command-line tool. # # chef-solr is a solr-jetty instance. # # It is a Ruby DSL config file, and can embed regular Ruby code in addition to # the configuration settings. Some settings use Ruby symbols, which are a value # that starts with a colon. In Ruby, anything but 'false' or 'nil' is true. To # set something to false: # # some_setting false # # log_location specifies where the indexer should log to. # valid values are: a quoted string specifying a file, or STDOUT with # no quotes. # Corresponds to chef-solr or chef-solr-indexer -l # Both chef-solr and chef-solr-indexer daemons are configured to log in # /etc/default/chef-solr -> /var/log/chef-solr # /etc/default/chef-solr-indexer -> /var/log/chef-solr-indexer # respectively. The jetty log for chef-solr is set in # /etc/chef/solr-jetty/jetty.xml to /var/log/chef/yyyy_mm_dd.jetty.log. log_location STDOUT # search_index_path specifies where the indexer should store the indexes. # valid value is any filesystem directory location. search_index_path "/var/lib/chef/search_index" # set the jetty path to use Debian solr-jetty. Additional configuration for # jetty can be found in /etc/chef/solr-jetty (which is symbolically linked to # /var/lib/chef/solr/solr-jetty/etc). solr_jetty_path "/var/lib/chef/solr/solr-jetty" solr_home_path "/var/lib/chef/solr" solr_data_path "/var/cache/chef/solr/data" solr_heap_size "256M" # specifies the URL of the SOLR instance for the indexer to connect to. # To change the port, modify the jetty.port setting in # /etc/chef/solr-jetty/jetty.xml solr_url "http://localhost:8983" # uses the solr_jetty_path option set above, and the etc directory is # actually a symbolic link to /etc/chef/solr-jetty. solr_java_opts "-DSTART=#{solr_jetty_path}/etc/start.config" # amqp_pass sets the password for the AMQP virtual host in rabbitmq-server. amqp_pass "testing" # Mixlib::Log::Formatter.show_time specifies whether the log should # contain timestamps. # valid values are true or false. The printed timestamp is rfc2822, for example: # Fri, 31 Jul 2009 19:19:46 -0600 Mixlib::Log::Formatter.show_time = true debian/etc/chef/solr-jetty/0000755000000000000000000000000012102674622012764 5ustar debian/etc/chef/solr-jetty/start.config0000644000000000000000000000424712102674622015317 0ustar # This file controls what file are to be put on classpath or command line. # # Format is as follows: # Each line contains entry for one JAR file. # Format of line: # # SUBJECT [ [!] CONDITION [AND|OR] ]* # # where SUBJECT: # ends with ".class" is the Main class to run. # ends with ".xml" is a configuration file for the command line # ends with "/" is a directory from which to add all jar and zip files. # ends with "/*" is a directory from which to add all unconsidered jar and zip files. # ends with "/**" is a directory from which to recursively add all unconsidered jar and zip files. # Containing = are used to assign system properties. # all other subjects are treated as files to be added to the classpath. # # Subjects may include system properties with $(propertyname) syntax. # # Files starting with "/" are considered absolute, all others are relative to # the home directory. # # CONDITION is one of: # always # never # available classname # true if class on classpath # property name # true of set # java OPERATOR version # java version compared to literal # nargs OPERATOR number # number of command line args compared to literal # OPERATOR := one of "<",">","<=",">=","==","!=" # # CONDITIONS can be combined with AND OR or !, with AND being the assume # operator for a list of CONDITIONS. # Classpath operations are evaluated on the fly, so once a class or jar is # added to the classpath, subsequent available conditions will see that class. # $(jetty.class.path) always $(jetty.lib)/** exists $(jetty.lib) jetty.home=/var/lib/chef/solr/solr-jetty always # The main class to run org.mortbay.xml.XmlConfiguration.class $(start.class).class # The default configuration files $(jetty.home)/etc/jetty.xml nargs == 0 /usr/share/java/servlet-api-2.5.jar /usr/share/java/slf4j-api.jar # Optional stuff for libjetty-extra-java /usr/share/java/gnumail.jar /usr/share/java/activation.jar /usr/share/java/ant.jar # Set the jetty classpath /usr/share/jetty/lib/** # Add a resources directory if it is there $(jetty.home)/resources/ debian/etc/chef/solr-jetty/webdefault.xml0000644000000000000000000005413612102674622015641 0ustar Default web.xml file. This file is applied to a Web application before it's own WEB_INF/web.xml file org.mortbay.jetty.webapp.NoTLDJarPattern start.jar|ant-.*\.jar|dojo-.*\.jar|jetty-.*\.jar|jsp-api-.*\.jar|junit-.*\.jar|servlet-api-.*\.jar|dnsns\.jar|rt\.jar|jsse\.jar|tools\.jar|sunpkcs11\.jar|sunjce_provider\.jar|xerces.*\.jar| default org.mortbay.jetty.servlet.DefaultServlet acceptRanges true dirAllowed true redirectWelcome false maxCacheSize 2000000 maxCachedFileSize 254000 maxCachedFiles 1000 gzip false useFileMappedBuffer false 0 default / jsp org.apache.jasper.servlet.JspServlet logVerbosityLevel DEBUG fork false xpoweredBy false 0 jsp *.jsp *.jspf *.jspx *.xsp *.JSP *.JSPF *.JSPX *.XSP 30 index.html index.htm index.jsp arISO-8859-6 beISO-8859-5 bgISO-8859-5 caISO-8859-1 csISO-8859-2 daISO-8859-1 deISO-8859-1 elISO-8859-7 enISO-8859-1 esISO-8859-1 etISO-8859-1 fiISO-8859-1 frISO-8859-1 hrISO-8859-2 huISO-8859-2 isISO-8859-1 itISO-8859-1 iwISO-8859-8 jaShift_JIS koEUC-KR ltISO-8859-2 lvISO-8859-2 mkISO-8859-5 nlISO-8859-1 noISO-8859-1 plISO-8859-2 ptISO-8859-1 roISO-8859-2 ruISO-8859-5 shISO-8859-5 skISO-8859-2 slISO-8859-2 sqISO-8859-2 srISO-8859-5 svISO-8859-1 trISO-8859-9 ukISO-8859-5 zhGB2312 zh_TWBig5 debian/etc/chef/solr-jetty/jetty.xml0000644000000000000000000002320512102674622014647 0ustar org.mortbay.jetty.Request.maxFormContentSize 1000000 10 50 10000 127.0.0.1 50000 1500 /contexts 1 /webapps false true false /etc/webdefault.xml /yyyy_mm_dd.jetty.log 90 true false GMT true true debian/etc/chef/solr-jetty/jetty-web.xml0000644000000000000000000000066212102674622015424 0ustar solr.solr.home /var/lib/chef/solr debian/chef-solr.postrm0000644000000000000000000000122212102674622012315 0ustar #!/bin/sh # postrm script for chef-solr # # see: dh_installdeb(1) set -e TEMPLATE=/usr/share/chef/solr.rb CONFIGFILE=/etc/chef/solr.rb case "$1" in purge) rm -rf /var/log/chef/solr* test -x /usr/bin/ucf && ucf --purge $TEMPLATEFILE $CONFIGFILE rm -rf $CONFIGFILE $CONFIGFILE.ucf-old $CONFIGFILE.ucf-new $CONFIGFILE.ucf-dist ;; remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/po/0000755000000000000000000000000012102705204007575 5ustar debian/po/sv.po0000644000000000000000000000400612027521365010577 0ustar # Translation of chef-solr debconf template to Swedish # Copyright (C) 2012 Martin Bagge # This file is distributed under the same license as the chef-solr package. # # Martin Bagge , 2012 msgid "" msgstr "" "Project-Id-Version: chef-solr\n" "Report-Msgid-Bugs-To: chef-solr@packages.debian.org\n" "POT-Creation-Date: 2012-09-13 07:47+0200\n" "PO-Revision-Date: 2012-09-22 16:42+0100\n" "Last-Translator: Martin Bagge / brother \n" "Language-Team: Swedish \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Swedish\n" "X-Poedit-Country: Sweden\n" #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "AMQP user password:" msgstr "Lösenord för AMQP-användaren:" #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "Please choose the password for the \"chef\" AMQP user in the RabbitMQ vhost " "\"/chef\"." msgstr "" "Välj lösenord för AMQP-användaren \"chef\" in RabbitMQ:s vhost \"/chef\"." #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "RabbitMQ's rabbitmqctl program, which will be used to set this password, " "cannot read input from a file. Instead the password will be passed to it as " "a quoted string, so it must not include any shell special characters (such " "as the exclamation mark) which will cause errors." msgstr "" "RabbitMQ:s program rabbitmqctl, som kommer att användas för att ange detta " "lösenord, kan inte läsa indata från en fil. Lösenordet kommer att skickas " "som en sträng och kan därför inte innehålla specialtecken för skalet " "(exempelvis utropstecken) som kan orsaka fel." #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "The password will be stored in /etc/chef/solr.rb and /etc/chef/server.rb as " "\"amqp_pass\"." msgstr "" "Lösenordet kommer att lagras i /etc/chef/solr.rb och /etc/chef/server.rb som " "\"amqp_pass\"." debian/po/pt.po0000644000000000000000000000374712025135530010576 0ustar # Portuguese translation for chef-solr's debconf messages # Copyright (C) 2012 # This file is distributed under the same license as the chef-solr package. # Rui Branco , 2012. # msgid "" msgstr "" "Project-Id-Version: chef-solr\n" "Report-Msgid-Bugs-To: chef-solr@packages.debian.org\n" "POT-Creation-Date: 2012-09-13 07:47+0200\n" "PO-Revision-Date: 2012-09-15 11:58+0100\n" "Last-Translator: Rui Branco \n" "Language-Team: Portuguese \n" "Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "AMQP user password:" msgstr "Palavra-passe do utilizador AMQP:" #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "Please choose the password for the \"chef\" AMQP user in the RabbitMQ vhost " "\"/chef\"." msgstr "" "Por favor escolha uma palavra-passe para o utilizador AMQP \"chef\" no " "anfitrião 'vhost' RabbitMQ \"/chef\"." #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "RabbitMQ's rabbitmqctl program, which will be used to set this password, " "cannot read input from a file. Instead the password will be passed to it as " "a quoted string, so it must not include any shell special characters (such " "as the exclamation mark) which will cause errors." msgstr "" "O programa rabbitmqctl do RabbitMQ, que será utilizado para configurar esta " "palavra-passe, não pode ler a partir de um ficheiro. Assim a palavra-passe " "terá que ser introduzida como texto entre aspas, deste modo não pode incluir " "caracteres especiais (tais como o ponto de exclamação), o que causaria erros." #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "The password will be stored in /etc/chef/solr.rb and /etc/chef/server.rb as " "\"amqp_pass\"." msgstr "" "A palavra-passe será armazenada em /etc/chef/solr.rb e em /etc/chef/server." "rb como \"amqp_pass\"." debian/po/POTFILES.in0000644000000000000000000000005612015063061011354 0ustar [type: gettext/rfc822deb] chef-solr.templates debian/po/es.po0000644000000000000000000000641612032743514010563 0ustar # chef-solr translation to Spanish # Copyright (C) 2012 Software in the Public Interest, SPI Inc. # This file is distributed under the same license as the chef-solr package. # # Changes: # - Initial translation # Matías Bellone , 2012 # - Revisión # Javier Fernández-Sanguino , 2012 # # Traductores, si no conoce el formato PO, merece la pena leer la # documentación de gettext, especialmente las secciones dedicadas a este # formato, por ejemplo ejecutando: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Equipo de traducción al español, por favor lean antes de traducir # los siguientes documentos: # # - El proyecto de traducción de Debian al español # http://www.debian.org/intl/spanish/ # especialmente las notas y normas de traducción en # http://www.debian.org/intl/spanish/notas # # - La guía de traducción de po's de debconf: # /usr/share/doc/po-debconf/README-trans # o http://www.debian.org/intl/l10n/po-debconf/README-trans # # Si tiene dudas o consultas sobre esta traducción consulte con el último # traductor (campo Last-Translator) y ponga en copia a la lista de # traducción de Debian al español () # msgid "" msgstr "" "Project-Id-Version: chef-solr\n" "Report-Msgid-Bugs-To: chef-solr@packages.debian.org\n" "POT-Creation-Date: 2012-09-13 07:47+0200\n" "PO-Revision-Date: 2012-10-03 00:27+0200\n" "Last-Translator: Matías Bellone \n" "Language-Team: Debian L10N Spanish \n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-POFile-SpellExtra: AMQP amqppass RabbitMQ vhost rabbitmqctl rb server\n" "X-POFile-SpellExtra: solr\n" #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "AMQP user password:" msgstr "Contraseña para el usuario AMQP:" #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "Please choose the password for the \"chef\" AMQP user in the RabbitMQ vhost " "\"/chef\"." msgstr "" "Elija la contraseña para el usuario «chef» de AMQP en el vhost «/chef» de " "RabbitMQ." #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "RabbitMQ's rabbitmqctl program, which will be used to set this password, " "cannot read input from a file. Instead the password will be passed to it as " "a quoted string, so it must not include any shell special characters (such " "as the exclamation mark) which will cause errors." msgstr "" "Para configurar esta contraseña se utilizará el programa «rabbitmqctl» de " "RabbitMQ. Este programa no puede leer su entrada de un archivo. En lugar de " "ésto, la contraseña se proporciona al programa como una cadena entre " "comillas dobles por lo que no puede incluir ningún carácter especial que " "pueda causar errores (como el signo de exclamación)." #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "The password will be stored in /etc/chef/solr.rb and /etc/chef/server.rb as " "\"amqp_pass\"." msgstr "" "Se almacenará la contraseña en el archivo «/etc/chef/solr.rb» y en «/etc/" "chef/server.rb» como «amqp_pass»." debian/po/ru.po0000644000000000000000000000460312026251401010566 0ustar # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the chef-solr package. # # Yuri Kozlov , 2012. msgid "" msgstr "" "Project-Id-Version: chef-solr 10.12.0+dfsg-2\n" "Report-Msgid-Bugs-To: chef-solr@packages.debian.org\n" "POT-Creation-Date: 2012-09-13 07:47+0200\n" "PO-Revision-Date: 2012-09-18 21:41+0400\n" "Last-Translator: Yuri Kozlov \n" "Language-Team: Russian \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "X-Generator: Lokalize 1.4\n" #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "AMQP user password:" msgstr "Пароль пользователя AMQP:" #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "Please choose the password for the \"chef\" AMQP user in the RabbitMQ vhost " "\"/chef\"." msgstr "Введите пароль для пользователя «chef» AMQP в RabbitMQ vhost «/chef»." #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "RabbitMQ's rabbitmqctl program, which will be used to set this password, " "cannot read input from a file. Instead the password will be passed to it as " "a quoted string, so it must not include any shell special characters (such " "as the exclamation mark) which will cause errors." msgstr "" "Программа rabbitmqctl из RabbitMQ, используемая для установки этого пароля, " "не способна читать данные из файла. Вместо этого пароль будет ей передан в " "виде строки в кавычках, поэтому в нём не должно содержаться каких-либо " "специальных символов оболочки (например, восклицательного знака), иначе " "возникнут ошибки." #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "The password will be stored in /etc/chef/solr.rb and /etc/chef/server.rb as " "\"amqp_pass\"." msgstr "" "Пароль будет сохранён в /etc/chef/solr.rb и /etc/chef/server.rb в виде " "«amqp_pass»." debian/po/pl.po0000644000000000000000000000411512024534217010560 0ustar # Translation of chef-solr debconf templates to Polish. # Copyright (C) 2012 # This file is distributed under the same license as the chef-solr package. # # Michał Kułach , 2012. msgid "" msgstr "" "Project-Id-Version: chef-solr\n" "Report-Msgid-Bugs-To: chef-solr@packages.debian.org\n" "POT-Creation-Date: 2012-09-13 07:47+0200\n" "PO-Revision-Date: 2012-09-13 18:25+0200\n" "Last-Translator: Michał Kułach \n" "Language-Team: Polish \n" "Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "|| n%100>=20) ? 1 : 2);\n" "X-Generator: Lokalize 1.4\n" #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "AMQP user password:" msgstr "Hasło użytkownika AMQP:" #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "Please choose the password for the \"chef\" AMQP user in the RabbitMQ vhost " "\"/chef\"." msgstr "" "Proszę wybrać hasło dla użytkownika \"chef\" AMQP do vhosta RabbitMQ \"/chef" "\"." #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "RabbitMQ's rabbitmqctl program, which will be used to set this password, " "cannot read input from a file. Instead the password will be passed to it as " "a quoted string, so it must not include any shell special characters (such " "as the exclamation mark) which will cause errors." msgstr "" "Program rabbitmqctl, który będzie użyty do ustawienia hasła nie potrafi " "odczytywać wejścia z pliku. Hasło zostanie do niego przekazane jako cytowany " "ciąg, dlatego nie może zawierać żadnych znaków specjalnych powłoki (np. " "wykrzyknika), które spowodują wystąpienie błędu." #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "The password will be stored in /etc/chef/solr.rb and /etc/chef/server.rb as " "\"amqp_pass\"." msgstr "" "Hasło będzie przechowywane w /etc/chef/solr.rb i /etc/chef/server.rb jako " "\"amqp_pass\"." debian/po/it.po0000644000000000000000000000410112031363246010554 0ustar # Italian translation of chef-solr debconf messages. # Copyright (C) 2012, Beatrice Torracca # This file is distributed under the same license as the chef-solr package. # Beatrice Torracca , 2012. msgid "" msgstr "" "Project-Id-Version: chef-solr\n" "Report-Msgid-Bugs-To: chef-solr@packages.debian.org\n" "POT-Creation-Date: 2012-09-13 07:47+0200\n" "PO-Revision-Date: 2012-09-28 17:19+0200\n" "Last-Translator: Beatrice Torracca \n" "Language-Team: Italian \n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Virtaal 0.7.1\n" #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "AMQP user password:" msgstr "Password per l'utente AMQP:" #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "Please choose the password for the \"chef\" AMQP user in the RabbitMQ vhost " "\"/chef\"." msgstr "" "Scegliere la password per l'utente \"chef\" AMQP nel vhost \"/chef\" di " "RabbitMQ." #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "RabbitMQ's rabbitmqctl program, which will be used to set this password, " "cannot read input from a file. Instead the password will be passed to it as " "a quoted string, so it must not include any shell special characters (such " "as the exclamation mark) which will cause errors." msgstr "" "Il programma rabbitmqctl di RabbitMQ, che verrà usato per impostare questa " "password, non può leggere l'input da un file. La password gli verrà invece " "passata come una stringa tra virgolette, perciò non deve includere alcun " "carattere speciale (come il punto esclamativo) perché causerà errori." #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "The password will be stored in /etc/chef/solr.rb and /etc/chef/server.rb as " "\"amqp_pass\"." msgstr "" "La password verrà memorizzata in /etc/chef/solr.rb e /etc/chef/server.rb " "come \"amqp_pass\"." debian/po/da.po0000644000000000000000000000367112025527403010537 0ustar # Danish translation chef-solr. # Copyright (C) 2012 chef-solr & nedenstående oversættere. # This file is distributed under the same license as the chef-solr package. # Joe Hansen (joedalton2@yahoo.dk), 2012. # msgid "" msgstr "" "Project-Id-Version: chef-solr\n" "Report-Msgid-Bugs-To: chef-solr@packages.debian.org\n" "POT-Creation-Date: 2012-09-13 07:47+0200\n" "PO-Revision-Date: 2012-09-16 12:42+0000\n" "Last-Translator: Joe Hansen \n" "Language-Team: Danish \n" "Language: da\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "AMQP user password:" msgstr "AMQP-brugeradgangskode:" #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "Please choose the password for the \"chef\" AMQP user in the RabbitMQ vhost " "\"/chef\"." msgstr "" "Vælg venligst adgangskoden for AMQP-brugeren »chef« i »/chef« for RabbitMQ " "vhost." #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "RabbitMQ's rabbitmqctl program, which will be used to set this password, " "cannot read input from a file. Instead the password will be passed to it as " "a quoted string, so it must not include any shell special characters (such " "as the exclamation mark) which will cause errors." msgstr "" "RabbitMQs rabbitmqctl-program, som vil blive brugt til at angive " "adgangskoden, kan ikke læse inddata fra en fil. I stedet for vil " "adgangskoden blive sendt videre som en citeret streng, så den må ikke " "inkludere skalspecifikke tegn (såsom udråbstegnet), som vil medføre fejl." #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "The password will be stored in /etc/chef/solr.rb and /etc/chef/server.rb as " "\"amqp_pass\"." msgstr "" "Adgangskoden vil blive gemt i /etc/chef/solr.rb og /etc/chef/server.rb som " "»amqp_pass«." debian/po/fr.po0000644000000000000000000000720612025135543010560 0ustar # Translation of chef debconf templates to French # Copyright (C) 2010, 2012 Debian French l10n team , 2010, 2012. msgid "" msgstr "" "Project-Id-Version: chef-sorl\n" "Report-Msgid-Bugs-To: chef-solr@packages.debian.org\n" "POT-Creation-Date: 2012-09-13 07:47+0200\n" "PO-Revision-Date: 2012-09-05 18:56-0400\n" "Last-Translator: David Prévot \n" "Language-Team: French \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Lokalize 1.4\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "AMQP user password:" msgstr "Mot de passe de l'utilisateur AMQP :" #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "Please choose the password for the \"chef\" AMQP user in the RabbitMQ vhost " "\"/chef\"." msgstr "" "Veuillez choisir le mot de passe pour l'identifiant d'AMQP « chef », pour " "l'hôte virtuel RabbitMQ « /chef »." #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "RabbitMQ's rabbitmqctl program, which will be used to set this password, " "cannot read input from a file. Instead the password will be passed to it as " "a quoted string, so it must not include any shell special characters (such " "as the exclamation mark) which will cause errors." msgstr "" "Le programme rabbitmqctl de RabbitMQ, qui sera utilisé pour configurer ce " "mot de passe, ne peut pas le lire depuis un fichier. À la place, le mot de " "passe lui sera passé comme une chaîne entre guillemets, donc il ne doit pas " "comporter de caractère spécial qui provoquera des erreurs, comme « ! »." #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "The password will be stored in /etc/chef/solr.rb and /etc/chef/server.rb as " "\"amqp_pass\"." msgstr "" "Le mot de passe sera gardé dans /etc/chef/solr.rb et /etc/chef/server.rb en " "tant que « amqp_pass »." #~ msgid "Chef server URL:" #~ msgstr "URL du serveur Chef :" #~ msgid "" #~ "Please specify the full URL that clients will use to connect to the Chef " #~ "server (for instance \"http://chef.example.com:4000\")." #~ msgstr "" #~ "Veuillez indiquer l'URL complète que les clients utiliseront pour se " #~ "connecter au serveur Chef (par exemple « http://chef.example.com:4000 »)" #~ msgid "Password for the AMQP user \"chef\":" #~ msgstr "Mot de passe pour l'identifiant AMQP « chef » :" #~ msgid "Temporary password for the Chef server user \"admin\":" #~ msgstr "" #~ "Mot de passe temporaire pour l'identifiant « admin » du serveur Chef :" #~ msgid "" #~ "Please choose a temporary password for the first time the \"admin\" user " #~ "logs into the Chef server web interface. It should be changed immediately " #~ "after being used." #~ msgstr "" #~ "Veuillez choisir un mot de passe temporaire pour la première connexion " #~ "avec l'identifiant « admin » à l'interface web du serveur Chef. Il " #~ "devrait être changé immédiatement après avoir été utilisé." #~ msgid "" #~ "This password must be at least six characters long. If no password is " #~ "entered, a default value will be used which is displayed on the Chef " #~ "server web interface home page." #~ msgstr "" #~ "Ce mot de passe doit contenir au moins six caractères. Si aucun mot de " #~ "passe n'est choisi, le mot de passe par défaut affiché sur la page " #~ "d'accueil de l'interface web du serveur Chef sera utilisé." debian/po/de.po0000644000000000000000000000401412026522411010526 0ustar # Translation of chef-solr debconf template to German. # Copyright (C) 2010 Opscode, Inc # This file is distributed under the same license as the chef-solr package. # Translation by Chris Leick 2012. # msgid "" msgstr "" "Project-Id-Version: chef-solr 10.12.0+dfsg-2\n" "Report-Msgid-Bugs-To: chef-solr@packages.debian.org\n" "POT-Creation-Date: 2012-09-13 07:47+0200\n" "PO-Revision-Date: 2012-09-13 22:31+0100\n" "Last-Translator: Chris Leick \n" "Language-Team: German \n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "AMQP user password:" msgstr "AMQP-Benutzerpasswort:" #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "Please choose the password for the \"chef\" AMQP user in the RabbitMQ vhost " "\"/chef\"." msgstr "" "Bitte wählen Sie das Passwort für den AMQP-Benutzer »chef« im RabbitMQ-Vhost " "»chef«." #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "RabbitMQ's rabbitmqctl program, which will be used to set this password, " "cannot read input from a file. Instead the password will be passed to it as " "a quoted string, so it must not include any shell special characters (such " "as the exclamation mark) which will cause errors." msgstr "" "Das Rabbitmqctl-Programm von RabbitMQ, das zum Setzen dieses Passworts " "benutzt wird, kann die Eingabe nicht aus einer Datei lesen. Stattdessen wird " "das Passwort als in Anführungszeichen gesetzte Zeichenkette übergeben. Daher " "darf es keine Shell-Sonderzeichen (wie das Ausrufezeichen) enthalten, die " "Fehler verursachen werden." #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "The password will be stored in /etc/chef/solr.rb and /etc/chef/server.rb as " "\"amqp_pass\"." msgstr "" "Das Passwort wird in /etc/chef/solr.rb und /etc/chef/server.rb als " "»amqp_pass« gespeichert." debian/po/templates.pot0000644000000000000000000000263112024271553012331 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: chef-solr\n" "Report-Msgid-Bugs-To: chef-solr@packages.debian.org\n" "POT-Creation-Date: 2012-09-13 07:47+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "AMQP user password:" msgstr "" #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "Please choose the password for the \"chef\" AMQP user in the RabbitMQ vhost " "\"/chef\"." msgstr "" #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "RabbitMQ's rabbitmqctl program, which will be used to set this password, " "cannot read input from a file. Instead the password will be passed to it as " "a quoted string, so it must not include any shell special characters (such " "as the exclamation mark) which will cause errors." msgstr "" #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "The password will be stored in /etc/chef/solr.rb and /etc/chef/server.rb as " "\"amqp_pass\"." msgstr "" debian/po/cs.po0000644000000000000000000000400212025135535010546 0ustar # Czech PO debconf template translation of chef-solr. # Copyright (C) 2012 Michal Simunek # This file is distributed under the same license as the chef-solr package. # Michal Simunek , 2012. # msgid "" msgstr "" "Project-Id-Version: chef-solr 10.12.0+dfsg-2\n" "Report-Msgid-Bugs-To: chef-solr@packages.debian.org\n" "POT-Creation-Date: 2012-09-13 07:47+0200\n" "PO-Revision-Date: 2012-09-15 12:22+0200\n" "Last-Translator: Michal Simunek \n" "Language-Team: Czech \n" "Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "AMQP user password:" msgstr "Heslo pro AMQP uživatele:" #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "Please choose the password for the \"chef\" AMQP user in the RabbitMQ vhost " "\"/chef\"." msgstr "" "Zvolte si prosím heslo pro AMQP uživatele \"chef\" ve virtuálním serveru " "RabbitMQ \"/chef\"." #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "RabbitMQ's rabbitmqctl program, which will be used to set this password, " "cannot read input from a file. Instead the password will be passed to it as " "a quoted string, so it must not include any shell special characters (such " "as the exclamation mark) which will cause errors." msgstr "" "Program rabbitmqctl pro RabbitMQ, který se použije pro nastavení tohoto " "hesla, neumí číst ze souboru. Místo toho mu bude heslo předáno jako řetězec " "v uvozovkách, takže nesmí obsahovat žádné speciální znaky shellu (jako je " "vykřičník), které by způsobily chyby." #. Type: password #. Description #: ../chef-solr.templates:2001 msgid "" "The password will be stored in /etc/chef/solr.rb and /etc/chef/server.rb as " "\"amqp_pass\"." msgstr "" "Heslo bude uložené v souboru /etc/chef/solr.rb a /etc/chef/server.rb jako " "\"amqp_pass\"." debian/chef-solr.init0000755000000000000000000000731012102674622011743 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: chef-solr # Required-Start: $remote_fs $network # Required-Stop: $remote_fs $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start a chef-solr. ### END INIT INFO # # Copyright (c) 2009-2010 Opscode, Inc # # chef-solr Startup script for chef-solr. # chkconfig: - 84 02 # description: starts up chef-solr in daemon mode. PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/sbin/chef-solr DAEMON_NAME=java NAME=chef-solr DESC=chef-solr PIDFILE=/var/run/chef/solr.pid test -x $DAEMON || exit 0 . /lib/lsb/init-functions [ -r /etc/default/$NAME ] && . /etc/default/$NAME if [ ! -d /var/run/chef ]; then mkdir /var/run/chef chown $USER:$GROUP /var/run/chef fi if [ ! -f $LOGFILE ]; then touch $LOGFILE chown $USER:$GROUP $LOGFILE fi DAEMON_OPTS="-d -P $PIDFILE -c $CONFIG -L $LOGFILE -u $USER -g $GROUP" running_pid() { pid=$1 name=$2 [ -z "$pid" ] && return 1 [ ! -d /proc/$pid ] && return 1 cmd=`cat /proc/$pid/cmdline | tr '\000' '\n' | head -1` [ "$cmd" != "$name" ] && return 1 return 0 } running() { [ ! -f "$PIDFILE" ] && return 1 pid=`cat $PIDFILE` running_pid $pid $DAEMON_NAME || return 1 return 0 } start_server() { start_daemon -p $PIDFILE $DAEMON $DAEMON_OPTS errcode=$? for i in `seq 0 $MAXTRIES` do if running; then errcode=0 break else [ -n "$STARTTIME" ] && sleep $STARTTIME fi done return $errcode } stop_server() { killproc -p $PIDFILE $DAEMON errcode=$? return $errcode } reload_server() { [ ! -f "$PIDFILE" ] && return 1 pid=pidofproc $PIDFILE # This is the daemon's pid /bin/kill -1 $pid return $? } force_stop() { [ ! -e "$PIDFILE" ] && return if running ; then /bin/kill -15 $pid sleep "$DIETIME"s if running ; then /bin/kill -9 $pid sleep "$DIETIME"s if running ; then echo "Cannot kill $NAME (pid=$pid)!" exit 1 fi fi fi rm -f $PIDFILE } case "$1" in start) log_daemon_msg "Starting $DESC " "$NAME" if running ; then log_progress_msg "apparently already running" log_end_msg 0 exit 3 fi if start_server ; then [ -n "$STARTTIME" ] && sleep $STARTTIME # Wait some time if running ; then log_end_msg 0 else log_end_msg 1 fi else log_end_msg 1 fi ;; stop) log_daemon_msg "Stopping $DESC" "$NAME" if running ; then errcode=0 stop_server || errcode=$? log_end_msg $errcode else log_progress_msg "apparently not running" log_end_msg 0 exit 0 fi ;; force-stop) $0 stop if running; then log_daemon_msg "Stopping (force) $DESC" "$NAME" errcode=0 force_stop || errcode=$? log_end_msg $errcode fi ;; restart|force-reload) log_daemon_msg "Restarting $DESC" "$NAME" errcode=0 stop_server || errcode=$? [ -n "$DIETIME" ] && sleep $DIETIME start_server || errcode=$? [ -n "$STARTTIME" ] && sleep $STARTTIME running || errcode=$? log_end_msg $errcode ;; status) log_daemon_msg "Checking status of $DESC" "$NAME" if running ; then log_progress_msg "running" log_end_msg 0 else log_progress_msg "apparently not running" log_end_msg 1 exit 1 fi ;; reload) log_warning_msg "Reloading $NAME daemon: not implemented, as the daemon" log_warning_msg "cannot re-read the config file (use restart)." ;; *) N=/etc/init.d/$NAME echo "Usage: $N {start|stop|force-stop|restart|force-reload|status}" >&2 exit 1 ;; esac exit 0 debian/chef-solr.postinst0000644000000000000000000000402312102674622012656 0ustar #!/bin/bash set -e . /usr/share/debconf/confmodule . /etc/default/chef-solr export PATH=$PATH:/sbin:/usr/sbin:/bin:/usr/bin TEMPLATE=/usr/share/chef-solr/solr.rb TMPDIR=`mktemp -d` # used for holding temp files TMPFILE=`mktemp -p ${TMPDIR}` # used for holding rendered template CONFIGFILE=/etc/chef/solr.rb rabbitmq_has_vhost() { rabbitmqctl list_vhosts | grep -qx "^/chef$" } rabbitmq_has_user() { # using -q for grep causes rabbit to terminate on do_boot, redirect # STDOUT to /dev/null instead. rabbitmqctl list_users | grep -x "^chef\(\W*\w*\)$" 1>/dev/null } rabbitmq_has_perms() { rabbitmqctl list_permissions -p /chef | egrep -qx "chef[[:space:]]+.*{3}" } case "$1" in configure) db_get chef-solr/amqp_password && amqp_pass="$RET" tsed=`mktemp -p ${TMPDIR}` cat << EOF > $tsed s/^amqp_pass \".*\"/amqp_pass \"${amqp_pass}\"/g EOF if ! rabbitmq_has_vhost; then rabbitmqctl add_vhost /chef fi if ! rabbitmq_has_user; then # NOTE: Bug filed with upstream to allow password from a file. rabbitmqctl add_user chef "$amqp_pass" fi if ! rabbitmq_has_perms; then rabbitmqctl set_permissions -p /chef chef ".*" ".*" ".*" fi if [ -n "$amqp_pass" ]; then sed -f $tsed $TEMPLATE > $TMPFILE fi ucf --debconf-ok $TMPFILE $CONFIGFILE test -f $CONFIGFILE && chmod 0640 $CONFIGFILE rm -rf $TMPDIR if ! getent passwd chef > /dev/null; then adduser --system --quiet \ --home /var/lib/chef --no-create-home \ --shell /bin/false --group --gecos "Chef Daemon" chef fi chown -R $USER:$GROUP /etc/chef chown -R $USER:$GROUP /var/lib/chef chown -R $USER:$GROUP /var/log/chef chown -R $USER:$GROUP /var/cache/chef chown -R $USER:$GROUP /var/run/chef ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac db_stop # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/control0000644000000000000000000000243412102705314010567 0ustar Source: chef-solr Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Bryan McLellan DM-Upload-Allowed: yes Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~) Standards-Version: 3.9.2 #Vcs-Git: git://git.debian.org/pkg-ruby-extras/chef-solr.git #Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/chef-solr.git;a=summary Homepage: http://wiki.opscode.com/display/chef XS-Ruby-Versions: all Package: chef-solr Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby-interpreter, rabbitmq-server (>= 1.6), default-jre-headless | java6-runtime-headless, ruby-json (>= 1.4.6), chef (>= 0.10.10), solr-jetty (>= 1.4.0), ruby-libxml, adduser, ucf Replaces: chef-indexer Conflicts: chef-indexer Description: manager for search indexes of Chef node attributes using Solr The chef indexer listens to a message queue via AMQP for changes to search indexes. It then either creates or deletes entries in the index according to the information it is passed. . This package provides the chef-solr search engine, which runs as a solr-jetty server, along with chef-solr-indexer, which talks to the AMQP message queue (by default, rabbitmq-server). debian/TODO0000644000000000000000000000035212102674622007660 0ustar # Remove Jetty ## Remove undistributable files from source. rm -vfr $UP_BASE/chef-solr/solr/solr-jetty.tar.gz rm -vfr $UP_BASE/features/data/solr/jetty/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/admin/jquery-1.2.3.min.js debian/chef-solr.logrotate0000644000000000000000000000021612102674622012773 0ustar /var/log/chef/solr.log { rotate 12 weekly compress postrotate /usr/sbin/invoke-rc.d chef-solr force-reload > /dev/null endscript } debian/chef-solr.config0000644000000000000000000000046212102674622012243 0ustar #!/bin/bash set -e . /usr/share/debconf/confmodule export PATH=$PATH:/sbin:/usr/sbin:/bin:/usr/bin case "$1" in configure|reconfigure) db_input high chef-solr/amqp_password || true db_go ;; *) echo "config called with unknown argument \`$1'" >&2 exit 1 ;; esac db_stop exit 0 debian/chef-solr.links0000644000000000000000000000147112102674772012125 0ustar /var/log/chef /var/lib/chef/solr/logs /etc/chef/solr-jetty /var/lib/chef/solr/solr-jetty/etc /usr/share/jetty/lib /var/lib/chef/solr/solr-jetty/lib /var/log/jetty/ /var/lib/chef/solr/solr-jetty/logs /usr/share/jetty/start.jar /var/lib/chef/solr/solr-jetty/start.jar /usr/share/jetty/webapps/root/ /var/lib/chef/solr/solr-jetty/webapps/root /usr/share/solr/web/admin /var/lib/chef/solr/solr-jetty/webapps/solr/admin /etc/solr/conf /var/lib/chef/solr/solr-jetty/webapps/solr/conf /usr/share/solr/scripts /var/lib/chef/solr/solr-jetty/webapps/solr/scripts /usr/share/solr/web/WEB-INF/lib/ /var/lib/chef/solr/solr-jetty/webapps/solr/WEB-INF/lib /etc/solr/web.xml /var/lib/chef/solr/solr-jetty/webapps/solr/WEB-INF/web.xml debian/compat0000644000000000000000000000000212102674622010366 0ustar 7 debian/copyright0000644000000000000000000000255212102674622011127 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=173 Upstream-Name: chef Source: https://github.com/opscode/chef Files: * Copyright: Copyright 2010 Opscode, Inc License: Apache-2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Files: debian/* Copyright: Copyright 2011 Opscode, Inc License: Apache-2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. debian/watch0000644000000000000000000000024212102674622010217 0ustar version=3 opts=dversionmangle=s/\+dfsg// \ http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/chef-solr .*/chef-solr-(.*).tar.gz debian debian/repack.sh debian/chef-solr.default0000644000000000000000000000025212102674622012417 0ustar LOGFILE=/var/log/chef/solr.log CONFIG=/etc/chef/solr.rb USER=chef GROUP=chef # Sleep to give daemon enough time to fully start or stop. DIETIME=5 STARTTIME=5 MAXTRIES=20 debian/chef-solr.docs0000644000000000000000000000004512102674622011723 0ustar # FIXME: READMEs found # README.rdoc debian/rules0000755000000000000000000000151612102676213010251 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 # # Uncomment to ignore all test failures (but the tests will run anyway) #export DH_RUBY_IGNORE_TESTS=all # # Uncomment to ignore some test failures (but the tests will run anyway). # Valid values: #export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems # # If you need to specify the .gemspec (eg there is more than one) #export DH_RUBY_GEMSPEC=gem.gemspec %: dh $@ --buildsystem=ruby --with ruby override_dh_auto_install: tar xvzf solr/solr-home.tar.gz -C debian/chef-solr/var/lib/chef/solr cp debian/etc/chef/solr.rb debian/chef-solr/usr/share/chef-solr cp -rf $(CURDIR)/debian/etc/chef/solr-jetty debian/chef-solr/etc/chef dh_ruby --install mv $(CURDIR)/debian/chef-solr/usr/bin/chef-solr $(CURDIR)/debian/chef-solr/usr/sbin rm $(CURDIR)/debian/chef-solr/usr/bin/chef-solr-installer debian/source/0000755000000000000000000000000012102674622010470 5ustar debian/source/format0000644000000000000000000000001412102674622011676 0ustar 3.0 (quilt) debian/chef-solr.templates0000644000000000000000000000153412102705322012765 0ustar # These templates have been reviewed by the debian-l10n-english # team # # If modifications/additions/rewording are needed, please ask # debian-l10n-english@lists.debian.org for advice. # # Even minor modifications require translation updates and such # changes should be coordinated with translators and reviewers. Template: chef-solr/amqp_password Type: password _Description: AMQP user password: Please choose the password for the "chef" AMQP user in the RabbitMQ vhost "/chef". . RabbitMQ's rabbitmqctl program, which will be used to set this password, cannot read input from a file. Instead the password will be passed to it as a quoted string, so it must not include any shell special characters (such as the exclamation mark) which will cause errors. . The password will be stored in /etc/chef/solr.rb and /etc/chef/server.rb as "amqp_pass". debian/changelog0000644000000000000000000000603512102705430011036 0ustar chef-solr (10.12.0+dfsg-2) unstable; urgency=high [ Tollef Fog Heen ] * Fix path to WEB-INF directory. Closes: #684374 * Stop installing chef-solr-installer again, not sure why that fix got dropped. Closes: #699519 [ Christian Perrier ] * Debconf templates and debian/control reviewed by the debian-l10n- english team as part of the Smith review project. Closes: #685578 * [Debconf translation updates] * Polish (Michał Kułach). Closes: #687554 * Portuguese (Rui Branco). Closes: #687707 * Czech (Michal Simunek). Closes: #687720 * French (David Prévot). Closes: #687721 * Danish (Joe Hansen). Closes: #687819 * Russian (Yuri Kozlov). Closes: #688051 * German (Chris Leick). Closes: #688155 * Swedish (Martin Bagge / brother). Closes: #688422 * Italian (Beatrice Torracca). Closes: #689039 * Spanish; (# traductor (campo Last-Translator) y ponga en copia a la lista de Matías Bellone). Closes: #689461 -- Tollef Fog Heen Fri, 01 Feb 2013 09:17:32 +0100 chef-solr (10.12.0+dfsg-1) unstable; urgency=low * New upstream version. * Bump gem2deb build-dep. -- Tollef Fog Heen Wed, 27 Jun 2012 08:19:43 +0200 chef-solr (0.10.10+dfsg-1) unstable; urgency=low * Fix up orig.tar.gz to drop embedded jetty jars. * Clean up Depends line for new-style ruby library names. * Hard code Chef dependency, since we need to repack this orig.tar.gz, which changes the upstream version. -- Tollef Fog Heen Wed, 20 Jun 2012 21:19:48 +0200 chef-solr (0.10.10-1) unstable; urgency=low * New upstream release -- Bryan McLellan Fri, 11 May 2012 20:46:40 +0000 chef-solr (0.10.8-2) unstable; urgency=low * Another fix to grep pattern for rabbit mq user (Fixes CHEF-2296) * Do not install the 'chef-solr-installer' (Fixes CHEF-2351) -- Bryan McLellan Tue, 17 Jan 2012 21:36:14 +0000 chef-solr (0.10.8-1) unstable; urgency=low * New upstream release -- Bryan McLellan Fri, 16 Dec 2011 03:02:00 +0000 chef-solr (0.10.6-1) unstable; urgency=low * New upstream release -- Bryan McLellan Wed, 14 Dec 2011 00:01:37 +0000 chef-solr (0.10.2-4) unstable; urgency=low * Fix rabbitmq_has_user() grep pattern for RabbitMQ 2.3.1 (Fixes CHEF-2296) -- Bryan McLellan Wed, 03 Aug 2011 14:46:06 +0000 chef-solr (0.10.2-3) unstable; urgency=low * Change dependency on chef to Upstream-Version -- Bryan McLellan Wed, 03 Aug 2011 12:26:11 +0000 chef-solr (0.10.2-2) unstable; urgency=low * Revision bump for more flexible chef-server depends -- Bryan McLellan Wed, 13 Jul 2011 18:05:30 +0000 chef-solr (0.10.2-1) unstable; urgency=high * New upstream release -- Bryan McLellan Thu, 07 Jul 2011 22:01:39 +0000 chef-solr (0.10.0-1) unstable; urgency=low * Package split from chef source package -- Bryan McLellan Fri, 06 May 2011 22:10:53 +0000 debian/chef-solr.dirs0000644000000000000000000000047512102674622011743 0ustar var/lib/chef/search_index var/lib/chef/solr var/lib/chef/solr/bin var/lib/chef/solr/solr-jetty var/lib/chef/solr/solr-jetty/webapps var/lib/chef/solr/solr-jetty/solr var/lib/chef/solr/solr-jetty/solr/WEB-INF var/cache/chef/solr/data var/log/chef var/run/chef etc/chef etc/chef/solr-jetty usr/sbin usr/share/chef-solr