FreeBSD Bugzilla – Attachment 48711 Details for
Bug 74516
net/ldapsh - Update port to version 2.0b1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ldapsh-2.0b1.diff
ldapsh-2.0b1.diff (text/plain), 3.81 KB, created by
Florent Thoumie
on 2004-11-29 14:10:27 UTC
(
hide
)
Description:
ldapsh-2.0b1.diff
Filename:
MIME Type:
Creator:
Florent Thoumie
Created:
2004-11-29 14:10:27 UTC
Size:
3.81 KB
patch
obsolete
>diff -ruN ldapsh.old/Makefile ldapsh/Makefile >--- ldapsh.old/Makefile Mon Nov 29 13:37:20 2004 >+++ ldapsh/Makefile Mon Nov 29 15:07:39 2004 >@@ -6,11 +6,10 @@ > # > > PORTNAME= ldapsh >-PORTVERSION= 1.2 >-PORTREVISION= 1 >+PORTVERSION= 2.0.b1 > CATEGORIES= net > MASTER_SITES= http://madstop.com/ldapsh/ >-EXTRACT_SUFX= .tgz >+DISTFILES= ldapsh-2.0b1.tgz > > MAINTAINER= flz@xbsd.org > COMMENT= Interactive shell used to administer ldap directories >@@ -18,9 +17,16 @@ > BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey \ > ${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap \ > ${SITE_PERL}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip \ >+ ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \ > ${SITE_PERL}/Parse/RecDescent.pm:${PORTSDIR}/devel/p5-Parse-RecDescent > RUN_DEPENDS= ${BUILD_DEPENDS} > >+PKGMESSAGE= ${WRKDIR}/pkg-message >+ >+SED_SCRIPT= -e 's,%%PREFIX%%,${PREFIX},g' \ >+ -e 's,%%DOCSDIR%%,${DOCSDIR},g' \ >+ -e 's,%%EXAMPLESDIR%%,${EXAMPLESDIR},g' >+ > USE_PERL5= yes > NO_BUILD= yes > USE_REINPLACE= yes >@@ -28,19 +34,18 @@ > > .include <bsd.port.pre.mk> > >-.if ${PERL_LEVEL} < 500600 >-BUILD_DEPENDS+= ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long >-.endif >+post-patch: >+ ${REINPLACE_CMD} -e "s,/usr/local/bin/perl,${PERL}," ${WRKSRC}/ldapsh >+ >+pre-install: >+ ${SED} ${SED_SCRIPT} ${PKGDIR}/pkg-message > ${WRKDIR}/pkg-message > > do-install: >- ${MKDIR} ${DOCSDIR} >+ ${MKDIR} ${DOCSDIR} ${EXAMPLESDIR} > ${INSTALL_DATA} ${WRKSRC}/COMMANDS ${DOCSDIR} > ${INSTALL_SCRIPT} ${WRKSRC}/ldapsh ${PREFIX}/bin >- ${INSTALL_DATA} ${WRKSRC}/examples/LdapConfig.pl ${PREFIX}/etc/LdapConfig.pl.sample >+ ${INSTALL_DATA} ${WRKSRC}/examples/LdapConfig.pl ${EXAMPLESDIR}/LdapConfig.pl > ${CP} -r ${WRKSRC}/lib/Net ${SITE_PERL} >- >-post-patch: >- ${REINPLACE_CMD} -e "s,/usr/local/bin/perl,${PERL}," ${WRKSRC}/ldapsh > > post-install: > ${CAT} ${PKGMESSAGE} >diff -ruN ldapsh.old/distinfo ldapsh/distinfo >--- ldapsh.old/distinfo Mon Nov 29 13:37:20 2004 >+++ ldapsh/distinfo Mon Nov 29 13:54:54 2004 >@@ -1,2 +1,2 @@ >-MD5 (ldapsh-1.2.tgz) = 0c4b8583594ddb5ddf6af960a77d1d30 >-SIZE (ldapsh-1.2.tgz) = 27095 >+MD5 (ldapsh-2.0b1.tgz) = cd2a8d7ebfbde0a208f2f134439ce8f9 >+SIZE (ldapsh-2.0b1.tgz) = 30677 >diff -ruN ldapsh.old/pkg-message ldapsh/pkg-message >--- ldapsh.old/pkg-message Mon Nov 29 13:37:20 2004 >+++ ldapsh/pkg-message Mon Nov 29 14:58:28 2004 >@@ -1,6 +1,9 @@ >-Before you can run the command: >+************************************************************* >+Before using ldapsh, you'll probably want to : > > - Create the configuration file (an example is in >- /usr/local/etc/LdapConfig.pl.sample) >-- See the file COMMANDS in the DOCSDIR (most likely >- /usr/local/share/doc/ldapsh) for an overview of the commands. >+ %%EXAMPLESDIR%%/LdapConfig.pl, modify it to >+ suit your needs and place it in %%PREFIX%%/etc/) >+- See %%DOCSDIR%%/COMMANDS for an overview of >+ the available commands. >+************************************************************* >diff -ruN ldapsh.old/pkg-plist ldapsh/pkg-plist >--- ldapsh.old/pkg-plist Mon Nov 29 13:37:20 2004 >+++ ldapsh/pkg-plist Mon Nov 29 15:01:47 2004 >@@ -1,5 +1,4 @@ > bin/ldapsh >-etc/LdapConfig.pl.sample > %%SITE_PERL%%/Net/LDAP/Config.pm > %%SITE_PERL%%/Net/LDAP/Shell.pm > %%SITE_PERL%%/Net/LDAP/Shell/Commands/cat.pm >@@ -8,11 +7,14 @@ > %%SITE_PERL%%/Net/LDAP/Shell/Commands/ls.pm > %%SITE_PERL%%/Net/LDAP/Shell/Commands/new.pm > %%SITE_PERL%%/Net/LDAP/Shell/Commands/rm.pm >+%%SITE_PERL%%/Net/LDAP/Shell/Commands/search.pm > %%SITE_PERL%%/Net/LDAP/Shell/Commands/stub.pm >-%%SITE_PERL%%/Net/LDAP/Shell/Config.pm.example > %%SITE_PERL%%/Net/LDAP/Shell/Desc.pm > %%SITE_PERL%%/Net/LDAP/Shell/Schema.pm > %%SITE_PERL%%/Net/LDAP/Shell/Util.pm > %%DOCSDIR%%/COMMANDS >+%%EXAMPLESDIR%%/LdapConfig.pl > @dirrm %%SITE_PERL%%/Net/LDAP/Shell/Commands > @dirrm %%SITE_PERL%%/Net/LDAP/Shell >+@dirrm %%DOCSDIR%% >+@dirrm %%EXAMPLESDIR%%
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 74516
: 48711