Commit f597fff3 authored by Franco Fichtner's avatar Franco Fichtner

pkg: ignore a few more files

Now that we have a plist it's easier to review/preview changes.
Can finally tackle the src/opnsense/contrib mess in a sensible
way with this and since we do not rely on mount/umount anymore.
parent 78b4d281
...@@ -25,6 +25,13 @@ ...@@ -25,6 +25,13 @@
.include "defaults.mk" .include "defaults.mk"
IGNORES_DEFAULT=*.pyc .gitignore
IGNORES+= ${IGNORES_DEFAULT}
.for IGNORE in ${IGNORES}
_IGNORES+= ! -name "${IGNORE}"
.endfor
.for TARGET in ${TREES} ${EXTRAS} .for TARGET in ${TREES} ${EXTRAS}
.if "${TREES_${TARGET}}" == "" .if "${TREES_${TARGET}}" == ""
...@@ -46,7 +53,7 @@ install-${TARGET}: force ...@@ -46,7 +53,7 @@ install-${TARGET}: force
@REALTARGET=/$$(dirname ${TREE}); \ @REALTARGET=/$$(dirname ${TREE}); \
mkdir -p ${DESTDIR}${ROOT_${TARGET}}$${REALTARGET}; \ mkdir -p ${DESTDIR}${ROOT_${TARGET}}$${REALTARGET}; \
cp -vr ${TREE} ${DESTDIR}${ROOT_${TARGET}}$${REALTARGET} cp -vr ${TREE} ${DESTDIR}${ROOT_${TARGET}}$${REALTARGET}
@(cd ${TREE}; find * -type f ! -name "*.pyc") | while read FILE; do \ @(cd ${TREE}; find * -type f ${_IGNORES}) | while read FILE; do \
if [ "$${FILE%%.in}" != "$${FILE}" ]; then \ if [ "$${FILE%%.in}" != "$${FILE}" ]; then \
sed -i '' \ sed -i '' \
-e "s=%%CORE_PACKAGESITE%%=${CORE_PACKAGESITE}=g" \ -e "s=%%CORE_PACKAGESITE%%=${CORE_PACKAGESITE}=g" \
...@@ -67,7 +74,7 @@ install-${TARGET}: force ...@@ -67,7 +74,7 @@ install-${TARGET}: force
plist-${TARGET}: force plist-${TARGET}: force
.for TREE in ${TREES_${TARGET}} .for TREE in ${TREES_${TARGET}}
@(cd ${TREE}; find * -type f ! -name "*.pyc") | while read FILE; do \ @(cd ${TREE}; find * -type f ${_IGNORES}) | while read FILE; do \
FILE="$${FILE%%.in}"; PREFIX=""; \ FILE="$${FILE%%.in}"; PREFIX=""; \
if [ -z "${NO_SAMPLE}" -a "$${FILE%%.sample}" != "$${FILE}" ]; then \ if [ -z "${NO_SAMPLE}" -a "$${FILE%%.sample}" != "$${FILE}" ]; then \
PREFIX="@shadow "; \ PREFIX="@shadow "; \
......
...@@ -255,7 +255,6 @@ ...@@ -255,7 +255,6 @@
/usr/local/opnsense/contrib/google-api-php-client/Google/Verifier/Pem.php /usr/local/opnsense/contrib/google-api-php-client/Google/Verifier/Pem.php
/usr/local/opnsense/contrib/google-api-php-client/Google/autoload.php /usr/local/opnsense/contrib/google-api-php-client/Google/autoload.php
/usr/local/opnsense/contrib/mobile-broadband-provider-info/serviceproviders.xml /usr/local/opnsense/contrib/mobile-broadband-provider-info/serviceproviders.xml
/usr/local/opnsense/contrib/simplepie/.gitignore
/usr/local/opnsense/contrib/simplepie/.travis.yml /usr/local/opnsense/contrib/simplepie/.travis.yml
/usr/local/opnsense/contrib/simplepie/LICENSE.txt /usr/local/opnsense/contrib/simplepie/LICENSE.txt
/usr/local/opnsense/contrib/simplepie/README.markdown /usr/local/opnsense/contrib/simplepie/README.markdown
...@@ -694,7 +693,6 @@ ...@@ -694,7 +693,6 @@
/usr/local/opnsense/site-python/sqlite3_helper.py /usr/local/opnsense/site-python/sqlite3_helper.py
/usr/local/opnsense/site-python/watchers/__init__.py /usr/local/opnsense/site-python/watchers/__init__.py
/usr/local/opnsense/site-python/watchers/dhcpd.py /usr/local/opnsense/site-python/watchers/dhcpd.py
/usr/local/opnsense/version/.gitignore
/usr/local/opnsense/www/.htaccess /usr/local/opnsense/www/.htaccess
/usr/local/opnsense/www/api.php /usr/local/opnsense/www/api.php
/usr/local/opnsense/www/css/bootstrap-datepicker3.min.css /usr/local/opnsense/www/css/bootstrap-datepicker3.min.css
...@@ -906,7 +904,6 @@ ...@@ -906,7 +904,6 @@
/usr/local/wizard/setup.xml /usr/local/wizard/setup.xml
/usr/local/www/carp_status.php /usr/local/www/carp_status.php
/usr/local/www/crash_reporter.php /usr/local/www/crash_reporter.php
/usr/local/www/csrf/.gitignore
/usr/local/www/csrf/csrf-magic.js /usr/local/www/csrf/csrf-magic.js
/usr/local/www/csrf/csrf-magic.php /usr/local/www/csrf/csrf-magic.php
/usr/local/www/diag_authentication.php /usr/local/www/diag_authentication.php
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment