Commit graph

60 commits

Author SHA1 Message Date
rillig
4f4f64fdce mark packages that fail with -Werror=char-subscripts
These packages are susceptible to bugs when confronted with non-ASCII
characters.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94182.

It takes some time to analyze and fix these individually, therefore they
are only marked as "needs work".
2020-05-20 06:09:03 +00:00
nia
4b51d9715f *: Convert broken sourceforge HOMEPAGEs back to http 2020-03-20 11:57:53 +00:00
rillig
b686dd9180 all: migrate several HOMEPAGEs to https
pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
2020-01-18 23:30:43 +00:00
jperkin
9105a4ea90 htdig: Specify c++03 to avoid conflicts with std::bind. 2018-01-26 13:33:26 +00:00
wiz
57c20df1ae htdig: comment out dead sites 2017-12-24 09:45:30 +00:00
agc
30b55df38e Convert all occurrences (353 by my count) of
MASTER_SITES= 	site1 \
			site2

style continuation lines to be simple repeated

	MASTER_SITES+= site1
	MASTER_SITES+= site2

lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint
accordingly.
2017-01-19 18:52:01 +00:00
agc
b9b754e081 Add SHA512 digests for distfiles for www category
Problems found locating distfiles:
	Package haskell-cgi: missing distfile haskell-cgi-20001206.tar.gz
	Package nginx: missing distfile array-var-nginx-module-0.04.tar.gz
	Package nginx: missing distfile encrypted-session-nginx-module-0.04.tar.gz
	Package nginx: missing distfile headers-more-nginx-module-0.261.tar.gz
	Package nginx: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package nginx-devel: missing distfile echo-nginx-module-0.58.tar.gz
	Package nginx-devel: missing distfile form-input-nginx-module-0.11.tar.gz
	Package nginx-devel: missing distfile lua-nginx-module-0.9.16.tar.gz
	Package nginx-devel: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx-devel: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package php-owncloud: missing distfile owncloud-8.2.0.tar.bz2

Otherwise, 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 02:46:46 +00:00
asau
5eae6a18a3 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-28 06:30:00 +00:00
marino
63470f13c5 www/htdig: Fix unwanted directory removal
Add share/htdig/common to INSTALLATION_DIRS since it's installing files
there.  Without it, share/htdig/common is left over after www/htdig is
deinstalled.
2012-05-20 06:24:54 +00:00
wiz
8f48e9d890 Update htdig using htdig-devel. Update packages using it
and bump their PKGREVISIONs. Remove htdig-devel.
2011-12-05 10:18:16 +00:00
wiz
8bcabe41b0 Use DEINSTALL script instead of unexec rm. Bump PKGREVISION.
Untested since this doesn't compile with recent C++ compilers.
2011-12-01 09:55:58 +00:00
abs
a4c03b93b5 +PKG_DESTDIR_SUPPORT 2009-12-17 19:35:03 +00:00
dholland
04f3dd6086 Fix broken LP64 build. 2009-11-30 01:28:45 +00:00
joerg
e031855e4a Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 22:00:14 +00:00
wiz
c76bbdae35 Remove Ex-MASTER_SITEs. From Zafer Aydogan. 2007-12-02 12:32:40 +00:00
sborrill
4355f5d6b8 Stop htnotify coredumping if prefix or suffix file settings aren't set.
Inspired by ftp://ftp.ccsf.org/htdig-patches/3.1.6/htnotifyNull.0
Plus some pkglint cleanups.
2007-01-24 10:25:15 +00:00
joerg
808d95a0a6 synonyms.db is generated by INSTALL, so don't put it into PLIST,
but remove it on deinstall. Bump revision.
2006-04-10 12:20:32 +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
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
jlam
758d912e33 Update package Makefile now that bsd.pkg.extract.mk is using the
"extract" script for extraction.  Many cases where a custom EXTRACT_CMD
simply copied the distfile into the work directory are no longer
needed.  The extract script also hides differences between pax and
tar behind a common command-line interface, so we no longer need code
that's conditional on whether EXTRACT_USING is tar or pax.
2006-01-21 18:57:40 +00:00
jlam
81db182ecc Rename the following variables to reduce the number that we need to track:
EXTRACT_CMD_OPTS.bin		->  EXTRACT_OPTS_BIN
	EXTRACT_CMD_OPTS.lha		->  EXTRACT_OPTS_LHA
	EXTRACT_CMD_OPTS.rar		->  EXTRACT_OPTS_RAR
	EXTRACT_CMD_OPTS.tar		->  EXTRACT_OPTS_TAR
	EXTRACT_CMD_OPTS.tar.Z		->  EXTRACT_OPTS_TAR
	EXTRACT_CMD_OPTS.tar.bz2	->  EXTRACT_OPTS_TAR
	EXTRACT_CMD_OPTS.tar.gz		->  EXTRACT_OPTS_TAR
	EXTRACT_CMD_OPTS.tbz		->  EXTRACT_OPTS_TAR
	EXTRACT_CMD_OPTS.tbz2		->  EXTRACT_OPTS_TAR
	EXTRACT_CMD_OPTS.tgz		->  EXTRACT_OPTS_TAR
	EXTRACT_CMD_OPTS.zip		->  EXTRACT_OPTS_ZIP
	EXTRACT_CMD_OPTS.zoo		->  EXTRACT_OPTS_ZOO
	EXTRACT_CMD_OPTS_tar.gz		->  EXTRACT_OPTS_TAR
