debian/0000755000000000000000000000000011456403701007167 5ustar debian/copyright0000644000000000000000000000211611456321435011125 0ustar Format Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Name: App-Options Maintainer: Stephen Adkins Source: http://search.cpan.org/dist/App-Options/ Files: * Copyright: 2010, Stephen Adkins License: Artistic or GPL-1+ Files: debian/* Copyright: 2009, Christoph Berg 2010, Jotam Jr. Trejo License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/libapp-options-perl.manpages0000644000000000000000000000004511454325531014605 0ustar debian/prefix.1 debian/prefixadmin.1 debian/prefixadmin.10000644000000000000000000000272011456403016011557 0ustar .\" Hey, EMACS: -*- nroff -*- .TH PREFIXADMIN 1 "Oct 09, 2010" .SH NAME prefixadmin \- administer prefix's to work with App::Options .SH SYNOPSIS .B prefixadmin [\fIOPTION\fR] .SH DESCRIPTION The prefixadmin have the following options: .br .TP \fB\-\-prefix\fR=\fIPATH\fR the directory path to be administered (generally an 'application root' directory) .TP \fB\-\-remote\fR run the command remotely using 'ssh' rather than locally as the logged in user .TP \fB\-\-remote_host\fR=[\fIREMOTE HOSTS\fR] (for \-\-remote option) wich server(s) to run the prefixadmin on. Comma delimited list. (optionally user@host:/pr/ef/ix) .TP \fB\-\-remote_prefix\fR=\fIPATH\fR directory on remote machine to administer .TP \fB\-\-remote_user\fR=\fIUSER\fR the username to run the remote command .TP \fB\-\-op\fR=[\fIOPERATIONS\fR] list of operations to perform [fix] (check,fix) .TP \fB\-\-username=\fIUSER\fR the user name that a prefix should be shared as .TP \fB\-\-group\fR=\fIGROUP\fR the group name that a prefix should be shared as .TP \fB\-\-verbose\fR=\fILEVEL\fR level of detail to print .PP This manual page was written for the Debian distribution because the original program does not have a manual page. .SH AUTHOR Prefixadmin was written by Stephen Adkins , and is part of the App-Options distribution. .PP This manual page was written by Jotam Jr. Trejo , for the Debian systems (but may be used by others). debian/watch0000644000000000000000000000035211254260672010224 0ustar # format version number, currently 3; this line is compulsory! version=3 # URL to the package page followed by a regex to search http://search.cpan.org/dist/App-Options/ .*/App-Options-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/libapp-options-perl.docs0000644000000000000000000000001411254260672013740 0ustar TODO README debian/control0000644000000000000000000000205411456403016010572 0ustar Source: libapp-options-perl Section: perl Priority: optional Build-Depends: debhelper (>= 7.0.50) Build-Depends-Indep: perl Maintainer: Debian Perl Group Uploaders: Jotam Jr. Trejo Standards-Version: 3.9.1 Homepage: http://search.cpan.org/dist/App-Options/ Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libapp-options-perl/ Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libapp-options-perl/ Package: libapp-options-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends} Recommends: libtimedate-perl Description: command-line option values processing system App::Options combines command-line arguments, environment variables, option files, and program defaults to produce a hash of option values. . Furthermore, its special treatment of the "perlinc" option facilitates the inclusion ("use") of application-specific perl modules from special places to enable the installation of multiple versions of an application on the same system (i.e. /usr/myproduct/version). debian/changelog0000644000000000000000000000263711456403016011050 0ustar libapp-options-perl (1.12-1) unstable; urgency=low [ Jotam Jr. Trejo ] * New upstream release * Upstream included a copyright statement for the distribution * Add myself to Uploaders field * Bump Standards Version to 3.9.1 * Adopt the format of debian/copyright described in http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 * Add manpage for bin/prefix * Add manpage for bin/prefixadmin * Adopt Source Format 3.0 * Fix symlink path to /usr/share/common-licenses/GPL-1 in debian/copyright file * Add libtimedate-perl to Recommends, bin/prefixadmin use it [ Salvatore Bonaccorso ] * debian/copyright: Refer to Debian systems in general and mention version 1 of GNU GPL for GPL-1 license stanza. -- Jotam Jr. Trejo Sat, 16 Oct 2010 12:19:54 -0600 libapp-options-perl (1.07-2) unstable; urgency=low [ Nathan Handler ] * debian/watch: Update to ignore development releases. [ Salvatore Bonaccorso ] * debian/control: Changed: Replace versioned (build-)dependency on perl (>= 5.6.0-{12,16}) with an unversioned dependency on perl (as permitted by Debian Policy 3.8.3). [ Christoph Berg ] * Remove myself from uploaders. -- Christoph Berg Thu, 10 Dec 2009 12:41:12 +0100 libapp-options-perl (1.07-1) unstable; urgency=low * Initial Release. -- Christoph Berg Fri, 22 May 2009 12:22:10 +0200 debian/libapp-options-perl.examples0000644000000000000000000000001311254260672014625 0ustar examples/* debian/prefix.10000644000000000000000000000464611456403016010557 0ustar .\" Hey, EMACS: -*- nroff -*- .TH PREFIX 1 "Oct 07, 2010" .SH NAME prefix \- Script that allows you to reconfigure environment variables for multiple installations of a set of software installed on the same machine .SH SYNOPSIS .B prefix .SH DESCRIPTION It is assumed that the software for each installation is all under a single directory whose name is assigned to an environment variable called PREFIX. .PP This arrangement of enabling multiple installations of software on a single machine is useful at many times. On a single server, it can provide for development, test, and production installations of software. Alternatively, on development servers, it allows for multiple development "sandboxes", one for each developer. On production servers, it allows for multiple versions of the production software to be installed. One might be the currently running software, one the previous software kept online as a fall-back, and one a new release of software wich is scheduled to be brought online soon. .PP There are three usages of the prefix script: .IP (1) The interactive usage should be placed as the last line of a user's ".profile". The user must be running the Korn shell (ksh) or the Bourne Again shell (bash). The user is prompted to enter one of the known PREFIX locations, specified in the $HOME/.prefixes file or the /etc/prefixes file. During configuration, the $PREFIX/.prefixrc file is sourced in order to accomplish environment-specific configurations. .IP (2) The non-interactive user configuration does not consult $HOME/.prefixes or /etc/prefixes or prompt the user, but merely configures the environment in accordance with the cmd line argument. .IP (3) The batch command usage is mainly for running commands from cron or running commands in another environment without changing to that environment. .PP Usage (1): . prefix (sets up environment) (2): . prefix (non-interactive setup) (3): prefix (runs cmd configured for PREFIX) .PP This manual page was written for the Debian distribution because the original program does not have a manual page. .SH AUTHOR Prefix was written by Stephen Adkins , and is part of the App-Options distribution. .PP This manual page was written by Jotam Jr. Trejo , for the Debian systems (but may be used by others). debian/rules0000755000000000000000000000044011454325531010247 0ustar #!/usr/bin/make -f PACKAGE = $(shell dh_listpackages) TMP = $(CURDIR)/debian/$(PACKAGE) %: dh $@ override_dh_installexamples: dh_installexamples find $(TMP)/usr/share/doc/$(PACKAGE)/examples -type f -print0 | \ xargs -r0 sed -i -e '1s|^#!/usr/local/bin/perl|#!/usr/bin/perl|' debian/source/0000755000000000000000000000000011456403614010472 5ustar debian/source/format0000644000000000000000000000001411454035760011701 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000211254260672010371 0ustar 7