Commit graph

57 commits

Author SHA1 Message Date
wiz
0add545be9 Convert to user-destdir. 2009-06-06 21:30:30 +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
jlam
16c9d1a6b8 * Use ${DIALER_GROUP} instead of hardcoding "dialer" as the group name.
* ${UUCP_USER} should have a default group membership of ${UUCP_GROUP},
  not dialer.

* Get the correct install locations for lrzsz and gkermit and use them
  to locate the binaries from those dependencies in src/rwconf.c.

Bump PKGREVISION to 3 due to changed users and groups.
2007-06-19 21:46:39 +00:00
jlam
21e71669ab Don't hardcode "uucp" user... use ${UUCP_USER} instead to match the
net/uucp package.
2007-06-15 18:23:49 +00:00
jlam
12351d2476 * Change some instances of ROOT_USER and ROOT_GROUP to BINOWN and BINGRP
in SPECIAL_PERMS usage.

* Consistently use 4555 for setuid and 2555 for setgid programs.
2007-06-15 18:15:06 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
wiz
18e3283474 Update MASTER_SITES and/or HOMEPAGE, from Sergey Svishchev. 2006-10-04 20:46:42 +00:00
rillig
9fc2d7d281 Removed the superfluous "quotes" and 'quotes' from variables that don't
need them, for example RESTRICTED and SUBST_MESSAGE.*.
2006-04-22 09:22:05 +00:00
jlam
1cf9796f3c BUILD_USE_MSGFMT and USE_MSGFMT_PLURALS are obsolete. Replace with
USE_TOOLS+=msgfmt.
2006-04-13 18:23:29 +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
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
wiz
520c677963 Add missing files to PLIST. Bump PKGREVISION. 2005-09-26 14:07:25 +00:00
veego
a5101155b8 Update to 2.1.
Too many Changes to list here (Changelog is too long), so only whats new in 2.1:
 - applied some pending patches (see ChangeLog for a complete list)
 - added support for socket connections
 - fixed compiling issues on Solaris
 - new maintainer: Adam Lackorzynski
 - new homepage: http://minicom.alioth.debian.org/
 - new mailinglists (-devel and -announce):
      http://alioth.debian.org/mail/?group_id=31

NetBSD patches:
- Include <sys/types.h> to fix PR pkg/29026 (1st error)
- Fix i18n error for PR pkg/29939, which should also fix PR pkg29026 (2nd error)
- Remove the create-dev-link script, which fix PR pkg/29026 (3rd error)
  The system administrator is expected to setup the correct configuration
  of the modem device.
- Updated patches and removed patch-af and patch-ag
- Fix the path for the lrzsz and gkermit tools in the default configuration
- Remove the old share/doc/minicom dir, because the new Makefiles doesn't
  install them and they are outdated
2005-06-19 11:34:45 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
minskim
f5a277553b bl3ify and enable pkgviews installation. 2004-02-21 08:18:14 +00:00
grant
ef741f8a1a replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-22 07:49:20 +00:00
agc
dc52048e01 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:07:06 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
tron
0862d60df0 Repeat my words: I must *not* derive "${DISTNAME}" from "${PKGNAME}". 2003-07-14 08:25:40 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +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
af96abdfe0 Replace non-working master sites with MASTER_SITE_BACKUP. Addresses PR 21867. 2003-06-14 14:42:15 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
uebayasi
85054ff93c HOMEPAGE moves to http://alioth.debian.org/projects/minicom/. 2003-05-12 08:37:05 +00:00
cjep
804d6c410c Lint: PKGLOCALEDIR 2003-04-27 12:54:16 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
cjep
77c08729ba Whitespace fix 2002-12-23 16:14:38 +00:00
jlam
79f8ecf67c * Use buildlink2.
* Honor PKG_SYSCONFDIR.
* Note the setuid minicom binary in SPECIAL_PERMS.
2002-10-04 23:47:28 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
wiz
d480fe70ce Move BUILD_USES_MSGFMT in DEPENDS block, mostly by removing empty
lines.
2001-04-02 20:06:11 +00:00
hubertf
e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00
agc
5db9dc6826 fix a typo from the COMMENT changes 2001-02-16 14:30:10 +00:00
wiz
07cd20b334 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 13:51:27 +00:00
itojun
c57ac5356a add USE_LIBINTL. we can use /usr/bin/msgfmt so tweak BUILD_DEPENDS. 2000-11-02 04:17:40 +00:00
rh
90f54c31ca Update minicom to 0.83.1
Notable changes include:
- An old signal handling bug has been fixed. It sometimes caused an
  eternal loop of "Killed by signal x" - "Resetting modem" - "Killed
  by signal y" when minicom was aborted unexpectedly, and then it could
  only be killed with kill -9 (SIGKILL).
- Now there is also a setting in the Bps/par/bits section of the Serial
  port setup menu to use two stop bits.
- Some patches for SVR4 lock file handling.
- Fixed some compilation errors when -D_HAVE_MACROS is not defined
  in the makefile.
- possible overflows fixed in inputting the manual dialing string and
  search string in the phone dir.
- user-configurable options to disable writing the logfile or select
  which things to write there
- the command line option -d now accepts multiple numbers or names as
  the parameter. Separate them with commas and use no spaces around it.
- a fix for the script timeout command that sometimes didn't work right.
- now you can move an entry up/down in the phone directory.
- flag %f added to the upload/download protocol program command lines to
  allow passing the port file descriptor to c-kermit
- support for DTE speed 230400 bps
- newline delay option added in the terminal settings
- multiline option added to untag all phonedir entries with the same name
  when one of them answers
2000-06-12 18:40:54 +00:00
tron
dc95809bc5 Use unrestrict "gkermit" package for kermit file transfers. 2000-01-05 22:58:13 +00:00
tron
49752cdb4c Use wildcard dependences for "kermit" and "lrzsz". 1999-12-27 11:08:15 +00:00
tron
8d7d754dfa Remove me as maintainer of those packages. 1999-10-07 17:41:46 +00:00
hubertf
5c8032d4ed pull in bsd.prefs.mk to get BATCH defined (or not ;) 1999-10-07 01:09:55 +00:00
mycroft
e5547a6539 This pkg doesn't actually use Curses, so it shouldn't require ncurses. 1999-04-22 20:39:17 +00:00
tron
70bc570903 Try to fetch disttribution file from "sunsite" or one of its mirrors
first.
1999-04-14 21:31:44 +00:00
tron
c4fbeaf9dc Update "minicom" package to version 1.82.1. 1999-04-14 21:13:24 +00:00
agc
2cd5eb4894 Remove RUN_DEPENDS from package Makefiles, and replace it with an ordinary
DEPENDS definition.
1998-11-19 15:40:45 +00:00
tsarna
6bd0d65c65 The Grand Homepagification:
- New, optional Makefile variable HOMEPAGE, specifies a URL for
	  the home page of the software if it has one.
	- The value of HOMEPAGE is used to add a link from the
	  README.html files.
	- pkglint updated to know about it.  The "correct" location for
	  HOMEPAGE in the Makefile is after MAINTAINER, in that same
	  section.
1998-08-20 15:16:34 +00:00
agc
c6f0c5e0e1 Update package Makefiles for automatic manual page handling. 1998-06-20 09:26:31 +00:00