NetBSD Problem Report #50404
From www@NetBSD.org Tue Nov 3 23:26:27 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 231E0A57FE
for <gnats-bugs@gnats.NetBSD.org>; Tue, 3 Nov 2015 23:26:27 +0000 (UTC)
Message-Id: <20151103232625.D0635A6562@mollari.NetBSD.org>
Date: Tue, 3 Nov 2015 23:26:25 +0000 (UTC)
From: kamelderouiche@yahoo.com
Reply-To: kamelderouiche@yahoo.com
To: gnats-bugs@NetBSD.org
Subject: Update new version textproc/discount
X-Send-Pr-Version: www-1.0
>Number: 50404
>Category: pkg
>Synopsis: Update new version textproc/discount
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: leot
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Nov 03 23:30:00 +0000 2015
>Closed-Date: Wed Nov 04 01:12:53 +0000 2015
>Last-Modified: Wed Nov 04 01:15:00 +0000 2015
>Originator: Derouiche
>Release: NetBSD 7.0 ; pkgsrc current
>Organization:
Algerian IT Security Group
>Environment:
NetBSD Dabiq.lan 7.0 NetBSD 7.0 i386
>Description:
Update new version discount
>How-To-Repeat:
n/a
>Fix:
diff -ruN Makefile.orig Makefile
--- Makefile.orig 2015-11-02 22:23:10.000000000 +0100
+++ Makefile 2015-11-03 00:05:48.000000000 +0100
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2013/04/04 09:40:23 wiz Exp $
-#
+# $NetBSD$
-DISTNAME= discount-2.1.6
+DISTNAME= discount-2.1.8a
+PKGNAME= ${DISTNAME:S/a//}
CATEGORIES= textproc
MASTER_SITES= http://www.pell.portland.or.us/~orc/Code/discount/
EXTRACT_SUFX= .tar.bz2
@@ -12,6 +12,7 @@
LICENSE= modified-bsd
HAS_CONFIGURE= YES
+HAS_CONFIGURE= YES
CONFIGURE_SCRIPT= ./configure.sh
CONFIGURE_ARGS= --prefix=${PREFIX}
CONFIGURE_ARGS+= --execdir=${PREFIX}/bin
diff -ruN PLIST.orig PLIST
--- PLIST.orig 2015-11-02 22:23:14.000000000 +0100
+++ PLIST 2015-11-03 00:06:53.000000000 +0100
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2013/04/04 09:40:23 wiz Exp $
+@comment $NetBSD$
bin/makepage
bin/markdown
bin/mkd2html
diff -ruN distinfo.orig distinfo
--- distinfo.orig 2015-11-02 22:23:25.000000000 +0100
+++ distinfo 2015-11-02 22:23:39.000000000 +0100
@@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.1 2013/04/04 09:40:23 wiz Exp $
-SHA1 (discount-2.1.6.tar.bz2) = a7461731613d0e2f88dd19af9feb860c191e8234
-RMD160 (discount-2.1.6.tar.bz2) = 1cddc71a87e56ba0138e8ca9774c402236a91a7d
-Size (discount-2.1.6.tar.bz2) = 83823 bytes
+SHA1 (discount-2.1.8a.tar.bz2) = 5415057067238f445f767f0c23b33e0b5420f9ff
+RMD160 (discount-2.1.8a.tar.bz2) = 3b5fcfdde3b42056cc87c17cd4dfbe8876aa2dd3
+SHA512 (discount-2.1.8a.tar.bz2) = a1eba7076a27da56136b8057189c5474a36bf11f8233cbae270c8a0cf9b070332b4dcdbbbecfbfbe1d8c19961ccaf87cee27ebe855c6bc6558d8ccc423553c96
+Size (discount-2.1.8a.tar.bz2) = 85161 bytes
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->leot
Responsible-Changed-By: leot@NetBSD.org
Responsible-Changed-When: Wed, 04 Nov 2015 00:29:19 +0000
Responsible-Changed-Why:
take
State-Changed-From-To: open->closed
State-Changed-By: leot@NetBSD.org
State-Changed-When: Wed, 04 Nov 2015 01:12:53 +0000
State-Changed-Why:
Patch applied with minor fixes: avoid PKGNAME redefinition and an
extra HAS_CONFIGURE.
Thank you Kamel for the patches!
From: "Leonardo Taccari" <leot@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/50404 CVS commit: pkgsrc/textproc/discount
Date: Wed, 4 Nov 2015 01:10:18 +0000
Module Name: pkgsrc
Committed By: leot
Date: Wed Nov 4 01:10:18 UTC 2015
Modified Files:
pkgsrc/textproc/discount: Makefile PLIST distinfo
Log Message:
Update textproc/discount to discount-2.1.8a.
Patch provided by Derouiche in PR pkg/50404.
Changes:
o version 2.1.8a When I put in the patch to ..
# Change the mail demangler to a debian-specific 'always mangle
one way' hack. (enabled with the configure.sh option
--debian-glitch)
I messed up the format string and made the mangled email address
into a fixed bogus string. Sigh. Fixed (thanks to a patch from
Alessandro Ghedini), updated (and I really have to expand the
runtime configuration flags array to be long enough to fit 64
settings, but that?s a fix for a different day) and released.
o version 2.1.8 After a year or so of letting the code sit and slowly
accumulate fixes, a new version which fixes a wad of bugs and adds
a few new features. Some of this code is front other people, and
those changes will be marked with their names:
# FINALLY address the bug where markdown extra-style footnotes
lose numbering when they show up in nested element; I was not
carrying the m-e reference# inside the footnotes structure, but
was instead carrying it in the parent structure and not
updating it. So I changed the footnotes structure to include
the reference + the list of footnotes, which made the
misnumbering go away on my tests.
# Fix makefile distclean to cleanup all the generated files and
corrected the names of the installed sample program man pages
to end in .1 (Mark Pizzolato mark@infocomm.com)
# Change the mail demangler to a debian-specific 'always mangle
one way' hack. (enabled with the configure.sh option
--debian-glitch)
# Add --with-unmangled-email compile-time flag to disable mailto:
mangling
# Allow the magic output filename -, which means send output to
stdout instead of to a file.
# Fix a bug where autolink + github flavored markdown absorbs the
^C eoln character into a link at the end of a line.
# Tweak install.samples so that the user can supply a SAMPLE_PFX
on the command line SAMPLE_PFX=discount- make install.samples
to install the sample programs with a package-specific prefix.
# Emit pages in utf-8 instead of us-ascii (simply a change to the
Content-Type meta) (Nathan Phillip Brink binki@gentoo.org)
# Patch the horrible list handler to support long numeric list
items (George Hartzell hartzell@alerce.com)
# Various bugfixes (Masayoshi Sekimura sekimura@gmail.com)
# Fix support for CFLAGS=-m32 ./configure.sh by using CFLAGS for
all build invokations of CC. (Nathan Phillip Brink
binki@gentoo.org)
# Github-style language attributes on fenced code blocks (Loren
Segal lsegal@amazon.com)
# When defining WORD & DWORD, check first for the MS Windows
WinDef.h file; if found, include it instead of defining WORD &
DWORD ourselves.
# support url-encoded anchor links with --with-urlencoded-anchor
option (Daisuke Murase typester@cpan.org)
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/discount/Makefile \
pkgsrc/textproc/discount/PLIST pkgsrc/textproc/discount/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.