diff options
author | Rene Ladan <rene@FreeBSD.org> | 2020-01-27 15:34:18 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2020-01-27 15:34:18 +0000 |
commit | aa2769119334a5045d38419995aca597ea24b1f1 (patch) | |
tree | 46f389d2a7bc016aa58737ba87b33fe1dfdfd3fe /news | |
parent | ad735287aef46d649c1c08ea3d049288113148cb (diff) | |
download | ports-aa2769119334a5045d38419995aca597ea24b1f1.tar.gz ports-aa2769119334a5045d38419995aca597ea24b1f1.zip |
Notes
Diffstat (limited to 'news')
-rw-r--r-- | news/Makefile | 1 | ||||
-rw-r--r-- | news/papercut/Makefile | 44 | ||||
-rw-r--r-- | news/papercut/distinfo | 2 | ||||
-rw-r--r-- | news/papercut/files/papercut-wrapper | 12 | ||||
-rw-r--r-- | news/papercut/pkg-descr | 6 | ||||
-rw-r--r-- | news/papercut/pkg-plist | 52 |
6 files changed, 0 insertions, 117 deletions
diff --git a/news/Makefile b/news/Makefile index 064940c2d8bd..edaba9e2e909 100644 --- a/news/Makefile +++ b/news/Makefile @@ -53,7 +53,6 @@ SUBDIR += p5-POE-Component-Client-NNTP SUBDIR += p5-POE-Component-Server-NNTP SUBDIR += pan - SUBDIR += papercut SUBDIR += pgpmoose SUBDIR += plor SUBDIR += py-pynzb diff --git a/news/papercut/Makefile b/news/papercut/Makefile deleted file mode 100644 index 10912d8afd8c..000000000000 --- a/news/papercut/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# Created by: Clement Laforet <sheepkiller@cultdeadsheep.org> -# $FreeBSD$ - -PORTNAME= papercut -PORTVERSION= 0.9.13 -PORTREVISION= 1 -CATEGORIES= news python -MASTER_SITES= http://pessoal.org/papercut/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Papercut is a news server written in Python, using a MySQL backend - -DEPRECATED= Unmaintained, uses EOLed python27 -EXPIRATION_DATE= 2020-01-27 - -LICENSE= MIT -LICENSE_FILE= ${WRKSRC}/LICENSE - -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:databases/py-MySQLdb@${PY_FLAVOR} - -USES= python:2.7 shebangfix -NO_BUILD= yes -NO_ARCH= yes -SHEBANG_FILES= *.py auth/*.py storage/*.py - -do-configure: - ${CP} ${FILESDIR}/papercut-wrapper ${WRKDIR}/papercut-wrapper - ${REINPLACE_CMD} -e "s,__DATADIR__,${DATADIR}," ${WRKDIR}/papercut-wrapper - ${REINPLACE_CMD} -e "s,__PYTHON__,${PYTHON_CMD}," ${WRKDIR}/papercut-wrapper - ${REINPLACE_CMD} "s,/home/papercut,${DATADIR}," ${WRKSRC}/settings.py - -do-install: - @${MKDIR} ${STAGEDIR}${DATADIR} - ${INSTALL_SCRIPT} ${WRKSRC}/*.py ${STAGEDIR}${DATADIR} - @${MKDIR} ${STAGEDIR}${DATADIR}/cache - @${MKDIR} ${STAGEDIR}${DATADIR}/logs -.for DIR in auth storage - @${MKDIR} ${STAGEDIR}${DATADIR}/${DIR} - ${INSTALL_SCRIPT} ${WRKSRC}/${DIR}/* ${STAGEDIR}${DATADIR}/${DIR} -.endfor - ${INSTALL_SCRIPT} ${WRKDIR}/papercut-wrapper ${STAGEDIR}${PREFIX}/bin/papercut - ${MV} ${STAGEDIR}${DATADIR}/settings.py ${STAGEDIR}${DATADIR}/settings.py.sample - -.include <bsd.port.mk> diff --git a/news/papercut/distinfo b/news/papercut/distinfo deleted file mode 100644 index f8cad63d0e7b..000000000000 --- a/news/papercut/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (papercut-0.9.13.tar.gz) = 5cbcd28e3f958625104da418bac08d525f05f51dd9ad724055ff1cfd17b5154b -SIZE (papercut-0.9.13.tar.gz) = 162916 diff --git a/news/papercut/files/papercut-wrapper b/news/papercut/files/papercut-wrapper deleted file mode 100644 index 51ca9df5e4ac..000000000000 --- a/news/papercut/files/papercut-wrapper +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -# Change this to your getmail directory; defaults to /usr/local/share/getmail -PPCPATH="__DATADIR__" - -PYTHONPATH="${PPCPATH}:${PYTHONPATH}" -export PYTHONPATH - -# You can change this to point to your Python interpreter if you wish. -PYTHON=__PYTHON__ - -exec "$PYTHON" ${PPCPATH}/papercut.py "$@" diff --git a/news/papercut/pkg-descr b/news/papercut/pkg-descr deleted file mode 100644 index 00498f051c20..000000000000 --- a/news/papercut/pkg-descr +++ /dev/null @@ -1,6 +0,0 @@ -Papercut is a news server written in 100% pure Python. It designed -to be use as backend for PHP, or to be run on a small network. -Messages can be stored in a MySQL database. -It doesn't support feeding. - -WWW: http://pessoal.org/papercut/ diff --git a/news/papercut/pkg-plist b/news/papercut/pkg-plist deleted file mode 100644 index d13366143242..000000000000 --- a/news/papercut/pkg-plist +++ /dev/null @@ -1,52 +0,0 @@ -bin/papercut -%%DATADIR%%/papercut.py -%%DATADIR%%/papercut_cache.py -%%DATADIR%%/portable_locker.py -@sample %%DATADIR%%/settings.py.sample -@exec echo "To use papercut you need to edit %D/%%DATADIR%%/settings.py." |fmt -%%DATADIR%%/auth/__init__.py -%%DATADIR%%/auth/mysql.py -%%DATADIR%%/auth/phorum_mysql_users.py -%%DATADIR%%/auth/phorum_pgsql_users.py -%%DATADIR%%/auth/phpbb_mysql_users.py -%%DATADIR%%/auth/phpnuke_phpbb_mysql_users.py -%%DATADIR%%/auth/postnuke_phpbb_mysql_users.py -%%DATADIR%%/storage/__init__.py -%%DATADIR%%/storage/forwarding_proxy.py -%%DATADIR%%/storage/maildir.py -%%DATADIR%%/storage/mbox.py -%%DATADIR%%/storage/mime.py -%%DATADIR%%/storage/mysql.py -%%DATADIR%%/storage/mysql_storage.sql -%%DATADIR%%/storage/p2p.py -%%DATADIR%%/storage/phorum_mysql.py -%%DATADIR%%/storage/phorum_mysql_fix.sql -%%DATADIR%%/storage/phorum_pgsql.py -%%DATADIR%%/storage/phorum_pgsql_fix.sql -%%DATADIR%%/storage/phpbb_mysql.py -%%DATADIR%%/storage/phpbb_mysql_fix.sql -%%DATADIR%%/storage/phpnuke_phpbb_mysql.py -%%DATADIR%%/storage/strutil.py -@unexec [ -f %D/%%DATADIR%%/papercut.pyc ] && rm %D/%%DATADIR%%/papercut.pyc || true -@unexec [ -f %D/%%DATADIR%%/papercut_cache.pyc ] && rm %D/%%DATADIR%%/papercut_cache.pyc || true -@unexec [ -f %D/%%DATADIR%%/portable_locker.pyc ] && rm %D/%%DATADIR%%/portable_locker.pyc || true -@unexec [ -f %D/%%DATADIR%%/settings.py ] || true -@unexec [ -f %D/%%DATADIR%%/settings.pyc ] && rm %D/%%DATADIR%%/settings.pyc || true -@unexec [ -f %D/%%DATADIR%%/auth/__init__.pyc ] && rm %D/%%DATADIR%%/auth/__init__.pyc || true -@unexec [ -f %D/%%DATADIR%%/auth/mysql.pyc ] && rm %D/%%DATADIR%%/auth/mysql.pyc || true -@unexec [ -f %D/%%DATADIR%%/auth/phorum_mysql_users.pyc ] && rm %D/%%DATADIR%%/auth/phorum_mysql_users.pyc || true -@unexec [ -f %D/%%DATADIR%%/auth/phorum_pgsql_users.pyc ] && rm %D/%%DATADIR%%/auth/phorum_mysql_users.pyc || true -@unexec [ -f %D/%%DATADIR%%/auth/phpbb_mysql_users.pyc ] && rm %D/%%DATADIR%%/auth/phpbb_mysql_users.pyc || true -@unexec [ -f %D/%%DATADIR%%/storage/__init__.pyc ] && rm %D/%%DATADIR%%/storage/__init__.pyc || true -@unexec [ -f %D/%%DATADIR%%/storage/forwarding_proxy.pyc ] && rm %D/%%DATADIR%%/storage/forwarding_proxy.pyc || true -@unexec [ -f %D/%%DATADIR%%/storage/mbox.pyc ] && rm %D/%%DATADIR%%/storage/mbox.pyc || true -@unexec [ -f %D/%%DATADIR%%/storage/mime.pyc ] && rm %D/%%DATADIR%%/storage/mime.pyc || true -@unexec [ -f %D/%%DATADIR%%/storage/mysql.pyc ] && rm %D/%%DATADIR%%/storage/mysql.pyc || true -@unexec [ -f %D/%%DATADIR%%/storage/p2p.pyc ] && rm %D/%%DATADIR%%/storage/p2p.pyc || true -@unexec [ -f %D/%%DATADIR%%/storage/phorum_mysql.pyc ] && rm %D/%%DATADIR%%/storage/phorum_mysql.pyc || true -@unexec [ -f %D/%%DATADIR%%/storage/phorum_pgsql.pyc ] && rm %D/%%DATADIR%%/storage/phorum_pgsql.pyc || true -@unexec [ -f %D/%%DATADIR%%/storage/phpbb_mysql.pyc ] && rm %D/%%DATADIR%%/storage/phpbb_mysql.pyc || true -@unexec [ -f %D/%%DATADIR%%/storage/strutil.pyc ] && rm %D/%%DATADIR%%/storage/strutil.pyc || true -@dir %%DATADIR%%/logs -@dir %%DATADIR%%/cache -@unexec rmdir %D/%%DATADIR%% 2> /dev/null || echo "If you are permanently removing this port, you should do a ``rm -rf %D/%%DATADIR%%`` to remove any files left." | fmt |