pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
gnunet: move MESSAGE to share/doc/gnunet/
Module Name: pkgsrc-wip
Committed By: nikita <nikita%NetBSD.org@localhost>
Pushed By: nikita
Date: Wed Nov 2 09:02:01 2022 +0100
Changeset: b61ac80953ce6cde6c73a4e1c410b9ba16b2e070
Modified Files:
gnunet/Makefile
Added Files:
gnunet/files/README.pkgsrc.txt
Removed Files:
gnunet/MESSAGE
Log Message:
gnunet: move MESSAGE to share/doc/gnunet/
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b61ac80953ce6cde6c73a4e1c410b9ba16b2e070
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gnunet/MESSAGE | 41 -----------------------------------------
gnunet/Makefile | 3 +++
gnunet/files/README.pkgsrc.txt | 41 +++++++++++++++++++++++++++++++++++++++++
3 files changed, 44 insertions(+), 41 deletions(-)
diffs:
diff --git a/gnunet/MESSAGE b/gnunet/MESSAGE
deleted file mode 100644
index 1846486a48..0000000000
--- a/gnunet/MESSAGE
+++ /dev/null
@@ -1,41 +0,0 @@
-===========================================================================
-$NetBSD$
-
-To enable this package, put the following into your /etc/rc.conf:
-
- gnunet=YES
-
-and ensure that
-
- ${RCD_SCRIPTS_DIR}/gnunet start
-
-is run at the appropriate time.
-Each GNUnet user should be added to the ${GNUNET_GROUP}.
-
-Each GNUnet user must add a ~/.config/gnunet.conf file
-with these lines:
-
-[arm]
-START_SYSTEM_SERVICES = NO
-START_USER_SERVICES = YES
-
-
-Finally, each user in this multi-user setup, must start
-gnunet with "gnunet-arm -s".
-
-You can achieve this (for one user) with this in your /etc/rc.conf:
-
- gnunetuser=YES
- gnunetuser_user=name
- gnunetuser_user_home="/home/name"
-
-if your user name is "name", and
-
- ${RCD_SCRIPTS_DIR}/gnunetuser start
-
-Read the documentation (info gnunet) and provided example
-files as well as the man pages to learn how to customize
-your peer configuration. An online documentation is
-provided at https://docs.gnunet.org/ as well as offline at
-${PREFIX}/share/doc/gnunet/html/index.html.
-===========================================================================
diff --git a/gnunet/Makefile b/gnunet/Makefile
index 8f1b33c112..3ccdf7e358 100644
--- a/gnunet/Makefile
+++ b/gnunet/Makefile
@@ -63,6 +63,7 @@ FILES_SUBST+= PKG_HOME=${GNUNET_DIR}
post-extract:
${CP} ${FILESDIR}/gnunet.conf ${WRKSRC}/gnunet.conf
${CP} ${FILESDIR}/gnunet_user.conf ${WRKSRC}/gnunet_user.conf
+ ${CP} ${FILESDIR}/README.pkgsrc.txt ${WRKSRC}/README.pkgsrc.txt
SUBST_CLASSES+= sysconfdir
SUBST_STAGE.sysconfdir= pre-configure
@@ -77,6 +78,8 @@ post-configure:
${MKDIR} ${DESTDIR}${PKG_SYSCONFDIR}
${INSTALL_DATA} ${WRKSRC}/gnunet.conf ${DESTDIR}${PKG_SYSCONFDIR}/gnunet.conf
${INSTALL_DATA} ${WRKSRC}/gnunet_user.conf ${DESTDIR}${PKG_SYSCONFDIR}/gnunet_user.conf
+ ${MKDIR} ${DESTDIR}/share/doc/gnunet/
+ ${INSTALL_DATA} ${WRKSRC}/README.pkgsrc.txt ${DESTDIR}/share/doc/gnunet/README.pkgsrc.txt
# All helpers have to be suid. fs helper must not be suid.
# Some helpers and functionalities are only supported on
diff --git a/gnunet/files/README.pkgsrc.txt b/gnunet/files/README.pkgsrc.txt
new file mode 100644
index 0000000000..1846486a48
--- /dev/null
+++ b/gnunet/files/README.pkgsrc.txt
@@ -0,0 +1,41 @@
+===========================================================================
+$NetBSD$
+
+To enable this package, put the following into your /etc/rc.conf:
+
+ gnunet=YES
+
+and ensure that
+
+ ${RCD_SCRIPTS_DIR}/gnunet start
+
+is run at the appropriate time.
+Each GNUnet user should be added to the ${GNUNET_GROUP}.
+
+Each GNUnet user must add a ~/.config/gnunet.conf file
+with these lines:
+
+[arm]
+START_SYSTEM_SERVICES = NO
+START_USER_SERVICES = YES
+
+
+Finally, each user in this multi-user setup, must start
+gnunet with "gnunet-arm -s".
+
+You can achieve this (for one user) with this in your /etc/rc.conf:
+
+ gnunetuser=YES
+ gnunetuser_user=name
+ gnunetuser_user_home="/home/name"
+
+if your user name is "name", and
+
+ ${RCD_SCRIPTS_DIR}/gnunetuser start
+
+Read the documentation (info gnunet) and provided example
+files as well as the man pages to learn how to customize
+your peer configuration. An online documentation is
+provided at https://docs.gnunet.org/ as well as offline at
+${PREFIX}/share/doc/gnunet/html/index.html.
+===========================================================================
Home |
Main Index |
Thread Index |
Old Index