You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(19) |
Nov
(34) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(3) |
Feb
(1) |
Mar
(4) |
Apr
(31) |
May
(15) |
Jun
(33) |
Jul
(3) |
Aug
(7) |
Sep
(2) |
Oct
(7) |
Nov
(2) |
Dec
|
2005 |
Jan
|
Feb
(7) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(13) |
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(2) |
Oct
|
Nov
(3) |
Dec
|
2015 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Friedrich L. <fr...@us...> - 2004-04-11 20:30:29
|
Update of /cvsroot/ipac-ng/ipac-ng/agents/iptables In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17706/agents/iptables Modified Files: Makefile.in Log Message: make distclean Index: Makefile.in =================================================================== RCS file: /cvsroot/ipac-ng/ipac-ng/agents/iptables/Makefile.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.in 6 Jul 2003 11:34:52 -0000 1.2 +++ Makefile.in 11 Apr 2004 20:16:43 -0000 1.3 @@ -12,3 +12,6 @@ %.o: %.c ../../config.h ../../ipac.h ../../lib/libnet.h $(CC) -c -I. -I../.. $(DEFS) $(CFLAGS) $< -o $@ + +distclean: + rm -f Makefile *~ |
From: Friedrich L. <fr...@us...> - 2004-04-11 20:30:29
|
Update of /cvsroot/ipac-ng/ipac-ng/storage/postgre In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17706/storage/postgre Modified Files: Makefile.in Log Message: make distclean Index: Makefile.in =================================================================== RCS file: /cvsroot/ipac-ng/ipac-ng/storage/postgre/Makefile.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.in 6 Jul 2003 11:34:52 -0000 1.2 +++ Makefile.in 11 Apr 2004 20:16:43 -0000 1.3 @@ -16,3 +16,6 @@ clean: rm -f libstorpostgre.a postgre.o +distclean: + rm -f Makefile *~ + |
From: Friedrich L. <fr...@us...> - 2004-04-11 20:30:29
|
Update of /cvsroot/ipac-ng/ipac-ng/storage In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17706/storage Modified Files: Makefile.in Log Message: make distclean Index: Makefile.in =================================================================== RCS file: /cvsroot/ipac-ng/ipac-ng/storage/Makefile.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.in 6 Jul 2003 11:34:52 -0000 1.2 +++ Makefile.in 11 Apr 2004 20:16:43 -0000 1.3 @@ -47,7 +47,7 @@ clean: clean-recursive distclean: clean distclean-recursive - rm -f Makefile + rm -f Makefile *~ maintainerclean: distclean maintainerclean-recursive |
From: Friedrich L. <fr...@us...> - 2004-04-11 20:30:27
|
Update of /cvsroot/ipac-ng/ipac-ng/agents In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17706/agents Modified Files: Makefile.in Log Message: make distclean Index: Makefile.in =================================================================== RCS file: /cvsroot/ipac-ng/ipac-ng/agents/Makefile.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.in 6 Jul 2003 11:34:52 -0000 1.2 +++ Makefile.in 11 Apr 2004 20:16:42 -0000 1.3 @@ -47,7 +47,7 @@ clean: clean-recursive distclean: clean distclean-recursive - rm -f Makefile + rm -f Makefile *~ maintainerclean: distclean maintainerclean-recursive |
From: Friedrich L. <fr...@us...> - 2004-04-11 20:30:27
|
Update of /cvsroot/ipac-ng/ipac-ng/access In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17706/access Modified Files: Makefile.in Log Message: make distclean Index: Makefile.in =================================================================== RCS file: /cvsroot/ipac-ng/ipac-ng/access/Makefile.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.in 6 Jul 2003 11:34:52 -0000 1.2 +++ Makefile.in 11 Apr 2004 20:16:42 -0000 1.3 @@ -47,7 +47,7 @@ clean: clean-recursive distclean: clean distclean-recursive - rm -f Makefile + rm -f Makefile *~ maintainerclean: distclean maintainerclean-recursive |
From: Friedrich L. <fr...@us...> - 2004-04-11 20:30:27
|
Update of /cvsroot/ipac-ng/ipac-ng In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17706 Modified Files: Makefile.in Log Message: make distclean Index: Makefile.in =================================================================== RCS file: /cvsroot/ipac-ng/ipac-ng/Makefile.in,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- Makefile.in 15 Jan 2004 17:09:08 -0000 1.5 +++ Makefile.in 11 Apr 2004 20:16:32 -0000 1.6 @@ -191,7 +191,7 @@ distclean: clean distclean-recursive rm -f Makefile config.h config.status config.cache config.log \ subst-config ipactest - rm -fr autom4te.cache + rm -fr autom4te.cache *~ maintainerclean: distclean rm -f configure config.h.in stamp-h.in |
From: <fr...@us...> - 2004-03-06 20:17:21
|
Update of /cvsroot/ipac-ng/docs/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv434/admin Modified Files: developer-status.txt Log Message: correct small typo Index: developer-status.txt =================================================================== RCS file: /cvsroot/ipac-ng/docs/admin/developer-status.txt,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- developer-status.txt 6 Mar 2004 19:47:04 -0000 1.3 +++ developer-status.txt 6 Mar 2004 20:02:16 -0000 1.4 @@ -1,7 +1,7 @@ Currently there exit the following types of developers, listed with their rights and the associated persons: -status | access rights | name | @sourceforge.net +status | access rights | name | @users.sourceforge.net ----------+----------------------+-----------------------+-------------------------- Project | all rights | Al Zaharov | kaiser13 Admins | | Friedrich Lobenstock | friedl |
From: <fr...@us...> - 2004-03-06 20:02:09
|
Update of /cvsroot/ipac-ng/docs/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29903/admin Modified Files: developer-status.txt Log Message: remove empty line Index: developer-status.txt =================================================================== RCS file: /cvsroot/ipac-ng/docs/admin/developer-status.txt,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- developer-status.txt 6 Mar 2004 19:43:29 -0000 1.2 +++ developer-status.txt 6 Mar 2004 19:47:04 -0000 1.3 @@ -1,7 +1,6 @@ Currently there exit the following types of developers, listed with their rights and the associated persons: - status | access rights | name | @sourceforge.net ----------+----------------------+-----------------------+-------------------------- Project | all rights | Al Zaharov | kaiser13 |
From: <fr...@us...> - 2004-03-06 19:58:35
|
Update of /cvsroot/ipac-ng/docs/developer In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29224/developer Modified Files: new-developer.txt Log Message: a little reformating Index: new-developer.txt =================================================================== RCS file: /cvsroot/ipac-ng/docs/developer/new-developer.txt,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- new-developer.txt 6 Mar 2004 19:26:04 -0000 1.1.1.1 +++ new-developer.txt 6 Mar 2004 19:43:29 -0000 1.2 @@ -32,14 +32,15 @@ test -s ~/.alias && . ~/.alias "~/.alias": - alias cvs_ipac='cvs -z3 -d:ext:${SFUSER}@cvs.sourceforge.net:/cvsroot/ipac-ng' + alias cvs_ipac='cvs -z3 \ + -d:ext:${SFUSER}@cvs.sourceforge.net:/cvsroot/ipac-ng' * Let's test this right aways. So either login again or open a new "konsole" (if you use KDE) or a new shell. - Check with "alias cvs_ipac" that the alias exists and then run "cvs_ipac - checkout -c" which should show you the modules that you can check out, - eg. + Check with "alias cvs_ipac" that the alias exists and then run + "cvs_ipac checkout -c" which should show you the modules that you can + check out, eg. # cvs_ipac checkout -c ipac-ng ipac-ng @@ -61,8 +62,9 @@ * Last but not least you might want to sign up on the CVS commit mailinglist so you see immediately when changes you sent in to one of the Senior-, Core Developers or Project Admins got applied. Go to - http://lists.sourceforge.net/lists/listinfo/ipac-ng-commit or mail with - subject "subscribe" to ipa...@li... + http://lists.sourceforge.net/lists/listinfo/ipac-ng-commit + or mail with subject "subscribe" to + ipa...@li... Hope that should get you going as fast as possible. If I have forgotten |
From: <fr...@us...> - 2004-03-06 19:58:34
|
Update of /cvsroot/ipac-ng/docs/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29224/admin Modified Files: developer-status.txt Log Message: a little reformating Index: developer-status.txt =================================================================== RCS file: /cvsroot/ipac-ng/docs/admin/developer-status.txt,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- developer-status.txt 6 Mar 2004 19:26:04 -0000 1.1.1.1 +++ developer-status.txt 6 Mar 2004 19:43:29 -0000 1.2 @@ -1,23 +1,24 @@ Currently there exit the following types of developers, listed with their rights and the associated persons: -status | access rights | name | use...@so... -----------+--------------------------+--------------------------+-------------------------- -Project | all rights | Al Zaharov | kaiser13 -Admins | | Friedrich Lobenstock | friedl - | | | -----------+--------------------------+--------------------------+-------------------------- -Developer | checkout from latest CVS | Simon Hausmann | hausmann - | no commit | | - | | | -----------+--------------------------+--------------------------+-------------------------- -Senior | +commit | | -Developer | | | - | | | -----------+--------------------------+--------------------------+-------------------------- -Core | +other rights yet to be | | -Developer | defined | | - | | | -----------+--------------------------+--------------------------+-------------------------- + +status | access rights | name | @sourceforge.net +----------+----------------------+-----------------------+-------------------------- +Project | all rights | Al Zaharov | kaiser13 +Admins | | Friedrich Lobenstock | friedl + | | | +----------+----------------------+-----------------------+-------------------------- +Developer | checkout from latest | Simon Hausmann | hausmann + | CVS, no commit | | + | | | +----------+----------------------+-----------------------+-------------------------- +Senior | +commit | | +Developer | | | + | | | +----------+----------------------+-----------------------+-------------------------- +Core | +other rights yet | | +Developer | to be defined | | + | | | +----------+----------------------+-----------------------+-------------------------- $Id$ |
From: <fr...@us...> - 2004-02-02 22:21:44
|
Update of /cvsroot/ipac-ng/ipac-ng/storage/postgre In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9633 Modified Files: postgre.c Log Message: remove leftover of non-classic-mode removal Index: postgre.c =================================================================== RCS file: /cvsroot/ipac-ng/ipac-ng/storage/postgre/postgre.c,v retrieving revision 1.28 retrieving revision 1.29 diff -u -d -r1.28 -r1.29 --- postgre.c 19 Nov 2003 03:55:13 -0000 1.28 +++ postgre.c 2 Feb 2004 22:19:35 -0000 1.29 @@ -554,34 +554,6 @@ return 0; } -int postgre_stor_rule_active (char *rule_name) -{ - int tmp = 1; - char wh_exec[300]; - - res = PQexec (conn, "BEGIN"); - PQclear (res); - - sprintf (wh_exec, "declare mycursor binary cursor for " - "SELECT active FROM active WHERE rule_name = '%s'", rule_name); - res = PQexec (conn, wh_exec); - PQclear (res); - - res = PQexec (conn, "FETCH ALL in mycursor"); - if (!res || PQntuples (res) != 0) - tmp = * (int *) PQgetvalue (res, 0, 0); - PQclear (res); - - DPRINTF ("postgre_stor_rule_active\n"); - - res = PQexec (conn, "CLOSE mycursor"); - PQclear (res); - res = PQexec (conn, "COMMIT"); - PQclear (res); - - return tmp; -} - void postgre_stor_close () { DPRINTF ("postgre_stor_close()\n"); |
From: <fr...@us...> - 2004-01-15 17:14:14
|
Update of /cvsroot/ipac-ng/ipac-ng In directory sc8-pr-cvs1:/tmp/cvs-serv28952 Removed Files: UPDATE-1.26 Log Message: removed --- UPDATE-1.26 DELETED --- |
From: <fr...@us...> - 2004-01-15 17:13:36
|
Update of /cvsroot/ipac-ng/ipac-ng In directory sc8-pr-cvs1:/tmp/cvs-serv28866 Modified Files: ipac-ng.spec Log Message: there's now webinterface anymore Index: ipac-ng.spec =================================================================== RCS file: /cvsroot/ipac-ng/ipac-ng/ipac-ng.spec,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- ipac-ng.spec 6 Jul 2003 15:57:00 -0000 1.4 +++ ipac-ng.spec 15 Jan 2004 17:13:32 -0000 1.5 @@ -30,14 +30,14 @@ mkdir -p $RPM_BUILD_ROOT/etc mkdir -p $RPM_BUILD_ROOT/etc/ipac-ng mkdir -p $RPM_BUILD_ROOT/var/www/cgi-bin -mkdir -p $RPM_BUILD_ROOT/var/www/html/stat +#mkdir -p $RPM_BUILD_ROOT/var/www/html/stat mkdir -p $RPM_BUILD_ROOT/var/lib/ipac install -m 644 contrib/sample_configs/ipac.conf $RPM_BUILD_ROOT/etc/ipac-ng/ipac.conf install -m 644 contrib/sample_configs/rules.conf.ipchains $RPM_BUILD_ROOT/etc/ipac-ng/rules.conf.ipchains install -m 644 contrib/sample_configs/rules.conf.iptables $RPM_BUILD_ROOT/etc/ipac-ng/rules.conf.iptables -install -m 644 html/stat/index.html $RPM_BUILD_ROOT/var/www/html/stat/index.html -install -m 644 html/cgi-bin/.htaccess $RPM_BUILD_ROOT/var/www/cgi-bin/.htaccess -install -m 755 html/cgi-bin/* $RPM_BUILD_ROOT/var/www/cgi-bin +#install -m 644 html/stat/index.html $RPM_BUILD_ROOT/var/www/html/stat/index.html +#install -m 644 html/cgi-bin/.htaccess $RPM_BUILD_ROOT/var/www/cgi-bin/.htaccess +#install -m 755 html/cgi-bin/* $RPM_BUILD_ROOT/var/www/cgi-bin touch $RPM_BUILD_ROOT/var/lib/ipac/flag %clean @@ -55,13 +55,13 @@ %attr(755,root,root)/usr/sbin/ipacsum %attr(755,root,root)/usr/sbin/fetchipac %attr(755,root,root)/usr/sbin/ipac-convert -%attr(644,nobody,nobody)/var/www/html/stat/index.html +#%attr(644,nobody,nobody)/var/www/html/stat/index.html %attr(644,root,root)/var/www/cgi-bin/.htaccess %attr(755,nobody,nobody)/var/www/cgi-bin/* %attr(664,apache,nobody)/var/lib/ipac/flag %dir /var/lib/ipac %dir /var/www/cgi-bin -%dir /var/www/html/stat +#%dir /var/www/html/stat %doc %attr(644,root,root)CHANGES COPYING README README-NG TODO UPDATE contrib/* postgre.readme ipac-ng.sql %{_mandir}/man8/*.8.gz |
From: <fr...@us...> - 2004-01-15 17:09:11
|
Update of /cvsroot/ipac-ng/ipac-ng In directory sc8-pr-cvs1:/tmp/cvs-serv27530 Modified Files: Makefile.in Log Message: - remove html/cgi-bin/ipac_cfg.pm from SUBSTFILES - add "rm -fr autom4te.cache" to distclean Index: Makefile.in =================================================================== RCS file: /cvsroot/ipac-ng/ipac-ng/Makefile.in,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- Makefile.in 8 Nov 2003 01:23:37 -0000 1.4 +++ Makefile.in 15 Jan 2004 17:09:08 -0000 1.5 @@ -1,5 +1,5 @@ # $Id$ -SUBSTFILES=ipacsum fetchipac.8 ipacsum.8 ipac-convert.8 html/cgi-bin/ipac_cfg.pm +SUBSTFILES=ipacsum fetchipac.8 ipacsum.8 ipac-convert.8 SHFILES=ipacsum ipac-convert ipactest ELFFILES=fetchipac INSTFILES=fetchipac ipacsum ipac-convert @@ -191,6 +191,7 @@ distclean: clean distclean-recursive rm -f Makefile config.h config.status config.cache config.log \ subst-config ipactest + rm -fr autom4te.cache maintainerclean: distclean rm -f configure config.h.in stamp-h.in |
From: <kai...@us...> - 2003-11-30 08:35:00
|
Update of /cvsroot/ipac-ng/ipac-ng/html/stat In directory sc8-pr-cvs1:/tmp/cvs-serv1832/html/stat Removed Files: index.html Log Message: finalizing nonclassic mode removal --- index.html DELETED --- |
From: <kai...@us...> - 2003-11-30 08:35:00
|
Update of /cvsroot/ipac-ng/ipac-ng/contrib In directory sc8-pr-cvs1:/tmp/cvs-serv1832/contrib Removed Files: ipac-ng-empty.sql Log Message: finalizing nonclassic mode removal --- ipac-ng-empty.sql DELETED --- |
Update of /cvsroot/ipac-ng/ipac-ng/html/cgi-bin In directory sc8-pr-cvs1:/tmp/cvs-serv1832/html/cgi-bin Removed Files: br_customers br_net br_nets br_services br_tar_name br_tariffs ch_pass dele_cust dele_net dele_net_name dele_service dele_tar_name dele_tariff edit_cust edit_net edit_net_name edit_serv_name edit_service edit_tar_name edit_tariff ipac_cfg.pm make_pay new_customer new_net new_net_name new_service new_tar_name new_tariff payment_history traffic user_home Log Message: finalizing nonclassic mode removal --- br_customers DELETED --- --- br_net DELETED --- --- br_nets DELETED --- --- br_services DELETED --- --- br_tar_name DELETED --- --- br_tariffs DELETED --- --- ch_pass DELETED --- --- dele_cust DELETED --- --- dele_net DELETED --- --- dele_net_name DELETED --- --- dele_service DELETED --- --- dele_tar_name DELETED --- --- dele_tariff DELETED --- --- edit_cust DELETED --- --- edit_net DELETED --- --- edit_net_name DELETED --- --- edit_serv_name DELETED --- --- edit_service DELETED --- --- edit_tar_name DELETED --- --- edit_tariff DELETED --- --- ipac_cfg.pm DELETED --- --- make_pay DELETED --- --- new_customer DELETED --- --- new_net DELETED --- --- new_net_name DELETED --- --- new_service DELETED --- --- new_tar_name DELETED --- --- new_tariff DELETED --- --- payment_history DELETED --- --- traffic DELETED --- --- user_home DELETED --- |
From: <kai...@us...> - 2003-11-30 08:35:00
|
Update of /cvsroot/ipac-ng/ipac-ng In directory sc8-pr-cvs1:/tmp/cvs-serv1832 Removed Files: ipac-ng.sql Log Message: finalizing nonclassic mode removal --- ipac-ng.sql DELETED --- |
From: <kai...@us...> - 2003-11-19 03:55:16
|
Update of /cvsroot/ipac-ng/ipac-ng/storage/postgre In directory sc8-pr-cvs1:/tmp/cvs-serv11680/storage/postgre Modified Files: postgre.c Log Message: some cleanup Index: postgre.c =================================================================== RCS file: /cvsroot/ipac-ng/ipac-ng/storage/postgre/postgre.c,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- postgre.c 9 Nov 2003 17:17:39 -0000 1.27 +++ postgre.c 19 Nov 2003 03:55:13 -0000 1.28 @@ -451,7 +451,7 @@ data_record_type **data, char *filter) { rule_type *r, *r1 = NULL; - int i, nr_timestamps, index; + int i, nr_timestamps = 0, index; timestamp_t timestamp_akt; char wh_exec[320]; |
From: <kai...@us...> - 2003-11-19 03:55:16
|
Update of /cvsroot/ipac-ng/ipac-ng/access/files In directory sc8-pr-cvs1:/tmp/cvs-serv11680/access/files Modified Files: rules.y Log Message: some cleanup Index: rules.y =================================================================== RCS file: /cvsroot/ipac-ng/ipac-ng/access/files/rules.y,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- rules.y 6 Jul 2003 10:33:08 -0000 1.1.1.1 +++ rules.y 19 Nov 2003 03:55:12 -0000 1.2 @@ -240,7 +240,7 @@ EXT_E { } | WORD { - int i=0; + unsigned int i=0; raw_rule_type *rr = r5; rr->extension[ext_num] = xstrdup($1); while (rr) { @@ -259,7 +259,7 @@ static void print_ext(const raw_rule_type *r) { - user_list *ul = r->extension; + user_list *ul = r->extension; while(ul) { printf(" | %s/%s", ul->login, ul->ip); ul = ul->next; |
From: <kai...@us...> - 2003-11-19 03:55:15
|
Update of /cvsroot/ipac-ng/ipac-ng In directory sc8-pr-cvs1:/tmp/cvs-serv11680 Modified Files: fetchipac.c Log Message: some cleanup Index: fetchipac.c =================================================================== RCS file: /cvsroot/ipac-ng/ipac-ng/fetchipac.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- fetchipac.c 18 Nov 2003 11:51:11 -0000 1.15 +++ fetchipac.c 19 Nov 2003 03:55:12 -0000 1.16 @@ -413,7 +413,7 @@ timestamp_t timestamp_b, timestamp_e, *t, *tlist = NULL; data_record_type *dr = NULL; char buf[256], *cp; - int n, i, cnt; + int n = 0, i, cnt; if (!storage_opened) storage_method->open(SM_OPEN_READONLY); |
From: <kai...@us...> - 2003-11-18 11:51:15
|
Update of /cvsroot/ipac-ng/ipac-ng In directory sc8-pr-cvs1:/tmp/cvs-serv23280 Modified Files: fetchipac.c Log Message: still removing nonclassic mode Index: fetchipac.c =================================================================== RCS file: /cvsroot/ipac-ng/ipac-ng/fetchipac.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- fetchipac.c 17 Nov 2003 15:27:08 -0000 1.14 +++ fetchipac.c 18 Nov 2003 11:51:11 -0000 1.15 @@ -198,25 +198,6 @@ } int -setup_status() -{ - FILE *sf; - user_list *ul; - - if(!(sf=fopen(STATUSFILE, "w"))) { - printf("Can't open status file %s\n", STATUSFILE); - return 1; - } - if (access_agent->get_user_list(&ul)) return 1; - while(ul) { - fprintf(sf, "%s|deny\n", ul->login); - ul=ul->next; - } - fclose(sf); - return 0; -} - -int setup_agents(void) { return setup_access(1); @@ -383,18 +364,6 @@ free(tlist); return n>-1 ? 0 : 1; } - -/* signal handler for SIGALRM: close the database backend to avoid - * locking it too long. - * commented out, because it introduces more problems that it solves (Manfred Weihs) - */ -/*static void alarm_closedb(int signo) -{ - db_closed_by_timer = 1; - alarm(0); - storage_method->close(); -} -*/ /* print a record on file descriptor f */ int |
From: <fr...@us...> - 2003-11-17 15:30:43
|
Update of /cvsroot/ipac-ng/ipac-ng In directory sc8-pr-cvs1:/tmp/cvs-serv29264 Modified Files: ipac.h Log Message: fix typo Index: ipac.h =================================================================== RCS file: /cvsroot/ipac-ng/ipac-ng/ipac.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- ipac.h 14 Nov 2003 19:51:29 -0000 1.5 +++ ipac.h 17 Nov 2003 15:30:00 -0000 1.6 @@ -75,7 +75,7 @@ extern int access_opened; -/* the database configuration +/* the database configuration */ extern char *dbname; extern char *dbport; extern char *dbhost; |
From: <fr...@us...> - 2003-11-17 15:27:46
|
Update of /cvsroot/ipac-ng/ipac-ng In directory sc8-pr-cvs1:/tmp/cvs-serv28710 Modified Files: fetchipac.c Log Message: correct indenting for list_timestamps() Index: fetchipac.c =================================================================== RCS file: /cvsroot/ipac-ng/ipac-ng/fetchipac.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- fetchipac.c 17 Nov 2003 15:11:32 -0000 1.13 +++ fetchipac.c 17 Nov 2003 15:27:08 -0000 1.14 @@ -327,61 +327,61 @@ int list_timestamps(timestamp_t tstart, timestamp_t tend, char *ahost) { - timestamp_t *tlist, *t, before, after; - int n, i; - char s[30]; + timestamp_t *tlist, *t, before, after; + int n, i; + char s[30]; - if (!storage_opened) { - storage_method->open(SM_OPEN_READONLY); - n = storage_method->list_timestamps(tstart, tend, &tlist, - &before, &after, ahost); - storage_method->close(); - } else - n = storage_method->list_timestamps(tstart, tend, &tlist, - &before, &after, ahost); - - if (n > 0) { - printf(machine_output_format ? "%d\n" - : "number of timestamps found: %d\n", n); - if (before != (timestamp_t)-1) { - if (machine_output_format) - printf("- %lu\n", before); - else { - nice_time(before, s); - printf("%12lu (%s) (final timestamp before " - "start time)\n", before, s); - } - } - for (i=0, t=tlist; i<n; i++, t++) { - if (machine_output_format) - printf("* %lu\n", *t); - else - { - nice_time(*t, s); - printf("%12lu (%s) ", *t, s); - if (i%2 == 1) - printf("\n"); - } - } - if (machine_output_format == 0) - printf("\n"); - if (after != (timestamp_t)-1) - { - if (machine_output_format) - printf("+ %lu\n", after); - else - { - nice_time(after, s); - printf("%12lu (%s) (first timestamp after " - "end time)\n", after, s); - } - } - } else - printf(machine_output_format ? "0\n" - : "number of timestamps found: 0\n"); - if (n > 0) - free(tlist); - return n>-1 ? 0 : 1; + if (!storage_opened) { + storage_method->open(SM_OPEN_READONLY); + n = storage_method->list_timestamps(tstart, tend, &tlist, + &before, &after, ahost); + storage_method->close(); + } else + n = storage_method->list_timestamps(tstart, tend, &tlist, + &before, &after, ahost); + + if (n > 0) { + printf(machine_output_format ? "%d\n" + : "number of timestamps found: %d\n", n); + if (before != (timestamp_t)-1) { + if (machine_output_format) + printf("- %lu\n", before); + else { + nice_time(before, s); + printf("%12lu (%s) (final timestamp before " + "start time)\n", before, s); + } + } + for (i=0, t=tlist; i<n; i++, t++) { + if (machine_output_format) + printf("* %lu\n", *t); + else + { + nice_time(*t, s); + printf("%12lu (%s) ", *t, s); + if (i%2 == 1) + printf("\n"); + } + } + if (machine_output_format == 0) + printf("\n"); + if (after != (timestamp_t)-1) + { + if (machine_output_format) + printf("+ %lu\n", after); + else + { + nice_time(after, s); + printf("%12lu (%s) (first timestamp after " + "end time)\n", after, s); + } + } + } else + printf(machine_output_format ? "0\n" + : "number of timestamps found: 0\n"); + if (n > 0) + free(tlist); + return n>-1 ? 0 : 1; } /* signal handler for SIGALRM: close the database backend to avoid |
From: <kai...@us...> - 2003-11-17 15:12:22
|
Update of /cvsroot/ipac-ng/ipac-ng In directory sc8-pr-cvs1:/tmp/cvs-serv24337 Modified Files: fetchipac.c Log Message: corrected previous commit Index: fetchipac.c =================================================================== RCS file: /cvsroot/ipac-ng/ipac-ng/fetchipac.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- fetchipac.c 17 Nov 2003 06:55:49 -0000 1.12 +++ fetchipac.c 17 Nov 2003 15:11:32 -0000 1.13 @@ -325,6 +325,65 @@ strftime(s, 29, "%c", tmp); } +int list_timestamps(timestamp_t tstart, timestamp_t tend, char *ahost) +{ + timestamp_t *tlist, *t, before, after; + int n, i; + char s[30]; + + if (!storage_opened) { + storage_method->open(SM_OPEN_READONLY); + n = storage_method->list_timestamps(tstart, tend, &tlist, + &before, &after, ahost); + storage_method->close(); + } else + n = storage_method->list_timestamps(tstart, tend, &tlist, + &before, &after, ahost); + + if (n > 0) { + printf(machine_output_format ? "%d\n" + : "number of timestamps found: %d\n", n); + if (before != (timestamp_t)-1) { + if (machine_output_format) + printf("- %lu\n", before); + else { + nice_time(before, s); + printf("%12lu (%s) (final timestamp before " + "start time)\n", before, s); + } + } + for (i=0, t=tlist; i<n; i++, t++) { + if (machine_output_format) + printf("* %lu\n", *t); + else + { + nice_time(*t, s); + printf("%12lu (%s) ", *t, s); + if (i%2 == 1) + printf("\n"); + } + } + if (machine_output_format == 0) + printf("\n"); + if (after != (timestamp_t)-1) + { + if (machine_output_format) + printf("+ %lu\n", after); + else + { + nice_time(after, s); + printf("%12lu (%s) (first timestamp after " + "end time)\n", after, s); + } + } + } else + printf(machine_output_format ? "0\n" + : "number of timestamps found: 0\n"); + if (n > 0) + free(tlist); + return n>-1 ? 0 : 1; +} + /* signal handler for SIGALRM: close the database backend to avoid * locking it too long. * commented out, because it introduces more problems that it solves (Manfred Weihs) |