Commit graph

72 commits

Author SHA1 Message Date
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
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
joerg
1f6a39a84e First step at reworking Linux binary packages.
Change most pkgs to depend on either
emulators/suse_linux/Makefile.application (normal pkgs) or
Makefile.common (suse91 and suse themselves) to filter out Operating
Systems without Linux ABI support. Use CPU masks to limit the pkg to
supported platforms.
2005-12-12 14:43:23 +00:00
wiz
f8d99a0a53 Remove trailing empty line. 2005-09-10 21:53:27 +00:00
dmcmahill
22d865d388 Instead of creating links from ${EMULDIR}/dev to /dev for things like
/dev/null, create them with MAKEDEV.  This avoids ugly problem with
realpath and readlink in linux binaries that try to fully resolve where
/dev/null lives.  Bump PKGREVISION to 7.
2005-08-16 00:30:41 +00:00
jlam
81edaaa606 Create directories before installing files into them. 2005-06-16 06:57:37 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
459a5bb28d Add RMD160 digests to the SHA1 ones 2005-02-23 18:49:17 +00:00
tron
136fdec6b5 Remove me as maintainer of this package because I now longer use it. 2005-01-23 12:06:07 +00:00
grant
eaa75b4082 there will not be a NetBSD-1.[7-9] but will be a NetBSD-[2-9].*
adjust patterns used in ONLY_FOR_PLATFORM/NOT_FOR_PLATFORM to reflect
this.
2004-10-01 10:37:32 +00:00
wiz
b98723f5b9 Use fixelfprot to make ldconfig work on 2.0/macppc.
Bump PKGREVISION.
2004-07-23 18:25:31 +00:00
cjep
341efbf789 whitespace nits 2004-05-07 15:25:13 +00:00
wiz
fd8c422e8c No building is done here -- set NO_BUILDLINK to YES, and remove
USE_BUILDLINK2, if any.
2004-04-19 00:28:59 +00:00
xtraeme
83319132af Add FreeBSD support for suse linux packages, from Michal Pasternak in
PR pkg/23900.
2004-04-14 11:31:10 +00:00
cjs
76cfc893c7 Make a link to /dev/tty in emul/linux/dev, since otherwise linux programs
writing to /dev/tty will instead attempt to create the file emul/linux/dev/tty.
2004-02-19 11:37:11 +00:00
jmmv
6d9ccf016f Specify the category when including other files and when depending on other
packages.  From PR pkg/21864 by ccatrian at eml.cc.
2003-09-18 16:25:08 +00:00
grant
4083b24390 s/netbsd.org/NetBSD.org/ 2003-07-17 21:31:04 +00:00
jklos
f4fd205c7e Linux kernel bump isn't in 1.6.1. Remove ONLY_FOR_PLATFORM. Oops. 2003-05-31 09:12:55 +00:00
jklos
1c1a010321 Updated ONLY_FOR_PLATFORM to include 1.6.1*-powerpc. 2003-05-31 09:04:49 +00:00
taca
4c503286c5 Update suse_base package to 7.3nb4.
security update of glibc and libz.

glibc: Shared libraries (from the C library package)
----------------------------------------------------------------------
File: glibc-2.2.4-78.i386.rpm
Version: 2.2.4
Size: 7459 kB
Date: Tue 01 Apr 2003 01:31:31 PM CEST
Source: glibc-2.2.4-78.src.rpm
Security: Yes
----------------------------------------------------------------------
Description: This security update fixes an integer overflow in the RPC xdrmem_getbytes()
function of the glibc that may be exploited to execute arbitrary code with
the privileges of the user running the RPC application.