2006-01-20 23:41:29 +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
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
jlam
4d2fb797db Use EXTRACT_CMD_OPTS.tar.gz and EXTRACT_CMD.tar.gz instead of figuring
out the whole command line necessary to extract a .tar.gz file.
2005-05-17 22:00:13 +00:00
jlam
2338cbae27 Change the EXTRACT_USING_PAX defined/undefined option into a EXTRACT_USING
which can take multiple values -- "pax" or "gtar".  The default value
of EXTRACT_USING is "pax", which more closely matches reality since
before, we were using bootstrap "tar" for ${GTAR} and it was actually
pax-as-tar.  Also, stop pretending pax-as-tar from the bootstrap kit
or on NetBSD is GNU tar.  Lastly, in bsd.pkg.extract.mk, note whether
we need "pax" or "gtar" depending on what we need to extract the
distfiles.
2005-05-16 03:04:44 +00:00
wiz
83bbd8c84a Do not register
share/htdig/common/root2word.db
share/htdig/common/word2root.db
with md5 checksums, because they get changed too often; use
@unexec ${RM} instead.

Bump PKGREVISION for thus fixed PLIST.
2005-04-19 00:28:31 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
salo
b23a0f179f Security fix for CAN-2005-0085.
"Cross-site scripting (XSS) vulnerability in ht://dig allows remote
 attackers to execute arbitrary web script or HTML via the config
 parameter, which is not properly sanitized before it is displayed
 in an error message."

Patch from Debian.  Bump PKGREVISION.
2005-03-20 20:34:27 +00:00
wiz
809ad6f2f7 Add RMD160 checksums. 2005-02-24 14:08:26 +00:00
jlam
c054a4c3cf * Fix breakage after recent bdb.buildlink3.mk changes. We now directly
include db2 since this package requires exactly databases/db and nothing
  else will do.  Also remove USE_DB185 setting this htdig doesn't use the
  db-1.85 interface.

* Honor ${VARBASE} in locating the htdig database directory.

* Use ${LOCALBASE}/bin/acroread as the path the the PDF reader instead of
  /usr/local/bin/acroread.

* Add missing dependency on zlib.  This package was just picking up and
  using the system zlib before.

Bump the PKGREVISION to 1.
2005-01-12 21:31:29 +00:00
jlam
b67b0725c4 Rework the Berkeley DB detection in buildlink3:
* Add a db1.builtin.mk file that detects whether DB-1.85 functionality
    exists in the base system, and remove the distinction between
    "native" and the other Berkeley DB packages -- we now refer to
    db[1234].  This paves the way for any future databases/db1 package.

  * USE_DB185 shouldn't need to be set by any packages -- its correct
    value is now automatically determined by bdb.buildlink3.mk depending
    on whether we explicitly request db1 or not.  By default, if you
    include bdb.buildlink3.mk, you want DB-1.85 functionality and
    USE_DB185 defaults to "yes", but if you explicitly remove db1 from
    the list of acceptable DBs, then USE_DB185 defaults to "no".

  * Set BDB_LIBS to the library options needed to link against the DB
    library when bdb.buildlink3.mk is included.

  * We only add the DB library to the linker command automatically if
    we want DB-1.85 functionality; otherwise assume that the package
    configure process can figure out how to probe for the correct
    headers and libraries.

Edit package Makefiles to nuke redundant settings of USE_DB185.
2004-11-15 17:54:49 +00:00
wiz
b6d3e6ce48 Convert to use bdb.bl3.mk, and set USE_LANGUAGES to "c c++". 2004-05-26 20:40:50 +00:00
snj
744218de39 Convert to buildlink3. 2004-04-30 05:25:59 +00:00
grant
1f9b1458ec eliminate some manual work in post-install and PLIST, and general
tidyup:

