Hello Steve,
On Sat, 23.07.2005 at 20:24:08 -0400, Steve Shockley <[EMAIL PROTECTED]> wrote: > I've updated my Courier-MTA and Courier-Authlib ports, linked below. > Please take a look and consider committing them, or let me know what I > should change to make them commit-worthy. unfortunately, your port didn't get commited for 3.8. > It currently creates user/group _courier, ID 601, but I'd be happy to > change that to an "official" one. I hereby request assigning an official user and groupid of "_courier". > http://shockley.net/OpenBSD/courier-authlib-0.57-port.tgz > http://shockley.net/OpenBSD/courier-0.50.1-port.tgz I'm underway mangling that into a similar structure as eg. have the Python or PHP ports: mail/courier /authlib /imap /sqwebmail (would do for me, and have a unified structure for the whole beast, but you probably also want) /mta /pop3 /... ? My goal would be to update to the latest of these packages instead of keep lingering at pre-authlib versions... So far, I replaced your patch-configure with a patch-configure_in, taking in your patch: --- configure.in.orig Fri Dec 9 00:15:55 2005 +++ configure.in Mon Dec 26 12:44:50 2005 @@ -912,8 +912,8 @@ then $COURIERCONFIG >conftest.out || exit 1 sed -n '/^mail/p' <conftest.out >conftest2.out || exit 1 - . conftest2.out - rm -f conftest.out conftest2.out + . ./conftest2.out + rm -f ./conftest.out ./conftest2.out cmailuser="$mailuser" cmailgroup="$mailgroup" @@ -924,8 +924,8 @@ then $bindir/courierauthconfig --configfiles >conftest.out || exit 1 sed -n '/^mail/p' <conftest.out >conftest2.out || exit 1 - . conftest2.out - rm -f conftest.out conftest2.out + . ./conftest2.out + rm -f ./conftest.out ./conftest2.out cmailuser="$mailuser" cmailgroup="$mailgroup" @@ -952,7 +952,7 @@ #include <pwd.h> #include <stdlib.h> -static const char *ids $LB $RB={"courier","daemon","adm","bin","root", 0}; +static const char *ids $LB $RB={"_courier", 0}; int main() { @@ -998,7 +998,7 @@ #include <grp.h> #include <stdlib.h> -static const char *ids $LB $RB={"courier", "daemon","sys","adm", "root", 0}; +static const char *ids $LB $RB={"_courier", "daemon", 0}; int main() { @@ -1032,7 +1032,7 @@ AC_MSG_RESULT([$mailgroup $result]) AC_SUBST(mailuser) AC_SUBST(mailgroup) -rm -f conftest.out +rm -f ./conftest.out AC_ARG_WITH(stdheaderdir, [ --without-stdheaderdir Header files will be installed into a directory The uid mentioned above must exist at build time (ie, on both the build system _and_ the target system), but I'm unsure about how to express that - unless there'd be a fake package that contains only adding this uid and gid, but do nothing else, and mention that as BUILD_DEPENDS and RUN_DEPENDS. Comments are most welcome. Best, --Toni++