mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
cdedada0e6
- Fix overwriting of Update, Update.Fast and dbl_expand files while upgrading (with WITH_DBL=yes) PR: 95300 Submitted by: Elisey O. Savateev (maintainer) Reported by: pointyhat via kris [1]
47 lines
3.0 KiB
Plaintext
47 lines
3.0 KiB
Plaintext
@comment $FreeBSD$
|
|
%%DBL%%%%INSTALL_DIR%%/dbl/FAST
|
|
%%DBL%%%%INSTALL_DIR%%/dbl/FULL
|
|
%%DBL%%@dirrmtry %%INSTALL_DIR%%/dbl/NEW
|
|
%%DBL%%@unexec if cmp -s %%PREFIX%%/%%INSTALL_DIR%%/dbl/Update %%PREFIX%%/%%INSTALL_DIR%%/dbl/Update.dist; then rm -f %%PREFIX%%/%%INSTALL_DIR%%/dbl/Update; fi
|
|
%%DBL%%%%INSTALL_DIR%%/dbl/Update.dist
|
|
%%DBL%%@exec [ -f %%PREFIX%%/%%INSTALL_DIR%%/dbl/Update ] || cp -p %%PREFIX%%/%%INSTALL_DIR%%/dbl/Update.dist %%PREFIX%%/%%INSTALL_DIR%%/dbl/Update
|
|
%%DBL%%@unexec if cmp -s %%PREFIX%%/%%INSTALL_DIR%%/dbl/Update.Fast %%PREFIX%%/%%INSTALL_DIR%%/dbl/Update.Fast.dist; then rm -f %%PREFIX%%/%%INSTALL_DIR%%/dbl/Update.Fast; fi
|
|
%%DBL%%%%INSTALL_DIR%%/dbl/Update.Fast.dist
|
|
%%DBL%%@exec [ -f %%PREFIX%%/%%INSTALL_DIR%%/dbl/Update.Fast ] || cp -p %%PREFIX%%/%%INSTALL_DIR%%/dbl/Update.Fast.dist %%PREFIX%%/%%INSTALL_DIR%%/dbl/Update.Fast
|
|
%%DBL%%@unexec if cmp -s %%PREFIX%%/%%INSTALL_DIR%%/dbl/dbl_expand %%PREFIX%%/%%INSTALL_DIR%%/dbl/dbl_expand.dist; then rm -f %%PREFIX%%/%%INSTALL_DIR%%/dbl/dbl_expand; fi
|
|
%%DBL%%%%INSTALL_DIR%%/dbl/dbl_expand.dist
|
|
%%DBL%%@exec [ -f %%PREFIX%%/%%INSTALL_DIR%%/dbl/dbl_expand ] || cp -p %%PREFIX%%/%%INSTALL_DIR%%/dbl/dbl_expand.dist %%PREFIX%%/%%INSTALL_DIR%%/dbl/dbl_expand
|
|
%%DBL%%%%INSTALL_DIR%%/dbl/dbl_stat
|
|
%%DBL%%@dirrmtry %%INSTALL_DIR%%/dbl/lists
|
|
%%DBL%%@dirrmtry %%INSTALL_DIR%%/dbl
|
|
%%INSTALL_DIR%%/make-cache
|
|
%%INSTALL_DIR%%/redirector
|
|
@unexec if cmp -s %%PREFIX%%/%%INSTALL_DIR%%/redirector.conf %%PREFIX%%/%%INSTALL_DIR%%/redirector.conf.dist; then rm -f %%PREFIX%%/%%INSTALL_DIR%%/redirector.conf; fi
|
|
%%INSTALL_DIR%%/redirector.conf.dist
|
|
@exec [ -f %%PREFIX%%/%%INSTALL_DIR%%/redirector.conf ] || cp -p %%PREFIX%%/%%INSTALL_DIR%%/redirector.conf.dist %%PREFIX%%/%%INSTALL_DIR%%/redirector.conf
|
|
%%INSTALL_DIR%%/tools/IN.gz
|
|
%%INSTALL_DIR%%/tools/benchmark
|
|
%%INSTALL_DIR%%/tools/check-redirector
|
|
%%INSTALL_DIR%%/tools/kill-cache
|
|
%%INSTALL_DIR%%/tools/set-permissions
|
|
@dirrm %%INSTALL_DIR%%/tools
|
|
@dirrmtry %%INSTALL_DIR%%
|
|
%%BAN%%share/examples/%%INSTALL_DIR%%/banlists/banners/pcre
|
|
%%BAN%%share/examples/%%INSTALL_DIR%%/banlists/banners/urls
|
|
%%BAN%%@dirrm share/examples/%%INSTALL_DIR%%/banlists/banners
|
|
%%BAN%%share/examples/%%INSTALL_DIR%%/banlists/js/urls
|
|
%%BAN%%@dirrm share/examples/%%INSTALL_DIR%%/banlists/js
|
|
%%BAN%%share/examples/%%INSTALL_DIR%%/banlists/mp3/pcre
|
|
%%BAN%%@dirrm share/examples/%%INSTALL_DIR%%/banlists/mp3
|
|
%%BAN%%share/examples/%%INSTALL_DIR%%/banlists/porno/urls
|
|
%%BAN%%@dirrm share/examples/%%INSTALL_DIR%%/banlists/porno
|
|
%%BAN%%@dirrm share/examples/%%INSTALL_DIR%%/banlists
|
|
%%WWW%%share/examples/%%INSTALL_DIR%%/squid-like-www-en/1x1.gif
|
|
%%WWW%%share/examples/%%INSTALL_DIR%%/squid-like-www-en/access_denied.html
|
|
%%WWW%%share/examples/%%INSTALL_DIR%%/squid-like-www-en/audio-video.html
|
|
%%WWW%%share/examples/%%INSTALL_DIR%%/squid-like-www-en/js.js
|
|
%%WWW%%share/examples/%%INSTALL_DIR%%/squid-like-www-en/porno.html
|
|
%%WWW%%share/examples/%%INSTALL_DIR%%/squid-like-www-en/spyware.html
|
|
%%WWW%%@dirrm share/examples/%%INSTALL_DIR%%/squid-like-www-en
|
|
@dirrmtry share/examples/%%INSTALL_DIR%%
|