Bug 193208 - [patch] net/smbldap-tools: Build failure with pod2man 2.5+
Summary: [patch] net/smbldap-tools: Build failure with pod2man 2.5+
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Thomas Zander
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-31 17:25 UTC by Bernard Spil
Modified: 2014-10-11 06:17 UTC (History)
2 users (show)

See Also:


Attachments
File to add to net/smbldap-tools/files/patch-smbldap-config2.pl (306 bytes, patch)
2014-09-03 14:02 UTC, dewayne
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Spil freebsd_committer freebsd_triage 2014-08-31 17:25:20 UTC
Building net/smbldap-tools fails with error
Building smbldap-config.8 from smbldap-config.cmd ...
pod2man: unable to format smbldap-config.cmd
make: *** [smbldap-config.8] Error 1 

This is due to the latest pod2man failing on files not containing a POD

Fix from http://gna.org/support/?3013 merged into the smbldap-config.pl patch

# diff -ruN files/patch-smbldap-config.pl files/patch-smbldap-config.pl.orig
--- files/patch-smbldap-config.pl       2014-08-31 19:18:16.947961084 +0200
+++ files/patch-smbldap-config.pl.orig  2014-01-22 18:40:44.000000000 +0100
@@ -42,24 +42,3 @@

  # comment out the following line to get rid of the default banner
  # no_banner=\"1\"
-@@ -557,3 +557,19 @@
- $mode=0600;
- chmod $mode,"$smbldap_bind_conf","$smbldap_bind_conf.old";
-
-+_END_
-+
-+=head1 NAME
-+
-+smbldap-config - Configure the smbldap-tools
-+
-+=head1 SYNOPSIS
-+
-+smbldap-config
-+
-+=head1 DESCRIPTION
-+
-+An interactive script to configure the smbldap-tools to work with your
-+existing LDAP server(s). Before running it, you should ensure that your
-+samba controller is up and running, and that the domain SID is defined
-+(you can check it by running 'net getlocalsid').
-
Comment 1 dewayne 2014-09-03 14:02:41 UTC
Created attachment 146730 [details]
File to add to net/smbldap-tools/files/patch-smbldap-config2.pl

Thanks for reporting.  I did a search prior to logging the same PR, if I may, the attachment can be dropped directly into a new file
/usr/ports/net/smbldap-tools/files/patch-smbldap-config2.pl
which enables a package to be built on a 9.3Stable system using perl 5.20
Comment 2 John Marino freebsd_committer freebsd_triage 2014-09-04 17:31:27 UTC
This port has no maintainer.
Set to patch-ready (dewayne's solution)
Comment 3 commit-hook freebsd_committer freebsd_triage 2014-10-05 16:12:09 UTC
A commit references this bug:

Author: riggs
Date: Sun Oct  5 16:12:05 UTC 2014
New revision: 370095
URL: https://svnweb.freebsd.org/changeset/ports/370095

Log:
  - Fix build failure with pod2man 2.5+
  - Bump PORTREVISION

  While on it:
  - Add NO_ARCH (port does not install arch dependent files)
  - Clean up pkg-plis

  PR:		193208
  Submitted by:	spil.oss@gmail.com (PR), dewayne@heuristicsystems.com.au (patch)
  MFH:		2014Q4

Changes:
  head/net/smbldap-tools/Makefile
  head/net/smbldap-tools/files/smbldap-config.pl
  head/net/smbldap-tools/pkg-plist
Comment 4 commit-hook freebsd_committer freebsd_triage 2014-10-05 17:39:17 UTC
A commit references this bug:

Author: riggs
Date: Sun Oct  5 17:39:09 UTC 2014
New revision: 370098
URL: https://svnweb.freebsd.org/changeset/ports/370098

Log:
  - Fix previous commit (r370095), patch is now properly integrated

  PR:		193208
  Submitted by:	spil.oss@gmail.com (PR), dewayne@heuristicsystems.com.au (patch)
  MFH:		2014Q4

Changes:
  head/net/smbldap-tools/Makefile
  head/net/smbldap-tools/files/patch-smbldap-config.pl
  head/net/smbldap-tools/files/smbldap-config.pl
Comment 5 commit-hook freebsd_committer freebsd_triage 2014-10-11 06:17:33 UTC
A commit references this bug:

Author: riggs
Date: Sat Oct 11 06:16:57 UTC 2014
New revision: 370623
URL: https://svnweb.freebsd.org/changeset/ports/370623

Log:
  MFH: r370098

  - Fix previous commit (r370095), patch is now properly integrated

  MFH: r370095
  - Fix build failure with pod2man 2.5+
  - Bump PORTREVISION

  While on it:
  - Add NO_ARCH (port does not install arch dependent files)
  - Clean up pkg-plist

  PR:		193208
  Submitted by:	spil.oss@gmail.com (PR), dewayne@heuristicsystems.com.au (patch)
  Approved by:	portmgr(bapt,erwin), ports-secteam(rea)

Changes:
_U  branches/2014Q4/
  branches/2014Q4/net/smbldap-tools/Makefile
  branches/2014Q4/net/smbldap-tools/files/patch-smbldap-config.pl
  branches/2014Q4/net/smbldap-tools/pkg-plist