Commit graph

32 commits

Author SHA1 Message Date
maya
db62d15871 pkg_select: fix buffer overflow
expanding the macro with ++len for size meant our memset to zero was
one bigger than the above allocated size.

while here simplify the problematic macro - malloc+memset zero is calloc.

bump pkgrevision
2017-12-29 17:55:13 +00:00
plunky
6c5789b15b fix crashes due to SSP being enabled 2017-12-29 11:59:13 +00:00
roy
f46104fdb7 Move to curses framework. 2017-01-03 18:45:15 +00:00
joerg
316ec467f5 Disable noisy warning for GCC. 2016-05-07 10:08:30 +00:00
agc
771abda008 Add SHA512 digests for distfiles for pkgtools category
Existing SHA1 digests verified and found to be the same on the machine
holding the existing distfiles (morden).  All existing SHA1 digests
retained for now as an audit trail.
2015-11-04 00:38:39 +00:00
wiz
c7383780db Bump all packages that depend on curses.bui* or terminfo.bui* since they
might incur ncurses dependencies on some platforms, and ncurses just bumped
its shlib.
Some packages were bumped twice now, sorry for that.
2015-08-18 07:31:00 +00:00
wiz
0eb141f110 Bump PKGREVISION for ncurses shlib bump. 2015-08-17 17:11:19 +00:00
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
obache
bbe27d7f5e LICENSE=original-bsd 2014-03-03 04:52:49 +00:00
dholland
e99357990b Fix const correctness issue that has been intermittently causing build
failures for a long time.  (I'm not sure why it sometimes does and
sometimes doesn't, but I think it may depend on different CFLAGS
arising from bootstrapping vs. not bootstrapping.)

While here add a comment to patch-curses__helpers.c; hi Joerg.
2013-11-29 23:13:56 +00:00
joerg
f69790e4c5 Don't pass formatted buffers as format strings. Drop -Wno-traditional
for clang. Bump revision.
2013-09-10 14:39:54 +00:00
asau
5c2dd9e784 "user-destdir" is default these days 2012-09-11 23:19:33 +00:00
hans
b27a244881 Uses cdefs. 2012-03-02 16:36:57 +00:00
joerg
d289453e83 Remove @dirrm entries from PLISTs 2009-06-14 18:10:40 +00:00
wiz
e7e00f0a01 Add slash to pattern. From Steven Drake in PR 41092.
Bump PKGREVISION.
2009-05-04 13:43:39 +00:00
imil
23b596b5db Corrected pkg_select version in DISTNAME, new PKGREVISION 2009-04-03 16:06:43 +00:00
wiz
5a55bff264 Fix substitution per PR 41092 from Steven Drake.
Bump version.
2009-03-29 09:09:17 +00:00
imil
c1458f988a Updated pkg_select to version 20090308
. fixed background color on VTE terminals
. fixed live pkgsrc over ftp
. fixed dependencies display
. code cleanup

OK'd by seb@
2009-03-08 16:13:24 +00:00
imil
db38909291 removed patches after upstream inclusion 2009-03-07 14:31:42 +00:00
imil
8b529acb26 . included patches/ upstream
. MASTER_SITES change
. fixed WRKSRC
. minor fixes
2009-03-07 14:26:27 +00:00
joerg
ba171a91fa Add DESTDIR support. 2008-06-12 02:14:13 +00:00
rillig
ace44f5fae Removed the ONLY_FOR_PLATFORMS line. If there are platforms that
definitely cannot run pkg_select, they should be added via
NOT_FOR_PLATFORM.

Made PKGTOOLS_PATH configurable. It is now set to the value of
PKG_TOOLS_BIN.

Moved the SUBST block further up in the package Makefile.

PKGREVISION++
2007-03-16 20:22:16 +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
reed
1779642046 Update PKGREVISION.
Make sure use PKG_SYSCONFDIR for the "etc" sed expression.
Also do the SUBST_SED on the configuration example file too.
2006-10-03 20:53:38 +00:00
reed
4cf5ada443 Honor PKGMANDIR insetad of hard-coded path. 2006-10-03 20:27:47 +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
minskim
784da9a80b Do not declare a static variable in a header file as non-static. This makes
the package build with gcc-4.
2006-03-13 00:16:41 +00:00
minskim
73b7ad53a3 Define SLIST_HEAD_INITIALIZER for platforms without it. 2006-03-13 00:13:37 +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
xtraeme
7d23f8d60d Update to 20050817.
Changes:

	* Patches to make this build on NetBSD -current
	* Various contribs plus colorization and fixes
2005-08-25 10:34:12 +00:00
xtraeme
2a2be0cc2d Add DragonFly to ONLY_FOR_PLATFORM. 2005-04-06 15:45:59 +00:00
xtraeme
06ec969233 Initial import of pkg_select-20050403 from pkgsrc-wip (this package
seems to be really useful now, and it's ready to be on pkgsrc).

pkg_select will display a curses file browser for the pkg system. You can
browse pkgsrc and gather various informations about packages, like avail-
able version, installed version, comment and homepage. A simple paging
system lets you read information files.  You can browse both installed
and uninstalled packages, as well as dependencies list and perform vari-
ous administrative tasks to them. A package finder system helps you to
easily locate a package by its name.  pkg_select can handle either source
or binary installations when pkgsrc is installed on the local system, or
binary only when using the pkgsrc-over-ftp feature.

If no pkgsrc is installed, pkg_select offers ability fo fetch it, either
by FTP or CVS. It is also possible to update an existing pkgsrc via the
interface.

pkg_select user interface is quite self explainatory, every available
shortcut is shown and annotated.
2005-04-06 15:20:42 +00:00