Commit graph

46 commits

Author SHA1 Message Date
obache
b65fa0cc3c This package is using GNU Configure script.
Changed to GNU_CONFIGURE=yes so that pksrc hooks for GNU Configure will be
invoked and fixes PR#44299.
2010-12-31 07:57:14 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
sketch
16f14133b6 Get rid of hostname -s in pkgsrc, on Solaris it sets the hostname to "-s". 2009-01-14 12:20:57 +00:00
joerg
8279199766 Welcome to the pkginstall user/group framework. Bump revision. 2008-06-16 14:39:35 +00:00
jlam
4390d56940 Make it easier to build and install packages "unprivileged", where
the owner of all installed files is a non-root user.  This change
affects most packages that require special users or groups by making
them use the specified unprivileged user and group instead.

(1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to
    unprivileged.mk.  These two variables are lists of other bmake
    variables that define package-specific users and groups.  Packages
    that have user-settable variables for users and groups, e.g. apache
    and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP},
    etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS
    so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER}
    and ${UNPRIVILEGED_GROUP}.

(2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.
2007-07-04 20:54:31 +00:00
wiz
29abbd1c1b Mark as BROKEN_IN pkgsrc-2006Q4, based on
ftp://asim.lip6.fr/outgoing/packages/i386/3.1/20070114.1132/broken.html
(latest 3.1/i386 bulk build of 2006Q4).

Feel free to fix them...
2007-01-31 00:04:11 +00:00
jlam
daad0f3d6c Modify the pkginstall framework so that it manages all aspects of
INSTALL/DEINSTALL script creation within pkgsrc.

If an INSTALL or DEINSTALL script is found in the package directory,
it is automatically used as a template for the pkginstall-generated
scripts.  If instead, they should be used simply as the full scripts,
then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC
explicitly, e.g.:

	INSTALL_SRC=	${PKGDIR}/INSTALL
	DEINSTALL_SRC=	# emtpy

As part of the restructuring of the pkginstall framework internals,
we now *always* generate temporary INSTALL or DEINSTALL scripts.  By
comparing these temporary scripts with minimal INSTALL/DEINSTALL
scripts formed from only the base templates, we determine whether or
not the INSTALL/DEINSTALL scripts are actually needed by the package
(see the generate-install-scripts target in bsd.pkginstall.mk).

In addition, more variables in the framework have been made private.
The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are
more sensible names given the very few exported variables in this
framework.  The only public variables relating to the templates are:

	INSTALL_SRC		INSTALL_TEMPLATE
	DEINSTALL_SRC		DEINSTALL_TEMPLATE
				HEADER_TEMPLATE

The packages in pkgsrc have been modified to reflect the changes in
the pkginstall framework.
2006-03-14 01:14:26 +00:00
jlam
ecd187df30 Use the pkginstall framework to generate the INSTALL/DEINSTALL scripts
instead.
2006-03-10 20:18:38 +00:00
rillig
71d1af2fc0 Replaced explicit call to ${SED} with PLIST_SUBST, which makes the bogus
lines starting with "@" disappear from the PLIST file.
2006-01-10 18:50:09 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
agc
07b46baa43 Add RMD160 digests 2005-02-24 11:02:49 +00:00
wennmach
3885104023 In the instructions to customize httpd.conf, the "Include" statement
had been omitted.

Noted by Wouter Schoot in PR pkg/28677
2004-12-16 12:18:09 +00:00
wennmach
5f7d52bda1 Add security fix for CAN-2004-0028 based on the patches provided
by the Debian project.
2004-02-09 09:17:50 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
agc
1cf87833d6 When constructing the WRKSRC definition, use ${PKGNAME_NOREV} rather than
${PKGNAME}, so that the WRKSRC definition is immune from any subsequent
PKGREVISION changes. With thanks to jmc for the nudge.
2003-06-18 09:22:14 +00:00
wiz
e8817c9088 Complete standardization of messages according to latest pkglint. 2002-09-24 12:29:55 +00:00
seb
db84442a67 Substitute a couple of mkdir' by ${MKDIR}'.
Remove `-p' from mkdir arguments, it is already part of ${MKDIR}.
While here substitute a couple of ${PREFIX} by `%D' in
`@exec ${MKDIR} ...' lines and add a couple of missing `%D' in such lines too!
2002-06-26 10:29:33 +00:00
skrll
08bdd44549 mkdir -> ${MKDIR}
rmdir -> ${RMDIR}
rm -> ${RM} (${RM} added to PLIST_SUBST)
chmod -> ${CHMOD}
chown -> ${CHOWN}
2002-02-15 10:12:28 +00:00
skrll
9bd4180d57 /bin/mkdir -> ${MKDIR}.
Make the print-PLIST target output ${MKDIR} also.
2002-02-05 22:39:00 +00:00
agc
57aa4707d7 s/root/${ROOT_USER}/g, now that the definition appears in the
defs.${OPSYS}.mk files.
2001-12-05 15:00:44 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
agc
88670a4a89 Move to sha1 digests, and add distfile sizes. 2001-04-20 13:52:07 +00:00
agc
9e8d6c8b8d + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:33:31 +00:00
wiz
18097323ee Remove unneeded '-' before ${MKDIR} or ${INSTALL_DATA_DIR} 2001-04-09 11:45:33 +00:00
jlam
a4827ab056 Mechanical changes to use ${PKG_PREFIX} instead of substituting for
@PREFIX@ in DEINSTALL/INSTALL scripts.
2001-03-01 19:07:51 +00:00
hubertf
d32e698de6 Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
2001-02-25 04:17:35 +00:00
wiz
a13ea108bb Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:52:59 +00:00
wennmach
c78c8331ac Avoid the use of the `host' program to determine the fully qualified host
name. This may caused problems on some machines with non-standard network
setup.

Pointed out by Jon Buller and by Dan MacMahill.
2001-02-08 14:01:59 +00:00
wiz
b979f7222a Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced,
not @VARIABLE@, nor @@VARIABLE@@).
By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX,
X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST.
Clean up some packages while I'm there; add RCS tags to most MESSAGEs.
Remove some uninteresting MESSAGEs.
2001-01-29 11:34:21 +00:00
wiz
271f477214 Replace REQ file by INSTALL file. Do user handling like it's done in
sysutils/amanda-common/pkg/INSTALL.
2000-12-08 09:43:06 +00:00
wennmach
72607fc69b Correct instruction on what to put into the mail alias file.
Pointed out to me by Hubert Feyrer in private e-mail.
2000-10-17 10:32:40 +00:00
wennmach
fb3af8a1dc Overhaul of the jitterbug package.
No longer modify /etc/aliases and httpd.conf (fixes PR 10126).
Also, jitterbug does not depend on apache any longer.
2000-09-12 17:23:01 +00:00
wennmach
0b1ecad0dc Fixed broken PLIST.
Pointed out by Hubert Feyrer and leftovers.txt
2000-08-30 14:48:36 +00:00
wennmach
c4ce33123e Do not bail out if host returns an empty string or does not work.
This way to obtain the fully qualified domain name of the machine
only generates warnings.
2000-08-22 15:04:19 +00:00
wiz
4ea16df0cf use the user' package instead of addnerd'. 2000-08-18 16:22:38 +00:00
wennmach
6ca0272670 Make this Makefile work again.
A block of garbage was imported by someone in version 1.6 and somebody else
removed the wrong pieces in version 1.7. And if someone (or somebody else)
wants to replace awk by ${AWK}, please test thoroughly before committing.

Thomas Klausner (wiz@netbsd.org) pointed me to this broken Makefile.
2000-01-06 17:02:47 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
sakamoto
0dc13e72b7 s|/usr/bin/awk|${AWK}| 1999-12-20 05:31:05 +00:00
sakamoto
377b54ee84 Eliminate "<<<<<<< Makefile", "=======", ">>>>>>> 1.5" and old block. 1999-12-20 05:28:50 +00:00
agc
c330f447e7 Correct the addnerd dependency by adding a version number for this
package.  Pointed out by David Brownlee.
1999-12-17 11:11:10 +00:00
wennmach
db41c89aa1 Revert to the "host" command (from "nslookup") for looking up fully qualified
host names. Make this fail-safe in case host has no working domain name server.

Fixes "make show-downlevel" lossage, mentionned by Thomas Klausner
<wiz@danbala.ifoer.tuwien.ac.at> in private email.
1999-11-03 14:44:30 +00:00
wennmach
b3595abb27 Make this pkg work even if 'hostname' does not return the fully qualified
hostname, without requiring the environment variable JB_FQHOSTNAME to be set.
Should also work on Solaris.
1999-10-26 16:38:09 +00:00
agc
e540dadbe3 Move the inclusion of bsd.prefs.mk before the first use of any variable
which may be defined in /etc/mk.conf
Use a complicated echo & sed combination, rather than hostname -s, which
doesn't work on Solaris.
1999-10-22 14:43:06 +00:00
wennmach
ffd6c40c23 Fixed some minor problems of this pkg, including:
o do not require $JB_PACKAGE to be set to a bug category; if $JB_PACKAGE
  is not set, the default category "test" is used

o the above will also fix the error messages on nbftp occuring in
  update-distfiles (hi veego!)

o make proper use of "DEINSTALL" and "MESSAGE" files so that installing
  (and deinstalling) of jitterbug from pkgsrc/as binary makes no difference

o when echoing the defaults for JB_USER, JB_USERID, etc, use the actual
  variables, not hardcoded values

o ownership of jitterbig.config fixed (@JB_USER@ instead of root)
1999-10-11 13:39:03 +00:00
wennmach
7964798b55 Initial import of jitterbug-1.6.2: a web-oriented bug-tracking tool 1999-10-05 12:37:18 +00:00