- buildlink2 for db2 libs/includes.
- USE_PKGINSTALL for CONF_FILES and OWN_DIRS.
- PKG_SYSCONFSUBDIR for configuration file.
2003-12-18 04:05:28 +00:00
fredb
21ad0c2db2 Add -Wno-deprecated to CXXFLAGS and CPPFLAGS, to let this build with gcc3
shipping with NetBSD-1.6ZF.
2003-12-04 00:16:55 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +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
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
tron
39a943ad92 Replace "true" by "${TRUE}". 2002-12-09 16:01:10 +00:00
tron
74f3416597 Use wildcard dependence on "db" package. 2002-11-19 09:30:50 +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
fredb
bce177e356 Update htdig to 3.1.6. Many bug fixes, including one security-related fix.
The following is from the web page:

Release notes for htdig-3.1.6 1 Feb 2002
As  with  previous  releases,  this  version  cleans up some remaining bugs and adds a few
heavily-requested  features.  As  the  latest  stable  release,  it is recommended for all
production servers.
 * Fixed  another  nasty security hole in htsearch, which would allow a denial of service
   attack  or  forcing  htsearch  to  read  in  config files outside of the configuration
   directory.
 * Fixed some problems with htmerge, including problems with words beginning with special
   characters and merging multiple databases.
 * Fixed a bug in handling hopcounts.
 * Fixed problems in handling non-standard relative HTTP redirects.
 * Fixed bugs in external parsers support including being confused by charset information
   in the Content-Type header and handling binary output from external converters.
 * Fixed  bugs  in  the  default English endings database. (Under ispell, it wasn't quite
   intended for the accuracy needed for our usage.)
 * Fixed additional bugs in the endings fuzzy algorithm.
 * Fixed bugs with compiling with gcc-3.0 and later.
 * Fixed bugs compiling and running on Mac OS X.
 * Fixed  problems  with  servers not returning a Last-Modified date--now assums indexing
   time as modification time.
 * Fixed a variety of bugs in the HTML parser to more flexibly handle non-standard HTML.
 * Fixed  problems  in  the  TCP  connection  code  and will more reliably timeout when a
   connection hangs and will retry bad connections several times before giving up.
 * Added the -m "minimal" flag to htdig for only indexing a set list of URLs and made the
   -l (log) flag the default behavior so that htdig will stop and restart automatically.
 * Added  htdump  and  htload programs for dumping ASCII representations of the databases
   and reloading the same.
 * Added  support  for  htnotify to collect multiple URLs and allow easy customization of
   notification    messages,    including    the    new    attributes   htnotify_replyto,
   htnotify_webmaster, htnotify_prefix_file, and htnotify_suffix_file.
 * Added  a  new "accents" fuzzy algorithm to morph accents, including the new accents_db
   attribute.
 * Added  a  'list  all'  feature  to  htsearch  with  a  query  of  '*'  or  the current
   prefix_match_character.
 * Added date restricted searching to htsearch including relative dates.
 * Added documentation on running ht://Dig and the rundig script.
 * Added  METADESCRIPTION  and  NSTARS  variables  to  the  htsearch templates as well as
   support for $=(var) template variable references.
 * Added  new  config attributes to htsearch for restrict and exclude which work like the
   normal htsearch form variables if the form variables are not set.
 * Added  many  new attributes, including ignore_dead_servers description_meta_tag_names,
   max_keywords,      translate_latin1,      url_rewrite_rules,     search_rewrite_rules,
   anchor_target,    ignore_alt_text,    search_results_contenttype,    boolean_keywords,
   boolean_syntax_errors,    multimatch_method,    maximum_page_buttons,    max_excerpts,
   plural_suffix, any_keywords and use_doc_date.
 * Extended  the build_select_lists attribute to support select multiple, radio boxes and
   checkboxes.
 * Revised  the documentation to make it clearer in parts, including the url_part_aliases
   attribute.
 * Updated  various  contributed  utilities  including  doc2html,  xmlsearch,  rundig.sh,
   htparsedoc, acroconv.pl, multidig, etc.
 * A  variety  of  other bug fixes, and many documentation updates. See the ChangeLog for
   details.
2002-03-09 21:48:11 +00:00
zuntum
431e7a7dda Move pkg/ files into package's toplevel directory 2001-11-01 02:15:23 +00:00
jlam
c4e71c5e7a CPPFLAGS is now passed to MAKE_ENV and CONFIGURE_ENV by bsd.pkg.mk, so
adapt by moving CPPFLAGS settings to top-level, and removing explicit
inclusion of CPPFLAGS into MAKE_ENV and CONFIGURE_ENV.
2001-06-11 06:34:17 +00:00
jlam
71e78c7453 Add libexec/cgi-bin directory to standard /usr/pkg hierarchy. Remove all
the per-package code that attempt to remove this directory if it's empty.
2001-05-02 22:22:42 +00:00
skrll
aa3c03b75a Move to sha1 digests, and add distfile sizes. 2001-04-20 12:02:30 +00:00
agc
8f972b049a + 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 12:12:16 +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