libz: Data Compression Library
----------------------------------------------------------------------
File: libz-1.1.3-597.i386.rpm
Version: 1.1.3
Size: 92 kB
Date: Wed 27 Feb 2002 08:19:58 PM CET
Source: libz-1.1.3-597.src.rpm
Security: Yes
----------------------------------------------------------------------
Description: Security update: prevent double free() in the compression library.
2003-05-30 15:33:03 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
cjep
e62f4c9922 Whitespace police 2003-04-27 20:29:17 +00:00
jmc
b3754997c5 Clean up ONLY_FOR_PLATFORM to read a little nicer and include all applicable
NetBSD versions as appropriate
2003-04-23 02:22:24 +00:00
jschauma
d928b8f223 De-confusify: Let emulators/suse_*/Makefile.* _not_ include bsd.pkg.mk, but rather
make all packages that use linux emulation include bsd.pkg.mk as the
last files just like any normal package.
2003-03-26 04:05:37 +00:00
dillo
fd1103bddf install etc/SuSE-release, since some applications expect it.
bump pkgrevision
closes PR 20267
2003-03-22 01:22:29 +00:00
jmc
ff0d06f6de This only works for powerpc on 1.6L and higher and specifically not 1.6.1
as the linux kernel bump isn't on the 1.6 branch. Fix ONLY_FOR_PLATFORM
accordingly.
2003-03-01 10:46:39 +00:00
tron
ce779ae300 Bump package revision after "rpm2pkg" fix because older version of the
package have corrupt locale files.
2002-12-09 21:34:58 +00:00
schmonz
9556be434c These Linux emulation packages conflict. 2002-11-25 11:16:01 +00:00
schmonz
a6ec49ec4c Tweak suse_* packages to support NetBSD/powerpc. 2002-11-25 11:01:13 +00:00
tron
0b30966ccc Use proper "MASTER_SITE" definition for SuSE package updates. 2002-10-09 07:58:47 +00:00
grant
996ee5c643 Update SuSE 7.3 packages to use glibc-2.2.4-77. Previous distfile has
security vulnerabilities and is no longer available from the master
site.

Bump PKGREVISION.
2002-10-09 07:14:24 +00:00
manu
6b740f3352 In the INSTALL message, explain that EXEC_ELF is needed only on NetBSD<1.5
(it is the default on later systems), as it is done in the netscape package.
2002-10-05 15:48:45 +00:00
jlam
1c57323789 Merge packages from the buildlink2 branch back into the main trunk that
have been converted to USE_BUILDLINK2.
2002-08-25 21:48:57 +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
tron
5b8f7bf0ac Update SuSE packages to version 7.3. The included libraries and binaries
make it possible to use recent Linux applications on a NetBSD-current
(1.5ZC built from 2002-04-04 sources) kernel.
2002-04-04 09:46:51 +00:00
martti
baaf4eab29 Updated suse_base to 6.4nb5
* Fixed libz problems
2002-03-12 11:08:39 +00:00
tron
a2d6fbedc6 Remove explicit conflict for "suse_base-6.1". The package tools handle
this automatically.
2002-02-22 12:39:23 +00:00
martti
3ab1d970d6 Updated suse_base to 6.4nb4
* shlibs.rpm: Security update: Fix for vulnerabilities in the glob() functions
  that can  be remotely exploitable.
2002-02-21 17:27:05 +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
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
agc
4a638f0adf Move the linux-mkpwd.sh script from scripts/ to files/ 2001-10-25 20:58:50 +00:00
skrll
eacbd89156 Add the sh_utils.rpm so that uname and others get installed.
Fixes pkg/14011 by Martti Kuparinen <martti.kuparinen@iki.fi>
2001-09-19 13:41:29 +00:00
agc
7e2fedb405 Move to sha1 digests, and add distfile sizes. 2001-04-20 10:49:52 +00:00
agc
d7d36b3561 + 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 10:57:56 +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
311d465268 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 18:38:11 +00:00
tron
380851123b Use updated "shlibs-2.1.3-155.i386.rpm" distribution file to avoid possible
root exploit due to a bug in "ld-linux.so.2". Bump version number of the
package to "6.4nb2".
2001-01-28 09:19:54 +00:00
tron
94deb1519d Remove "rpm2pkg" which is a separate package now and bump version number
to 6.4nb1.
2001-01-25 09:16:24 +00:00
tron
1382094832 Remove obsolete comment concering "ncurses-p1.rpm". 2000-12-17 13:13:26 +00:00