aboutsummaryrefslogtreecommitdiff
path: root/sysutils/penv
Commit message (Collapse)AuthorAgeFilesLines
* SHA256ifyEdwin Groothuis2006-01-241-0/+1
| | | | | | | Approved by: krion@ Notes: svn path=/head/; revision=154303
* SIZEify (maintainer timeout)Trevor Johnson2004-03-311-0/+1
| | | | Notes: svn path=/head/; revision=105747
* Update to bugfix penv-1.2p1: the 1.2 version could not create new files,Peter Pentchev2004-01-272-2/+2
| | | | | | | | i.e. it could not store information about new variables, only change or remove existing ones. Notes: svn path=/head/; revision=99271
* Unquote COMMENT and fix a typo.Peter Pentchev2004-01-061-1/+1
| | | | Notes: svn path=/head/; revision=97488
* Update to penv-1.2 and use %%DOCSDIR%% in the packing list.Peter Pentchev2004-01-063-29/+29
| | | | | | | | | | | The only change between 1.2pre2 and 1.2 is the new -m command-line option, also available as the 'filemode' configuration variable, which specifies the access mode for the files created in the environment directory. Requested by: Evren Yurtesen <yurtesen@ispro.net.tr> Notes: svn path=/head/; revision=97487
* Remove pkg-comment files in my ports.Peter Pentchev2003-02-192-1/+1
| | | | Notes: svn path=/head/; revision=75894
* Update to 1.2pre2, which lets environment variables and a per-userPeter Pentchev2002-03-223-15/+20
| | | | | | | | configuration file override the settings in the global config file. The command-line options still take precedence, though. Notes: svn path=/head/; revision=56445
* Update to 1.2pre1 with no functional changes, just a lot of SGML DocBookPeter Pentchev2002-03-213-4/+24
| | | | | | | | | documentation on building, installing and using penv(1) added. Documentation lack pointed out by: Gary W. Swearingen <swear@blarg.net> Notes: svn path=/head/; revision=56413
* Update to penv-1.1, a special Christmas version ;)Peter Pentchev2001-12-252-2/+2
| | | | | | | | | | | | | | | | | | | Seriously, this removes a warning when the 'list' command was invoked (either by -L or -c list) and penv could not change to its envdir. This is especially useful if penv is used as a make(1) environment processor, as described in my message to -arch today. The previous versions would complain loudly about nonexistent envdirs for e.g. all the build, lib and run dependencies. Happy holidays! Initialy reported by: Valentin Zahariev <curly@e-card.bg> Long disregarded by: myself, as merely an annoyance, before the actual development of the make(1) envproc code, when it became a *big* noisy annoyance :) Notes: svn path=/head/; revision=52170
* Update to 1.1pre4, which lets the 'mkdir' command create parent directoriesPeter Pentchev2001-11-192-2/+2
| | | | | | | | | | as needed (equivalent to mkdir -p) and corrects a couple of option names in the manual page synopsis. Submitted by: olgeni (the manual page fixes) Notes: svn path=/head/; revision=50212
* Update to 1.1pre3:Peter Pentchev2001-11-082-2/+2
| | | | | | | | | | | - fix a segfault when no arguments were given to the 'exec' action; - rework the 'setvar' code, allow setting of empty variables, which envdir(1) interprets as requests to unset the corresponding env vars; - replace the printenv(1) invocation with local envdir parsing code for the 'list' action. Notes: svn path=/head/; revision=49841
* Update to 1.1pre2, which adds the '-c command' switch to makePeter Pentchev2001-10-302-2/+2
| | | | | | | | | | | | | | | | | | penv take lots of different, exciting actions: [roam@straylight:v0 /usr/ports/textproc/docproj]$ penv -c mkdir [roam@straylight:v0 /usr/ports/textproc/docproj]$ penv -c set JADETEX=no [roam@straylight:v0 /usr/ports/textproc/docproj]$ penv -S A4=yes [roam@straylight:v0 /usr/ports/textproc/docproj]$ penv -L JADETEX=no A4=yes [roam@straylight:v0 /usr/ports/textproc/docproj]$ penv -c reset A4 [roam@straylight:v0 /usr/ports/textproc/docproj]$ penv -R JADETEX [roam@straylight:v0 /usr/ports/textproc/docproj]$ penv -L [roam@straylight:v0 /usr/ports/textproc/docproj]$ Notes: svn path=/head/; revision=49394
* Update to 1.1pre1, which introduces the -p option to only displayPeter Pentchev2001-10-302-3/+2
| | | | | | | | | | | | | | | | | | | the path to the environment directory to be used. This allows you to do neat things like: [roam@straylight:v0 /usr/ports/textproc/docproj]$ mkdir -p `penv -p` [roam@straylight:v0 /usr/ports/textproc/docproj]$ echo no > `penv -p`/JADETEX [roam@straylight:v0 /usr/ports/textproc/docproj]$ echo yes > `penv -p`/A4 [roam@straylight:v0 /usr/ports/textproc/docproj]$ penv -L JADETEX=no A4=yes [roam@straylight:v0 /usr/ports/textproc/docproj]$ penv make clean all install ..and watch the port build fly! Notes: svn path=/head/; revision=49368
* Create the database directory during install and remove it, if empty,Peter Pentchev2001-09-122-0/+12
| | | | | | | | | | | on uninstall. penv.conf.default/penv.conf handling a'la Apache. Bump PORTREVISION. Submitted by: olgeni Notes: svn path=/head/; revision=47739
* Update to 1.0, which adds the ability to only list the environmentPeter Pentchev2001-09-032-11/+2
| | | | | | | | | changes without executing anything. Also, the config file path, the paths to envdir and printenv and the database dir path are now dynamically adjusted in both the manual page and the sample config file. Notes: svn path=/head/; revision=47353
* Add penv-1.0pre2.Peter Pentchev2001-08-275-0/+60
penv - 'program environment' or 'ports environment' - is a simple utility that executes a given command after setting some environment variables corresponding to the current directory. This makes it much easier to keep persistent environment settings for building the same ports over and over again. For example, the following series of commands: $ echo cp1251 > /var/db/penv/databases/mysql323-server/WITH_CHARSET $ echo all > /var/db/penv/databases/mysql323-server/WITH_XCHARSET ..allows a simple way to build the MySQL-3.23 server with the same character set configuration every time by doing: [root@ringworld:/usr/ports/databases/mysql323-server]# penv make For more information, see the penv.1 manual page and the sample configuration file in the penv distribution. Notes: svn path=/head/; revision=46986