From pirzyk@lilo.ci.uiuc.edu  Fri May 12 01:40:20 2006
Return-Path: <pirzyk@lilo.ci.uiuc.edu>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0F7DB16A416
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 12 May 2006 01:40:20 +0000 (UTC)
	(envelope-from pirzyk@lilo.ci.uiuc.edu)
Received: from lilo.ci.uiuc.edu (lilo.ci.uiuc.edu [128.174.86.231])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A9E5143D46
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 12 May 2006 01:40:13 +0000 (GMT)
	(envelope-from pirzyk@lilo.ci.uiuc.edu)
Received: from lilo.ci.uiuc.edu (localhost [127.0.0.1])
	by lilo.ci.uiuc.edu (8.13.6/8.13.6) with ESMTP id k4C1e3Kt041235
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 11 May 2006 20:40:03 -0500 (CDT)
	(envelope-from pirzyk@lilo.ci.uiuc.edu)
Received: (from pirzyk@localhost)
	by lilo.ci.uiuc.edu (8.13.6/8.13.6/Submit) id k4C1e2S9041231;
	Thu, 11 May 2006 20:40:02 -0500 (CDT)
	(envelope-from pirzyk)
Message-Id: <200605120140.k4C1e2S9041231@lilo.ci.uiuc.edu>
Date: Thu, 11 May 2006 20:40:02 -0500 (CDT)
From: Jim Pirzyk <pirzyk@freebsd.org>
Reply-To: Jim Pirzyk <pirzyk@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New Port: secuirty/pam_authsrv
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         97157
>Category:       ports
>Synopsis:       New Port: secuirty/pam_authsrv
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    garga
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 12 01:50:13 GMT 2006
>Closed-Date:    Mon Jun 05 13:03:51 GMT 2006
>Last-Modified:  Mon Jun 05 13:03:51 GMT 2006
>Originator:     Jim Pirzyk
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD lilo.ci.uiuc.edu 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue May 9 20:02:52 CDT 2006 supirzyk@lilo.ci.uiuc.edu:/services/scratch/usr/src/sys/VMWARE_KERNEL i386


	
>Description:
	
>How-To-Repeat:
	
>Fix:

diff -Nru pam_authsrv.orig/Makefile pam_authsrv/Makefile
--- pam_authsrv.orig/Makefile	Wed Dec 31 18:00:00 1969
+++ pam_authsrv/Makefile	Thu May 11 15:14:19 2006
@@ -0,0 +1,23 @@
+# New ports collection makefile for:	pam_authsrv
+# Date created:				11 May 2006
+# Whom:						Jim Pirzyk <pirzyk@freebsd.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME=	pam_authsrv
+PORTVERSION=	1.0.2
+CATEGORIES=	security
+MASTER_SITES=	ftp://ftp.feep.net/pub/software/PAM/pam_authsrv/
+
+MAINTAINER=	pirzyk@freebsd.org
+COMMENT=	PAM module for per-user authentication
+
+BUILD_DEPENDS= ${PORTSDIR}/security/fwtk/work/fwtk/libauth.a
+
+HAS_CONFIGURE=	YES
+CONFIGURE_ENV= 	LDFLAGS=-L${PORTSDIR}/security/fwtk/work/fwtk CFLAGS=-I${PORTSDIR}/security/fwtk/work/fwtk
+
+MAN5=		pam_authsrv.5
+
+.include <bsd.port.mk>
diff -Nru pam_authsrv.orig/distinfo pam_authsrv/distinfo
--- pam_authsrv.orig/distinfo	Wed Dec 31 18:00:00 1969
+++ pam_authsrv/distinfo	Thu May 11 15:06:08 2006
@@ -0,0 +1,3 @@
+MD5 (pam_authsrv-1.0.2.tar.gz) = 9d7fa3ce60f0e18ab0ea7bdf2eab6371
+SHA256 (pam_authsrv-1.0.2.tar.gz) = bddacf9c305b2fd83ee03b8f71a2e7537ddadd98976134af615167b8c9372f98
+SIZE (pam_authsrv-1.0.2.tar.gz) = 106894
diff -Nru pam_authsrv.orig/pkg-descr pam_authsrv/pkg-descr
--- pam_authsrv.orig/pkg-descr	Wed Dec 31 18:00:00 1969
+++ pam_authsrv/pkg-descr	Thu May 11 14:59:04 2006
@@ -0,0 +1 @@
+PAM module for TIS authsrv authentication
diff -Nru pam_authsrv.orig/pkg-plist pam_authsrv/pkg-plist
--- pam_authsrv.orig/pkg-plist	Wed Dec 31 18:00:00 1969
+++ pam_authsrv/pkg-plist	Thu May 11 14:59:07 2006
@@ -0,0 +1,3 @@
+sbin/authtest
+lib/security/pam_authsrv.so.1
+@dirrmtry lib/security
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->garga 
Responsible-Changed-By: garga 
Responsible-Changed-When: Fri May 12 11:16:02 UTC 2006 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=97157 
State-Changed-From-To: open->feedback 
State-Changed-By: garga 
State-Changed-When: Tue May 16 15:38:51 UTC 2006 
State-Changed-Why:  
Ask for submitter fix. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=97157 

