Bug 147139 - 1/3: mod_*/pkg-plist fix: [patch]: apxs -a is intall
1/3: mod_*/pkg-plist fix: [patch]: apxs -a is intall
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: Philip M. Gollucci
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-27 19:40 UTC by Philip M. Gollucci
Modified: 2010-05-27 22:30 UTC (History)
1 user (show)

See Also:


Attachments
apxs.diff (21.09 KB, patch)
2010-05-27 19:40 UTC, Philip M. Gollucci
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philip M. Gollucci freebsd_committer 2010-05-27 19:40:00 UTC
apxs -a is install
apxs -A is uninstall

Fix: $ cd /apache22/www 
$ grep @exec mod_*/pkg-plist | \
	grep apxs | \
	grep -- -A | \
	sed -e 's,:.*,,' | \
	xargs perl -pi -e 's,\@exec %D/sbin/apxs -e -A -n,\@exec %D/sbin/apxs -e -a -n,'
Comment 1 Philip M. Gollucci freebsd_committer 2010-05-27 19:44:02 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

quickie approval/review please
Comment 2 pav freebsd_committer 2010-05-27 21:56:57 UTC
Responsible Changed
From-To: portmgr->pgollucci

Looks good to me. 

PS unexec line should be above or below .so entry in plist?
Comment 3 pgollucci 2010-05-27 22:10:03 UTC
The standard I'm going for is
@exec
%%APACHEMODDIR...
@unexec

FWIW, I have my reasons for doing these clean ups in prep of some 
AP_FAST_BUILD conversions
and adding @apadd and @aprm or similiar.

Additionally, In the distant future as discussed with clement not 
editing httpd.conf but having each port add a file
to %%APACHEETCDIR/Includes/${AP_NAME:S/.so//}.conf

Which will clean up all the damned echos and whatnot among many other 
things (ie mod_log_sql2-dtc)
Comment 4 dfilter freebsd_committer 2010-05-27 22:19:30 UTC
pgollucci    2010-05-27 21:19:17 UTC

  FreeBSD ports repository

  Modified files:
    www/mod_accounting   pkg-plist 
    www/mod_auth_cookie_mysql pkg-plist 
    www/mod_auth_form    pkg-plist 
    www/mod_auth_kerb    pkg-plist 
    www/mod_auth_kerb2   pkg-plist 
    www/mod_auth_pam     pkg-plist 
    www/mod_auth_pam2    pkg-plist 
    www/mod_auth_remote  pkg-plist 
    www/mod_backhand     pkg-plist 
    www/mod_bandwidth    pkg-plist 
    www/mod_cband        pkg-plist 
    www/mod_clamav       pkg-plist 
    www/mod_cvs2         pkg-plist 
    www/mod_dtcl         pkg-plist 
    www/mod_gzip         pkg-plist 
    www/mod_h264_streaming pkg-plist 
    www/mod_jk           pkg-plist 
    www/mod_layout       pkg-plist 
    www/mod_layout2      pkg-plist 
    www/mod_limitipconn2 pkg-plist 
    www/mod_line_edit    pkg-plist 
    www/mod_log_dbd      pkg-plist 
    www/mod_log_firstbyte pkg-plist 
    www/mod_log_sql2-dtc pkg-plist 
    www/mod_log_sql2     pkg-plist 
    www/mod_mp3          pkg-plist 
    www/mod_musicindex   pkg-plist 
    www/mod_ntlm         pkg-plist 
    www/mod_ntlm2        pkg-plist 
    www/mod_proxy_xml    pkg-plist 
    www/mod_pubcookie    pkg-plist 
    www/mod_realip       pkg-plist 
    www/mod_sed          pkg-plist 
    www/mod_traf_thief   pkg-plist 
    www/mod_tsunami      pkg-plist 
    www/mod_xmlns        pkg-plist 
  Log:
  - 1/3:
      - apxs -a is install
      - apxs -A is uninstall
  
  PR:             ports/147139
  Reviewed by:    portmgr (pav)
  With Hat:       apache@
  
  Revision  Changes    Path
  1.6       +1 -1      ports/www/mod_accounting/pkg-plist
  1.4       +1 -1      ports/www/mod_auth_cookie_mysql/pkg-plist
  1.2       +1 -1      ports/www/mod_auth_form/pkg-plist
  1.4       +1 -1      ports/www/mod_auth_kerb/pkg-plist
  1.5       +1 -1      ports/www/mod_auth_kerb2/pkg-plist
  1.4       +1 -1      ports/www/mod_auth_pam/pkg-plist
  1.3       +2 -2      ports/www/mod_auth_pam2/pkg-plist
  1.4       +1 -1      ports/www/mod_auth_remote/pkg-plist
  1.3       +1 -1      ports/www/mod_backhand/pkg-plist
  1.4       +1 -1      ports/www/mod_bandwidth/pkg-plist
  1.2       +1 -1      ports/www/mod_cband/pkg-plist
  1.4       +1 -1      ports/www/mod_clamav/pkg-plist
  1.4       +1 -1      ports/www/mod_cvs2/pkg-plist
  1.9       +1 -1      ports/www/mod_dtcl/pkg-plist
  1.7       +1 -1      ports/www/mod_gzip/pkg-plist
  1.2       +1 -1      ports/www/mod_h264_streaming/pkg-plist
  1.5       +1 -1      ports/www/mod_jk/pkg-plist
  1.8       +2 -2      ports/www/mod_layout/pkg-plist
  1.5       +1 -1      ports/www/mod_layout2/pkg-plist
  1.3       +1 -1      ports/www/mod_limitipconn2/pkg-plist
  1.3       +1 -1      ports/www/mod_line_edit/pkg-plist
  1.3       +1 -1      ports/www/mod_log_dbd/pkg-plist
  1.2       +1 -1      ports/www/mod_log_firstbyte/pkg-plist
  1.4       +1 -1      ports/www/mod_log_sql2-dtc/pkg-plist
  1.4       +1 -1      ports/www/mod_log_sql2/pkg-plist
  1.5       +1 -1      ports/www/mod_mp3/pkg-plist
  1.7       +1 -1      ports/www/mod_musicindex/pkg-plist
  1.3       +1 -1      ports/www/mod_ntlm/pkg-plist
  1.3       +1 -1      ports/www/mod_ntlm2/pkg-plist
  1.3       +1 -1      ports/www/mod_proxy_xml/pkg-plist
  1.2       +1 -1      ports/www/mod_pubcookie/pkg-plist
  1.3       +1 -1      ports/www/mod_realip/pkg-plist
  1.3       +1 -1      ports/www/mod_sed/pkg-plist
  1.3       +1 -1      ports/www/mod_traf_thief/pkg-plist
  1.8       +1 -1      ports/www/mod_tsunami/pkg-plist
  1.3       +1 -1      ports/www/mod_xmlns/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Philip M. Gollucci freebsd_committer 2010-05-27 22:29:21 UTC
State Changed
From-To: open->closed

Committed. Thanks!