FreeBSD Bugzilla – Attachment 149030 Details for
Bug 194813
[patch] www/polipo: Cannot use a cache directory (and some fix)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
A patch for www/polipo.
polipo.diff (text/plain), 1.71 KB, created by
WATANABE Kazuhiro
on 2014-11-04 13:58:33 UTC
(
hide
)
Description:
A patch for www/polipo.
Filename:
MIME Type:
Creator:
WATANABE Kazuhiro
Created:
2014-11-04 13:58:33 UTC
Size:
1.71 KB
patch
obsolete
>diff -urN polipo.orig/files/pkg-deinstall.in polipo/files/pkg-deinstall.in >--- polipo.orig/files/pkg-deinstall.in 2014-01-23 00:52:06.000000000 +0900 >+++ polipo/files/pkg-deinstall.in 2014-11-04 22:03:21.000000000 +0900 >@@ -20,9 +20,6 @@ > echo "---> To delete ${POLIPOUSER} user permanently, use 'pw userdel \"${POLIPOUSER}\"'" > fi > >-if [ -d "$POLIPOCACHE" ]; then >- rm -r "$POLIPOCACHE" || exit 1 >-fi > if [ -d "$PPIDDIR" ]; then > rm -r "$PPIDDIR" || exit 1 > fi >@@ -31,6 +28,4 @@ > echo "---> You should remove from /etc/newsyslog.conf the \"${POLIPOLOG}\" entry manually." > fi > >-rmdir $POLIPODATA/www/doc $POLIPODATA/www $POLIPODATA 2>/dev/null >-rmdir $PCONFIGDIR 2>/dev/null || echo "---> If you not plan to reinstall polipo, you can safely remove ${PCONFIGDIR}." > exit 0 >diff -urN polipo.orig/files/pkg-install.in polipo/files/pkg-install.in >--- polipo.orig/files/pkg-install.in 2014-07-13 03:35:35.000000000 +0900 >+++ polipo/files/pkg-install.in 2014-11-04 22:03:21.000000000 +0900 >@@ -43,12 +43,6 @@ > > elif [ "$2" = "POST-INSTALL" ]; then > >- if [ ! -d "%%DESTDIR%%$POLIPOCACHE" ]; then >- mkdir -p "%%DESTDIR%%$POLIPOCACHE" || exit 1 >- chown "$POLIPOUSER:$POLIPOGROUP" "%%DESTDIR%%$POLIPOCACHE" || exit 1 >- chmod ug=rwx,o= "%%DESTDIR%%$POLIPOCACHE" || exit 1 >- fi >- > if [ ! -d "%%DESTDIR%%$PPIDDIR" ]; then > mkdir -p "%%DESTDIR%%$PPIDDIR" || exit 1 > chgrp "$POLIPOGROUP" "%%DESTDIR%%$PPIDDIR" || exit 1 >diff -urN polipo.orig/pkg-plist polipo/pkg-plist >--- polipo.orig/pkg-plist 2014-11-01 02:09:22.000000000 +0900 >+++ polipo/pkg-plist 2014-11-04 22:03:21.000000000 +0900 >@@ -4,4 +4,4 @@ > etc/periodic/daily/400.polipo > man/man1/polipo.1.gz > %%DATADIR%%/www/index.html >-@dir %%PCACHEDIR%% >+@dir(polipo,polipo,0770) %%PCACHEDIR%%
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 194813
: 149030 |
149031
|
149032