From: Renato Botelho <garga@FreeBSD.org>
To: pirzyk@freebsd.org
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/97157: New Port: secuirty/pam_authsrv
Date: Tue, 16 May 2006 12:36:06 -0300

 This port has problems, LIB_DEPENDS line is incorrect, and the port
 doesn't build.
 
 Could you please fix it?
 
 Thanks
 -- 
 Renato Botelho <garga @ FreeBSD.org>
                <freebsd @ galle.com.br>
 GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc

From: Jim Pirzyk <pirzyk@FreeBSD.org>
To: Renato Botelho <garga@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/97157: New Port: secuirty/pam_authsrv
Date: Tue, 16 May 2006 11:01:57 -0500

 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
 Question about this.  Can I 'fix' the fwtk port so that I can
 build the libraries that are needed.  I do not need the entire
 fwtk package to build (since it needs s/key, and that is not
 available any longer).
 
 - - JimP
 
 On May 16, 2006, at 10:36 AM, Renato Botelho wrote:
 
 > This port has problems, LIB_DEPENDS line is incorrect, and the port
 > doesn't build.
 >
 > Could you please fix it?
 >
 > Thanks
 > -- 
 > Renato Botelho <garga @ FreeBSD.org>
 >                <freebsd @ galle.com.br>
 > GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc
 
 - --- @(#) $Id: dot.signature,v 1.14 2004/02/03 02:46:26 pirzyk Exp $
      __o  pirzyk@uiuc.edu --------------------------- jim@pirzyk.org
   _'\<,_  Systems Management Group, CITES
 (*)/ (*) University of Illinois at Urbana-Champaign
 
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2.2 (Darwin)
 
 iD8DBQFEafd62EYx0U4j2soRAnQnAJ9Q3A2HZgLY1MY5xkgs7lEIDUd5zgCfUsJo
 JzjomtRIeg8i7PEzWIKij10=
 =1mEA
 -----END PGP SIGNATURE-----

From: Renato Botelho <garga@FreeBSD.org>
To: Jim Pirzyk <pirzyk@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/97157: New Port: secuirty/pam_authsrv
Date: Tue, 16 May 2006 13:09:52 -0300

 Em 16/5/2006 13:01 Jim Pirzyk escreveu:
 > Question about this.  Can I 'fix' the fwtk port so that I can
 > build the libraries that are needed.  I do not need the entire
 > fwtk package to build (since it needs s/key, and that is not
 > available any longer).
 
 Do you just need library available at build time? Or you need it
 installed to run?
 
 If you need just to build, and shit lib is available at fwtk port,
 you can take a look ad security/samba-vscan and see how it does to
 extract samba port and use some files.
 
 Thanks
 -- 
 Renato Botelho <garga @ FreeBSD.org>
                <freebsd @ galle.com.br>
 GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc

From: Jim Pirzyk <pirzyk@FreeBSD.org>
To: Renato Botelho <garga@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/97157: New Port: secuirty/pam_authsrv
Date: Sun, 21 May 2006 17:05:50 -0500

 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
 
 On May 16, 2006, at 11:09 AM, Renato Botelho wrote:
 
 > Em 16/5/2006 13:01 Jim Pirzyk escreveu:
 >> Question about this.  Can I 'fix' the fwtk port so that I can
 >> build the libraries that are needed.  I do not need the entire
 >> fwtk package to build (since it needs s/key, and that is not
 >> available any longer).
 >
 > Do you just need library available at build time? Or you need it
 > installed to run?
 >
 > If you need just to build, and shit lib is available at fwtk port,
 > you can take a look ad security/samba-vscan and see how it does to
 > extract samba port and use some files.
 
 Ok, the fwtk port is listed as broken for FreeBSD 5.x and above,
 but the library I need still builds fine there.  How do I override
 that?
 
 - - JimP
 
 - --- @(#) $Id: dot.signature,v 1.14 2004/02/03 02:46:26 pirzyk Exp $
      __o  pirzyk@uiuc.edu --------------------------- jim@pirzyk.org
   _'\<,_  Systems Management Group, CITES
 (*)/ (*) University of Illinois at Urbana-Champaign
 
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2.2 (Darwin)
 
 iD8DBQFEcORD2EYx0U4j2soRAkhSAJwL55kGLmjXHVB/i5sTjCVY/+VdUwCeLuT+
 4NK9Lvtnf8Ki8o2PzHBbHKw=
 =r7lb
 -----END PGP SIGNATURE-----

From: Renato Botelho <garga@FreeBSD.org>
To: Jim Pirzyk <pirzyk@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/97157: New Port: secuirty/pam_authsrv
Date: Mon, 22 May 2006 07:49:57 -0300

 Em 21/5/2006 19:05 Jim Pirzyk escreveu:
 > 
 > On May 16, 2006, at 11:09 AM, Renato Botelho wrote:
 > 
 >>> Em 16/5/2006 13:01 Jim Pirzyk escreveu:
 >>>> Question about this.  Can I 'fix' the fwtk port so that I can
 >>>> build the libraries that are needed.  I do not need the entire
 >>>> fwtk package to build (since it needs s/key, and that is not
 >>>> available any longer).
 >>>
 >>> Do you just need library available at build time? Or you need it
 >>> installed to run?
 >>>
 >>> If you need just to build, and shit lib is available at fwtk port,
 >>> you can take a look ad security/samba-vscan and see how it does to
 >>> extract samba port and use some files.
 > 
 > Ok, the fwtk port is listed as broken for FreeBSD 5.x and above,
 > but the library I need still builds fine there.  How do I override
 > that?
 
 What do you think about host this lib in any place and ass it on
 DISTFILES?
 
 -- 
 Renato Botelho <garga @ FreeBSD.org>
                <freebsd @ galle.com.br>
 GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc

From: Jim Pirzyk <pirzyk@FreeBSD.org>
To: Renato Botelho <garga@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/97157: New Port: secuirty/pam_authsrv
Date: Mon, 22 May 2006 08:13:58 -0500

 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
 
 On May 22, 2006, at 5:49 AM, Renato Botelho wrote:
 
 > Em 21/5/2006 19:05 Jim Pirzyk escreveu:
 >>
 >> On May 16, 2006, at 11:09 AM, Renato Botelho wrote:
 >>
 >>>> Em 16/5/2006 13:01 Jim Pirzyk escreveu:
 >>>>> Question about this.  Can I 'fix' the fwtk port so that I can
 >>>>> build the libraries that are needed.  I do not need the entire
 >>>>> fwtk package to build (since it needs s/key, and that is not
 >>>>> available any longer).
 >>>>
 >>>> Do you just need library available at build time? Or you need it
 >>>> installed to run?
 >>>>
 >>>> If you need just to build, and shit lib is available at fwtk port,
 >>>> you can take a look ad security/samba-vscan and see how it does to
 >>>> extract samba port and use some files.
 >>
 >> Ok, the fwtk port is listed as broken for FreeBSD 5.x and above,
 >> but the library I need still builds fine there.  How do I override
 >> that?
 >
 > What do you think about host this lib in any place and ass it on
 > DISTFILES?
 
 I would need to host one for each platform (i386, x86, sparc, ...)
 Looking closer at fwtk, and that the maintainer is ports@, I am
 working on a patch to fix that port.  I am adding options, including
 WIHT_SKEY, which will implement the current configuration, but also
 will build on FBSD systems >= 5.x.  I should have something in the
 next few days, I hope.
 
 - - JimP
 
 - --- @(#) $Id: dot.signature,v 1.14 2004/02/03 02:46:26 pirzyk Exp $
      __o  pirzyk@uiuc.edu --------------------------- jim@pirzyk.org
   _'\<,_  Systems Management Group, CITES
 (*)/ (*) University of Illinois at Urbana-Champaign
 
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2.2 (Darwin)
 
 iD4DBQFEcbkb2EYx0U4j2soRAkZCAJUed/oJIrj6ducYvfepaKD//TqZAKCQCs5V
 NXyjp3XN7wCuRx9k4Zy8jA==
 =qMKL
 -----END PGP SIGNATURE-----

From: Jim Pirzyk <pirzyk@FreeBSD.org>
To: Renato Botelho <garga@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/97157: New Port: secuirty/pam_authsrv
Date: Mon, 22 May 2006 12:19:06 -0500

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --Apple-Mail-9-359939224
 Content-Type: multipart/mixed; boundary=Apple-Mail-8-359938743
 
 
 --Apple-Mail-8-359938743
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=US-ASCII;
 	format=flowed
 
 Here is a patch to solve the build problems.  I also included
 some of the fixes you incorporated to pam_pseudo as well.
 
 This patch does assume that ports/97633 has been applied to fwtk
 though.
 
 - JimP
 
 
 --Apple-Mail-8-359938743
 Content-Transfer-Encoding: 7bit
 Content-Type: application/octet-stream;
 	x-unix-mode=0644;
 	name="pam_authsrv.patch"
 Content-Disposition: attachment;
 	filename=pam_authsrv.patch
 
 diff -Nru pam_authsrv.orig/Makefile pam_authsrv/Makefile
 --- pam_authsrv.orig/Makefile	Thu May 11 15:14:19 2006
 +++ pam_authsrv/Makefile	Mon May 22 08:45:40 2006
 @@ -10,13 +10,18 @@
  CATEGORIES=	security
  MASTER_SITES=	ftp://ftp.feep.net/pub/software/PAM/pam_authsrv/
  
 -MAINTAINER=	pirzyk@freebsd.org
 -COMMENT=	PAM module for per-user authentication
 +MAINTAINER=	pirzyk@FreeBSD.org
 +COMMENT=	PAM module for TIS authsrv authentication
  
 -BUILD_DEPENDS= ${PORTSDIR}/security/fwtk/work/fwtk/libauth.a
 +RESTRICTED=	"No form of redistribution is allowed, because of linkging against fwtk"
  
 -HAS_CONFIGURE=	YES
 +BUILD_DEPENDS= ${.CURDIR}/../fwtk/work/fwtk/libauth.a:${PORTSDIR}/security/fwtk
 +
 +USE_AUTOTOOLS=	libtool:15
  CONFIGURE_ENV= 	LDFLAGS=-L${PORTSDIR}/security/fwtk/work/fwtk CFLAGS=-I${PORTSDIR}/security/fwtk/work/fwtk
 +CONFIGURE_ARGS=	--disable-encap --disable-epkg-install
 +
 +INSTALL_TARGET=	install-real
  
  MAN5=		pam_authsrv.5
  
 
 --Apple-Mail-8-359938743
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=US-ASCII;
 	format=flowed
 
 
 On May 16, 2006, at 11:09 AM, Renato Botelho wrote:
 
 > Em 16/5/2006 13:01 Jim Pirzyk escreveu:
 >> Question about this.  Can I 'fix' the fwtk port so that I can
 >> build the libraries that are needed.  I do not need the entire
 >> fwtk package to build (since it needs s/key, and that is not
 >> available any longer).
 >
 > Do you just need library available at build time? Or you need it
 > installed to run?
 >
 > If you need just to build, and shit lib is available at fwtk port,
 > you can take a look ad security/samba-vscan and see how it does to
 > extract samba port and use some files.
 >
 > Thanks
 > -- 
 > Renato Botelho <garga @ FreeBSD.org>
 >                <freebsd @ galle.com.br>
 > GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc
 
 --- @(#) $Id: dot.signature,v 1.14 2004/02/03 02:46:26 pirzyk Exp $
      __o  pirzyk@uiuc.edu --------------------------- jim@pirzyk.org
   _'\<,_  Systems Management Group, CITES
 (*)/ (*) University of Illinois at Urbana-Champaign
 
 
 
 --Apple-Mail-8-359938743--
 
 --Apple-Mail-9-359939224
 content-type: application/pgp-signature; x-mac-type=70674453;
 	name=PGP.sig
 content-description: This is a digitally signed message part
 content-disposition: inline; filename=PGP.sig
 content-transfer-encoding: 7bit
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2.2 (Darwin)
 
 iD8DBQFEcfKP2EYx0U4j2soRAs9HAKCfMia15ZKMwiSrz/DxOeG57VgvbwCgtKbF
 pfXnTIM8FWvnn0T1U5brkVA=
 =hUDB
 -----END PGP SIGNATURE-----
 
 --Apple-Mail-9-359939224--
State-Changed-From-To: feedback->closed 
State-Changed-By: garga 
State-Changed-When: Mon Jun 5 13:03:50 UTC 2006 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=97157 
>Unformatted:
