Date: Sun, 8 Jun 2008 19:11:39 GMT From: Gerrit Beine <gerrit.beine@gmx.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/124400: New port: www/mod_auth_ldap Message-ID: <200806081911.m58JBdgR016422@www.freebsd.org> Resent-Message-ID: <200806081920.m58JK1GG041811@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 124400 >Category: ports >Synopsis: New port: www/mod_auth_ldap >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jun 08 19:20:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Gerrit Beine >Release: FreeBSD 7.0-RELEASE >Organization: Beine Computer >Environment: FreeBSD tb.vmware.beine-computer.de 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: This port introduces an alternative LDAP authentication module for Apache 2.0 The module allows an authentication through binding without a directory tree search. >How-To-Repeat: >Fix: #!/bin/sh # This is a shell archive (produced by GNU sharutils 4.6.2). # To extract the files from this archive, save it to some FILE, remove # everything before the `#!/bin/sh' line above, then type `sh FILE'. # lock_dir=_sh31271 # Made on 2008-06-08 21:09 CEST by <beine@linux>. # Source directory was `/home/beine/Projekte/FreeBSD'. # # Existing files will *not* be overwritten, unless `-c' is specified. # # This shar contains: # length mode name # ------ ---------- ------------------------------------------ # 183 -rw-r--r-- mod_auth_ldap/pkg-descr # 269 -rw-r--r-- mod_auth_ldap/pkg-plist # 791 -rw-r--r-- mod_auth_ldap/Makefile # 214 -rw-r--r-- mod_auth_ldap/distinfo # MD5SUM=${MD5SUM-md5sum} f=`${MD5SUM} --version | egrep '^md5sum .*(core|text)utils'` test -n "${f}" && md5check=true || md5check=false ${md5check} || \ echo 'Note: not verifying md5sums. Consider installing GNU coreutils.' save_IFS="${IFS}" IFS="${IFS}:" gettext_dir=FAILED locale_dir=FAILED first_param="$1" for dir in $PATH do if test "$gettext_dir" = FAILED && test -f $dir/gettext \ && ($dir/gettext --version >/dev/null 2>&1) then case `$dir/gettext --version 2>&1 | sed 1q` in *GNU*) gettext_dir=$dir ;; esac fi if test "$locale_dir" = FAILED && test -f $dir/shar \ && ($dir/shar --print-text-domain-dir >/dev/null 2>&1) then locale_dir=`$dir/shar --print-text-domain-dir` fi done IFS="$save_IFS" if test "$locale_dir" = FAILED || test "$gettext_dir" = FAILED then echo=echo else TEXTDOMAINDIR=$locale_dir export TEXTDOMAINDIR TEXTDOMAIN=sharutils export TEXTDOMAIN echo="$gettext_dir/gettext -s" fi if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null then if (echo -n test; echo 1,2,3) | grep n >/dev/null then shar_n= shar_c=' ' else shar_n=-n shar_c= ; fi else shar_n= shar_c='\c' ; fi f=shar-touch.$$ st1=200112312359.59 st2=123123592001.59 st2tr=123123592001.5 # old SysV 14-char limit st3=1231235901 if touch -am -t ${st1} ${f} >/dev/null 2>&1 && \ test ! -f ${st1} && test -f ${f}; then shar_touch='touch -am -t $1$2$3$4$5$6.$7 "$8"' elif touch -am ${st2} ${f} >/dev/null 2>&1 && \ test ! -f ${st2} && test ! -f ${st2tr} && test -f ${f}; then shar_touch='touch -am $3$4$5$6$1$2.$7 "$8"' elif touch -am ${st3} ${f} >/dev/null 2>&1 && \ test ! -f ${st3} && test -f ${f}; then shar_touch='touch -am $3$4$5$6$2 "$8"' else shar_touch=: echo ${echo} 'WARNING: not restoring timestamps. Consider getting and' ${echo} 'installing GNU `touch'\'', distributed in GNU File Utilities...' echo fi rm -f ${st1} ${st2} ${st2tr} ${st3} ${f} # if test ! -d ${lock_dir} then : ; else ${echo} 'lock directory '${lock_dir}' exists' exit 1 fi if mkdir ${lock_dir} then ${echo} 'x - created lock directory `'${lock_dir}\''.' else ${echo} 'x - failed to create lock directory `'${lock_dir}\''.' exit 1 fi # ============= mod_auth_ldap/pkg-descr ============== if test ! -d 'mod_auth_ldap'; then mkdir 'mod_auth_ldap' if test $? -eq 0 then ${echo} 'x - created directory `''mod_auth_ldap'\''.' else ${echo} 'x - failed to create directory `''mod_auth_ldap'\''.' exit 1 fi fi if test -f 'mod_auth_ldap/pkg-descr' && test "$first_param" != -c; then ${echo} 'x -SKIPPING ''mod_auth_ldap/pkg-descr'' (file already exists)' else ${echo} 'x - extracting ''mod_auth_ldap/pkg-descr'' (binary)' sed 's/^X//' << 'SHAR_EOF' | uudecode && begin 600 mod_auth_ldap/pkg-descr M5&AI<R!M;V1U;&4@86QL;W=S($%P86-H92!T;R!A=71H96YT:6-A=&4@82!L M;V-A=&EO;B!A9V%I;G-T(&%N"F5N=')Y+"!O<B!E;G1R:65S+"!I;B!A;B!, M1$%0(&1A=&%B87-E+B`@"@I75U<Z(&AT='`Z+R]W=W<N;75Q=6ET+F-O;2]M M=7%U:70O<V]F='=A<F4O;6]D7V%U=&A?;&1A<"]M;V1?875T:%]L9&%P,BYH #=&UL ` end SHAR_EOF (set 20 08 06 08 10 43 49 'mod_auth_ldap/pkg-descr'; eval "$shar_touch") && chmod 0644 'mod_auth_ldap/pkg-descr' if test $? -ne 0 then ${echo} 'restore of ''mod_auth_ldap/pkg-descr'' failed' fi if ${md5check} then ( ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'mod_auth_ldap/pkg-descr': 'MD5 check failed' ) << SHAR_EOF f076ab8ebd9c569ecdec0f8cfb83bbb0 mod_auth_ldap/pkg-descr SHAR_EOF else test `LC_ALL=C wc -c < 'mod_auth_ldap/pkg-descr'` -ne 183 && \ ${echo} 'restoration warning: size of ''mod_auth_ldap/pkg-descr'' is not 183' fi fi # ============= mod_auth_ldap/pkg-plist ============== if test ! -d 'mod_auth_ldap'; then mkdir 'mod_auth_ldap' if test $? -eq 0 then ${echo} 'x - created directory `''mod_auth_ldap'\''.' else ${echo} 'x - failed to create directory `''mod_auth_ldap'\''.' exit 1 fi fi if test -f 'mod_auth_ldap/pkg-plist' && test "$first_param" != -c; then ${echo} 'x -SKIPPING ''mod_auth_ldap/pkg-plist'' (file already exists)' else ${echo} 'x - extracting ''mod_auth_ldap/pkg-plist'' (text)' sed 's/^X//' << 'SHAR_EOF' > 'mod_auth_ldap/pkg-plist' && libexec/apache2/mod_auth_ldap.so @exec %D/sbin/apxs -e -a -n mod_auth_ldap %D/%F @unexec %D/sbin/apxs -e -A -n mod_auth_ldap %D/%F %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/mod_auth_ldap_apache2.html %%PORTDOCS%%%%DOCSDIR%%/ssl_tls.html @dirrm %%DOCSDIR%% SHAR_EOF (set 20 08 06 08 10 43 49 'mod_auth_ldap/pkg-plist'; eval "$shar_touch") && chmod 0644 'mod_auth_ldap/pkg-plist' if test $? -ne 0 then ${echo} 'restore of ''mod_auth_ldap/pkg-plist'' failed' fi if ${md5check} then ( ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'mod_auth_ldap/pkg-plist': 'MD5 check failed' ) << SHAR_EOF 5af875bba7af0a9a3125a067783af0c5 mod_auth_ldap/pkg-plist SHAR_EOF else test `LC_ALL=C wc -c < 'mod_auth_ldap/pkg-plist'` -ne 269 && \ ${echo} 'restoration warning: size of ''mod_auth_ldap/pkg-plist'' is not 269' fi fi # ============= mod_auth_ldap/Makefile ============== if test -f 'mod_auth_ldap/Makefile' && test "$first_param" != -c; then ${echo} 'x -SKIPPING ''mod_auth_ldap/Makefile'' (file already exists)' else ${echo} 'x - extracting ''mod_auth_ldap/Makefile'' (text)' sed 's/^X//' << 'SHAR_EOF' > 'mod_auth_ldap/Makefile' && # New ports collection makefile for: mod_auth_ldap # Date created: 07 June 2008 # Whom: Gerrit Beine <gerrit.beine@gmx.de> # # $FreeBSD$ # X PORTNAME= mod_auth_ldap PORTVERSION= 2.12 CATEGORIES= www MASTER_SITES= http://www.muquit.com/muquit/software/mod_auth_ldap/ DISTNAME= modauthldap_apache2 X MAINTAINER= gerrit.beine@gmx.de COMMENT= Apache module to authenticate against an LDAP directory X USE_OPENLDAP= yes USE_APACHE= 20 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-ldap-dir=${LOCALBASE} --with-ssl=no MAKE_ARGS+= APXS=${APXS} X X.if !defined(NOPORTDOCS) DOCS= README mod_auth_ldap_apache2.html ssl_tls.html X.endif X post-install: X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR} X.for file in ${DOCS} X ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} X.endfor X.endif X X.include <bsd.port.mk> SHAR_EOF (set 20 08 06 08 10 43 49 'mod_auth_ldap/Makefile'; eval "$shar_touch") && chmod 0644 'mod_auth_ldap/Makefile' if test $? -ne 0 then ${echo} 'restore of ''mod_auth_ldap/Makefile'' failed' fi if ${md5check} then ( ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'mod_auth_ldap/Makefile': 'MD5 check failed' ) << SHAR_EOF 34df5ea7a42ed5804fea1b5e351c58a7 mod_auth_ldap/Makefile SHAR_EOF else test `LC_ALL=C wc -c < 'mod_auth_ldap/Makefile'` -ne 791 && \ ${echo} 'restoration warning: size of ''mod_auth_ldap/Makefile'' is not 791' fi fi # ============= mod_auth_ldap/distinfo ============== if test -f 'mod_auth_ldap/distinfo' && test "$first_param" != -c; then ${echo} 'x -SKIPPING ''mod_auth_ldap/distinfo'' (file already exists)' else ${echo} 'x - extracting ''mod_auth_ldap/distinfo'' (text)' sed 's/^X//' << 'SHAR_EOF' > 'mod_auth_ldap/distinfo' && MD5 (modauthldap_apache2.tar.gz) = 2666189a1ec9bef4ae264870b22f8714 SHA256 (modauthldap_apache2.tar.gz) = 752041bbeac760ba38aa44083cf876882adb0e67f1903b03d9620b3aee154eef SIZE (modauthldap_apache2.tar.gz) = 155812 SHAR_EOF (set 20 08 06 08 10 43 49 'mod_auth_ldap/distinfo'; eval "$shar_touch") && chmod 0644 'mod_auth_ldap/distinfo' if test $? -ne 0 then ${echo} 'restore of ''mod_auth_ldap/distinfo'' failed' fi if ${md5check} then ( ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'mod_auth_ldap/distinfo': 'MD5 check failed' ) << SHAR_EOF 52d8940dcb20783e6bc927cadb24feee mod_auth_ldap/distinfo SHAR_EOF else test `LC_ALL=C wc -c < 'mod_auth_ldap/distinfo'` -ne 214 && \ ${echo} 'restoration warning: size of ''mod_auth_ldap/distinfo'' is not 214' fi fi if rm -fr ${lock_dir} then ${echo} 'x - removed lock directory `'${lock_dir}\''.' else ${echo} 'x - failed to remove lock directory `'${lock_dir}\''.' exit 1 fi exit 0 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806081911.m58JBdgR016422>